1import{_ as de}from"./fDRy0GRi.js";import{P as me}from"./d4eZBFee.js";import{d as P,c as l,e as m,f as n,i as b,n as D,af as fe,ag as _e,F as E,l as K,k as T,au as ge,v as X,aB as he,m as J,j as W,W as we,I as U,r as y,o as z,a0 as q,K as h,g as w,ah as N,P as G,as as ee,s as ve,u as te,x as Ce,aR as ke,w as F,t as ne,_ as be,h as O,bx as ye,y as Se,U as Me,a as Le,p as Te,q as xe,A as Ae}from"./wGaC-Zcn.js";import{I as Pe}from"./BNtEnZFM.js";import{u as Ie}from"./D7kGe9cI.js";import{u as Ve}from"./BXxprRQZ.js";import{u as $e}from"./C2CcVVBo.js";import{u as Be}from"./De38Vd6V.js";const Ue={class:"u-footer font-set-3"},He={class:"u-footer__left"},De={class:"logowrapper"},Ee={class:"u-footer__right"},Fe={key:0,class:"u-footer__social-icons"},Oe=["href","title"],ze={key:0,class:"u-footer__social-icon",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ne={key:1,class:"u-footer__social-icon",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},je={key:2,class:"u-footer__social-icon",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze={key:3,class:"u-footer__social-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Re=["href"],Ke={class:"u-footer__sub-nav"},We=["href"],Je=P({__name:"Footer",props:{footernav:{},privacyManagerId:{},sourcePublication:{},isScrolledPastHeader:{type:Boolean},socialMoreLink:{},socialMedia:{}},setup(_){const t=_;function f(){window._sp_.gdpr.loadPrivacyManagerModal(t.privacyManagerId,"vendors")}function a(){const e=i(),o=s();return e.hasOwnProperty(o)?e[o]:void 0}function s(){const e=he().pathname.split("/").filter(g=>g!=="");return e[e.length-1]}function i(){return J()?.socialMappings}function r(e){return e.includes("facebook")&&a()!==void 0?a():e}return(e,o)=>{const g=de;return l(),m("footer",Ue,[n("div",He,[n("div",De,[b(me,{class:D(["u-footer__logo",e.sourcePublication]),"source-publication":e.sourcePublication,isScrolledPastHeader:e.isScrolledPastHeader},null,8,["source-publication","class","isScrolledPastHeader"])]),b(g,fe(_e(e.copyright)),null,16)]),n("div",Ee,[t.socialMedia&&Object.keys(t.socialMedia).length>0?(l(),m("div",Fe,[(l(!0),m(E,null,K(t.socialMedia,(c,u)=>(l(),m("a",{key:u,href:r(c.url),class:D(`u-footer__social-link u-footer__social-link--${u}`),target:"_blank",rel:"noopener noreferrer",title:c.text},[u==="instagram"?(l(),m("svg",ze,o[0]||(o[0]=[n("path",{d:"M2.92847 12.5957C2.92847 8.1177 2.92847 5.8777 4.31947 4.4867C5.71047 3.0957 7.94947 3.0957 12.4285 3.0957C16.9065 3.0957 19.1465 3.0957 20.5375 4.4867C21.9285 5.8777 21.9285 8.1167 21.9285 12.5957C21.9285 17.0737 21.9285 19.3137 20.5375 20.7047C19.1465 22.0957 16.9075 22.0957 12.4285 22.0957C7.95047 22.0957 5.71047 22.0957 4.31947 20.7047C2.92847 19.3137 2.92847 17.0747 2.92847 12.5957Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n("path",{d:"M17.9365 7.0957H17.9265M16.9285 12.5957C16.9285 13.7892 16.4544 14.9338 15.6104 15.7777C14.7665 16.6216 13.6219 17.0957 12.4285 17.0957C11.235 17.0957 10.0904 16.6216 9.24649 15.7777C8.40257 14.9338 7.92847 13.7892 7.92847 12.5957C7.92847 11.4022 8.40257 10.2576 9.24649 9.41372C10.0904 8.56981 11.235 8.0957 12.4285 8.0957C13.6219 8.0957 14.7665 8.56981 15.6104 9.41372C16.4544 10.2576 16.9285 11.4022 16.9285 12.5957Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u==="facebook"?(l(),m("svg",Ne,o[1]||(o[1]=[n("path",{d:"M17.4285 2.5957H14.4285C13.1024 2.5957 11.8306 3.12249 10.8929 4.06017C9.95525 4.99785 9.42847 6.26962 9.42847 7.5957V10.5957H6.42847V14.5957H9.42847V22.5957H13.4285V14.5957H16.4285L17.4285 10.5957H13.4285V7.5957C13.4285 7.33049 13.5338 7.07613 13.7214 6.8886C13.9089 6.70106 14.1633 6.5957 14.4285 6.5957H17.4285V2.5957Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):u==="tiktok"?(l(),m("svg",je,o[2]||(o[2]=[n("path",{d:"M17.2408 6.62005C16.5574 5.83958 16.1807 4.83745 16.1808 3.80005H13.0908V16.2C13.0674 16.8712 12.7843 17.5071 12.3011 17.9735C11.8179 18.44 11.1724 18.7005 10.5008 18.7C9.08078 18.7 7.90078 17.54 7.90078 16.1C7.90078 14.38 9.56078 13.09 11.2708 13.62V10.46C7.82078 10 4.80078 12.68 4.80078 16.1C4.80078 19.43 7.56078 21.8 10.4908 21.8C13.6308 21.8 16.1808 19.25 16.1808 16.1V9.81005C17.4338 10.7099 18.9381 11.1927 20.4808 11.19V8.10005C20.4808 8.10005 18.6008 8.19005 17.2408 6.62005Z",fill:"currentColor"},null,-1)]))):u==="whatsapp"?(l(),m("svg",Ze,o[3]||(o[3]=[n("path",{d:"M12.0408 2.00005C6.58078 2.00005 2.13078 6.45005 2.13078 11.9101C2.13078 13.6601 2.59078 15.3601 3.45078 16.8601L2.05078 22.0001L7.30078 20.6201C8.75078 21.4101 10.3808 21.8301 12.0408 21.8301C17.5008 21.8301 21.9508 17.3801 21.9508 11.9201C21.9508 9.27005 20.9208 6.78005 19.0508 4.91005C18.1338 3.98416 17.0418 3.25002 15.8383 2.75042C14.6348 2.25081 13.3439 1.99574 12.0408 2.00005ZM12.0508 3.67005C14.2508 3.67005 16.3108 4.53005 17.8708 6.09005C18.6362 6.85557 19.243 7.76457 19.6566 8.76497C20.0701 9.76538 20.2822 10.8375 20.2808 11.9201C20.2808 16.4601 16.5808 20.1501 12.0408 20.1501C10.5608 20.1501 9.11078 19.7601 7.85078 19.0001L7.55078 18.8301L4.43078 19.6501L5.26078 16.6101L5.06078 16.2901C4.23533 14.9785 3.79845 13.4598 3.80078 11.9101C3.81078 7.37005 7.50078 3.67005 12.0508 3.67005ZM8.53078 7.33005C8.37078 7.33005 8.10078 7.39005 7.87078 7.64005C7.65078 7.89005 7.00078 8.50005 7.00078 9.71005C7.00078 10.9301 7.89078 12.1001 8.00078 12.2701C8.14078 12.4401 9.76078 14.9401 12.2508 16.0001C12.8408 16.2701 13.3008 16.4201 13.6608 16.5301C14.2508 16.7201 14.7908 16.6901 15.2208 16.6301C15.7008 16.5601 16.6808 16.0301 16.8908 15.4501C17.1008 14.8701 17.1008 14.3801 17.0408 14.2701C16.9708 14.1701 16.8108 14.1101 16.5608 14.0001C16.3108 13.8601 15.0908
113.2601 14.8708 13.1801C14.6408 13.1001 14.5008 13.0601 14.3108 13.3001C14.1508 13.5501 13.6708 14.1101 13.5308 14.2701C13.3808 14.4401 13.2408 14.4601 13.0008 14.3401C12.7408 14.2101 11.9408 13.9501 11.0008 13.1101C10.2608 12.4501 9.77078 11.6401 9.62078 11.3901C9.50078 11.1501 9.61078 11.0001 9.73078 10.8901C9.84078 10.7801 10.0008 10.6001 10.1008 10.4501C10.2308 10.3101 10.2708 10.2001 10.3508 10.0401C10.4308 9.87005 10.3908 9.73005 10.3308 9.61005C10.2708 9.50005 9.77078 8.26005 9.56078 7.77005C9.36078 7.29005 9.16078 7.35005 9.00078 7.34005C8.86078 7.34005 8.70078 7.33005 8.53078 7.33005Z",fill:"currentColor"},null,-1)]))):T("",!0)],10,Oe))),128)),t.socialMoreLink?(l(),m("a",{key:0,href:t.socialMoreLink,class:"u-footer__social-link u-footer__social-general pt-1",title:"Wo Sie uns noch folgen können",target:"_blank",rel:"noopener noreferrer"},o[4]||(o[4]=[ge('<svg class="u-footer__social-icon" width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_6096_1176" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="0" y="0" width="25" height="25"><rect width="25" height="25" fill="currentColor"></rect></mask><g mask="url(#mask0_6096_1176)"><path d="M12.0017 21.5C10.6877 21.5 9.45267 21.2507 8.2965 20.752C7.14033 20.2533 6.13467 19.5766 5.2795 18.7218C4.42433 17.8669 3.74725 16.8617 3.24825 15.706C2.74942 14.5503 2.5 13.3156 2.5 12.0017C2.5 10.6877 2.74933 9.45267 3.248 8.2965C3.74667 7.14033 4.42342 6.13467 5.27825 5.2795C6.13308 4.42433 7.13833 3.74725 8.294 3.24825C9.44967 2.74942 10.6844 2.5 11.9983 2.5C13.3123 2.5 14.5473 2.74933 15.7035 3.248C16.8597 3.74667 17.8653 4.42342 18.7205 5.27825C19.5757 6.13308 20.2528 7.13833 20.7518 8.294C21.2506 9.44967 21.5 10.6844 21.5 11.9983C21.5 13.3123 21.2507 14.5473 20.752 15.7035C20.2533 16.8597 19.5766 17.8653 18.7218 18.7205C17.8669 19.5757 16.8617 20.2528 15.706 20.7518C14.5503 21.2506 13.3156 21.5 12.0017 21.5ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 11.8833 19.9974 11.7641 19.9923 11.6423C19.9871 11.5204 19.9813 11.4115 19.975 11.3155C19.9108 11.7795 19.7098 12.1634 19.372 12.4672C19.0343 12.7711 18.6283 12.923 18.1538 12.923H15.8845C15.3768 12.923 14.9422 12.7424 14.5807 12.3813C14.2192 12.0199 14.0385 11.5856 14.0385 11.0782V10.1557H10.3463V8.311C10.3463 7.80367 10.527 7.36858 10.8885 7.00575C11.25 6.64292 11.6846 6.4615 12.1923 6.4615H13.1155V6.077C13.1155 5.64233 13.2469 5.28233 13.5098 4.997C13.7724 4.71183 14.0891 4.51283 14.4598 4.4C14.0686 4.27183 13.6698 4.17308 13.2635 4.10375C12.8572 4.03458 12.436 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12V12.1442C4 12.1891 4.00317 12.2372 4.0095 12.2885H8.75C9.773 12.2885 10.6442 12.6481 11.3635 13.3673C12.0827 14.0866 12.4423 14.9563 12.4423 15.9765V16.9038H9.673V19.6443C10.0448 19.7596 10.4237 19.8478 10.8095 19.9088C11.1955 19.9696 11.5923 20 12 20Z" fill="currentColor"></path></g></svg> Wo Sie uns noch folgen können ',2)]),8,Re)):T("",!0)])):T("",!0),n("ul",Ke,[n("li",null,[n("a",{href:`javascript:window._sp_.gdpr.loadPrivacyManagerModal(${t.privacyManagerId}, 'vendors')`,onClick:f},"Privatsphäre",8,We)]),e.footernav?(l(!0),m(E,{key:0},K(e.footernav,c=>(l(),m("li",{key:c.url},[b(g,X({ref_for:!0},c),null,16)]))),128)):T("",!0)])])])}}}),qe=Object.assign(Je,{__name:"OrganismsFooter"}),Ge={class:"navigation"},Qe={class:"navigation__list"},Ye=P({__name:"Navigation",props:{items:{default:()=>[]}},setup(_){const t=_;return(f,a)=>(l(),m("nav",Ge,[n("ul",Qe,[(l(!0),m(E,null,K(t.items,s=>(l(),m("li",{key:s.key,class:"navigation__list-item"},[(l(),W(we(s.component),X({ref_for:!0},s.props),null,16))]))),128))])]))}}),Xe=Object.assign(U(Ye,[["__scopeId","data-v-5df801b7"]]),{__name:"TwipeNavigation"}),et=()=>{const _=y(!1),t="/",f=400,a=c=>{if(!c)return"/";const u=c.replace(/\/+$/,"");return u===""?"/":u},s=c=>{const u=window.history.state?.current??"",p=a(window.location.pathname),v=a(u);return p===c||v===c},i=()=>
1{if(!document?.referrer)return!1;try{return new URL(document.referrer).origin===window.location.origin}catch{return!1}},r=()=>{if(!i())return null;const c=new URL(document.referrer);return a(c.pathname||"/")},e=()=>{const c=window.history.state?.back;return typeof c=="string"&&c.length>0},o=()=>{_.value=e()||i()},g=()=>{const c=a(window.location.pathname),u=a(t),p=r(),v=p??t;if(s(u)){window.location.reload();return}if(!e()&&!p){window.location.assign(t);return}let M=!1;const I=c,x=()=>{M=!0,window.removeEventListener("popstate",x),setTimeout(()=>{s(u)&&window.location.reload()},50)};window.addEventListener("popstate",x),window.history.back(),setTimeout(()=>{if(window.removeEventListener("popstate",x),M)return;a(window.location.pathname)===I&&window.location.assign(v)},f)};return z(()=>{o(),window.addEventListener("popstate",o)}),q(()=>{window.removeEventListener("popstate",o)}),{canNavigateBack:_,handlePrimaryNavigation:g}},tt={},nt={width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ot(_,t){return l(),m("svg",nt,t[0]||(t[0]=[n("mask",{id:"mask0_288_3625",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"30",height:"30"},[n("rect",{width:"30",height:"30",fill:"#D9D9D9"})],-1),n("g",{mask:"url(#mask0_288_3625)"},[n("path",{d:"M17.5 22.0672L10.4329 15.0001L17.5 7.93286L18.8172 9.25005L13.0672 15.0001L18.8172 20.75L17.5 22.0672Z",fill:"#1C1B1F"})],-1)]))}const at=Object.assign(U(tt,[["render",ot]]),{__name:"TwipeMenuIconsChevron"}),st=["aria-label"],it={"aria-hidden":"true",class:"navigation__icon"},rt=P({__name:"Navigate",setup(_){const{handlePrimaryNavigation:t}=et(),f=h(()=>"Zurück");return(a,s)=>(l(),m("button",{"aria-label":w(f),class:"navigation__button",type:"button",onClick:s[0]||(s[0]=(...i)=>w(t)&&w(t)(...i))},[n("span",it,[b(at)])],8,st))}}),lt=Object.assign(rt,{__name:"TwipeMenuItemsNavigate"}),ct={},ut={width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function pt(_,t){return l(),m("svg",ut,t[0]||(t[0]=[n("mask",{id:"mask0_288_3613",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"30",height:"30"},[n("rect",{width:"30",height:"30",fill:"#D9D9D9"})],-1),n("g",{mask:"url(#mask0_288_3613)"},[n("path",{d:"M6.875 25.3125V6.63469C6.875 6.00323 7.09375 5.46875 7.53125 5.03125C7.96875 4.59375 8.50323 4.375 9.13469 4.375H20.8653C21.4968 4.375 22.0312 4.59375 22.4688 5.03125C22.9062 5.46875 23.125 6.00323 23.125 6.63469V25.3125L15 21.8269L6.875 25.3125ZM8.75 22.4375L15 19.75L21.25 22.4375V6.63469C21.25 6.53844 21.2099 6.45031 21.1297 6.37031C21.0497 6.2901 20.9616 6.25 20.8653 6.25H9.13469C9.03844 6.25 8.95031 6.2901 8.87031 6.37031C8.7901 6.45031 8.75 6.53844 8.75 6.63469V22.4375Z",fill:"#333333"})],-1)]))}const dt=Object.assign(U(ct,[["render",pt]]),{__name:"TwipeMenuIconsBookmark"}),mt=["aria-label"],ft={"aria-hidden":"true",class:"navigation__icon"},_t=P({__name:"Bookmark",props:{label:{default:"Artikel merken"}}
1,setup(_){const t=_,f=N(),a=G(),s=h(()=>a.isAuthenticated),i=y(!1),r=h(()=>i.value?"Von der Merkliste entfernen":t.label??"Zur Merkliste hinzufügen"),e=h(()=>f.getSystemdata?.documentId),o=u=>{const p={state:u,id:e.value,title:f.getMetadata?.title,subtitle:f.getMetadata?.overline,place:f.getMetadata?.place,url:f.getUrl};document.body.dispatchEvent(new CustomEvent("bookmark-article",{detail:p}))},g=()=>{if(s.value){i.value||(document.body.dispatchEvent(new CustomEvent("bookmark-added")),document.body.dispatchEvent(new CustomEvent("avo-bookmark-added",{detail:{articleId:e.value}})));const u=!i.value;i.value=u,o(u)}else o(!i.value)},c=u=>{const p=parseInt(e.value?.toString()||"-1");i.value=u.detail.includes(p)};return z(()=>{document.body.addEventListener("update-bookmarks",c),document.body.dispatchEvent(new CustomEvent("bookmark-mounted"))}),ee(()=>{document.body.removeEventListener("update-bookmarks",c)}),(u,p)=>(l(),m("button",{"aria-label":w(r),class:D([[w(i)&&"is-active"],"navigation__button"]),type:"button",onClick:ve(g,["stop","prevent"])},[n("span",ft,[b(dt)])],10,mt))}}),gt=Object.assign(_t,{__name:"TwipeMenuItemsBookmark"}),ht={},wt={width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function vt(_,t){return l(),m("svg",wt,t[0]||(t[0]=[n("mask",{id:"mask0_288_3602",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"30",height:"30"},[n("rect",{width:"30",height:"30",fill:"#D9D9D9"})],-1),n("g",{mask:"url(#mask0_288_3602)"},[n("path",{d:"M17.548 25.1368V23.1993C19.3509 22.6257 20.8032 21.5841 21.9049 20.0743C23.0068 18.5647 23.5577 16.8628 23.5577 14.9687C23.5577 13.0745 23.0068 11.3726 21.9049 9.86304C20.8032 8.35325 19.3509 7.31158 17.548 6.73804V4.80054C19.8749 5.42387 21.7707 6.67304 23.2355 8.54804C24.7001 10.423 25.4324 12.5632 25.4324 14.9687C25.4324 17.3741 24.7001 19.5143 23.2355 21.3893C21.7707 23.2643 19.8749 24.5135 17.548 25.1368ZM4.56738 18.1249V11.8749H9.20676L14.5671 6.5146V23.4852L9.20676 18.1249H4.56738ZM17.548 19.5671V10.3702C18.3909 10.8286 19.0424 11.474 19.5024 12.3065C19.9622 13.139 20.1921 14.0368 20.1921 14.9999C20.1921 15.9501 19.9601 16.8343 19.4961 17.6524C19.0322 18.4705 18.3828 19.1088 17.548 19.5671ZM12.6921 11.0624L10.0046 13.7499H6.44207V16.2499H10.0046L12.6921 18.9374V11.0624Z",fill:"currentColor"})],-1)]))}const Q=Object.assign(U(ht,[["render",vt]]),{__name:"TwipeMenuIconsLoudspeaker"}),Ct=["aria-label"],kt={"aria-hidden":"true",class:"navigation__icon"},bt={class:"u-app-tts-regwall__icon"},yt={key:0},St={class:"font-set-8 d-block mt-6 text-center"},Mt={key:1},Lt={key:2,class:"font-set-2-bold d-block text-center mt-3"},Tt={key:0,role:"alert",class:"u-app-tts-fallback-banner"},xt="/registrierung/app",At=P({__name:"Podcast",props:{label:{default:"Podcast"}},setup(_){const t=_,f=te(),a=h(()=>f==="twipe"),s=G(),i=h(()=>s.isAuthenticated),r=h(()=>!!s.purchaseToken),e=h(()=>s?.sdkReady),{hasInAppPurchase:o}=Ie(),g=Ce(),c=y("anonymous"),u=y(!1);g?.userType&&(c.value=g.userType,(c.value==="premium"||c.value==="internal")&&(u.value=!0));const p=h(()=>o.value||u.value||r.value),v=J(),M=v?.twipeAppConfig?.paywall_sku,I=v?.twipeAppConfig?.paywall_bannerUri,x=y(!1),V=h(()=>i.value?"paywall":"regwall"),j=Ve(),A=N(),$=y(!1),C=h(()=>A.getSystemdata?.documentId?.toString()),B=ke("twipe-article-audio-cache",()=>({})),H=y(!1),oe=()=>{if(!e.value){console.warn("TwipeAppSDK not available â probably not injected.");return}window?.TwipeAppSDK?.paywall?.triggerLogin?.()},ae=()=>{if(!e.value){console.warn("TwipeAppSDK not available â probably not injected.");return}window?.TwipeAppSDK?.paywall?.show?.({products:[],subscriptions:M,bannerUri:I})},se=k=>`${Se().baseUrl}/api/tts/article/${k}/mp3`,ie=k=>({id:`article-${C.value??"unknown"}`,url:k,title:A.getMetadata?.title??"Podcast",artist:A.getMetadata?.overline??"SWP",album:A.getMetadata?.title??"Artikel"}),re=async()=>{if(!a.value||H.value)return!1;if(!p.value){x.value=!0;return}const k=globalThis?.TwipeAppSDK,d=k?.audioPlayer?.setQueue,S=k?.audioPlayer?.play;if(typeof S=="function"&&typeof d=="function"){H.value=!0;try{const L=await le();return L?(d([ie(L)]),S(),!0):($.value=!0,!1)}finally{H.value=!1}}else return console.warn("TwipeAppSDK audioPlayer not available"),!1},le=async()=>{const k=C.value;if(!k)return console.warn("Keine Artikel-ID gefunden, Banner wird genutzt."),null;const d=await ce(k);return d?(console.info("Audio-Datei gefunden, Wiedergabe wird gestartet."),d):(console.warn("Keine Audio-Datei gefunden, Banner wird genutzt."),null)},ce=async k=>{const d=B.value[k];if(d)return d;const S=se(k);try{const L=await fetch(S);return L.ok||L.status===405?(B.value[k]=S,S):(console.warn("Audio-Datei nicht gefunden:",{status:L.status,url:S}),null)}catch(L){return console.error("Fehler beim Ermitteln der Audio-URL:",L),null}};return(k,d)=>{const S=be,L=ye,ue=Pe;return l(),m(E,null,[n("button",{"aria-label":t.label,class:"navigation__button",type:"button",onClick:re},[n("span",kt,[b(Q)])],8,Ct),b(L,{show:w(x),width:"50rem",class:"u-tts-login-modal",onClose:d[0]||(d[0]=pe=>x.value=!1)},{default:F(()=>[n("span",bt,[b(Q)]),w(V)==="paywall"?(l(),m("div",yt,[n("span",St,"Jetzt anhören mit "+ne(w(j)),1),d[3]||(d[3]=n("span",{class:"font-set-3 d-block mt-3 text-center"}
1," SchlieÃen Sie ein Abo ab, um diesen Artikel anzuhören. ",-1)),b(S,{big:!0,class:"mt-10 d-block mx-auto px-10",type:"button",version:"primary",onClick:ae},{default:F(()=>d[2]||(d[2]=[O(" Jetzt anhören ")])),_:1})])):T("",!0),w(V)==="regwall"?(l(),m("div",Mt,[d[5]||(d[5]=n("span",{class:"font-set-8 d-block mt-6 text-center"},"Audiofunktion nutzen",-1)),d[6]||(d[6]=n("span",{class:"font-set-3 d-block mt-3 text-center"}," Jetzt kostenlos registrieren und anschlieÃend ein Abo abschlieÃen, um diese Funktion nutzen zu können. ",-1)),b(S,{big:!0,url:xt,class:"mt-10 d-block mx-auto px-10 u-app-tts-regwall__reg-button",type:"button",version:"primary"},{default:F(()=>d[4]||(d[4]=[O(" Jetzt registrieren ")])),_:1})])):T("",!0),w(V)==="regwall"?(l(),m("span",Lt,[d[8]||(d[8]=O(" Bereits Abonnent? ")),b(S,{class:"text-center u-app-tts-regwall__login-button",version:"link",onClick:oe},{default:F(()=>d[7]||(d[7]=[O("Jetzt anmelden ")])),_:1})])):T("",!0)]),_:1},8,["show"]),w($)?(l(),m("div",Tt,[d[9]||(d[9]=n("div",{class:"u-app-tts-fallback-banner__content"},[n("span",{class:"u-app-tts-fallback-banner__headline"},"Audiofunktion ist derzeit nicht verfügbar."),n("span",null,"Dieser Artikel kann momentan nicht vorgelesen werden. Wir arbeiten daran, die Funktion bald wieder bereitzustellen.")],-1)),n("button",{type:"button",class:"u-app-tts-fallback-banner__close","aria-label":"Banner schlieÃen",onClick:d[1]||(d[1]=pe=>$.value=!1)},[b(ue)])])):T("",!0)],64)}}}),Pt=Object.assign(U(At,[["__scopeId","data-v-db05b6a0"]]),{__name:"TwipeMenuItemsPodcast"}),It={};function Vt(_,t){return l(),m("svg",{class:D(_.classname),width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t[0]||(t[0]=[n("mask",{id:"mask0_141_5875",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"30",height:"30"},[n("rect",{width:"30",height:"30",fill:"#D9D9D9"})],-1),n("g",{mask:"url(#mask0_141_5875)"},[n("path",{d:"M7.88469 28.125C7.25323 28.125 6.71875 27.9063 6.28125 27.4688C5.84375 27.0313 5.625 26.4968 5.625 25.8654V12.8847C5.625 12.2533 5.84375 11.7188 6.28125 11.2813C6.71875 10.8438 7.25323 10.625 7.88469 10.625H11.0816V12.5H7.88469C7.78844 12.5 7.70031 12.5402 7.62031 12.6204C7.5401 12.7004 7.5 12.7885 7.5 12.8847V25.8654C7.5 25.9616 7.5401 26.0497 7.62031 26.1297C7.70031 26.2099 7.78844 26.25 7.88469 26.25H22.1153C22.2116 26.25 22.2997 26.2099 22.3797 26.1297C22.4599 26.0497 22.5 25.9616 22.5 25.8654V12.8847C22.5 12.7885 22.4599 12.7004 22.3797 12.6204C22.2997 12.5402 22.2116 12.5 22.1153 12.5H18.9184V10.625H22.1153C22.7468 10.625 23.2812 10.8438 23.7188 11.2813C24.1562 11.7188 24.375 12.2533 24.375 12.8847V25.8654C24.375 26.4968 24.1562 27.0313 23.7188 27.4688C23.2812 27.9063 22.7468 28.125 22.1153 28.125H7.88469ZM14.0625 19.6875V5.89911L11.75 8.21161L10.4328 6.87505L15 2.30786L19.5672 6.87505L18.25 8.21161L15.9375 5.89911V19.6875H14.0625Z",fill:"#333333"})],-1)]),2)}const $t=Object.assign(U(It,[["render",Vt]]),{__name:"TwipeMenuIconsShare"}),Bt=["aria-label","disabled"],Ut={"aria-hidden":"true",class:"navigation__icon"},Ht={"aria-live":"polite",class:"visually-hidden"},Dt=P({__name:"Share",props:{label:{default:"Teilen"}},setup(_){const t=_,f=N(),a=y("idle"),s=y(null),i=()=>{const p=f.getUrl||window.location?.pathname;return window.location?.origin?new URL(p,window.location.origin).toString():p},r=h(()=>({title:f.getMetadata?.title||document.title,message:f.getMetadata?.overline||"",url:i()})),e=h(()=>a.value==="sharing"?"Teilen...":a.value==="shared"?"Geteilt!":t.label),o=h(()=>a.value==="sharing"),g=p=>{document.body.dispatchEvent(new CustomEvent("twipe-share",{detail:{success:p,url:r.value.url}}))},c=async p=>{try{return await navigator.clipboard?.writeText(p),!0}catch(v){return console.error("Share failed:",v),!1}},u=async()=>{if(o.value)return;const p=r.value;a.value="sharing";try{const v=globalThis?.TwipeAppSDK?.socialSharing?.openSharingDialog;if(typeof v=="function")await v({url:p.url,title:p.title,message:p.message}),a.value="shared",g(!0);else if(navigator.share)await navigator.share({title:p.title,text:p.message,url:p.url}),a.value="shared",g(!0);else{const M=await c(p.url);a.value=M?"shared":"idle",g(M)}}catch(v){a.value="idle",g(!1),console.error("Share failed:",v)}finally{a.value==="shared"&&(s.value&&clearTimeout(s.value),s.value=window.setTimeout(()=>{a.value="idle",s.value=null},2e3))}};return ee(()=>{s.value&&clearTimeout(s.value)}),(p,v)=>(l(),m("button",{"aria-label":w(e),disabled:w(o),class:"navigation__button",type:"button",onClick:u},[n("span",Ut,[b($t)]),n("span",Ht,ne(w(e)),1)],8,Bt))}}),Et=Object.assign(Dt,{__name:"TwipeMenuItemsShare"}),Y=[.5,.75,.83,1,1.25,1.5,2],Z=1,Ft=()=>{let _=16,t,f;const a=i=>{const r=Y.includes(i)?i:Z,e=_*r;document.documentElement.style.fontSize=`${e}px`,e>_&&document.documentElement.style.setProperty("hyphens","auto")},s=({fontScale:i})=>{const r=typeof i=="string"?parseFloat(i):Number(i);if(Number.isFinite(r)){const e=Y.includes(r)?r:Z;if(f===e)return;f=e,console.log("[TWIPE-FontScale] Twipe font scale parsed: "+e),a(r)}};return z(()=>{const i=parseFloat(getComputedStyle(document.documentElement).fontSize);_=Number.isFinite(i)?i:_,a(Z);const r=globalThis?.TwipeAppSDK,e=r?.context?.settings?.fontScale;if(e!==void 0&&s({fontScale:e}),r?.addListener){const o=r.addListener("settings",s);typeof o=="function"&&(t=o)}}),q(()=>{typeof t=="function"&&t()}),{applyScale:a}},Ot={class:"u-footer u-footer--twipe font-set-1"},zt=P({__name:"FooterTwipe",setup(_){const t=h(()=>$e()),f=G(),a=h(()=>!!f.purchaseToken),s=Be();Ft();const i=h(()=>{const r=[{key:"navigate",component:lt},{key:"bookmark",component:gt},{key:"podcast",component:Pt},{key:"share",component:Et}];return t.value?r.filter(e=>e.key!=="bookmark"&&e.key!=="podcast"):a.value?r.filter(e=>e.key!=="bookmark"):s?r:r.filter(e=>e.key!=="podcast")});return(r,e)=>(l(),m("footer",Ot,[b(Xe,{class:D({"navigation--compact":t.value}),items:i.value},null,8,["class","items"])]))}}),Nt=Object.assign(zt,{__name:"OrganismsFooterTwipe"}
1),R="twipe-ios-home-reloaded",jt=P({__name:"FooterWrapper",async setup(_){let t,f;const a=Me(),s=te(),i=s!==!1,r=h(()=>s==="twipe"),e=N(),o=h(()=>e.getType==="article"),g=J(),c=h(()=>g?.socialMoreLink),u=h(()=>{const C=navigator.userAgent||"";return/iPhone|iPad|iPod/i.test(C)}),p=Le(),v=y(!1),M=g?.footerMenuId;let I=y({});if(M){const C=([t,f]=Te(()=>xe("/api/menu/"+M,"$P4EdyE6Khb")),t=await t,f(),t);I.value=C?.data?.value||[]}const x=y(g?.cmp_privacyManagerId),V=h(()=>{const C=g?.socialUrls||[];return{instagram:{text:"Instagram",url:C[1]||""},whatsapp:{text:"WhatsApp",url:C[2]||""},tiktok:{text:"TikTok",url:C[3]||""},facebook:{text:"Facebook",url:C[0]||""}}}),j=()=>{if(!r.value)return!1;console.log("applyTabBarVisibility",{isArticle:o.value,path:a.fullPath});const B=globalThis?.TwipeAppSDK?.navigation?.setTabBarVisibility;return typeof B=="function"?(B(!o.value),!0):(console.warn("TwipeAppSDK navigation.setTabBarVisibility not available"),!1)},A=()=>{!j()&&r.value&&u.value&&!o.value?typeof sessionStorage<"u"&&!sessionStorage.getItem(R)&&(sessionStorage.setItem(R,"1"),window.location.reload()):o.value&&typeof sessionStorage<"u"&&sessionStorage.removeItem(R)},$=()=>{A()};return z(()=>{A(),window.addEventListener("pageshow",$)}),q(()=>{window.removeEventListener("pageshow",$)}),Ae(()=>[o.value,a.fullPath],()=>A(),{immediate:!0}),(C,B)=>{const H=qe;return l(),m(E,null,[!i&&!r.value?(l(),W(H,{key:0,footernav:w(I),privacyManagerId:w(x),"source-publication":w(p),"is-scrolled-past-header":w(v),"social-media":V.value,"social-more-link":c.value},null,8,["footernav","privacyManagerId","source-publication","is-scrolled-past-header","social-media","social-more-link"])):T("",!0),r.value&&o.value?(l(),W(Nt,{key:1})):T("",!0)],64)}}}),Yt=Object.assign(jt,{__name:"FooterWrapper"});export{Yt as _};
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.