import{r as c,j as e,bJ as l,F as s,bU as p,a4 as i,a5 as y}from"./index-Cox3ZWL0.js";const x=({isOpen:t,onClose:a,onSave:r,createdKey:n,...o})=>e.jsxs(l,{title:"Save the key",secondaryText:"Your API key has been generated.",isOpen:t,onClose:a,closeOnBackdropClick:!1,secondaryButtonProps:{children:"I saved the API key",onClick:r},closeOnEsc:!1,...o,children:[e.jsx(s,{sx:{wordBreak:"break-all"},children:e.jsx(p,{copyButton:!0,content:n,title:"API key"})}),e.jsx(s,{my:"20px",children:e.jsx(i,{content:"Save this API key securely. It will not be accessible afterwards.",type:y.warning})})]}),k=c.memo(x);export{k as A};
