%PDF- %PDF-
Direktori : /home/opti/public_html/startup-life/assets/ |
Current File : /home/opti/public_html/startup-life/assets/index-9063cbde.js |
import{P as r,j as e,C as p}from"./index-5492fbe1.js";import{C as t}from"./index-935ad37b.js";import{s as x}from"./styled-components.browser.esm-ee37ee23.js";import{S as f}from"./Success-380da55b.js";import{M as g}from"./Modal-01a2ce69.js";import{B as s}from"./Box-263f925f.js";import{P as h}from"./Paper-26f2abc8.js";const u=x.div` .ModalBody { width: 32.25rem; border-radius: 0.5rem; background: #FFF; box-shadow: 0px 4px 23px 0px rgba(130, 130, 130, 0.25); } .bodyContain { padding: 4.06rem 5.87rem 3.88rem 5.94rem; } .modalIcon { display: flex; justify-content: center; margin-bottom: 1.12rem; } .modalIcon svg { width: 2rem; height: 2rem; } .congrats { color: var(--sub, #242424); text-align: center; font-size: 1.25rem; font-style: normal; font-weight: 400; line-height: 150%; /* 1.875rem */ letter-spacing: -0.00938rem; } .infoText { color: var(--sub, #242424); text-align: center; font-size: 1.125rem; font-style: normal; font-weight: 400; line-height: 150%; /* 1.6875rem */ letter-spacing: -0.00938rem; } `,b={position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,border:"none",boxShadow:24,p:0},j=({open:n,handleClose:a,infoText:i,btntext1:l,btnFunc1:d,btntext2:m,btnFunc2:o,isLoading:c=!1})=>e.jsx(g,{open:n,onClose:a,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:e.jsx(s,{sx:b,children:e.jsx(u,{children:e.jsx(h,{className:"ModalBody",children:e.jsxs(s,{className:"bodyContain",children:[e.jsx(s,{className:"modalIcon",children:e.jsx(f,{})}),e.jsx(s,{children:e.jsxs("p",{className:"congrats",children:[i," "]})}),e.jsxs(s,{sx:{display:"flex",justifyContent:o?"space-between":"center",marginTop:"3rem"},children:[o&&e.jsx(t,{styling:"variant3",onClick:()=>o(),children:m}),e.jsx(t,{styling:"variant2",onClick:()=>d(),children:c?e.jsx(p,{size:20}):l})]})]})})})})});j.propTypes={open:r.oneOf([!0,!1]).isRequired,handleClose:r.func.isRequired,infoText:r.string,btntext1:r.string,btnFunc1:r.func,btntext2:r.string,btnFunc2:r.func,isLoading:r.oneOf([!0,!1]).isRequired};export{j as S};