(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78652,e=>{"use strict";var t=e.i(43476),r=e.i(14487),n=e.i(12951),a=e.i(10053);let s=(0,e.i(19965).buildNotFoundMetadata)();async function l(){let e="en-us",l=await (0,a.fetchUHFData)(e,"error");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.UHFHeader,{locale:e,site:"error",data:l,theme:"light"}),(0,t.jsx)("div",{className:"px-4 py-20 md:py-28 lg:py-36",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-6xl text-center",children:[(0,t.jsxs)("h1",{className:"text-2xl font-normal leading-snug text-gray-800 md:text-3xl lg:text-4xl",children:[String(s.other?.ErrorTitle),"."]}),(0,t.jsx)("p",{className:"mt-4 text-lg font-normal leading-snug text-gray-600 md:mt-6 md:text-xl lg:text-2xl",children:String(s.other?.Description)})]})}),(0,t.jsx)(n.UHFFooter,{locale:e,site:"error",data:l,theme:"light"})]})}e.s(["default",0,l,"metadata",0,s])},14487,10053,12951,19965,e=>{"use strict";let t;var r=e.i(43476),n=e.i(47167);function a(e){return e?e.replace(//g,"").replace(/\[\[CDATA\[/g,"").trim():e}let s=(0,e.i(71645).cache)(async function(e,r,s=!1,l){try{e&&""!==e.trim()||(console.warn("⚠️ fetchUHFData called with empty locale, using default en-us"),e="en-us");let o=function(e){let r=e?.toLowerCase()||"windows",a=function(){if(t)return t;let e=n.default.env.UHF;if(!e)throw Error("UHF environment variable is missing or empty");return t=JSON.parse(e)}(),s=a.windows;if(!s)throw Error('UHF config is missing the required "windows" entry');return r.includes("business")?a.business??s:r.includes("windows")?a.windows:r.includes("learning-center")?a["learning-center"]:r.includes("error")?a.error:a.windows}(r),i=function(e,t,r=!1){let a=(r="true"===n.default.env.USE_PREVIEW||r)?"uhf-fd-prod-hzhxfzbjbfcre5dp.b02.azurefd.net":"uhf.microsoft.com",s=`https://${a}/${e||"en-us"}/shell/xml/${t.partnerId}`,l=new URLSearchParams({HeaderId:t.headerId,FooterId:t.footerId});return r&&l.append("preview","1"),`${s}?${l.toString()}`}(e,o,s),c=await fetch(i,{method:"GET",headers:{Accept:"application/xml, text/xml, */*","User-Agent":"Mozilla/5.0 (compatible; NextJS-App)"},signal:l,next:{revalidate:43200,tags:[`uhf-${r}-${e}`]}});if(!c.ok)return console.error(`UHF fetch failed: ${c.status} ${c.statusText}`),{error:`Failed to fetch UHF: HTTP ${c.status}`};let d=await c.text(),h=function(e){let t={};try{let r=e.match(/]*>([\s\S]*?)<\/headerHtml>/i);r&&(t.headerHtml=a(r[1]));let n=e.match(/]*>([\s\S]*?)<\/footerHtml>/i);n&&(t.footerHtml=a(n[1]));let s=e.match(/]*>([\s\S]*?)<\/css>/i);s&&(t.cssIncludes=a(s[1]));let l=e.match(/]*>([\s\S]*?)<\/javascript>/i);if(l&&(t.javascriptIncludes=a(l[1])),!t.headerHtml){let r=e.match(/]*>([\s\S]*?)<\/headerHtml>/i);r&&(t.headerHtml=a(r[1]))}if(!t.footerHtml){let r=e.match(/]*>([\s\S]*?)<\/footerHtml>/i);r&&(t.footerHtml=a(r[1]))}if(!t.cssIncludes){let r=e.match(/]*>([\s\S]*?)<\/cssIncludes>/i);r&&(t.cssIncludes=a(r[1]))}if(!t.javascriptIncludes){let r=e.match(/]*>([\s\S]*?)<\/javascriptIncludes>/i);r&&(t.javascriptIncludes=a(r[1]))}}catch(e){console.error("Error parsing UHF response:",e)}return t}(d);return{headerHtml:h.headerHtml,footerHtml:h.footerHtml,cssIncludes:h.cssIncludes,javascriptIncludes:h.javascriptIncludes}}catch(t){if(t?.digest)throw t;let e=t instanceof Error?t.message:"Unknown error";return console.error("Error fetching UHF data:",e),{error:`Failed to fetch UHF: ${e}`}}});function l(e){return e?e.replaceAll("<","<").replaceAll(">",">").replaceAll("&","&").replaceAll("'","'"):""}e.s(["decodeEntities",0,l,"fetchUHFData",0,s],10053);var o=e.i(3303);async function i({locale:e,site:t,data:n,theme:a}){let{headerHtml:c,cssIncludes:d,javascriptIncludes:h,error:u}=n??await s(e,t);if(u)return console.warn(`UHF Header error: ${u}`),null;let f=l(d),m=l(c);"dark"===a&&(m=(m=(m=m.replace(/theme="light"/gi,'theme="dark"')).replace(/theme-light/gi,"theme-dark")).replace("https://uhf.microsoft.comhttps://www.microsoft.com/images/microsoft/RE1Mu3b.png","https://cdn-dynmedia-1.microsoft.com/is/image/microsoftcorp/MSFT_mslogo_RWLL6J?scl=1&fmt=png-alpha"));let p=function(e){let t,r=/]*)><\/script>/gi,n=[];for(;t=r.exec(e);){let e=t[1],r=e.match(/src="http://approjects.co.za/?big=([^"]+)"/);/\bdefer\b/i.test(e),n.push({src:r?.[1],type:e.match(/type="([^"]+)"/)?.[1]})}return n}(h||""),g=f?function(e){let t,r=[],n=/]+rel=["']stylesheet["'][^>]+href=["']([^"']+)["'][^>]*>/gi;for(;null!==(t=n.exec(e));)r.push(t[1]);return r}(f):[];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{children:` uhf-header:not(:defined) { display: block; height: 54px; } uhf-brand:not(:defined), uhf-contextual-nav:not(:defined), uhf-actions:not(:defined), uhf-global-nav:not(:defined), uhf-search:not(:defined), uhf-mecontrol:not(:defined), uhf-cart:not(:defined), uhf-dropdown:not(:defined), uhf-dropdown-header:not(:defined), uhf-dropdown-column:not(:defined), uhf-dropdown-footer:not(:defined) { visibility: hidden; } `}),Array.from(new Set(g)).map((e,t)=>(0,r.jsx)("link",{rel:"stylesheet",href:e},`${e}:${t}`)),m&&(0,r.jsx)("div",{className:"cge-uhf-header",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:m},"data-theme":a}),p.filter(e=>void 0!==e.src).map(e=>(0,r.jsx)(o.default,{src:e.src,strategy:"afterInteractive",type:e.type},e.src))]})}async function c({locale:e,site:t,data:n,theme:a}){let{footerHtml:o,error:i}=n??await s(e,t);if(i)return console.warn(`UHF Footer error: ${i}`),null;let d=l(o);return"dark"===a&&(d=(d=d.replace(/theme="light"/gi,'theme="dark"')).replace(/theme-light/gi,"theme-dark")),(0,r.jsx)(r.Fragment,{children:d&&(0,r.jsx)("div",{className:"cge-uhf-footer",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:d},"data-theme":a})})}e.s(["UHFHeader",0,i],14487),e.s(["UHFFooter",0,c],12951),e.s(["buildNotFoundMetadata",0,function(){let e="We are sorry, the page you requested cannot be found";return{title:e,robots:"noindex",other:{Title:e,Description:"The URL may be misspelled or the page you're looking for is no longer available.",ErrorTitle:"We are sorry, an error occurred while loading the page"}}}],19965)},3303,(e,t,r)=>{t.exports=e.r(79520)}]);