PageSourceSearch

https://www.otv.de/wp-content/themes/cmms-theme-neue_welle/assets/dist/1.106/Map.js

js otv.de collected 2026-09-24 20:29:31 UTC 1,677 bytes, 1 lines download raw bytes

1import{_ as s}from"./app.js";import"./swiper.js";const o={name:"SoylentMap",props:["element"],data(){return{mapType:"google"}},computed:{apiKey:function(){return this.element.data.google_api_key&&this.element.data.google_api_key!==""?this.element.data.google_api_key:!1},headline:function(){return this.element.data.headline?this.element.data.headline:"Anfahrt"},place:function(){return this.element.data.place&&this.element.data.place!==""?this.element.data.place:!1},address:function(){return this.element.data.address&&this.element.data.address!==""?this.element.data.address:!1},url:function(){if(this.mapType==="google"){const t="".concat(this.place,",").concat(this.address);return"https://maps.google.com/maps?q=".concat(encodeURIComponent(t))}},embedUrl:function(){if(this.mapType==="google"){const t="".concat(this.place,",").concat(this.address);return"https://www.google.com/maps/embed/v1/place?key=".concat(this.apiKey,"&q=").concat(encodeURIComponent(t))}},showMap:function(){return!!(this.apiKey&&(this.place||this.address))}}},l=window.Vue.toDisplayString,e=window.Vue.createElementVNode,r=window.Vue.normalizeClass,i=window.Vue.openBlock,d=window.Vue.createElementBlock,c=window.Vue.createCommentVNode,m={class:"map-container"},p=["src"],u={class:"maps-link"},h=["href"];function _(t,f,n,g,y,a){return a.showMap?(i(),d("div",{key:0,class:r(["element",n.element.type,n.element.subtype])},[e("h3",null,l(a.headline),1),e("div",m,[e("iframe",{src:a.embedUrl,frameborder:"0",style:{border:"0"},allowfullscreen:""},null,8,p),e("div",u,[e("a",{href:a.url,target:"_blank"},"Gehe zu Google Maps",8,h)])])],2)):c("",!0)}const V=s(o,[["render",_]]);export{V 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.