"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3956],{23956:function(e,n,t){t.r(n);var r=t(29439),c=t(72791),o=t(9505),i=t(23508),s=t(29945),u=t(45248),l=t(87995),a=t(81551),f=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,d=e.selectedServiceAccount,p=(0,a.TL)(),h=(0,o.Z)((function(){return n(!0)}),(function(e){return p((0,l.Ih)(e))})),x=(0,r.Z)(h,2),m=x[0],v=x[1];if(!d)return null;return(0,f.jsx)(i.Z,{title:"Delete Access Key",confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(s.NvT,{}),isLoading:m,onConfirm:function(){v("DELETE","/api/v1/service-accounts/".concat((0,u.LL)(d)))},onClose:function(){return n(!1)},confirmationContent:(0,f.jsxs)(c.Fragment,{children:["Are you sure you want to delete Access Key"," ",(0,f.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:d}),"?"]})})}}}]);
//# sourceMappingURL=3956.27299d66.chunk.js.map