"use strict";(self.webpackChunkreact_typescript_webpack=self.webpackChunkreact_typescript_webpack||[]).push([[6051],{56051:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(92921),o=n(39248),l=n(49587),i=n(17437),c=n(90578),s=n(96540),a=n(2445);const d=function(e){var t=e.children,n=e.onClose,o=e.title,i=e.modalStyle,c=e.stickyFooter;return(0,s.useEffect)(function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="initial"}},[]),(0,a.FD)("div",{css:[h.container,i,";label:ModalWrapper;"],children:[(0,a.FD)("div",{css:h.header,children:[o&&(0,a.Y)("h6",{css:l.I.heading6("medium"),children:o}),(0,a.Y)("button",{type:"button",css:h.closeButton,onClick:n,children:(0,a.Y)(r.A,{name:"times"})})]}),(0,a.Y)("div",{css:h.content,children:t}),c&&(0,a.Y)("div",{css:h.stickyFooter,children:c})]})};var h={container:(0,i.AH)("background:",o.nm.basic.white,";margin:",o.YK[24],";max-width:1236px;box-shadow:",o.r7.modal,";border-radius:",o.Vq[10],";overflow:hidden;",o.EA.smallTablet,"{width:90%;};label:container;"),header:(0,i.AH)("display:flex;justify-content:space-between;align-items:center;padding:",o.YK[12]," ",o.YK[20],";width:100%;background-color:",o.nm.surface.selected.neutral,";;label:header;"),closeButton:(0,i.AH)(c.xB.resetButton,";display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:",o.Vq.circle,";background-color:",o.nm.basic.white,";&>span{display:inline;}svg{color:",o.nm.icon.default,";transition:color 0.3s ease-in-out;}:hover{svg{color:",o.nm.icon.hover,";}};label:closeButton;"),content:{name:"fnfxrq-content",styles:"overflow:hidden;overflow-y:auto;max-height:90vh;label:content;"},stickyFooter:(0,i.AH)("box-shadow:",o.r7.dividerTop,";;label:stickyFooter;")}}}]);