PageSourceSearch

https://www.hitradio-ohr.de/wp-content/themes/cmms-theme-fh_offenburg/assets/dist/1.63/Actions.js

js hitradio-ohr.de collected 2026-10-02 03:18:29 UTC 3,190 bytes, 1 lines download raw bytes

1import{_ as a,P as l,K as B,s as C,M as A,N as $}from"./app.js";import"./swiper.js";const v={name:"SoylentRadioActionGrid",components:{PostShortcut:l},props:["element"],computed:{elements(){return this.element?this.element.data.items:[]},postShortcutComponent(){return C.getByName("postShortcutActions",l)}},methods:{getModel:function(e){let t=new B;return t.postType=e.post_type,t.date=e.date,t.title=e.title,t.kicker=e.kicker,t.url=e.url,t.image=e.image,t.excerpt=e.excerpt,t.isAction=!0,t.isAd=e.show_ad_label,t},getLink:function(e){return e?e.url||"#":null}}},x=window.Vue.renderList,N=window.Vue.Fragment,i=window.Vue.openBlock,p=window.Vue.createElementBlock,R=window.Vue.resolveDynamicComponent,E=window.Vue.createBlock,b=window.Vue.createElementVNode,P={class:"action-grid"},M={class:"post-shortcuts -col-3"};function L(e,t,n,u,m,o){return i(),p("div",P,[b("div",M,[(i(!0),p(N,null,x(o.elements,(r,c)=>(i(),E(R(o.postShortcutComponent),{model:o.getModel(r),addActionClass:!0,key:"slider_item_".concat(c)},null,8,["model"]))),128))])])}const D=a(v,[["render",L]]),F={name:"SoylentRadioActionSlider",components:{PostShortcut:l,SliderWrapper:$,SwiperSlide:A},props:["element"],data:function(){return{breakpoints:{320:{slidesPerView:1.25,spaceBetween:16},768:{slidesPerView:3,spaceBetween:16},1200:{slidesPerView:4,spaceBetween:16}}}},computed:{elements(){return this.element?this.element.data.items:[]},postShortcutComponent(){return C.getByName("postShortcutActions",l)}},methods:{getModel:function(e){let t=new B;return t.postType=e.post_type,t.date=e.date,t.title=e.title,t.kicker=e.kicker,t.url=e.url,t.image=e.image,t.excerpt=e.excerpt,t.isAction=!0,t.isAd=e.show_ad_label,t}}},G=window.Vue.renderList,W=window.Vue.Fragment,s=window.Vue.openBlock,_=window.Vue.createElementBlock,z=window.Vue.resolveDynamicComponent,w=window.Vue.createBlock,k=window.Vue.resolveComponent,V=window.Vue.withCtx,T=window.Vue.createVNode,K={class:"action-slider swiper"};function j(e,t,n,u,m,o){const r=k("SwiperSlide"),c=k("SliderWrapper");return s(),_("div",K,[T(c,{breakpoints:e.breakpoints,"show-bullets":!0},{default:V(()=>[(s(!0),_(W,null,G(o.elements,(f,g)=>(s(),w(r,{key:"slider_item_".concat(g)},{default:V(()=>[(s(),w(z(o.postShortcutComponent),{model:o.getModel(f),addActionClass:!0},null,8,["model"]))]),_:2},1024))),128))]),_:1},8,["breakpoints"])])}const q=a(F,[["render",j]]),H={name:"SoylentRadioActions",components:{SoylentRadioActionSlider:q,SoylentRadioActionGrid:D},props:["element"],computed:{layout(){return this.element.data.layout?this.element.data.layout:"grid"},elements(){return this.element?this.element.data.items:[]}}},h=window.Vue.resolveComponent,d=window.Vue.openBlock,y=window.Vue.createBlock,S=window.Vue.createCommentVNode,I=window.Vue.normalizeClass,J=window.Vue.createElementBlock;function O(e,t,n,u,m,o){const r=h("SoylentRadioActionSlider"),c=h("SoylentRadioActionGrid");return d(),J("div",{class:I(["element",n.element.type,"actions"])},[o.layout==="slider"?(d(),y(r,{key:0,element:n.element},null,8,["element"])):S("",!0),o.layout==="grid"?(d(),y(c,{key:1,element:n.element},null,8,["element"])):S("",!0)],2)}const X=a(H,[["render",O]]);export{X 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.