"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8990],{8990:function(e,n,t){t.r(n);var o=t(29439),u=t(1413),c=(t(72791),t(51691)),r=t(11135),i=t(25787),s=t(23814),l=t(9505),a=t(23508),f=t(38734),p=t(87995),Z=t(25469),h=t(80184);n.default=(0,i.Z)((function(e){return(0,r.Z)((0,u.Z)({},s.oO))}))((function(e){var n=e.onClose,t=e.modalOpen,u=e.bucket,r=e.toDelete,i=(0,Z.TL)(),s=(0,l.Z)((function(){return n()}),(function(e){return i((0,p.Ih)(e))})),k=(0,o.Z)(s,2),C=k[0],d=k[1];return(0,h.jsx)(a.Z,{title:"Delete Access Rule",confirmText:"Delete",isOpen:t,isLoading:C,onConfirm:function(){d("DELETE","/api/v1/bucket/".concat(u,"/access-rules"),{prefix:r})},titleIcon:(0,h.jsx)(f.NvT,{}),onClose:n,confirmationContent:(0,h.jsx)(c.Z,{children:"Are you sure you want to delete this access rule?"})})}))}}]);
//# sourceMappingURL=8990.d62803ce.chunk.js.map