1import{_ as P}from"./DobnDsTf.js";import{_ as R}from"./N5A8hzxa.js";import{_ as H,a as V}from"./DLRpU1Wv.js";import{_ as z}from"./CwUG1q1Z.js";import{_ as F}from"./gqJZTnpB.js";import{_ as j}from"./C1AH7vRj.js";import{_ as E}from"./BNwYj8wM.js";import{d as v,aF as D,u as O,r as N,K as W,o as L,V as G,c as n,e as y,g as r,j as a,v as q,k as _,i,w as o,n as J,M as h,f,H as I,F as Q,a as U,t as X,y as Y,h as b,aE as Z,aA as ee,_ as te,S as ne}from"./wGaC-Zcn.js";import{u as oe}from"./DElT1bP8.js";import"./C8me8Yxg.js";import"./DrE469NJ.js";import"./B7KIGEBT.js";import"./-jdA4pKC.js";import"./CVMx9qG5.js";import"./X9MRHzqW.js";import"./Co1YIp_a.js";import"./BR_rOBzX.js";import"./La00Ijyy.js";import"./BfYqtZUW.js";import"./CPeRe0Bd.js";import"./BehRJDZa.js";import"./DEHJaEqD.js";import"./DIu70L6q.js";import"./sTTMYkzP.js";import"./wBKEM5pJ.js";import"./CotgsRq0.js";import"./2LaCKLr6.js";import"./mkZzzYft.js";import"./BGG3FQIg.js";import"./DtxA6ZXE.js";import"./C2CcVVBo.js";import"./CJUgHS6l.js";import"./BGFod6da.js";import"./B7pRSIFn.js";import"./BFEV7oOG.js";import"./CQK3CvcC.js";import"./DgMihJOi.js";import"./C7IgfJOi.js";import"./DPV69xC8.js";import"./CVbQMhyD.js";import"./DezPDB9o.js";import"./BH07OsSP.js";import"./DceIif45.js";import"./DQzS1Qg_.js";import"./B6cpWjtx.js";import"./MXDd7ACG.js";import"./fDRy0GRi.js";import"./D-cilfWR.js";import"./owJ8q6I1.js";import"./Ddh6Umjf.js";import"./DK2t9tc5.js";import"./O3KBn1aK.js";const se=v({__name:"UserTabs",setup(x){const u=D().vueApp.$clientSideConfig,l=O(),t={EMPFEHLUNGEN:"empfehlungen",MERKLISTE:"merkliste",NEWSLETTER:"newsletter",MEIN_KONTO:"mein-konto"},m=N(null),p=W(()=>({headerline:u.meinBereichHeadline,subline:u.meinBereichSubline}));function e(s){window.location.hash=s}function c(){const s=new URLSearchParams(window.location.search),d=s.get("token")??"",w=s.get("ba_token")??"";return d.startsWith("EC-")&&w.startsWith("BA-")}L(()=>{if(c()){window.location.hash=t.MEIN_KONTO,m.value=t.MEIN_KONTO;return}m.value=window.location.hash.replace("#","")||t.EMPFEHLUNGEN});function T(){const s=location.hash.replace("#","");if(Object.values(t).includes(s)){const d=new CustomEvent("close-nav");document.body.dispatchEvent(d),m.value=s}}return window.onhashchange=T,(s,d)=>{const w=P,B=R,g=V,C=z,M=F,S=j,A=H,K=E,$=I,k=G("track");return n(),y(Q,null,[r(l)?_("",!0):(n(),a(w,q({key:0},r(p),{class:"u-content-width--full"}),null,16)),i($,null,{fallback:o(()=>[f("div",null,[i(K,{class:"mt-10"})])]),default:o(()=>[i(A,{class:J(["u-user-section-tab u-content-width--full mt-7",{"u-user-section-tab-app":r(l)}]),activeTab:r(m),onTabActivated:e},{default:o(()=>[h((n(),a(g,{label:"Empfehlungen",key:t.EMPFEHLUNGEN,class:"background-theme theme-light-blue py-10 px-6"},{default:o(()=>[i(B)]),_:1})),[[k,{label:"mein_xyz_empfehlungen",events:["pageViewed"]}]]),h((n(),a(g,{label:"Merkliste",key:t.MERKLISTE,class:"p-6"},{default:o(()=>[i(C)]),_:1})),[[k,{label:"mein_xyz_merkliste",events:["pageViewed"]}]]),h((n(),a(g,{label:"Newsletter",key:t.NEWSLETTER,class:"py-10 px-6"},{default:o(()=>[i(M)]),_:1})),[[k,{label:"mein_xyz_newsletter",events:["pageViewed"]}]]),h((n(),a(g,{label:"Mein Konto",key:t.MEIN_KONTO,class:"py-10 px-6"},{default:o(()=>[i(S)]),_:1})),[[k,{label:"mein_xyz_konto",events:["pageViewed"]}]])]),_:1},8,["class","activeTab"])]),_:1})],64)}}}),ie=Object.assign(se,{__name:"UserTabs"}),ae={class:"theme-light-blue background-theme u-content-width--full py-7 px-10"},re={class:"text-color-primary font-set-4-bold d-block"},le={key:2,class:"font-set-2-bold d-block text-center mt-3"},pe={key:3,class:"font-set-2-bold d-block text-center mt-3"},me=["src"],ce="/registrierung/app",ue=v({__name:"UserLoggedOutInfo",setup(x){const u=U(),l=N(null),t=O()==="twipe";L(()=>{setTimeout(()=>{l?.value?.$el?.click()},500)});function m(){window?.TwipeAppSDK?.paywall?.triggerLogin?.()}return(p,e)=>{const c=te;return n(),y("section",ae,[f("span",re,X(("usePublicationInfo"in p?p.usePublicationInfo:r(Y))().userPageTitle),1),e[6]||(e[6]=f("span",{class:"font-set-8 d-block"},"Inhalte, die mich interessieren",-1)),e[7]||(e[7]=f("span",{class:"font-set-3 d-block"}
1," Sehen Sie auf einen Blick, was Sie seit Ihrem letzten Besuch verpasst haben und erhalten Sie Artikelempfehlungen passend zu Ihrem Leseverhalten. ",-1)),t?_("",!0):(n(),a(c,{key:0,class:"mt-10 d-block mx-auto px-10",version:"primary",type:"button",big:!0,onClick:"useOpenRegistration"in p?p.useOpenRegistration:r(Z)},{default:o(()=>e[0]||(e[0]=[b(" Kostenlos registrieren ")])),_:1},8,["onClick"])),t?(n(),a(c,{key:1,class:"mt-10 d-block mx-auto px-10",version:"primary",type:"button",big:!0,url:ce},{default:o(()=>e[1]||(e[1]=[b(" Kostenlos registrieren ")])),_:1})):_("",!0),t?_("",!0):(n(),y("span",le,[e[3]||(e[3]=b(" Sie haben bereits ein Konto? ")),i(c,{class:"font-set-2",version:"link",type:"button",onClick:"useOpenLogin"in p?p.useOpenLogin:r(ee),ref_key:"loginButton",ref:l},{default:o(()=>e[2]||(e[2]=[b(" Hier anmelden ")])),_:1},8,["onClick"])])),t?(n(),y("span",pe,[e[5]||(e[5]=b(" Sie haben bereits ein Konto? ")),i(c,{class:"font-set-2",version:"link",type:"button",onClick:m,ref_key:"loginButton",ref:l},{default:o(()=>e[4]||(e[4]=[b(" Hier anmelden ")])),_:1},512)])):_("",!0),f("img",{src:`/static/images/${r(u)}/my-site.svg`,alt:"",role:"presentation",class:"mx-auto mt-10 d-block"},null,8,me)])}}}),_e=Object.assign(ue,{__name:"UserLoggedOutInfo"}),ut=v({__name:"index",setup(x){const u=ne(),l=U(),m=`${["moz","sb"].includes(l)?"Mein":"Meine"} ${l.toUpperCase().replaceAll("T","t")}`;return oe(m),(p,e)=>{const c=ie,T=_e,s=E,d=I;return n(),a(d,null,{fallback:o(()=>[f("div",null,[i(s,{class:"mt-10"})])]),default:o(()=>[r(u)?(n(),a(c,{key:0})):_("",!0),r(u)?_("",!0):(n(),a(T,{key:1}))]),_:1})}}});
1export{ut 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.