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