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