"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),t(11135)),o=t(25787),i=t(51691),u=t(9505),a=t(2148),s=t(38734),l=t(45248),f=t(87995),p=t(25469),d=t(80184);n.default=(0,o.Z)((function(e){return(0,c.Z)({wrapText:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"}})}))((function(e){var n=e.classes,t=e.closeDeleteModalAndRefresh,c=e.deleteOpen,o=e.selectedServiceAccount,h=(0,p.TL)(),x=(0,u.Z)((function(){return t(!0)}),(function(e){return h((0,f.Ih)(e))})),v=(0,r.Z)(x,2),w=v[0],m=v[1];if(!o)return null;return(0,d.jsx)(a.Z,{title:"Delete Service Account",confirmText:"Delete",isOpen:c,titleIcon:(0,d.jsx)(s.NvT,{}),isLoading:w,onConfirm:function(){m("DELETE","/api/v1/service-accounts/".concat((0,l.LL)(o)))},onClose:function(){return t(!1)},confirmationContent:(0,d.jsxs)(i.Z,{children:["Are you sure you want to delete service account"," ",(0,d.jsx)("b",{className:n.wrapText,children:o}),"?"]})})}))}}]);
//# sourceMappingURL=3956.8ed30c16.chunk.js.map