PageSourceSearch

https://www.fc-union-berlin.de/assets/NewsPreview-BW9i9XaR.js

js fc-union-berlin.de collected 2026-10-02 06:45:49 UTC 2,227 bytes, 1 lines download raw bytes

1import{j as e}from"./url-D6PfGXiy.js";import{u as c,e as n,b as p,D as g}from"./TopTabBar-Bql5_IpW.js";import{L as x}from"./LinkWithArrow-CqW6vK-L.js";import{u as h}from"./SearchOverlay-BS4bAZyo.js";import{e as a,f as u}from"./useSearchQuery-CKMotALE.js";import{f as d}from"./date-CGJ2mVSi.js";import"./index-DW_IGSVN.js";import"./index-CiJcvdCT.js";import"./useEffectWithTarget-CrEbdxzR.js";import"./isBrowser-CU3-RGUT.js";import"./LoadingSpinner-B5aY5Cp0.js";import"./loading-C6oHrsra.js";import"./preload-helper-D7HrI6pR.js";import"./useBreakpoints-CoutMR2U.js";import"./tslib.es6-BWiJiu6W.js";import"./useDisableFocus-CMj8299Y.js";import"./useLockBodyScrollContext-DV5XKiRF.js";import"./motion-C1tRON3l.js";import"./index-K_0oA25D.js";import"./search-Bg-v8rsz.js";import"./debounce-xbrI7K25.js";import"./index-BUcXmWAP.js";import"./Input-DhWEWHjK.js";import"./abort-controller-C4u2zt4x.js";import"./useBaseQuery-CHnT2525.js";import"./QueryClientProvider-BrxEbVg_.js";import"./useInfiniteQuery-7tWYyT-A.js";import"./infiniteQueryBehavior-D3fd7-BY.js";function J({data:s}){const{t:r}=c(),m=n(),{createLinkToResultPage:l,onCloseOverlay:i}=h();return s?e.jsxs("div",{children:[e.jsxs("span",{className:"text-lg text-theme-gray",children:[r("searchResultsPage.sections.news")," (",s.totalItems,")"]}),e.jsx("ul",{className:"flex flex-col gap-4",children:s.items.slice(0,a).map(t=>{const o=new Date(t.sortDate);return e.jsxs("li",{className:"group relative grid grid-cols-3 items-center gap-4 lg:grid-cols-2",children:[t.image?e.jsx(p,{image:t.image,aspectRatio:"3/2",imageSizes:["xs"],className:"aspect-3/2 bg-theme-secondary-100 object-cover"}):e.jsx("div",{className:"aspect-3/2 bg-theme-secondary-100"}),e.jsxs("div",{className:"col-span-2 flex flex-col lg:col-span-1",children:[e.jsx("time",{className:"text-theme-gray",dateTime:o.toISOString(),children:d(o,m,{month:"long"})}),e.jsx(g,{to:t.detailLink,className:"stretched-link line-clamp-2 items-center text-lg font-medium group-hover:text-theme-primary",onClick:i,children:t.headline})]})]},t.id)})}),s.totalItems>a&&e.jsx(x,{className:"mt-2 text-base font-normal text-theme-gray",to:l(u),onClick:i,children:r("searchResultsPage.showAll")})]}):null}export{J as default};

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.