1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9593],{16390:(n,e,t)=>{t.d(e,{A:()=>a});var i=t(97281),o=t(12115);function a(n){let e=(0,o.useRef)(null);return(0,o.useEffect)(()=>(e.current&&(n?(0,i.mh)(e.current):(0,i.fY)(e.current)),()=>{(0,i.qY)()}),[n]),e}},20973:(n,e,t)=>{t.d(e,{A:()=>o});var i=t(12115);function o(n,e){(0,i.useEffect)(()=>(window.addEventListener(n,e),()=>{window.removeEventListener(n,e)}))}},39593:(n,e,t)=>{t.r(e),t.d(e,{default:()=>_});var i=t(15933),o=t(95155),a=t(16657),r=t(69860),l=t(13613),d=t(76600),s=t(62297),c=t(60223),m=t(20978),u=t(5608),p=t(47252),g=t(50881),f=t(38205);function h(){let n=(0,i._)(["\n background: ",";\n overflow: hidden;\n"]);return h=function(){return n},n}function b(){let n=(0,i._)(["\n padding-bottom: 40px;\n @media (min-width: ","em) {\n position: relative;\n margin-right: auto;\n margin-left: auto;\n max-width: 1140px;\n }\n"]);return b=function(){return n},n}function x(){let n=(0,i._)(["\n @media (min-width: ","em) {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: 31.4% 7.1% calc(68.6% - 7.1%);\n grid-template-columns: 31.4% calc(68.6% - 7.1%);\n grid-column-gap: 7.1%;\n grid-template-areas:\n 'sidebar content'\n 'empty content';\n -ms-grid-rows: max-content;\n grid-template-rows: -webkit-max-content;\n grid-template-rows: max-content;\n margin-top: 33px;\n }\n"]);return x=function(){return n},n}function w(){let n=(0,i._)(["\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n grid-area: sidebar;\n\n @media print {\n display: none;\n }\n"]);return w=function(){return n},n}function y(){let n=(0,i._)(["\n ",";\n -ms-grid-row: 1;\n -ms-grid-column: 3;\n grid-area: content;\n\n @media (min-width: ","em) {\n position: relative;\n top: 20px;\n }\n\n "," {\n @media (min-width: ","em) {\n .gallery-col {\n -ms-flex-preferred-size: 33.333333%;\n flex-basis: 33.333333%;\n }\n }\n }\n\n .intro {\n max-width: 100%;\n }\n\n &.react-tabs__tabs-content {\n opacity: 0;\n }\n\n &.fadein {\n opacity: 1;\n }\n\n &.react-tabs__tab-panel--selected {\n z-index: 10;\n opacity: 1;\n }\n"]);return y=function(){return n},n}function v(){let n=(0,i._)(["\n grid-area: content;\n -ms-grid-row: 1;\n -ms-grid-column: 3;\n z-index: 0;\n display: none;\n padding-right: ","rem;\n padding-left: ","rem;\n text-align: right;\n font-size: 12px;\n font-weight: 400;\n line-height: 18px;\n color: ",";\n\n @media (min-width: ","em) {\n position: relative;\n top: 20px;\n display: block;\n }\n\n @media (min-width: ","em) {\n padding-right: 0;\n padding-left: 0;\n }\n"]);return v=function(){return n},n}let _=(0,a.Entity)()(function(n){let{entity:e,data:t,getRelation:i,domain:a}=n,l=(0,p.A)();if(!e||!t||Array.isArray(e)||!e.attributes||!i)return null;let{title:c,field_show_date:u,drupal_internal__nid:g,changed:f,field_meta_information:h,field_summary:b}=e.attributes;return(0,o.jsx)(k,{children:(0,o.jsx)(C,{children:(0,o.jsxs)(j,{children:[u?(0,o.jsxs)(z,{children:[l("last_updated")," ",((null==f?void 0:f.value)||f)&&(0,o.jsx)("span",{children:(0,r.GP)(new Date((null==f?void 0:f.value)||f),"dd-MM-yyyy")})]}):null,(0,o.jsx)($,{children:(0,o.jsx)(s.A,{vdrBookActiveIndex:g,vdrBookData:null==h?void 0:h.vdr_book_data,vdrBookParent:null==h?void 0:h.vdr_book_parent})}),(0,o.jsxs)(I,{children:[(0,o.jsx)(m.l4,{htmltag:"h1",children:c}),b&&(0,o.jsx)(m.IE,{children:b}),(0,o.jsx)(d.A,{items:i({field:"field_content"})||[],data:t,domain:a})]})]})})})}),k=l.default.div.withConfig({displayName:"ProjectSubPage__ContainerWrap",componentId:"sc-ceb29b20-0"})(h(),f.Tj.paleGrey),C=l.default.div.withConfig({displayName:"ProjectSubPage__Container",componentId:"sc-ceb29b20-1"})(b(),g.ge.lg.min),j=l.default.div.withConfig({displayName:"ProjectSubPage__SidebarAndContentWrapper",componentId:"sc-ceb29b20-2"})(x(),g.ge.lg.min),$=l.default.div.withConfig({displayName:"ProjectSubPage__Sidebar",componentId:"sc-ceb29b20-3"})(w()),I=l.default.div.withConfig({displayName:"ProjectSubPage__Content",componentId:"sc-ceb29b20-4"})(y(),u.resolutionPaddings.defaultWidthPadding,g.ge.md.min,c.Z,g.ge.xl.min),z=l.default.div.withConfig({displayName:"ProjectSubPage__LastUpdated",componentId:"sc-ceb29b20-5"})(v(),g.bB/2,g.bB/2,f.Tj.blueyGrey,g.ge.lg.min,g.ge.xl.min)},60223:(n,e,t)=>{t.d(e,{A:()=>C,Z:()=>z});var i=t(15933),o=t(95155),a=t(16657),r=t(58757),l=t(8143),d=t(72481),s=t(70777),c=t(50881),m=t(38205),u=t(12115),p=t(84437);t(51191);var g=t(13613);function f(){let n=(0,i._)(["\n &:focus {\n outline: "," solid 1px;\n }\n"]);return f=function(){return n},n}function h(){let n=(0,i._)(["\n position: fixed !important;\n top: 0 !important;\n left: 0 !important;\n right: 0 !important;\n bottom: 0 !important;\n width: 100vw !important;\n height: 100vh !important;\n margin: 0 !important;\n padding: 0 !important;\n z-index: 9999 !important;\n background: #1d1d1b !important;\n\n .modal-content-wrap {\n max-height: 100% !important;\n }\n\n .modal-content-wrap,\n .modal-content {\n position: static;\n width: 100% !important;\n height: 100% !important;\n max-width: none !important;\n margin: 0 !important;\n padding: 0 !important;\n background: transparent !important;\n border-radius: 0 !important;\n }\n\n .modal-horizontal-wrap,\n .modal-vertical-wrap {\n width: 100% !important;\n height: 100% !important;\n display: flex !important;
1\n align-items: center !important;\n justify-content: center !important;\n }\n \n .modal-horizontal-wrap {\n @media (max-width: 991px) {\n width: 100%;\n }\n }\n\n /* Base gallery styles */\n .image-gallery {\n width: 100% !important;\n height: 100% !important;\n background: transparent !important;\n\n img {\n width: auto !important;\n max-height: calc(100vh - 120px) !important;\n max-width: calc(100vw - 120px) !important;\n margin: auto;\n object-fit: contain;\n }\n\n /* Common styles for gallery flex containers */\n .image-gallery-content,\n .image-gallery-slide-wrapper {\n height: 100% !important;\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n }\n\n .image-gallery-content,\n .image-gallery-slide-wrapper {\n position: static;\n }\n\n .image-gallery-slide {\n text-align: center;\n height: 100% !important;\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n flex-direction: column !important;\n background-color: transparent;\n \n img {\n display: inline-block;\n max-width: calc(100vw - 120px) !important;\n max-height: calc(100vh - 160px) !important;\n @media (max-width: ","em) {\n max-width: 100% !important;\n }\n }\n\n .image-gallery-description {\n position: absolute !important;\n bottom: 70px !important;\n left: 0 !important;\n right: 0 !important;\n width: 100% !important;\n transform: none !important;\n background: rgba(0, 0, 0, 0.4) !important;\n text-align: left;\n color: white !important;\n padding: 10px 20px !important;\n border-radius: 0 !important;\n max-width: none !important;\n font-weight: bold;\n }\n }\n\n .image-gallery-swipe {\n margin-top: 60px !important;\n }\n\n .image-gallery-fullscreen-button {\n @media (max-width: ","em) {\n display: none;\n }\n }\n }\n\n .image-gallery-slides {\n z-index: 1;\n height: 100% !important;\n }\n\n /* Index counter positioning */\n .image-gallery-index {\n top: 32px !important;\n right: auto !important;\n left: 15px !important;\n background-color: transparent !important;\n color: #fff !important;\n padding: 10px 20px !important;\n z-index: 4 !important;\n }\n\n /* Common navigation arrow styles */\n .image-gallery-left-nav,\n .image-gallery-right-nav {\n font-size: 2em;\n padding: 50px 15px;\n top: 50% !important;\n transform: translateY(-50%) !important;\n z-index: 4 !important;\n\n svg {\n display: none;\n }\n &::before {\n content: '';\n width: 9px;\n height: 14px;\n display: block;\n background-size: 100%;\n background-repeat: no-repeat;\n }\n }\n\n .image-gallery-left-nav {\n &::before {\n background-image: url(/static/images/icon-chevron-left-white.svg);\n }\n }\n\n .image-gallery-right-nav {\n &::before {\n background-image: url(/static/images/icon-chevron-right-white.svg);\n }\n }\n\n .image-gallery-image {\n position: relative;\n\n a {\n cursor: pointer;\n }\n\n .play-button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n cursor: pointer;\n }\n }\n\n .video-wrapper {\n video {\n max-width: 100%;\n }\n }\n\n .video-wrapper-responsive {\n position: relative;\n padding-bottom: 56.25%;\n width: 100%;\n max-width: 763px;\n\n @media (min-width: ","em) {\n width: 763px;\n }\n\n iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n }\n\n /* Fullscreen button styling */\n .image-gallery-fullscreen-button {\n top: 6px !important;\n right: 55px !important;\n bottom: auto !important;\n z-index: 4 !important;\n background: transparent !important;\n border-radius: 4px !important;\n padding: 10px !important;\n color: #fff !important;\n\n svg {\n display: none;\n }\n\n &::before {\n content: 'â¶' !important;\n font-size: 29px !important;\n font-weight: 900 !important;\n padding: 0 !important;\n color: #fff !important;\n display: block !important;\n }\n }\n"]);return h=function(){return n},n}function b(){let n=(0,i._)(["\n border: 1px solid ",";\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 71%;\n\n &::before {\n display: none;\n }\n\n span {\n position: absolute;\n top: 50%;\n margin-top: -12px;\n color: ",";\n }\n"]);return b=function(){return n},n}function x(){let n=(0,i._)(["\n justify-content: flex-start;\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n\n @media print {\n display: block;\n }\n\n div[class*='GalleryVideo__Container-'] {\n margin-bottom: 0;\n }\n\n .image__wrap {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .gallery-col {\n position: relative;\n padding: 0.5em;\n cursor: pointer;\n\n @media (min-width: ","em) {\n flex-basis: 50%;\n }
1\n\n @media (min-width: ","em) {\n flex-basis: 33.33333%;\n }\n\n @media (min-width: ","em) {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n }\n\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n flex-basis: 30%;\n }\n\n > div:not(.overlay-icon) {\n position: relative;\n margin: 0;\n\n &::before {\n content: '';\n position: absolute;\n z-index: 1;\n width: 100%;\n height: 100%;\n opacity: 0;\n background-color: rgba(56, 66, 69, 0.5);\n transition: opacity 300ms;\n }\n }\n\n &:hover > div::before,\n &:hover .overlay-icon {\n opacity: 1;\n }\n }\n\n .gallery-description {\n display: none !important;\n }\n\n .lazy-loaded-wrap img {\n width: 100%;\n }\n"]);return x=function(){return n},n}function w(){let n=(0,i._)(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 2;\n width: 46px;\n height: 46px;\n border-radius: 50%;\n background-color: ",";\n opacity: 0;\n transition: opacity 300ms;\n\n img {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"]);return w=function(){return n},n}let y=n=>{let e=n.match("^https?://(www.)?((?!.*list=)youtube.com/watch?.*v=|youtu.be/)([0-9A-Za-z_-]*)?");return e?e[3]:null},v=n=>{let e=n.match("^https?://(www.)?vimeo.com/(channels/[a-zA-Z0-9]*/)?([0-9]*)?(/[a-zA-Z0-9]+)?(#t=(d+)s)?$");return e?e[3]:null},_=(n,e,t)=>(0,o.jsx)("div",{className:"image-gallery-image",children:n.embedUrl&&e[n.embedUrl]?(0,o.jsxs)("div",{className:"video-wrapper-responsive",children:[(0,o.jsx)("a",{className:"close-video",onClick:()=>{var e;return t(null!=(e=n.embedUrl)?e:"")},role:"button",tabIndex:0}),(0,o.jsx)("iframe",{src:n.embedUrl,frameBorder:"0",allowFullScreen:!0})]}):(0,o.jsxs)("a",{onClick:()=>n.embedUrl&&t(n.embedUrl),children:[(0,o.jsx)("div",{className:"play-button",children:(0,o.jsx)("img",{src:"/static/images/playButton.svg",alt:"Play"})}),(0,o.jsx)("img",{src:n.original,alt:n.originalAlt}),n.description&&(0,o.jsx)("span",{className:"image-gallery-description",children:n.description})]})}),k=(n,e,t)=>(0,o.jsx)("div",{className:"image-gallery-image",children:n.embedUrl&&e[n.embedUrl]?(0,o.jsx)("div",{className:"video-wrapper",children:(0,o.jsx)("video",{src:n.embedUrl,autoPlay:!0,controls:!0,width:"763px"})}):(0,o.jsxs)("a",{onClick:()=>n.embedUrl&&t(n.embedUrl),children:[(0,o.jsx)("div",{className:"play-button",children:(0,o.jsx)("img",{src:"/static/images/playButton.svg",alt:"Play"})}),(0,o.jsx)("img",{src:n.original,alt:n.originalAlt}),n.description&&(0,o.jsx)("span",{className:"image-gallery-description",children:n.description})]})}),C=(0,a.Entity)()(function(n){let{items:e,visibleItemsCount:t,data:i,getMediaImage:a,getRelation:l}=n,[d,c]=(0,u.useState)(!1),[m,g]=(0,u.useState)(0),[f,h]=(0,u.useState)({}),b=e||[],x=n=>{d&&(document.documentElement.style.position="relative"),c(n=>!n),g(n),h({})},w=n=>{h(e=>{let t={...e};return t[n]=!e[n],t})},C=()=>{h({})},S=t?b.slice(0,t):b,A=b.map(n=>{var e,t,i,o,r,d,s,c;let m="gallery_image"===n.bundle,u="gallery_remote_video"===n.bundle,p="gallery_video"===n.bundle,g=null==(e=n.attributes)?void 0:e.field_media_description;if(m&&a&&l){let e=a({field:"field_media_image",content:l({content:n,field:"field_media_image"}),style:"gallery"});if(!e)return!1;{let i=(null==(t=n.attributes)?void 0:t.field_alt_text)||e.alt;return{original:e.src,description:g,originalAlt:i}}}if(u&&l){let e=l({field:"field_media_remote_video",content:n});if(e){let n=null==(i=e.attributes)?void 0:i.field_media_oembed_video,t=null==(r=e.relationships)||null==(o=r.thumbnail)?void 0:o.data,a=t&&"meta"in t?t.meta:null;if(n&&a){let e=y(n),t="";if(e)t="https://www.youtube.com/embed/".concat(e,"?autoplay=1&showinfo=0");else{let e=v(n);t="https://player.vimeo.com/video/".concat(e,"?autoplay=1")}return{original:a.derivatives.gallery.url,embedUrl:t,description:g,renderItem:n=>_(n,f,w)}}}}else if(p&&l){let e=l({field:"field_media_video",content:n});if(e&&a){let t=a({field:"field_media_image",content:null!=(c=l({content:n,field:"field_thumbnail"}))?c:void 0,style:"gallery"}),i=t?"".concat(t.url):"/static/images/video-default-large.png",o=l({field:"field_media_video_file",content:e});if(null==o||null==(s=o.attributes)||null==(d=s.uri)?void 0:d.url)return{original:i,description:g,embedUrl:o.attributes.uri.url,renderItem:n=>k(n,f,w)}}}return null});return(0,o.jsxs)(o.Fragment,{children:[d&&(0,o.jsx)($,{onClose:()=>x(m),$backgroundColor:"#1d1d1b",$closeColor:"#fff",children:(0,o.jsx)(p.A,{items:A.filter(Boolean),showPlayButton:!1,showThumbnails:!1,showIndex:!0,startIndex:m,onSlide:n=>{C(),g(n)},showFullscreenButton:!0})}),(0,o.jsxs)(z,{children:[S.map((n,e)=>{let t=(0,s.n)("entity",n);return t?(0,o.jsx)(r.FlexCol,{onClick:()=>{x(e)},className:"xs-12 md-4 gallery-col",children:(0,o.jsxs)(j,{tabIndex:0,onKeyPress:n=>"Enter"===n.key?x(e):null,children:[(0,o.jsx)(t,{entity:n,data:i}),(0,o.jsx)(N,{className:"overlay-icon",children:(0,o.jsx)("img",{src:"/static/images/search-white-bold.svg",alt:""})})]})},e):null}),t&&t<b.length&&(0,o.jsx)(r.FlexCol,{className:"xs-12 md-4 gallery-col",onClick:()=>{x(t)},onKeyPress:n=>"Enter"===n.key?x(t):null,children:(0,o.jsx)("div",{tabIndex:0,children:(0,o.jsx)(I,{children:(0,o.jsxs)("span",{children:["+ ",b.length-S.length]})})})})]})]})}),j=g.default.div.withConfig({displayName:"GalleryItem__ItemWrap",componentId:"sc-fa46ec80-0"})(f(),m.Tj.blue),$=(0,g.default)(d.default).withConfig({displayName:"GalleryItem__GalleryModal",componentId:"sc-fa46ec80-1"})(h(),c.ge.lg.min,c.ge.lg.min,c.ge.lg.min),I=g.default.div.withConfig({displayName:"GalleryItem__MoreItems",componentId:"sc-fa46ec80-2"})(b(),m.Tj.blue,m.Tj.blue),z=(0,g.default)(l.FlexRow).withConfig({displayName:"GalleryItem__GalleryRow",componentId:"sc-fa46ec80-3"})(x(),c.ge.md.min,c.ge.lg.min,c.ge.xl.min),N=g.default.div.withConfig({displayName:"GalleryItem__OverlayIcon",componentId:"sc-fa46ec80-4"})(w(),m.Tj.azure)},72481:(n,e,t)=>{t.r(e),t.d(e,{default:()=>S});var i=t(15933),o=t(95155),a=t(29300),r=t.n(a),l=t(12115),d=t(13613);let s=function(n){let{throttle:e=100,debounce:t=!1,onResize:i,children:a}=n,r=(0,l.useRef)(null),d=(0,l.useRef)(null),s=!!t&&100,c=(0,l.useCallback)(()=>
1{if(i)i({windowWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,windowHeight:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight})},[i]),m=(0,l.useCallback)(()=>{if(s)r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{c()},s);else{let n=Date.now();d.current&&n-d.current>=e&&(d.current=Date.now(),c())}},[c,s,e]);return(0,l.useEffect)(()=>(i&&(c(),s||(d.current=Date.now()),window.addEventListener("resize",m,!1)),()=>{i&&window.removeEventListener("resize",m,!1),r.current&&clearTimeout(r.current)}),[i,s,c,m]),a||(0,o.jsx)(o.Fragment,{})};var c=t(47650),m=t(20973),u=t(51559);let p=()=>(0,o.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.8)",zIndex:30},className:"modal-overlay"});t(86273);let g=n=>{let{children:e,onOpen:t=()=>void 0,onClose:i=()=>void 0,onEsc:a=()=>void 0,onEnter:r=()=>void 0,onClickOutside:d=()=>void 0,Overlay:s=p}=n,g=(0,l.useContext)(u.A),f=(0,l.useRef)(null);(0,l.useEffect)(()=>{let{firstElementChild:n}=f&&f.current||{};n&&(n.setAttribute("tabindex","0"),n.focus())},[]);let h=(0,l.useCallback)(n=>{let{target:e}=n;f&&f.current&&!f.current.contains(e)&&d()},[f,d]),b=(0,l.useCallback)(n=>{let{key:e}=n;"Escape"===e?a():"Enter"===e&&r()},[a,r]);return(0,m.A)("mousedown",h),(0,m.A)("keydown",b),(0,l.useEffect)(()=>(t(),()=>{i()}),[t,i]),g?(0,c.createPortal)((0,o.jsxs)(o.Fragment,{children:[s&&(0,o.jsx)(s,{}),(0,o.jsx)("div",{ref:f,children:e})]}),g):null};var f=t(16390);function h(){let n=(0,i._)(["\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n "]);return h=function(){return n},n}function b(){let n=(0,i._)(["\n 0% { opacity: 1; }\n 100% { opacity: 0; }\n "]);return b=function(){return n},n}function x(){let n=(0,i._)(["\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(359deg); }\n "]);return x=function(){return n},n}function w(){let n=(0,i._)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 99999;\n\n &.fade-in {\n animation: "," 0.3s forwards ease;\n }\n\n &.fade-out {\n animation: "," 0.2s forwards ease;\n }\n\n &.is-video {\n .modal-content-wrap {\n overflow: hidden;\n background-color: transparent;\n transition: width 0.3s ease, height 0.3s ease;\n\n .modal-content {\n width: 100%;\n height: 100%;\n\n > * {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n }\n\n iframe {\n display: block;\n position: static;\n transition: opacity 0.4s ease;\n\n &.loading {\n opacity: 0;\n }\n\n &.iframe-loaded {\n opacity: 1;\n }\n }\n }\n }\n }\n"]);return w=function(){return n},n}function y(){let n=(0,i._)(["\n display: table;\n margin: auto;\n height: 100%;\n"]);return y=function(){return n},n}function v(){let n=(0,i._)(["\n display: table-cell;\n vertical-align: middle;\n"]);return v=function(){return n},n}function _(){let n=(0,i._)(["\n width: ",";\n height: ",";\n position: relative;\n overflow-y: auto;\n margin: 0 auto;\n margin-top: 60px;\n min-width: 100px;\n min-height: 100px;\n max-height: 90%;\n z-index: 1;\n background-color: ",";\n\n ::-webkit-scrollbar {\n width: 7px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: #f1f1f1;\n }\n\n ::-webkit-scrollbar-thumb {\n cursor: pointer;\n background-color: #a0a0a0;\n transition: background-color 0.3s ease;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background-color: #555;\n }\n"]);return _=function(){return n},n}function k(){let n=(0,i._)(["\n position: relative;\n margin: 0 auto;\n z-index: 1;\n padding: ",";\n background-color: ",";\n"]);return k=function(){return n},n}function C(){let n=(0,i._)(["\n background-color: ",";\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"]);return C=function(){return n},n}function j(){let n=(0,i._)(["\n top: ","px;\n right: ","px;\n position: absolute;\n cursor: pointer;\n z-index: 1;\n"]);return j=function(){return n},n}function $(){let n=(0,i._)(["\n width: ","px;\n height: ","px;\n position: relative;\n overflow: hidden;\n margin: 0 auto;\n box-shadow: none;\n appearance: none;\n border: none;\n background: none;\n cursor: pointer;\n\n &:after {\n content: '';\n background-color: ",";\n mask-image: url(/static/images/close.svg);\n mask-size: cover;\n -webkit-mask-image: url(/static/images/close.svg);\n -webkit-mask-size: cover;\n width: ","px;\n height: ","px;\n position: absolute;\n top: 0;\n left: 0;\n margin: 0;\n }\n"]);return $=function(){return n},n}function I(){let n=(0,i._)(["\n color: ",";\n font-size: 13px;\n font-weight: 700;\n line-height: 100%;\n margin: 4px 0 0 0;\n"]);return I=function(){return n},n}function z(){let n=(0,i._)(["\n width: ","px;\n height: ","px;\n margin: -","px 0px 0px -","px;\n border: ","px\n solid ",";\n border-left-color: ",";\n "]);return z=function(){return n},n}function N(){let n=(0,i._)(["\n ","\n position: absolute;\n top: 50%;\n left: 50%;\n border-radius: 100%;\n transform: translateZ(0);\n box-sizing: border-box;\n animation: "," 0.7s infinite linear;\n"]);return N=function(){return n},n}let S=n=>{var e;let[t,i]=(0,l.useState)(0),[a,d]=(0,l.useState)(0),[c,m]=(0,l.useState)(!1),u=(0,f.A)(!0),p=()=>{n.disableCloseAnimation?"function"==typeof n.onClose&&n.onClose():c||m(!0)};e=n,["http://localhost","https://localhost","https://vejdirektoratet.d9.stage.hz.pco.dk"].includes(window.location.origin)&&(console.log("\uD83E\uDDD1â\uD83D\uDCBB Dev log: "),console.table(e));let h=(0,o.jsxs)(W,{tabIndex:0,className:"close-button-wrap",onClick:p,$closeTop:n.$closeTop,$closeRight:n.$closeRight,children:[(0,o.jsx)(U,{tabIndex:0,className:"close-button",$lineSize:n.$lineSize||"2",$closeSize:n.$closeSize,$closeColor:n.$closeColor,$closeHover:n.$closeHover,"aria-label":n.closeAriaLabel}),n.closeText&&(0,o.jsx)(G,{className:"close-text",$closeColor:n.$closeColor,children:n.closeText})]}),b=(0,o.jsx)(R,{$loadingSize:n.$loadingSize,$loadingThicknes:n.$loadingThicknes,$loadingColor:n.$loadingColor,$loadingBaseColor:n.$loadingBaseColor});return(0,o.jsx)(g,{onEsc:p,onEnter:p,Overlay:()=>(0,o.jsx)(D,{onClick:n.disableOverlayClose?void 0:p,$backgroundColor:n.$backgroundColor}),children:(0,o.jsxs)(P,{ref:u,onAnimationEnd:n.disableCloseAnimation?void 0:()=>{c&&"function"==typeof n.onClose&&n.onClose()},className:r()("modal-wrap",{"fade-in":!n.disableOpenAnimation,"fade-out"
1:!n.disableCloseAnimation&&c,"is-video":n.isVideo},n.className),children:[n.isVideo&&(0,o.jsx)(s,{onResize:n=>{let{windowWidth:e,windowHeight:t}=n,o={w:0,h:0};e<768?(o.w=e-40,o.h=Math.round(o.w/(16/9))):(o.h=Math.round((t<798?t:798)-100),o.w=Math.round(o.h*(16/9))),d(o.h),i(o.w)},debounce:!0}),(0,o.jsx)(E,{className:"modal-horizontal-wrap",children:(0,o.jsx)(M,{className:"modal-vertical-wrap",children:(0,o.jsxs)(B,{className:"modal-content-wrap",$contentBackground:n.$contentBackground,$iframeWidth:t,$iframeHeight:a,children:[n.loading&&b,(0,o.jsx)(T,{className:"modal-content",$contentBackground:n.$contentBackground,$contentPadding:n.$contentPadding,children:n.children}),n.closeInside&&h]})})}),!n.closeInside&&h]})})},A={fadeIn:(0,d.keyframes)(h()),fadeOut:(0,d.keyframes)(b()),spinInfinite:(0,d.keyframes)(x())},P=d.default.div.withConfig({displayName:"DefaultModal__ModalWrap",componentId:"sc-4ffbd825-0"})(w(),A.fadeIn,A.fadeOut),E=d.default.div.withConfig({displayName:"DefaultModal__ModalInner",componentId:"sc-4ffbd825-1"})(y()),M=d.default.div.withConfig({displayName:"DefaultModal__ModalVerticalWrap",componentId:"sc-4ffbd825-2"})(v()),B=d.default.div.withConfig({displayName:"DefaultModal__ModalContentWrap",componentId:"sc-4ffbd825-3"})(_(),n=>n.$iframeWidth?"".concat(n.$iframeWidth,"px"):null,n=>n.$iframeHeight?"".concat(n.$iframeHeight,"px"):null,n=>n.$contentBackground||"transparent"),T=d.default.div.withConfig({displayName:"DefaultModal__ModalContent",componentId:"sc-4ffbd825-4"})(k(),n=>n.$contentPadding,n=>n.$contentBackground||"transparent"),D=d.default.div.withConfig({displayName:"DefaultModal__ModalBackground",componentId:"sc-4ffbd825-5"})(C(),n=>n.$backgroundColor||"rgba(0, 0, 0, 0.75)"),W=d.default.div.withConfig({displayName:"DefaultModal__CloseWrap",componentId:"sc-4ffbd825-6"})(j(),n=>n.$closeTop||"12",n=>n.$closeRight||"12"),U=d.default.button.withConfig({displayName:"DefaultModal__CloseButton",componentId:"sc-4ffbd825-7"})($(),n=>{var e;return null!=(e=n.$closeSize)?e:"42"},n=>{var e;return null!=(e=n.$closeSize)?e:"42"},n=>n.$closeColor?"".concat(n.$closeColor):"#C0C3C6",n=>{var e;return null!=(e=n.$closeSize)?e:"42"},n=>{var e;return null!=(e=n.$closeSize)?e:"42"}),G=d.default.div.withConfig({displayName:"DefaultModal__CloseText",componentId:"sc-4ffbd825-8"})(I(),n=>n.$closeColor||"#C0C3C6"),R=d.default.div.withConfig({displayName:"DefaultModal__LoadingSpinner",componentId:"sc-4ffbd825-9"})(N(),n=>(0,d.css)(z(),n.$loadingSize||"50",n.$loadingSize||"50",parseInt(n.$loadingSize||"50")/2,parseInt(n.$loadingSize||"50")/2,n.$loadingThicknes||Math.floor(parseInt(n.$loadingSize||"50")/13),n.$loadingBaseColor||"#e8e8e8",n.$loadingColor||"#df041f"),A.spinInfinite)}}]);
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.