PageSourceSearch

https://www.unserradio.de/wp-content/themes/cmms-theme-soylent-radio/assets/dist/1.169/WeatherWidget.js

js unserradio.de collected 2026-10-02 17:42:27 UTC 8,011 bytes, 1 lines download raw bytes

1import{_ as g,a as p,S as y}from"./app.js";import"./swiper.js";const k={name:"SoylentRadioWeatherWidget",components:{SoylentLink:y,CmmsResponsiveImage:p},props:{element:{type:Object}},computed:{getDays:function(){return this.element.data.weather_data},hasData:function(){return this.getDays},getToday:function(){return this.getDays[0]},getTodayLabel:function(){return this.getDays[0]?this.getDays[0].label:""},getForecast:function(){return Object.fromEntries(Object.entries(this.getDays).slice(1))},name:function(){if(this.hasData)return this.element.data.location_name},link:function(){return this.element.data.link},isOpenWeather:function(){return this.element.data.provider==="open_weather_map"}}},l=window.Vue.resolveComponent,a=window.Vue.openBlock,m=window.Vue.createBlock,i=window.Vue.createCommentVNode,n=window.Vue.toDisplayString,e=window.Vue.createElementVNode,o=window.Vue.normalizeClass,h=window.Vue.createTextVNode,s=window.Vue.createElementBlock,b=window.Vue.renderList,u=window.Vue.Fragment,f={key:1,class:"weather-shortcut__main"},z={class:"weather-shortcut__main__date"},V={class:"weather-shortcut__main__location"},C={key:0,class:"weather-shortcut__main__entry"},D={class:"weather-shortcut__main__entry__temperature"},T={class:"weather-shortcut__main__entry__temperature__high",title:"Maximaltemperatur"},W={class:"weather-shortcut__main__entry__temperature__low",title:"Minimaltemperatur"},x={class:"weather-shortcut__main__entry__temperature__rain",title:"Regenwahrscheinlichkeit"},L={key:2,class:"weather-shortcut__detail-widget"},B={class:"weather-shortcut__detail-widget__row__day"},O={class:"weather-shortcut__detail-widget__row__rain",title:"Regenwahrscheinlichkeit"},S={class:"weather-shortcut__detail-widget__row__weather"},N={class:"weather-shortcut__detail-widget__row__weather__temperature"},R={class:"weather-shortcut__detail-widget__row__weather__temperature__high"},E={class:"weather-shortcut__detail-widget__row__weather__temperature__low"},F={key:0,href:"https://openweathermap.org",target:"_blank",class:"weather-attribution",title:"OpenWeatherMap"};function j(d,r,_,I,M,t){const w=l("CmmsResponsiveImage"),v=l("SoylentLink");return a(),s(u,null,[e("div",{class:o(["element",_.element.type,"weather-shortcut"])},[_.element.data.background_image?(a(),m(w,{key:0,image:_.element.data.background_image,fill:!0,blur:!0},null,8,["image"])):i("",!0),t.hasData?(a(),s("div",f,[e("span",z,n(t.getTodayLabel),1),e("span",V,n(t.name),1),t.getToday?(a(),s("div",C,[e("span",{class:o(["wi",t.getToday.weather.icon,"weather-shortcut__main__entry__icon"])},null,2),e("div",D,[e("span",T,n(t.getToday.weather.max_temperature)+" °C ",1),e("span",W,n(t.getToday.weather.min_temperature)+" °C ",1),e("span",x,[r[0]||(r[0]=e("span",{class:"wi wi-umbrella"},null,-1)),h(" "+n(t.getToday.weather.rain_probability)+" % ",1)])])])):i("",!0)])):i("",!0),t.hasData?(a(),s("div",L,[(a(!0),s(u,null,b(t.getForecast,c=>(a(),s("div",{class:"weather-shortcut__detail-widget__row",key:c.label},[e("span",B,n(c.label),1),e("span",O,[r[1]||(r[1]=e("span",{class:"wi wi-umbrella"},null,-1)),h(" "+n(c.weather.rain_probability)+" % ",1)]),e("span",S,[e("span",{class:o(["wi",c.weather.icon])},null,2),e("span",N,[e("span",R,n(c.weather.max_temperature)+" °C ",1),r[2]||(r[2]=h(" / ",-1)),e("span",E,n(c.weather.min_temperature)+" °C ",1)])])]))),128))])):i("",!0),_.element.data.link?(a(),m(v,{key:3,class:"weather-shortcut__link",title:"Zur Wetterseite",href:_.element.data.link,to:d.$routerLink(_.element.data.link)},null,8,["href","to"])):i("",!0)],2),t.isOpenWeather?(a(),s("a",F,[...r[3]||(r[3]=[e("span",{class:"weather-attribution__label"},[h("Weather data provided"),e("br"),h("by OpenWeather")],-1),e("svg",{class:"weather-attribution__icon",xmlns:"http://www.w3.org/2000/svg",width:"188.97",height:"75",viewBox:"0 0 188.87 75"},[e("path",{d:"m39.336 0.596c-13.581 0-24.611 11.018-24.611 24.61 0 1.34 0.113 2.662 0.314 3.95h-1.512a1.99 1.99 0 0 0-1.994 1.982v0.153c0 1.097 0.896 1.992 1.994 1.992h7.713c1.098 0 1.994 0.885 1.994 1.982v0.15a1.988 1.988 0 0 1-1.994 1.983h-0.668c-0.834 0-1.555 0.504-1.846 1.236-0.1 0.227-0.15 0.493-0.15 0.758v0.15c0 1.1 0.885 1.983 1.996 1.983h12.795c1.1 0 1.994 0.895 1.994 1.994v0.152c0 1.098-0.894 1.98-1.994 1.98h-8.61a1.998 1.998 0 0 0-1.994 1.995v0.152c0 1.098 0.896 1.98 1.994 1.98h35.934c1.099 0 1.98-0.882 1.98-1.98v-0.152a1.987 1.987 0 0 0-1.98-1.994h-13.556a1.988 1.988 0 0 1-1.994-1.98v-0.153c0-1.099 0.897-1.994 1.994-1.994h2.475a1.988 1.988 0 0 0 1.994-1.982v-0.15a1.998 1.998 0 0 0-1.994-1.995h-0.82a1.978 1.978 0 0 1-1.983-1.982v-0.15c0-1.098 0.884-1.983 1.983-1.983h20.834c1.098 0 1.98-0.895 1.98-1.992v-0.153a1.977 1.977 0 0 0-1.98-1.982h-5.99c0.2-1.288 0.314-2.61 0.314-3.95 0-13.592-11.02-24.61-24.611-24.61zm17.189 36.803a1.988 1.988 0 0 0-1.982 1.994v0.15c0 1.099 0.883 1.983 1.982 1.983h4.43a1.988 1.988 0 0 0 1.994-1.983v-0.
115a1.998 1.998 0 0 0-1.994-1.994zm11.764 0a1.99 1.99 0 0 0-1.984 1.994v0.15a1.98 1.98 0 0 0 1.984 1.983h4.428a1.99 1.99 0 0 0 1.996-1.983v-0.15a2 2 0 0 0-1.996-1.994z",fill:"#de6e4e"}),e("path",{d:"m8.738 53.334c-5.432 0-8.738 3.368-8.738 8.799v4.492c0 5.584 3.306 8.799 8.738 8.799 5.43 0 8.738-3.215 8.738-8.799v-4.492c0-5.43-3.307-8.799-8.738-8.799zm62.701 0.426 3.336 21.24h6.525l3.246-17.355h0.366l3.246 17.355h6.523l3.338-21.24h-4.006l-2.549 17.355h-0.363l-3.246-17.355h-6.252l-3.246 17.355h-0.363l-2.551-17.355zm73.777 0v21.24h3.822v-7.768c0-2.67 1.305-4.187 3.762-4.187 2.184 0 3.398 1.243 3.398 3.338v8.617h3.825v-8.983c0-3.913-2.52-6.31-5.858-6.31-2.763 0-4.154 1.274-4.764 2.67h-0.363v-8.617zm-10.502 1.517v4.672h-3.822v3.217h3.822v8.922c0 1.697 1.274 2.912 2.973 2.912h4.127v-3.217h-2.427c-0.545 0-0.852-0.305-0.852-0.912v-7.705h4.13v-3.217h-4.13v-4.672zm-125.98 1.637c2.972 0 4.732 2.034 4.732 5.037v4.856c0 2.944-1.425 5.037-4.732 5.037-3.216 0-4.734-1.973-4.734-5.037v-4.856c0-2.881 1.669-5.037 4.734-5.037zm20.332 2.61c-2.67 0-4.006 1.276-4.795 2.55h-0.424v-2.125h-3.763v21.12h3.824v-8.192h0.363c0.79 1.273 2.126 2.547 4.795 2.547 3.763 0 6.918-3.337 6.918-7.95 0-4.611-3.155-7.95-6.918-7.95zm16.057 0c-4.432 0-7.557 3.278-7.557 7.83 0 4.672 3.246 8.07 7.737 8.07 4.037 0 5.796-2.124 6.828-3.701l-3.125-1.82c-0.518 1.06-1.64 2.243-3.762 2.243-2.185 0-3.61-1.547-3.762-3.61h10.951v-1.425c0-4.52-2.942-7.588-7.31-7.588zm61.09 0c-4.43 0-7.557 3.278-7.557 7.83 0 4.672 3.248 8.07 7.739 8.07 4.036 0 5.796-2.124 6.828-3.701l-3.127-1.82c-0.516 1.06-1.638 2.243-3.762 2.243-2.185 0-3.612-1.547-3.764-3.61h10.955v-1.425c0-4.52-2.944-7.588-7.312-7.588zm16.508 0c-4.004 0-6.188 2.398-7.371 4.128l3.094 1.881c0.789-1.7 2.003-2.914 4.127-2.914s3.156 1.214 3.156 2.61v0.486l-5.766 0.637c-2.882 0.302-4.976 1.971-4.976 4.369 0 2.882 2.244 4.703 5.644 4.703 3.187 0 4.247-1.549 4.735-2.549h0.423v2.125h3.76v-9.498c0-3.641-2.82-5.978-6.826-5.978zm47.164 0c-4.432 0-7.557 3.278-7.557 7.83 0 4.672 3.246 8.07 7.737 8.07 4.037 0 5.796-2.124 6.828-3.701l-3.125-1.82c-0.518 1.06-1.64 2.243-3.762 2.243-2.187 0-3.612-1.547-3.764-3.61h10.953v-1.425c0-4.52-2.942-7.588-7.31-7.588zm-106.13 0.183c-2.763 0-4.158 1.274-4.766 2.67h-0.421v-2.428h-3.764v15.051h3.824v-7.767c0-2.67 1.303-4.19 3.762-4.19 2.184 0 3.398 1.247 3.398 3.34v8.617h3.822v-8.982c0-3.915-2.518-6.31-5.855-6.31zm123.76 0.182c-1.912 0-3.186 0.576-3.764 2.244h-0.422v-2.184h-3.763v15.051h3.822v-8.617c0-2.124 1.397-3.156 3.338-3.156h2.244v-3.338zm-142.42 2.912c1.972 0 3.246 1.215 3.457 3.187h-7.037c0.241-1.913 1.425-3.187 3.58-3.187zm61.09 0c1.973 0 3.248 1.215 3.459 3.187h-7.037c0.24-1.913 1.423-3.187 3.578-3.187zm63.672 0c1.972 0 3.246 1.215 3.457 3.187h-7.037c0.241-1.913 1.425-3.187 3.58-3.187zm-141.82 0.123c2.307 0 4.127 1.637 4.127 4.55 0 2.914-1.82 4.551-4.127 4.551-2.367 0-4.127-1.698-4.127-4.55 0-2.854 1.76-4.551 4.127-4.551zm97.691 5.338v0.365c0 2.063-1.488 3.64-4.158 3.64-1.698 0-2.578-0.727-2.578-1.757 0-0.88 0.697-1.519 2.123-1.701z",fill:"#484849"})],-1)])])):i("",!0)],64)}const A=g(k,[["render",j]]);export{A 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.