PageSourceSearch

https://perspective-daily.de/static/assets/ExpirationBar-DFTkypa3.js

js perspective-daily.de collected 2026-10-02 07:20:30 UTC 7,055 bytes, 1 lines download raw bytes

1import{d as e,J as a,p as n,R as t,a as i,c as r,e as s,S as l,F as o,E as p,g as c,k as d,l as u,f as g,r as h,a9 as f}from"./vue-Cbujuoqu.js";import{s as m}from"./apollo.client-CTIoy0fp.js";import{j as k,g as M}from"./preload-helper-D9jEkzRM.js";import{u as b,_}from"./TextSnippet.vue_vue_type_script_setup_true_lang-CT86qlp_.js";import"./exports-DzJyI3gR.js";const y={key:0},A=["innerHTML"],N=["innerHTML"],E={key:2,class:"label"},P={class:"button overdue",href:"/enrol/renew","data-content-piece":"Overdue Member","data-content-target":""},w={key:0,class:"label"},C={key:1,href:"/kampagne",class:"nofb"},x={key:2,href:"/kampagne",class:"nofb"},T={key:0,class:"label"},B={key:0,class:"label"},I={key:0,class:"label"},z={key:0,class:"label"},v={key:0,class:"label"},L=["innerHTML"],S=["innerHTML"],O=["innerHTML"],W=["innerHTML"],J={key:2,class:"label"},G={class:"button expiration",href:"/enrol/renew","data-content-piece":"Renew Phase Member","data-content-target":""},H={class:"label"},R=e({__name:"ExpirationBar",props:{move:{type:Boolean}},setup(e){const{textSnippets:R}=b("expiration-bar",["newbie","summer"]),{textSnippets:D}=b("jan-24-campaign",["barText","barButton","barOffer"]),j=h(null);function U(){(f.ENABLE_REFER_CAMPAIGN||f.IS_MEMBER_CAMPAIGN_2024_ACTIVE||f.ENABLE_SUMMER_CAMPAIGN)&&m("bar-acknowledged","acknowledged",{expires:"1D"})}return new Date(2026,9,1)>new Date&&Math.ceil((new Date(2026,9,1).getTime()-Date.now())/864e5),(h,f)=>{const m=a("member-campaign-progress");return"HIDE"!==n(t).expirationBar?(i(),r("div",y,[s("div",{id:"expirationBar",ref_key:"$expirationBar",ref:j,class:g(["expiration bar full fixed",{no_navigation:n(M),alternative:!n(M)&&e.move,overdue:n(t).isOverduePhase||n(l)&&!n(t).isActive,summer_campaign:"SUMMER_CAMPAIGN"===n(t).expirationBar,easter_campaign:"EASTER_CAMPAIGN"===n(t).expirationBar,newbie_campaign:"NEWBIE_CAMPAIGN"===n(t).expirationBar||"SPRING_CAMPAIGN"===n(t).expirationBar||"SIMPLE_CAMPAIGN"===n(t).expirationBar,new_years_campaign:n(l)&&n(t).needsToFillShippingAddress||"NEW_YEARS_CAMPAIGN"===n(t).expirationBar}]),"data-track-content":"","data-content-name":"Expiration Bar"},[n(l)&&n(t).isOverduePhase?(i(),r(o,{key:0},["COUPON"===n(t).paidWith?(i(),r("span",{key:0,innerHTML:"".concat(n(t).firstName,", wir schenken dir 4 Wochen Perspective Daily: Bleibst du als Mitglied dabei?")},null,8,A)):(i(),r("span",{key:1,innerHTML:"".concat(n(t).firstName,", dein Mitgliedsbeitrag ist fällig. Hol jetzt schnell deine Bezahlung nach!")},null,8,N)),n(k)?(i(),r("span",E,[s("a",P,["COUPON"===n(t).paidWith?(i(),r(o,{key:0},[p("Hier Mitgliedschaft verlängern")],64)):(i(),r(o,{key:1},[p("Hier Bezahlung nachholen")],64))])])):c("",!0)],64)):n(l)&&!n(t).isActive?(i(),r(o,{key:1},[f[1]||(f[1]=s("span",null,"Deine Mitgliedschaft ist leider abgelaufen. Verlängere jetzt dein Abonnement!",-1)),n(k)?(i(),r("span",w,[...f[0]||(f[0]=[s("a",{class:"button overdue",href:"/enrol/renew","data-content-piece":"Inactive Member","data-content-target":""}," Jetzt verlängern ",-1)])])):c("",!0)],64)):"SUMMER_CAMPAIGN"===n(t).expirationBar?(i(),r(o,{key:2},["NORMAL"===n(t).paidWith?(i(),r("a",{key:0,href:"/member/botschaft",class:"nofb",onClick:U},[f[2]||(f[2]=s("span",null," Hilf uns, 2.000 Mitglieder zu gewinnen! ",-1)),d(m)])):"TEST_COUPON"===n(t).paidWith?(i(),r("a",C,[f[3]||(f[3]=s("span",null," Letzte Chance! Jetzt für nur 49,90 Euro Mitglied werden",-1)),d(m)])):(i(),r("a",x,[f[4]||(f[4]=s("span",null," 2.000 neue Mitglieder! 4 Versprechen für die Demokratie ",-1)),d(m)]))],64)):"NEW_YEARS_CAMPAIGN"===n(t).expirationBar?(i(),r(o,{key:3},[d(_,{snippet:n(D).barOffer},{default:u(()=>[...f[5]||(f[5]=[p(" Dein erstes Jahr zum halben Preis für weniger als 1 € pro Woche ",-1)])]),_:1},8,["snippet"]),n(k)?(i(),r("span",T,[s("a",{class:"button",href:"/kampagne",onClick:U,"data-content-piece":"guterstart2026","data-content-target":""},"Jetzt Mitglied werden! ")])):c("",!0)],64)):"NEWBIE_CAMPAIGN"===n(t).expirationBar?(i(),r(o,{key:4},[d(_,{snippet:n(R).newbie},{default:u(()=>[...f[6]||(f[6]=[p(" Dein erstes Jahr zum halben Preis für weniger als 1 € pro Woche ",-1)])]),_:1},8,["snippet"]),n(k)?(i(),r("span",B,[s("a",{class:"button",href:"/enrol/signup/rabatt_48",onClick:U,"data-content-piece":"rabatt_48","data-content-target":""}," Jetzt Mitglied werden! ")])):c("",!0)],64)):"SPRING_CAMPAIGN"===n(t).expirationBar?(i(),r(o,{key:5},[d(_,{snippet:n(R).newbie},{default:u(()=>[...f[7]||(f[7]=[p(" Dein erstes Jahr zum halben Preis für weniger als 1 € pro Woche ",-1)])]),_:1},8,["snippet"]),n(k)?(i(),r("span",I,[s("a",{class:"button",href:"/enrol/signup/fruehling_25320",onClick:U,"data-content-piece":"fruehling_25320","data-content-target":""}," Jetzt Mitglied werden! ")])):c("",!0)],64)):"EASTER_CAMPAIGN"===n(t).expirationBar?(i(),r(o,{key:6},[f[8]||(f[8]=s("span",null,"Weniger Angst. Mehr Antworten. Dein erstes Jahr PD für 44,90 €.",-1)),n(k)?(i(),r("span",z,[s("a",{class:"button",href:"/enrol/signup/fruehling2026",onClick:U,"data-content-piece":"fruehling2026","data-content-target":""}," Jetzt Mitglied werden! ")])):c("",!0)],64)):"SIMPLE_CAMPAIGN"===n(t).expirationBar?(i(),r(o,{key:7},[f[9]||(f[9]=s("span",null,"Journalismus, der die Welt besser macht! Jetzt für 4,90 € pro Monat im ersten Jahr.",
1-1)),n(k)?(i(),r("span",v,[s("a",{class:"button",href:"/enrol/signup/rabatt_monat_13425",onClick:U,"data-content-piece":"rabatt_monat_13425","data-content-target":""}," Jetzt Mitglied werden! ")])):c("",!0)],64)):n(l)&&n(t).isRenewPhase?(i(),r(o,{key:8},[n(t).isTerminated?(i(),r("span",{key:0,innerHTML:"".concat(n(t).firstName,", du kannst dich nur noch ").concat(n(t).daysLeft," einloggen!")},null,8,L)):(i(),r(o,{key:1},["TEST_COUPON"===n(t).paidWith?(i(),r("span",{key:0,innerHTML:"".concat(n(t).firstName,", dein Gratis-Zugang endet in ").concat(n(t).daysLeft,"!")},null,8,S)):"COUPON"===n(t).paidWith?(i(),r("span",{key:1,innerHTML:"".concat(n(t).firstName,", du kannst dich nur noch ").concat(n(t).daysLeft," einloggen!")},null,8,O)):(i(),r("span",{key:2,innerHTML:"".concat(n(t).firstName,", du kannst dich nur noch ").concat(n(t).daysLeft," einloggen: Zahle jetzt fürs nächste Jahr!")},null,8,W))],64)),n(k)?(i(),r("span",J,[s("a",G,[n(t).isTerminated?(i(),r(o,{key:0},[p(" Mitglied bleiben ")],64)):(i(),r(o,{key:1},["TEST_COUPON"===n(t).paidWith?(i(),r(o,{key:0},[p("Jetzt Mitglied werden")],64)):"COUPON"===n(t).paidWith?(i(),r(o,{key:1},[p("Jetzt verlängern")],64)):(i(),r(o,{key:2},[p("Jetzt bezahlen")],64))],64))])])):c("",!0)],64)):n(l)&&n(t).needsToFillShippingAddress?(i(),r(o,{key:9},[d(_,{snippet:n(D).barText},{default:u(()=>[...f[10]||(f[10]=[p(" Dein Willkommenspaket wartet ",-1)])]),_:1},8,["snippet"]),s("span",H,[d(_,{snippet:n(D).barButton,class:"button",htmlElem:"a",href:"/member/willkommenspaket","data-content-piece":"willkommenspaket","data-content-target":""},{default:u(()=>[...f[11]||(f[11]=[p(" Willkommenspaket ansehen ",-1)])]),_:1},8,["snippet"])])],64)):c("",!0)],2)])):c("",!0)}}});export{R 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.