1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4258,7675],{149:e=>{e.exports={base:"DescriptionListItem-module-base"}},17675:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var n=s(49222),r=s(87856),a=s(47416),i=s(45890),o=s.n(i);let l=({items:e})=>(0,n.jsx)("div",{className:o().list,children:e?.map(({image:e})=>(0,n.jsx)(a.A,{asset:e,className:o().logo,breakpointAspectRatioConfigs:[{breakpoint:r.i.XSS,width:150},{breakpoint:r.i.SM,width:300}]},e.path))})},20466:e=>{e.exports={base:"EventLocation-module-base",title:"EventLocation-module-title",mapWrapper:"EventLocation-module-map-wrapper",locationName:"EventLocation-module-location-name",locationAddress:"EventLocation-module-location-address"}},20827:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var n=s(49222);let r=()=>(0,n.jsxs)("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{x1:"-0.938042535%",y1:"52.9833362%",x2:"100%",y2:"52.9833362%",id:"linearGradient-enercity",children:[(0,n.jsx)("stop",{stopColor:"#A1028F",offset:"0%"}),(0,n.jsx)("stop",{stopColor:"#FD0004",offset:"100%"})]}),(0,n.jsxs)("linearGradient",{id:"linearGradient-netz",x1:"-0.356456",y1:"51.7262",x2:"38",y2:"51.7262",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#990099"}),(0,n.jsx)("stop",{offset:"0.802305",stopColor:"#FF0000"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#EE7100"})]})]}),(0,n.jsx)("g",{id:"ICONS/Special/Vorfahren/pin-gradient",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,n.jsx)("path",{d:"M5.90132657,18.4945533 L5.90833082,18.5115728 C2.67935226,13.4874483 3.62996392,6.85285699 8.13962561,2.93872669 C12.6492873,-0.975403596 19.3481025,-0.980080478 23.8632194,2.92774903 C28.3785764,6.84930244 29.32217,13.4972773 26.0765616,18.5215843 L26.0235295,18.6016759 L25.780382,18.9350572 L17.1081228,31.4193359 C16.8539687,31.7837527 16.4377163,32 15.9944474,32 C15.5511786,32 15.1339256,31.7827515 14.8807721,31.4193359 L5.90132657,18.4945533 Z",id:"Path",fill:"currentColor",fillRule:"nonzero"})})]})},38503:e=>{e.exports={base:"DescriptionListRow-module-base"}},39014:e=>{e.exports={base:"PressContactList-module-base"}},41527:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var n=s(49222),r=s(33475),a=s(39014),i=s.n(a);let o=({items:e})=>{let t=e.map(e=>(0,n.jsx)(r.A,{...e},e.name));return(0,n.jsx)("div",{className:i().base,children:t})}},45890:e=>{e.exports={list:"LogoList-module-list",logo:"LogoList-module-logo"}},49498:e=>{e.exports={base:"PressEventTimeTable-module-base",dateColumn:"PressEventTimeTable-module-date-column",dateHeadline:"PressEventTimeTable-module-date-headline",date:"PressEventTimeTable-module-date"}},57100:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n=e=>{let t=e.findIndex(e=>"header"===e.componentName||"job-header"===e.componentName),s=[...e],n=-1!==t?s.splice(t,1)[0]:void 0;return{items:s,header:n}}},60384:(e,t,s)=>{"use strict";s.d(t,{Q1:()=>a,Sg:()=>i,Ud:()=>n,mx:()=>r});let n=11,r={lat:52.37052,lng:9.73322},a={libraries:["places","geometry"],language:"ge"},i=!0},66821:(e,t,s)=>{"use strict";s.d(t,{F:()=>c});var n=s(13491),r=s.n(n);let a=r()(()=>Promise.resolve().then(s.bind(s,46982)),{loadableGenerated:{webpack:()=>[46982]}}),i=r()(()=>Promise.resolve().then(s.bind(s,11343)),{loadableGenerated:{webpack:()=>[11343]}}),o=r()(()=>Promise.all([s.e(9799),s.e(9476)]).then(s.bind(s,99476)),{loadableGenerated:{webpack:()=>[99476]}}),l=r()(()=>Promise.all([s.e(3399),s.e(2722)]).then(s.bind(s,72722)),{loadableGenerated:{webpack:()=>[72722]}}),d=r()(()=>Promise.all([s.e(3399),s.e(7943)]).then(s.bind(s,7943)),{loadableGenerated:{webpack:()=>[7943]}}),c={"press-image-gallery":o,"press-article-headline":i,"press-article-rich-text":r()(()=>Promise.all([s.e(9799),s.e(3853)]).then(s.bind(s,23853)),{loadableGenerated:{webpack:()=>[23853]}}),"press-image":l,"press-additional-content-container":a,"press-additional-content-two-column-container":d}},71650:e=>{e.exports={base:"DescriptionList-module-base"}},72570:e=>{e.exports={container:"GoogleMap-module-container",map:"GoogleMap-module-map",fullheight:"GoogleMap-module-fullheight",relativePosition:"GoogleMap-module-relative-position",withBorderRadius:"GoogleMap-module-with-border-radius"}},74224:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var n=s(58355),r=s(77766),a=s(392);let i=({position:e,children:t})=>{let s=(0,n.ko)(),i=(0,r.useRef)(null),o=(0,r.useRef)(e),[l,d]=(0,r.useState)(null);return o.current=e,(0,r.useEffect)(()=>
1{if("u"<typeof document)return;let e=document.createElement("div");return d(e),()=>{e.remove()}},[]),(0,r.useEffect)(()=>{if(!s||!l)return;let e=new class extends google.maps.OverlayView{constructor(e,t){super(),this.position=e,this.container=t}onAdd(){this.getPanes().overlayMouseTarget.appendChild(this.container)}draw(){let e=this.getProjection();if(!e)return void requestAnimationFrame(()=>this.draw());let t=e.fromLatLngToDivPixel(this.position);Object.assign(this.container.style,{position:"absolute",left:`${t.x}px`,top:`${t.y}px`,transform:"translate(-50%, -100%)"})}onRemove(){this.container.parentNode?.removeChild(this.container)}setPosition(e){this.position=e,this.draw()}}(new google.maps.LatLng(o.current),l);return e.setMap(s),i.current=e,()=>{e.setMap(null),i.current=null}},[s,l]),(0,r.useEffect)(()=>{i.current?.setPosition(new google.maps.LatLng(e))},[e.lat,e.lng]),l?(0,a.createPortal)(t,l):null}},78434:e=>{e.exports={base:"MapLocationMarker-module-base",scaleIn:"MapLocationMarker-module-scale-in"}},84202:e=>{e.exports={base:"PressEventDate-module-base",date:"PressEventDate-module-date"}},84258:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>ea});var n=s(49222),r=s(60922),a=s(67546),i=s(64578),o=s(8413),l=s(50322),d=s(4026),c=s(57100),u=s(38051),m=s(46982),p=s(47560),h=s(48461);let x=e=>{if("number"==typeof e)return Number.isFinite(e)?e:void 0;if("string"==typeof e){let t=Number.parseFloat(e.trim());return Number.isFinite(t)?t:void 0}},g=(e,t)=>{let s=x(e),n=x(t);if(void 0!==s&&void 0!==n)return{lat:s,lng:n}};var f=s(58355),j=s(77766),b=s(60384),v=s(94663),w=s(74224),A=s(20827),y=s(78434),N=s.n(y);let C=({lat:e,lng:t})=>(0,n.jsx)(w.A,{position:{lat:e,lng:t},children:(0,n.jsx)("div",{className:N().base,children:(0,n.jsx)(A.A,{})})});var E=s(69717);let L={lat:52.37052,lng:9.73322};E.Ay.googleKey;var k=s(20466),T=s.n(k);let S=({addressStreet:e,addressStreetNumber:t,addressZipcode:s,addressCity:n,onResolved:r})=>{let a=(0,f.ST)("geocoding");return(0,j.useEffect)(()=>{let i,o;a&&(i=new a.Geocoder,o={addressStreet:e??"",addressStreetNumber:t??"",addressZipcode:s??"",addressCity:n??""},i.geocode({address:`${o.addressStreet} ${o.addressStreetNumber}, ${o.addressZipcode} ${o.addressCity}`}).then(({results:e})=>{if(!e?.length)throw Error("No geolocations found for this address.");return e[0].geometry.location.toJSON()}).catch(e=>{throw Error("Geocode was not successful for the following reason: "+(e instanceof Error?e.message:String(e)))})).then(r).catch(()=>{})},[a,e,t,s,n]),null},P={fullscreenControl:!0,gestureHandling:"greedy",styles:[{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels.icon",stylers:[{visibility:"off"}]}]},G=({lat:e,lng:t,locationName:s,addressName:r,addressStreet:a,addressCity:i,addressStreetNumber:o,addressZipcode:l})=>{let[d,c]=(0,j.useState)(()=>g(e,t));return(0,j.useEffect)(()=>{c(g(e,t))},[e,t]),(0,n.jsxs)("div",{className:T().base,children:[(0,n.jsx)("div",{className:T().mapWrapper,children:(0,n.jsxs)(v.A,{defaultZoom:11,center:d,zoom:17,defaultCenter:L,draggable:b.Sg,options:P,children:[!d&&(0,n.jsx)(S,{addressStreet:a,addressStreetNumber:o,addressZipcode:l,addressCity:i,onResolved:c}),d&&(0,n.jsx)(C,{lat:d.lat,lng:d.lng})]})}),(0,n.jsx)("span",{className:T().locationName,children:s}),(0,n.jsxs)("p",{className:T().locationAddress,children:[(0,n.jsx)("span",{children:r}),(0,n.jsx)("span",{children:[a,o].filter(Boolean).join(" ")}),(0,n.jsx)("span",{children:[l,i].filter(Boolean).join(" ")})]})]})};var M=s(93269),D=s(59298),R=s(49498),F=s.n(R),B=s(71650),I=s.n(B);let Z=({children:e})=>(0,n.jsx)("dl",{className:I().base,children:e});var z=s(38503),O=s.n(z);let $=({children:e})=>(0,n.jsx)("div",{className:O().base,children:e});var _=s(149),K=s.n(_);let U=({title:e,description:t})=>(0,n.jsxs)("div",{className:K().base,children:[(0,n.jsx)("dt",{children:e}),(0,n.jsx)("dd",{children:t})]});var W=s(84202),q=s.n(W);let H=({date:e,startTime:t,endTime:s})=>(0,n.jsxs)("div",{className:q().base,children:[(0,n.jsx)("div",{className:q().date,children:e}),t&&!s&&(0,n.jsxs)("div",{className:q().date,children:[t," Uhr"]}),!t&&s&&(0,n.jsxs)("div",{className:q().date,children:[s," Uhr"]}),t&&s&&(0,n.jsxs)("div",{className:q().date,children:[t," - ",s," Uhr"]})]}),Q=(e,t)=>(0,D.Yq)(e,t?D.qR.EventArticleWeekday:D.qR.EventArticle),V=({startDate:e,startTime:t,endDate:s,endTime:r,showWeekdays:a})=>{let i,o=new Date(e),l=s?new Date(s):void 0;if(l&&o.getTime()!==l.getTime()){let e,s;return e=Q(o,a),s=Q(l,a),(0,n.jsx)("div",{children:(0,n.jsx)(Z,{children:(0,n.jsxs)($,{children:[(0,n.jsx)(U,{title:"Beginn",description:(0,n.jsx)(H,{date:e,startTime:t})}),(0,n.jsx)(U,{title:"Ende",description:(0,n.jsx)(H,{date:s,endTime:r})})]})})})}return i=Q(o,a),(0,n.jsx)("div",{className:F().base,children:(0,n.jsx)(H,{date:i,startTime:t,endTime:r})})};var Y=s(10999),J=s(21043),X=s(41527),ee=s(50439),et=s(72535),es=s(66821),en=s(17675);let er={...et.p,...es.F,"logo-list":en.default},ea=e=>{let t=(0,d.A)(e),{contents:s,modals:x,path:g,props:f}=e,{title:j,locationName:b,publicationDate:v,lastModified:w,teaserText:A,eventStartDate:y,eventStartTime:N,eventEndDate:C,eventEndTime:E,showWeekdays:L,mapLatitude:k,mapLongitude:T,addressStreet:S,addressCity:P,addressStreet
1Number:D,addressZipcode:R,pressContacts:F=[]}=f,{extractedContents:[B],restContents:I}=(0,l.A)(["additional-contents","additional-contents"],s),{items:Z,header:z}=(0,c.A)(I);return(0,u.E)({resourceType:"article"}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{...t}),(0,n.jsxs)(M.A,{children:[(0,n.jsxs)(i.A,{children:[z&&(0,n.jsx)(r.A,{contents:[z],cmsComponents:er}),(0,n.jsx)(ee.A,{children:(0,n.jsxs)(m.default,{size:p.f.TinyPlus,spaceBetweenChildren:p.n.Small,children:[(0,n.jsx)(Y.A,{date:v||w||"undefined",headline:j,shareData:{text:A,title:j,url:`https://www.enercity.de${g}`}}),(0,n.jsx)(r.A,{contents:Z,cmsComponents:er}),(0,n.jsx)(V,{startDate:y,startTime:N,endDate:C,endTime:E,showWeekdays:L}),(0,n.jsx)(J.A,{}),(0,n.jsx)("p",{children:"Veranstaltungsort"}),(0,n.jsx)(G,{lat:k,lng:T,locationName:b,addressStreet:S,addressStreetNumber:D,addressZipcode:R,addressCity:P}),(0,n.jsx)(J.A,{}),(0,n.jsx)("span",{className:"press-contact-headline",children:"Ansprechpartner"}),!!F.length&&(0,n.jsx)(X.A,{items:F})]})})]}),B&&(0,n.jsx)(r.A,{contents:B,cmsComponents:er}),(0,n.jsx)(h.default,{})]}),(0,n.jsx)(a.A,{modals:x,cmsComponents:er})]})}},94663:(e,t,s)=>{"use strict";s.d(t,{A:()=>f});var n=s(49222),r=s(69717),a=s(46730),i=s(51112),o=s(58355),l=s(3638),d=s(37067);let c=({onAction:e})=>(0,n.jsx)(d.A,{title:"Empfohlener externer Inhalt",description:"An dieser Stelle finden Sie einen externen Inhalt von Google Maps, der von uns empfohlen wird oder ggf. f\xfcr erweiterte Funktionen erforderlich ist. Sie k\xf6nnen Ihre Zustimmung jederzeit wieder zur\xfccknehmen.",buttonLabel:"Karte anzeigen",onAction:e,backgroundImage:"https://www.enercity-erneuerbare.de/_next/static/media/maps_background.06dccbf2.webp"});var u=s(52763),m=s(60384),p=s(72570),h=s.n(p),x=s(77766);let g=({center:e,zoom:t,options:s,fitBounds:n,onGoogleApiLoaded:r})=>{let a=(0,o.ko)(),i=(0,x.useRef)(!1);return(0,x.useEffect)(()=>{a&&!i.current&&(i.current=!0,r&&r({map:a,maps:google.maps}))},[a,r]),(0,x.useEffect)(()=>{a&&s&&a.setOptions(s)},[a,s]),(0,x.useEffect)(()=>{a&&e&&a.panTo(e)},[a,e]),(0,x.useEffect)(()=>{a&&void 0!==t&&a.setZoom(t)},[a,t]),(0,x.useEffect)(()=>{a&&n&&a.fitBounds(n)},[a,n]),null},f=({children:e,onChildClick:t,onGoogleApiLoaded:s,onChange:d,onDrag:p,options:x,center:f,defaultCenter:j,zoom:b,defaultZoom:v,draggable:w,fitBounds:A,fullHeight:y,height:N,withBorderRadius:C,relativePosition:E})=>{let[L,k]=(0,i.A)("s1104");return r.Ay.googleKey?(0,n.jsx)("div",{className:h().container,children:(0,n.jsxs)("div",{className:(0,l.A)(h().map,{[h().fullheight]:y,[h().withBorderRadius]:C,[h().relativePosition]:E}),children:[!0===L&&(0,n.jsx)(o.c4,{apiKey:r.Ay.googleKey,libraries:m.Q1.libraries,language:m.Q1.language,children:(0,n.jsxs)(o.T5,{defaultCenter:j??f,defaultZoom:v??b,gestureHandling:!1===w?"none":"cooperative",onCameraChanged:e=>{let{center:t,zoom:s,bounds:n}=e.detail,r={center:t,zoom:s,bounds:{nw:{lat:n.north,lng:n.west},ne:{lat:n.north,lng:n.east},sw:{lat:n.south,lng:n.west},se:{lat:n.south,lng:n.east}}};d?.(r)},onDrag:p,style:{width:"100%",height:N?`${N}px`:"100%"},children:[(0,n.jsx)(g,{center:f,zoom:b,options:x,fitBounds:A,onGoogleApiLoaded:s}),e]})}),!1===L&&(0,n.jsx)(c,{onAction:()=>k(!0)}),void 0===L&&(0,n.jsx)(u.A,{width:"100%",height:"100%"})]})}):(a.v.error("Missing GOOGLE_API_KEY !!!"),null)}}}]); 2//# sourceMappingURL=4258.2c8cd325374819e2.js.map
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.