1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28574,e=>{"use strict";let t;var r=e.i(91398),n=e.i(91788),i=e.i(3828),a=e.i(65245);let s=null,o=new Set;e.s(["default",0,function(){let{initialBanner:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=(0,i.useRouter)(),[c,d]=(0,n.useState)(e??t),[u,f]=(0,n.useState)(!1),[h,p]=(0,n.useState)(()=>Date.now());if((0,n.useEffect)(()=>{if(void 0!==e)return;if(void 0!==t)return void d(t);let r=e=>d(e);return o.add(r),s||(s=fetch("/api/site-banner").then(e=>e.ok?e.json():null).catch(()=>null).then(e=>(t=e,o.forEach(t=>t(e)),e))),()=>{o.delete(r)}},[e]),(0,n.useEffect)(()=>{if(!c?.dismissalVersion)return void f(!1);try{let e=window.localStorage.getItem("area15-site-banner-dismissed");f(e===c.dismissalVersion)}catch{f(!1)}},[c?.dismissalVersion]),(0,n.useEffect)(()=>{if(!c?.startDate&&!c?.endDate)return;let e=window.setInterval(()=>p(Date.now()),6e4);return()=>window.clearInterval(e)},[c?.startDate,c?.endDate]),!(0,n.useMemo)(()=>{var e,t;return!(!c||!c.enabled||!c.text||u||c.startDate&&h<new Date(c.startDate).getTime()||c.endDate&&h>new Date(c.endDate).getTime())&&(e=l.pathname??"",!!(!(t=c.showOnPaths)||0===t.length||t.some(t=>{let r=(t??"").trim();if(!r)return!1;if(r.endsWith("/*")){let t=r.slice(0,-2);return e===t||e.startsWith(t+"/")}return e===r})))},[c,u,h,l.pathname])||!c)return null;let g=c.backgroundColor||"#1c1c1c",m=c.textColor||function(e){let t,r,n;if(!e)return"#ffffff";let i=e.trim().match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/);if(!i)return"#ffffff";let a=i[1];return 3===a.length?(t=parseInt(a[0]+a[0],16),r=parseInt(a[1]+a[1],16),n=parseInt(a[2]+a[2],16)):(t=parseInt(a.slice(0,2),16),r=parseInt(a.slice(2,4),16),n=parseInt(a.slice(4,6),16)),(299*t+587*r+114*n)/1e3>=128?"#000000":"#ffffff"}(g),x={sm:14,md:16,lg:18,xl:22}[c.textSize??"md"]??16,y={regular:400,medium:500,bold:700}[c.textWeight??"medium"]??500,b=c.ctaUrl?.startsWith("http://")||c.ctaUrl?.startsWith("https://"),w=!!c.ctaUrl,v=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{style:{margin:0,...a.bodyStyle,fontSize:x,fontWeight:y},children:c.text}),c.ctaLabel&&c.ctaUrl&&(0,r.jsx)("span",{style:{flexShrink:0,display:"inline-block",backgroundColor:m,color:g,padding:"6px 16px",...a.architektStyle,fontSize:12,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",whiteSpace:"nowrap",borderRadius:2},children:c.ctaLabel})]}),j="container-grid flex items-center gap-4 text-left justify-start sm:text-center sm:justify-center",S={paddingTop:12,paddingBottom:12,paddingRight:60,...a.bodyStyle,fontSize:x,lineHeight:1.3,color:m,textDecoration:"none",cursor:w?"pointer":"default",transition:w?"opacity 0.15s ease":void 0};return(0,r.jsxs)("div",{role:"region","aria-label":"Site announcement",style:{backgroundColor:g,color:m,width:"100%",position:"relative"},children:[w?(0,r.jsx)("a",{href:c.ctaUrl,...b?{target:"_blank",rel:"noopener noreferrer"}:{},className:j,style:S,onMouseEnter:e=>{e.currentTarget.style.opacity="0.9"},onMouseLeave:e=>{e.currentTarget.style.opacity="1"},children:v}):(0,r.jsx)("div",{className:j,style:S,children:v}),(0,r.jsx)("button",{type:"button","aria-label":"Dismiss banner",onClick:e=>{e.preventDefault(),e.stopPropagation();try{c.dismissalVersion&&window.localStorage.setItem("area15-site-banner-dismissed",c.dismissalVersion)}catch{}f(!0)},style:{position:"absolute",top:"50%",right:8,transform:"translateY(-50%)",background:"transparent",border:0,cursor:"pointer",color:m,width:44,height:44,padding:0,display:"inline-flex",alignItems:"center",justifyContent:"center",lineHeight:0,zIndex:1,touchAction:"manipulation",WebkitTapHighlightColor:"transparent"},children:(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,r.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,r.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})}])},39994,e=>{e.n(e.i(28574))}]);
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.