PageSourceSearch

https://www.ardmediathek.de/52959.1788868624859.js

js ardmediathek.de collected 2026-09-24 09:02:05 UTC 11,811 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkweb||=[]).push([[52959],{76723(e,t,s){s.r(t),s.d(t,{default:()=>je});var n=s(30758),a=s(49052),i=s(11280),l=s(18623),c=s(26697),r=s(53401),o=s(26218),d=s(72894),u=s(18102);s(97700);function x(e,t,s,n){return s===n?t:(e?`${e} Livestream. `:"")+"Das TV-Programm von heute live im Fernsehen verfolgen! ► Jetzt zum kostenlosen Stream!"}var m=s(97431),h=s(57092),p=s(93819),g=s(62829),v=s(54215);s(88019),s(1909),s(67288),s(32145);var j=s(3607),A=s(44593),b=s(86070),y=s(32604),N=s(35481),f=s(48717),T=s(67953),D=s(49566),C=s(72187),R=s(86083),E=s(62284),S=s(47528),k=s(13802),w=s(33153);const L="b1vcnequ",I="b11h8u25",$="b155y44h";function B({onClick:e,onVisible:t,progress:s,image:a,title:i,longTitle:l,mediumTitle:c,shortTitle:r,channel:o,id:d,isLoadingEagerly:u=!1,href:x,target:m,as:h=(x?void 0:"div"),index:p,active:g,startTime:v,endTime:A}){const{layout:B}=(0,w.W)(),_=(0,n.useRef)(null),O=(0,n.useRef)(null),P=(0,D.K7)(O,l,r,c,i);return(0,b.jsx)(C.A,{onVisible:t,id:d,index:p,children:(0,b.jsx)("div",{className:(0,y.cx)(f.bc.base,I,g?"active":void 0,B===E.nW.CHILD&&f.R3.base),ref:_,children:(0,b.jsxs)(R.A,{as:h,href:x,onClick:e,target:m,isDisabled:g,children:[o&&(0,b.jsx)("div",{className:(0,y.cx)(L,"3sat"===o?"dreisat":o),children:(0,b.jsx)(k.Ay,{channel:o})}),(0,b.jsx)("div",{className:(0,y.cx)(f.VI.base),children:a&&(0,b.jsx)(N._V,{...a,isLoadingEagerly:u})}),(0,b.jsxs)("div",{className:(0,y.cx)($),ref:O,children:[v&&A&&(0,b.jsxs)("div",{className:(0,y.cx)(j.Z.base,j.Z.info01),children:[S.A.getFormatTime(v)," – ",S.A.getFormatTime(A)," Uhr"]}),(0,b.jsx)("h3",{className:(0,y.cx)(j.Z.base,j.Z.heading05),children:P??o}),"number"==typeof s&&(0,b.jsx)(T.A,{progress:s})]})]})})})}const _=n.memo(B),O="b12tfmz6",P="blykqec",V="bxhbxqx",Z="b13retbt";s(49178);var X=s(31973),M=s(46020),G=s(96802),W=s(57694),F=s(1286),z=s(48848);function Y(){return(0,b.jsx)(C.A,{children:(0,b.jsx)("div",{className:(0,y.cx)(f.bc.base,I),children:(0,b.jsxs)(R.A,{children:[(0,b.jsx)("div",{className:(0,y.cx)(L),style:{padding:"0",background:"transparent"},children:(0,b.jsx)(N._V,{src:"",isLoading:!0,ratio:"1x1"})}),(0,b.jsx)("div",{className:(0,y.cx)(f.VI.base),children:(0,b.jsx)(N._V,{src:"",isLoading:!0})}),(0,b.jsxs)("div",{className:(0,y.cx)($),children:[(0,b.jsx)("div",{className:(0,y.cx)(j.Z.base,j.Z.info01),children:(0,b.jsx)("span",{className:(0,y.cx)(z.Or.base),style:{width:"30%"}})}),(0,b.jsx)("h3",{className:(0,y.cx)(j.Z.base,j.Z.heading05),children:(0,b.jsx)("span",{className:(0,y.cx)(z.Or.base),style:{width:"60%"}})})]})]})})})}const H=n.memo(Y);const U=function(){const e=(0,p.GJ)();return(0,b.jsxs)("section",{className:(0,y.cx)(O),children:[(0,b.jsxs)("div",{className:(0,y.cx)(P),children:[(0,b.jsx)("h2",{className:(0,y.cx)(j.A.base,j.A.heading04),children:"Weitere Livestreams"}),(0,b.jsxs)("div",{className:(0,y.cx)(Z),children:[(0,b.jsx)(A.A,{text:"JETZT",type:G.l.TEXT,hasMinimalActiveStyle:!0}),(0,b.jsx)("span",{children:"|"}),(0,b.jsx)(A.A,{text:"DANACH",type:G.l.TEXT,hasMinimalActiveStyle:!0})]})]}),(0,b.jsx)("div",{className:(0,y.cx)(V),children:Array(e.length).fill({}).map((e,t)=>(0,b.jsx)(H,{},t))}),(0,b.jsx)("div",{className:(0,y.cx)(Z),children:(0,b.jsx)(A.A,{text:"Zum Programm",type:G.l.SECONDARY,href:`${(0,X.Q2)(i.g$.EPG)}/${i.g$.EPG_TODAY}`,as:m.N_})})]})};function J(e,t){return Object.values(M.iX[e]??{}).includes(t)}function q(e,t,s,l,c){const{buildLiveStreamContextLink:r}=(0,a.G9)();return(0,n.useMemo)(()=>e?.filter(e=>t.includes(e.id)).map(e=>{const t=e.events.find(e=>e.runningState===c);return t?{startTime:t?.startDate,endTime:t?.endDate,progress:c===i.oj.NOW?(0,p.Yx)(new Date(t?.startDate),new Date(t?.endDate)):void 0,image:{src:(0,h.AE)(t?.image?.contentUrl,144),title:`${t?.image?.title}・Bild: ${t?.image?.producer}`,alt:t?.image?.title},as:W.A,href:r(e.id),channel:"deutsche-welle"===e.mediathekName?"dw":(0,p.yX)(e.mediathekName?.split("-")[0]),shortTitle:t?.title.short,id:e.id,active:e.id===s||J(l,e.id)}:null}).filter(Boolean),[e,s])}const K=(0,F.A)(function({clipId:e,channelType:t}
1){const[s,a]=(0,n.useState)(!1),l=(0,g.rK)(6e4),c=(0,p.GJ)(),r=q(l,c,e,t,i.oj.NOW),o=q(l,c,e,t,i.oj.NEXT);return(0,b.jsxs)("section",{className:(0,y.cx)(O),children:[(0,b.jsxs)("div",{className:(0,y.cx)(P),children:[(0,b.jsx)("h2",{className:(0,y.cx)(j.A.base,j.A.heading04),children:"Weitere Livestreams"}),(0,b.jsxs)("div",{className:(0,y.cx)(Z),children:[(0,b.jsx)(A.A,{text:"JETZT",onClick:()=>a(!1),type:G.l.TEXT,isActive:!s,hasMinimalActiveStyle:!0}),(0,b.jsx)("span",{children:"|"}),(0,b.jsx)(A.A,{text:"DANACH",onClick:()=>a(!0),type:G.l.TEXT,isActive:s,hasMinimalActiveStyle:!0})]})]}),r?.length>0&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:(0,y.cx)(V),children:s?o.map((e,t)=>(0,n.createElement)(_,{...e,key:t})):r.map((e,t)=>(0,n.createElement)(_,{...e,key:t}))}),(0,b.jsx)("div",{className:(0,y.cx)(Z),children:(0,b.jsx)(A.A,{text:"Zum Programm",type:G.l.SECONDARY,href:`${(0,X.Q2)(i.g$.EPG)}/${i.g$.EPG_TODAY}`,as:m.N_})})]})]})},U);var Q=s(71435),ee=s(23152),te=s(73865),se=s(65583),ne=s(85686),ae=s(71822);const ie=function(){const e=!(ne.A.index&&se.A.animationEnabled);return(0,b.jsx)("div",{className:(0,y.cx)(!e&&ae.V8.base),children:(0,b.jsx)(te.A,{isLive:!0})})};var le=s(79070),ce=s(99053);function re(e){return"deutsche"===e?"dw":(0,p.yX)(e)||i.s8.ARD}const oe=(0,F.A)(function({clipId:e}){const t=(0,p.yR)(),s=(0,g.B$)(e),a=s?.mediathekName.split("-")[0],l=(c=s,(0,n.useMemo)(()=>{const e=c?.events?.find(e=>e.runningState===i.oj.NEXT),t=c?.events?.find(e=>e.runningState===i.oj.FUTURE);return[e,t].filter(Boolean).map(e=>({id:e?.id,title:e?.title.short,startTime:e?.startDate,endTime:e?.endDate,image:{srcset:(0,h.Q2)(e?.image.contentUrl,[[le.B.w128,320],[le.B.w128,480],[le.B.w128,600],[le.B.w160,768],[le.B.w160,840],[le.B.w208,960],[le.B.w128,1280],[le.B.w128,1440],[le.B.w128,1600],[le.B.w176,1920],[le.B.w176,2560]]),alt:e?.image.t
1itle,title:`${e?.image.title}・Bild: ${e?.image.producer}`}}))},[c]));var c;const r=s?.events?.find(e=>e.runningState===i.oj.NOW),o=t?void 0:(0,ce.u)(s?.mediathekName);return(0,b.jsx)(ee.A,{title:r?.title?.short,subline:r?.title?.long?.split(" | ")?.[1],text:r?.synopsis,startTime:r?.startDate,endTime:r?.endDate,logo:re(a),logoLink:o,logoLinkAs:o?m.N_:void 0,isLive:!0,nextBroadcastItems:l,nextBroadcastTitle:t?"Als Nächstes":"Als Nächstes im Livestream",isLoadingEagerly:!0})},ie);var de=s(94492),ue=s(1861),xe=s(48343),me=s(55437);const he=function(){const{appState:e}=(0,a.G9)();return(0,b.jsx)("main",{className:(0,y.cx)(c.Ln.base,me.Y.base,l.bL.base),id:M.Xs,children:(0,b.jsx)("div",{className:(0,y.cx)(c.Tb.base),children:(0,b.jsxs)(c.fI,{className:(0,y.cx)(l.Cg.base),margin:0,children:[(0,b.jsxs)(c.VP,{all:12,l:e.navigation.currentRoute.channelType===i.s8.ARD?7:12,xxl:e.navigation.currentRoute.channelType===i.s8.ARD?8:12,py:0,children:[(0,b.jsx)(xe.A,{hasNavbar:!0}),(0,b.jsx)(c.fI,{outerSpace:"none",children:(0,b.jsx)(c.VP,{children:(0,b.jsx)(ie,{})})})]}),e.navigation.currentRoute.channelType===i.s8.ARD&&(0,b.jsx)(c.VP,{all:12,l:5,xxl:4,py:0,children:(0,b.jsx)(U,{})})]})})})};var pe=s(73311),ge=s(86670);const ve=function(e,t=0,s=0,n=0,a=0){const i=(0,v.A)(e,t);return i.setHours(s),i.setMinutes(n),i.setSeconds(a),i.setMilliseconds(0),i.toISOString()}(new Date,0,5,30,0);const je=(0,F.A)(function(){const{appState:e}=(0,a.G9)(),t=function(){const{appState:e}=(0,a.G9)();let{clipId:t}=(0,m.g)();return t||(t=e.navigation.currentRoute.channelType===i.s8.ARD?M.iX[i.s8.DAS_ERSTE][0]:M.iX[e.navigation.currentRoute.channelType][0]),t}(),s=(0,p.Y9)(t)??e.navigation.currentRoute.channelType,v=String("dw"===s?i.s8.ARD:s),j=(0,ce.J)(t,v,!0),{error:A,data:N}=(0,g.st)(j),f=N?.widgets?.[0],{setIsChildContent:T}=(0,a.G9)(),D=function(e,t,s){if(!e)return"";const n=t===s?" live - jetzt in der ARD Mediathek anschauen!":" live - jetzt zum kostenlosen Livestream!";return`${e}${e?.includes("Livestream")?"":n}`}(f?.title,e.navigation.currentRoute.channelType,s),C=(0,n.useMemo)(()=>f?.relates?"dw"===s?[]:f?.relates:[],[N]),R=(0,Q.$U)(t),E=(0,d.jH)(N?.id,(0,d.dp)(i.cq.CONTENT_CARD_CLICK,j)),S=(0,d.jH)(N?.id,(0,d.dp)(i.cq.CONTENT_CARD_IMPRESSION,j));return(0,u.Qz)(t),(0,d.T5)([N],j),(0,ue.A)({title:D,name:f?.title,description:x(f?.title,f?.synopsis,e.navigation.currentRoute.channelType,s),image:(0,h.AE)(f?.image?.src,1280),isPlayerPage:!0,styles:["/ardplayer.1788868624859.css"],canonical:R,uploadDate:ve,robotsNoIndex:N?.noIndexSeo,unavailableAfter:(0,ge.A)(N?.widgets[0]?.availableTo)}),(0,n.useEffect)(()=>{N&&T(N)},[N,pe.Ay.id]),A||!f?.mediaCollection.embedded.live?(0,b.jsx)(de.default,{}):(0,b.jsx)("main",{className:(0,y.cx)(c.Ln.base,me.Y.base,l.bL.base),id:M.Xs,children:(0,b.jsxs)(c.fI,{margin:0,children:[(0,b.jsxs)(c.VP,{all:12,m:e.navigation.currentRoute.channelType===i.s8.ARD?7:12,xxl:e.navigation.currentRoute.channelType===i.s8.ARD?7:12,p:0,children:[(0,b.jsx)("div",{children:(0,b.jsx)(o.A,{data:f,navbarItems:C,coreAssetType:N?.coreAssetType,onContentCardClick:E,onContentCardImpression:S})}),(0,b.jsx)(c.VP,{p:0,children:(0,b.jsx)(oe,{clipId:t})}),(0,b.jsx)("h2",{className:(0,y.cx)(r.A.base),children:D})]}),e.navigation.currentRoute.channelType===i.s8.ARD&&(0,b.jsx)(c.VP,{all:12,m:5,xxl:5,children:(0,b.jsx)(K,{clipId:t,channelType:s})})]})})},he)},54215(e,t,s){function n(e,t=0){const s=new Date(e);return s.setDate(s.getDate()+t),s}s.d(t,{A:()=>n})},49178(e,t,s){s.r(t)},38461(e,t,s){s.d(t,{A:()=>y});s(88019),s(32145);var n=s(86070),a=s(30758),i=s(85348),l=s(32604),c=s(34488),r=s(67194),o=s(44593),d=s(63980),u=s(56880),x=s(3607),m=s(10278),h=s(96802);const p="b34nk27",g="b1fm1idz";var v=s(3085);const j={type:"icon",name:"remove"};function A(e){switch(e){case"history":return(0,n.jsx)(r.A,{name:"suggestionHistory"});case"publisherPage":return(0,n.jsx)(r.A,{name:"radio"});default:return(0,n.jsx)(r.A,{name:"search"})}}const b=(0,a.forwardRef)(({id:e,name:t,initialValue:s="",onChange:r=u.Z,onFocus:b=u.Z,onBlur:y=u.Z,label:N,shortLabel:f,description:T,hasFocus:D=!1,searchSuggestions:C=[],htmlAttributes:R,isShowingSuggestionList:E=!0},S)=>{const[k,w]=(0,a.useState)(null),L=(0,i.n)(),I=E&&C.length>0,$=e?`${e}_searchSuggestions`:L("input_searchSuggestions"),B=e=>`${$}_option_${e}`,_=(0,m.A)("max","m");function O(e,t){e.preventDefault(),"history"===C[t].type&&C[t].onClick?.("cleared")}return(0,n.jsxs)("div",{className:(0,l.cx)(g),children:[(0,n.jsx)(c.p,{id:e,ref:S,name:t,initialValue:s,onChange:function(e){r(e.value)},onFocus:b,onBlur:y,hasFocus:D,type:"search",placeholder:_&&f?f:N,label:N,description:T,htmlAttributes:{...R,"aria-autocomplete":"list","aria-owns":I?$:void 0,"aria-controls":I?$:void 0,"aria-expanded":I,"aria-activedescendant":null!==k?B(k):void 0,autoComplete:"off",role:"combobox",onKeyDown:function(e){e.keyCode===d.A.ENTER?null!==k&&(e.preventDefault(),C[k]?.onClick?.()):e.keyCode===d.A.DELETE?null!==k&&O(e,k):e.keyCode===d.A.ARROW_DOWN?w(e=>null===e?0:e<C.length-1?e+1:null):e.keyCode===d.A.ARROW_UP?w(e=>null===e?C.length-1:e>0?e-1:null):w(null)}}}),I&&(0,n.jsx)("ul",{className:(0,l.cx)(p),role:"listbox",tabIndex:-1,"aria-label":"Suchvorschläge",id:$,onMouseEnter:()=>{w(null)},children:C.map((e,t)=>(0,n.jsxs)("li",{role:"presentation","data-active":k===t,className:(0,l.cx)(x.Z.base,x.Z.body02),children:[(0,n.jsxs)("button",{type:"button",role:"option","aria-selected":k===t,id:B(t),onClick:()=>e.onClick?.(),className:(0,l.cx)(v.bL.type.text),children:[A(e?.type),(0,n.jsx)("span",{children:e.text})]}),"history"===e.type&&(0,n.jsx)(o.$,{text:`${e.text} entfernen`,isItemOnly:!0,itemLeft:j,type:h.l.TEXT,accessibility:"option",onClick:e=>O(e,t),tabIndex:-1,htmlAttributes:{type:"button"}})]},t))})]})});b.displayName="SearchInput";const y=a.memo(b)}}]);

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.