module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},96736,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},26298,a=>{a.v("/_next/static/media/favicon.2vob68tjqpejf.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},92214,a=>{"use strict";let b={src:a.i(26298).default,width:256,height:256};a.s(["default",0,b])},59221,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(31689),e=a.i(84808),f=a.i(87296),g=a.i(48238),h=a.i(62825),i=a.i(99716);function j(){return(0,b.jsx)("main",{className:"flex min-h-screen items-center justify-center bg-(--surface) text-(--ink)",children:(0,b.jsx)("p",{className:"text-lg text-(--ink-muted)",children:"Content unavailable. Please ensure the CMS is running."})})}async function k(a){let b,c;try{[b,c]=await Promise.all([(0,d.fetchPageBySlug)("home",a),(0,d.fetchGlobalSettings)(a)])}catch(a){return{kind:"error",cause:a}}let g=(0,e.normalizePagePayload)(b);return c&&(g.brand=c.siteName??"",g.logo=c.logo?{src:c.logo.url.startsWith("http")?c.logo.url:`${process.env.STRAPI_URL??"http://localhost:1337"}${c.logo.url}`,alt:c.logo.alternativeText??void 0,width:c.logoWidth??"3.2rem",height:c.logoHeight??"auto"}:void 0,g.topLinks=(c.footerTopLinks??[]).map(a=>({label:a.label,href:a.href,variant:a.variant})),g.navItems=(c.footerNavItems??[]).map(a=>({label:a.label,href:a.href,variant:a.variant})),g.inquiryTypeOptions=c.inquiryTypeOptions??[],g.fontFamily=c.fontFamily??null,g.strapiUrl=process.env.STRAPI_URL??"http://localhost:1337"),{kind:"ok",config:g,globalFooter:c?(0,f.toGlobalFooterData)(c):{brand:"",topLinks:[],navItems:[],socials:[],ctaHref:void 0,ctaLabel:void 0,ctaHide:void 0}}}async function l({params:a}){let{locale:d}=await a,e=await (0,c.getTranslations)({locale:d,namespace:"HomePage"}),f=await k(d);if("error"===f.kind)return console.error("Failed to fetch homepage from Strapi:",f.cause),(0,b.jsx)(j,{});let m=f.config.footerBlocks.length>0;return(0,b.jsxs)("main",{className:"bg-(--surface) text-(--ink)",style:(0,g.toFontFamilyStyle)(f.config.fontFamily),children:[(0,i.renderHomeSections)({config:f.config,t:e,locale:d}),m?f.config.footerBlocks.map((a,c)=>(0,b.jsx)(h.FooterSection,{footerData:{brand:a.brand,topLinks:a.topLinks,navItems:a.navItems,socials:a.socials,addresses:f.globalFooter.addresses,ctaHref:a.ctaHref||f.globalFooter.ctaHref,ctaLabel:a.ctaLabel||f.globalFooter.ctaLabel,ctaHide:a.ctaHide??f.globalFooter.ctaHide},t:e},`footer-${c}`)):(0,b.jsx)(h.FooterSection,{footerData:f.globalFooter,t:e})]})}a.s(["default",0,l])},95496,a=>{a.n(a.i(59221))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__0mm6ij2._.js.map