PageSourceSearch

https://www.radioerft.de/chunk-52UIF7TK.js

js radioerft.de collected 2026-09-25 05:27:52 UTC 9,775 bytes, 1 lines download raw bytes

1import{a as Z}from"./chunk-OMNSDORR.js";import{a as K}from"./chunk-VL535XO5.js";import{a as Y}from"./chunk-JT56XV4L.js";import"./chunk-A6HZI6PM.js";import{a as ee}from"./chunk-F6MFVDDL.js";import"./chunk-4FF3BGHT.js";import"./chunk-B55SYQY7.js";import"./chunk-TZHNCWZR.js";import{f as G}from"./chunk-KGQDXD4T.js";import"./chunk-OT3GNXIR.js";import"./chunk-PUS2OTT7.js";import{a as X}from"./chunk-5N5NZQBH.js";import"./chunk-2WEWNZ7T.js";import{c as N}from"./chunk-LMVGYRVN.js";import"./chunk-HJHBSEUQ.js";import{a as te}from"./chunk-DL2JLDVU.js";import{k as Q,s as J}from"./chunk-2JX4BFIU.js";import{$ as P,C as D,Da as k,Eb as d,F as B,H as R,Ja as $,Jb as c,Ob as a,Pb as o,Qb as s,Ub as I,Y as V,Yb as L,Zb as m,ab as v,bc as H,cc as F,dc as U,ea as M,eb as r,hc as p,ic as h,ja as b,jc as j,ka as _,kc as q,lc as W,mc as T,nc as g,q as y,qb as A,ra as S,sa as E,u as C,ub as x,v as O,vc as u,wc as f,xc as z}from"./chunk-7H2WKIDS.js";var w=class t{constructor(n,e,i){this.httpClient=n;this.metadatatoolService=e;this.platformId=i;this.currentProgram$=y(J(this.platformId)).pipe(B(l=>l),P(()=>O([this.metadatatoolService.metadata$.pipe(C(l=>this.metadatatoolService.getStationData(l.stationId,"oldStationId")??-1)),D(0,this.autoReloadInterval)])),P(([l,ue])=>this.getProgram(l,"current")),V({bufferSize:1,refCount:!0}))}currentProgram$;autoReloadInterval=3e5;getProgram(n,e){return this.httpClient.get(`/sendeplan/${e}?station=${n}`).pipe(C(i=>Object.keys(i.program).length?i:null),R(()=>y(null)))}static \u0275fac=function(e){return new(e||t)(b(N),b(X),b($))};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})};var ne=["programElement"];function ae(t,n){if(t&1&&s(0,"img",5),t&2){let e=m(2);d("src",e.widget().logo,v)("alt",e.widget().station)}}function oe(t,n){if(t&1){let e=I();a(0,"button",8),L("click",function(){S(e);let l=m(2);return E(l.startRadioPlayback())}),a(1,"div",9),s(2,"span",10)(3,"span",11)(4,"span",12),o(),a(5,"div",13)(6,"h6",14),p(7,"Jetzt l\xE4uft"),o(),a(8,"div",15)(9,"span",16),p(10),o(),a(11,"span",17),p(12),o()()()()}if(t&2){m();let e=g(5);r(10),h(e.artist),r(2),h(e.title)}}function le(t,n){if(t&1&&s(0,"img",25),t&2){m(4);let e=g(0);d("src",e.program.moderator.image["1:1"].url,v)("alt",e.program.moderator.name)}}function me(t,n){if(t&1&&(a(0,"a",18),u(1,"slug"),a(2,"div",19),s(3,"img",24),x(4,le,1,2,"img",25),o()()),t&2){let e=m(3),i=g(0);d("routerLink","/moderator/"+f(1,3,i.program.moderator.name)+"-"+i.program.moderator.article_id),r(3),d("src",e.widget().moderatorBackground,v),r(),c(!(i.program.moderator.image["1:1"]==null||i.program.moderator.image["1:1"].url==null)&&i.program.moderator.image["1:1"].url.length?4:-1)}}function pe(t,n){if(t&1&&(a(0,"div",19),s(1,"img",26),o()),t&2){m(3);let e=g(0);r(),d("alt",e.program.name)}}function de(t,n){if(t&1&&(a(0,"span",23)(1,"a",27),u(2,"slug"),p(3),o()()),t&2){m(3);let e=g(0);r(),d("routerLink","/moderator/"+f(2,2,e.program.moderator.name)+"-"+e.program.moderator.article_id),r(2),j(" ",e.program.moderator.name," ")}}function ce(t,n){if(t&1&&(a(0,"div",7),x(1,me,5,5,"a",18)(2,pe,2,1,"div",19),a(3,"div",20)(4,"div",21)(5,"h6"),p(6,"On Air"),o(),a(7,"span",22),p(8),o(),x(9,de,4,4,"span",23),o()()()),t&2){m(2);let e=g(0);r(),c(e.program.isburgerfunc?2:1),r(7),h(e.program.name),r(),c(e.program.moderator.article_id?9:-1)}}function se(t,n){if(t&1&&(a(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),x(4,ae,1,2,"img",5),o(),W(5),u(6,"async"),x(7,oe,13,2,"button",6),o(),x(8,ce,10,3,"div",7),o()()),t&2){let e=m(),i=g(0);r(4),c(e.widget().logo.length?4:-1),r();let l=T(f(6,3,e.currentTitle$));r(2),c(l?7:-1),r(),c(i?8:-1)}}function ge(t,n){if(t&1&&s(0,"img",32),t&2){m(2);let e=g(0);d("src",e.program.moderator.image["1:1"].url,v)("alt",e.program.moderator.name)}}function xe(t,n){if(t&1){let e=I();a(0,"div",28),s(1,"img",29)(2,"div",30)(3,"div",31),a(4,"a",27),u(5,"slug"),x(6,ge,1,2,"img",32),o(),a(7,"div",33)(8,"div",34)(9,"span",35),p(10,"L\xC4UFT GERADE"),o(),a(11,"h2",36),p(12),o(),a(13,"a",37),u(14,"slug"),p(15),o(),a(16,"span",38),p(17),u(18,"lambdaDate"),u(19,"lambdaDate"),o(),a(20,"a",39),p(21," WhatsApp ins Studio "),s(22,"img",40),o()()()(),a(23,"button",41),L("click",function(){S(e);let l=m();return E(l.startRadioPlayback())}),p(24," Jetzt h\xF6ren auf "),s(25,"img",42),o()}if(t&2){let e=m(),i=g(0);
1r(),d("src",e.widget().moderatorBackground,v),r(3),d("routerLink","/moderator/"+f(5,9,i.program.moderator.name)+"-"+i.program.moderator.article_id),r(2),c(!(i.program.moderator.image["1:1"]==null||i.program.moderator.image["1:1"].url==null)&&i.program.moderator.image["1:1"].url.length?6:-1),r(6),h(i.program.name),r(),d("routerLink","/moderator/"+f(14,11,i.program.moderator.name)+"-"+i.program.moderator.article_id),r(2),j(" Mit ",i.program.moderator.name," "),r(2),q(" ",z(18,13,i.program.timestart,"HH:mm")," - ",z(19,16,i.program.timeend,"HH:mm")," "),r(3),d("routerLink","/headerbutton")}}var ie=class t{programElement;widget=k.required();channels=k.required();programService=_(w);playlistService=_(ee);playerService=_(Y);pageService=_(Z);observer;currentProgram$=this.programService.currentProgram$;currentTitle$=this.playlistService.current$;ngAfterViewInit(){this.programElement.nativeElement&&(this.observer=new IntersectionObserver(this.onViewportChange,{rootMargin:"100px",threshold:.5,root:null}),this.observer.observe(this.programElement.nativeElement))}ngOnDestroy(){this.observer.disconnect()}startRadioPlayback(){let n=this.channels().find(e=>e.channelId==="live");n&&this.playerService.changeRadioStation({type:"radio",channelId:n.channelId,name:n.name,url:n.url,logo:n.logo})}onViewportChange=n=>{n.forEach(e=>this.pageService.updateProgramWidgetInViewbox(e.isIntersecting))};static \u0275fac=function(e){return new(e||t)};static \u0275cmp=A({type:t,selectors:[["app-widget-program"]],viewQuery:function(e,i){if(e&1&&H(ne,5),e&2){let l;F(l=U())&&(i.programElement=l.first)}},inputs:{widget:[1,"widget"],channels:[1,"channels"]},decls:6,vars:5,consts:[["programElement",""],[1,"bg-white","shadow-lg","shadow-slate-200"],[1,"page-container","flex","flex-row","justify-between"],[1,"flex","flex-row","justify-center","lg:justify-start","py-4","lg:py-8"],[1,"col-span-1","px-4","lg:px-8","flex-col","justify-center","hidden","md:flex"],[1,"w-full","h-full","max-w-[50px]","max-h-[50px]","md:max-h-[100px]","md:max-w-[100px]","xl:max-w-[150px]","object-contain","xl:max-h-[150px]",3,"src","alt"],[1,"col-span-2","px-4","md:px-0","flex","flex-row","items-center","text-left","gap-4"],[1,"col-span-1","min-w-0","gap-4","lg:gap-8","pr-4","containerwidth:pr-0","flex","flex-row","items-center","shrink-0","py-4","lg:py-8"],[1,"col-span-2","px-4","md:px-0","flex","flex-row","items-center","text-left","gap-4",3,"click"],["aria-hidden","true",1,"playing","hidden","md:flex"],[1,"playing__bar","playing__bar1"],[1,"playing__bar","playing__bar2"],[1,"playing__bar","playing__bar3"],[1,"flex","flex-col","justify-center"],[1,"text-primary"],[1,"flex","flex-col"],[1,"font-bold","text-sm","md:text-xl","lg:text-2xl","line-clamp-2"],[1,"text-primary","text-sm","md:text-base","lg:text-xl","line-clamp-2"],[1,"block",3,"routerLink"],[1,"relative","shrink-0","min-w-0","aspect-square","w-[64px]","h-[64px]","lg:w-[150px]","lg:h-[150px]","rounded-full","overflow-hidden"],[1,"flex","flex-row","lg:flex-col","items-center","justify-between","w-full","lg:justify-center"],[1,"flex","flex-col","max-w-36","sm:max-w-48","md:max-w-none"],[1,"text-sm","md:text-base","font-bold","line-clamp-2"],[1,"text-sm","md:text-base","line-clamp-2"],["alt","Studio Background",1,"absolute","inset-0","z-0","w-full","h-full",3,"src"],[1,"absolute","inset-0","z-10","w-full","h-full",3,"src","alt"],["src","buergerfunk.png",1,"absolute","inset-0","z-10","w-full","h-full",3,"alt"],[3,"routerLink"],[1,"relative","w-full"],["sizes","(max-width: 1024px) 64px, 2000px","alt","Studio Background",1,"absolute","inset-0","z-0","w-full","h-full","object-cover",3,"src"],[1,"absolute","inset-0","z-10","bg-gradient-to-l","from-transparent","to-[#EC543F]","opacity-25"],[1,"absolute","inset-0","z-10","bg-gradient-to-l","from-transparent","to-black","opacity-75"],["sizes","(max-width: 1024px) 50vw, 730px",1,"absolute","z-10","w-[250px]","md:w-[350px]","lg:w-[450px]","xl:w-[500px]","aspect-square","bottom-0","right-0","object-contain","object-bottom-right",3,"src","alt"],[1,"relative","z-20","page-container","h-full","text-white","lg:py-32","pb-32","pt-8"],[1,"col-span-6","flex","flex-col","justify-start","lg:justify-center","h-full","max-w-[75%]","px-4","lg:px-0"],[1,"text-white","opacity-75","text-[0.9rem]","lg:text-[1.5rem]","font-medium"],[1,"text-white","text-[2rem]","uppercase","lg:text-[4rem]","font-black"],[1,"text-white","text-[1.5rem]","lg:text-[2.5rem]","-mt-2","font-medium",3,"routerLink"],[1,"text-white","text-[0.9rem]","lg:text-[1.25rem]","font-bold","mt-1"],["target","_blank",1,"bg-white","text-primary","uppercase","min-w-[150px]","max-w-[60%]","hyphens-manual","lg:max-w-auto","px-4","lg:pl-8","lg:pr-6","py-4","w-fit","font-bold","mt-8","flex","flex-row","items-center","gap-2",3,"routerLink"],["src","/icons/mixtape-arrow-right.svg",1,"bg-transparent","w-8","h-8"],[1,"relative","text-white","text-[1.5rem]","flex","uppercase","flex-row","font-black","items-center","justify-center","w-full","bg-primary","py-6","gap-2","cursor-pointer",3,"click"],["src","/icons/dab_icon.svg",1,"bg-transparent","w-14"]],template:function(e,i){if(e&1&&(W(0),u(1,"async"),a(2,"div",null,0),x(4,se,9,6,"div",1)(5,xe,26,19),o()),e&2){let l=T(f(1,2,i.currentProgram$));r(4),c(i.widget().stationId!=="rami"?4:-1),r(),c(i.widget().stationId==="ram
1i"&&l?5:-1)}},dependencies:[Q,te,G,K],encapsulation:2,changeDetection:0})};export{ie as WidgetProgramComponent};

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.