PageSourceSearch

https://www.pelagohealth.com/_next/static/chunks/370.057886ea050a1be2.js

js pelagohealth.com collected 2026-09-24 09:44:17 UTC 27,561 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[370],{370:(e,a,t)=>{t.r(a),t.d(a,{ResourceMasthead:()=>R,default:()=>S});var s=t(37876),l=t(14232),i=t(43601),r=t(23246),n=t(23767),o=t(48230),c=t.n(o),d=t(81134),x=t(51432);function p({featured_resource:e,all_ebooks:a}){return(0,s.jsxs)("section",{className:"bg-stone-20 py-12 md:py-80 lg:py-[144px]",children:[(0,s.jsx)(m,{ebook:e}),(0,s.jsx)(h,{ebooks:a})]})}function m({ebook:e}){let[a,t]=(0,l.useState)(!1);return(0,s.jsx)("div",{className:"container space-y-8 md:space-y-16",children:e?.map((e,l)=>{let i=(0,r.Ay)(e?.acf?.preview_information?.preview_colour?.color),n=(0,r.pu)(e?.acf?.preview_information?.preview_second_colour?.color);return(0,s.jsxs)("div",{className:`grid grid-cols-1 gap-y-8 bg-black px-6 py-8 md:grid-cols-2 md:items-center md:gap-x-8 md:gap-y-0 md:px-8 md:py-12 lg:px-[72px] lg:py-[132px] xl:gap-x-12 ${i}`,children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:`ebook-shadow relative z-10 mx-auto max-w-[220px] will-change-transform md:max-w-[368px] ${a===l?"scale-[1.02]":""} transition-all duration-200`,children:(0,s.jsx)(x.HM,{image:e?.acf?.preview_information?.cover,layout:"intrinsic",priority:!0})}),(0,s.jsx)("div",{className:"absolute inset-0  flex  scale-[1.1] items-center justify-center",children:(0,s.jsx)(d.P.svg,{className:"h-full w-full",width:"453",height:"498",viewBox:"0 0 453 498",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)(d.P.path,{fillRule:"evenodd",clipRule:"evenodd",d:"M344.385 239.776C397.491 191.819 421.666 129.495 400.616 77.53C370.314 2.72137 257.762 -22.2786 149.224 21.6862C40.6866 65.6511 -22.7352 161.936 7.56751 236.745C37.8698 311.553 150.422 336.553 258.96 292.589C260.284 292.053 261.603 291.507 262.914 290.956C255.509 299.854 248.696 309.749 242.719 320.534C205.851 387.069 214.361 462.284 261.727 488.53C309.092 514.776 377.377 482.116 414.245 415.581C451.113 349.046 442.603 273.835 395.237 247.589C379.89 239.085 362.345 236.764 344.385 239.776Z",animate:{d:"M378.945 234.991C408.248 208.925 425.347 176.152 424.341 140.991C422.033 60.3117 325.27 -2.37583 208.213 0.971826C91.1573 4.31948 -1.8647 72.4367 0.443407 153.116C2.75102 233.796 99.5147 296.487 216.571 293.136C234.527 292.624 251.918 290.585 268.485 287.21C266.062 289.819 263.688 292.523 261.37 295.312C212.756 353.819 207.11 429.3 248.76 463.909C290.409 498.515 363.581 479.144 412.195 420.64C460.809 362.136 466.454 286.652 424.805 252.042C411.966 241.374 396.132 235.835 378.945 234.991Z"},transition:{duration:8,ease:"easeInOut",repeat:1/0,repeatType:"mirror"},fill:n})})})]}),(0,s.jsxs)("div",{className:"md:pl-4 lg:pl-6 xl:pl-[60px]",children:[(0,s.jsx)("span",{className:"text-body-20-med inline-flex font-bold uppercase opacity-[0.7]",children:"Featured Ebook"}),(0,s.jsx)("h2",{className:"text-h1 mt-5 mb-8 md:mt-[34px] md:mb-12 lg:mb-[60px]",children:e?.post_title}),(0,s.jsx)(c(),{href:e?.permalink,onMouseEnter:()=>t(l),onMouseLeave:()=>t(!1),className:"text-body-20-med relative inline-flex w-full justify-center overflow-hidden rounded-[5px] border-[2px] border-white bg-white py-4 px-8 font-bold text-black transition-all duration-200 hover:opacity-70 sm:w-auto sm:py-5 sm:px-[3.125rem]",children:"Download eBook"})]})]},l)})})}function h({ebooks:e}){let[a,t]=(0,l.useState)(-1),[i,r]=(0,l.useState)(0),n=5+5*i,o=e?.slice(0,n);return(0,s.jsxs)("div",{className:"container space-y-8 pt-12 md:space-y-[50px] md:pt-20 lg:pt-[120px]",children:[o?.map((e,l)=>(0,s.jsxs)("div",{className:"flex flex-col-reverse items-center bg-white p-6 py-8 text-black md:flex-row md:justify-between md:space-x-8 md:px-8 md:py-10 lg:px-[100px] lg:py-[90px]",children:[(0,s.jsxs)("div",{className:"w-full pt-6 md:w-auto md:max-w-[626px] md:pt-0",children:[(0,s.jsxs)("div",{className:"flex space-x-2",children:[(0,s.jsx)("div",{className:"relative aspect-1/1 w-[18px]",children:(0,s.jsx)(x.HM,{image:e?.resource_type[0]?.acf?.icon,layout:"fill",objectFit:"contain"})}),(0,s.jsx)("span",{className:"text-body-18-med",children:e?.resource_type[0]?.name})]}),(0,s.jsx)(c(),{href:e?.permalink,onMouseEnter:()=>t(l),onMouseLeave:()=>t(!1),className:"text-h3 mt-5 mb-5 inline-block md:mt-[34px]",children:e?.post_title}),(0,s.jsx)("p",{className:"text-body-20 my-5 md:my-8",dangerouslySetInnerHTML:{__html:e?.acf?.preview_information?.excerpt}}),(0,s.jsx)(c(),{href:e?.permalink,onMouseEnter:()=>t(l),onMouseLeave:()=>t(!1),className:"text-body-18-med relative inline-flex overflow-hidden border-b-[1.5px] border-black pb-1 font-bold text-black transition-all duration-200 hover:opacity-70",children:"Download eBook"})]}),(0,s.jsx)(c(),{href:e?.permalink,onMouseEnter:()=>t(l),onMouseLeave:()=>t(!1),className:`ebook-shadow mx-auto max-w-[200px] transition-all duration-200 will-change-transform md:max-w-[304px] xl:!mr-[50px]
2                            ${a===l?"scale-[1.02]":""}
3                        `,children:(0,s.jsx)(x.HM,{image:e?.acf?.preview_information?.cover,layout:"intrinsic"})})]},l)),n<e?.length&&(0,s.jsx)("div",{className:"!mt-10 md:!mt-20 lg:!mt-[100px]",children:(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)("button",{"aria-label":"Show more posts",type:"button",onClick:()=>{r(i+1)},className:"text-body-20 transition-color inline-flex w-full justify-center rounded-[3px] bg-black py-3 px-4 font-bold text-white duration-200 hover:bg-yellow hover:text-black md:w-auto md:py-5 md:px-[100px]",children:"Load more"})})})]})}var u=t(37103),f=t(20709);function b({featured_resource:e,research_introduction:a,all_research:t}){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g,{featured_resource:e}),(0,s.jsx)(y,{research_introduction:a}),(0,s.jsx)(j,{all_research:t})]})}function g({featured_resource:e}){return(0,s.jsx)("section",{"data-layout":"Featured Research Study",className:"overflow-hidden bg-white py-12 md:py-20 lg:py-[140px]",children:(0,s.jsx)("div",{className:"container space-y-8 md:space-y-12",children:e?.map((e,a)=>{let t=e?.acf?.preview_information?.external_url;return(0,s.jsxs)(c(),{target:"_blank",href:t||e?.permalink,className:"group",rel:"noreferrer",children:[(0,s.jsx)("div",{className:"relative aspect-[32/11] w-full",children:e?.acf?.study_chart?.add_chart?(0,s.jsx)(f.A,{chartDetails:e?.acf?.study_chart?.chart_details,isSmall:!1}):(0,s.jsx)(x.HM,{image:e?.acf?.preview_information?.thumbnail,layout:"fill",objectFit:"cover"})}),(0,s.jsxs)("div",{className:"bg-black px-6 py-8 text-white md:p-8 lg:p-[48px]",children:[(0,s.jsx)("span",{className:"text-body-20-med mb-5 inline-flex font-bold uppercase md:mb-8",children:"Featured Post"}),(0,s.jsx)("h2",{className:"text-heading-40 transition-color !leading-[1.1] duration-200 group-hover:text-cerulean lg:pr-8",children:e?.post_title}),(0,s.jsxs)("div",{className:"text-body-18-med mt-5 flex space-x-4 md:mt-8 lg:space-x-5",children:[(0,s.jsx)("span",{className:"text-cerulean",children:e?.acf?.study_summary?.publication_date}),(0,s.jsx)("span",{children:e?.acf?.study_summary?.publication_source})]})]})]},a)})})})}function y({research_introduction:e}){return(0,s.jsxs)("section",{"date-layout":"Research Introduction",className:"space-y-8 overflow-hidden bg-white pt-6 pb-16 md:space-y-20 md:pt-12 md:pb-38 lg:space-y-[120px] lg:pt-[60px] lg:pb-50",children:[(0,s.jsxs)("div",{className:"container flex flex-col space-y-6 md:flex-row md:justify-between md:space-y-0 md:space-x-12",children:[(0,s.jsxs)("div",{className:"flex max-w-[432px] flex-col",children:[(0,s.jsx)("div",{className:"mb-4 max-w-[100px] md:max-w-[120px] lg:mb-8 lg:max-w-[180px]",children:(0,s.jsx)(x.HM,{image:e?.icon,layout:"intrinsic"})}),(0,s.jsx)("h2",{className:"text-h2 mt-auto",children:e?.heading})]}),(0,s.jsx)("div",{className:"max-w-[665px]",children:(0,s.jsx)("div",{className:"prose-wsywig",dangerouslySetInnerHTML:{__html:e?.content}})})]}),(0,s.jsx)("div",{className:"container grid grid-cols-1 gap-y-6 sm:grid-cols-2 sm:gap-x-6 md:grid-cols-3 md:gap-8 lg:gap-[40px]",children:e?.
3stats?.map((e,a)=>{let t=(0,r.Ay)(e?.color);return(0,s.jsxs)("div",{className:`${t} rounded-[10px] p-6 md:p-8 lg:p-[35px]`,children:[(0,s.jsxs)("h3",{className:"text-heading-56",children:[e?.stat,e?.append]}),(0,s.jsx)("p",{className:"text-body-20 mt-[5px] !leading-[1.65]",dangerouslySetInnerHTML:{__html:e?.description}})]},a)})})]})}function j({all_research:e}){let[a,t]=(0,l.useState)(0),i=5+5*a,r=e?.slice(0,i);return(0,s.jsxs)("section",{"data-layout":"Research Listing",className:"overflow-hidden bg-stone-20 py-12 md:py-20 lg:py-[140px]",children:[(0,s.jsx)("div",{className:"container space-y-10 md:space-y-80 lg:space-y-[160px]",children:r?.map((e,a)=>(0,s.jsx)(v,{item:e},a))}),i<e?.length&&(0,s.jsx)("div",{className:"container !mt-10 md:!mt-20 lg:!mt-[100px]",children:(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)("button",{"aria-label":"Show more posts",type:"button",onClick:()=>{t(a+1)},className:"text-body-20 transition-color inline-flex w-full justify-center rounded-[3px] bg-black py-3 px-4 font-bold text-white duration-200 hover:bg-yellow hover:text-black md:w-auto md:py-5 md:px-[100px]",children:"Load more"})})})]})}function v({item:e}){let a=e?.acf?.preview_information?.external_url,t=e?.acf?.study_summary?.summary_grid,l=[];return t?.length===3?l.push("md:grid-cols-3"):t?.length>=4?l.push("md:grid-cols-4"):l.push("md:grid-cols-2"),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row",children:[(0,s.jsxs)("div",{className:"flex w-full flex-col bg-white px-6 py-8 text-black md:p-8 lg:p-[64px]",children:[(0,s.jsxs)("div",{className:"text-body-18-med mb-5 flex space-x-4 md:mb-8 lg:space-x-5",children:[(0,s.jsx)("span",{className:"opacity-[.5]",children:e?.acf?.study_summary?.publication_date}),(0,s.jsx)("span",{children:e?.acf?.study_summary?.publication_source})]}),(0,s.jsx)("h2",{className:"text-heading-32 mb-5 !leading-[1.1] md:mb-8 lg:pr-8",children:e?.post_title}),(0,s.jsx)("div",{className:"mt-auto",children:(0,s.jsx)(c(),{target:"_blank",href:a||e?.permalink,className:"text-body-18-med relative inline-flex overflow-hidden border-b-[1.5px] border-black pb-1 text-black transition-all duration-200 hover:opacity-70",rel:"noreferrer",children:"Read study"})})]}),(0,s.jsx)("div",{className:"relative aspect-1/1 w-full max-w-[580px]",children:e?.acf?.study_chart?.add_chart?(0,s.jsx)(f.A,{chartDetails:e?.acf?.study_chart?.chart_details,isSmall:!0}):(0,s.jsx)(x.HM,{image:e?.acf?.preview_information?.thumbnail,layout:"fill",objectFit:"cover"})})]}),t?.length>0&&(0,s.jsx)("div",{className:`mt-6 grid grid-cols-2 ${l.join(" ")} gap-4 sm:gap-6 md:mt-8 md:gap-8 lg:mt-[40px] lg:gap-[40px]`,children:t?.map((e,a)=>(0,s.jsxs)("div",{className:"space-y-6 rounded-[4px] bg-white p-4 text-black md:space-y-[30px] md:p-6  md:pr-[14px]",children:[e?.option==="stat"&&(0,s.jsxs)("h4",{className:"text-heading-32 relative inline-flex pb-1",children:[e?.stat,(0,s.jsx)("span",{className:"absolute left-0 right-0 bottom-0 overflow-hidden",children:(0,s.jsx)(u.nv,{colour:"#A4BDFF"})})]}),e?.option==="icon"&&(0,s.jsx)("div",{className:"relative aspect-1/1 w-full max-w-[2rem] md:max-w-[48px]",children:(0,s.jsx)(x.HM,{image:e?.icon,layout:"fill",objectFit:"contain"})}),(0,s.jsx)("p",{className:"text-body-18",children:e?.description})]},a))})]})}var w=t(64575);function _({glossary:e}){e.sort((e,a)=>{let t=e.post_title.toLowerCase(),s=a.post_title.toLowerCase();return t<s?-1:+(t>s)});let a=new Map;for(let t of(e.forEach(e=>{let t=e.post_title[0].toLowerCase(),s=/^[a-z]/.test(t)?t:"#";a.has(s)||a.set(s,[]),a.get(s).push(e)}),"abcdefghijklmnopqrstuvwxyz"))a.has(t)||a.set(t,[]);a.has("#")||a.set("#",[]);let t=Array.from(a);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N,{groupTerms:t}),(0,s.jsx)(k,{groupTerms:t})]})}function N({groupTerms:e}){let[a,t]=(0,l.useState)(!1);return(0,s.jsxs)("section",{className:"sticky top-[134px] z-10 sm:top-[144px] md:top-[156px] lg:top-[118px]",children:[(0,s.jsx)("div",{className:"hidden justify-center bg-black md:flex",children:e?.map((e,a)=>{let t=!0;return e[1]?.length<1&&(t=!1),(0,s.jsx)(c(),{href:`#glossary-${e[0]}`,className:`text-body-18 transition-color flex aspect-1/1 w-[50px] items-center justify-center bg-black uppercase text-white duration-200 ${t?"hover:bg-yellow hover:text-black":"pointer-events-none cursor-default opacity-50"}`,children:e[0]},a)})}),(0,s.jsxs)("button",{"aria-label":"Show page menu",className:"text-heading-24 flex w-full justify-between overflow-hidden bg-black pl-6 text-white md:hidden",type:"button",onClick:()=>t(!a),children:[(0,s.jsx)("span",{className:"inline-flex py-4",children:"Index"}),(0,s.jsx)("div",{className:"flex aspect-1/1 h-full w-[52px] items-center justify-center bg-yellow",children:(0,s.jsx)("div",{className:`transition-all duration-200 ${a?"rotate-0":"rotate-[180deg]"}`,children:(0,s.jsx)(u.Lr,{})})})]}),(0,s.jsx)(w.N,{children:a&&(0,s.jsx)(d.P.div,{initial:{opacity:0,y:-20}
3,animate:{opacity:1,y:0},exit:{opacity:0,y:-30},transition:{duration:.3,ease:"easeInOut"},className:"absolute inset-x-0 top-[100%] grid grid-cols-6 bg-black text-white sm:grid-cols-12 md:hidden",children:e?.map((e,l)=>{let i=!0;return e[1]?.length<1&&(i=!1),(0,s.jsx)(c(),{href:`#glossary-${e[0]}`,onClick:()=>t(!a),className:`text-body-18 transition-color flex aspect-1/1 w-full items-center justify-center bg-black uppercase text-white duration-200 ${i?"hover:bg-yellow hover:text-black":"pointer-events-none cursor-default opacity-50"}`,children:e[0]},l)})})})]})}function k({groupTerms:e}){return(0,s.jsx)("section",{className:"space-y-12 bg-white pt-12 pb-16 md:space-y-32 md:pt-20 md:pb-32 lg:space-y-[195px] lg:pt-[144px] lg:pb-[200px]",children:e?.map((e,a)=>e[1]?.length>0?(0,s.jsxs)("div",{className:"container relative grid grid-cols-12 gap-x-4 md:gap-x-12",children:[(0,s.jsxs)("div",{className:"col-span-2",children:[(0,s.jsx)("div",{id:`glossary-${e[0]}`,className:"absolute mt-[-4rem] lg:mt-[-12rem]"}),(0,s.jsx)("div",{className:"text-heading-24 sticky top-[202px] flex aspect-1/1 w-[32px] items-center justify-center bg-black uppercase text-white sm:top-[216px] md:top-[226px] md:w-[62px] lg:top-[188px]",children:e[0]})]}),(0,s.jsx)("div",{className:"col-span-10 space-y-8 md:space-y-12 lg:space-y-[50px]",children:e[1]?.map((e,a)=>(0,s.jsx)(C,{item:e},a))})]},a):null)})}function C({item:e}){return(0,s.jsxs)(c(),{href:e?.permalink,className:"group relative block pb-8 md:pb-12 lg:pb-[50px]",children:[(0,s.jsx)("h3",{className:"text-heading-32 mb-5 md:mb-6",children:e?.post_title}),(0,s.jsx)("p",{className:"text-heading-24 !leading-[1.55]",dangerouslySetInnerHTML:{__html:e?.acf?.preview_information?.excerpt}}),(0,s.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-[1.5px] w-full overflow-hidden bg-black",children:(0,s.jsx)("div",{className:"absolute inset-0 translate-x-[-100%] bg-yellow transition-all duration-200 group-hover:translate-x-0"})})]})}var $=t(36893),F=t(37980),M=t(41743);function S(e){let{page:a}=e;return(0,s.jsxs)(i.P,{data:e,border:!0,menuTypography:a?.acf?.masthead,children:[(0,s.jsx)(R,{masthead:a?.acf?.masthead}),(0,s.jsx)(L,{acf:a?.acf,resources:a?.posts}),(0,s.jsx)(n.k,{...a?.acf?.page_sections})]})}function R({masthead:e}){let a=(0,r.Ay)(e?.color);return(0,s.jsx)("section",{"data-layout":"Resource Masthead",className:`${a} pt-16 pb-10 md:pt-[8rem] md:pb-12 2xl:pb-[75px] 2xl:pt-[168px]`,children:(0,s.jsx)("div",{className:"container mt-8 sm:my-8",children:(0,s.jsx)("h1",{className:"text-display !leading-[1.1]",dangerouslySetInnerHTML:{__html:e?.heading}}
3)})})}function L({acf:e,resources:a}){let t=e?.archive_layout;return"ebooks"===t?(0,s.jsx)(p,{featured_resource:e?.featured_resource,all_ebooks:a}):"research"===t?(0,s.jsx)(b,{featured_resource:e?.featured_resource,research_introduction:e?.research_introduction,all_research:a}):"hrGlossary"===t?(0,s.jsx)(_,{glossary:a}):"whitepapers"===t?(0,s.jsx)($.Ay,{featured_resource:e?.featured_resource,all_whitepapers:a}):"webinars"===t?(0,s.jsx)(F.A,{featured_resource:e?.featured_resource,all_webinars:a}):"missionRecovery"===t?(0,s.jsx)(M.A,{featured_resource:e?.featured_resource,all_podcasts:a}):void 0}},20709:(e,a,t)=>{t.d(a,{A:()=>f});var s=t(37876),l=t(14232),i=t(20011),r=t(31134),n=t(81047),o=t(23246);function c({LineChartData:e,isSmall:a,isResourcePreview:t}){let i=[];e.x_axis_labels?.forEach(e=>{i.push(e.label)});let r={labels:i,datasets:[]};e?.data_set?.forEach(a=>{let t=[];a?.data?.forEach(e=>{t.push(e.data_item)}),r.datasets.push({label:a.label,data:t,fill:!1,borderColor:(0,o.pu)(a.line_color),pointBackgroundColor:(0,o.pu)(a.line_color),pointStyle:"circle",pointRadius:5,pointHoverRadius:10,tooltip:{callbacks:{label:a=>`${e?.y_axis_context?.prefix}${a.raw}${e?.y_axis_context?.suffix}`}}})});let[n,c]=(0,l.useState)(r);return(0,s.jsx)("div",{className:`${(0,o.Ay)(e?.color)} min-h-[100%] p-5 md:p-8 lg:p-10`,children:(0,s.jsx)(d,{chartData:n,yContext:e?.y_axis_context,LineChartData:e,isSmall:a,isResourcePreview:t})})}function d({chartData:e,yContext:a,LineChartData:t,isSmall:l,isResourcePreview:i}){return(0,s.jsxs)("div",{className:"chart-container flex flex-col justify-center overflow-scroll",children:[!i&&(0,s.jsxs)("div",{className:`lg:flex lg:flex-wrap lg:items-center ${l?"flex-col justify-center":"justify-between"}`,children:[t?.heading&&(0,s.jsx)("h2",{className:"text-body-18 mb-4 mr-4",dangerouslySetInnerHTML:{__html:t?.heading}}),(0,s.jsx)("div",{className:"flex flex-wrap items-center pb-3 md:pb-0",children:t.data_set.map((e,a)=>(0,s.jsx)(x,{item:e},a))})]}),(0,s.jsx)("div",{children:(0,s.jsx)(r.N1,{height:i?280:400,data:e,options:{responsive:!0,maintainAspectRatio:!1,layout:{padding:0},plugins:{legend:{display:!1},tooltip:{cornerRadius:0,backgroundColor:"#FFFFFF",titleColor:"#000",titleFont:{family:"EsRebond"},bodyColor:"#000",bodyFont:{family:"EsRebond"}},dataLabels:{formatter:(e,t)=>`${a?.prefix}${e}${a?.suffix}`,anchor:"end",align:"end",offset:10,labels:{title:{font:{size:14,weight:"bold"}}}}},scales:{y:{title:{display:!l,text:a?.label},ticks:{padding:5,callback:e=>`${a?.prefix}  ${e}${a?.suffix}`},grid:{color:"rgba(0, 0, 0, 0.1)"},scaleLabel:{display:!0}},x:{offset:!0,grid:{display:!1}}}}})})]})}function x({item:e}){return(0,s.jsxs)("div",{className:"mr-2 flex scale-[.8] items-center space-x-[8px] rounded-[.2px] bg-white p-2 md:mr-4 md:scale-[1]",children:[(0,s.jsx)("div",{className:`aspect-1/1 w-[8px] rounded-full ${(0,o.Ay)(e?.line_color??e?.color)}`}),(0,s.jsx)("span",{className:"text-body-14-med",dangerouslySetInnerHTML:{__html:e?.label}})]})}function p({BarChartData:e,isSmall:a,isResourcePreview:t}){let i={labels:e.data_set?.map(e=>e.label),datasets:[{data:e.data_set?.map(e=>e.value),backgroundColor:e.data_set?.map(e=>(0,o.pu)(e.color)),borderRadius:2,tooltip:{callbacks:{label:a=>`${e?.y_axis_context?.prefix}${a.raw}${e?.y_axis_context?.suffix}`}}}]},[r,n]=(0,l.useState)(i);return(0,s.jsx)("div",{className:`min-h-[100%] p-5 text-center md:p-8 lg:p-10 ${(0,o.Ay)(e?.color)}`,children:(0,s.jsx)(m,{chartData:r,yContext:e?.y_axis_context,BarChartData:e,isSmall:a,isResourcePreview:t})})}function m({chartData:e,yContext:a,BarChartData:t,isSmall:l,isResourcePreview:i}){return(0,s.jsxs)("div",{className:"chart-container flex flex-col justify-center overflow-scroll",children:[!i&&(0,s.jsxs)("div",{className:`lg:flex lg:flex-wrap lg:items-center ${l?"flex-col justify-center":"justify-between"}`,children:[t?.heading&&(0,s.jsx)("h2",{className:"text-body-18 mb-4 mr-4",dangerouslySetInnerHTML:{__html:t?.heading}}),(0,s.jsx)("div",{className:"flex flex-wrap items-center",children:t.data_set.map((e,a)=>(0,s.jsx)(x,{item:e},a))})]}),(0,s.jsx)("div",{children:(0,s.jsx)(r.yP,{height:i?280:400,data:e,options:{responsive:!0,maintainAspectRatio:!1,layout:{padding:0}
3,plugins:{legend:{display:!1},tooltip:{backgroundColor:"#FFFFFF",cornerRadius:0,titleColor:"#000",titleFont:{family:"EsRebond"},bodyColor:"#000",bodyFont:{family:"EsRebond"}},dataLabels:{formatter:(e,t)=>`${a?.prefix}${e}${a?.suffix}`,anchor:"end",align:"end",offset:10,labels:{title:{font:{size:14,weight:"bold"}}}}},scales:{y:{title:{display:!l,text:a?.label},ticks:{padding:5,callback:e=>`${a?.prefix}  ${e}${a?.suffix}`},grid:{color:"rgba(0, 0, 0, 0.1)"},scaleLabel:{display:!0}},x:{offset:!0,grid:{display:!1}}}}})})]})}function h({BarChartData:e,isSmall:a,isResourcePreview:t}){let i={labels:e.x_axis_labels?.map(e=>e.label),datasets:e.data_set?.map(a=>({label:a.label,backgroundColor:(0,o.pu)(a.color),data:a.value.map(e=>e.value),tooltip:{callbacks:{label:a=>`${e?.y_axis_context?.prefix}${a.raw}${e?.y_axis_context?.suffix}`}}}))},[r,n]=(0,l.useState)(i);return(0,s.jsx)("div",{className:`min-h-[100%] p-5 text-center md:p-8 lg:p-10 ${(0,o.Ay)(e?.color)}`,children:(0,s.jsx)(u,{chartData:r,yContext:e?.y_axis_context,BarChartData:e,isSmall:a,isResourcePreview:t})})}function u({chartData:e,yContext:a,BarChartData:t,isSmall:l,isResourcePreview:i}){return(0,s.jsxs)("div",{className:"chart-container flex flex-col justify-center overflow-scroll",children:[!i&&(0,s.jsxs)("div",{className:`lg:flex lg:flex-wrap lg:items-center ${l?"flex-col justify-center":"justify-between"}`,children:[t?.heading&&(0,s.jsx)("h2",{className:"text-body-18 mb-4 mr-4",dangerouslySetInnerHTML:{__html:t?.heading}}),(0,s.jsx)("div",{className:"flex flex-wrap items-center",children:t.data_set.map((e,a)=>(0,s.jsx)(x,{item:e},a))})]}),(0,s.jsx)("div",{children:(0,s.jsx)(r.yP,{height:i?280:400,data:e,options:{responsive:!0,maintainAspectRatio:!1,layout:{padding:0},plugins:{legend:{display:!1},tooltip:{backgroundColor:"#FFFFFF",cornerRadius:0,titleColor:"#000",titleFont:{family:"EsRebond"},bodyColor:"#000",bodyFont:{family:"EsRebond"}},dataLabels:{formatter:(e,t)=>`${a?.prefix}${e}${a?.suffix}`,anchor:"end",align:"end",offset:10,labels:{title:{font:{size:14,weight:"bold"}}}}},scales:{y:{title:{display:!l,text:a?.label},ticks:{padding:5,callback:e=>`${a?.prefix}  ${e}${a?.suffix}`},grid:{color:"rgba(0, 0, 0, 0.1)"},scaleLabel:{display:!0}},x:{offset:!0,grid:{display:!1},ticks:{font:{size:10}}}}}})})]})}function f({chartDetails:e,isSmall:a,isResourcePreview:t}){return e?.chart_type==="line"?(0,s.jsx)(c,{LineChartData:e?.line_chart,isSmall:a,isResourcePreview:t}):e?.chart_type==="barComplex"?(0,s.jsx)(h,{BarChartData:e?.bar_data_complex,isSmall:a,isResourcePreview:t}):(0,s.jsx)(p,{BarChartData:e?.bar_data,isSmall:a,isResourcePreview:t})}i.Ay.register(n.PP)},36893:(e,a,t)=>{t.d(a,{AS:()=>m,Ay:()=>d,J5:()=>h});var s=t(37876),l=t(14232),i=t(48230),r=t.n(i),n=t(51432),o=t(23246),c=t(37103);function d({featured_resource:e,all_whitepapers:a}){return(0,s.jsxs)("section",{className:"space-y-12 bg-white pt-12 pb-16 md:space-y-28 md:pt-20 md:pb-32 lg:space-y-[144px] lg:pt-[144px] lg:pb-[200px]",children:[(0,s.jsx)(x,{whitepaper:e}),(0,s.jsx)(p,{all_whitepapers:a})]})}function x({whitepaper:e}){return(0,s.jsx)("div",{className:"container space-y-8 md:space-y-16",children:e?.map((e,a)=>{let t=(0,o.Ay)(e?.acf?.preview_information?.preview_colour?.color);return(0,s.jsxs)("div",{className:`grid grid-cols-1 md:grid-cols-2 md:items-center ${t}`,children:[(0,s.jsx)("div",{className:"relative p-8 md:px-12 md:py-16 lg:py-[85px]",children:(0,s.jsx)("div",{className:"ebook-shadow relative z-10 mx-auto max-w-[220px] will-change-transform md:max-w-[368px] lg:max-w-[440px]",children:(0,s.jsx)(n.HM,{image:e?.acf?.preview_information?.cover,layout:"intrinsic",priority:!0})})}),(0,s.jsxs)("div",{className:"flex h-full flex-col bg-black py-8 px-6 text-white md:px-8 md:pb-10 md:pt-12 lg:px-10 lg:pb-[55px] xl:px-[55px] xl:pt-[160px]",children:[(0,s.jsx)("span",{className:"text-body-20-med inline-flex font-bold uppercase opacity-[0.7]",children:"Featured White Papers"}),(0,s.jsx)("h2",{className:"text-h1 mt-5 mb-8 md:mt-[34px] md:mb-12 lg:mb-20 xl:mb-[118px]",children:e?.post_title}),(0,s.jsx)("div",{className:"mt-auto",children:(0,s.jsx)(r(),{href:e?.permalink,className:"text-body-20-med relative inline-flex w-full justify-center overflow-hidden rounded-[5px] border-[2px] border-white bg-white py-4 px-8 text-center font-bold text-black transition-all duration-200 hover:opacity-70 sm:w-auto 
3sm:py-5 sm:px-[3.125rem]",children:"Download white paper"})})]})]},a)})})}function p({all_whitepapers:e}){return(0,s.jsx)("div",{className:"container grid grid-cols-1 gap-y-12 md:grid-cols-2 md:gap-x-8 md:gap-y-16 lg:gap-x-[48px] lg:gap-y-[100px]",children:e?.map((e,a)=>(0,s.jsx)(m,{item:e},a))})}function m({item:e}){let[a,t]=(0,l.useState)(!1);return(0,s.jsxs)(r(),{href:e?.permalink,onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),className:a?"group":"",children:[(0,s.jsxs)("div",{className:"relative overflow-hidden bg-stone-20 px-6 pt-6 transition-all duration-200 group-hover:bg-black/10 md:px-8 md:pt-20 lg:px-12 lg:pt-[100px]",children:[(0,s.jsx)("div",{className:"mx-auto max-w-[200px] translate-y-6 transition-all duration-200 will-change-transform group-hover:translate-y-2 md:max-w-[260px] lg:max-w-[325px]",children:(0,s.jsx)(n.HM,{image:e?.acf?.preview_information?.cover,layout:"intrinsic"})}),(0,s.jsx)("div",{className:"absolute top-6 left-6 z-10 md:top-[30px] md:left-[30px]",children:(0,s.jsxs)("div",{className:"text-body-18-med mb-6 flex inline-flex items-center space-x-[6px] rounded-[100px] bg-black px-[18px] py-[10px] !leading-[1] text-white",children:[(0,s.jsx)("div",{className:"relative aspect-1/1 w-full w-4 w-[16px] invert",children:(0,s.jsx)(n.HM,{image:e?.resource_type[0]?.acf?.icon,objectFit:"contain",layout:"fill"})}),(0,s.jsx)("h5",{children:e?.resource_type[0]?.name})]})}),(0,s.jsx)("div",{className:"absolute right-4 bottom-4 left-auto aspect-1/1 w-8 sm:w-12 md:right-6 md:bottom-6 lg:w-[56px]",children:(0,s.jsx)(c.JW,{})})]}),(0,s.jsxs)("div",{className:"pt-6 md:pt-8 md:pt-6 lg:pt-[40px] lg:pr-8",children:[(0,s.jsx)("h3",{className:"text-heading-32 mb-5 !leading-[1.1] md:mb-8",children:e?.post_title}),(0,s.jsx)("span",{className:"text-body-18-med relative inline-flex overflow-hidden border-b-[1.5px] border-black pb-1 text-black transition-all duration-200 group-hover:opacity-70",children:"Download white paper"})]})]})}function h({item:e}){let a=(0,o.Ay)(e?.acf?.preview_information?.preview_colour?.color);return(0,s.jsxs)("div",{className:`col-span-1 flex flex-col md:col-span-2 md:flex-row md:items-center ${a}`,children:[(0,s.jsx)("div",{className:"relative w-full p-8 md:max-w-[485px] md:px-12 md:py-12 lg:py-[65px] lg:px-[90px]",children:(0,s.jsx)("div",{className:"ebook-shadow relative z-10 mx-auto max-w-[220px] will-change-transform md:max-w-[368px] lg:max-w-[440px]",children:(0,s.jsx)(n.HM,{image:e?.acf?.preview_information?.cover,layout:"intrinsic",priority:!0})})}),(0,s.jsxs)("div",{className:"flex h-full w-full flex-col bg-black py-8 px-6 text-white md:px-8 md:py-12 lg:px-[105px] lg:py-[85px]",children:[(0,s.jsx)("span",{className:"text-body-20-med inline-flex font-bold uppercase opacity-[0.7]",children:"Featured White Papers"}),(0,s.jsx)("h2",{className:"text-heading-56 mt-5 mb-6 max-w-[530px] md:mt-[34px] md:mb-12 lg:mb-[70px]",children:e?.post_title}),(0,s.jsx)("div",{className:"mt-auto",children:(0,s.jsx)(r(),{href:e?.permalink,className:"text-body-20-med relative inline-flex w-full justify-center overflow-hidden rounded-[5px] border-[2px] border-white bg-white py-4 px-8 text-center font-bold text-black transition-all duration-200 hover:opacity-70 sm:w-auto sm:py-5 sm:px-[3.125rem]",children:"Download white paper"})})]})]})}}}]);

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.