PageSourceSearch

https://radio-oberland.de/build/8592.4dbf7608.js

js radio-oberland.de collected 2026-09-24 22:38:43 UTC 4,939 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkpimcoreseitwerk||=[]).push([[8592],{6262(e,t){t.A=(e,t)=>{const a=e.__vccOpts||e;for(const[e,n]of t)a[e]=n;return a}},8592(e,t,a){a.r(t),a.d(t,{default:()=>C});var n=a(1425);const l={class:"flex space-x-4"},o={class:"flex-1 self-center relative divide-y"},r={class:"flex"},i={key:0,class:"flex-initial self-center text-3xl text-orange"},c={class:"flex-1 self-center"},s={class:"text-sm leading-5"},d=["innerHTML"],m={class:"font-mont-heavy leading-5"},g=["innerHTML"],p={class:"text-sm leading-5"},k=["innerHTML"],u=["innerHTML"],h=["innerHTML"],b={key:0,class:"absolute right-0 top-0"},y=["onClick"],v={key:0};var f=a(4690);const x={props:{debug:{type:Boolean,default:!1},source:{type:String,default:""},displayText:{type:String,default:"false"},token:{type:String,default:""},editId:{type:Number,default:0}},data:()=>({currentSettings:{},articles:[],responses:{},original:!0,fetching:!1}),mounted(){this.source&&this.fetch()},methods:{fetch:async function(){await f.A.get(this.source,{headers:{"Content-Type":"application/json"}}).then((e=>{e.data&&e.data.data&&e.data.data.length>0&&(e.data.data.forEach((e=>{if(e.date=this.formatDate(new Date(e.articleDate||e.createdAt)),e.traffic&&e.geolocation&&e.geolocation.longitude){let t,a="",n="traffic";switch(e.category.toLowerCase()){case"blitzer":case"blitzeranhänger":n="blitzer",t="icon-blitzer",a="/static/images/map-icon-blitzer.svg";break;case"verkehr - baustelle":t="icon-baustelle",a="/static/images/map-icon-baustelle.svg";break;case"verkehr - unfall":t="icon-verkehr",a="/static/images/map-icon-verkehr.svg";break;case"verkehr - stau":t="icon-stau",a="/static/images/map-icon-stau.svg";break;case"verkehr - sperre":t="icon-pylone",a="/static/images/map-icon-pylone.svg";break;case"bahn":t="icon-bahn",a="/static/images/map-icon-pylone.svg";break;default:t=""}this.$store.commit("addToken",{id:e.id,ll:{lat:e.geolocation.latitude,lng:e.geolocation.longitude},icon:t,iconUrl:a,type:n,paths:e.paths,html:`\n                <div class="bold text-base font-mont-heavy"><i class="${t} pr-1 text-2xl inline-block translate-y-1"></i> ${e.title}</div>\n                <div class="text-xs mt-1 mb-1 text-gray-500">\n                    ${e.text}\n                </div>`})}})),this.articles=e.data.data)}))},formatDate:function(e){return`${`00${e.getDate()}`.slice(-2)}.${`00${e.getMonth()+1}`.slice(-2)}.${e.getFullYear()} ${`00${e.getHours()}`.slice(-2)}:${`00${e.getMinutes()}`.slice(-2)}  Uhr`},edit:function(e){this.$emit("createEdit",e)}}};const C=(0,a(6262).A)(x,[["render",function(e,t,a,f,x,C){return(0,n.openBlock)(),(0,n.createElementBlock)("div",l,[(0,n.createElementVNode)("div",o,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(x.articles,(e=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:e,class:(0,n.normalizeClass)([{"bg-blue-light/10":e.id===a.editId},"left-0 right-0 py-5 relative"])},[(0,n.createElementVNode)("div",r,[e.category?((0,n.openBlock)(),(0,n.createElementBlock)("div",i,[(0,n.createElementVNode)("i",{class:(0,n.normalizeClass)({"icon-bahn pr-5 inline-block":"bahn"===e.category.toLowerCase(),"icon-blitzer pr-5 inline-block":"blitzer"===e.category.toLowerCase()||"blitzeranhänger"===e.category.toLowerCase(),"icon-baustelle pr-5 inline-block":"verkehr - baustelle"===e.category.toLowerCase(),"icon-verkehr pr-5 inline-block":"verkehr - unfall"===e.category.toLowerCase(),"icon-stau pr-5 inline-block":"verkehr - stau"===e.category.toLowerCase(),"icon-pylone pr-5 inline-block":"verkehr - sperre"===e.category.toLowerCase()})},null,2)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",c,[(0,n.createElementVNode)("div",s,[(0,n.createElementVNode)("span",{class:"text-gray-400",innerHTML:e.date},null,8,d)]),(0,n.createElementVNode)("div",m,[(0,n.createElementVNode)("span",{innerHTML:e.title},null,8,g)]),(0,n.createElementVNode)("div",p,["blitzer"===e.category.toLowerCase()||"blitzeranhänger"===e.category.toLowerCase()?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,innerHTML:`${e.category}${e.streetType?", ":""}`},null,8,k)):(0,n.createCommentVNode)("",!0),e.streetType?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:1,class:"italic",innerHTML:e.streetType},null,8,u)):(0,n.createCommentVNode)("",!0)]),a.displayText&&"true"===a.displayText?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"text-sm leading-5",innerHTML:e.text},null,8,h)):(0,n.createCommentVNode)("",!0)])]),this.token?((0,n.openBlock)(),(0,n.createElementBlock)("div",b,[(0,n.createElementVNode)("button",{type:"button",class:"block p-2",onClick:t=>C.edit(e)},[...t[0]||(t[0]=[(0,n.createElementVNode)("i",{class:"icon-pen"},null,-1)])],8,y)])):(0,n.createCommentVNode)("",!0)],2)))),128)),0===x.articles.length?((0,n.openBlock)(),(0,n.createElementBlock)("div",v," Keine Meldungen vorhanden. Gute Fahrt! ")):(0,n.createCommentVNode)("",!0)])])}]])}}]);

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.