1import{_ as Y}from"./Baf8yYNt.js";import{d as E,c as r,o as a,a as c,t as k,z as f,i as T,F as P,u as t,b as v,k as y,S as ee,j as H,l as J,E as te,J as G,v as h,y as $,at as oe,x as ne,A as C,G as Z,q as U,ag as X,r as se,w as ae,ak as le,L as re}from"./Ca1xmAME.js";import{d as ie}from"./CpWLk_Pq.js";import{u as ue,_ as ce,a as me}from"./Dati81KW.js";import{_ as de}from"./BmJFmfgN.js";import{u as pe}from"./C3LnSRN9.js";import{u as V}from"./BdHK_23P.js";import"./VvzQLLyk.js";import"./Bc2ne5jg.js";import"./D72tKsr-.js";import"./fO70lDWQ.js";import"./akvKzxcY.js";import"./c7i6w_V-.js";import"./CnJxK4gD.js";import"./BCwRNGOw.js";import"./Neq4Qidm.js";const _e={class:"flex flex-col justify-between gap-20 p-20"},fe={class:"font-bold italic text-big"},ge=["datetime"],ye=E({__name:"ContentPressQuoteSlide",props:{slide:{}},setup(m){return(e,s)=>{const n=H;return a(),r("figure",_e,[c("blockquote",fe,k(`â${e.slide.quote}â`),1),c("figcaption",null,[e.slide.attribution?(a(),r(P,{key:0},[T(k(e.slide.attribution)+"; ",1)],64)):f("",!0),c("strong",null,k(e.slide.outlet),1),s[1]||(s[1]=T(", ")),c("time",{datetime:e.slide.date},k(("dateUtils"in e?e.dateUtils:t(ie)).formatDate(e.slide.date,"dd.MM.yyyy")),9,ge),e.slide.url?(a(),r(P,{key:1},[s[0]||(s[0]=T(k(" "))),v(n,{to:e.slide.url,target:"_blank",external:""},{default:y(()=>[T("Zum"+k(("SITE_CONSTANTS"in e?e.SITE_CONSTANTS:t(ee)).NON_BREAKING_SPACE)+"Artikel",1)]),_:1},8,["to"])],64)):f("",!0)])])}}}),ve=Object.assign(J(ye,[["__scopeId","data-v-9f69e172"]]),{__name:"ContentPressQuoteSlide"}),be=["aria-label"],he=E({__name:"EsyMotionToggle",props:{paused:{type:Boolean},label:{}},emits:["toggle"],setup(m,{emit:e}){const s=e;return(n,i)=>{const u=te;return a(),r("button",{type:"button",class:"flex size-40 items-center justify-center text-color-cool-2","aria-label":n.label,onClick:i[0]||(i[0]=S=>s("toggle"))},[v(u,{icon:n.paused?"fa6-solid:play":"fa6-solid:pause",width:"20",height:"20","aria-hidden":""},null,8,["icon"])],8,be)}}}),ke=Object.assign(he,{__name:"EsyMotionToggle"}),$e={class:"pointer-events-none absolute inset-0 text-color-cool-3",viewBox:"0 0 45 45","aria-hidden":"true"},D=100,Ce=E({__name:"EsyProgressRing",props:{durationMs:{},paused:{type:Boolean}},emits:["complete"],setup(m,{emit:e}){const s=e;return(n,i)=>(a(),r("svg",$e,[c("circle",{class:"progress",cx:"22.5",cy:"22.5",r:"16",fill:"none",stroke:"currentColor","stroke-width":"2",pathLength:D,"stroke-dasharray":D,style:G({"--sweep-length":String(D),animationDuration:`${n.durationMs}ms`,animationPlayState:n.paused?"paused":"running"}),onAnimationend:i[0]||(i[0]=u=>s("complete"))},null,36)]))}}),Se=Object.assign(J(Ce,[["__scopeId","data-v-5fb65b58"]]),{__name:"EsyProgressRing"}),we=["aria-label"],Ne={key:0,class:"order-last mt-10 flex items-center"},Te={class:"relative size-40 text-color-cool-2"},Pe=["aria-label"],Ee={class:"flex"},Me=["aria-label","aria-current","onClick"],xe={class:"overflow-clip rounded bg-color-yellow shadow"},Re=["aria-roledescription","aria-label","inert"],Be={class:"sr-only","aria-live":"polite"},z={modulo(m,e){return(m%e+e)%e},loopShift(m,e,s){const n=Math.floor(s/2);return e-n+z.modulo(m-e+n,s)-m},stepsTo(m,e,s){const n=z.modulo(m-e,s);return n*2>s?n-s:n}},qe=E({__name:"SiteCarousel",props:{items:{},label:{},itemNoun:{},announce:{},itemKey:{type:Function,default:void 0},rotationMs:{default:8e3}},setup(m){const e=m;function s(o,l){return e.itemKey?e.itemKey(o,l):l}const n=h(0),i=h(""),u=h(!1),S=h(!1),g=$(()=>z.modulo(n.value,e.items.length)),d=h(!1),w=h(!1),O=oe(),j=$(()=>O.value==="reduce"),M=$(()=>e.items.length>1);function x(o){return`${o+1} von ${e.items.length}`}const R=$(()=>M.value&&!j.value),B=h(!1);ne(()=>{B.value=!0});const A=$(()=>R.value&&!d.value&&!w.value);function L(o){return z.loopShift(o,n.value,e.items.length)}function b(o){if(o===n.value)return;const l=u.value;S.value=l,u.value=!l&&!j.value,n.value=o}function N(o){o.propertyName==="transform"&&(u.value=!1)}function I(){b(n.value+1)}function F(o){b(n.value+z.stepsTo(o,g.value,e.items.length)),d.value=!0,i.value=e.announce(e.items[o])}function Q(o){const l=o.currentTarget;l instanceof Node&&o.relatedTarget instanceof Node&&l.contains(o.relatedTarget)||(d.value=!0)}function K(){d.value=!d.value,d.value||(w.value=!1)}return(o,l)=>{const q=ke,W=Se;return a(),r("section",{class:"flex flex-col","aria-roledescription":"Karussell","aria-label":o.label,onMouseenter:l[2]||(l[2]=_=>w.value=!0),onMouseleave:l[3]||(l[3]=_=>w.value=!1),onFocusin:Q},[t(M)?(a(),r("div",Ne,[c("span",Te,[t(R)&&t(B)?(a(),r(P,{key:0},[v(q,{paused:t(d),label:t(d)?"Rotation fortsetzen":"Rotation anhalten",onToggle:K},null,8,["paused","label"]),(a(),C(W,{key:t(g),"duration-ms":o.rotationMs,paused:!t(A),onComplete:I},null,8,["duration-ms","paused"]))],64)):f("",!0)]),c("div",{role:"group","aria-label":`${o.itemNoun} auswählen`,class:"flex grow justify-center"},[c("ul",Ee,[(a(!0),r(P,null,Z(o.items,(_,p)=>(a(),r("li",{key:s(_,p)},[c("button",{type:"button",class:"flex size-40 items-center justify-center","aria-label":`${o.itemNoun} ${x(p)}`,"aria-current":p===t(g)?"true":void 0,onClick:Ie=>F(p)},[c("span",{class:U(["rounded-full",p===t(g)?"size-20 bg-color-yellow":"size-15 bg-color-cool-3"])},null,2)],8,Me)]))),128))])],8,Pe),l[4]||(l[4]=c("span",{class:"size-40"},null,-1))])):f("",!0),c("div",xe,[c("div",{class:U(["flex ease-out",t(S)?"transition-none":"transition-transform duration-300 motion-reduce:transition-none"]),style:G({transform:`translateX(${-t(n)*100}
1%)`}),onTransitionend:l[0]||(l[0]=X(_=>N(_),["self"])),onTransitioncancel:l[1]||(l[1]=X(_=>N(_),["self"]))},[(a(!0),r(P,null,Z(o.items,(_,p)=>(a(),r("div",{key:s(_,p),class:"grid w-full shrink-0",role:"group","aria-roledescription":o.itemNoun,"aria-label":x(p),style:G({transform:`translateX(${L(p)*100}%)`}),inert:p!==t(g)},[se(o.$slots,"item",{item:_,index:p})],12,Re))),128))],38)]),c("p",Be,k(t(i)),1)],40,we)}}}),ze=Object.assign(qe,{__name:"SiteCarousel"}),je=E({__name:"ContentPressQuoteCarousel",props:{quotes:{}},setup(m){return(e,s)=>{const n=ve,i=ze;return a(),C(i,{items:e.quotes,label:"Zitate aus der Presse","item-noun":"Zitat","item-key":u=>u.id,announce:u=>u.quote},{item:y(({item:u})=>[v(n,{slide:u},null,8,["slide"])]),_:1},8,["items","item-key","announce"])}}}),Ae=Object.assign(je,{__name:"ContentPressQuoteCarousel"}),Le={class:"mb-40 flex flex-col gap-20 lg:mb-80"},Oe={key:1,class:"flex flex-col gap-20"},nt=E({__name:"index",async setup(m){let e,s;const{aside:n,content:i,ready:u}=pe(),{quotes:S,mentions:g,logos:d,hasArchive:w,mediaCoverage:O,ready:j}=ue(),M=V("/api/content/unternehmen/presse/ueber-esyoil","$pL5050xoqt"),x=V("/api/content/unternehmen/presse/heizoel-in-deutschland","$cowCC_rSG4"),R=V("/api/content/unternehmen/presse/material-zum-download","$XiuN2FbD0g");[e,s]=ae(()=>Promise.all([u,j,M,x,R])),await e,s();const B=$(()=>O.value==="some"),A=$(()=>[M.data.value,x.data.value,R.data.value].filter(L=>!!L?.body));return(L,b)=>{const N=Y,I=re,F=Ae,Q=me,K=H,o=ce,l=de;return a(),r("div",Le,[v(l,null,le({default:y(()=>[t(i)?.body?(a(),C(N,{key:0,value:t(i),class:"flex flex-col gap-20"},null,8,["value"])):f("",!0),t(B)?(a(),r("section",Oe,[v(I,{is:"h2",class:"mt-20"},{default:y(()=>b[0]||(b[0]=[T(" esyoil in den Medien ")])),_:1,__:[0]}),t(S)?.length?(a(),C(F,{key:0,quotes:t(S)},null,8,["quotes"])):f("",!0),t(g).length?(a(),C(Q,{key:1,mentions:t(g),class:"mt-20"},null,8,["mentions"])):f("",!0),t(w)?(a(),C(K,{key:2,to:"/unternehmen/presse/pressearchiv"},{default:y(()=>b[1]||(b[1]=[T(" Zum Pressearchiv ")])),_:1,__:[1]})):f("",!0)])):f("",!0)]),_:2},[t(B)&&t(d)?.length?{name:"full-width-row",fn:y(()=>[v(o,{logos:t(d),class:"mt-20 md:mb-20"},null,8,["logos"])]),key:"0"}:void 0,t(A).length?{name:"lower-content",fn:y(()=>[(a(!0),r(P,null,Z(t(A),q=>(a(),C(N,{key:q.id??q.path,value:q,class:"flex flex-col gap-20"},null,8,["value"]))),128))]),key:"1"}:void 0,t(n)?.body?{name:"aside",fn:y(()=>[v(N,{value:t(n),class:"flex flex-col gap-20"},null,8,["value"])]),key:"2"}:void 0]),1024)])}}});export{nt 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.