PageSourceSearch

https://www.swp.de/static/assets/Bw5Agfv-.js

js swp.de collected 2026-09-24 08:44:39 UTC 2,311 bytes, 1 lines download raw bytes

1import C from"./mkZzzYft.js";import{_ as w}from"./C4d1hAjh.js";import{d as N,ah as F,K as H,ae as P,u as M,c as t,e as s,f as n,j as i,k as r,n as p,i as V,w as h,h as _,t as l,g as o,F as g,l as O,W as $,aS as k,_ as j}from"./wGaC-Zcn.js";const x={class:"u-header__media"},z=["src"],D={key:0,class:"u-header__subline"},E={key:1,class:"u-header__action"},K=N({__name:"FokusHeader",props:{image:{},headline:{},subline:{},context:{},icon:{},colour:{},actions:{default:()=>({})}},setup(f){const c=f,b=F(),y=H(()=>c.context==="audience"&&!!Reflect.ownKeys(c.actions)?.length),d=P({"background-color":c.colour||"#e7e5dd"}),A=["ios-safari","ios-other"].includes(b.getMobileOS),v=M();function I(e){switch(e){case"newsletter":return"AtomsIconEnvelope";case"push":return"AtomsIconNotificationPush";case"podcast":return"AtomsIconHeadphone";case"whatsapp":return"AtomsIconWhatsapp";default:return"AtomsIconNotificationPush"}}return(e,T)=>{const S=C,B=w,m=j;return t(),s("header",{class:p([`u-header--fokus-${e.context}`,"u-header u-header--fokus"]),style:k([e.context==="audience"?o(d):{}])},[n("div",x,[e.image?(t(),i(S,{key:0,caption:e.image?.caption,image:e.image,source:e.image?.source,class:""},null,8,["caption","image","source"])):r("",!0)]),n("div",{style:k([e.context==="briefing"?o(d):{}]),class:"u-header__heading"},[n("img",{class:p([`u-header__heading-icon--${e.context}`,"u-header__heading-icon"]),src:e.icon,alt:""},null,10,z),V(B,{class:"u-header__headline",tag:"h1"},{default:h(()=>[_(l(e.headline),1)]),_:1}),e.subline?(t(),s("p",D,l(e.subline),1)):r("",!0),o(y)?(t(),s("div",E,[(t(!0),s(g,null,O(e.actions,(a,u)=>(t(),s(g,{key:u},[u!=="push"?(t(),i(m,{key:0,"data-tracking":a["data-tracking"],"data-tracking-module-item":a["data-tracking-module-item"],label:a.title,url:a.url,type:"link"},{default:h(()=>[n("span",null,[(t(),i($(I(u))))]),_(" "+l(a.title),1)]),_:2},1032,["data-tracking","data-tracking-module-item","label","url"])):!o(A)&&!o(v)?(t(),i(m,{key:1,"data-topic":a.url,label:a.title,class:"cleverpush-topic-button","data-button-text":"Push-Mitteilungen aktivieren","data-button-text-subscribed":"Push-Mitteilungen aktiviert",type:"button"},null,8,["data-topic","label"])):r("",!0)],64))),128))])):r("",!0)],4)],6)}}}),q=Object.assign(K,{__name:"MoleculesFokusHeader"});export{q 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.