"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[13],{191:(e,t,l)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=function({size:e,iconClass:t}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",role:"presentation",class:t,style:e?`width:${e};height:${e}`:"",fill:"none",viewBox:"0 0 18 17",children:(0,o.jsx)("path",{d:"M.865 15.978a.5.5 0 00.707.707l7.433-7.431 7.579 7.282a.501.501 0 00.846-.37.5.5 0 00-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 10-.707-.708L8.991 7.853 1.413.573a.5.5 0 10-.693.72l7.563 7.268-7.418 7.417z",fill:"currentColor"})})};const o=l(0);l(2)},61:function(e,t,l){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PortalModal=function({isOpen:e,onClose:t,children:l}){return(0,d.useEffect)((()=>{const t=window.innerWidth-document.documentElement.clientWidth,l=document.body.style.paddingRight;return e?(document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`):(document.body.style.overflow="",document.body.style.paddingRight=l),()=>{document.body.style.overflow="",document.body.style.paddingRight=l}}),[e]),e?(0,s.createPortal)((0,n.jsxs)("div",{className:i.default.modalOverlay,children:[(0,n.jsx)("div",{className:i.default.modalBackground,onClick:t}),(0,n.jsxs)("div",{className:i.default.modal,children:[(0,n.jsx)("button",{className:i.default.closeBtn,onClick:t,children:(0,n.jsx)(c.CloseIcon,{size:"14px",iconClass:i.default.closeIconSVG})}),l]})]}),document.body):null};const n=l(0),d=(l(2),l(3)),s=l(14),i=o(l(18)),c=l(191)}}]);