1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[628],{90628:function(e,l,t){t.r(l),t.d(l,{default:function(){return ModalImage}});var s=t(85893),o=t(67294),a=t(25675),i=t.n(a),r=t(46066);t(49321),t(73935);var n=t(20745);function ModalImage(e){let{...l}=e,t=(0,o.useRef)(null),{content:a,title:c,image:d,images:u,className:p}=l,[h,x]=(0,o.useState)(!1);var f={dots:!1,infinite:(null==u?void 0:u.length)>1,speed:500,slidesToShow:1,slidesToScroll:1,cssEase:"linear",arrows:!0,nextArrow:(0,s.jsx)(e=>{let{className:l,style:t,onClick:o}=e;return(0,s.jsx)("div",{"data-tag":"NextArrow",className:"".concat(l," ").concat(l.includes("slick-disabled")?"opacity-[.5]":""," absolute top-[50%] translate-y-[-50%] right-0 px-5 z-[20] cursor-pointer transition-all duration-300"),onClick:o,children:(0,s.jsx)("div",{className:"flex items-center h-full",children:(0,s.jsx)("svg",{"data-tag":"NextArrow",width:25,height:54,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 27 44",children:(0,s.jsx)("path",{d:"M27,22L27,22L5,44l-2.1-2.1L22.8,22L2.9,2.1L5,0L27,22L27,22z",fill:"#fff"})})})})},{}),prevArrow:(0,s.jsx)(e=>{let{className:l,style:t,onClick:o}=e;return(0,s.jsx)("div",{"data-tag":"PrevArrow",className:"".concat(l," ").concat(l.includes("slick-disabled")?"opacity-[.5]":""," absolute top-[50%] translate-y-[-50%] left-0 px-5 z-[20] cursor-pointer transition-all duration-300"),onClick:o,children:(0,s.jsx)("div",{className:"flex items-center h-full",children:(0,s.jsx)("svg",{"data-tag":"PrevArrow",width:25,height:54,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.349 30",children:(0,s.jsx)("path",{id:"_002-right-arrow","data-name":"002-right-arrow",d:"M105.745,30,86.981,15,105.745,0l.585.732L88.482,15,106.33,29.268Z",transform:"translate(-86.981)",fill:"#fff"})})})})},{}),initialSlide:a,responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]};let PopupSlider=()=>(0,s.jsx)(s.Fragment,{children:h&&(0,s.jsxs)("div",{ref:t,className:"fixed top-0 left-0 w-full h-full flex justify-center items-center z-[100] transition-opacity duration-700 ease-in-out opacity-100",children:[(0,s.jsx)("span",{className:"absolute z-[1] top-[20px] right-[20px] cursor-pointer text-[30px] font-semibold text-[#ccc] hover:text-white",onClick:closedPopup,children:(0,s.jsxs)("svg",{className:"w-[40px] h-[40px] fill-white",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Close"}),(0,s.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M10 8.586l3.293-3.293a1 1 0 1 1 1.414 1.414L11.414 10l3.293 3.293a1 1 0 0 1-1.414 1.414L10 11.414l-3.293 3.293a1 1 0 1 1-1.414-1.414L8.586 10 5.293 6.707a1 1 0 0 1 1.414-1.414L10 8.586z",clipRule:"evenodd"})]})}),(0,s.jsx)("span",{className:"absolute top-0 left-0 w-full h-full bg-black bg-opacity-80",onClick:closedPopup}),u&&u.length>1?(0,s.jsx)("div",{className:"w-full md:w-[730px] px-[15px] relative",children:(0,s.jsx)(r.default,{...f,children:u.map((e,l)=>(0,s.jsx)("div",{className:"w-full h-full",children:(0,s.jsx)(i(),{alt:c||"#",src:e||"/images/Banner-Safe-Space-Desktop.jpg",width:630,height:530,className:"w-full h-full object-cover rounded-[3px]"})},l))})}):(0,s.jsx)("div",{className:"w-full md:max-w-[1200px] px-[15px] relative",children:(0,s.jsx)(i(),{alt:c||"#",src:d||"/images/Banner-Safe-Space-Desktop.jpg",width:1920,height:1080,className:"w-full h-full object-cover rounded-[3px]"})})]})}),closedPopup=()=>{x(!1);let e=document.querySelector(".modal-root");e.remove(),document.body.style.overflow="unset"};return(0,o.useEffect)(()=>{document.body.style.overflow="unset";let e=document.querySelector(".modal-root");e&&e.remove();let l=document.createElement("div");l.classList.add("modal-root");let t=(0,n.createRoot)(l);h&&(document.body.appendChild(l),document.body.style.overflow="hidden",t.render((0,s.jsx)(o.StrictMode,{children:(0,s.jsx)(PopupSlider,{})})))},[h]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i(),{className:"".concat(p," w-full object-cover cursor-pointer"),src:d,width:500,height:200,alt:c||"",onClick:()=>{x(!1),setTimeout(()=>{x(!0)},150)}})})}}}]);
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.