PageSourceSearch

https://tvb.de/assets/Footer-hN89hSCM.js

js tvb.de collected 2026-10-02 10:54:22 UTC 27,510 bytes, 1 lines download raw bytes

1import{i as e,l as t,r as n}from"./useRouter-adkchSDI.js";import{t as r}from"./link-B2B7CajL.js";import{i,n as a,r as o}from"./auth-middleware-obcx0Q6x.js";import{L as s,a as c,d as l,g as u,l as d,m as f,o as p,p as m,u as h}from"./index-C4VawnOj.js";import{r as g,t as ee}from"./content-db.functions-DBy1in-d.js";var _=f(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),v=f(`facebook`,[[`path`,{d:`M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z`,key:`1jg4f8`}]]),y=f(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),b=f(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),x=f(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),S=f(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),C=f(`radio`,[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`,key:`1fwjs5`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`,key:`ehdyv1`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),w=f(`rss`,[[`path`,{d:`M4 11a9 9 0 0 1 9 9`,key:`pv89mb`}],[`path`,{d:`M4 4a16 16 0 0 1 16 16`,key:`k0647b`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]]),T=f(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),E=f(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),D=f(`trending-down`,[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]),O=f(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),k=f(`tv`,[[`path`,{d:`m17 2-5 5-5-5`,key:`16satq`}],[`rect`,{width:`20`,height:`15`,x:`2`,y:`7`,rx:`2`,key:`1e6viu`}]]),A=f(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),j=f(`youtube`,[[`path`,{d:`M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17`,key:`1q2vi4`}],[`path`,{d:`m10 15 5-3-5-3z`,key:`1jp15x`}]]),M=t(e(),1),N={version:1,asset_id:`b0b25bfc-fd77-49b3-8ef4-0419c2770e46`,project_id:`287b560a-19b2-4ce3-8fa8-7063212b7787`,url:`/__l5e/assets-v1/b0b25bfc-fd77-49b3-8ef4-0419c2770e46/logo-tvb.png`,r2_key:`a/v1/287b560a-19b2-4ce3-8fa8-7063212b7787/b0b25bfc-fd77-49b3-8ef4-0419c2770e46/logo-tvb.png`,original_filename:`logo-tvb.png`,size:24437,content_type:`image/png`,created_at:`2026-07-02T18:20:48Z`},P={version:1,asset_id:`7e34bdd7-5dba-4b0d-87a7-ce561f6b21a6`,project_id:`287b560a-19b2-4ce3-8fa8-7063212b7787`,url:`/__l5e/assets-v1/7e34bdd7-5dba-4b0d-87a7-ce561f6b21a6/logo-tvb-dark.png`,r2_key:`a/v1/287b560a-19b2-4ce3-8fa8-7063212b7787/7e34bdd7-5dba-4b0d-87a7-ce561f6b21a6/logo-tvb-dark.png`,original_filename:`logo-tvb-dark.png`,size:5330,content_type:`image/png`,created_at:`2026-07-14T14:45:06Z`},F=n();function I({className:e=`h-4 w-4`}){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,className:e,children:(0,F.jsx)(`path`,{d:`M18.244 2H21.5l-7.51 8.58L22.5 22h-6.828l-5.352-6.99L4.2 22H.938l8.03-9.176L1 2h6.98l4.84 6.396L18.244 2Zm-1.2 18h1.807L7.06 4H5.16l11.884 16Z`})})}function L(){if(typeof window>`u`)return`dark`;let e=localStorage.getItem(`tvb-theme`);return e===`light`||e===`dark`?e:`dark`}function R(){let[e,t]=(0,M.useState)(`dark`);return(0,M.useEffect)(()=>{let e=L();t(e),document.documentElement.classList.toggle(`light`,e===`light`)},[]),(0,F.jsx)(`button`,{onClick:()=>{let n=e===`dark`?`light`:`dark`;t(n),document.documentElement.classList.toggle(`light`,n===`light`),localStorage.setItem(`tvb-theme`,n)},"aria-label":e===`dark`?`Zum hellen Modus wechseln`:`Zum dunklen Modus wechseln`,className:`inline-flex h-9 w-9 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:bg-surface hover:text-foreground`,children:e===`dark`?(0,F.jsx)(E,{className:`h-4 w-4`}):(0,F.jsx)(x,{className:`h-4 w-4`})})}
1var z={"aus-berlin":{id:`PL7Ort_YZGjC69FQDuv2jYeGNQ0ZsfksZ2`,title:`aus Berlin`,confidence:`exact`},brennpunkt:{id:`PL7Ort_YZGjC6cSP0_aTAmpMajKGRZEwYo`,title:`Brennpunkt`,confidence:`exact`},"capital-player":{id:`PL7Ort_YZGjC4-DMTR-XT3FKT6RV8WFyT8`,title:`Capital Player`,confidence:`exact`},"tv-berlin-creative-capital":{id:`PL7Ort_YZGjC4KqgtlPC45WX8YM2f8oii7`,title:`creative Capital`,confidence:`manual`},hauptstadtgespraeche:{id:`PL7Ort_YZGjC63bT8nIAniOBFxvVrvwAMy`,title:`Hauptstadt Gespräche`,confidence:`exact`},"puls-der-zeit":{id:`PL7Ort_YZGjC5OqvFy93V8NoDKfbOuDHTz`,title:`Puls der Zeit`,confidence:`exact`}},B={"50-jahre-mittelstand":`Playlist "Der Mittelstand" ist ein möglicher, aber nicht eindeutiger Treffer — manuelle Prüfung nötig.`,"wellness-gesundheit":`Playlist "Gesund & Vital" ist ein möglicher, aber nicht eindeutiger Treffer — manuelle Prüfung nötig.`,"strategie-fuer-deutschland":`Keine eindeutige YouTube-Playlist und keine tvb.de-Rubrik gefunden — Quelle muss manuell zugeordnet werden.`,buchtipp:`Getrennt von "TVB Buchtipp" zu halten — keine automatische Zusammenführung.`,"tv-berlin-aktuell-kurzbeitraege":`Getrennt von "tv.berlin Aktuell" zu halten — keine automatische Zusammenführung.`},V=d.map((e,t)=>{let n=z[e.slug];return{slug:e.slug,name:e.name,description:e.description,tvbRubrikId:e.rubrikId||null,youtubePlaylistId:n?.id,youtubePlaylistTitle:n?.title,confidence:n?n.confidence:e.rubrikId?`exact`:`unresolved`,reviewNote:B[e.slug],sortOrder:t}});Object.fromEntries(V.map(e=>[e.slug,e]));var H=Object.fromEntries(V.map(e=>[e.name,e.slug]));function U(e){return{id:e.external_id,slug:e.slug,programme:e.programme,title:e.title,date:e.published_at?new Date(e.published_at).toLocaleDateString(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}):``,image:e.thumbnail??(e.youtube_video_id?`https://i.ytimg.com/vi/${e.youtube_video_id}/hqdefault.jpg`:``),category:e.category_slug,youtubeId:e.youtube_video_id??void 0,excerpt:e.description??void 0,body:e.body??void 0,externalUrl:e.source_url??void 0}}var W=e=>(e??[]).map(U);function G(e){let t=new Set;return e.filter(e=>{let n=e.youtubeId??e.id;return t.has(n)?!1:(t.add(n),!0)})}function K(){let e=i(ee),{data:t,isLoading:n}=a({queryKey:[`home-feeds`],queryFn:()=>e(),staleTime:300*1e3}),r=G(W(t?.all)),o=G(W(t?.aktuell)),s=G(W(t?.featured))[0]??o[0]??r[0],l=new Set,u=r.filter(e=>l.has(e.programme)?!1:(l.add(e.programme),!0)).slice(0,5),d={},f=new Map,p=new Map;for(let e of r){let t=e.programme.trim().toLowerCase();t&&e.image&&!d[t]&&(d[t]=e.image);let n=e.category??``;n&&(f.set(n,(f.get(n)??0)+1),p.has(n)||p.set(n,e))}let m=Object.values(c),g=[`tv-berlin-aktuell`,`brinkmann-koenig`,`standort-berlin`,`andruck`,`aus-dem-bundestag`,`auf-den-punkt`,`puls-der-zeit`,`strategie-fuer-deutschland`],_=g.filter(e=>(f.get(e)??0)>0),v=[...f.keys()].filter(e=>!g.includes(e)).sort((e,t)=>{let n=p.get(e)?.date??``;return(p.get(t)?.date??``).localeCompare(n)}),y=[..._,...v].slice(0,8),b=(y.length>=8?y:[...y,...g.filter(e=>!y.includes(e))].slice(0,8)).map((e,t)=>{let n=h[e],r=f.get(e)??0,i=p.get(e),a=n?.name.trim().toLowerCase()??``,o=i?.image||(a?d[a]:void 0)||m[t%m.length];return{slug:e,name:n?.name??i?.programme??e,image:o,count:r,latestTitle:i?.title,latestDate:i?.date}});return{all:r,hero:s,aktuellVideos:o,latestAll:r,aktuelleVideos:G(W(t?.ausBerlin)),pulsDerZeit:G(W(t?.pulsDerZeit)),strategie:G(W(t?.strategie)),meistGesehen:u,programmes:b,imageByProgramme:d,isLoading:n}}function q(e,t=30){let n=H[e]??e,r=i(g),{data:o,isLoading:s}=a({queryKey:[`category-posts`,n,t],queryFn:()=>r({data:{categories:[n],limit:t}}),staleTime:300*1e3});return{posts:G((o??[]).map(U)),isLoading:s}}var J={facebook:`https://www.facebook.com/tv.berlin`,x:`https://x.com/tvberlin`,youtube:`https://www.youtube.com/user/tvberlinOnline`,rss:`http://www.tvb.de/feed.rss`},Y=o({method:`GET`}).handler(s(`f75fbfd9897413f536616bd596aa8ee91197cb5c5f1fb07b6d032160b717bfc2`)),X=o({method:`GET`}).handler(s(`2c02170fdde07f2e71a7733785e90dc7ff765a22c4af2657f30a9a8f20cafadf`));function Z(e){let t=l[e];if(!t)return!0;let n=h[t];return n?!n.rubrikId&&!n.curatedPosts&&!n.useLatestAll:!0}var Q=[{to:`/`,label:`Home`},{to:`/aktuell`,label:`tv.berlin Aktuell`},{to:`/programm`,label:`TV-Programm`},{to:`/mediathek`,label:`Mediathek`},{to:`/livestream`,label:`Livestream`},{to:`/mediadaten`,label:`Mediadaten`},{to:`/kontakt`,label:`Kontakt`}];function te(){let[e,t]=(0,M.useState)(!1),[n,o]=(0,M.useState)(!1),[s,c]=(0,M.useState)(!1),u=i(Y),{data:d}=a({queryKey:[`berlin-weather`],queryFn:()=>u(),staleTime:720*6e4,refetchInterval:720*6e4,refetchOnWindowFocus:!1}),f=i(X),{data:h=[]}=a({queryKey:[`berlin-stocks`],queryFn:()=>f(),staleTime:5*6e4,refetchInterval:5*6e4,refetchOnWindowFocus:!1});return(0,F.jsxs)(`header`,{className:`sticky top-0 z-40 border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80`,children:[(0,F.jsx)(`div`,{className:`border-b border-white/10 bg-brand`,children:(0,F.jsxs)(`div`,{className:`container-wide flex h-9 items-center justify-between text-[11px] uppercase tracking-wider text-brand-foreground
1/80`,children:[(0,F.jsxs)(`div`,{className:`flex min-w-0 items-center gap-3`,children:[(0,F.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 font-semibold text-brand-foreground`,children:[(0,F.jsx)(`span`,{className:`h-2 w-2 animate-pulse rounded-full bg-white`}),(0,F.jsx)(`span`,{className:`animate-pulse text-white`,children:`Live jetzt`})]}),(0,F.jsx)(`span`,{className:`hidden truncate text-brand-foreground sm:inline`,children:`TV Berlin Livestream`}),(0,F.jsx)(`span`,{className:`hidden text-brand-foreground/60 md:inline`,children:`·`}),(0,F.jsx)(re,{})]}),(0,F.jsxs)(`div`,{className:`flex shrink-0 items-center gap-4`,children:[h.length>0&&(0,F.jsx)(`div`,{className:`hidden items-center gap-3 border-r border-white/20 pr-4 md:inline-flex`,children:h.map(e=>{let t=e.change>0,n=e.change<0,r=t?O:n?D:b,i=t?`text-emerald-300`:n?`text-brand-foreground`:`text-brand-foreground/70`;return(0,F.jsxs)(`span`,{className:`inline-flex items-center gap-1 tabular-nums`,children:[(0,F.jsx)(`span`,{className:`font-semibold text-brand-foreground`,children:e.label}),(0,F.jsx)(`span`,{children:e.price.toLocaleString(`de-DE`)}),(0,F.jsx)(r,{className:`h-3 w-3 ${i}`}),(0,F.jsxs)(`span`,{className:i,children:[e.changePercent>0?`+`:``,e.changePercent.toFixed(2),`%`]})]},e.symbol)})}),(0,F.jsxs)(`span`,{className:`hidden items-center gap-1.5 sm:inline-flex`,children:[(0,F.jsx)(`span`,{className:`h-1.5 w-1.5 rounded-full bg-white`}),(0,F.jsx)(`span`,{children:d?`Berlin · ${d.temperature}° · ${d.description}`:`Berlin · Wetter …`})]}),(0,F.jsxs)(`div`,{className:`flex items-center gap-2 text-brand-foreground/70`,children:[(0,F.jsx)(`a`,{href:J.facebook,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Facebook`,className:`hover:text-brand-foreground`,children:(0,F.jsx)(v,{className:`h-3.5 w-3.5`})}),(0,F.jsx)(`a`,{href:J.x,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`X`,className:`hover:text-brand-foreground`,children:(0,F.jsx)(I,{className:`h-3 w-3`})}),(0,F.jsx)(`a`,{href:J.youtube,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`YouTube`,className:`hover:text-brand-foreground`,children:(0,F.jsx)(j,{className:`h-3.5 w-3.5`})}),(0,F.jsx)(`a`,{href:J.rss,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`RSS`,className:`hover:text-brand-foreground`,children:(0,F.jsx)(w,{className:`h-3.5 w-3.5`})})]})]})]})}),(0,F.jsxs)(`div`,{className:`container-wide flex h-16 items-center gap-6`,children:[(0,F.jsxs)(r,{to:`/`,className:`flex shrink-0 items-center`,"aria-label":`tv.berlin — Startseite`,children:[(0,F.jsx)(`img`,{src:N.url,alt:`tv.berlin`,loading:`lazy`,decoding:`async`,className:`h-9 w-auto md:h-11 [.light_&]:hidden`}),(0,F.jsx)(`img`,{src:P.url,alt:`tv.berlin`,className:`hidden h-9 w-auto md:h-11 [.light_&]:block`})]}),(0,F.jsx)(`nav`,{className:`hidden flex-1 items-center justify-center gap-1 lg:flex`,children:Q.map(e=>e.to===`/mediathek`?(0,F.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[(0,F.jsx)(r,{to:e.to,className:`relative inline-block px-3 py-5 text-sm font-medium text-foreground/80 transition-colors hover:text-foreground`,activeProps:{className:`text-foreground after:absolute after:inset-x-3 after:bottom-0 after:h-[3px] after:bg-brand`},children:e.label}),n&&(0,F.jsx)(`div`,{"aria-hidden":!0,className:`fixed inset-x-0 bottom-0 top-[100px] z-40 bg-background/70 backdrop-blur-sm`}),n&&(0,F.jsx)(`div`,{className:`fixed inset-x-0 top-[100px] z-50 border-y border-border bg-background shadow-2xl animate-in fade-in slide-in-from-top-2 duration-150`,children:(0,F.jsxs)(`div`,{className:`container-wide grid gap-6 py-6 lg:grid-cols-[minmax(0,1fr)_320px] xl:gap-8 xl:py-8 xl:grid-cols-[minmax(0,1fr)_360px]`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`mb-4 flex items-baseline justify-between border-b border-border pb-3`,children:[(0,F.jsx)(`span`,{className:`font-display text-[11px] font-bold uppercase tracking-widest text-brand`,children:`Alle Rubriken`}),(0,F.jsxs)(r,{to:`/mediathek`,onClick:()=>o(!1),className:`inline-flex items-center gap-1 font-display text-[11px] font-bold uppercase tracking-widest text-brand hover:underline`,children:[`Zur Mediathek `,(0,F.jsx)(_,{className:`h-3 w-3`})]})]}),(0,F.jsx)(`div`,{className:`grid grid-cols-2 gap-x-6 gap-y-1 md:grid-cols-3`,children:p.map(e=>{let t=l[e],n=Z(e);return(0,F.jsxs)(r,{to:t?`/mediathek/$rubrik`:`/mediathek`,params:t?{rubrik:t}:void 0,onClick:()=>o(!1),className:`group relative flex items-center justify-between gap-2 border-b border-border/40 py-2 text-sm text-foreground
1/80 transition-colors hover:text-brand`,children:[(0,F.jsx)(`span`,{className:`truncate`,children:e}),(0,F.jsx)(_,{className:`h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100`}),(0,F.jsx)(`span`,{className:`pointer-events-none absolute left-0 top-full z-10 mt-1 hidden whitespace-nowrap rounded border border-border px-2 py-1 text-[11px] opacity-0 transition-opacity duration-200 group-hover:block group-hover:opacity-100 md:inline-block ${n?`bg-muted text-muted-foreground`:`bg-brand font-display font-bold uppercase tracking-wider text-brand-foreground`}`,children:n?`Diese Rubrik hat zurzeit keine Nachrichten.`:`Neue Beiträge`})]},e)})})]}),(0,F.jsx)(ne,{onNavigate:()=>o(!1)})]})})]},e.to):(0,F.jsx)(r,{to:e.to,activeOptions:{exact:e.to===`/`},className:`relative px-3 py-5 text-sm font-medium text-foreground/80 transition-colors hover:text-foreground`,activeProps:{className:`text-foreground after:absolute after:inset-x-3 after:bottom-0 after:h-[3px] after:bg-brand`},children:e.label},e.to))}),(0,F.jsxs)(`div`,{className:`ml-auto flex items-center gap-2`,children:[(0,F.jsx)(r,{to:`/suche`,search:{q:``},"aria-label":`Suche`,className:`hidden h-9 w-9 items-center justify-center rounded-sm text-muted-foreground hover:bg-surface hover:text-foreground md:inline-flex`,children:(0,F.jsx)(T,{className:`h-4 w-4`})}),(0,F.jsx)(R,{}),(0,F.jsxs)(r,{to:`/livestream`,className:`inline-flex h-9 items-center gap-1.5 bg-brand px-3 text-sm font-bold uppercase tracking-wide text-brand-foreground transition-colors hover:brightness-110 md:h-10 md:px-4`,children:[(0,F.jsx)(S,{className:`h-4 w-4 fill-current`}),(0,F.jsx)(`span`,{className:`hidden sm:inline`,children:`Live ansehen`}),(0,F.jsx)(`span`,{className:`sm:hidden`,children:`Live`})]}),(0,F.jsx)(`button`,{"aria-label":`Menü`,onClick:()=>t(e=>!e),className:`inline-flex h-9 w-9 items-center justify-center rounded-sm text-foreground lg:hidden`,children:e?(0,F.jsx)(m,{className:`h-5 w-5`}):(0,F.jsx)(y,{className:`h-5 w-5`})})]})]}),e&&(0,F.jsx)(`div`,{className:`border-t border-border bg-surface lg:hidden`,children:(0,F.jsxs)(`nav`,{className:`container-wide flex flex-col py-2`,children:[Q.map(e=>e.to===`/mediathek`?(0,F.jsxs)(`div`,{className:`border-b border-border/60`,children:[(0,F.jsxs)(`button`,{onClick:()=>c(e=>!e),className:`flex w-full items-center justify-between py-3 text-sm font-medium text-foreground`,children:[(0,F.jsx)(`span`,{children:e.label}),(0,F.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:s?`−`:`+`})]}),s&&(0,F.jsx)(`div`,{className:`max-h-72 overflow-y-auto pb-3`,children:p.map(e=>{let n=l[e];return n?(0,F.jsx)(r,{to:`/mediathek/$rubrik`,params:{rubrik:n},onClick:()=>t(!1),className:`block py-1.5 pl-3 text-sm text-foreground/80 hover:text-brand`,children:e},e):(0,F.jsx)(r,{to:`/mediathek`,onClick:()=>t(!1),className:`block py-1.5 pl-3 text-sm text-foreground/80 hover:text-brand`,children:e},e)})})]},e.to):(0,F.jsx)(r,{to:e.to,onClick:()=>t(!1),className:`border-b border-border/60 py-3 text-sm font-medium text-foreground [&.active]:text-brand`,activeProps:{className:`active`},activeOptions:{exact:e.to===`/`},children:e.label},e.to)),(0,F.jsxs)(`div`,{className:`flex items-center gap-3 py-4 text-muted-foreground`,children:[(0,F.jsx)(`a`,{href:J.facebook,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Facebook`,children:(0,F.jsx)(v,{className:`h-4 w-4`})}),(0,F.jsx)(`a`,{href:J.x,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`X`,children:(0,F.jsx)(I,{className:`h-3.5 w-3.5`})}),(0,F.jsx)(`a`,{href:J.youtube,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`YouTube`,children:(0,F.jsx)(j,{className:`h-4 w-4`})}),(0,F.jsx)(`a`,{href:J.rss,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`RSS`,children:(0,F.jsx)(w,{className:`h-4 w-4`})})]})]})})]})}function ne({onNavigate:e}){let{latestAll:t,meistGesehen:n}=K(),i=t.slice(0,5),[a,o]=(0,M.useState)(0);(0,M.useEffect)(()=>{if(i.length<2)return;let e=setInterval(()=>o(e=>(e+1)%i.length),4e3);return()=>clearInterval(e)},[i.length]);let s=i[a];return s?(0,F.jsxs)(`aside`,{className:`flex flex-col border-l border-border pl-8`,children:[(0,F.jsxs)(`div`,{className:`mb-4 flex items-center justify-between border-b border-border pb-3`,children:[(0,F.jsx)(`span`,{className:`font-display text-[11px] font-bold uppercase tracking-widest text-brand`,children:`Neueste Sendungen`}),(0,F.jsx)(`div`,{className:`flex gap-1`,children:i.map((e,t)=>(0,F.jsx)(`button`,{"aria-label":`Beitrag ${t+1}`,onClick:()=>
1o(t),className:`h-1.5 w-4 rounded-full transition-colors ${t===a?`bg-brand`:`bg-border hover:bg-muted-foreground/50`}`},t))})]}),(0,F.jsxs)(r,{to:`/aktuell/$slug`,params:{slug:s.slug??s.id},onClick:e,className:`group block overflow-hidden rounded-sm border border-border bg-surface transition-colors hover:border-brand`,children:[(0,F.jsxs)(`div`,{className:`relative aspect-video overflow-hidden bg-background`,children:[(0,F.jsx)(`img`,{src:s.image,alt:s.title,loading:`lazy`,decoding:`async`,className:`h-full w-full object-cover transition-transform duration-500 group-hover:scale-105`},s.id),(0,F.jsx)(`span`,{className:`absolute left-2 top-2 bg-brand px-2 py-1 font-display text-[10px] font-bold uppercase tracking-wider text-brand-foreground`,children:s.programme}),(0,F.jsx)(`span`,{className:`absolute bottom-2 right-2 grid h-9 w-9 place-items-center rounded-full bg-brand text-brand-foreground opacity-90 group-hover:opacity-100`,children:(0,F.jsx)(S,{className:`h-3.5 w-3.5 fill-current`})})]}),(0,F.jsxs)(`div`,{className:`p-3`,children:[(0,F.jsx)(`p`,{className:`line-clamp-2 font-display text-sm font-bold leading-snug text-foreground group-hover:text-brand`,children:s.title}),(0,F.jsx)(`time`,{className:`mt-1 block text-xs text-muted-foreground`,children:s.date})]})]}),(0,F.jsxs)(`div`,{className:`mt-6 border-t border-border pt-5`,children:[(0,F.jsxs)(`div`,{className:`mb-3 flex items-center gap-1.5`,children:[(0,F.jsx)(O,{className:`h-3.5 w-3.5 text-brand`}),(0,F.jsx)(`span`,{className:`font-display text-[11px] font-bold uppercase tracking-widest text-brand`,children:`Meist gesehen`})]}),(0,F.jsx)(`div`,{className:`flex flex-col gap-3`,children:n.slice(0,2).map(t=>(0,F.jsxs)(r,{to:`/aktuell/$slug`,params:{slug:t.slug??t.id},onClick:e,className:`group flex items-start gap-3`,children:[(0,F.jsx)(`div`,{className:`relative h-16 w-24 shrink-0 overflow-hidden rounded-sm border border-border bg-background`,children:(0,F.jsx)(`img`,{src:t.image,alt:t.title,loading:`lazy`,decoding:`async`,className:`h-full w-full object-cover transition-transform duration-300 group-hover:scale-105`})}),(0,F.jsxs)(`div`,{className:`flex flex-col justify-center`,children:[(0,F.jsx)(`span`,{className:`mb-0.5 font-display text-[10px] font-bold uppercase tracking-wider text-red-500`,children:t.programme}),(0,F.jsx)(`p`,{className:`line-clamp-2 font-display text-xs font-semibold leading-snug text-foreground group-hover:text-brand`,children:t.title}),(0,F.jsx)(`time`,{className:`mt-0.5 text-[10px] text-muted-foreground`,children:t.date})]})]},t.id))})]})]}):null}function re(){let[e,t]=(0,M.useState)(!1),[n,r]=(0,M.useState)(()=>new Date);(0,M.useEffect)(()=>{t(!0),r(new Date);let e=setInterval(()=>r(new Date),1e3);return()=>clearInterval(e)},[]);let i=(0,M.useMemo)(()=>{let e=new Intl.DateTimeFormat(`de-DE`,{timeZone:`Europe/Berlin`,weekday:`long`,day:`2-digit`,month:`long`,year:`numeric`,hour:`2-digit`,minute:`2-digit`}).formatToParts(n),t=t=>e.find(e=>e.type===t)?.value??``;return{date:`${t(`weekday`)}, ${t(`day`)}. ${t(`month`)} ${t(`year`)}`,time:`${t(`hour`)}:${t(`minute`)}`}},[n]);return(0,F.jsxs)(`span`,{className:`hidden items-center gap-1.5 md:inline-flex`,children:[(0,F.jsx)(`span`,{children:e?`${i.date} · ${i.time} Uhr`:`Berlin · --:-- Uhr`}),(0,F.jsx)(`span`,{className:`rounded bg-white/20 px-1.5 py-0.5 text-[10px] font-semibold text-brand-foreground`,children:`GMT+2`})]})}var ie={version:1,asset_id:`98d68fdb-fba5-44fb-9bbb-0dea112b4fb2`,project_id:`287b560a-19b2-4ce3-8fa8-7063212b7787`,url:`/__l5e/assets-v1/98d68fdb-fba5-44fb-9bbb-0dea112b4fb2/footer2.jpg`,r2_key:`a/v1/287b560a-19b2-4ce3-8fa8-7063212b7787/98d68fdb-fba5-44fb-9bbb-0dea112b4fb2/footer2.jpg`,original_filename:`footer2.jpg`,size:51139,content_type:`image/jpeg`,created_at:`2026-08-27T15:04:52Z`};function ae(){return(0,F.jsxs)(`footer`,{className:`border-t border-[#e5e5e5] bg-white text-neutral-800 shadow-[0_-1px_0_#f3f3f3]`,children:[(0,F.jsx)(`div`,{className:`relative bg-white bg-contain bg-bottom bg-no-repeat`,style:{backgroundImage:`url(${ie.url})`},children:(0,F.jsxs)(`div`,{className:`container-wide grid gap-10 py-20 lg:grid-cols-[1.4fr_1fr_1fr_1.2fr] lg:items-start`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`img`,{src:P.url,alt:`tv.berlin`,loading:`lazy`,decoding:`async`,className:`h-11 w-auto`}),(0,F.jsx)(`p`,{className:`mt-5 max-w-sm text-sm leading-relaxed text-neutral-600`,children:`TV Berlin 
1ist der regionale Fernsehsender und Nachrichtenanbieter für Berlin und Brandenburg. Nachrichten, Talk, Politik, Kultur und Sport — im TV, im Livestream und in der Mediathek.`}),(0,F.jsxs)(`div`,{className:`mt-6 flex items-center gap-2`,children:[(0,F.jsx)(`a`,{href:J.facebook,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Facebook`,className:`grid h-9 w-9 place-items-center rounded-sm bg-neutral-100 text-neutral-600 transition-colors hover:bg-brand hover:text-brand-foreground`,children:(0,F.jsx)(v,{className:`h-4 w-4`})}),(0,F.jsx)(`a`,{href:J.x,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`X`,className:`grid h-9 w-9 place-items-center rounded-sm bg-neutral-100 text-neutral-600 transition-colors hover:bg-brand hover:text-brand-foreground`,children:(0,F.jsx)(I,{className:`h-3.5 w-3.5`})}),(0,F.jsx)(`a`,{href:J.youtube,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`YouTube`,className:`grid h-9 w-9 place-items-center rounded-sm bg-neutral-100 text-neutral-600 transition-colors hover:bg-brand hover:text-brand-foreground`,children:(0,F.jsx)(j,{className:`h-4 w-4`})}),(0,F.jsx)(`a`,{href:J.rss,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`RSS`,className:`grid h-9 w-9 place-items-center rounded-sm bg-neutral-100 text-neutral-600 transition-colors hover:bg-brand hover:text-brand-foreground`,children:(0,F.jsx)(w,{className:`h-4 w-4`})})]})]}),(0,F.jsx)($,{title:`Inhalte`,items:[{to:`/aktuell`,label:`tv.berlin Aktuell`},{to:`/programm`,label:`TV-Programm`},{to:`/mediathek`,label:`Mediathek`},{to:`/livestream`,label:`Livestream`}]}),(0,F.jsx)($,{title:`Service`,items:[{to:`/mediadaten`,label:`Mediadaten`},{to:`/kontakt`,label:`Kontakt`},{to:`/impressum`,label:`Impressum`},{to:`/datenschutz`,label:`Datenschutz`}]}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`h4`,{className:`font-display text-xs font-bold uppercase tracking-widest text-neutral-500`,children:`Empfang`}),(0,F.jsxs)(`ul`,{className:`mt-4 space-y-3 text-sm`,children:[(0,F.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,F.jsx)(k,{className:`h-4 w-4 text-brand`}),` Kabel Berlin/Brandenburg (Vodafone)`]}),(0,F.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,F.jsx)(A,{className:`h-4 w-4 text-brand`}),` IPTV via Magenta TV`]}),(0,F.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,F.jsx)(C,{className:`h-4 w-4 text-brand`}),` Livestream 24/7 auf tvb.de`]})]}),(0,F.jsx)(`h4`,{className:`mt-6 font-display text-xs font-bold uppercase tracking-widest text-neutral-500`,children:`Kontakt`}),(0,F.jsxs)(`p`,{className:`mt-3 text-sm`,children:[`TV.Berlin — Der Hauptstadtsender`,(0,F.jsx)(`br`,{}),`Franklinstr. 15`,(0,F.jsx)(`br`,{}),`10587 Berlin`,(0,F.jsx)(`br`,{}),(0,F.jsx)(`a`,{href:`#`,className:`text-brand hover:underline`,children:`www.tvb.de`})]})]})]})}),(0,F.jsx)(`div`,{className:`border-t border-white/10 bg-brand text-brand-foreground`,children:(0,F.jsxs)(`div`,{className:`container-wide flex flex-col items-start justify-between gap-3 py-5 text-xs md:flex-row md:items-center`,children:[(0,F.jsx)(`p`,{children:`© M.E.N. Media Entertainment Networks GmbH. All rights reserved. · Empfangbar über Kabel, IPTV und Livestream in Berlin und Brandenburg.`}),(0,F.jsxs)(`div`,{className:`flex gap-5`,children:[(0,F.jsx)(r,{to:`/impressum`,className:`hover:text-white`,children:`Impressum`}),(0,F.jsx)(r,{to:`/datenschutz`,className:`hover:text-white`,children:`Datenschutz`}),(0,F.jsx)(`button`,{onClick:()=>u(),className:`hover:text-white`,children:`Cookie-Einstellungen`}),(0,F.jsx)(`a`,{href:`#`,className:`hover:text-white`,children:`Barrierefreiheit`})]})]})})]})}function $({title:e,items:t}){return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`h4`,{className:`font-display text-xs font-bold uppercase tracking-widest text-neutral-500`,children:e}),(0,F.jsx)(`ul`,{className:`mt-4 space-y-2.5 text-sm`,children:t.map((e,t)=>(0,F.jsx)(`li`,{children:(0,F.jsx)(r,{to:e.to,className:`text-neutral-700 transition-colors hover:text-brand`,children:e.label})},t))})]})}export{U as a,A as c,D as d,T as f,_ as g,b as h,X as i,k as l,S as m,te as n,q as o,C as p,Y as r,K as s,ae as t,O as 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.