1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16382],{10829:(e,t,s)=>{s.d(t,{default:()=>a.a});var r=s(50882),a=s.n(r)},50882:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{default:function(){return i},getImageProps:function(){return o}});let r=s(42495),a=s(31626),l=s(85842),n=r._(s(56314));function o(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let i=l.Image},94001:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var r=s(90893),a=s(2621),l=s.n(a),n=s(10829),o=s(39e3);function i(e){var t;let{categories:s,pageContent:a,centerSlug:i,hostname:c,primaryColor:d="#003366"}=e,x=e=>(0,o.generatePath)(e,i,void 0,c),h=(null==a||null==(t=a.pageTitle)?void 0:t.trim())||"Einkaufswelt";return(0,r.jsxs)("div",{className:"min-h-screen bg-gray-50",children:[(0,r.jsx)("section",{className:"border-b border-gray-200 px-4 py-12",style:{backgroundColor:d},children:(0,r.jsxs)("div",{className:"mx-auto max-w-screen-xl text-center",children:[(0,r.jsx)("h1",{className:"font-sans text-3xl font-bold text-white",children:h}),(0,r.jsx)("p",{className:"mt-2 text-sm text-white/75",children:"Alle Gesch\xe4fte nach Kategorie"})]})}),(0,r.jsx)("div",{className:"mx-auto max-w-screen-xl px-4 py-10 lg:px-8 lg:py-14",children:s.length>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4",children:s.map(e=>{var t,s;return(0,r.jsxs)(l(),{href:x("/shops?category=".concat(e.id)),className:"group flex flex-col overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm transition-shadow hover:shadow-md",children:[(0,r.jsx)("div",{className:"relative flex h-32 w-full items-center justify-center overflow-hidden",style:{backgroundColor:(null==(t=e.color)?void 0:t.trim())||d},children:e.coverImage?(0,r.jsx)(n.default,{src:e.coverImage,alt:"",fill:!0,className:"object-cover opacity-75 transition-opacity group-hover:opacity-85",sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 25vw",unoptimized:e.coverImage.startsWith("http")}):(0,r.jsx)("span",{className:"text-3xl font-bold text-white/60",children:e.name.charAt(0).toUpperCase()})}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col p-3",children:[(0,r.jsx)("span",{className:"font-sans text-sm font-semibold text-gray-900 group-hover:underline",children:e.name}),(null!=(s=e.shopCount)?s:0)>0&&(0,r.jsxs)("span",{className:"mt-0.5 text-xs text-gray-500",children:[e.shopCount," ",1===e.shopCount?"Gesch\xe4ft":"Gesch\xe4fte"]})]})]},e.id)})}),(0,r.jsx)("div",{className:"mt-10 flex justify-center",children:(0,r.jsx)(l(),{href:x("/shops"),className:"inline-block rounded px-6 py-3 text-sm font-bold uppercase tracking-wide text-white transition-opacity hover:opacity-90",style:{backgroundColor:d},children:"Alle Gesch\xe4fte AâZ"})})]}):(0,r.jsx)("p",{className:"py-16 text-center text-sm text-gray-500",children:"Derzeit sind keine Kategorien verf\xfcgbar."})})]})}}}]);
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.