PageSourceSearch

https://www.zeppelin-museum.de/_nuxt/DLorYjLA.js

js zeppelin-museum.de collected 2026-09-24 19:42:32 UTC 9,121 bytes, 1 lines download raw bytes

1import{g as ie,a as ne,b as ke,d as fe,ag as $e,k as d,z as y,l as P,ah as ve,n as t,s as o,a5 as I,j as s,E as be,K as Le,L as we,u as Pe,c as Ae,w as x,h as ue,M as ce,o as Se,i as Te,m as de,p as m,v as Ie,F as C,A as M,q as u,Z as Ce,$ as me,x as ge,e as N,f as q,_ as b,r as L,t as k,N as Me,a0 as ze,V as xe}from"./BzgJPG6a.js";import{P as Ne,_ as qe}from"./DFlrzq1v.js";import{_ as Be}from"./Bn3PwQWL.js";import{_ as De}from"./DV8pHT3H.js";import{_ as Fe}from"./BQ36PAF3.js";import{_ as pe}from"./D8T_6Knv.js";import{_ as He}from"./D8phZTNq.js";import{b as he}from"./ywszOwtE.js";import{_ as Ze}from"./Cd7Yn-Ki.js";import{D as Ee}from"./DWFWyVAE.js";import{S as Re}from"./ChX2ozaf.js";import{_ as Ve}from"./CQAMNGOO.js";import{r as _e}from"./DgUEgTvr.js";import{u as je,a as Ke}from"./Br-pzvqX.js";import"./DK3CNjtx.js";import"./5NsoCi1B.js";const ye=`${ke}/presses`,Ue=$=>{const a=typeof $=="string"?ie($):ie($.public.textContentBaseUri);return{async getPressesData(g="de"){var n,l;const h=ne(["seo","localizations","dynamicArea"]),f=`&locale=${g}`;try{const c=await a.get(`${ye}?${h.slice(1,h.length)}${f}`);return(l=(n=c==null?void 0:c.data)==null?void 0:n.data)==null?void 0:l.attributes}catch(c){throw console.error("error in axios call:",c),c}},async getPressData(g,h="de"){var c,e;const f=`filters[slug][$eq]=${g}`,n=ne(["seo","localizations","downloadItems","categories","contactCards","highlightTeaser"],["dynamicArea.accordionContent","dynamicArea.source.media","dynamicArea.audioFile.media","dynamicArea.soundcloud","dynamicArea.placeholderImage.media","dynamicArea.imageLeft.source.media","dynamicArea.imageRight.source.media","dynamicArea.textRight","dynamicArea.sliderContent","dynamicArea.source","teaserImage.media","downloadItems.source","contactCards.contacts"]),l=`&locale=${h}`;try{const _=await a.get(`${ye}?${f}${n}${l}`);return(e=(c=_==null?void 0:_.data)==null?void 0:c.data[0])==null?void 0:e.attributes}catch(_){throw console.error("error:",_),_}}}},Ge={getRepository:Ue},Ye={class:"press-header"},Je={class:"header-wrapper"},Oe={class:"header-content"},Qe=["innerHTML"],We={key:1,class:"top-line"},Xe={class:"content-left"},et={class:"content-right"},tt={key:2,class:"bottom-line"},st={key:0,class:"sub-header-wrapper"},at=fe({__name:"PressHeader",props:{title:{type:String,required:!0}},setup($){const a=$,g=$e(),h=n=>!!g[n],f=be(()=>{const l=/(Zeppelin Museum[a-zA-Z]?)/g.exec(a.title);if(l&&l[1]){const c=a.title.split(l[1]);let e="";return c.forEach((_,v)=>{e=e.concat(_),v!==c.length-1&&(e=e.concat('<span style="white-space: nowrap;">').concat(l[1]).concat("</span>"))}),e}return a.title});return(n,l)=>(s(),d("header",Ye,[y("div",Je,[P(ve,{title:a.title},null,8,["title"]),y("div",Oe,[a.title?(s(),d("h1",{key:0,innerHTML:t(f),class:"title"},null,8,Qe)):o("",!0),h("topLeft")||h("topRight")?(s(),d("div",We,[y("div",Xe,[I(n.$slots,"topLeft")]),y("div",et,[I(n.$slots,"topRight")])])):o("",!0),h("bottomLeft")?(s(),d("div",tt,[I(n.$slots,"bottomLeft")])):o("",!0)])]),h("subHeader")?(s(),d("div",st,[I(n.$slots,"subHeader")])):o("",!0)]))}}),rt={key:0,class:"page-press-detail"},ot={key:0,class:"press-kits"},lt={key:1,class:"page-press-detail"},it={class:"categories"},nt={class:"headline"},ut={key:3},At=fe({__name:"[slug]",async setup($){var B,D,F,H,Z,E,R,V,j,K,U,G,Y,J,O;let a,g;const h=Le(),{isMobile:f}=we(h),n=Pe(),{locale:l,t:c}=Ae(),e=ge();if(n.params.slug===c("urls.press-kits")){const{data:r,error:p}=([a,g]=x(()=>N("press-kit-page",()=>Ne.getRepository(q()).getPressKitPageData(l.value),{watch:[l]})),a=await a,g(),a);if(!r.value||!r.value.title)throw ue({statusCode:404,statusMessage:"Page Not Found"});p.value&&console.error(p.value),e.value=r.value}else{const{data:r,error:p}=([a,g]=x(()=>N("press",()=>Ge.getRepository(q()).getPressData(n.params.slug,l.value),{watch:[l]})),a=await a,g(),a);if(!r.value||!r.value.title)throw ue({statusCode:404,statusMessage:"Page Not Found"});p.value&&console.error(p.value),e.value=r.value}l.value==="de"?ce.locale("de"):ce.locale("en");const _=r=>{const p=new Date(r),A=p.getDate(),S=p.getMonth()+1,T=p.getFullYear();return`${A}.${S}.${T}`},v=ge([]),{data:z}=([a,g]=x(()=>N("press-teaser",()=>Ee.getRepository(q()).getSomeAndExclude(null,null,null,["press"],null,null,n.params.slug,3,0,null,l.value),{watch:[l]})),a=await a,g(),a);return z.value&&z.value.hits&&(v.value=z.value.hits),je({title:`${_e(e==null?void 0:e.value.title)} - Zeppelin Museum`,ogTitle:((D=(B=e==null?void 0:e.value)==null?void 0:B.seo)==null?void 0:D.title)||_e(e==null?void 0:e.value.title),description:(H=(F=e==null?void 0:e.value)==null?void 0:F.seo)==null?void 0:H.description,ogDescription:(E=(Z=e==null?void 0:e.value)==null?void 0:Z.seo)==null?void 0:E.description,ogImage:((K=(j=(V=(R=e==null?void 0:e.value)==null?void 0:R.teaserImage)==null?void 0:V.data)==null?void 0:j.attributes)==null?void 0:K.url)??((O=(J=(Y=(G=(U=e==null?void 0:e.value)==null?void 0:U.teaserImage)==null?void 0:G.media)==null?void 0:Y.data)==null?void 0:J.attributes)==null?void 0:O.url)??void 0}),Se(()=>Ke(Te(),e,l,{de:"/presse",en:"/en/press"})),(r,p)=>{var A,S,T,Q,W,X,ee,te,se,ae,re,oe,le;return t(n).params.slug===r.$t("urls.press-kits")?(s(),d("main",rt,[P(Ie,{title:t(e).title,"show-border-bottom":!0},de({_:2},[t(e).signLanguageLink||t(e).simpleLanguageLink?{name:"bottomLeft",fn:m(()=>[t(e).signLanguageLink?(s(),u(b,{key:0,url:t(e).signLanguageLink,theme:"black",size:"small"},{default:m(()=>[L(k(r.$t("accessibility.signLanguage")),1)]),_:1},8,["url"])):o("",!0),t(e).simpleLanguageLink?(s(),u(b,{key:1,url:t(e).simpleLanguageLink,theme:"black",size:"small"},{default:m(()=>[L(k(r.$t("accessibility.simpleLanguage")),1)]),_:1},8,["url"])):o("",!0)]),key:"0"}:void 0]),1032,["title"]),((A=t(e).pressKits)==null?void 0:A.length)>0?(s(),d("div",ot,[(s(!0),d(C,null,M(t(e).pressKits,i=>
1(s(),u(qe,{key:i.title,title:i.title,text:i.text,"download-items":i.downloadItems},null,8,["title","text","download-items"]))),128))])):o("",!0),t(e).contactCard?(s(),u(he,Ce(me({key:1},t(e).contactCard)),null,16)):o("",!0),(Q=(T=(S=t(e).pageTeaser)==null?void 0:S.data)==null?void 0:T.attributes)!=null&&Q.slug?(s(),u(He,{key:2,slug:t(e).pageTeaser.data.attributes.slug},null,8,["slug"])):o("",!0),(ee=(X=(W=t(e).highlightTeaser)==null?void 0:W.data)==null?void 0:X.attributes)!=null&&ee.slug?(s(),u(pe,{key:3,slug:t(e).highlightTeaser.data.attributes.slug},null,8,["slug"])):o("",!0)])):(s(),d("main",lt,[P(at,{title:t(e).title,"seasonal-color-required":t(e).seasonalColorRequired},de({_:2},[t(e).publishingDate?{name:"topLeft",fn:m(()=>[p[0]||(p[0]=y("span",{class:"time-icon"},null,-1)),y("p",null,k(_(t(e).publishingDate)),1)]),key:"0"}:void 0,((se=(te=t(e).categories)==null?void 0:te.data)==null?void 0:se.length)>0?{name:"topRight",fn:m(()=>{var i;return[y("div",it,[(s(!0),d(C,null,M((i=t(e).categories)==null?void 0:i.data,w=>(s(),u(Me,{key:w.slug,text:w.attributes.title},null,8,["text"]))),128))])]}),key:"1"}:void 0,t(e).signLanguageLink||t(e).simpleLanguageLink?{name:"bottomLeft",fn:m(()=>[t(e).signLanguageLink?(s(),u(b,{key:0,url:t(e).signLanguageLink,theme:"black",size:"small"},{default:m(()=>[L(k(r.$t("accessibility.signLanguage")),1)]),_:1},8,["url"])):o("",!0),t(e).simpleLanguageLink?(s(),u(b,{key:1,url:t(e).simpleLanguageLink,theme:"black",size:"small"},{default:m(()=>[L(k(r.$t("accessibility.simpleLanguage")),1)]),_:1},8,["url"])):o("",!0)]),key:"2"}:void 0,t(e).teaserImage||t(e).intro?{name:"subHeader",fn:m(()=>[P(Fe,{image:t(e).teaserImage,intro:t(e).intro},null,8,["image","intro"])]),key:"3"}:void 0]),1032,["title","seasonal-color-required"]),t(e).dynamicArea&&t(e).dynamicArea.length>0?(s(),u(Be,{key:0,components:t(e).dynamicArea},null,8,["components"])):o("",!0),t(e).downloadItems&&t(e).downloadItems.length>0?(s(),u(De,{key:1,title:"Downloads","hide-title":!0,downloads:t(e).downloadItems},null,8,["downloads"])):o("",!0),t(v).length>0?(s(),u(Ze,{key:2,class:"--second-teaser-list"},{default:m(()=>[y("div",nt,[y("h2",null,k(r.$t("teaser-list.title.press")),1),t(f)?o("",!0):(s(),u(b,{key:0,url:`/${r.$t("urls.press")}`,theme:"black"},{default:m(()=>[L(k(r.$t("button.showAll")),1)]),_:1},8,["url"]))]),t(f)?(s(),u(b,{key:0,url:`/${r.$t("urls.press")}`,theme:"black"},{default:m(()=>[L(k(r.$t("button.showAll")),1)]),_:1},8,["url"])):o("",!0),t(v).length>0?(s(),u(Re,{key:1,id:"press_teaser"},{default:m(()=>[(s(!0),d(C,null,M(t(v),i=>{var w;return s(),d("li",{key:i.slug},[P(Ve,{headline:i.title,url:t(xe)(i,t(c)),"unix-date":i.publishingDate,tags:t(ze)(i),image:(w=i.teaserImage)==null?void 0:w.media,"intro-text":i.intro},null,8,["headline","url","unix-date","tags","image","intro-text"])])}),128))]),_:1})):o("",!0)]),_:1})):o("",!0),((ae=t(e).contactCards)==null?void 0:ae.length)>0?(s(),d("div",ut,[(s(!0),d(C,null,M(t(e).contactCards,i=>(s(),u(he,me({key:i.title},{ref_for:!0},i),null,16))),128))])):o("",!0),(le=(oe=(re=t(e).highlightTeaser)==null?void 0:re.data)==null?void 0:oe.attributes)!=null&&le.slug?(s(),u(pe,{key:4,slug:t(e).highlightTeaser.data.attributes.slug},null,8,["slug"])):o("",!0)]))}}});
1export{At 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.