<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6113],{24033:function(e,t,n){var i=n(13927),a=n(58919);e.exports=function(e,t){1==arguments.length&amp;&amp;(t=e,e={}),t=i(t),function(e,t){a(t).each(function(t,n){void 0===e[t]&amp;&amp;(e[t]=n)})}(e,{timeout:5e3,maximumAge:6e4,enableHighAccuracy:!0}),navigator.geolocation.getCurrentPosition(function(e){t(null,a(e.coords).clone().set("timestamp",e.timestamp).get())},t,e)}},13927:function(e){function t(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}e.exports=t,t.proto=t(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return t(this)},configurable:!0})})},56355:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[...params]",function(){return n(69657)}])},6122:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(85893);function a(e){let{prompt:t}=e,n=new URLSearchParams;return n.append("prompt",t),(0,i.jsx)("div",{className:"adp-sticky-bar__icon-container",children:(0,i.jsx)("a",{href:"https://librechat.gdch.app/c/new?".concat(n.toString()),target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)("i",{className:"far fa-brain"})})})}},45004:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(85893);function a(e){let{isEvent:t,contentUrls:n,id:a}=e;return(0,i.jsx)("div",{className:"adp-sticky-bar__icon-container",children:(0,i.jsx)("a",{href:t?"".concat(n[0]).concat(a):"".concat(n[1]).concat(a),target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)("i",{className:"far fa-edit"})})})}},52143:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(85893),a=n(67294),o=n(11163),s=n(93967),l=n.n(s),r=n(21817),c=n(93162);function d(e){let t,n;let{isCalendars:s,id:d,baseClass:u,title:p,description:h,startDate:m,endDate:v,locationTitle:f,locationAddress:g,toggleFontSize:x,toggleShare:j,toggleBookmark:y,children:b}=e,w=(0,a.createRef)(),N=(0,o.useRouter)();("string"==typeof m||m instanceof Date)&amp;&amp;(t=new Date(m)),("string"==typeof v||v instanceof Date)&amp;&amp;(n=new Date(v));let _=(0,a.useMemo)(()=&gt;({title:p,location:g||f,description:h,start:new Date(t),end:new Date(n)}),[h,v,g,f,m,p]),[k,D]=(0,a.useState)(""),[C,S]=(0,a.useState)(""),[L,T]=(0,a.useState)("");(0,a.useEffect)(()=&gt;{D(new r.Pn(_).render()),S(new r.eg(_).render()),T(new r.Gj(_).render())},[_]);let E=e=&gt;{if(window.isRNWebView){w.current&amp;&amp;w.current.blur();let e={eventCalendar:!0,title:p,notes:h,startDate:m,endDate:v,location:g||f,url:"".concat("https://gdch.app").concat(N.asPath)};window.ReactNativeWebView.postMessage(JSON.stringify(e))}else{let e=new Blob([new r.J5(_).render()],{type:"text/calendar"});c.saveAs(e,N.query.params[0])}};if(s)return(0,i.jsx)("div",{className:"event-detail-calendar-options",children:[{type:"ical",title:"Download ICS",fa:"fab fa-apple calendars first",href:""},{type:"google",title:"Google Calendar",fa:"fab fa-google calendars",href:C},{type:"outlook",title:"Outlook Calendar",fa:"fab fa-windows calendars",href:L},{type:"yahoo",title:"Yahoo Calendar",fa:"fab fa-yahoo calendars last",href:k}].map((e,t)=&gt;"ical"===e.type?(0,i.jsx)("div",{children:(0,i.jsx)("button",{onClick:e=&gt;E(e),title:"".concat(e.title),children:(0,i.jsx)("i",{className:"".concat(e.fa)})})},t):(0,i.jsx)("div",{children:(0,i.jsx)("a",{href:"".concat(e.href),target:"_blank",rel:"noopener noreferrer",title:"".concat(e.title),children:(0,i.jsx)("i",{className:"".concat(e.fa)})})},t))});let A=l()(u,{"has-font-popup":x,"has-share-popup":j,"has-bookmark":y});return(0,i.jsx)("div",{id:"".concat(d),className:A,children:(0,i.jsx)("div",{className:"adp-sticky-bar__icons",children:b})})}},95666:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(85893),a=n(2962),o=n(9008),s=n.n(o),l=n(36573);function r(e){let{title:t,author:n}=e,{darkModeActive:a}=(0,l.vs)(),o=()=&gt;{if(window)return localStorage.getItem("userMode")};return(0,i.jsxs)(s(),{children:[(0,i.jsx)("meta",{name:"application-name",content:"GDCh.app"}),(0,i.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,i.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),(0,i.jsx)("meta",{name:"apple-mobile-web-app-title",content:"GDCh.app"}),(0,i.jsx)("meta",{name:"description",content:"GDCh.app"}),(0,i.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,i.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),(0,i.jsx)("meta",{name:"msapplication-config",content:"/browserconfig.xml"}),(0,i.jsx)("meta",{name:"msapplication-TileColor",content:"#2B5797"}),(0,i.jsx)("meta",{name:"msapplication-tap-highlight",content:"no"}),(0,i.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,i.jsx)("link",{rel:"apple-touch-icon",href:"/touch-icon-iphone.png"}),"light"===o()&amp;&amp;(0,i.jsx)("meta",{name:"color-scheme",content:"light"}),"light"!==o()&amp;&amp;(0,i.jsx)("meta",{name:"color-scheme",content:"dark light"}),"auto"===o()&amp;&amp;a&amp;&amp;(0,i.jsx)("meta",{name:"color-scheme",content:"dark light"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,i.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,i.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,i.jsx)("meta",{name:"author",content:n}),(0,i.jsx)("title",{children:t})]})}function c(e){let{pageAuthor:t,pageTitle:n,pageDescription:o,canonicalURL:s,openGraphCard:l,twitterCard:c,additionalMetaTags:d,noindex:u,children:p}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r,{title:n,author:t}),(0,i.jsx)(a.PB,{title:n,description:o,canonical:s,openGraph:l,twitter:c,additionalMetaTags:d,noindex:!!u}),(0,i.jsx)("div",{className:"min-h-screen",children:(0,i.jsx)("main",{children:p})})]})}},60262:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(85893),a=n(48137),o=n(66339),s=n(16573),l=n(1020),r=n(53597),c=n(37332),d=n(46616),u=n(87385),p=n(12834),h=n(69275);function m(e){let{url:t,selectedItem:n,toggleShare:m,onClickShare:v}=e;return(0,i.jsxs)("div",{className:"adp-sticky-bar__icon-container",children:[(0,i.jsxs)("div",{className:"adp-sticky-bar__share-popup",children:[(0,i.jsx)(a.Z,{url:"".concat(t,"/article/").concat(n.slug),subject:n.title,body:n.content?n.content.substring(0,140):n.description.substring(0,140),beforeOnClick:v,children:(0,i.jsx)(o.Z,{size:32,round:!0})}),(0,i.jsx)(s.Z,{url:"".concat(t,"/article/").concat(n.slug),quote:n.content?n.content.substring(0,140):n.description.substring(0,140),beforeOnClick:v,children:(0,i.jsx)(l.Z,{size:32,round:!0})}),(0,i.jsx)(r.Z,{url:"".concat(t,"/article/").concat(n.slug),title:n.title,summary:n.content?n.content.substring(0,140):n.description.substring(0,140),source:"GDCh",beforeOnClick:v,children:(0,i.jsx)(c.Z,{size:32,round:!0})}),(0,i.jsx)(d.Z,{url:"".concat(t,"/article/").concat(n.slug),title:n.title,beforeOnClick:v,children:(0,i.jsx)(u.Z,{size:32,round:!0})}),(0,i.jsx)(p.Z,{url:"".concat(t,"/article/").concat(n.slug),title:n.title,beforeOnClick:v,children:(0,i.jsx)(h.Z,{size:32,round:!0})})]}),(0,i.jsx)("i",{className:"far fa-share-alt",id:"share-popup-btn",onClick:v})]})}},21e3:function(e,t,n){"use strict";var i=n(24033),a=n(25293).EventEmitter,o=n(79720).inherits;function s(){if(!(this instanceof s))return new s;a.call(this),this.iframe=document.createElement("iframe"),this._position=null,this._radius=.004}e.exports=s,o(s,a),s.prototype.radius=function(e){return this._radius=e,this},s.prototype.position=function(e,t){return this._position={latitude:e,longitude:t},this.emit("position",this._position),this},s.prototype.show=function(){var e=this,t=e.iframe,n=e._radius;function a(i,a){if(i)return e.emit("error",i);e.emit("position",a);var o=a.longitude,s=a.latitude;t.src="https://www.openstreetmap.org/export/embed.html?layer=mapnik&amp;bbox="+[o-n/2,s-n/4,o+n/2,s+n/4].join(",")+"&amp;marker="+[s,o].join(",")}return e._position?a(null,e._position):i(function(e,t){a(e,t)}),t}},69657:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return V},default:function(){return H}});var i=n(85893),a=n(67294),o=n(11163),s=n(73606),l=n(2962),r=n(67421),c=n(95666),d=n(25675),u=n.n(d),p=n(41664),h=n.n(p),m=n(95699);function v(e){var t,n,a;let{manager:o,eventContactEmail:s}=e,l=async e=&gt;{if(window.isRNWebView)window.ReactNativeWebView.postMessage(JSON.stringify({clipboard:e}));else try{await navigator.clipboard.writeText(e),alert("In die Zwischenablage kopiert!")}catch(e){alert("Error: ".concat(e))}};return(0,i.jsxs)("div",{className:"event-detail-single-contact-container",children:[(0,i.jsx)("div",{className:"image-container",children:(0,i.jsxs)(h(),{href:"/profile/".concat(o.slugName),children:[(null==o?void 0:null===(t=o.profileImage)||void 0===t?void 0:t.url)&amp;&amp;(0,i.jsx)(u(),{src:null==o?void 0:null===(n=o.profileImage)||void 0===n?void 0:n.url,alt:"".concat(o.firstname," ").concat(o.lastname),width:170,height:170,sizes:"100vw",style:{width:"100%",height:"auto"}}),!(null==o?void 0:null===(a=o.profileImage)||void 0===a?void 0:a.url)&amp;&amp;(0,i.jsx)("img",{src:(0,m.sA)(o,"size=400x400"),alt:"".concat(o.firstname," ").concat(o.lastname),width:"170",height:"170",style:{width:"100%",height:"auto"}})]})}),(0,i.jsxs)("div",{className:"info-container",children:[(0,i.jsx)("span",{children:o.title}),(0,i.jsx)("p",{children:(0,i.jsxs)(h(),{href:"/profile/".concat(o.slugName),children:[o.firstname," ",o.lastname]})}),o.phoneSocialLink&amp;&amp;(0,i.jsxs)("div",{className:"info-container__links",children:[(0,i.jsxs)("a",{href:"tel:".concat(o.phoneSocialLink),children:[(0,i.jsx)("i",{className:"far fa-phone"}),o.phoneSocialLink]}),(0,i.jsx)("button",{onClick:()=&gt;l(o.phoneSocialLink),children:(0,i.jsx)("i",{className:"far fa-copy"})})]}),(()=&gt;{let e=s||o.mailSocialLink||o.authMail;if(e)return(0,i.jsxs)("div",{className:"info-container__links",children:[(0,i.jsxs)("a",{href:"mailto:".concat(e),children:[(0,i.jsx)("i",{className:"far fa-envelope"}),e]}),(0,i.jsx)("button",{onClick:()=&gt;l(e),children:(0,i.jsx)("i",{className:"far fa-copy"})})]})})()]})]})}function f(e){let{title:t}=e;return(0,i.jsx)("article",{className:"event-detail-title-small",children:(0,i.jsx)("section",{className:"title__heading",children:(0,i.jsx)("h2",{children:t})})})}function g(e){let{title:t,manager:n,eventContactEmail:a}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)(f,{title:t}),(0,i.jsx)(v,{manager:n,eventContactEmail:a})]})}var x=n(53731),j=n(25935);function y(e){let{description:t}=e;return(0,i.jsx)("article",{className:"event-detail-description-container",children:(0,i.jsx)("section",{className:"container",children:(0,i.jsx)("div",{className:"description-container active",children:(0,i.jsx)(x.Z,{componentDecorator:(e,t,n)=&gt;(0,i.jsx)("a",{target:"blank",href:e,children:t},n),children:(0,j.ZP)(t.replace(/\n/g,"\n\n"),{replace:e=&gt;{if("br"===e.name)return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{})," ",(0,i.jsx)("br",{})]})}})})})})})}var b=n(52143);function w(e){let{ctaTitle:t,ctaLink:n}=e;return t&amp;&amp;n?(0,i.jsx)("a",{className:"event-detail-primary-button",href:n.includes("mailto")||n.includes("tel")||n.includes("sms")?n:(null==n?void 0:n.indexOf("://"))&gt;-1?n:"https://".concat(n),target:"_blank",rel:"noopener noreferrer",children:t}):(0,i.jsx)(i.Fragment,{})}var N=n(35608);function _(e){let t,n;let{organization:a,attendanceType:o,title:s,description:l,organiser:r,startDate:c,endDate:d,locationTitle:p,locationAddress:v,toggleEventLocationModal:f,ctaTitle:g,ctaLink:x,collectionTitle:j}=e;("string"==typeof c||c instanceof Date)&amp;&amp;(t=new Date(c)),("string"==typeof d||d instanceof Date)&amp;&amp;(n=new Date(d));let y=t.toISOString();y=y.replace(/[-:.]/g,"");let _=n.toISOString();_=_.replace(/[-:.]/g,"");let k=t.getDate()===n.getDate(),D=t&amp;&amp;t.getHours()&gt;5&amp;&amp;22&gt;t.getHours(),C=n&amp;&amp;n.getHours()&gt;5&amp;&amp;22&gt;n.getHours();return(0,i.jsxs)("div",{className:"event-detail-scroll-card-container",children:[(0,i.jsxs)("div",{className:"container",children:[(null==a?void 0:a.logo)&amp;&amp;(0,i.jsx)("div",{className:"image-container",children:(0,i.jsx)(u(),{src:a.logo.url,alt:s,width:a.logo.width,height:a.logo.height,sizes:"100vw",style:{width:"100%",height:"auto"}})}),(0,i.jsx)(h(),{href:"/events/organization/".concat(null==a?void 0:a.slug),children:(null==a?void 0:a.type)&amp;&amp;(0,i.jsxs)("div",{className:"reverse",children:[(0,i.jsx)("span",{children:r}),(0,i.jsx)("h3",{children:(0,m.tq)(a)})]})})]}),(0,i.jsx)("div",{className:"off-border",children:(0,i.jsxs)("div",{className:"flex-container",children:[(0,i.jsx)("div",{children:(0,i.jsx)("i",{className:"fas fa-calendar-alt border"})}),(0,i.jsxs)("div",{className:"text-left",children:[k&amp;&amp;(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{children:null==t?void 0:t.toLocaleString("de-DE",N.iv)}),(0,i.jsxs)("span",{children:[D&amp;&amp;t.toLocaleString("de-DE",N.ZD),C&amp;&amp;" – "+n.toLocaleString("de-DE",N.ZD)]})]}),!k&amp;&amp;(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{children:[null==t?void 0:t.toLocaleString("de-DE",D?N.nX:N.iv),t&amp;&amp;n&amp;&amp;" – "]}),(0,i.jsx)("p",{children:null==n?void 0:n.toLocaleString("de-DE",C?N.nX:N.iv)})]})]})]})}),(0,i.jsx)("button",{onClick:"online"!==o&amp;&amp;v?f:null,className:"online"!==o&amp;&amp;v?"off-border":"off-border no-cursor",children:(0,i.jsxs)("div",{className:"flex-container",children:[(0,i.jsx)("div",{children:(0,i.jsx)("i",{className:"online"===o?"fas fa-video border":"fas fa-map-marker-alt border"})}),(0,i.jsxs)("div",{className:"text-left",children:[(0,i.jsx)("p",{children:p}),v&amp;&amp;(0,i.jsx)("span",{children:v})]}),"online"!==o&amp;&amp;v&amp;&amp;(0,i.jsx)("div",{className:"icon",children:(0,i.jsx)("i",{className:"fas fa-chevron-right flex-end"})})]})}),(0,i.jsx)(b.Z,{isEvent:!0,isCalendars:!0,title:s,description:l,startDate:c,endDate:d,locationTitle:p,locationAddress:v}),j&amp;&amp;(0,i.jsxs)("div",{className:"container event-collection",children:[(0,i.jsx)("div",{className:"icon-container",children:(0,i.jsx)("i",{className:"far fa-calendar"})}),(0,i.jsx)("div",{children:(0,i.jsx)("p",{children:j})})]}),""!==x&amp;&amp;(0,i.jsx)(w,{ctaTitle:g||"Mehr Infos",ctaLink:x})]})}var k=n(60262);function D(e){let{session:t,id:n,isFavoriting:a,isFavoritedByUser:o,favoriteEvent:s}=e;return(0,i.jsx)(i.Fragment,{children:t&amp;&amp;(0,i.jsxs)("div",{className:"adp-sticky-bar__icon-container",children:[a!==n&amp;&amp;(0,i.jsx)("i",{className:o?"fal fa-heart filled":"far fa-heart",onClick:()=&gt;s(n,o)}),a===n&amp;&amp;(0,i.jsx)("div",{className:"is-favoriting"})]})})}var C=n(45004),S=n(67712),L=n(6122),T=n(27484),E=n.n(T);function A(e){var t;let{session:n,contentUrls:o,editors:s,event:l,id:r,slug:c,title:d,icon:u,type:p,attendanceType:h,excursionDestinationLabel:m,excursionDestination:v,talkLecturer:f,talkLecturerAffiliation:g,isFavoritedByUser:x,isFavoriting:j,favoriteEvent:y}=e,[w,N]=(0,a.useState)("");return(0,i.jsx)("article",{className:"event-detail-title",children:(0,i.jsxs)("section",{className:"container",children:[(0,i.jsxs)("div",{className:"subtitle",children:[(0,i.jsx)("i",{className:u})," ",(0,i.jsxs)("p",{children:[p," (",h,")"]})]}),(0,i.jsx)("div",{className:"title__heading",children:(0,i.jsx)("h1",{children:d})}),(0,i.jsxs)("div",{className:"title__subheading",children:[v&amp;&amp;(0,i.jsxs)("p",{children:[(0,i.jsxs)("strong",{children:[m,":"]})," ",v]}),f&amp;&amp;(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h2",{children:f}),(0,i.jsx)("p",{children:g&amp;&amp;"".concat(g)})]})]}),(0,i.jsxs)(b.Z,{isEvent:!0,id:r,baseClass:"adp-sticky-bar",toggleShare:w===r,toggleBookmark:j===r,children:[(0,i.jsx)(k.Z,{url:"https://gdch.app",selectedItem:l,toggleShare:w===r,onClickShare:()=&gt;{if(window.isRNWebView){let e={isPerson:!1,title:d,url:c.indexOf("http")&gt;-1?"".concat(c):"".concat("https://gdch.app","/event/").concat(c)};window.ReactNativeWebView.postMessage(JSON.stringify(e))}else navigator.share?navigator.share({title:d,url:c.indexOf("http")&gt;-1?"".concat(c):"".concat("https://gdch.app","/event/").concat(c)}).then(function(){console.log("Sharing successfull")}).catch(function(){console.log("Sharing failed"),""!==w?N(""):N(r)}):""!==w?N(""):N(r)}}),!(null==n?void 0:n.sso)&amp;&amp;(0,i.jsx)(D,{session:n,id:r,isFavoriting:j,isFavoritedByUser:x,favoriteEvent:()=&gt;y(r,x)}),n&amp;&amp;s.includes(parseInt(null==n?void 0:n.membershipNumber))&amp;&amp;(0,i.jsx)(C.Z,{isEvent:!0,contentUrls:o,id:r}),n&amp;&amp;(n.email.includes("@gdch.de")||"87137"===n.nickname)&amp;&amp;(0,i.jsx)(L.Z,{prompt:"\n### Veranstaltung\n# ".concat(d,"\n## Typ: ").concat(l.type," (").concat(h,")\n\n* Direktlink zur Veranstaltung: https://gdch.app/event/").concat(c,"\n* Start: ").concat(E()(l.startDate).format("YYYY-MM-DD HH:mm"),"\n* Ende: ").concat(E()(l.endDate).format("YYYY-MM-DD HH:mm"),"\n").concat(l.ctaTitle&amp;&amp;"* Call-to-Action: ".concat(l.ctaTitle,", ").concat(l.ctaLink,"\n"),"* Ansprechperson: ").concat(l.manager.title?l.manager.title:""," ").concat(l.manager.firstname," ").concat(l.manager.lastname,", ").concat((null==l?void 0:l.eventContactEmail)?l.eventContactEmail:null==l?void 0:null===(t=l.manager)||void 0===t?void 0:t.authMail,"\n").concat(f&amp;&amp;"* Vortragend: ".concat(f,", ").concat(g,"\n"),"* Ort: ").concat(l.organisationName,", ").concat(l.addressLine1,", ").concat(l.addressLine2&amp;&amp;l.addressLine2+", ").concat(l.postalCode," ").concat(l.city,"\n* Tags: ").concat(l.tags.join(", "),"\n* Interessen: ").concat(l.interests.map(e=&gt;e.name).join(", "),"\n\n").concat(S.zD(l.description).text().replaceAll("%","Prozent").trim(),"\n\n---\n")})]})]})})}function Z(e){let{image:t,width:n,height:a,copyright:o,alt:s}=e;return(0,i.jsxs)("div",{className:"events-detail-image-container",children:[(0,i.jsx)("div",{className:"inner-image-container",children:(0,i.jsx)(u(),{src:t,alt:s,width:n,height:a,sizes:"500px",style:{width:"100%",height:"auto"}})}),""!==o&amp;&amp;(0,i.jsx)("div",{className:"inner-image-copyright",children:o})]})}function I(e){let{downloadableAssets:t}=e;return(0,i.jsx)("div",{className:"event-download-list-container",children:t&amp;&amp;t.map((e,t)=&gt;(0,i.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",children:[e.originalFilename,(0,i.jsx)("i",{className:"fas fa-download"})]},t))})}function O(e){let{title:t,downloadableAssets:n}=e;return(0,i.jsxs)("div",{className:"event-download-container",children:[(0,i.jsx)(f,{title:t}),(0,i.jsx)(I,{downloadableAssets:n})]})}function M(e){let{type:t,value:n}=e;return(0,i.jsx)("div",{className:"event-single-tags-container",children:(0,i.jsx)(h(),{href:"tags"===t?"/events/tag/".concat(n):"/events/interest/".concat(n),children:(0,i.jsx)("li",{className:"single-tag",children:n})})})}function z(e){let{type:t,values:n}=e;return(0,i.jsx)("ul",{className:"event-tags-list-container",children:n&amp;&amp;n.map((e,n)=&gt;(0,i.jsx)(M,{type:t,value:(null==e?void 0:e.name)?e.name:e},n))})}function R(e){let{type:t,title:n,values:a}=e;return(0,i.jsxs)("div",{className:"event-tags-container",children:[(0,i.jsx)(f,{title:n}),(0,i.jsx)(z,{type:t,values:a})]})}var U=n(21e3),P=n.n(U),F=(0,r.Zh)()(function(e){let{t,locationTitle:n,locationDescription:o,locationAddress:s,locationLatitude:l,locationLongitude:r,closeModal:c}=e,d=encodeURIComponent(s);return(0,a.useEffect)(()=&gt;{let e=P()().position(l,r),t=document.getElementById("OpenStreetMap");(null==t?void 0:t.children.length)===1&amp;&amp;t.appendChild(e.show())},[l,r]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"event-location-content__modal__overlay active",onClick:()=&gt;c(),children:(0,i.jsxs)("div",{className:"event-location-content__modal",children:[(0,i.jsx)("i",{className:"fal fa-times event-location-content__modal-close",onClick:()=&gt;c()}),(0,i.jsxs)("div",{className:"heading",children:[(0,i.jsx)("i",{className:"fas fa-map-marker-alt"}),(0,i.jsx)("h1",{children:t("locationDescription.text")})]}),(0,i.jsx)("div",{id:"OpenStreetMap",className:"event-location-content",children:(0,i.jsx)("div",{className:"is-loading-map"})}),(0,i.jsxs)("a",{href:"https://www.google.com/maps/search/".concat(d,"/"),target:"_blank",rel:"noopener noreferrer",children:[t("calculateRoute.text")," ",(0,i.jsx)("i",{className:"far fa-chevron-right"})]}),(0,i.jsxs)("div",{className:"event-location-content__details",children:[(0,i.jsx)("div",{className:"event-location-content__details__left",children:(0,i.jsx)("i",{className:"fas fa-home-alt"})}),(0,i.jsxs)("div",{className:"event-location-content__details__right",children:[n&amp;&amp;(0,i.jsx)("p",{className:"event-location-content__details__title",children:n}),(0,i.jsx)("p",{className:"event-location-content__details__subtitle",children:s}),o&amp;&amp;(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)("p",{className:"event-location-content__details__title",children:t("additionalLocationInformation.text")}),(0,i.jsx)("div",{className:"event-location-content__details__subtitle",dangerouslySetInnerHTML:{__html:o}})]})]})]})]})})})}),G=n(98347),V=!0,H=(0,r.Zh)()(function(e){var t,n,r,d,u,p;let h,v,{t:f,contentUrls:x,editors:j,currentEvent:b}=e,{user:w,isLoading:k}=(0,s.aF)(),D=(0,o.useRouter)(),[C,S]=(0,a.useState)(N.Gg),[L,T]=(0,a.useState)(!1),[E,I]=(0,a.useState)(""),[M,z]=(0,a.useState)(b),[U,P]=(0,a.useState)(!1),V=async e=&gt;await (0,m.Io)("post","/api/events/user/slug",{slug:e});(0,a.useEffect)(()=&gt;{let e=sessionStorage.getItem("userSession");T(!0);let t=async()=&gt;{!k&amp;&amp;w&amp;&amp;S(w)},n=async()=&gt;{S(JSON.parse(e)),T(!1)};e?n():t()},[k]);let H=async e=&gt;await (0,m.Io)("post","/api/events/user/favorite",{eventId:e}),B=async e=&gt;await (0,m.Io)("post","/api/events/user/unfavorite",{eventId:e}),Y=async(e,t)=&gt;{I(e),t||await H(e),t&amp;&amp;await B(e),z(await V(D.query.params[0])),I("")},W=()=&gt;{P(!U)},J=e=&gt;{switch(e){case"symposia":return"".concat("https://gdch.app","/assets/event-type-1.jpg");case"talk":return"".concat("https://gdch.app","/assets/event-type-2.jpg");case"recurring_meetup":return"".concat("https://gdch.app","/assets/event-type-3.jpg");case"excursion":return"".concat("https://gdch.app","/assets/event-type-4.jpg");default:return"".concat("https://gdch.app","/assets/event-type-5.jpg")}},{id:q,attendanceType:X,slug:K,image:Q,type:$,title:ee,startDate:et,endDate:en,organization:ei,locationTitle:ea,locationDescription:eo,coordinates:es,manager:el}=M;("string"==typeof et||et instanceof Date)&amp;&amp;(h=new Date(et)),("string"==typeof en||en instanceof Date)&amp;&amp;(v=new Date(en));let er=C?null==M?void 0:M.favoritedByPersons.filter(e=&gt;e.membershipNumber===parseInt(C.membershipNumber)):[],ec=[{icon:"far fa-users-class",title:f("eventSymposium.text"),value:"symposia",description:f("eventSymposiumDescription.text")},{icon:"far fa-microphone-stand",title:f("eventTalk.text"),value:"talk",description:f("eventTalkDescription.text")},{icon:"far fa-glass-cheers",title:f("eventRecurring.text"),value:"recurring_meetup",description:f("eventRecurringDescription.text")},{icon:"far fa-walking",title:f("eventExcursion.text"),value:"excursion",description:f("eventExcursionDescription.text")},{icon:"fal fa-ellipsis-h-alt",title:f("eventOther.text"),value:"other",description:f("eventOtherDescription.text")}].filter(e=&gt;e.value===(null==M?void 0:M.type)),ed=[{label:f("presenceEvent.text"),value:"offline"},{label:f("onlineEvent.text"),value:"online"},{label:f("hybridEvent.text"),value:"hybrid"}].filter(e=&gt;e.value===(null==M?void 0:M.attendanceType)),eu=(e,t)=&gt;e?"".concat(t).concat(e.substring(0,160)):"",ep="".concat(new Date(h).toLocaleString("de-DE",{dateStyle:"medium",timeStyle:"short"})).concat(eu(null==M?void 0:M.locationTitle,", ")).concat(eu(null==M?void 0:M.talkLecturer," | ")).concat(eu(null==M?void 0:M.talkLecturerAffiliation,", ")).concat(eu(null==M?void 0:M.description," | ")),eh=j.includes(parseInt(null==C?void 0:C.membershipNumber)),em=e=&gt;{var t;return null===(t=G.od.filter(t=&gt;t.value===e)[0])||void 0===t?void 0:t.label},ev=()=&gt;{let e=null;return(null==M?void 0:M.attendanceType)==="online"?e=f("onlineEventAddress.text"):(null==M?void 0:M.addressLine1)?e="".concat(M.addressLine1).concat(""!==M.addressLine2?", "+M.addressLine2:"",", ").concat(M.postalCode,", ").concat(M.city,", ").concat(em(M.country)):(null==M?void 0:M.locationAddress)&amp;&amp;(e=null==M?void 0:M.locationAddress),e};return(0,i.jsxs)(c.Z,{pageTitle:"".concat(ee," | GDCh.app"),pageDescription:ep,pageAuthor:"",canonicalURL:"".concat("https://gdch.app","/event/").concat(K),openGraphCard:{type:"website",url:"".concat("https://gdch.app","/event/").concat(K),title:ee,description:ep,images:[{url:"".concat(Q?Q.ogUrl:J($)),alt:"".concat(f("events.text"))}],site_name:"GDCh.app"},twitterCard:{cardType:"summary",handle:"@GDCh_aktuell",site:"@GDCh_aktuell"},additionalMetaTags:[{property:"title",content:ee},{property:"twitter:domain",content:"gdch.app"},{property:"twitter:url",content:"".concat("https://gdch.app","/event/").concat(K)},{property:"twitter:title",content:ee},{property:"twitter:description",content:ep},{property:"twitter:image",content:"".concat(Q?Q.ogUrl:J($))}],children:[(0,i.jsx)(l.yA,{name:ee,startDate:"".concat(new Date(h).toLocaleString("de-DE",{dateStyle:"medium",timeStyle:"short"})),endDate:"".concat(new Date(v).toLocaleString("de-DE",{dateStyle:"medium",timeStyle:"short"})),location:(()=&gt;{if((null==M?void 0:M.attendanceType)==="online")return{url:"".concat("https://gdch.app","/event/").concat(K)};if((null==M?void 0:M.attendanceType)==="offline"){if(!(null==M?void 0:M.locationAddress)&amp;&amp;!(null==M?void 0:M.addressLine1))return;if(null==M?void 0:M.addressLine1)return{name:null==M?void 0:M.organisationName,address:{streetAddress:null==M?void 0:M.addressLine1,addressLocality:null==M?void 0:M.city,postalCode:null==M?void 0:M.postalCode,addressCountry:null==M?void 0:M.country}};let e=null==M?void 0:M.locationAddress.split(","),t=e[1].trim().split(/ (.*)/);return{name:null==M?void 0:M.locationTitle,address:{streetAddress:e[0],addressLocality:t[1],postalCode:t[0],addressCountry:e[e.length-1]}}}})(),url:"".concat("https://gdch.app","/event/").concat(K),images:["".concat(Q?Q.url:J($))],description:ep,organizer:{type:"Organization",name:"".concat(null==M?void 0:null===(t=M.organization)||void 0===t?void 0:t.name)},eventStatus:"EventScheduled",eventAttendanceMode:"online"===X?"OnlineEventAttendanceMode":"offline"===X?"OfflineEventAttendanceMode":"MixedEventAttendanceMode"}),(0,i.jsx)("div",{className:"wrapper",children:(0,i.jsx)("div",{className:"events-detail-page-wrapper",children:(0,i.jsxs)("div",{className:"container-inner",children:[(0,i.jsxs)("div",{className:"container-left",children:[(0,i.jsx)(Z,{image:Q?Q.url:J($),copyright:"symposia"!==$||Q?null==Q?void 0:Q.copyright:"\xa9 Christian Augustin, Hamburg",width:Q?Q.width:1200,height:Q?Q.height:830,alt:ee}),(0,i.jsx)(A,{session:C,contentUrls:x,editors:j,userCanEdit:eh,event:M,id:q,slug:K,title:null==M?void 0:M.title,icon:null===(n=ec[0])||void 0===n?void 0:n.icon,type:null===(r=ec[0])||void 0===r?void 0:r.title,attendanceType:null===(d=ed[0])||void 0===d?void 0:d.label,excursionDestinationLabel:f("destinationTitle.text"),excursionDestination:null==M?void 0:M.excursionDestination,talkLecturer:null==M?void 0:M.talkLecturer,talkLecturerAffiliation:null==M?void 0:M.talkLecturerAffiliation,isFavoritedByUser:er.length&gt;0,isFavoriting:E,favoriteEvent:(e,t)=&gt;Y(e,t)}),(0,i.jsx)(y,{description:null==M?void 0:M.description}),(0,i.jsx)("div",{className:"mobile-container",children:(0,i.jsx)(_,{organization:null==M?void 0:M.organization,attendanceType:null==M?void 0:M.attendanceType,title:null==M?void 0:M.title,description:null==M?void 0:M.description,organiser:f("organiser.text"),startDate:null==M?void 0:M.startDate,endDate:null==M?void 0:M.endDate,locationTitle:(null==M?void 0:M.attendanceType)==="online"?f("onlineEvent.text"):(null==M?void 0:M.locationTitle)?null==M?void 0:M.locationTitle:null==M?void 0:M.organisationName,locationAddress:ev(),toggleEventLocationModal:W,ctaTitle:null==M?void 0:M.ctaTitle,ctaLink:null==M?void 0:M.ctaLink,collectionTitle:null==M?void 0:M.collectionTitle})}),(null==M?void 0:M.tags)&amp;&amp;(null==M?void 0:M.tags.length)&gt;0&amp;&amp;(0,i.jsx)(R,{type:"tags",title:f("tags.text"),values:null==M?void 0:M.tags}),(null==M?void 0:M.interests)&amp;&amp;(null==M?void 0:M.interests.length)&gt;0&amp;&amp;(0,i.jsx)(R,{type:"interests",title:f("interests.text"),values:null==M?void 0:M.interests}),(null==M?void 0:M.downloadableAssets)&amp;&amp;(null==M?void 0:M.downloadableAssets.length)&gt;0&amp;&amp;(0,i.jsx)(O,{title:f("downloads.text"),downloadableAssets:null==M?void 0:M.downloadableAssets}),(null==M?void 0:M.manager)&amp;&amp;!G.AU.includes(ei.name)&amp;&amp;(0,i.jsx)(g,{title:f("contactPerson.text"),manager:null==M?void 0:M.manager,eventContactEmail:null==M?void 0:M.eventContactEmail}),!el&amp;&amp;(null==ei?void 0:null===(u=ei.personRoles)||void 0===u?void 0:u.length)&gt;0&amp;&amp;!G.AU.includes(ei.name)&amp;&amp;(0,i.jsx)(g,{title:f("contactPerson"),manager:null==ei?void 0:null===(p=ei.personRoles[0])||void 0===p?void 0:p.person,eventContactEmail:null==M?void 0:M.eventContactEmail})]}),(0,i.jsx)("div",{className:"container-right",children:(0,i.jsx)(_,{organization:null==M?void 0:M.organization,attendanceType:null==M?void 0:M.attendanceType,title:null==M?void 0:M.title,description:null==M?void 0:M.description,organiser:f("organiser.text"),startDate:null==M?void 0:M.startDate,endDate:null==M?void 0:M.endDate,locationTitle:(null==M?void 0:M.attendanceType)==="online"?f("onlineEvent.text"):(null==M?void 0:M.locationTitle)?null==M?void 0:M.locationTitle:null==M?void 0:M.organisationName,locationAddress:ev(),toggleEventLocationModal:W,ctaTitle:null==M?void 0:M.ctaTitle,ctaLink:null==M?void 0:M.ctaLink,collectionTitle:null==M?void 0:M.collectionTitle})})]})})}),U&amp;&amp;(0,i.jsx)(F,{locationTitle:ea,locationDescription:eo,locationAddress:ev(),locationLatitude:es.latitude,locationLongitude:es.longitude,closeModal:()=&gt;W()})]})})},35608:function(e,t,n){"use strict";n.d(t,{Gg:function(){return l},Pq:function(){return d},Vy:function(){return c},ZD:function(){return s},iA:function(){return r},iv:function(){return a},nX:function(){return o}});var i=n(57632);let a={weekday:"long",year:"numeric",month:"long",day:"numeric"},o={weekday:"long",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"},s={hour:"numeric",minute:"numeric"},l={initialData:!0,email:"",email_verified:!1,id:"",image:"",membershipNumber:"",name:"",nickname:"",noltJWT:"",picture:"",sid:"",sso:!1,sub:"",updated_at:""},r={id:"",slug:"",type:"",talkLecturer:"",talkLecturerAffiliation:"",talkORCID:"",excursionDestination:"",title:"",description:"",image:{id:"",originalFilename:""},downloadableAssets:[],copyright:"",ctaLink:"",ctaTitle:"",startDate:null,endDate:null,emailDate:null,attendanceType:"",organisationName:"",addressLine1:"",addressLine2:"",postalCode:"",city:"",country:"",coordinates:{latitude:0,longitude:0},locationTitle:"",locationAddress:"",locationDescription:"",tags:[],interests:[],previousInterests:[],organization:{id:""},manager:{},eventContactEmail:"",organizations:[],message:"",favoritedByPersons:[],collectionTitle:""},c=[{id:"",slug:"",type:"",talkLecturer:"",talkLecturerAffiliation:"",talkORCID:"",excursionDestination:"",title:"",description:"",image:{id:"",originalFilename:""},downloadableAssets:[],copyright:"",ctaLink:"",ctaTitle:"",startDate:new Date,endDate:new Date,attendanceType:"",organisationName:"",addressLine1:"",addressLine2:"",postalCode:"",city:"",country:"",coordinates:{latitude:0,longitude:0},locationTitle:"",locationAddress:"",locationDescription:"",tags:[],interests:[],previousInterests:[],organization:{id:""},manager:{},organizations:[],message:"",favoritedByPersons:[],collectionTitle:""}],d={id:(0,i.Z)(),awardId:"",formType:"",awardName:null,nominatingPeople:[{id:(0,i.Z)(),title_1:"",firstname_1:"",lastname_1:"",email_1:"",additional:[],gdchMember:{membershipNumber:null}}],nominatedPeople:[{id:(0,i.Z)(),title_1:"",firstname_1:"",lastname_1:"",email_1:"",universityCompany_1:"",country_1:"",additional:[],gdchMember:{membershipNumber:null}}],additional:[],privacyAgreement:!1};(0,i.Z)(),(0,i.Z)()},58919:function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);this.obj=e||{},this.par=n}function n(e){return function(){return e.apply(this,arguments),this}}e.exports=t,t.prototype.use=n(function(e){this.obj=e(this.obj)}),t.prototype.set=n(function(e,t){this.obj[e]=t}),t.prototype.get=function(e){return e?this.obj[e]:this.obj},t.prototype.sub=function(e){var n=this.obj;return n[e]||(n[e]={}),t(n[e],this)},t.prototype.tmp=function(){return t({},this)},t.prototype.out=function(){return this.par},t.prototype.keys=function(){return Object.keys(this.obj)},t.prototype.parEach=n(function(e){var t=this;t.par.keys().forEach(function(n){e.call(t,n,t.par.get(n))})}),t.prototype.each=n(function(e){var t=this;t.keys().forEach(function(n){e.call(t,n,t.get(n))})}),t.prototype.clone=function(){return this.tmp({}).parEach(function(e,t){this.set(e,t)})}},57632:function(e,t,n){"use strict";let i;n.d(t,{Z:function(){return l}});var a={randomUUID:"undefined"!=typeof crypto&amp;&amp;crypto.randomUUID&amp;&amp;crypto.randomUUID.bind(crypto)};let o=new Uint8Array(16),s=[];for(let e=0;e&lt;256;++e)s.push((e+256).toString(16).slice(1));var l=function(e,t,n){if(a.randomUUID&amp;&amp;!t&amp;&amp;!e)return a.randomUUID();let l=(e=e||{}).random||(e.rng||function(){if(!i&amp;&amp;!(i="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)})();if(l[6]=15&amp;l[6]|64,l[8]=63&amp;l[8]|128,t){n=n||0;for(let e=0;e&lt;16;++e)t[n+e]=l[e];return t}return function(e,t=0){return s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]}(l)}}},function(e){e.O(0,[2962,188,5935,8764,8370,3731,8267,2888,9774,179],function(){return e(e.s=56355)}),_N_E=e.O()}]);</pre></body></html>