PageSourceSearch

https://www.mainfranken24.de/wp-content/themes/cmms-theme-fh_wuerzburg/assets/dist/1.33/PodcastGrid.js

js mainfranken24.de collected 2026-10-02 11:08:18 UTC 3,146 bytes, 1 lines download raw bytes

1import{_ as g,h as P,S as b,C as B,i as v,s as S}from"./app.js";import"./swiper.js";const E={name:"PodcastShortcut",components:{AppPlayerControlPlay:v,CmmsResponsiveImage:B,SoylentLink:b,CroppedText:P},props:{podcast:{type:Object,default:null}},computed:{excerpt(){return this.podcast.teaser&&this.podcast.teaser.length>0?this.podcast.teaser:this.podcast.excerpt},episode(){return this.podcast.episodes&&this.podcast.episodes.length?this.podcast.episodes[0]:null}},methods:{triggerPlayer(){this.$refs.playButton.togglePlayer()}}},n=window.Vue.resolveComponent,a=window.Vue.openBlock,u=window.Vue.createBlock,r=window.Vue.createCommentVNode,d=window.Vue.toDisplayString,o=window.Vue.createElementVNode,m=window.Vue.withCtx,i=window.Vue.createVNode,h=window.Vue.createElementBlock,N={class:"podcast-shortcut"},j={class:"podcast-shortcut__channel__text"},A={class:"podcast-shortcut__channel__title --text-size-l --text-weight-medium"},z={class:"podcast-shortcut__episode__meta"},D={class:"podcast-shortcut__episode__meta__duration --text-weight-medium"},F={class:"podcast-shortcut__episode__meta__description"};function L(x,s,t,C,V,e){const c=n("cmms-responsive-image"),l=n("CroppedText"),_=n("soylent-link"),k=n("AppPlayerControlPlay");return a(),h("div",N,[i(_,{url:t.podcast.url,class:"podcast-shortcut__channel",tabindex:"-1"},{default:m(()=>[t.podcast.image?(a(),u(c,{key:0,image:t.podcast.image,class:"podcast-shortcut__channel__image"},null,8,["image"])):r("",!0),o("div",j,[o("span",A,d(t.podcast.title),1),e.excerpt?(a(),u(l,{key:0,text:e.excerpt,lines:2,tag:"span",class:"podcast-shortcut__channel__description"},null,8,["text"])):r("",!0)])]),_:1},8,["url"]),e.episode?(a(),h("span",{key:0,onClick:s[0]||(s[0]=(...f)=>e.triggerPlayer&&e.triggerPlayer(...f)),class:"podcast-shortcut__episode"},[i(k,{ref:"playButton","aria-label":"Podcast Episode: "+e.episode.title+" abspielen","audio-object":e.episode,"podcast-object":t.podcast},null,8,["aria-label","audio-object","podcast-object"]),o("span",z,[o("span",D,d(e.episode.duration),1),o("span",F,d(e.episode.title),1)])])):r("",!0),i(_,{url:t.podcast.url,class:"button","aria-label":"Alle Podcast Folgen von "+t.podcast.title},{default:m(()=>[...s[1]||(s[1]=[o("span",{class:"button__label"},[o("span",{class:"button__text --text-size-s"},"Alle Folgen"),o("span",{class:"button__icon iconSet"},"playlist_play")],-1)])]),_:1},8,["url","aria-label"])])}const w=g(E,[["render",L]]),T={name:"SoylentRadioPodcastGrid",components:{PodcastShortcut:w},props:["element"],computed:{podcastShortcutComponent(){return S.getByName("podcastShortcut",w)},podcasts(){return"podcasts"in this.element.data?this.element.data.podcasts:[]}}},G=window.Vue.renderList,R=window.Vue.Fragment,p=window.Vue.openBlock,y=window.Vue.createElementBlock,I=window.Vue.resolveDynamicComponent,O=window.Vue.createBlock,q=window.Vue.normalizeClass;function H(x,s,t,C,V,e){return p(),y("div",{class:q(["element",t.element.type,"podcast-grid"])},[(p(!0),y(R,null,G(e.podcasts,(c,l)=>(p(),O(I(e.podcastShortcutComponent),{podcast:c,key:"item"+l},null,8,["podcast"]))),128))],2)}const M=g(T,[["render",H]]);export{M 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.