1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8006],{8006:(e,t,r)=>{r.r(t),r.d(t,{default:()=>K});var n=r(90893),l=r(18329),s=r(2621),a=r.n(s),i=r(39e3),o=r(34075),d=r(16505);function c(e){let{svgContent:t,variant:r="tabs"}=e;return"stacked"===r?(0,n.jsx)("div",{className:"relative w-full overflow-hidden rounded-xl border border-neutral-200/90 bg-neutral-100 min-h-[220px] sm:min-h-[280px] xl:min-h-[320px] max-h-[min(70vh,620px)] flex items-center justify-center p-2 sm:p-3",children:t?(0,n.jsx)("div",{className:"flex h-full w-full max-h-full items-center justify-center [&_svg]:h-auto [&_svg]:max-h-[min(65vh,580px)] [&_svg]:w-full [&_svg]:max-w-full [&_svg]:object-contain",dangerouslySetInnerHTML:{__html:t}}):(0,n.jsx)("div",{className:"flex min-h-[180px] items-center justify-center px-4 text-center text-sm text-gray-500",children:"Keine Karte f\xfcr diese Etage."})}):(0,n.jsx)("div",{className:"relative w-full rounded-lg border border-gray-200 overflow-hidden bg-[#f5f5f5]",style:{paddingBottom:"62%"},children:t?(0,n.jsx)("div",{className:"absolute inset-0 w-full h-full [&_svg]:max-w-full [&_svg]:max-h-full [&_svg]:object-contain",dangerouslySetInnerHTML:{__html:t}}):(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-gray-500 text-sm",children:"Keine Karte f\xfcr diese Etage."})})}function u(e){var t;let{floors:r,accentColor:s="#cc0000",layout:a="tabs"}=e,i=r.filter(e=>!1!==e.isActive),o=Math.max(0,i.findIndex(e=>e.isDefault)),[d,u]=(0,l.useState)(o>=0?o:0),m=i[d],x=null!=(t=null==m?void 0:m.mapSvg)?t:null;if(!i.length)return(0,n.jsx)("div",{className:"rounded-lg border border-gray-200 bg-gray-50 p-8 text-center text-gray-500 text-sm",children:"Kein Centerplan hinterlegt."});if("stacked"===a){let e=[...i].sort((e,t)=>t.floorNumber-e.floorNumber),t=1===e.length;return(0,n.jsx)("div",{className:"flex flex-col gap-7 sm:gap-8",children:e.map(e=>(0,n.jsxs)("section",{className:t?void 0:"rounded-xl border border-neutral-200/80 bg-neutral-50/60 p-3 shadow-sm sm:p-4","aria-labelledby":"floor-heading-".concat(e.id),children:[!t&&(0,n.jsxs)("div",{className:"mb-3 flex flex-wrap items-end justify-between gap-2 pb-2 sm:mb-4",style:{borderBottomWidth:2,borderBottomStyle:"solid",borderBottomColor:s},children:[(0,n.jsx)("h3",{id:"floor-heading-".concat(e.id),className:"text-base font-bold tracking-tight text-foreground sm:text-lg",children:e.name}),(0,n.jsxs)("span",{className:"text-xs font-bold uppercase tracking-widest text-brand/80",children:["Etage ",e.floorNumber]})]}),(0,n.jsx)(c,{svgContent:e.mapSvg,variant:"stacked"})]},e.id))})}return(0,n.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,n.jsx)("div",{className:"flex rounded-lg border border-gray-200 overflow-hidden",children:i.map((e,t)=>(0,n.jsx)("button",{type:"button",onClick:()=>u(t),className:"flex-1 py-2.5 text-sm font-semibold transition-colors duration-150 border-r border-gray-200 last:border-r-0",style:d===t?{background:s,color:"#fff"}:{background:"#fff",color:"#444"},children:e.name},e.id))}),(0,n.jsx)(c,{svgContent:x,variant:"tabs"})]})}var m=r(43221),x=r(64332);function h(e){let{...t}=e;return(0,n.jsx)(m.bL,{"data-slot":"hover-card",...t})}function f(e){let{...t}=e;return(0,n.jsx)(m.l9,{"data-slot":"hover-card-trigger",...t})}function p(e){let{className:t,align:r="center",sideOffset:l=4,...s}=e;return(0,n.jsx)(m.ZL,{"data-slot":"hover-card-portal",children:(0,n.jsx)(m.UC,{"data-slot":"hover-card-content",align:r,sideOffset:l,className:(0,x.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...s})})}var g=r(26899);function b(e){let{shops:t}=e;if(!t||0===t.length)return null;let r=t.filter(e=>{var t;return null==(t=e.name)?void 0:t.trim()});return(0,n.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 ga
1p-4",children:r.map(e=>{var t;let r=e.openingHoursRows&&e.openingHoursRows.length>0?e.openingHoursRows.map(e=>{let t=(0,g.W)(e.time);return e.days?"".concat(e.days,": ").concat(t):t}).join(" ⢠"):(0,g.W)(null!=(t=e.openingHoursFormatted)?t:"")||"â";return(0,n.jsxs)(h,{openDelay:200,closeDelay:100,children:[(0,n.jsx)(f,{asChild:!0,children:(0,n.jsx)("div",{className:"flex flex-col items-center justify-center rounded-xl bg-white p-6 h-28 shadow-[0_1px_3px_0_rgba(0,0,0,0.08)] border border-gray-100 cursor-default transition-shadow hover:shadow-md",role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&e.preventDefault()},children:e.logo||e.image?(0,n.jsx)("img",{src:e.logo||e.image,alt:e.name,className:"max-h-14 w-auto max-w-full object-contain"}):(0,n.jsx)("span",{className:"text-sm font-semibold text-gray-700 truncate max-w-full text-center",children:e.name})})}),(0,n.jsx)(p,{align:"center",side:"top",className:"w-64 bg-white border-gray-200",children:(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("p",{className:"font-semibold text-gray-900",children:e.name}),e.category&&(0,n.jsx)("p",{className:"text-sm text-gray-600",children:e.category}),(0,n.jsxs)("div",{className:"text-xs text-gray-500",children:[(0,n.jsx)("span",{className:"font-medium text-gray-600",children:"\xd6ffnungszeiten:"})," ",r]})]})})]},e.id)})})}var v=r(72518),j=r(37318);let w=["Mo","Di","Mi","Do","Fr","Sa","So"];function y(e){let t=e.getDay();return 0===t?6:t-1}function N(e){let t=e.trim().slice(0,2);return w.indexOf(t)}function k(e){let t=e.toLowerCase();return t.trim()?/anfrage|vereinbarung|nach\s*termin|nach\s*absprache|bitte\s*anfragen/.test(t)?"onRequest":/geschlossen|ruhetag|closed|nicht\s*geöffnet/.test(t)?"closed":"open":"closed"}function C(e){let t=e.replace(/â/g,"-").match(/(\d{1,2}):(\d{2})\s*-\s*(\d{1,2}):(\d{2})/);if(!t)return null;let r=60*parseInt(t[1],10)+parseInt(t[2],10),n=60*parseInt(t[3],10)+parseInt(t[4],10);return Number.isNaN(r)||Number.isNaN(n)?null:{start:r,end:n}}function S(e,t){let r=C(e);if(!r)return!1;let n=60*t.getHours()+t.getMinutes();return n>=r.start&&n<=r.end}function _(e,t,r){let n=function(e,t){var r,n;let l=e.openingHoursRows&&e.openingHoursRows.length>0?e.openingHoursRows:(null==(n=e.openingHoursFormatted)?void 0:n.trim())?[{days:"",time:e.openingHoursFormatted.trim()}]:[];for(let e of l)if(function(e,t){let r=function(e){let t=e.trim();if(!t)return null;let r=new Set;for(let e of t.split(/[,;]/).map(e=>e.trim()).filter(Boolean)){let t=e.replace(/â/g,"-").replace(/\s+/g,"").match(/^(\w{2})-(\w{2})$/i);if(t){let e=N(t[1]),n=N(t[2]);if(e<0||n<0)continue;if(e<=n)for(let t=e;t<=n;t++)r.add(t);else{for(let t=e;t<=6;t++)r.add(t);for(let e=0;e<=n;e++)r.add(e)}continue}let n=N(e);n>=0&&r.add(n)}return r.size>0?r:null}(e);return null===r||r.has(t)}(e.days,t))return e;return 1===l.length&&""===l[0].days?l[0]:null!=(r=l[0])?r:null}(e,t);if(!n||!n.time.trim())return{kind:"onRequest",displayTime:"â"};let l=k(n.time);return"onRequest"===l?{kind:"onRequest",displayTime:A(n.time)}:"closed"===l?{kind:"closed",displayTime:A(n.time)}:t===y(r)?S(n.time,r)?{kind:"open",displayTime:A(n.time)}:{kind:"closed",displayTime:A(n.time)}:{kind:"open",displayTime:A(n.time)}}function A(e){return(0,g.W)(e)}function z(e){if(!e)return"MoâSa 08:00â20:00";let t=[e.weekdays,e.saturday,e.sunday].filter(e=>e&&String(e).trim());return t.length?t.join(" \xb7 "):"MoâSa 08:00â20:00"}function M(e){let{shops:t,centerName:r,contact:s,openingHours:a}=e,[i,o]=(0,l.useState)(()=>new Date);(0,l.useEffect)(()=>{let e=setInterval(()=>o(new Date),6e4);return()=>clearInterval(e)},[]);let d=y(i),[c,u]=(0,l.useState)(()=>y(new Date)),[m,h]=(0,l.useState)(""),[f,p]=(0,l.useState)("alle"),g=function(e){var t;let r=null==e?void 0:e.address;if(!r)return;let n=[r.zip,r.city].filter(Boolean).join(" "),l=[null==(t=r.street)?void 0:t.trim(),n].filter(Boolean);return l.length?l.join(" \xb7 "):void 0}(s),b=function(e,t){var r,n,l,s;let a=z(e),i=y(t),o="";if(!(o=6===i?null!=(r=null==e?void 0:e.sunday)?r:"":5===i?null!=(l=null!=(n=null==e?void 0:e.saturday)?n:null==e?void 0:e.weekdays)?l:"":null!=(s=null==e?void 0:e.weekdays)?s:"").trim())return{open:!1,line:a};let d=o.toLowerCase();if(/geschlossen|ruhetag|closed/.test(d))return{open:!1,line:a};let c=k(o);return"onRequest"===c||"closed"===c?{open:!1,line:a}:"open"===c&&C(o)?{open:S(o,t),line:a}:{open:!1,line:a}}(a,i),N=z(a),A=(0,l.useMemo)(()=>{let e=new Set;for(let n of t){var r;let t=(null==(r=n.category)?void 0:r.trim())||"Sonstiges";e.add(t)}return Array.from(e).sort((e,t)=>
1e.localeCompare(t,"de",{sensitivity:"base"}))},[t]),M=(0,l.useMemo)(()=>{let e=m.trim().toLowerCase();return t.filter(t=>{var r;return("alle"===f||((null==(r=t.category)?void 0:r.trim())||"Sonstiges")===f)&&(!e||t.name.toLowerCase().includes(e))})},[t,m,f]),L=(0,l.useMemo)(()=>{let e=new Map;for(let r of M){var t;let n=(null==(t=r.category)?void 0:t.trim())||"Sonstiges";e.has(n)||e.set(n,[]),e.get(n).push(r)}return Array.from(e.keys()).sort((e,t)=>e.localeCompare(t,"de",{sensitivity:"base"})).map(t=>({label:t,items:e.get(t)}))},[M]),I=(0,l.useMemo)(()=>{let e=new Date,t=0,r=0,n=0;for(let l of M){let{kind:s}=_(l,c,e);"open"===s?t++:"onRequest"===s?n++:r++}return{open:t,closed:r,onRequest:n,total:M.length}},[M,c]);return(0,n.jsx)("section",{id:"oeffnungszeiten",className:"w-full border-t border-neutral-200 bg-white px-4 py-10 sm:px-8 sm:py-12 lg:px-12",children:(0,n.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,n.jsxs)("header",{className:"mb-8 text-center sm:mb-10",children:[(0,n.jsx)("p",{className:(0,x.cn)(j.dt,"mb-2"),children:"\xd6ffnungszeiten"}),(0,n.jsx)("h2",{className:j.Ky,children:r}),g?(0,n.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:g}):null]}),(0,n.jsx)("div",{className:"mb-6 flex flex-wrap justify-center gap-2 sm:mb-8 sm:gap-3",children:w.map((e,t)=>{let r=t===c,l=t===d;return(0,n.jsxs)("button",{type:"button",onClick:()=>u(t),className:"flex min-w-[3.25rem] flex-col items-center rounded-xl border px-3 py-2 text-center text-xs font-semibold transition-colors sm:min-w-[3.5rem] sm:px-4 sm:py-2.5 sm:text-sm ".concat(r?"border-neutral-900 bg-neutral-900 text-white":"border-neutral-200 bg-white text-neutral-700 hover:border-neutral-300"),children:[(0,n.jsx)("span",{children:e}),(0,n.jsx)("span",{className:r?"text-white/80":"text-neutral-400",children:l?"Heute":e})]},e)})}),(0,n.jsxs)("div",{className:"mb-6 flex flex-col gap-3 rounded-xl border border-neutral-200 bg-neutral-50/80 px-4 py-3 sm:mb-8 sm:flex-row sm:items-center sm:justify-between sm:px-5",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 text-sm text-neutral-800",children:[(0,n.jsx)("span",{className:"size-2 shrink-0 rounded-full ".concat(b.open?"bg-emerald-500":"bg-neutral-400"),"aria-hidden":!0}),(0,n.jsxs)("span",{children:[b.open?"Center jetzt ge\xf6ffnet":"Center geschlossen",(0,n.jsxs)("span",{className:"text-neutral-500",children:[" \xb7 ",N]})]})]}),(0,n.jsxs)("div",{className:"relative w-full sm:max-w-xs",children:[(0,n.jsx)(v.A,{className:"pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-neutral-400"}),(0,n.jsx)("input",{type:"search",value:m,onChange:e=>h(e.target.value),placeholder:"Shop suchen â¦",className:"w-full rounded-lg border border-neutral-200 bg-white py-2 pl-10 pr-3 text-sm outline-none ring-offset-2 focus:ring-2 focus:ring-neutral-900/10"})]})]}),(0,n.jsxs)("div",{className:"mb-6 grid grid-cols-1 gap-3 sm:mb-8 sm:grid-cols-3 sm:gap-4",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-neutral-200 bg-white px-5 py-4 text-center shadow-sm",children:[(0,n.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-neutral-500",children:"Ge\xf6ffnet"}),(0,n.jsx)("p",{className:"mt-1 text-3xl font-bold tabular-nums text-emerald-600",children:I.open}),(0,n.jsxs)("p",{className:"mt-0.5 text-xs text-neutral-500",children:["von ",I.total," Shops"]})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-neutral-200 bg-white px-5 py-4 text-center shadow-sm",children:[(0,n.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-neutral-500",children:"Geschlossen"}),(0,n.jsx)("p",{className:"mt-1 text-3xl font-bold tabular-nums text-neutral-900",children:I.closed})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-neutral-200 bg-white px-5 py-4 text-center shadow-sm",children:[(0,n.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-neutral-500",children:"Auf Anfrage"}),(0,n.jsx)("p",{className:"mt-1 text-3xl font-bold tabular-nums text-amber-700",children:I.onRequest})]})]}),(0,n.jsxs)("div",{className:"mb-6 flex flex-wrap gap-2 sm:mb-8",children:[(0,n.jsx)("button",{type:"button",onClick:()=>p("alle"),className:"rounded-full px-4 py-1.5 text-sm font-medium transition-colors ".concat("alle"===f?"bg-neutral-800 text-white":"bg-neutral-100 text-neutral-700 hover:bg-neutral-200"),children:"Alle"}),A.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>p(e),className:"rounded-full px-4 py-1.5 text-sm font-medium transition-colors ".concat(f===e?"bg-neutral-800 text-white":"bg-neutral-100 text-neutral-700 hover:bg-neutral-200"),children:e},e))]}),(0,n.jsx)("div",{className:"space-y-8",children:L.map(e=>(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:(0,x.cn)("mb-3",j.Ql),children:e.label}),(0,n.jsx)("ul",{className:"divide-y divide-neutral-200 rounded-xl border border-neutral-200 bg-white",children:e.items.map(e=>{var t;let{kind:r,displayTime:l}=_(e,c,i),s=null==(t=e.phone)?void 0:t.trim();return(0,n.jsxs)("li",{className:"grid grid-cols-1 gap-2 px-4 py-3 sm:grid-cols-[minmax(0,1fr)_minmax(7.5rem,auto)_auto] sm:items-center sm:gap-x-4 sm:px-5 sm:py-3.5",children:[(0,n.jsxs)("div",{className:"flex min-w-0 items-start gap-3 sm:items-center",children:[(0,n.jsx)("span",{className:"mt-1.5 size-2 shrink-0 rounded-full sm:mt-0 ".concat("open"===r?"bg-emerald-500":"onRequest"===r?"bg-amber-500":"bg-neutral-300"),"aria-hidden":!0}),(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("span",{className:"block min-w-0 font-semibold text-neutral-900",children:e.name}),s?(0,n.jsx)("a",{href:"tel:".concat(s.replace(/\s+/g,"")),className:"mt-0.5 block text-sm text-neutral-500 tabular-nums hover:text-neutral-800 hover:underline",children:s}):null]})]}),(0,n.jsx)("span",{className:"pl-5 text-sm tabular-nums text-neutral-600 sm:pl-0",children:l}),(0,n.jsx)("span",{className:"justify-self-start rounded-full px-2.5 py-0.5 text-xs font-semibold sm:justify-self-center ".concat("open"===r?"bg-emerald-600 text-white":"onRequest"===r?"bg-amber-600 text-white":"bg-neutral-200 text-neutral-800"),children:"open"===r?"Ge\xf6ffnet":"onRequest"===r?"Auf Anfrage":"Geschlossen"})]},e.id)})})]},e.label))}),0===M.length?(0,n.jsx)("p",{className:"mt-10 text-center text-sm text-neutral-500",children:"Keine Shops f\xfcr diese Filter."}):null]})})}var L=r(80380);let I=[{id:"ein-aus",icon:"\uD83D\uDEAA",label:"Ein- / Ausgang"},{id:"aufzug",icon:"\uD83D\uDED7",label:"Aufzug"},{id:"info",icon:"â¹ï¸",label:"Information"},{id:"baby",icon:"\uD83D\uDC76",label:"Baby-Wickelraum"},{id:"treppe",icon:"\uD83E\uDE9C",label:"Treppenhaus"},{id:"rolltreppe",icon:"âï¸",label:"Rolltreppe"},{id:"wc-barriere",icon:"â¿",label:"Barrierefreies WC"},{id:"post",icon:"\uD83D\uDCEE",label:"Deutsche Post"},{id:"wc",icon:"\uD83D\uDEBB",label:"Kunden-WC"},{id:"atm",icon:"\uD83C\uDFE7",label:"EC-Automat"},{id:"park",icon:"\uD83C\uDD7Fï¸",label:"Parkpl\xe4tze"}],D=[{id:"gastronomie",label:"Gastronomie",color:"#7C3AED",bgColor:"#7C3AED",shops:[{displayId:"12",name:"Ditsch",id:"1",slug:"ditsch"},{displayId:"16",name:"Asia-Snack Fu Loi",id:"2",slug:"asia-snack"}]},{id:"multimedia",label:"Multimedia, Spielwaren",color:"#2563EB",bgColor:"#2563EB",shops:[{displayId:"1",name:"Media Markt",id:"3",slug:"media-markt"},{displayId:"2",name:"Smyths Toys",id:"4",slug:"smyths"}]},{id:"dienstleistungen",label:"Dienstleistungen, Tabak",color:"#16A34A",bgColor:"#16A34A",shops:[{displayId:"5",name:"Sparkasse S-Point",id:"5",slug:"sparkasse"}]},{id:"lebensmittel",label:"Lebensmittel, Blumen",color:"#D97706",bgColor:"#D97706",shops:[{displayId:"7",name:"Kaufland",id:"6",slug:"kaufland"}]}
1,{id:"mode",label:"Mode, Schuhe, Accessoires",color:"#DC2626",bgColor:"#DC2626",shops:[{displayId:"9",name:"B\xd6 Schuhe",id:"7",slug:"bo-schuhe"}]}];function E(e){let{displayId:t,bgColor:r}=e;return(0,n.jsx)("span",{className:"inline-flex min-h-7 min-w-7 shrink-0 items-center justify-center rounded-[3px] px-1 text-[10px] font-bold leading-none text-white sm:text-[11px]",style:{background:r},children:t||"â"})}function H(e){let{children:t}=e;return(0,n.jsx)("span",{className:"inline-flex size-7 shrink-0 items-center justify-center rounded-full bg-neutral-900 text-[13px] leading-none text-white shadow-sm",children:t})}function W(e){if(!(null==e?void 0:e.trim()))return!1;let t=e.trim();return t.startsWith("http")||t.startsWith("/")||t.startsWith("data:")}let B={info:"â¹ï¸",information:"â¹ï¸",help:"â",wc:"\uD83D\uDEBB",toilet:"\uD83D\uDEBB",restroom:"\uD83D\uDEBB",parking:"\uD83C\uDD7Fï¸",park:"\uD83C\uDD7Fï¸",elevator:"\uD83D\uDED7",lift:"\uD83D\uDED7",stairs:"\uD83E\uDE9C",escalator:"âï¸",atm:"\uD83C\uDFE7",bank:"\uD83C\uDFE6",pharmacy:"\uD83D\uDC8A",baby:"\uD83D\uDC76",family:"\uD83D\uDC6A",wifi:"\uD83D\uDCF6",wheelchair:"â¿",accessibility:"â¿",entrance:"\uD83D\uDEAA",exit:"\uD83D\uDEAA",post:"\uD83D\uDCEE",mail:"\uD83D\uDCEE",security:"\uD83D\uDEE1ï¸",shop:"\uD83D\uDECDï¸",store:"\uD83D\uDECDï¸",food:"\uD83C\uDF7Dï¸",drink:"â",default:"\uD83D\uDCCD"};function R(e){let{logo:t,icon:r,name:l}=e,s=t&&W(t)?t:void 0,a=!s&&r&&W(r)?r:void 0,i=s||a;if(i)return(0,n.jsx)("span",{className:"inline-flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-neutral-200/90 bg-white shadow-sm ring-1 ring-black/[0.04]",children:(0,n.jsx)("img",{src:i,alt:"",className:"h-full w-full object-contain p-0.5"})});let o=function(e,t){let r=null==e?void 0:e.trim();if(r){if(W(r))return r;let e=B[r.toLowerCase().replace(/[^a-z0-9]+/g,"")]||B[r.toLowerCase()];if(e)return e;if(RegExp("\\p{Extended_Pictographic}","u").test(r)||r.length<=4)return r}let n=null==t?void 0:t.trim();return n?n.charAt(0).toUpperCase():"\xb7"}(r,l);return(0,n.jsx)(H,{children:o})}function T(){var e,t,r;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{contentOnly:c,centerConfig:m,centerSlug:h,hostname:f,shops:p=[],services:g,floors:v=[],pageContent:w}=s,y=(0,i.generatePath)("/",null!=h?h:"",void 0,f)||"",N="/"===y?"":y,k=null!=(r=null==m?void 0:m.name)?r:"Center",C=null==m?void 0:m.templateContent,S=(0,L.q)(C),_=(null==S||null==(e=S.shopsPage)?void 0:e.linkToShopDetails)===!0,A=(null==S||null==(t=S.shopsPage)?void 0:t.showShopLogoGrid)===!0,z=Array.isArray(g)&&g.length>0?g:I,H=(0,l.useMemo)(()=>{if(Array.isArray(p)&&p.length>0){var e;let t=new Map;for(let r of p){let n=(null==(e=r.category)?void 0:e.trim())||"Sonstiges";t.has(n)||t.set(n,[]),t.get(n).push(r)}return Array.from(t.entries()).sort((e,t)=>{let[r]=e,[n]=t;return r.localeCompare(n,"de",{sensitivity:"base"})}).map(e=>{var t;let[r,n]=e,l=(null==(t=n[0])?void 0:t.categoryColor)||"#6b7280";return{id:r.toLowerCase().replace(/\s+/g,"-"),label:r,color:l,bgColor:l,shops:n.map((e,t)=>({displayId:e.displayId&&String(e.displayId).trim()||String(t+1),name:e.name,id:e.id,slug:e.slug}))}})}return D},[p]),W=Array.isArray(v)&&v.length>0&&v.some(e=>e.mapSvg),B=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-full px-4 sm:px-8 lg:px-12 pt-10 pb-12 sm:pt-12 sm:pb-14",children:(0,n.jsxs)("div",{className:"mx-auto max-w-[1800px] text-center",children:[(0,n.jsxs)("p",{className:(0,x.cn)("mx-auto mb-3 max-w-2xl text-balance",j.dt),children:["Herzlich willkommen im ",k]}),(0,n.jsx)("h1",{className:(0,x.cn)("mx-auto max-w-3xl",j.mx),children:"Centerplan & Shops"})]})}),(0,n.jsx)("div",{className:"mx-auto w-full max-w-[1800px] px-4 sm:px-8 lg:px-12 xl:px-6 2xl:px-10 pb-16",children:(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-8 xl:grid-cols-12 xl:items-start xl:gap-4 2xl:gap-6",children:[(0,n.jsx)("aside",{className:"min-w-0 xl:col-span-2",children:(0,n.jsx)("div",{className:"rounded-2xl border border-neutral-200/80 bg-white p-6 shadow-[0_2px_24px_-8px_rgba(15,23,42,0.08)] xl:border-0 xl:bg-transparent xl:p-0 xl:shadow-none",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:(0,x.cn)(j.Pq,"mb-4 border-neutral-200"),children:"Services"}),(0,n.jsx)("ul",{className:"space-y-3",children:z.map((e,t)=>{let r="name"in e?e.name:e.label,l=("icon"in e,e.icon),s="logo"in e?e.logo:void 0,a="id"in e?e.id:"svc-".concat(t);return(0,n.jsxs)("li",{className:"flex items-center gap-3 text-[14px] leading-snug text-neutral-900",children:[(0,n.jsx)(R,{logo:s,icon:l,name:r}),(0,n.jsx)("span",{children:r})]},a)})})]})})}),(0,n.jsx)("div",{className:"min-w-0 xl:col-span-5",children:(0,n.jsx)("div",{className:"min-w-0 columns-1 [column-gap:0.625rem] sm:columns-2 sm:[column-gap:0.875rem]",children:H.map(e=>(0,n.jsxs)("div",{className:"mb-6 break-inside-avoid",children:[(0,n.jsx)("h2",{className:"mb-3 inline-block w-fit max-w-full border-b-2 pb-1.5 text-[15px] font-bold leading-tight sm:text-base",style:{color:e.bgColor,borderColor:e.bgColor},children:e.label}),(0,n.jsx)("ul",{className:"space-y-1.5",children:e.shops.map(t=>(0,n.jsxs)("li",{className:"flex items-center gap-3 text-[14px] text-neutral-900",children:[(0,n.jsx)(E,{displayId:t.displayId,bgColor:e.bgColor}),_?(0,n.jsx)(a(),{href:"".concat(N||"","/shops/").concat(t.slug),className:"hover:underline",children:t.name}):(0,n.jsx)("span",{children:t.name})]},t.id))})]},e.id))})}),(0,n.jsx)("div",{className:"min-w-0 xl:col-span-5",children:(0,n.jsxs)("div",{className:"rounded-2xl border border-neutral-200/90 bg-white p-2 shadow-[0_8px_40px_-12px_rgba(15,23,42,0.12)] sm:p-3",children:[(0,n.jsx)("h2",{className:"mb-3 border-b-2 border-brand px-2 pb-2 text-base font-bold uppercase tracking-wide text-foreground sm:mb-4 sm:text-lg",children:"Centerplan"}),W?(0,n.jsx)(u,{floors:v,accentColor:j.fe,layout:"stacked"}):(0,n.jsx)("div",{className:"rounded-xl border border-dashed border-neutral-200 bg-neutral-50/80 px-6 py-12 text-center text-sm text-neutral-500",children:"Der Centerplan wird bereitgestellt, sobald er verf\xfcgbar ist."})]})})]})}),(0,n.jsx)(M,{shops:Array.isArray(p)?p:[],centerName:k,contact:null==m?void 0:m.contact,openingHours:null==m?void 0:m.openingHours}),A&&Array.isArray(p)&&p.length>0&&(0,n.jsx)("section",{className:"w-full border-t border-neutral-200 bg-neutral-50 px-4 py-10 sm:px-8 lg:px-12",children:(0,n.jsxs)("div",{className:"mx-auto max-w-[1400px]",children:[(0,n.jsx)("h3",{className:(0,x.cn)("mb-4 text-center sm:mb-5 sm:text-left",j.Ql),children:"Shops im \xdcberblick"}),(0,n.jsx)(b,{shops:p})]})})]});return c?(0,n.jsx)("main",{className:"flex flex-col flex-1",children:B}):(0,n.jsxs)("div",{className:"min-h-screen bg-white flex flex-col font-sans",children:[(0,n.jsx)(o.D,{}),(0,n.jsx)("main",{className:"flex flex-col flex-1",children:B}),(0,n.jsx)(d.D,{})]})}function K(e){return(0,n.jsx)(T,{...e,contentOnly:!0})}},16505:(e,t,r)=>{r.d(t,{D:()=>m});var n=r(90893),l=r(2621),s=r.n(l),a=r(18329),i=r(37318),o=r(64332);let d=[{label:"Centerplan & Shops",href:"/shops"},{label:"Angebote & News",href:"/aktuelles"},{label:"Vermietung",href:"/vermietung"},{label:"Kontakt",href:"/kontakt"},{label:"Impressum",href:"/impressum"},{label:"Datenschutz",href:"/datenschutz"}];function c(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,n.jsx)("path",{d:"m18 15-6-6-6 6"})})}function u(e,t){let r=t.startsWith("/")?t:"/"+t;return"/"===e||""===e?r:e+r}function m(){var e,t,r,l,m,x,h,f,p;let{basePath:g="",config:b,centerConfig:v}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[j,w]=(0,a.useState)(!1),y=d.map(e=>({...e,href:u(g,e.href)})),N=(null==b||null==(t=b.footer)||null==(e=t.centerName)?void 0:e.trim())||(null==v?void 0:v.name)||"Kaufland Center",k=(null==b||null==(l=b.footer)||null==(r=l.openingHoursTitle)?void 0:r.trim())||"\xd6ffnungszeiten",C=(null==b||null==(x=b.footer)||null==(m
1=x.openingHoursText)?void 0:m.trim())||"Center\xf6ffnungszeiten\nMo bis Sa: 09:00 â 20:00 Uhr\n\nKaufland\nMo bis Sa: 07:00 â 22:00 Uhr",S=null==v||null==(h=v.contact)?void 0:h.address,_=S&&(S.street||S.city||S.zip),A=null==v||null==(p=v.contact)||null==(f=p.email)?void 0:f.trim();return(0,a.useEffect)(()=>{let e=()=>w(window.scrollY>200);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,n.jsxs)("footer",{className:"w-full font-sans",style:{background:"#f7f7f7"},children:[(0,n.jsxs)("div",{className:"mx-auto max-w-screen-xl px-4 py-12 text-center",children:[(0,n.jsx)("h2",{className:"text-sm font-bold tracking-widest uppercase mb-5",style:{color:"var(--foreground)"},children:N}),(0,n.jsxs)("address",{className:"not-italic text-sm leading-relaxed",style:{color:"var(--nav-text)"},children:[_&&(0,n.jsxs)(n.Fragment,{children:[S.street&&(0,n.jsx)("p",{children:S.street}),(0,n.jsxs)("p",{className:"mt-1",children:[[S.zip,S.city].filter(Boolean).join(" "),S.country?", ".concat(S.country):""]})]}),!_&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"Musterstra\xdfe 1"}),(0,n.jsx)("p",{className:"mt-1",children:"12345 Musterstadt"})]}),A&&(0,n.jsx)("p",{className:"mt-3",children:(0,n.jsxs)("a",{href:"mailto:".concat(A),className:"transition-colors duration-150 hover:underline",style:{color:"var(--brand)"},children:["E-Mail: ",A]})}),!A&&!_&&(0,n.jsx)("p",{className:"mt-3",children:(0,n.jsx)("a",{href:"mailto:[email protected]",className:"transition-colors duration-150 hover:underline",style:{color:"var(--brand)"},children:"E-Mail: [email protected]"})})]}),(0,n.jsxs)("div",{className:"mt-8",children:[(0,n.jsx)("h3",{className:(0,o.cn)(i.dt,"mb-5"),children:k}),(0,n.jsx)("div",{className:"text-sm leading-relaxed space-y-1 whitespace-pre-line",style:{color:"var(--nav-text)"},children:C}),(0,n.jsx)("p",{className:"mt-5",children:(0,n.jsx)(s(),{href:u(g,"/shops#oeffnungszeiten"),className:"text-sm font-medium transition-colors duration-150 hover:underline",style:{color:"var(--brand)"},children:"Weitere \xd6ffnungszeiten"})})]})]}),(0,n.jsx)("div",{className:"border-t border-border"}),(0,n.jsx)("nav",{"aria-label":"Footer-Navigation",className:"mx-auto max-w-screen-xl px-4 py-4",children:(0,n.jsx)("ul",{className:"flex flex-wrap items-center justify-center gap-x-2 gap-y-2",children:y.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(s(),{href:e.href,className:"inline-block px-3 py-2 text-sm font-medium rounded-md transition-all duration-200 hover:text-brand hover:bg-brand-light/70 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2",style:{color:"var(--nav-text)"},children:e.label})},e.href))})}),(0,n.jsx)("div",{className:"border-t border-border"}),(0,n.jsx)("div",{className:"flex justify-center py-5",children:(0,n.jsx)("button",{onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Nach oben scrollen",className:"flex h-10 w-10 items-center justify-center rounded text-white transition-all duration-300 hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2 ".concat(j?"opacity-100":"opacity-40"),style:{background:"var(--brand)"},children:(0,n.jsx)(c,{})})})]})}},34075:(e,t,r)=>{r.d(t,{D:()=>j});var n=r(90893),l=r(2621),s=r.n(l),a=r(26558),i=r(18329),o=r(26899);let d=[{label:"Home",href:"/"},{label:"Centerplan & Shops",href:"/shops"},{label:"Angebote & News",href:"/aktuelles"},{label:"Vermietung",href:"/vermietung"},{label:"Kontakt",href:"/kontakt"}];function c(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})})}function u(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,n.jsx)("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),(0,n.jsx)("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),(0,n.jsx)("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]})}function m(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,n.jsx)("line",{x1:"4",x2:"20",y1:"6",y2:"6"}),(0,n.jsx)("line",{x1:"4",x2:"20",y1:"12",y2:"12"}),(0,n.jsx)("line",{x1:"4",x2:"20",y1:"18",y2:"18"})]})}function x(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M18 6 6 18"}),(0,n.jsx)("path",{d:"m6 6 12 12"})]})}let h={standard:"h-10 w-auto max-w-[180px] object-contain object-left",large:"h-12 sm:h-14 w-auto max-w-[240px] object-contain object-left",extraLarge:"h-14 sm:h-16 w-auto max-w-[min(100vw,280px)] sm:max-w-[320px] object-contain object-left"};function f(e){var t;let{hrefHome:r,logoUrl:l,siteName:a,logoSize:i="standard"}=e,o=null!=(t=h[i])?t:h.standard;return(0,n.jsx)(s(),{href:r,className:"flex items-center gap-2 group focus:outline-none focus-visible:ring-2 focus-visible:ring-brand rounded-sm min-w-0","aria-label":a?"".concat(a," â Startseite"):"Shopping Center â Startseite",children:l?(0,n.jsx)("img",{src:l,alt:a||"Logo",className:o}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 48 48",fill:"none","aria-hidden":"true",className:"shrink-0",children:[(0,n.jsx)("rect",{x:"8",y:"16",width:"32",height:"28",rx:"3",stroke:"var(--brand)",strokeWidth:"2.5",fill:"none"}
1),(0,n.jsx)("path",{d:"M17 16c0-3.866 3.134-7 7-7s7 3.134 7 7",stroke:"var(--brand)",strokeWidth:"2.5",strokeLinecap:"round",fill:"none"}),(0,n.jsx)("circle",{cx:"19",cy:"24",r:"1.5",fill:"var(--brand)"}),(0,n.jsx)("circle",{cx:"29",cy:"24",r:"1.5",fill:"var(--brand)"})]}),(0,n.jsx)("div",{className:"leading-none select-none",children:(0,n.jsx)("span",{className:"block text-xl font-bold tracking-tight",style:{color:"var(--brand)"},children:a||"Shopping Center"})})]})})}let p={open:{text:"oklch(0.28 0.12 145)",bg:"linear-gradient(135deg, oklch(0.96 0.04 145) 0%, oklch(0.94 0.06 145) 100%)",border:"oklch(0.88 0.08 145)",dot:"oklch(0.45 0.18 145)",pulse:!0},soon_closing:{text:"oklch(0.35 0.14 70)",bg:"linear-gradient(135deg, oklch(0.96 0.06 70) 0%, oklch(0.93 0.09 70) 100%)",border:"oklch(0.85 0.11 70)",dot:"oklch(0.55 0.20 70)",pulse:!0},closed:{text:"oklch(0.40 0.06 25)",bg:"linear-gradient(135deg, oklch(0.96 0.02 25) 0%, oklch(0.93 0.03 25) 100%)",border:"oklch(0.86 0.04 25)",dot:"oklch(0.55 0.14 25)",pulse:!1}};function g(e){let{label:t,status:r}=e,l=p[r];return(0,n.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-full px-3.5 py-2 text-xs font-semibold tracking-wide shrink-0 transition-shadow duration-200 hover:shadow-md",style:{color:l.text,background:l.bg,boxShadow:"0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8)",border:"1px solid ".concat(l.border)},children:[(0,n.jsx)("span",{className:"inline-block h-2 w-2 shrink-0 rounded-full ".concat(l.pulse?"motion-safe:animate-pulse":""),style:{background:l.dot},"aria-hidden":"true"}),(0,n.jsx)("span",{className:"whitespace-nowrap",children:t})]})}let b="Jetzt ge\xf6ffnet";function v(e,t){if(t.startsWith("http"))return t;let r=t.startsWith("/")?t:"/"+t;return"/"===e||""===e?r:e+r}function j(){var e,t,r,l,h,p,j,w,y,N,k;let{basePath:C="",config:S,centerConfig:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=(0,a.usePathname)(),[z,M]=(0,i.useState)(!1),[L,I]=(0,i.useState)(!1),D=C&&"/"!==C&&(null==A?void 0:A.startsWith(C))?A.slice(C.length)||"/":null!=A?A:"/",E=function e(t){if(Array.isArray(t))return t.filter(e=>e&&"object"==typeof e&&!1!==e.enabled).map(e=>{var t,r;return{label:String(null!=(t=e.label)?t:""),href:String(null!=(r=e.href)?r:"/")}}).filter(e=>e.label.trim());if("string"==typeof t&&t.trim())try{let r=JSON.parse(t);return e(r)}catch(e){}return[]}(null==S||null==(e=S.header)?void 0:e.navigationItems),H=(E.length>0?E:d).map(e=>({...e,href:v(C,e.href)})),W=null==S||null==(r=S.header)||null==(t=r.openBadgeText)?void 0:t.trim(),[B,R]=(0,i.useState)("open"),[T,K]=(0,i.useState)(W||b);(0,i.useEffect)(()=>{if(!(null==_?void 0:_.openingHours)){R("open"),K(W||b);return}let e=()=>{let e=(0,o.U_)(_.openingHours);R(e.status),"open"===e.status?K(W||b):"soon_closing"===e.status?K(e.statusText||"Schlie\xdft bald"):K("Aktuell geschlossen")};e();let t=setInterval(e,6e4);return()=>clearInterval(t)},[null==_?void 0:_.openingHours,W]);let q=null==S||null==(l=S.header)?void 0:l.logoSize,F="large"===q||"extraLarge"===q?q:"standard",P="extraLarge"===F?"min-h-[4.5rem] h-[4.5rem] sm:min-h-20 sm:h-20":"h-16",G=null!=(N=null==_||null==(h=_.branding)?void 0:h.logo)?N:void 0,O=null!=(k=null==_?void 0:_.name)?k:void 0,U=(null==_||null==(j=_.social)||null==(p=j.facebook)?void 0:p.trim())||"",Q=(null==_||null==(y=_.social)||null==(w=y.instagram)?void 0:w.trim())||"",$=U||Q;return(0,i.useEffect)(()=>{let e=()=>I(window.scrollY>8);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{M(!1)},[A]),(0,n.jsxs)("header",{className:"sticky top-0 z-50 w-full transition-shadow duration-300 ".concat(L?"shadow-md":"shadow-none border-b border-border"),style:{background:"#ffffff"},children:[(0,n.jsxs)("div",{className:"mx-auto flex max-w-screen-xl items-center justify-between gap-4 px-4 sm:px-6 lg:px-8 ".concat(P),children:[(0,n.jsx)("div",{className:"flex min-w-0 flex-shrink-0 items-center max-w-[min(100%,18rem)] sm:max-w-[min(100%,24rem)] lg:max-w-[min(100%,22rem)]",children:(0,n.jsx)(f,{hrefHome:v(C,"/"),logoUrl:G,siteName:O,logoSize:F})}),(0,n.jsx)("nav",{className:"hidden lg:flex flex-1 items-center justify-center gap-1","aria-label":"Hauptnavigation",children:H.map(e=>{let t=e.href===v(C,"/")||e.href===v(C,"")?"/"===D:D.startsWith(e.href.slice(("/"===C?"":C).length));return(0,n.jsxs)(s(),{href:e.href,className:"group relative px-4 py-2.5 text-sm font-medium rounded-md transition-all duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2\n ".concat(t?"text-brand bg-brand-light/50":"text-nav-text hover:text-brand hover:bg-brand-light/70","\n "),children:[e.label,(0,n.jsx)("span",{className:"absolute bottom-0 left-4 right-4 h-0.5 rounded-full transition-all duration-200 ".concat(t?"opacity-100 scale-x-100":"opacity-0 scale-x-0 group-hover:opacity-100 group-hover:scale-x-100"),style:{background:"var(--brand)",transformOrigin:"center"},"aria-hidden":"true"})]},e.href)})}),(0,n.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0 min-w-0",children:[(0,n.jsx)(g,{label:T,status:B}),$&&(0,n.jsxs)("div",{className:"hidden lg:flex items-center gap-1",children:[U&&(0,n.jsx)("a",{href:U,target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"p-2 rounded-full transition-colors duration-150 text-nav-text-muted hover:text-brand hover:bg-brand-light",children:(0,n.jsx)(c,{})}),Q&&(0,n.jsx)("a",{href:Q,target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"p-2 rounded-full transition-colors duration-150 text-nav-text-muted hover:text-brand hover:bg-brand-light",children:(0,n.jsx)(u,{})})]}),(0,n.jsx)("div",{className:"flex items-center lg:hidden",children:(0,n.jsx)("button",{type:"button",onClick:()=>M(e=>!e),className:"rounded-md p-2 text-nav-text transition-colors duration-150 hover:bg-brand-light hover:text-brand focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2","aria-label":z?"Men\xfc schlie\xdfen":"Men\xfc \xf6ffnen","aria-expanded":z,"aria-controls":"mobile-menu",children:z?(0,n.jsx)(x,{}):(0,n.jsx)(m,{})})})]})]}),(0,n.jsx)("div",{id:"mobile-menu",className:"lg:hidden overflow-hidden transition-all duration-300 ease-in-out ".concat(z?"max-h-[500px] opacity-100":"max-h-0 opacity-0"),"aria-hidden":!z,children:(0,n.jsxs)("nav",{className:"flex flex-col border-t border-border px-4 py-3 gap-1",style:{background:"#ffffff"},"aria-label":"Mobile Navigation",children:[H.map(e=>{let t=e.href===v(C,"/")||e.href===v(C,"")?"/"===D:D.startsWith(e.href.slice(("/"===C?"":C).length));return(0,n.jsx)(s(),{href:e.href,className:"flex items-center px-3 py-2.5 rounded-md text-sm font-medium transition-colors duration-150 ".concat(t?"bg-brand-light text-brand":"text-nav-text hover:bg-brand-light hover:text-brand"),children:e.label},e.href)}),$&&(0,n.jsxs)("div",{className:"flex items-center gap-2 px-3 pt-3 mt-1 border-t border-border",children:[U&&(0,n.jsxs)("a",{href:U,target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"flex items-center gap-2 text-sm text-nav-text-muted hover:text-brand transition-colors py-1",children:[(0,n.jsx)(c,{}),(0,n.jsx)("span",{children:"Facebook"})]}),Q&&(0,n.jsxs)("a",{href:Q,target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"flex items-center gap-2 text-sm text-nav-text-muted hover:text-brand transition-colors py-1 ml-4",children:[(0,n.jsx)(u,{}),(0,n.jsx)("span",{children:"Instagram"})]})]})]})})]})}},37318:(e,t,r)=>{r.d(t,{En:()=>f,Ky:()=>u,ME:()=>j,Pq:()=>m,Ql:()=>x,Sm:()=>v,_$:()=>b,_J:()=>p,dt:()=>d,fN:()=>a,fO:()=>g,fe:()=>i,h0:()=>s,mx:()=>c,rD:()=>l,xC:()=>h,xp:()=>o});var n=r(64332);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return(0,n.cn)("inline-flex min-h-[2.75rem] items-center justify-center text-center rounded-sm border border-black/10 bg-brand font-bold tracking-widest text-white uppercase shadow-md shadow-[0_2px_8px_rgba(0,0,0,0.12)] transition-all duration-200 hover:shadow-lg hover:shadow-[0_6px_20px_rgba(0,0,0,0.18)] hover:brightness-[1.02] active:scale-[0.99] active:shadow-md motion-safe:hover:-translate-y-
1px focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2","hero"===e&&"px-10 py-3 text-sm","default"===e&&"px-8 py-3.5 text-xs","compact"===e&&"px-5 py-3 text-xs")}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"compact";return(0,n.cn)("inline-flex min-h-[2.75rem] items-center justify-center text-center rounded-sm font-bold tracking-widest text-white uppercase border-2 border-white/90 bg-white/10 shadow-md shadow-[0_2px_8px_rgba(0,0,0,0.2)] transition-all duration-200 hover:bg-white/20 hover:shadow-lg hover:shadow-[0_6px_20px_rgba(0,0,0,0.22)] active:scale-[0.99] focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-transparent","hero"===e&&"px-10 py-3 text-sm","default"===e&&"px-8 py-3.5 text-xs","compact"===e&&"px-5 py-3 text-xs")}function a(e,t){let r=(t||"/").trim(),n=r.startsWith("/")?r:"/".concat(r);return"/"===e||""===e?n:e.replace(/\/$/,"")+n}let i="#cc0000",o="w-full bg-neutral-50 px-4 py-14 text-center sm:px-6 lg:px-8",d="text-xs font-bold uppercase tracking-widest text-brand",c="text-balance text-3xl font-bold tracking-tight text-foreground md:text-4xl",u="text-balance text-2xl font-bold tracking-tight text-foreground sm:text-3xl",m="mb-4 border-b-2 border-brand pb-2 text-base font-bold tracking-tight text-foreground sm:mb-5 sm:text-lg",x="text-xs font-bold uppercase tracking-widest text-brand",h="text-xs font-bold uppercase tracking-widest text-white/95 [text-shadow:0_1px_2px_rgba(0,0,0,0.45)]",f="text-xs font-bold uppercase tracking-widest text-white/90 [text-shadow:0_1px_2px_rgba(0,0,0,0.12)]",p="mx-auto max-w-2xl text-balance text-base leading-relaxed text-muted-foreground",g="mb-2 text-4xl font-bold text-foreground",b="mb-4 text-2xl font-bold text-foreground",v="mb-10 rounded-lg border-l-4 border-brand bg-neutral-50 p-6",j="text-brand underline-offset-2 transition-colors hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2 rounded-sm"},64332:(e,t,r)=>{r.d(t,{cn:()=>s});var n=r(92890),l=r(46947);function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,l.QP)((0,n.$)(t))}},80380:(e,t,r)=>{r.d(t,{q:()=>n});function n(e){var t,r,n,l,s;let a=null==e?void 0:e.kaufland;if(null==a||"object"!=typeof a||Array.isArray(a))return;let i=null!=(t=a.kaufland)?t:{},o=null!=(r=i.vermietung)?r:{},d=null!=(n=a.vermietung)?n:{},c=null!=(l=i.kontakt)?l:{},u=null!=(s=a.kontakt)?s:{},m={...a};return delete m.kaufland,{...m,vermietung:{...o,...d},kontakt:{...c,...u}}}}}]);
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.