PageSourceSearch

https://www.neuenarrative.de/_nuxt/BBLMYt0f.js

js neuenarrative.de collected 2026-09-24 18:02:38 UTC 3,865 bytes, 1 lines download raw bytes

1import{p,u as y,t as T,d as h,o as u,c as b,_ as v,w as m,a as s,b as r,e as A,f as S,g as I,h as V,i as P,j as D,k as N,l as i,m as o,n as $}from"./CJ9yVY4N.js";import{t as k,a as C,b as B,_ as H,c as M,d as R}from"./BROuPOlG.js";import{S as L}from"./DHzVgPbn.js";import{b as E}from"./DeL79GWb.js";import"./5eYv_ac-.js";import"./BJS3LwAg.js";const _=e=>new Intl.NumberFormat("de-DE",{}).format(e),F=e=>{const{anchorDate:t,currentAmount:n}=e;if(!t)return n;const l=12,d=t.getTime(),x=(Date.now()-d)/1e3/60/60/24*l,f=n+x,w=Math.round(f);return _(w)},G=e=>{const t=new Date(e.dateUpdated),n=e.currentValue;return{...p(["__component","id","nowText","bottomText"],e),goalText:e.futureText,nowValue:`${F({anchorDate:t,currentAmount:n})} Abonnent*innen`,goalValue:`${_(e.futureValue)} Abonnent*innen`,cta:e.cta?k(e.cta):void 0}},U=e=>{const t=y(e),n=t.body||[];return{...p(["pageHeadline","pageDescription"],t),id:t.documentId,headerImage:T(t.headerImage),goal:G(t.goal),abo:B(t.abo),body:n.map(l=>C(l))}},q={class:"border-2 border-yellow-100 max-w-5xl mx-auto"},O={class:"flex flex-col lg:flex-row border-b-2 border-dashed items-center px-5 lg:px-8 py-6"},W={class:"w-full lg:w-1/2 mb-2 md:mb-0"},X={class:"font-headline font-feature-salt font-bold text-2xl md:text-3xl lg:text-4xl w-full lg:w-1/2 xl:text-right"},j={class:"flex flex-col lg:flex-row border-b-2 border-dashed items-center px-5 lg:px-8 py-6"},Y={class:"w-full lg:w-1/2 mb-2 md:mb-0"},Z={class:"font-headline font-feature-salt font-bold text-2xl md:text-3xl lg:text-4xl w-full lg:w-1/2 xl:text-right"},z=["innerHTML"],J=h({__name:"SectionGoal",props:{nowText:{default:"Wo wir stehen"},nowValue:{},goalText:{default:"Unser nächstes Ziel"},goalValue:{},bottomText:{},description:{default:void 0},button:{default:void 0}},setup(e){return(t,n)=>(u(),b(v,{class:"px-5 py-16 md:py-18 bg-red-300 text-yellow-100 lg:p-20 text-xl"},{default:m(()=>[s("div",q,[s("div",O,[s("div",W,r(e.nowText),1),s("div",X,r(e.nowValue),1)]),s("div",j,[s("div",Y,r(e.goalText),1),s("div",Z,r(e.goalValue),1)]),s("div",{class:"px-5 lg:px-8 pt-6 pb-8",innerHTML:e.bottomText},null,8,z)]),e.description||e.button?(u(),b(H,{key:0,description:e.description,button:e.button,"is-light-text":"",class:"mt-10 max-w-5xl mx-auto"},null,8,["description","button"])):A("",!0)]),_:1}))}}),ne=h({__name:"abo",async setup(e){let t,n;const{STRAPI_API:l}=S().public,d=`${l}/abo-page`,g={populate:["headerImage","goal.cta","abo.aboTabs","abo.aboTabs.cta","abo.aboTabs.aboPlans","abo.aboTabs.aboPlans.aboPlan","abo.aboTabs.aboPlans.aboPlan.listItem","body.articles.headerImage","body.cta","body.questions","body.moreLink","body.features.cta","body.features.ctaSecondary","body.features.image","body.features.sponsor.logo","body.items","body.cards","body.cards.image","body.cards.link","body.introduction"]},{data:a}=([t,n]=I(()=>V(d,{query:g,key:"strapiAboPage",server:!0,transform:U},"$gX-5Ok3dXI")),t=await t,n(),t);if(!a.value)throw P({statusCode:404,statusMessage:"Page Not Found",fatal:!0});const c=a.value?.headerImage?.src;return D({...E({title:"Abo | Neue Narrative",image:c?N(c):void 0,url:"https://www.neuenarrative.de/abo"})}),(x,f)=>(u(),b($,null,{default:m(()=>[i(L,{headline:o(a).pageHeadline,description:o(a).pageDescription,image:o(a).headerImage},{usps:m(()=>[i(M,{headline:o(a).abo.headline,tabs:o(a).abo.aboTabs,"has-top-padding":!1,"has-bottom-padding":!1},null,8,["headline","tabs"])]),_:1},8,["headline","description","image"]),i(J,{"now-text":o(a).goal.nowText,"now-value":o(a).goal.nowValue,"goal-text":o(a).goal.goalText,"goal-value":o(a).goal.goalValue,"bottom-text":o(a).goal.bottomText,description:o(a).goal.cta?.description,button:o(a).goal.cta?.button},null,8,["now-text","now-value","goal-text","goal-value","bottom-text","description","button"]),i(R,{body:o(a).body},null,8,["body"])]),_:1}))}});export{ne 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.