1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76095],{76095:(e,t,l)=>{l.r(t),l.d(t,{default:()=>J});var a=l(90893),n=l(2621),s=l.n(n),r=l(18329),i=l(71340),o=l(28569),c=l(43458);function d(e){let{slides:t,centerName:l="agnes",autoPlayInterval:n=6e3}=e,[d,m]=(0,r.useState)(0),[u,x]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),p=(0,r.useCallback)(e=>{u||(x(!0),m(e),setTimeout(()=>x(!1),700))},[u]),f=(0,r.useCallback)(()=>{p((d+1)%t.length)},[d,t.length,p]),b=(0,r.useCallback)(()=>{p((d-1+t.length)%t.length)},[d,t.length,p]);return((0,r.useEffect)(()=>{if(h||t.length<=1)return;let e=setInterval(f,n);return()=>clearInterval(e)},[f,n,h,t.length]),0===t.length)?null:(0,a.jsxs)("section",{className:"relative h-screen min-h-[600px] w-full overflow-hidden",onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),"aria-roledescription":"carousel","aria-label":"".concat(l," Highlights"),children:[t.map((e,l)=>(0,a.jsxs)("div",{className:"absolute inset-0 transition-all duration-700 ease-in-out ".concat(l===d?"opacity-100 scale-100":"opacity-0 scale-105"),"aria-hidden":l!==d,role:"group","aria-roledescription":"slide","aria-label":"Slide ".concat(l+1," von ").concat(t.length,": ").concat(e.title),children:[(0,a.jsx)("img",{src:e.image,alt:"",className:"absolute inset-0 h-full w-full object-cover",...0===l?{fetchPriority:"high"}:{}}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1a1845]/90 via-[#1a1845]/35 to-[#1a1845]/10"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1a1845]/30 to-transparent"}),(0,a.jsx)("div",{className:"relative flex h-full items-end pb-24 md:items-center md:pb-0",children:(0,a.jsx)("div",{className:"container mx-auto px-6 lg:px-12",children:(0,a.jsxs)("div",{className:"max-w-3xl",children:[e.subtitle&&(0,a.jsx)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full border border-white/20 bg-white/10 px-4 py-1.5 backdrop-blur-sm transition-all duration-700 delay-200 ".concat(l===d?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:(0,a.jsx)("span",{className:"text-sm font-medium tracking-wide text-white/90",children:e.subt
1itle})}),(0,a.jsx)("h1",{className:"text-balance font-serif text-4xl font-semibold leading-tight text-white drop-shadow-[0_2px_12px_rgba(0,0,0,0.4)] md:text-5xl lg:text-7xl transition-all duration-700 delay-300 ".concat(l===d?"translate-y-0 opacity-100":"translate-y-8 opacity-0"),children:e.title}),e.description&&(0,a.jsx)("p",{className:"mt-5 max-w-xl text-pretty text-base text-white/90 drop-shadow-[0_1px_6px_rgba(0,0,0,0.3)] md:text-lg transition-all duration-700 delay-[400ms] ".concat(l===d?"translate-y-0 opacity-100":"translate-y-8 opacity-0"),children:e.description}),(0,a.jsxs)("div",{className:"mt-8 flex flex-wrap gap-4 transition-all duration-700 delay-500 ".concat(l===d?"translate-y-0 opacity-100":"translate-y-8 opacity-0"),children:[e.cta&&(0,a.jsxs)(s(),{href:e.cta.href,className:"group inline-flex items-center gap-2 rounded-full bg-accent px-7 py-3.5 text-sm font-semibold text-accent-foreground shadow-[0_4px_20px_rgba(180,155,60,0.35)] transition-all hover:shadow-[0_6px_28px_rgba(180,155,60,0.45)] hover:scale-[1.02] active:scale-[0.98]",children:[e.cta.label,(0,a.jsx)(i.A,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]}),e.ctaSecondary&&(0,a.jsx)(s(),{href:e.ctaSecondary.href,className:"inline-flex items-center gap-2 rounded-full border border-white/30 bg-white/10 px-7 py-3.5 text-sm font-semibold text-white shadow-[0_2px_12px_rgba(0,0,0,0.15)] backdrop-blur-md transition-all hover:bg-white/20 hover:border-white/50",children:e.ctaSecondary.label})]})]})})})]},e.id)),t.length>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:b,className:"absolute left-4 top-1/2 z-10 flex h-12 w-12 -translate-y-1/2 items-center justify-center rounded-full border border-white/20 bg-white/10 text-white backdrop-blur-sm transition-all hover:bg-white/20 md:left-8","aria-label":"Vorheriger Slide",children:(0,a.jsx)(o.A,{className:"h-5 w-5"})}),(0,a.jsx)("button",{onClick:f,className:"absolute right-4 top-1/2 z-10 flex h-12 w-12 -translate-y-1/2 items-center justify-center rounded-full border border-white/20 bg-white/10 text-white backdrop-blur-sm transition-all hover:bg-white/20 md:right-8","aria-label":"N\xe4chster Slide",children:(0,a.jsx)(c.A,{className:"h-5 w-5"})})]}),t.length>1&&(0,a.jsx)("div",{className:"absolute bottom-8 left-1/2 z-10 flex -translate-x-1/2 gap-2.5 md:bottom-10",children:t.map((e,t)=>(0,a.jsx)("button",{onClick:()=>p(t),className:"relative h-1.5 overflow-hidden rounded-full transition-all duration-500 ".concat(t===d?"w-10 bg-white":"w-4 bg-white/40 hover:bg-white/60"),"aria-label":"Gehe zu Slide ".concat(t+1),"aria-current":t===d?"true":"false",children:t===d&&(0,a.jsx)("span",{className:"absolute inset-0 origin-left rounded-full bg-accent animate-[progress_6s_linear]",style:{animationPlayState:h?"paused":"running"}})},t))}),(0,a.jsxs)("div",{className:"absolute bottom-8 right-8 z-10 hidden md:flex flex-col items-center gap-2",children:[(0,a.jsx)("span",{className:"text-[10px] font-medium uppercase tracking-[0.2em] text-white/50",children:"Scroll"}),(0,a.jsx)("div",{className:"h-8 w-px bg-white/30",children:(0,a.jsx)("div",{className:"h-3 w-px animate-bounce bg-white/80"})})]})]})}var m=l(10829);function u(e){let{items:t,speed:l=40,pauseOnHover:n=!0}=e,i=(0,r.useRef)(null),[o,c]=(0,r.useState)("");if((0,r.useEffect)(()=>{if(!i.current)return;let e=i.current.scrollWidth/l;c("ticker-scroll ".concat(e,"s linear infinite"))},[t,l]),0===t.length)return null;let d=()=>t.map(e=>{let t=(0,a.jsxs)("span",{className:"inline-flex items-center gap-3",children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full ".concat(e.accent?"bg-accent":"bg-primary/30"),"aria-hidden":"true"}),e.logo&&(0,a.jsx)("span",{className:"relative inline-block h-5 w-auto shrink-0",children:(0,a.jsx)(m.default,{src:e.logo,alt:"",width:48,height:20,className:"h-5 w-auto object-contain"})}),e.image&&(0,a.jsx)("span",{className:"relative inline-block h-7 w-7 shrink-0 overflow-hidden rounded-md",children:(0,a.jsx)(m.default,{src:e.image,alt:"",width:28,height:28,className:"h-full w-full object-cover"})}),e.badge&&(0,a.jsx)("span",{className:"inline-flex items-center rounded-sm bg-accent/15 px-1.5 py-0.5 text-[10px] font-bold uppercase tracking-wider text-accent",children:e.badge}),(0,a.jsx)("span",{className:"whitespace-nowrap text-sm font-medium text-foreground
1/80",children:e.text})]});return e.href?(0,a.jsx)(s(),{href:e.href,className:"inline-flex items-center px-4 transition-colors hover:text-foreground",children:t},e.id):(0,a.jsx)("span",{className:"inline-flex items-center px-4",children:t},e.id)}),u=o?{animation:o}:{};return(0,a.jsxs)("div",{className:"relative z-10 w-full overflow-hidden border-b border-border/50 bg-secondary/70 backdrop-blur-sm","aria-label":"News-Ticker",role:"marquee",children:[(0,a.jsxs)("div",{className:"flex py-3 ".concat(n?"ticker-hover-group":""),children:[(0,a.jsx)("div",{ref:i,className:"flex shrink-0",style:u,children:d()}),(0,a.jsx)("div",{className:"flex shrink-0","aria-hidden":"true",style:u,children:d()})]}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-16 bg-gradient-to-r from-secondary/70 to-transparent"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-16 bg-gradient-to-l from-secondary/70 to-transparent"})]})}var x=l(39e3),h=l(26558),g=l(24869),p=l(72253),f=l(73474),b=l(27626),v=l(84613),j=l(25340),w=l(44522),N=l(59655);let y=["Wo finde ich Sportschuhe?","Welche Restaurants sind gerade offen?","Gibt es aktuelle Angebote?","Wo ist der n\xe4chste Geldautomat?","Was kann ich mit Kindern machen?","Welche Events stehen an?"],k=[{icon:g.A,label:"Shopping",color:"from-accent/20 to-accent/5",query:"Welche Shops gibt es im Center?"},{icon:p.A,label:"Gastronomie",color:"from-primary/15 to-primary/5",query:"Was kann ich im Center essen?"},{icon:f.A,label:"Angebote",color:"from-rose-400/15 to-rose-400/5",query:"Welche Angebote gibt es gerade?"},{icon:b.A,label:"Orientierung",color:"from-teal-500/15 to-teal-500/5",query:"Wie finde ich mich im Center zurecht?"}];function S(){var e,t,l,n;let s=(0,h.useRouter)(),{centerConfig:o}=(0,w.r)(),[c,d]=(0,r.useState)(""),[m,u]=(0,r.useState)(null),[g,p]=(0,r.useState)(!1),[f,b]=(0,r.useState)(0),[S,A]=(0,r.useState)(!0),C=(null==o?void 0:o.name)||"Center",_=null!=(n=null==o?void 0:o.slug)?n:"preview",T=null==o?void 0:o.hostname,E=e=>(0,x.generatePath)(e,_,void 0,T);(0,r.useEffect)(()=>{let e=setInterval(()=>{A(!1),setTimeout(()=>{b(e=>(e+1)%y.length),A(!0)},400)},3500);return()=>clearInterval(e)},[]);let B=e=>{let t=e.trim();t&&("accepted"===("undefined"!=typeof localStorage?localStorage.getItem("chatbot-consent"):null)?(s.push("".concat(E("/search"),"?q=").concat(encodeURIComponent(t))),d(""),u(null)):(u(t),p(!0)))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{className:"relative overflow-hidden bg-[var(--el-section-bg,var(--secondary))] py-16 sm:py-20 lg:py-24",children:[(0,a.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,a.jsx)("div",{className:"absolute -right-20 -top-20 h-80 w-80 rounded-full bg-accent/[0.07] blur-3xl"}),(0,a.jsx)("div",{className:"absolute -left-20 bottom-0 h-64 w-64 rounded-full bg-primary/[0.05] blur-3xl"})]}),(0,a.jsxs)("div",{className:"relative mx-auto max-w-3xl px-4 sm:px-6",children:[(0,a.jsx)("div",{className:"mb-6 flex justify-center",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-full bg-accent px-5 py-2 text-xs font-bold uppercase tracking-[0.15em] text-accent-foreground shadow-lg shadow-accent/20",children:[(0,a.jsx)(v.A,{className:"h-3.5 w-3.5"}),"KI-Shopping-Beratung"]})}),(0,a.jsx)("h2",{className:"mb-4 text-balance text-center font-serif text-3xl font-bold tracking-tight text-foreground sm:text-4xl lg:text-5xl",children:"Was darf es heute sein?"}),(0,a.jsxs)("p",{className:"mx-auto mb-10 max-w-lg text-center text-sm leading-relaxed text-muted-foreground sm:text-base",children:["Unser KI-Berater kennt alle Shops, Angebote und Events im ",C," und gibt dir personalisierte Empfehlungen â rund um die Uhr."]}),(0,a.jsx)("div",{className:"mb-8 grid grid-cols-2 gap-3 sm:grid-cols-4 sm:gap-4",children:k.map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>{B(e.query)},className:"group flex flex-col items-center gap-3 rounded-2xl border border-border/60 bg-card p-5 shadow-sm transition-all duration-300 hover:-translate-y-1 hover:border-accent/40 hover:shadow-lg hover:shadow-accent/10 active:scale-[0.97]",children:[(0,a.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-xl bg-gradient-to-br ".concat(e.color," transition-transform duration-300 group-hover:scale-110"),children:(0,a.jsx)(e.icon,{className:"h-5 w-5 text-foreground
1/70 transition-colors group-hover:text-accent"})}),(0,a.jsx)("span",{className:"text-xs font-semibold text-foreground/80 sm:text-sm",children:e.label})]},e.label))}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),B(c)},className:"relative",children:[(0,a.jsxs)("div",{className:"flex items-center overflow-hidden rounded-2xl border border-border/60 bg-card shadow-lg transition-all duration-300 focus-within:border-accent/50 focus-within:shadow-xl focus-within:shadow-accent/10",children:[(0,a.jsx)("div",{className:"flex h-14 w-14 shrink-0 items-center justify-center text-muted-foreground/40",children:(0,a.jsx)(v.A,{className:"h-5 w-5"})}),(0,a.jsx)("input",{type:"text",value:c,onChange:e=>d(e.target.value),placeholder:"Frag mich etwas ...",className:"h-14 flex-1 bg-transparent text-sm text-foreground outline-none placeholder:text-muted-foreground/50","aria-label":"Frage an den KI-Berater"}),(0,a.jsx)("button",{type:"submit",disabled:!c.trim(),className:"mr-2 flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-accent text-accent-foreground shadow-md transition-all duration-300 hover:scale-105 hover:shadow-lg disabled:opacity-30 disabled:hover:scale-100","aria-label":"Nachricht senden",children:(0,a.jsx)(j.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("div",{className:"mt-3 flex justify-center",children:(0,a.jsxs)("button",{type:"button",onClick:()=>{B(y[f])},className:"inline-flex items-center gap-2 rounded-full border border-border/50 bg-card/80 px-4 py-2 text-xs text-muted-foreground shadow-sm transition-all duration-400 hover:border-accent/40 hover:text-accent ".concat(S?"translate-y-0 opacity-100":"translate-y-2 opacity-0"),children:[(0,a.jsx)(i.A,{className:"h-3 w-3"}),y[f]]})})]}),(0,a.jsxs)("p",{className:"mt-6 flex items-center justify-center gap-1.5 text-center text-[11px] text-muted-foreground/60",children:[(0,a.jsx)(i.A,{className:"h-3 w-3"}),"Kostenlos und ohne Anmeldung nutzbar"]})]})]}),(0,a.jsx)(N.w,{isOpen:g,consentTitle:null==o||null==(e=o.chatbotConfig)?void 0:e.consentTitle,consentDescription:null==o||null==(t=o.chatbotConfig)?void 0:t.consentDescription,privacyPolicyUrl:null==o||null==(l=o.chatbotConfig)?void 0:l.privacyPolicyUrl,onAccept:()=>{"undefined"!=typeof localStorage&&localStorage.setItem("chatbot-consent","accepted"),p(!1);let e=m||c.trim()||"";e&&(s.push("".concat(E("/search"),"?q=").concat(encodeURIComponent(e))),d(""),u(null))},onDecline:()=>{"undefined"!=typeof localStorage&&localStorage.setItem("chatbot-consent","declined"),p(!1),d(""),u(null)}})]})}var A=l(36108),C=l(22251);let _={event:{bg:"bg-amber-500/90",text:"text-amber-950",dot:"bg-amber-400"},angebot:{bg:"bg-rose-500/90",text:"text-white",dot:"bg-rose-300"},"shop-news":{bg:"bg-indigo-500/90",text:"text-white",dot:"bg-indigo-300"},"center-news":{bg:"bg-teal-600/90",text:"text-white",dot:"bg-teal-300"},gastro:{bg:"bg-orange-500/90",text:"text-orange-950",dot:"bg-orange-300"}};function T(e){return _[e]||{bg:"bg-primary/80",text:"text-primary-foreground",dot:"bg-primary-foreground/60"}}function E(e){let{className:t=""}=e;return(0,a.jsx)("span",{className:"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 group-hover:scale-110 ".concat(t),"aria-hidden":!0,children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}function B(e){let{item:t}=e,l=T(t.category);return(0,a.jsx)(s(),{href:t.href,className:"group relative flex flex-col overflow-hidden rounded-2xl",children:(0,a.jsxs)("div",{className:"relative aspect-[4/5] sm:aspect-auto sm:h-full min-h-[400px] overflow-hidden",children:[(0,a.jsx)("img",{src:t.image,alt:t.title,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-black/10"}),t.shopName&&(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,a.jsx)("span",{className:"font-serif text-3xl font-semibold tracking-wide text-white/90 drop-shadow-lg sm:text-4xl lg:text-5xl",children:t.shopName})}),(0,a.jsx)("div",{className:"absolute left-4 top-4 z-10",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-semibold ".concat(l.bg," ").concat(l.text),children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full ".concat(l.dot)}),t.categoryLabel]})}),t.badge&&(0,a.jsx)("div",{className:"absolute right-4 top-4 z-10",children:(0,a.jsx)("span",{className:"rounded-lg bg-accent px-3 py-1.5 text-xs font-bold text-accent-foreground shadow-md",children:t.badge})}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 right-0 z-10 backdrop-blur-md bg-white/90 p-4 sm:p-5",children:(0,a.jsxs)("div",{className:"flex items-end justify-between gap-3",children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("h3",{className:"text-balance font-serif text-lg font-semibold text-foreground sm:text-xl",children:t.title}),t.description&&(0,a.jsx)("div",{className:"mt-1 line-clamp-2 text-sm text-muted-foreground prose prose-sm max-w-none [&_p]:my-0",children:(0,a.jsx)(C.SafeHtmlContent,{content:t.description})})]}),(0,a.jsx)(E,{})]})})]})})}function z(e){let{item:t}=e,l=T(t.category);return(0,a.jsx)(s(),{href:t.href,className:"group relative flex flex-col overflow-hidden rounded-2xl",children:(0,a.jsxs)("div",{className:"relative aspect-[4/3] overflow-hidden",children:[(0,a.jsx)("img",{src:t.image,alt:t.title,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/25 to-transparent"}),(0,a.jsx)("div",{className:"absolute left-3 top-3 z-10",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[11px] font-semibold ".concat(l.bg," ").concat(l.text),children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full ".concat(l.dot)}),t.categoryLabel]})}),t.badge&&(0,a.jsx)("div",{className:"absolute right-3 top-3 z-10",children:(0,a.jsx)("span",{className:"rounded-md bg-accent px-2 py-1 text-[10px] font-bold text-accent-foreground shadow",children:t.badge})}),t.shopName&&(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,a.jsx)("span",{className:"font-serif text-xl font-semibold tracking-wide text-white/90 drop-shadow-md sm:text-2xl",children:t.shopName})}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 right-0 z-10 p-3",children:(0,a.jsxs)("div",{className:"inline-flex w-full items-center justify-between gap-2 rounded-xl bg-white/90 px-4 py-2.5 backdrop-blur-md",children:[(0,a.jsx)("h3",{className:"truncate text-sm font-semibold text-foreground",children:t.title}),(0,a.jsx)(E,{className:"h-8 w-8"})]})})]})})}function D(e){let{item:t,variant:l="light"}=e,n=T(t.category),r="color"===l;return(0,a.jsx)(s(),{href:t.href,className:"group relative flex overflow-hidden rounded-2xl",children:(0,a.jsxs)("div",{className:"relative flex w-full min-h-[220px] sm:min-h-[260px]",children:[(0,a.jsx)("img",{src:t.image,alt:t.title,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),(0,a.jsx)("div",{className:"absolute inset-0 ".concat(r?"bg-primary/70":"bg-gradient-to-r from-white/85 via-white/60 to-transparent")}),(0,a.jsx)("div",{className:"absolute left-4 top-4 z-10",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[11px] font-semibold ".concat(n.bg," ").concat(n.text),children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full ".concat(n.dot)}),t.categoryLabel]})}),t.badge&&(0,a.jsx)("div",{className:"absolute right-4 top-4 z-10",children:(0,a.jsx)("span",{className:"rounded-lg bg-accent px-3 py-1.5 text-xs font-bold text-accent-foreground shadow-md",children:t.badge})}),(0,a.jsxs)("div",{className:"relative z-10 flex flex-col justify-center p-6 sm:p-8 sm:max-w-[65%]",children:[(0,a.jsx)("h3",{className:"text-balance font-serif text-xl font-semibold sm:text-2xl ".concat(r?"text-white":"text-foreground"),children:t.title}),t.description&&(0,a.jsx)("div",{className:"mt-2 line-clamp-2 text-sm prose prose-sm max-w-none [&_p]:my-0 ".concat(r?"text-white/80":"text-muted-foreground"),children:(0,a.jsx)(C.SafeHtmlContent,{content:t.description})}),(0,a.jsx)("div",{className:"mt-4 inline-flex items-center gap-2",children:r?(0,a.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-full bg-white px-5 py-2.5 text-sm font-medium text-foreground transition-all group-hover:gap-3",children:["Mehr erfahren",(0,a.jsx)(A.A,{className:"h-3.5 w-3.5"})]}):(0,a.jsxs)("span",{className:"inline-flex items-center gap-2 text-sm font-medium text-foreground transition-all group-hover:gap-3",children:["Mehr erfahren",(0,a.jsx)(E,{className:"h-8 w-8"})]})})]})]})})}function H(e){let{items:t,sectionTitle:l,sectionSubtitle:n}=e,s=t[0],r=t[1],i=t[2],o=t[3],c=t[4];return s?(0,a.jsx)("section",{className:"py-16 md:py-24",children:(0,a.jsxs)("div",{className:"container mx-auto px-6 lg:px-12",children:[(0,a.jsxs)("div",{className:"mb-12 text-center",children:[(0,a.jsx)("span",{className:"mb-3 inline-block text-xs font-semibold uppercase tracking-[0.2em] text-accent",children:"Aktuelles"}),(0,a.jsx)("h2",{className:"text-balance font-serif text-3xl font-semibold tracking-tight text-foreground md:text-4xl lg:text-5xl",children:l||"News & Highlights"}),n&&(0,a.jsx)("p",{className:"mx-auto mt-4 max-w-xl text-pretty text-base text-muted-foreground",children:n})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsxs)("div",{className:"grid gap-5 md:grid-cols-5",children:[(0,a.jsx)("div",{className:"md:col-span-3",children:(0,a.jsx)(B,{item:s})}),(r||i)&&(0,a.jsxs)("div",{className:"flex flex-col gap-5 md:col-span-2",children:[r&&(0,a.jsx)(z,{item:r}),i&&(0,a.jsx)(z,{item:i})]})]}),(o||c)&&(0,a.jsxs)("div",{className:"grid gap-5 md:grid-cols-2",children:[o&&(0,a.jsx)(D,{item:o,variant:"light"}),c&&(0,a.jsx)(D,{item:c,variant:"color"})]})]})]})}):null}function M(e){let{shops:t,allShopsHref:l,sectionTitle:n="Top Marken im agnes",sectionSubtitle:r="Von lokalen Lieblingen bis zu bekannten Marken entdecken Sie vielf\xe4ltige Shops auf allen Ebenen."}=e;return 0===t.length?null:(0,a.jsx)("section",{className:"bg-[var(--el-section-bg,var(--secondary))] py-20 md:py-28",children:(0,a.jsx)("div",{className:"container mx-auto px-6 lg:px-12",children:(0,a.jsxs)("div",{className:"flex flex-col gap-12 lg:flex-row lg:items-center lg:gap-16",children:[(0,a.jsxs)("div",{className:"flex shrink-0 flex-col lg:max-w-xs xl:max-w-sm",children:[(0,a.jsx)("span",{className:"mb-3 inline-block text-xs font-semibold uppercase tracking-[0.2em] text-accent",children:"Unsere Shops"}),(0,a.jsx)("h2",{className:"text-balance font-serif text-3xl font-semibold tracking-tight text-foreground md:text-4xl",children:n}),(0,a.jsx)("p",{className:"mt-4 text-pretty text-base leading-relaxed text-muted-foreground",children:r}
1),(0,a.jsxs)(s(),{href:l,className:"mt-8 inline-flex w-fit items-center gap-2 rounded-full bg-primary px-6 py-3 text-sm font-semibold text-primary-foreground transition-all hover:bg-primary/90 hover:gap-3",children:["Alle Shops entdecken",(0,a.jsx)(A.A,{className:"h-4 w-4"})]})]}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4 lg:gap-4",children:t.map(e=>{let t=(0,a.jsx)("div",{className:"group flex aspect-[3/2] items-center justify-center rounded-xl bg-card p-4 shadow-[0_1px_3px_rgba(0,0,0,0.04)] transition-all duration-300 hover:shadow-md hover:-translate-y-0.5",children:e.logo?(0,a.jsx)(m.default,{src:e.logo,alt:e.name,width:120,height:48,className:"max-h-10 w-auto object-contain opacity-70 transition-opacity duration-300 group-hover:opacity-100 grayscale group-hover:grayscale-0"}):(0,a.jsx)("span",{className:"text-center text-sm font-semibold tracking-wide text-foreground/60 transition-colors duration-300 group-hover:text-foreground",children:e.name})});return e.href?(0,a.jsx)(s(),{href:e.href,children:t},e.id):(0,a.jsx)("div",{children:t},e.id)})})})]})})})}function L(e){let{shops:t,allShopsHref:l,sectionTitle:n="f\xfcr euch entdeckt",sectionSubtitle:r="Unsere Shop-Highlights, aktuelle Trends und Produkte, die wir f\xfcr euch ausgew\xe4hlt haben."}=e;return 0===t.length?null:(0,a.jsx)("section",{className:"bg-primary py-20 md:py-28",children:(0,a.jsxs)("div",{className:"container mx-auto px-6 lg:px-12",children:[(0,a.jsxs)("div",{className:"mb-12 flex flex-col gap-6 md:flex-row md:items-end md:justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"mb-3 inline-block text-xs font-semibold uppercase tracking-[0.25em] text-accent",children:"Shop des Monats"}),(0,a.jsx)("h2",{className:"font-serif text-3xl font-semibold text-primary-foreground md:text-4xl lg:text-5xl",children:n}),(0,a.jsx)("p",{className:"mt-4 max-w-md text-sm leading-relaxed text-primary-foreground/60",children:r})]}),(0,a.jsxs)(s(),{href:l,className:"inline-flex items-center gap-2 self-start rounded-full border border-primary-foreground/20 px-6 py-3 text-sm font-medium text-primary-foreground transition-all hover:border-primary-foreground/50 hover:bg-primary-foreground/5 md:self-auto",children:["Alle Shops",(0,a.jsx)(A.A,{className:"h-4 w-4"})]})]}),(0,a.jsx)("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:t.map(e=>{var t,l,n,r;return(0,a.jsxs)(s(),{href:e.href,className:"group",children:[(0,a.jsxs)("div",{className:"relative aspect-[3/4] overflow-hidden rounded-2xl",children:[(0,a.jsx)("img",{src:e.image,alt:e.name,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/15 to-transparent"}),e.trendTag&&(0,a.jsx)("span",{className:"absolute right-4 top-4 roun
1ded-full bg-accent px-3 py-1 text-[10px] font-semibold uppercase tracking-wider text-accent-foreground shadow-md",children:e.trendTag}),(0,a.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-6 text-center",children:[(0,a.jsx)("span",{className:"font-serif text-3xl font-semibold text-white drop-shadow-[0_2px_12px_rgba(0,0,0,0.5)] md:text-4xl",children:null!=(t=e.overlayTitle)?t:e.name}),(null!=(l=e.overlaySubtitle)?l:e.teaser)&&(0,a.jsx)("span",{className:"mt-2 text-sm text-white/90 line-clamp-2 max-w-md",children:null!=(n=e.overlaySubtitle)?n:e.teaser})]}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-5 pt-12",children:e.teaser&&!e.overlaySubtitle&&(0,a.jsx)("p",{className:"mb-3 text-sm text-white/80 line-clamp-2",children:e.teaser})})]}),(0,a.jsxs)("div",{className:"mt-4 flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-primary-foreground",children:null!=(r=e.overlayTitle)?r:e.name}),(0,a.jsxs)("div",{className:"mt-0.5 flex items-center gap-2",children:[e.floor&&(0,a.jsx)("span",{className:"text-xs text-primary-foreground/50",children:e.floor}),e.category&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-primary-foreground/20",children:"|"}),(0,a.jsx)("span",{className:"text-xs text-primary-foreground/50",children:e.category})]})]})]}),void 0!==e.isOpen&&(0,a.jsx)("span",{className:"mt-0.5 shrink-0 rounded-full px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider ".concat(e.isOpen?"bg-accent text-accent-foreground":"bg-primary-foreground/10 text-primary-foreground/40"),children:e.isOpen?"Ge\xf6ffnet":"Geschlossen"})]})]},e.id)})})]})})}var I=l(41988),P=l(47082),F=l(50172);function W(e){let{backgroundImage:t,regularHours:l,specialHours:n=[],specialLabel:o="Sonder\xf6ffnungszeiten",parkingNote:c,title:d,subtitle:m,centerName:u="Center",centerSlug:h="preview",hostname:g}=e,[p,f]=(0,r.useState)("regular"),[v,j]=(0,r.useState)(null),[w,N]=(0,r.useState)(""),[y,k]=(0,r.useState)(!1),S=(0,r.useMemo)(()=>new Date().getDay(),[]),A=0===S?6:S-1,C=l[A],_=!!C&&function(e,t,l){if(l||!e||!t)return!1;let a=new Date,[n,s]=e.split(":").map(Number),[r,i]=t.split(":").map(Number),o=60*a.getHours()+a.getMinutes();return o>=60*n+s&&o<60*r+i}(C.open,C.close,C.closed);(0,r.useEffect)(()=>{k(!0)},[]),(0,r.useEffect)(()=>{if(!_||!(null==C?void 0:C.close))return;let e=()=>N(function(e){let t=new Date,[l,a]=e.split(":").map(Number),n=new Date(t);n.setHours(l,a,0,0);let s=n.getTime()-t.getTime();if(s<=0)return"Geschlossen";let r=Math.floor(s/36e5),i=Math.floor(s%36e5/6e4);return r>0?"Noch ".concat(r,"h ").concat(i,"min"):"Noch ".concat(i," Minuten")}(C.close));e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[_,C]);let T=n.length>0;return(0,a.jsxs)("section",{className:"relative overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute inset-0",children:[(0,a.jsx)("img",{src:t,alt:"".concat(u," Stadtquartier"),className:"absolute inset-0 h-full w-full object-cover"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-[#1a1845]/80 via-[#1a1845]/70 to-[#1a1845]/90"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1a1845]/50 to-transparent"})]}),(0,a.jsxs)("div",{className:"relative z-10 container mx-auto px-6 py-20 md:py-28 lg:px-12",children:[(0,a.jsxs)("div",{className:"mb-12 max-w-2xl",children:[(0,a.jsxs)("span",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-accent/90 px-4 py-1.5 text-xs font-semibold text-accent-foreground shadow-[0_2px_12px_rgba(180,155,60,0.3)]",children:[(0,a.jsx)(I.A,{className:"h-3.5 w-3.5"}),"\xd6ffnungszeiten"]}),(0,a.jsx)("h2",{className:"mt-4 font-serif text-3xl font-semibold leading-tight text-white drop-shadow-[0_2px_12px_rgba(0,0,0,0.3)] md:text-4xl lg:text-5xl",children:null!=d?d:"Deine Shopping-Zeit bei uns"}),(0,a.jsx)("p",{className:"mt-4 max-w-lg text-base text-white/70",children:null!=m?m:"Plane deinen Besuch im ".concat(u,". Wir freuen uns auf dich!")})]}),(0,a.jsxs)("div",{className:"mb-10 inline-flex items-center gap-4 roun
1ded-2xl border border-white/10 bg-white/[0.07] px-6 py-4 backdrop-blur-xl",children:[(0,a.jsxs)("div",{className:"relative flex items-center gap-2",children:[(0,a.jsx)("span",{className:"relative flex h-3 w-3",children:y?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full opacity-75 ".concat(_?"animate-ping bg-emerald-400":"bg-red-400")}),(0,a.jsx)("span",{className:"relative inline-flex h-3 w-3 rounded-full ".concat(_?"bg-emerald-400":"bg-red-400")})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full opacity-75 bg-white/30"}),(0,a.jsx)("span",{className:"relative inline-flex h-3 w-3 rounded-full bg-white/40"})]})}),(0,a.jsx)("span",{className:"text-sm font-semibold text-white",children:y?_?"Jetzt ge\xf6ffnet":"Geschlossen":"Laden..."})]}),y&&_&&(null==C?void 0:C.close)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"h-5 w-px bg-white/20"}),(0,a.jsx)("span",{className:"text-sm text-white/60",children:w})]}),y&&_&&(null==C?void 0:C.open)&&(null==C?void 0:C.close)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"h-5 w-px bg-white/20"}),(0,a.jsxs)("span",{className:"text-sm font-medium text-white/80",children:[C.open," - ",C.close," Uhr"]})]})]}),T&&(0,a.jsxs)("div",{className:"mb-8 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>f("regular"),className:"rounded-full px-5 py-2.5 text-sm font-medium transition-all duration-300 ".concat("regular"===p?"bg-white text-primary shadow-lg":"bg-white/10 text-white/70 hover:bg-white/15 hover:text-white"),children:"Regul\xe4r"}),(0,a.jsxs)("button",{onClick:()=>f("special"),className:"group rounded-full px-5 py-2.5 text-sm font-medium transition-all duration-300 ".concat("special"===p?"bg-accent text-accent-foreground shadow-[0_2px_16px_rgba(180,155,60,0.3)]":"bg-white/10 text-white/70 hover:bg-white/15 hover:text-white"),children:[o,(0,a.jsx)("span",{className:"ml-2 inline-block h-1.5 w-1.5 rounded-full ".concat("special"===p?"bg-accent-foreground/60":"bg-accent")})]})]}),(0,a.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-7",children:("regular"===p?l:n).map((e,t)=>{let l="regular"===p&&t===A,n=v===t;return(0,a.jsxs)("div",{className:"group relative overflow-hidden rounded-2xl border transition-all duration-500 cursor-default ".concat(l?"border-accent/40 bg-accent/10 ring-1 ring-accent/20 backdrop-blur-xl":"border-white/10 bg-white/[0.06] backdrop-blur-md hover:bg-white/[0.1] hover:border-white/20"," ").concat(e.isSpecial?"ring-1 ring-accent/30":""),onMouseEnter:()=>j(t),onMouseLeave:()=>j(null),children:[l&&(0,a.jsx)("div",{className:"absolute right-3 top-3",children:(0,a.jsx)("span",{className:"inline-flex items-center rounded-full bg-accent/90 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wider text-accent-foreground",children:"Heute"})}),(0,a.jsxs)("div",{className:"p-5",children:[(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.15em] ".concat(l?"text-accent":"text-white/40"),children:e.shortLabel}),(0,a.jsx)("p",{className:"mt-1 text-sm font-medium ".concat(l?"text-white":"text-white/80"),children:e.label}),(0,a.jsx)("div",{className:"mt-4",children:e.closed?(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(P.A,{className:"h-4 w-4 text-red-400/80"}),(0,a.jsx)("span",{className:"text-sm font-medium text-red-400/80",children:"Geschlossen"})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-2xl font-semibold tabular-nums text-white",children:e.open}),(0,a.jsxs)("p",{className:"text-lg font-medium tabular-nums text-white/60",children:[e.close," Uhr"]})]})}),e.note&&(0,a.jsx)("p",{className:"mt-3 text-xs font-medium ".concat(e.isSpecial?"text-accent/80":"text-white/40"),children:e.note})]}),(0,a.jsx)("div",{className:"h-1 w-full transition-all duration-700 ".concat(l?"bg-gradient-to-r from-accent to-accent/50":n?e.closed?"bg-red-400/40":"bg-white/20":"bg-transparent")})]},"".concat(p,"-").concat(t))})}),(0,a.jsxs)("div",{className:"mt-10 flex flex-wrap items-center gap-4",children:[c&&(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/[0.06] px-5 py-2.5 text-sm text-white/70 backdrop-blur-md",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 text-accent"}),c]}),(0,a.jsxs)(s(),{href:(0,x.generatePath)("/wayfinding",h,void 0,g),className:"inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/[0.06] px-5 py-2.5 text-sm text-white/70 backdrop-blur-md transition-all hover:bg-white/10 hover:text-white",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 text-accent"}),"Anfahrt & Centerplan",(0,a.jsx)(i.A,{className:"h-3.5 w-3.5"})]}),(0,a.jsxs)(s(),{href:(0,x.generatePath)("/parking",h,void 0,g),className:"inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/[0.06] px-5 py-2.5 text-sm text-white/70 backdrop-blur-md transition-all hover:bg-white/10 hover:text-white",children:[(0,a.jsx)(F.A,{className:"h-4 w-4 text-accent"}),"Parken",(0,a.jsx)(i.A,{className:"h-3.5 w-3.5"})]})]})]})]})}var G=l(40746);function U(e){var t,l,n;
1let{floors:i,centerSlug:o,hostname:c,sectionTitle:d="CENTERPLAN",sectionSubtitle:m="Vier Etagen voller Vielfalt. Finde deinen Weg zu \xfcber 90 Shops."}=e,[u,h]=(0,r.useState)(null!=(l=null==(t=i[0])?void 0:t.id)?l:""),g=null!=(n=i.find(e=>e.id===u))?n:i[0];return(0,a.jsx)("section",{className:"bg-[var(--el-section-bg,var(--secondary))] py-20 md:py-28 overflow-hidden",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"grid gap-12 lg:grid-cols-2 lg:gap-16 items-center",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-serif text-5xl font-bold text-accent md:text-6xl lg:text-7xl tracking-tight",children:d.toUpperCase()}),(0,a.jsx)("p",{className:"mt-5 text-lg font-medium text-foreground md:text-xl leading-snug max-w-md",children:m}),(0,a.jsx)("div",{className:"mt-8 flex flex-wrap gap-3",children:i.map(e=>(0,a.jsx)("button",{onClick:()=>h(e.id),className:"rounded-full px-5 py-2.5 text-sm font-semibold transition-all duration-300 ".concat(u===e.id?"bg-accent text-accent-foreground shadow-md":"border-2 border-foreground
1/20 bg-transparent text-foreground hover:border-foreground/40 hover:bg-foreground/5"),children:e.label},e.id))}),(0,a.jsx)("div",{className:"mt-8 grid grid-cols-2 gap-x-8 gap-y-3",children:null==g?void 0:g.categories.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"h-3 w-3 rounded-full shrink-0",style:{backgroundColor:e.color}}),(0,a.jsx)("span",{className:"text-sm font-medium text-foreground",children:e.name})]},e.name))}),(0,a.jsxs)("p",{className:"mt-6 text-sm text-muted-foreground",children:[null==g?void 0:g.shopCount," Shops auf dieser Etage"]}),(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsxs)(s(),{href:(0,x.generatePath)("/centerplan",o,void 0,c),className:"group inline-flex items-center gap-3 rounded-full bg-foreground px-7 py-4 text-sm font-semibold text-background transition-all hover:opacity-90 active:scale-[0.98]",children:[(0,a.jsx)(b.A,{className:"h-4 w-4"}),"Centerplan ansehen",(0,a.jsx)(A.A,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]})})]}),(0,a.jsxs)("div",{className:"relative flex items-center justify-center min-h-[400px] md:min-h-[500px]",children:[(0,a.jsx)("div",{className:"absolute w-[75%] h-[85%] rounded-3xl border-2 border-foreground
1/10 bg-card shadow-lg rotate-3 translate-x-4 -translate-y-2 overflow-hidden",children:(0,a.jsxs)("div",{className:"relative w-full h-full",children:[(0,a.jsx)("img",{src:"/images/centerplan-interior.jpg",alt:"agnes Innenansicht",className:"absolute inset-0 h-full w-full object-cover"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"}),(0,a.jsx)("span",{className:"absolute top-4 left-5 text-sm font-medium text-white/90 drop-shadow-md",children:"Center Innenansicht"})]})}),(0,a.jsx)("div",{className:"relative w-[60%] h-[75%] min-h-[300px] md:min-h-[380px] rounded-3xl border-2 border-foreground/10 bg-card shadow-xl -rotate-2 -translate-x-4 translate-y-6 overflow-hidden z-10",children:(0,a.jsxs)("div",{className:"relative w-full h-full",children:[(0,a.jsx)("img",{src:"/images/centerplan-shopper.jpg",alt:"Shopper im agnes",className:"absolute inset-0 h-full w-full object-cover"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"}),(0,a.jsx)("span",{className:"absolute top-4 left-5 text-sm font-medium text-white/90 drop-shadow-md",children:"Shopper"})]})}),(0,a.jsx)("div",{className:"absolute -right-2 top-1/2 -translate-y-1/2 z-20 flex h-12 w-12 items-center justify-center rounded-full bg-accent text-accent-foreground shadow-lg",children:(0,a.jsx)(G.A,{className:"h-5 w-5"})}),(0,a.jsx)("div",{className:"absolute -top-3 -right-3 h-20 w-20 rounded-xl bg-accent/20 -z-10"})]})]})})})}var O=l(27036);function q(e){let{events:t,centerSlug:l,hostname:n,sectionTitle:r="Event-Kalender",sectionSubtitle:o="Kommende Events und Veranstaltungen im Center"}=e,c=(0,x.generatePath)("/aktuelles",l||"preview",void 0,n);return(0,a.jsx)("section",{className:"bg-[var(--el-section-bg-alt,var(--muted))] py-20 md:py-28",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"mb-12",children:[(0,a.jsxs)("span",{className:"mb-3 inline-flex items-center gap-2 rounded-full bg-accent/20 px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.15em] text-accent",children:[(0,a.jsx)(O.A,{className:"h-3.5 w-3.5"}),"Events"]}),(0,a.jsx)("h2",{className:"mt-4 font-serif text-3xl font-semibold tracking-tight text-foreground md:text-4xl lg:text-5xl",children:r}),o&&(0,a.jsx)("p",{className:"mt-4 max-w-2xl text-base text-muted-foreground md:text-lg",children:o})]}),(0,a.jsx)("div",{className:"grid gap-12 md:grid-cols-2 lg:grid-cols-3",children:t.slice(0,6).map(e=>(0,a.jsxs)(s(),{href:e.href||c,className:"group relative overflow-hidden rounded-2xl border border-white/10 bg-card shadow-lg transition-all duration-300 hover:shadow-xl hover:border-accent/30",children:[e.image&&(0,a.jsxs)("div",{className:"relative aspect-[16/10] overflow-hidden",children:[(0,a.jsx)("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/20 to-transparent"}),e.date&&(0,a.jsx)("div",{className:"absolute left-4 top-4 roun
1ded-lg bg-accent px-3 py-1.5 text-xs font-bold text-accent-foreground shadow-md",children:e.date})]}),(0,a.jsxs)("div",{className:"p-5",children:[!e.image&&e.date&&(0,a.jsx)("span",{className:"mb-2 inline-block rounded-full bg-accent/20 px-3 py-1 text-xs font-semibold text-accent",children:e.date}),(0,a.jsx)("h3",{className:"font-serif text-lg font-semibold text-foreground group-hover:text-accent transition-colors",children:e.title}),e.description&&(0,a.jsx)("p",{className:"mt-2 line-clamp-2 text-sm text-muted-foreground",children:e.description}),(0,a.jsxs)("span",{className:"mt-4 inline-flex items-center gap-2 text-sm font-medium text-accent transition-all group-hover:gap-3",children:["Mehr erfahren",(0,a.jsx)(i.A,{className:"h-4 w-4"})]})]})]},e.id))}),(0,a.jsx)("div",{className:"mt-12 text-center",children:(0,a.jsxs)(s(),{href:c,className:"inline-flex items-center gap-2 rounded-full bg-foreground px-6 py-3 text-sm font-semibold text-background transition-all hover:opacity-90",children:["Alle Events & News ansehen",(0,a.jsx)(i.A,{className:"h-4 w-4"})]})})]})})}function R(e){var t,l,n,s,r;let{centerConfig:i,heroSlides:o=[],tickerItems:c=[],bentoNews:m=[],anchorShops:h=[],featuredShops:g=[],openingHoursData:p,centerplanFloors:f=[],bentoSectionTitle:b,bentoSectionSubtitle:v,anchorShopsSectionTitle:j,anchorShopsSectionSubtitle:w,featuredShopsSectionTitle:N,featuredShopsSectionSubtitle:y,centerplanSectionTitle:k,centerplanSectionSubtitle:A,eventCalendarItems:C=[],eventCalendarSectionTitle:_,eventCalendarSectionSubtitle:T}=e;return(0,a.jsxs)(a.Fragment,{children:[o.length>0&&(0,a.jsx)(d,{slides:o,centerName:i.name}),c.length>0&&(0,a.jsx)(u,{items:c,speed:28}),(0,a.jsx)(S,{}),m.length>0&&(0,a.jsx)(H,{items:m,sectionTitle:null!=b?b:"News & Highlights",sectionSubtitle:null!=v?v:"Events, Angebote und Neuigkeiten aus dem ".concat(i.name)}),h.length>0&&(0,a.jsx)(M,{shops:h,allShopsHref:(0,x.generatePath)("/shops",null!=(t=null==i?void 0:i.slug)?t:"preview",void 0,null==i?void 0:i.hostname),sectionTitle:j,sectionSubtitle:w}),g.length>0&&(0,a.jsx)(L,{shops:g,allShopsHref:(0,x.generatePath)("/shops",null!=(l=null==i?void 0:i.slug)?l:"preview",void 0,null==i?void 0:i.hostname),sectionTitle:N,sectionSubtitle:y}),(0,a.jsx)(U,{floors:f,centerSlug:null!=(n=null==i?void 0:i.slug)?n:"preview",hostname:null==i?void 0:i.hostname,sectionTitle:k,sectionSubtitle:A}),(0,a.jsx)(q,{events:C,centerSlug:null!=(s=null==i?void 0:i.slug)?s:"preview",hostname:null==i?void 0:i.hostname,sectionTitle:_,sectionSubtitle:T}),p&&(0,a.jsx)(W,{backgroundImage:p.backgroundImage,regularHours:p.regularHours,specialHours:p.specialHours,specialLabel:p.specialLabel,parkingNote:p.parkingNote,title:p.title,subtitle:p.subtitle,centerName:null==i?void 0:i.name,centerSlug:null!=(r=null==i?void 0:i.slug)?r:"preview",hostname:null==i?void 0:i.hostname})]})}var K=l(16913);let V=["#A3B73B","#7BA33E","#8BAD42","#6B9935","#5A8A2E"],Z=[{id:"ug",label:"Untergeschoss",shopCount:12,categories:[{name:"Supermarkt & Lebensmittel",color:"#A3B73B"},{name:"Drogerie & Apotheke",color:"#7BA33E"},{name:"Reinigung & Service",color:"#8BAD42"},{name:"Parkhaus-Zugang",color:"#6B9935"}]},{id:"eg",label:"Erdgeschoss",shopCount:28,categories:[{name:"Mode & Bekleidung",color:"#A3B73B"},{name:"Schuhe & Accessoires",color:"#7BA33E"},{name:"Gastronomie",color:"#8BAD42"},{name:"Telekommunikation",color:"#6B9935"}]},{id:"og1",label:"1. Obergeschoss",shopCount:25,categories:[{name:"Mode & Fashion",color:"#A3B73B"},{name:"Beauty & Wellness",color:"#7BA33E"},{name:"Optik & Gesundheit",color:"#8BAD42"},{name:"Dienstleistungen",color:"#6B9935"}]},{id:"og2",label:"2. Obergeschoss",shopCount:18,categories:[{name:"Sport & Fitness",color:"#A3B73B"},{name:"Elektronik & Medien",color:"#7BA33E"},{name:"Wohnen & Einrichten",color:"#8BAD42"},{name:"Food Court",color:"#6B9935"}]}];function J(e){var t,l,n,s,r,i,o,c,d,m,u,h,g,p,f;let{centerConfig:b,highlights:v,floorsWithCategories:j,shops:w,hostname:N}=e,y=function(e,t){var l,a,n,s;let r=e.slug||"preview",i=e.openingHours;return{centerId:e.centerId||e.id||"",slug:r,name:e.name,description:e.description,branding:{logo:(null==(l=e.branding)?void 0:l.logo)?(0,K.aN)(e.branding.logo):void 0,heroImage:(null==(a=e.hero)?void 0:a.image)?(0,K.aN)(e.hero.image):void 0},colors:{primary:(null==(n=e.branding)?void 0:n.primaryColor)||"#0066CC",accent:null==(s=e.branding)?void 0:s.accentColor},contact:e.contact,openingHours:i?{weekdays:i.weekdays,saturday:i.saturday,sunday:i.sunday}:void 0,hero:e.hero,parking:e.parking,seo:e.seo,hostname:t}}(b,N),k=b.slug||"preview",S=function(e,t,l){var a,n,s,r,i,o,c,d;let m=e.slug||"preview",u=e=>(0,x.generatePath)(e,m,void 0,l),h=null==(a=e.templateContent)?void 0:a["event-lounge-one"],g=null==h||null==(s=h.hero)||null==(n=s.slides)?void 0:n.filter(e=>e.image||e.title);return g&&g.length>0?g.map((e,t)=>({id:"el-slide-".concat(t),image:(e.image?(0,K.aN)(e.image):void 0)||"/placeholder-hero.jpg",title:e.title||"",subtitle:e.subtitle,cta:e.ctaLabel&&e.ctaHref?{label:e.ctaLabel,href:e.ctaHref.startsWith("/")?u(e.ctaHref):e.ctaHref}:void 0,ctaSecondary:{label:"Aktuelles",href:u("/aktuelles")}})):t&&t.length>0?t.slice(0,4).map((e,t)=>{var l;return{id:e.id,image:e.image||"/placeholder-hero.jpg",title:e.title,subtitle:null==(l=e.description)?void 0:l.slice(0,80),description:e.description,cta:e.link?{label:"Mehr erfahren",href:e.link}:void 0,ctaSecondary:u("/aktuelles")?{label:"Aktuelles",href:u("/aktuelles")}:void 0}}):[{id:"hero-1",image:((null==(r=e.hero)?void 0:r.image)?(0,K.aN)(e.hero.image):void 0)||"/placeholder-hero.jpg",title:(null==h||null==(i=h.hero)?void 0:i.title)||(null==(o=e.hero)?void 0:o.title)||"Willkommen im ".concat(e.name),subtitle:(null==h||null==(c=h.hero)?void 0:c.subtitle)||(null==(d=e.hero)?void 0:d.subtitle),cta:{label:"Shops entdecken",href:u("/shops")},ctaSecondary:{label:"Aktuelles",href:u("/aktuelles")}}]}(b,v,N),A=function(e,t,l){var a,n,s;let r=e.slug||"preview",i=e=>(0,x.generatePath)(e,r,void 0,l),o=null==(a=e.templateContent)?void 0:a["event-lounge-one"],c=null==o||null==(s=o.ticker)||null==(n=s.items)?void 0:n.filter(e=>{var t;return(null!=(t=e.text)?t:"").trim()});return c&&c.length>0?c.map((e,t)=>{var l;return{id:"el-ticker-".concat(t),text:null!=(l=e.text)?l:"",href:e.href?e.href.startsWith("/")?i(e.href):e.href:void 0,accent:t%3==0}}):t&&t.length>0?t.slice(0,6).map((e,t)=>({id:e.id,text:e.title,href:e.link||i("/aktuelles"),accent:t%3==0,badge:"offer"===e.type?"Angebot":"event"===e.type?"Event":void 0})):[{id:"t1",text:"".concat(e.name," â Shops, Gastronomie und mehr"),accent:!0},{id:"t2",text:"Aktuelle Angebote und Events",href:i("/aktuelles")}]}(b,v,N),C=function(e,t,l){let a=e.slug||"preview";if(!t||0===t.length)return[];let n={news:"center-news",event:"event",offer:"angebot"};return t.slice(0,6).map(e=>
1({id:e.id,title:e.title,description:e.description,image:e.image||"/placeholder-news.jpg",category:n[e.type]||"center-news",categoryLabel:"offer"===e.type?"Angebot":"event"===e.type?"Event":"News",badge:"offer"===e.type?"Angebot":void 0,href:e.link||(0,x.generatePath)("/aktuelles",a,void 0,l)}))}(b,v,N),_=function(e,t,l){let a=e.slug||"preview",n=e=>(0,x.generatePath)(e,a,void 0,l);return t&&0!==t.length?t.slice(0,12).map(e=>({id:e.id,name:e.name,logo:e.logo?(0,K.aN)(e.logo):void 0,href:e.slug?n("/shops/".concat(e.slug)):n("/shops")})):[]}(b,w,N),T=function(e,t){var l,a,n,s;let r=e.slug||"preview",i=e=>(0,x.generatePath)(e,r,void 0,t),o=null==(l=e.templateContent)?void 0:l["event-lounge-one"];return(null!=(s=null==o||null==(n=o.advertorials)||null==(a=n.items)?void 0:a.filter(e=>e.image||e.overlayTitle))?s:[]).slice(0,6).map((e,t)=>({id:e.id||"adv-".concat(t),name:e.overlayTitle||e.overlaySubtitle||"Advertorial",image:e.image&&(0,K.aN)(e.image)||"/placeholder-shop.jpg",href:e.href?e.href.startsWith("/")?i(e.href):e.href:i("/shops"),trendTag:e.trendTag,teaser:e.overlaySubtitle,overlayTitle:e.overlayTitle,overlaySubtitle:e.overlaySubtitle}))}(b,N),E=T.length>0?T:function(e,t,l){let a=e.slug||"preview",n=e=>(0,x.generatePath)(e,a,void 0,l);return t&&0!==t.length?t.filter(e=>e.featured&&e.logo).slice(0,6).map(e=>({id:e.id,name:e.name,image:(0,K.aN)(e.logo)||"/placeholder-shop.jpg",href:e.slug?n("/shops/".concat(e.slug)):n("/shops"),isOpen:!0})):[]}(b,w,N),B=function(e){var t,l,a,n,s;let r=e.openingHours,i=null==(t=e.templateContent)?void 0:t["event-lounge-one"];if(r||(null==i?void 0:i.openingHours))return{backgroundImage:"/images/opening-hours-bg.jpg",regularHours:[{label:"Montag",shortLabel:"Mo",open:"10:00",close:"20:00"},{label:"Dienstag",shortLabel:"Di",open:"10:00",close:"20:00"},{label:"Mittwoch",shortLabel:"Mi",open:"10:00",close:"20:00"},{label:"Donnerstag",shortLabel:"Do",open:"10:00",close:"20:00"},{label:"Freitag",shortLabel:"Fr",open:"10:00",close:"20:00"},{label:"Samstag",shortLabel:"Sa",open:"10:00",close:"20:00"},{label:"Sonntag",shortLabel:"So",closed:!0,note:"Ruhetag"}],parkingNote:(null==i||null==(l=i.openingHours)?void 0:l.parkingNote)||(null==(a=e.parking)?void 0:a.description),title:null==i||null==(n=i.openingHours)?void 0:n.title,subtitle:null==i||null==(s=i.openingHours)?void 0:s.subtitle}}(b),z=j&&j.length>0?j.map((e,t)=>({id:e.id,label:e.name,shopCount:0,categories:e.categories.map((e,t)=>({name:e,color:V[t%V.length]}))})):Z,D=null==(t=b.templateContent)?void 0:t["event-lounge-one"],H=function(e,t,l){var a;let n=null!=(a=null==e?void 0:e.filter(e=>"event"===e.type).slice(0,6).map(e=>{var a;return{id:e.id,title:e.title,description:e.description,date:e.date?new Date(e.date).toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"}):void 0,image:e.image,href:null!=(a=e.link)?a:(0,x.generatePath)("/aktuelles",t,void 0,l)}}))?a:[];if(n.length>0)return n;let s=e=>(0,x.generatePath)(e,t,void 0,l),r=new Date;r.setMonth(r.getMonth()+1);let i=r.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});return[{id:"ev1",title:"Fr\xfchlingsfest im Center",description:"Live-Musik, Foodtrucks und tolle Aktionen.",date:i,image:"/images/news-event-spring.jpg",href:s("/aktuelles")},{id:"ev2",title:"Sommer-Open-Air",description:"Open-Air Kino und Sommeraktionen.",date:i,image:"/images/news-center-summer.jpg",href:s("/aktuelles")}]}(v,k,N);return(0,a.jsx)(R,{centerConfig:y,heroSlides:S,tickerItems:A,bentoNews:C,anchorShops:_,featuredShops:E,openingHoursData:B,centerplanFloors:z,bentoSectionTitle:null==D||null==(l=D.bento)?void 0:l.sectionTitle,bentoSectionSubtitle:null==D||null==(n=D.bento)?void 0:n.sectionSubtitle,anchorShopsSectionTitle:null==D||null==(s=D.anchorShops)?void 0:s.sectionTitle,anchorShopsSectionSubtitle:null==D||null==(r=D.anchorShops)?void 0:r.sectionSubtitle,featuredShopsSectionTitle:null!=(p=null==D||null==(i=D.advertorials)?void 0:i.sectionTitle)?p:null==D||null==(o=D.featuredShops)?void 0:o.sectionTitle,featuredShopsSectionSubtitle:null!=(f=null==D||null==(c=D.advertorials)?void 0:c.sectionSubtitle)?f:null==D||null==(d=D.featuredShops)?void 0:d.sectionSubtitle,centerplanSectionTitle:null==D||null==(m
1=D.centerplan)?void 0:m.sectionTitle,centerplanSectionSubtitle:null==D||null==(u=D.centerplan)?void 0:u.sectionSubtitle,eventCalendarItems:H,eventCalendarSectionTitle:null==D||null==(h=D.eventCalendar)?void 0:h.sectionTitle,eventCalendarSectionSubtitle:null==D||null==(g=D.eventCalendar)?void 0:g.sectionSubtitle})}}}]);
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.