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