1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[924],{30:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876);function a({color:e,children:t,className:l,wrapperClassName:a,id:i}){return(0,s.jsx)("section",{id:i,className:`gl-container-${e||"white"} ${l||""}`,children:(0,s.jsx)("div",{className:`gl-wrapper ${a||""}`,children:t})})}},5072:(e,t,l)=>{l.d(t,{E_:()=>p,Kk:()=>c,OD:()=>m,Yq:()=>x,aj:()=>d,bJ:()=>u,oD:()=>h});var s=l(18270),a=l.n(s);l(53441);var i=l(40123),n=l.n(i);let r=null,c=e=>{n()(e)||(r=e)},o=e=>{if(!e)return e;let t=e;return r?.forEach(e=>{let l=e?.wordpress_cpt?.name;l&&e?.g_name&&!l.includes("magazine")&&t.includes(`/${l}/`)&&(t=t.replace(`/${l}/`,`/${e.g_name}/`))}),t},d=e=>{var t;let l;if(!e)return"";let s=(t=e,(l="https://cdn.imagine-ai.eu","string"==typeof t&&t.includes(l))?t.replace(RegExp(`(href=["'])${l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(/[^"']*)`,"gi"),(e,t,l)=>l.startsWith("/app/uploads")||l.startsWith("/wp-content")?e:t+o(l)):t);return a().sanitize(s,{ADD_ATTR:["target"]})},u=e=>e?e.includes("/app/uploads")?e:e.includes("https://cdn.imagine-ai.eu")?o(e.replace("https://cdn.imagine-ai.eu","").toLowerCase()):e:null,h=(e,t)=>t?e?e.split(" ").slice(0,t).join(" "):"":e||"",m=(e,t,l)=>{let s=e;return e?.includes("magazine-article")?s=e.replace("magazine-article",`magazine/${l}`):e?.includes("magazine-issue")?s=`/magazine/${l}`:e?.includes("/post/")?s=e.replace("/post/","/article/"):(t?.map(t=>{e?.includes(`/${t.wordpress_cpt?.name}/`)&&(s=e.replace(t.wordpress_cpt.name,t.g_name))}),s)},p=(e="",t="")=>n()(e)||n()(t)?"":`/preview/${t}/?postType=${e}&postId=${t}`,x=(e,t)=>{let l=new Date(e);return t?`${l.toLocaleString("en-US",{month:"long"})} ${l.getDate().toString().padStart(2,"0")}, ${l.getFullYear()}`:`${l.getDate().toString().padStart(2,"0")}/${(l.getMonth()+1).toString().padStart(2,"0")}/${l.getFullYear()}`}},22290:(e,t,l)=>{l.d(t,{A:()=>p});var s=l(37876),a=l(14232),i=l(84175),n=l(40923),r=l(80356),c=l(40367),o=l(29652),d=l(97462),u=l(30),h=l(53947),m=l(69022);function p({data:e,block:t}){let l="https://cdn.imagine-ai.eu",[p,x]=(0,a.useState)(!1),g=new Date(e?.date),f=`${g.getDate().toString().padStart(2,"0")}/${(g.getMonth()+1).toString().padStart(2,"0")}/${g.getFullYear()}`;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.A,{id:e?.sectionId,className:0===e.index?"lg:pt-16":"",color:e?.backgroundType,children:(0,s.jsxs)(o.A,{className:"w-full",orientation:`${e.type.includes("left")?"row-reverse":"row"}`,position:"items-center",space:"20",children:[(0,s.jsx)(o.A,{className:"w-full lg:w-1/2",orientation:"col",space:"16 ",children:t?.innerBlocks?(0,s.jsx)("div",{className:"gl-copy",children:(0,s.jsx)(c.M,{wpData:t?.innerBlocks,blockDataSet:c.c,theme:"white"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.A,{orientation:"col",className:"w-full",space:"4",children:[e?.date&&e?.index==0&&(0,s.jsx)(d.A,{type:"pretitle",className:"text-sm",content:`Updated ${f}`}),(0,s.jsx)(d.A,{type:"pretitle",content:e?.beforeTitle}),(0,s.jsx)(d.A,{type:"h2",tag:`${e?.index===0?"h1":"h2"}`,content:e?.title}),(0,s.jsx)(d.A,{type:"title",content:e?.afterTitle}),(0,s.jsx)(d.A,{type:"body_1",content:e?.content}),(0,s.jsxs)("div",{className:"flex space-x-8",children:[e?.socialInfo?e?.socialInfo?.socialLink?.map((e,t)=>(0,s.jsx)("a",{href:e.link,className:"",children:(0,s.jsx)(h.A,{className:"w-full h-full fill-second",type:e.socialNetwork})},t)):null,e?.socialInfo?.contactDetails?.email?(0,s.jsx)("a",{href:`mailto:${e?.socialInfo?.contactDetails?.email}`,className:"",children:(0,s.jsx)(h.A,{className:"w-full h-full fill-second mt-1",type:"email"})}):null,e?.socialInfo?.contactDetails?.phoneNumber?(0,s.jsx)("a",{href:`tel:${e?.socialInfo?.contactDetails?.phoneNumber}`,className:"",children:(0,s.jsx)(h.A,{className:"w-full h-full fill-second",type:"phone"})}):null]})]}),(e?.button||e?.buttonSecondary)&&(0,s.jsxs)(o.A,{className:"pt-4",space:"4",children:[e?.button&&(0,s.jsx)(i.A,{...e?.button,variant:"fill"}),e?.buttonSecondary&&(0,s.jsx)(i.A,{...e?.buttonSecondary,variant:"outline"})]})]})}),(0,s.jsx)(o.A,{className:"w-full lg:w-1/2",orientation:"row",children:e.type.includes("video")?p||!e?.image?(0,s.jsx)("div",{className:"w-full aspect-w-16 aspect-h-8",children:(0,s.jsx)(r.A,{embedId:e?.videoUrl?e?.videoUrl+"?autoplay=0":"https://www.youtube.com/?auto
1play=0"})}):(0,s.jsxs)("div",{className:"relative w-full h-full flex justify-center",children:[(0,s.jsx)("div",{className:"absolute w-full h-full flex justify-center items-center z-20 bg-black bg-opacity-30 ",children:(0,s.jsx)("div",{onClick:function(){x(!0)},className:"cursor-pointer w-20 h-20 top-1/2 left-1/2 flex justify-center items-center rounded-full z-20 bg-black",children:(0,s.jsx)("div",{className:"relative left-1.5 top-0.5 w-0 h-0 border-[12px] border-transparent border-l-white"})})}),(0,s.jsx)("div",{className:"w-full h-full",children:(0,s.jsx)(n.A,{className:"object-cover",layout:"responsive",innerClassName:"object-cover overflow-hidden",width:1920,height:1e3,...e?.image})})]}):(0,s.jsx)(n.A,{innerClassName:l?.includes("eosc")?"":"rounded-md",className:`${e?.image?.mediaDetails?.width>e?.image?.mediaDetails?.height||!e?.image?.mediaDetails||l?.includes("eosc")?"md:p-10":"md:p-36"} w-full`,...e?.image})})]})}),e?.cptFields?.writtenBy&&e?.index===0&&(0,s.jsx)(m.A,{data:e?.cptFields?.writtenBy,type:"author",contentTypeMap:e?.contentTypeMap,date:e?.date})]})}},29652:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876);function a({orientation:e="row",space:t="0",children:l,wrap:a,position:i="",className:n=""}){return(0,s.jsx)("div",{className:`${n} 2 ${a?"flex-wrap":""} 3 ${i} 4 flex-col space-y-4 flex lg:flex-${e} 5 ${e.includes("reverse")?e.includes("row")?"lg:space-x-reverse":"lg:space-y-reverse":""} 6 ${"row"===e||"row-reverse"===e?"lg:space-y-0":"lg:space-x-0"} 7 lg:space-${"row"===e||"row-reverse"===e?"x":"y"}-${t||0}`,children:l})}},40367:(e,t,l)=>{l.d(t,{M:()=>g,c:()=>f});var s=l(37876),a=l(5072),i=l(84175);function n({attributes:e,variant:t}){return(0,s.jsx)("div",{className:"bg-white-alt shadow-lg sm:px-10 py-10 flex flex-col my-4 text-gray-400 font-utility",children:(0,s.jsxs)("div",{className:"mx-8 lg:grid grid-cols-2 gap-x-4",children:[(0,s.jsxs)("div",{className:"flex items-center mb-4",children:[(0,s.jsx)("div",{className:`w-0.5 h-10 bg-${t} mr-6`}),(0,s.jsx)("h1",{className:`text-3xl font-utility font-semibold break-all text-${t}`,children:e?.name})]}),e?.headings?.map((e,l)=>(0,s.jsx)("div",{className:"flex items-center uppercase text-sm font-semibold py-2",children:(0,s.jsxs)("a",{className:"flex items-center group",href:`${e?.href}`,children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:`transition-all w-1.5 h-1.5 bg-gray-400 rounded-full m-2 group-hover:bg-${t}`})}),(0,s.jsx)("p",{className:`transition-all group-hover:text-${t}`,children:e?.content})]})},l))]})})}var r=l(97462),c=l(80356),o=l(54587),d=l.n(o),u=l(40923);function h({attributes:e,images:t}){return(0,s.jsx)("div",{className:"w-full flex flex-wrap my-4",children:t?.map((e,t)=>(0,s.jsx)("div",{className:"w-1/3",children:(0,s.jsxs)("div",{className:"flex flex-col mx-4",children:[(0,s.jsx)(u.A,{sourceUrl:e?.mediaItem?.node?.sourceUrl,altText:e?.mediaItem?.node?.altText,className:"h-48 w-full object-contain"}),(0,s.jsx)("div",{className:"text-xs font-light mt-4 font-utility",children:e?.caption})]})},t))})}var m=l(22290);function p({block:e}){let t={type:e?.attributes?.mediaPosition,image:{sourceUrl:e?.attributes?.mediaUrl,width:400,height:200}};return e?.attributes?.mediaPosition,(0,s.jsx)(m.A,{data:t,block:e})}function x({attributes:e,index:t,type:l,content:a}){let i=`h${e?.level}`;return(0,s.jsxs)("div",{className:`${"magazine-article"==l&&0!==t?"mt-14":""} relative`,children:["magazine-article"==l&&e?.level==1?(0,s.jsx)("div",{className:"text-first/20 text-[50px] leading-[50px] lg:text-[150px] lg:leading-[150px] text-center absolute lg:-left-28 font-bold lg:-top-2",children:t+1}):null,(0,s.jsx)(i,{id:e?.anchor,className:`gl-content-h${e?.level} ${"magazine-article"==l&&e?.level==1?"ml-12 lg:ml-0 leading-10":""}`,children:a})]})}function g({wpData:e,blockDataSet:t,theme:l}){return e?e?.map((e,a)=>(0,s.jsx)("span",{children:t(e?.name?.substring(e?.name?.indexOf("/")+1),e?.attributes,a,l,e)},a)):null}function f(e,t,l,o,u){let m={title:u?.originalContent?.replace(/(<([^>]+)>)/ig,""),url:t?.url};return({paragraph:(0,s.jsx)(r.A,{tag:"p",content:u?.originalContent}),heading:(0,s.jsx)(x,{attributes:t,content:u?.originalContent?.replace(/(<([^>]+)>)/ig,"")}),image:t?.url?(0,s.jsx)("div",{className:"w-full relative h-160 ",children:(0,s.jsx)(d(),{className:"relative w-full h-full object-contain",alt:"image",width:1280,height:640,src:t?.url})}):null,quote:(0,s.jsxs)("blockquote",{className:"italic my-4 text-2xl text-gray-400 font-utility flex",children:[(0,s.jsx)("p",{className:"mr-4",dangerouslySetInnerHTML:{__html:(0,a.aj)(u?.innerBlocks?.[0]?.originalContent)}}),(0,s.jsxs)("span",{className:"text-gray-500",children:["~",u?.originalContent?.replace(/(<([^>]+)>)/ig,"")]})]},l),button:(0,s.jsx)("div",{className:"mx-4 my-4",children:(0,s.jsx)(i.A,{title:m.title,url:m.url,backgroundType:"first"})}),list:(0,s.jsx)("div",{className:"gl-formatter",dangerouslySetInnerHTML:{__html:(0,a.aj)(u?.saveContent)}}),"table-of-contents":(0,s.jsx)(n,{attributes:t,variant:o}),separator:(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)("div",{className:`border-second ${t?.className==="is-style-wide"?"w-full":"w-20"} ${t?.className==="is-style-dots"?"border-dotted border-t-6":"border-t-2 "}`})}),spacer:(0,s.jsx)("div",{className:"w-full",style:{height:t?.height||"50px"}}),embed:t?.url!==""?(0,s.jsx)("div",{className:"w-full h-112 my-4",children:(0,s.jsx)(c.A,{embedId:t?.url})}):"",gallery:(0,s.jsx)(h,{attributes:t,images:u?.innerBlocks}),group:(0,s.jsx)("div",{children:(0,s.jsx)(g,{wpData:u?.innerBlocks,blockDataSet:f,theme:o})}),columns:(0,s.jsx)("div",{className:"flex flex-wrap",children:(0,s.jsx)(g,{wpData:u?.innerBlocks,blockDataSet:f,theme:o})}),column:(0,s.jsx)("div",{className:"pr-4",style:{width:t?.width||"50%"},children:(0,s.jsx)(g,{wpData:u?.innerBlocks,blockDataSet:f,theme:o})}),buttons:(0,s.jsx)("div",{className:"flex",children:(0,s.jsx)(g,{wpData:u?.innerBlocks,blockDataSet:f,theme:o})}),"media-text":(0,s.jsx)(p,{block:u}),freeform:(0,s.jsx)(r.A,{className:"gl-content gl-formatter",content:u?.saveContent||t?.text})})[e]}},40923:(e,t,l)=>{l.d(t,{A:()=>n});var s=l(37876),a=l(54587),i=l.n(a);function n(e){let{altText:t,mediaDetails:l,sourceUrl:a,className:n,layout:r,innerClassName:c,width:o,height:d,priority:u=!1,sizes:h}=e;return a&&(l||o&&d)?(0,s.jsx)("div",{className:n,children:(0,s.jsx)(i(),{sizes:h,quality:75,priority:u,className:`${c||""}`,src:a,width:o||l.width,height:d||l.height,alt:t||"Image",placeholder:`${l?.width<=40&&l?.height<=40||o<=40&&d<=40?"empty":"blur"}`,blurDataURL:"/images/image-blur-placeholder.png"})}):a&&!l?(0,s.jsx)("img",{className:n,src:a}):null}},53947:(e,t,l)=>{l.d(t,{A:()=>f});var s=l(37876);l(14232);let a=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,...e,children:(0,s.jsx)("path",{d:"M0 3v18h24V3H0zm6.623 7.929L2 16.641V7.183l4.623 3.746zM2.482 5h19.035L12 12.713 2.482 5zm5.694 7.188L12 15.287l3.83-3.104L21.442 19H2.663l5.513-6.812zm9.208-1.264L22 7.183v9.348l-4.616-5.607z"})}),i=e=>(0,s.jsx)("svg",{width:26,height:26,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75 3h12.5A3.75 3.75 0 0 1 23 6.75v12.5A3.75 3.75 0 0 1 19.25 23H6.75A3.75 3.75 0 0 1 3 19.25V6.75A3.75 3.75 0 0 1 6.75 3Zm7.196 10 1.639-.001.219-2.068h-1.86l.002-1.035c0-.538.038-.827.812-.827h1.035V7h-1.655c-1.987 0-2.444
71.026-2.444 2.714l.002 1.217-1.5.002V13h1.5v6h2.249l.001-6Z"})}),n=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,...e,children:(0,s.jsx)("path",{d:"M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"})}),r=e=>(0,s.jsx)("svg",{width:26,height:26,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.25 3h7.5A6.25 6.25 0 0 1 23 9.25v7.5A6.25 6.25 0 0 1 16.75 23h-7.5A6.25 6.25 0 0 1 3 16.75v-7.5A6.25 6.25 0 0 1 9.25 3Zm7.5 18.125a4.38 4.38 0 0 0 4.375-4.375v-7.5a4.38 4.38 0 0 0-4.375-4.375h-7.5A4.38 4.38 0 0 0 4.875 9.25v7.5a4.38 4.38 0 0 0 4.375 4.375h7.5Z"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 13a5 5 0 1 1 10 0 5 5 0 0 1-10 0Zm1.875 0A3.13 3.13 0 0 0 13 16.125 3.13 3.13 0 0 0 16.125 13 3.129 3.129 0 0 0 13 9.875 3.129 3.129 0 0 0 9.875 13Z"}),(0,s.jsx)("circle",{cx:18.5,cy:7.5,r:1})]})}),c=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:26,height:26,viewBox:"0 0 32 32",style:{fill:"#000"},...e,children:(0,s.jsx)("path",{d:"M14.717 4c-.54.75-.934 1.29-1.313 1.848a1.708 1.708 0 0 0-1.216-.612c-1.522-.096-1.437-.09-1.506-.09a1.75 1.75 0 0 0-1.735 1.64l-.084 1.403v.006a1.75 1.75 0 0 0 1.633 1.844l1.063.065c-.091.9.053 1.741.416 2.464a11.233 11.233 0 0 0-3.688 2.502c-3.349 3.348-3.281 7.519-3.281 11.532l1.27-1.35c.262.968.662 1.893 1.185 2.748h1.535a9.313 9.313 0 0 1-1.666-3.873l2.13-2.268-1.009 3.178c2.247-1.639 5.7-4.704 12.52-2.695 1.803.525 3.723.038 4.582-1.543.432 2.116.058 5.121-1.196 7.195h1.457c.78-1.559 1.186-3.433 1.186-5.517 0-2.637-1.126-5.306-3.078-7.32-1.66-1.71-3.383-2.45-4.397-2.776a4.087 4.087 0 0 0-2.46-5.482c-.988-.333-1.521-.305-1.73-.305-.005-.005-.245-.392.481-1.946L14.716 4zm-4.03 2.428c.023 0-.095-.01 1.426.086.533.037.421.633.416.74-.284.5-.519 1.027-.699 1.574l-1.254-.074a.465.465 0 0 1-.431-.488l.084-1.405a.458.458 0 0 1 .459-.433zm3.46.615c.203.517.71.847 1.263.82.395-.016 2.163.14 2.899 1.7.389.835.463 2.254-.647 3.261l-.447-.55c-1.296-1.308-2.819-.2-2.819.937a2.796 2.796 0 0 1-1.189-1.072c-1.046-1.747.208-3.959.94-5.096zm-3.192.144-.053.836.832.055.053-.836-.832-.054zm5.053 5.782a.29.29 0 0 1 .219.119l2.95 3.648c.257.316-.219.713-.48.391l-.293-.363-1.047.855a.238.238 0 0 1-.336-.031l-.474-.584a.239.239 0 0 1 .031-.336l1.053-.863-.428-.528-.517.43c-.256.209-.642
7-.3-.397-.504l.514-.424-1.057-1.3c-.196-.237.03-.52.262-.51zm2.803.515c.416.13.822.284 1.22.461 1.643.734 3.014 1.967 3.916 3.237.816 1.157.956 2.341.366 3.175-.582.831-1.73 1.115-2.989.745-3.917-1.157-7.447-.895-10.531.771l1.594-5.014c-6.291 6.698-5.644 6.013-6.082 6.479.059-1.57.265-3.216 1.06-4.834.71-1.436 2.43-3.778 5.406-4.887.853.815 1.894 1.077 2.278 1.147a1.535 1.535 0 0 0 .246 1.607 1.536 1.536 0 0 0 .266 1.438l.474.584c.288.357.723.563 1.18.562.646 0 1.03-.406 1.185-.53.848.31 1.478-.204 1.547-.263a1.601 1.601 0 0 0 .225-2.244l-1.703-2.102c.12-.102.236-.213.342-.332zm.595 10.92a.952.952 0 0 0-.949.955.95.95 0 1 0 1.9 0 .956.956 0 0 0-.95-.955zm-5.9.006a.95.95 0 0 0-.95.953c0 .527.425.955.95.955.525 0 .95-.428.95-.955a.953.953 0 0 0-.95-.953z"})}),o=e=>(0,s.jsx)("svg",{width:26,height:26,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.222 7.276c1.435 0 2.307-.957 2.307-2.138C7.5 3.928 6.657 3 5.279 3 3.9 3 3 3.928 3 5.138c0 1.181.872 2.138 2.222 2.138ZM7.388 22.72H3.112V8.964h4.276V22.72Z"}),(0,s.jsx)("path",{d:"M9.947 13.352c0-1.716-.056-3.15-.112-4.388h3.713l.197 1.913h.085c.562-.9 1.94-2.223 4.247-2.223 2.813 0 4.923 1.885 4.923 5.935v8.13h-4.276v-7.623c0-1.772-.619-2.981-2.166-2.981-1.182 0-1.884.815-2.194 1.603-.113.28-.14.675-.14 1.069v7.932H9.946v-9.367Z"})]})}),d=e=>(0,s.jsx)("svg",{width:26,height:26,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 3H3v20h20V3ZM7.603 9.25a.52.52 0 0 1 .17.439v5.938a.683.683 0 0 1-.182.59l-1.412 1.712v.225h4.002v-.225l-1.41-1.712a.708.708 0 0 1-.195-.59v-5.136l3.512 7.663h.408l3.017-7.662v6.107c0 .163 0 .195-.107.301l-1.085 1.054v.226h5.27v-.226l-1.048-1.029a.313.313 0 0 1-.12-.3V9.067a.313.313 0 0 1 .12-.301l1.072-1.028v-.226h-3.713l-2.647 6.603-3.01-6.603H6.348v.226l1.254 1.51Z",fill:"#000"})}),u=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,...e,children:(0,s.jsx)("path",{d:"m20 22.621-3.521-6.795a618.8 618.8 0 0 1-2.064 1.011c-2.24 1.086-6.799-7.82-4.609-8.994l2.083-1.026L8.396 0 6.29 1.039c-7.202 3.755 4.233 25.982 11.6 22.615.121-.055 2.102-1.029 2.11-1.033z"})}),h=e=>(0,s.jsx)("svg",{width:22,height:22,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 1227",...e,children:(0,s.jsx)("path",{xmlns:"http://www.w3.org/2000/svg",d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"})}),m=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,...e,children:(0,s.jsx)("path",{d:"M19.615 3.184c-3.604-.246-11.631-.245-15.23 0C.488 3.45.029 5.804 0 12c.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0C23.512 20.55 23.971 18.196 24 12c-.029-6.185-.484-8.549-4.385-8.816zM9 16V8l8 3.993L9 16z"})});var p=l(73504);let x=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",...e,version:"1.1",width:"22",height:"22",style:{shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",imageRendering:"optimizeQuality",fillRule:"evenodd",clipRule:"evenodd"},children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{className:"scale-[46%]",d:"M 4.5,7.5 C 11.175,7.33375 17.8417,7.50042 24.5,8C 25.1258,8.75044 25.6258,9.58377 26,10.5C 30.1048,7.10586 34.6048,6.60586 39.5,9C 45.6829,13.2182 48.1829,19.0515 47,26.5C 40.5898,27.4777 34.0898,27.811 27.5,27.5C 27.3196,33.8197 30.3196,36.3197 36.5,35C 38.2134,33.6218 39.5467,31.9552 40.5,30C 42.8098,29.5034 45.1432,29.3367 47.5,29.5C 47.2447,32.0163 46.4114,34.3496 45,36.5C 43.0382,37.9674 40.5382,39.4674 37.5,41C 33.7559,41.9285 30.2559,41.4285 27,39.5C 26.5,40 26,40.5 25.5,41C 18.1667,41.6667 10.8333,41.6667 3.5,41C 1.6751,39.5341 1.1751,37.7008 2,35.5C 7.62113,28.4234 13.1211,21.2568 18.5,14C 13.5,13.6667 8.5,13.3333 3.5,13C 2.64332,12.3109 1.97665,11.4776 1.5,10.5C 2.77013,9.71237 3.77013,8.71237 4.5,7.5 Z M 31.5,13.5 C 37.2153,13.2151 39.882,15.8818 39.5,21.5C 35.5,21.5 31.5,21.5 27.5,21.5C 26.7741,17.693 28.1074,15.0263 31.5,13.5 Z M 20.5,19.5 C 21.2125,24.368 21.8792,29.368 22.5,34.5C 18.2047,35.6609 13.8713,35.8275 9.5,35C 13.8001,30.2141 17.4668,25.0474 20.5,19.5 Z",fill:"current"})})}),g=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -3.268 64 68.414",width:"24",height:"24",...e,children:(0,s.jsx)("path",{fill:"current",d:"M13.873 3.805C21.21 9.332 29.103 20.537 32 26.55v15.882c0-.338-.13.044-.41.867-1.512 4.456-7.418 21.847-20.923 7.944-7.111-7.32-3.819-14.64 9.125-16.85-7.405 1.264-15.73-.825-18.014-9.015C1.12 23.022 0 8.51 0 6.55 0-3.268 8.579-.182 13.873 3.805zm36.254 0C42.79 9.332 34.897 20.537 32 26.55v15.882c0-.338.13.044.41.867 1.512 4.456 7.418 21.847 20.923 7.944 7.
7111-7.32 3.819-14.64-9.125-16.85 7.405 1.264 15.73-.825 18.014-9.015C62.88 23.022 64 8.51 64 6.55c0-9.818-8.578-6.732-13.873-2.745z"})});function f({className:e,type:t}){return({facebook:(0,s.jsx)(i,{className:e}),bluesky:(0,s.jsx)(g,{className:e}),instagram:(0,s.jsx)(r,{className:e}),linkedin:(0,s.jsx)(o,{className:e}),medium:(0,s.jsx)(d,{className:e}),twitter:(0,s.jsx)(h,{className:e}),x:(0,s.jsx)(h,{className:e}),github:(0,s.jsx)(n,{className:e}),email:(0,s.jsx)(a,{className:e}),phone:(0,s.jsx)(u,{className:e}),keybase:(0,s.jsx)(c,{className:e}),youtube:(0,s.jsx)(m,{className:e}),orcid:(0,s.jsx)(p.A,{className:e,width:24,height:24}),orcid_id:(0,s.jsx)(p.A,{className:e,width:24,height:24}),zenodo:(0,s.jsx)(x,{className:e})})[t?.toLowerCase()]||null}},69022:(e,t,l)=>{l.d(t,{A:()=>$});var s=l(37876),a=l(5072),i=l(29652),n=l(97462);l(73739);var r=l(40923),c=l(30);function o({data:e,contentTypeMap:t}){return(0,s.jsx)(c.A,{wrapperClassName:`${e?.length==4?"py-10":"py-6 "} relative`,color:"alt",children:(0,s.jsx)(i.A,{className:"justify-between w-full",children:(0,s.jsx)("div",{className:`grid grid-cols-2 lg:grid-cols-${e?.length} gap-y-2 w-full `,children:e?.map((l,c)=>(0,s.jsx)("a",{href:(0,a.OD)(l?.uri,t),className:`${l?.guestFields?.keepThePagePublic?"":"pointer-events-none pointer-none"}`,children:(0,s.jsxs)(i.A,{className:"transition-all h-full items-center relative",orientation:"row",space:"1",children:[(0,s.jsx)(r.A,{className:"flex rounded-full",width:40,height:40,innerClassName:"rounded-full h-20 w-20 object-cover object-top",...l?.featuredImage?.node}),(0,s.jsxs)(i.A,{className:`${e?.length==1?"px-10":"px-4"} justify-center`,orientation:"col",space:"0",children:[(0,s.jsx)(n.A,{type:"body_2",className:"text-first",content:l?.title}),(0,s.jsx)(n.A,{type:"caption_1",content:l?.guestFields?.jobTitle})]})]})},c))})})})}var d=l(40123),u=l.n(d);function h({data:e,contentTypeMap:t,type:l}){let c="https://cdn.imagine-ai.eu";return(0,s.jsx)("a",{className:"w-full group",title:e?.title,href:(0,a.OD)(e?.uri,t,e?.magazines?.nodes?.[0]?.slug),children:(0,s.jsxs)(i.A,{className:`bg-white-alt p-0 ${c?.includes("eosc")?"":"rounded-md"} border border-opacity-50 hover:shadow-xl transition-all h-full w-full `,orientation:"col",space:"4",children:[(0,s.jsx)(i.A,{position:"justify-center items-center w-full",children:e?.featuredImage?.node?.sourceUrl?(0,s.jsx)(r.A,{className:`w-full object-cover overflow-hidden ${c?.includes("eosc")?"":"rounded-md"}`,layout:"intrinsic",innerClassName:`object-cover overflow-hidden group-hover:scale-110 transition-all ${c?.includes("eosc")?"":"rounded-md"} h-[235px]`,width:750,height:550,...e?.featuredImage?.node}):(0,s.jsx)("div",{className:"w-[800px] h-[370px]"})}),(0,s.jsxs)(i.A,{className:`${l?.includes("small")?"px-4 pb-2":"px-0 lg:px-12 h-full "} h-full justify-between`,orientation:"col",position:"justify-between items-center",space:"4",children:["articles_slider_magazine"==l?(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:e?.categories?.nodes?.map((e,t)=>(0,s.jsx)(n.A,{type:"caption_2",className:"bg-first px-2 py-1 text-xs text-white rounded-md font-bold",content:e.name},t))}):null,(0,s.jsx)(n.A,{type:"h4",orientation:`${l?.includes("small")?null:"text-center"} group-hover:underline`,content:e?.title}),l?.includes("small")?null:(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.A,{type:"body_1",orientation:"text-center",content:(0,a.oD)(e?.excerpt,15)})}),e?.__typename=="Event"?(0,s.jsxs)("div",{className:"flex gap-2 self-start pb-4",children:[(0,s.jsx)(n.A,{type:"caption_2",className:"capitalize",content:e?.customFields?.dates?.date}),(0,s.jsx)(n.A,{type:"caption_2",className:"capitalize",content:e?.customFields?.dates?.time})]}):null,e?.__typename!="Post"||u()(e?.cptFields)?null:(0,s.jsxs)("div",{className:"w-full pb-4 flex gap-4 flex-nowrap items-center justify-center lg:justify-start",children:[(0,s.jsx)("div",{className:`flex items-center ${e?.cptFields?.writtenBy?.length>1?"left-4":""}`,children:e?.cptFields?.writtenBy?.length<=1?(0,s.jsx)(r.A,{...e?.cptFields?.writtenBy?.[0]?.featuredImage?.node,width:50,height:50,innerClassName:"w-12 h-12 object-cover rounded-full relative"}):e?.cptFields?.writtenBy?.map((e,t)=>(0,s.jsx)(r.A,{...e?.featuredImage?.node,width:50,height:50,className:`${t>0?`-left-${4*t}
7`:""} relative`,innerClassName:"w-12 h-12 object-cover rounded-full"},t))}),(0,s.jsxs)("div",{className:"flex flex-col -left-4 relative",children:[e?.cptFields?.writtenBy?.[0]?.title&&e?.cptFields?.writtenBy?.length<=1?(0,s.jsx)(n.A,{type:"caption_1",className:"capitalize font-bold",content:`${e?.cptFields?.writtenBy?.[0]?.title}`}):e?.cptFields?.writtenBy?.[0]?.title?(0,s.jsx)(n.A,{type:"caption_1",className:" relative capitalize font-bold",content:"Multiple Authors"}):null,(0,s.jsx)(n.A,{type:"caption_2",className:`${e?.cptFields?.writtenBy?.length>1?"relative":""} capitalize`,content:(0,a.Yq)(e?.date,!0)})]})]})]})]})})}var m=l(84175);function p({data:e,contentTypeMap:t,type:l}){return(0,s.jsx)("a",{className:"w-full h-full flex justify-center",href:(0,a.OD)(e?.uri,t),title:e?.title,children:(0,s.jsxs)(i.A,{className:`bg-white-alt border border-gray-100 p-4 lg:p-0 ${"https://cdn.imagine-ai.eu".includes("eosc")?"":"rounded-xl"} hover:shadow-xl transition-all h-full w-full justify-center items-center lg:mx-32 relative`,orientation:"row",space:"4",children:[(0,s.jsx)(i.A,{position:"justify-center items-center pr-12 lg:pr-0 pl-12 py-10 w-1/3",children:(0,s.jsx)(r.A,{className:"flex rounded-full border-2 border-second",layout:"intrinsic",width:300,height:300,innerClassName:"rounded-full object-cover",...e?.featuredImage?.node})}),(0,s.jsxs)(i.A,{className:"px-4 py-10 lg:px-12 justify-center w-2/3",orientation:"col",space:"4",children:[(0,s.jsx)(n.A,{type:"h4",content:e?.title}),(0,s.jsx)(n.A,{type:"h4",content:e?.jobtitle}),(0,s.jsx)(n.A,{type:"body_1",content:e?.excerpt}),(0,s.jsx)(i.A,{className:"pt-4",children:(0,s.jsx)(m.A,{url:(0,a.OD)(e?.uri,t),title:e?.ctaCardsArticle?.ctaCardsArticle?.ctaCopy?e?.ctaCardsArticle?.ctaCardsArticle?.ctaCopy:"Read more about "+e?.title})})]})]})})}function x({data:e,contentTypeMap:t,type:l}){return(0,s.jsx)("a",{href:(0,a.OD)(e?.uri,t),title:"Card Image",children:(0,s.jsx)(r.A,{className:"w-full h-[100px]",layout:"intrinsic",innerClassName:`object-contain ${"https://cdn.imagine-ai.eu".includes("eosc")?"":"rounded-t-xl"} h-full`,width:300,height:200,...e?.featuredImage?.node,objectFit:"contain"})})}var g=l(98555);function f({data:e,type:t,index:l,columns:c,contentTypeMap:o}){let d="https://cdn.imagine-ai.eu";return(0,s.jsxs)(i.A,{className:`bg-white-alt w-full lg:p-4 transition-all lg:hover:shadow-lg border-b ${d?.includes("eosc")?"":"rounded-md"} lg:px-12`,orientation:"row",space:"1",children:[(0,s.jsx)("a",{href:(0,a.OD)(e?.uri,o),title:e?.title,children:(0,s.jsx)(i.A,{position:"justify-center items-center lg:pr-10",children:(0,s.jsx)(r.A,{className:"w-44 h-44",innerClassName:`object-cover ${d?.includes("eosc")?"":"rounded-lg"}`,width:500,height:500,layout:"responsive",...e?.featuredImage?.node})})}),(0,s.jsxs)(i.A,{className:"justify-center items-center lg:justify-start lg:items-start lg:w-full",orientation:"col",position:"justify-center",space:"2",children:[(0,s.jsx)("a",{href:(0,a.OD)(e?.uri,o),children:(0,s.jsx)(n.A,{type:"h4",content:e?.title})}),(0,s.jsx)(n.A,{type:"body_1",content:(0,a.oD)(e?.excerpt,15)}),(0,s.jsx)(i.A,{className:"lg:items-end w-full lg:justify-end justify-center items-center",orientation:"col",space:"4",children:(0,s.jsx)(m.A,{url:(0,a.OD)(e?.uri,o),title:e?.ctaCardsArticle?.ctaCardsArticle?.ctaCopy?e?.ctaCardsArticle?.ctaCardsArticle?.ctaCopy:"Read more "+e?.title,variant:"basic"})})]})]})}var j=l(53947),w=l(89099);function v({data:e,contentTypeMap:t,type:l}){let c,o="https://cdn.imagine-ai.eu",d=(0,w.useRouter)();return e?.guestFields?.contentPerson?.map(e=>{e?.relatedContent?.[0]?.uri===d?.asPath&&(c=e?.copyToShow?.content)}),(0,s.jsxs)(i.A,{className:`bg-white-alt w-full p-0 border-1 ${o?.includes("eosc")?"":"rounded-xl"} hover:shadow-xl transition-all`,orientation:"col",space:"4",children:[(0,s.jsxs)(i.A,{position:"justify-center items-center relative",children:[(0,s.jsx)("a",{className:"w-full",href:(0,a.OD)(e?.uri,t),title:e?.title,children:(0,s.jsx)(r.A,{className:"w-full object-cover",layout:"responsive",innerClassName:`object-cover object-center ${o?.includes("eosc")?"":"rounded-t-xl"} h-[440px] w-full`,width:200,height:240,...e?.featuredImage?.node})}),(0,s.jsxs)("div",{className:`absolute w-full h-full opacity-0 hover:opacity-100 ${o?.includes("eosc")?"":"rounded-t-xl"} flex flex-col transition-all justify-between top-0 left-0 bg-white-alt z-20 p-8`,children:[(0,s.jsx)(n.A,{className:"text-xl leading-xl",content:e?.excerpt}),(0,s.jsx)(m.A,{url:(0,a.OD)(e?.uri,t),title:e?.ctaCardsArticle?.ctaCardsArticle?.ctaCopy?e?.ctaCardsArticle?.ctaCardsArticle?.ctaCopy:"Read more about "+e?.title})]})]}),(0,s.jsxs)(i.A,{className:"px-4 pb-2 justify-between h-full",orientation:"col",space:"2",children:[(0,s.jsxs)("a",{className:"w-full",href:(0,a.OD)(e?.uri,t),title:e?.title,children:[(0,s.jsx)(n.A,{type:"h4",content:e?.title}),(0,s.jsx)(n.A,{className:"font-semibold",type:"body_1",content:c||e?.guestFields?.jobTitle})]}),(0,s.jsxs)("div",{className:"flex space-x-4 pb-2 items-center",children:[e?.guestFields?.socialLink?.map((e,t)=>(0,s.jsx)("a",{href:e.link,className:"flex items-center",children:(0,s.jsx)(j.A,{className:"w-full h-full fill-second",type:e.socialNetwork})},t)),e?.guestFields?.contactDetails?.email?(0,s.jsx)("a",{href:`mailto:${e?.guestFields?.contactDetails?.email}`,className:"",children:(0,s.jsx)(j.A,{className:"w-full h-full fill-second mt-1",type:"email"})}):null,e?.guestFields?.contactDetails?.phoneNumber?(0,s.jsx)("a",{href:`tel:${e?.guestFields?.contactDetails?.phoneNumber}`,className:"",children:(0,s.jsx)(j.A,{className:"w-full h-full fill-second",type:"phone"})}):null]})]})]})}var y=l(40367);function b({data:e,contentTypeMap:t,type:l}){return(0,s.jsxs)(i.A,{className:`bg-white-alt p-4 py-10 lg:p-0 ${"https://cdn.imagine-ai.eu".includes("eosc")?"":"rounded-xl"} transition-all h-full justify-center items-center lg:mx-32 relative border`,orientation:"row",space
7:"4",children:[e?.featuredImage?.node?(0,s.jsx)(i.A,{className:"justify-center items-center border-r lg:w-1/4 my-10 px-10",orientation:"col",space:"4",children:(0,s.jsx)(i.A,{position:"justify-center items-center ",children:(0,s.jsx)(r.A,{className:"flex rounded-full border-2 border-second ",layout:"intrinsic",width:300,height:300,innerClassName:"rounded-full object-cover",...e?.featuredImage?.node})})}):null,(0,s.jsx)(i.A,{className:`px-4 lg:px-12 lg:w-3/4 justify-center ${!e?.featuredImage?.node?"py-10":""}`,orientation:"col",space:"4",children:(0,s.jsx)(i.A,{orientation:"col",space:"6",children:(0,s.jsx)(y.M,{wpData:e?.blocks,blockDataSet:y.c})})})]})}function N({data:e}){let t=e?.cptFields?.writtenBy?.[0];return(0,s.jsxs)(i.A,{className:"bg-white-alt rounded-xl shadow-custom p-6 h-full",orientation:"col",space:"4",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center gap-4",children:[t?.featuredImage?.node&&(0,s.jsx)(r.A,{className:"flex-shrink-0 w-11 h-11 rounded-full overflow-hidden",innerClassName:"w-11 h-11 rounded-full object-cover",width:44,height:44,...t.featuredImage.node}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)(n.A,{type:"caption_2",className:"!text-second !normal-case !font-normal !text-xs",content:t?.guestFields?.jobTitle}),(0,s.jsx)(n.A,{type:"body_2",className:"!text-first",content:t?.title})]})]}),(0,s.jsx)("div",{className:"text-sm font-secondary text-gray-600 leading-relaxed",children:(0,s.jsx)(y.M,{wpData:e?.blocks,blockDataSet:y.c})})]})}function A({data:e,contentTypeMap:t}){return(0,s.jsx)("a",{className:"w-full",href:(0,a.OD)(e?.uri,t),title:e?.title,children:(0,s.jsx)(i.A,{className:"p-0 border-l w-full",orientation:"col",space:"4",children:(0,s.jsxs)(i.A,{className:"px-8 pb-12",orientation:"col",space:"4",children:[(0,s.jsx)(n.A,{type:"h4",content:e?.title}),(0,s.jsx)(n.A,{type:"body_1",content:e?.excerpt})]})})})}function $({data:e,type:t,contentTypeMap:l,date:a}){let i={default:(0,s.jsx)(h,{data:e,type:t,contentTypeMap:l}),articles_text_only:(0,s.jsx)(A,{data:e,contentTypeMap:l}),expert:(0,s.jsx)(p,{data:e,type:t,contentTypeMap:l}),author:(0,s.jsx)(o,{data:e,type:t,contentTypeMap:l,date:a}),quote:(0,s.jsx)(b,{data:e,contentTypeMap:l}),image_only:(0,s.jsx)(x,{data:e,contentTypeMap:l}),person:(0,s.jsx)(v,{data:e,contentTypeMap:l}),list:(0,s.jsx)(f,{data:e,contentTypeMap:l}),articles_highlighted:(0,s.jsx)(g.A,{type:t,data:e,contentTypeMap:l}),articles_categories:(0,s.jsx)(g.A,{type:t,data:e,contentTypeMap:l}),latest:(0,s.jsx)(g.A,{data:e,type:t,columns:e?.columns}),articles_magazine:(0,s.jsx)(g.A,{data:e,type:t,columns:e?.columns}),testimonial:(0,s.jsx)(N,{data:e})};return e?.__typename==="Person"&&"expert"!==t&&"author"!==t?i.person:i[t]||i.default}},73504:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876);let a=({className:e,...t})=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 256 256",...t,children:[(0,s.jsx)("path",{className:e,d:"M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{className:"fill-white",d:"M86.3,186.2H70.9V79.1h15.4v48.4V186.2z"}),(0,s.jsx)("path",{className:"fill-white",d:"M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5 c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z"}),(0,s.jsx)("path",{className:"fill-white",d:"M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1 C84.2,46.7,88.7,51.3,88.7,56.8z"})]})]})},73739:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876);function a({xGap:e,yGap:t,columns:l,children:a,className:i}){return(0,s.jsx)("div",{className:`${i||""} grid grid-cols-1 md:grid-cols-2 gap-y-4 md:gap-x-4 lg:grid-cols-${l} lg:gap-x-${e||"0"} lg:gap-y-${t||"0"}`,children:a})}},79426:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876);let a=e=>(0,s.jsx)("svg",{width:16,height:13,stroke:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m15.718 6.087-4.84-5.034c-.4-.391-1.034-.391-1.41 0-.4.416-.4 1.075 0 1.466l3.149 3.274H.987C.447 5.793 0 6.258 0 6.82c0 .586.446 1.05.987 1.05h11.606l-3.125 3.25c-.4.416-.4 1.076 0 1.466.376.416 1.01.416 1.41 0l4.84-5.033c.376-.391.376-1.05 0-1.466Z"})})},80356:(e,t,l)=>{l.d(t,{A:()=>u});var s=l(37876);let a="[A-Za-z0-9_-]{11}",i=[/youtu\.be\/([A-Za-z0-9_-]{11})/i,/\/shorts\/([A-Za-z0-9_-]{11})/i,/\/live\/([A-Za-z0-9_-]{11})/i,/\/embed\/([A-Za-z0-9_-]{11})/i,/\/e\/([A-Za-z0-9_-]{11})/i,/\/v\/([A-Za-z0-9_-]{11})/i,/\/watch\/([A-Za-z0-9_-]{11})/i];function n(e){if(!e.includes("<iframe"))return e;let t=e.match(/src\s*=\s*["']([^"']+)["']/i);return t?t[1]:e}function r(e){if(!/attribution_link/i.test(e))return e;let t=e.match(/[?&]u=([^&]+)/);if(!t)return e;try{return decodeURIComponent(t[1])}catch{return e}}let c=new Set(["v","feature","si","pp","app","ab_channel","index","t","start","time_continue","embeds_referring_euri","source_ve_path","themeRefresh"]);function o(e,t){let l=new URLSearchParams;for(let[,s,a]of e.matchAll(/[?&]([^=?#&\s]+)=([^?#&\s]*)/g))t.has(s)||l.set(s,a);return l}let d=function(e,t={}){if(!e||"string"!=typeof e)return e;let l=n(e.trim());if(function(e){if(!e||"string"!=typeof e)return!1;let t=n(e.trim());return/(?:youtube(?:-nocookie)?\.com|youtu\.be)/i.test(t)||RegExp(`^${a}$`).test(t)}(l)){let s=function(e){if(!e||"string"!=typeof e)return null;let t=r(n(e.trim()));if(RegExp(`^${a}$`).test(t))return t;let l=t.match(/[?&]v=([A-Za-z0-9_-]{11})/);if(l)return l[1];for(let e of i){let l=t.match(e);if(l)return l[1]}return null}(l),d=function(e){if(!e||"string"!=typeof e)return null;let t=r(n(e.trim())).match(/[?&]list=([A-Za-z0-9_-]+)/);return t?t[1]:null}(l);if(!s&&!d)return e;let u=/youtube-nocookie\.com/i.test(l)?"https://www.youtube-nocookie.com":"https://www.youtube.com",h=r(l),m=o(h,c),p=function(e){let t=e.match(/[?&](?:t|start|time_continue)=([0-9hms]+)/i);if(!t)return null;let l=t[1];if(/^\d+$/.test(l))return parseInt(l,10)||null;let s=l.match(/^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/i);return s&&3600*parseInt(s[1]||"0",10)+60*parseInt(s[2]||"0",10)+parseInt(s[3]||"0",10)||null}(h);if(p&&m.set("start",String(p)),null!=t.autoplay&&m.set("autoplay",t.autoplay?"1":"0"),null!=t.muted&&m.set("mute",t.muted?"1":"0"),!1===t.controls&&m.set("controls","0"),t.loop&&(m.set("loop","1"),s&&m.set("playlist",s)),!s)return m.set("list",d),`${u}/embed/videoseries?${m.toString()}`;let x=m.toString();return x?`${u}/embed/${s}?${x}`:`${u}/embed/${s}`}if(l&&"string"==typeof l&&/vimeo\.com/i.test(n(l.trim()))){let s=function(e){if(!e||"string"!=typeof e)return null;let t=n(e.trim()).match(/vimeo\.com\/(?:video\/|channels\/[^/]+\/|groups\/[^/]+\/videos\/)?(\d+)(?:\/([A-Za-z0-9]+))?/i);return t?{id:t[1],hash:t[2]||null}:null}(l);if(!s)return e;let{id:a,hash:i}=s,r=o(l,new Set);i&&r.set("h",i),null!=t.autoplay&&r.set("autoplay",t.autoplay?"1":"0"),t.muted&&r.set("muted","1"),t.loop&&r.set("loop","1");let c=r.toString();return c?`https://player.vimeo.com/video/${a}?${c}`:`https://player.vimeo.com/video/${a}`}return e};function u({embedId:e}){let t=d(e);return(0,s.jsx)(s.Fragment,{children:e?(0,s.jsx)("iframe",{width:"100%",height:"100%",src:t,frameBorder:"0",referrerPolicy:"str
7ict-origin-when-cross-origin",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,title:"Embed",className:""}):null})}},84175:(e,t,l)=>{l.d(t,{A:()=>d});var s=l(37876),a=l(5072);l(29652);var i=l(97462);l(14232);var n=l(79426);function r({title:e}){return(0,s.jsxs)("div",{className:"relative pr-8 rounded justify-center items-center group flex",children:[(0,s.jsx)(i.A,{type:"body_1",className:"text-second",content:e}),(0,s.jsx)(n.A,{className:"absolute right-0 transition-all fill-current group-hover:-translate-x-1 -translate-x-4 transform text-second ml-4 opacity-0 group-hover:opacity-100"})]})}function c({title:e}){return(0,s.jsxs)("div",{className:`relative px-8 py-2 bg-second border-2 border-second ${"https://cdn.imagine-ai.eu".includes("eosc")?"":"rounded"} items-center justify-center group flex`,children:[(0,s.jsx)(i.A,{type:"body_1",className:"text-white group-hover:-translate-x-4 transition-all",content:e}),(0,s.jsx)(n.A,{className:"absolute right-0 overflow-visible fill-current transition-all group-hover:-translate-x-1 -translate-x-4 transform text-white ml-4 opacity-0 group-hover:opacity-100 mr-2"})]})}function o({title:e}){let t="https://cdn.imagine-ai.eu";return(0,s.jsxs)("div",{className:`relative px-8 py-2 border-2 ${t?.includes("eosc")?"border-first":"border-second rounded"} items-center justify-center group flex`,children:[(0,s.jsx)(i.A,{type:"body_1",className:`${t?.includes("eosc")?"text-first":"text-second"} group-hover:-translate-x-4 transition-all`,content:e}),(0,s.jsx)(n.A,{className:`absolute right-0 transition-all fill-current group-hover:-translate-x-1 transform ml-4 opacity-0 group-hover:opacity-100 mr-2 -translate-x-4 ${t?.includes("eosc")?"text-first":"text-second"}`})]})}function d({title:e,target:t,url:l,variant:i,type:n}){let d={default:(0,s.jsx)(c,{title:e}),outline:(0,s.jsx)(o,{title:e}),fill:(0,s.jsx)(c,{title:e}),basic:(0,s.jsx)(r,{title:e})};return(0,s.jsx)("div",{className:"flex",children:l?(0,s.jsx)("a",{"aria-label":`Read more about ${l}`,href:(0,a.bJ)(l),target:t,children:(0,s.jsx)("button",{children:d[i||"default"]})}):(0,s.jsx)("button",{type:n,children:d[i||"default"]})})}},97462:(e,t,l)=>{l.d(t,{A:()=>i});var s=l(37876),a=l(5072);function i({content:e,type:t,tag:l,orientation:i,className:n="",color:r}){let c=`${l||"div"}`;return(0,s.jsx)(s.Fragment,{children:e?(0,s.jsx)(c,{style:{color:r},className:`${n} gl-content-${t||"body_1"} ${i||"text-left"} gl-formatter`,dangerouslySetInnerHTML:{__html:(0,a.aj)(e)}}):null})}},98555:(e,t,l)=>{l.d(t,{A:()=>m});var s=l(37876),a=l(29652),i=l(40923),n=l(97462),r=l(84175),c=l(5072),o=l(48230),d=l.n(o),u=l(40123),h=l.n(u);function m({data:e,type:t,contentTypeMap:l}){let o=({disable:e,title:t,href:l,children:a,className:i})=>e?(0,s.jsx)("div",{className:i,children:a}):(0,s.jsx)(d(),{href:l||"/",title:t,className:i,children:a});return(0,s.jsx)(o,{href:(0,c.OD)(e?.uri,l,e?.magazines?.nodes?.[0]?.slug),title:e?.title,disable:"latest"==t||"articles_categories"==t,children:(0,s.jsxs)(a.A,{className:`w-full h-full bg-white-alt overflow-hidden ${"articles_magazine"==t?"rounded-md lg:shadow-none md:p-6 md:rounded-[1.875rem] lg:hover:shadow-custom_second group cursor-pointer":"articles_highlighted"==t?"lg:shadow-none p-4 rounded-[1.375rem] lg:hover:shadow-custom_second group cursor-pointer md:flex-row":` ${"articles_categories"==t?"p-2 md:p-6 lg:p-8":"rounded-md"}`} shadow-custom_xs transition-all`,orientation:"articles_magazine"==t?"col":"row",space:"articles_magazine"==t?"4":"",children:["articles_categories"!==t?(0,s.jsx)(o,{href:(0,c.OD)(e?.uri,l,e?.magazines?.nodes?.[0]?.slug),title:e?.title,className:`${"latest"==t?"lg:w-[60%] h-[200px] lg:min-h-[350px] lg:h-full lg:pr-8":"articles_highlighted"==t?"md:w-[35%]":"w-full h-[300px]"}`,disable:"latest"!=t&&"articles_categories"!=t,children:(0,s.jsx)(i.A,{className:"w-full h-full",innerClassName:`${"latest"==t?"rounded-md rounded-b-none lg:rounded-r-none":"rounded-md"} w-full h-full object-cover`,...e?.featuredImage?.node})}):null,(0,s.jsxs)(a.A,{orientation:"col",className:`${"latest"==t?"lg:w-[40%] pl-6 lg:pl-0 pr-6 lg:pr-8 pt-2 lg:pt-6 pb-6 justify-between":"articles_highlighted"==t?"md:w-[65%] md:pl-4":""} ${"articles_magazine"==t?"p-4 md:p-0":""}
7 justify-between h-full`,space:"articles_highlighted"==t?"2":"4",children:[(0,s.jsxs)(a.A,{orientation:"col",space:"articles_highlighted"==t?"2":"4",children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:e?.categories?.nodes?.map((e,t)=>(0,s.jsx)(n.A,{type:"caption_2",className:"bg-first px-2 py-1 text-xs text-white rounded-md font-bold",content:e.name},t))}),(0,s.jsx)(o,{href:(0,c.OD)(e?.uri,l,e?.magazines?.nodes?.[0]?.slug),title:e?.title,disable:"latest"!=t&&"articles_categories"!=t,children:(0,s.jsx)(n.A,{type:"articles_highlighted"==t?"h4":"h2",content:e?.title,className:"articles_magazine"==t?"group-hover:text-second transition-all":""})}),(0,s.jsx)(n.A,{type:"body_1",content:"articles_highlighted"==t||"articles_categories"==t?(0,c.oD)(e?.excerpt,15):e?.excerpt})]}),!h()(e?.cptFields)&&e?.cptFields?.writtenBy&&("articles_magazine"==t||"articles_highlighted"==t)&&(0,s.jsxs)("div",{className:"w-full pb-4 flex gap-4 flex-nowrap items-center justify-center lg:justify-start self-end",children:[(0,s.jsx)("div",{className:`flex items-center ${e?.cptFields?.writtenBy?.length>1?"left-4":""}`,children:e?.cptFields?.writtenBy?.length<=1?(0,s.jsx)(i.A,{...e?.cptFields?.writtenBy?.[0]?.featuredImage?.node,width:50,height:50,innerClassName:"w-12 h-12 object-cover rounded-full relative"}):e?.cptFields?.writtenBy?.map((e,t)=>(0,s.jsx)(i.A,{...e?.featuredImage?.node,width:50,height:50,className:`${t>0?`-left-${4*t}`:""} relative`,innerClassName:"w-12 h-12 object-cover rounded-full"},t))}),(0,s.jsxs)("div",{className:`flex flex-col ${e?.cptFields?.writtenBy?.length>1?"-left-4":""} relative`,children:[e?.cptFields?.writtenBy?.[0]?.title&&e?.cptFields?.writtenBy?.length<=1?(0,s.jsx)(n.A,{type:"caption_1",className:"capitalize font-bold",content:`${e?.cptFields?.writtenBy?.[0]?.title}`}):e?.cptFields?.writtenBy?.[0]?.title?(0,s.jsx)(n.A,{type:"caption_1",className:" relative capitalize font-bold",content:"Multiple Authors"}):null,(0,s.jsx)(n.A,{type:"caption_2",className:`${e?.cptFields?.writtenBy?.length>1?"relative":""} capitalize`,content:(0,c.Yq)(e?.date,!0)})]})]}),"articles_magazine"!==t&&"articles_highlighted"!==t?(0,s.jsx)("a",{className:"self-end",title:"Read more about "+e?.title,href:`/magazine/${e?.magazines?.nodes?.[0]?.slug}/${e?.slug}`,children:(0,s.jsx)(r.A,{title:"See more",variant:"articles_categories"==t?"basic":""})}):null]})]})})}}}]);
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.