1import{r as e,c as a,U as t,a as n,j as s,L as i}from"./index-dqSqdwqf.js";import{H as r}from"./heroBanner-DWSoG-ge.js";import{H as o}from"./index-DXai52k_.js";import{M as m}from"./metaTags-6qm7SYm7.js";import"./react-tooltip.min-bpjbbSNY.js";import"./floating-ui.dom-B8bHMvy1.js";import"./index-AEDesM2K.js";import"./index-BaqZIR9i.js";import"./index-Dcsd2dgs.js";function l(l){const[p,g]=e.useState("500px"),[d,c]=e.useState([]),[j,u]=e.useState([]),[h,x]=e.useState(!0),[f,w]=e.useState([]),[S,b]=e.useState([]),U=()=>{window.innerWidth<=992?g("278px"):g("500px")};e.useEffect(()=>{U(),L()},[]);const L=async()=>{try{let e=a.api.pages.replace("{{pageId}}",t.getSlug(l.location.pathname)),s=await n.get(e),i=await s.json();200===s.status&&(i&&(b(o(i.content_blocks[0].html)),w(i),i.banner&&i.banner.length>0&&i.banner.map((e,t)=>{0==t?c(a.imageUrlDomain.imageURL+e.url):u(a.imageUrlDomain.imageURL+e.url)})),x(!1))}catch(e){console.log(e)}};return window.addEventListener("resize",U),s.jsx(s.Fragment,{children:h?s.jsx(i,{}):s.jsxs(s.Fragment,{children:[s.jsx(m,{data:f,url:window.location.href}),s.jsx(r,{isHomePage:!1,heroBannerImageMobile:j,heroBannerImage:d,height:p,pageTitle:f.header}),S]})})}export{l 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.