"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[2172],{52172:function(n,e,c){c.r(e);var o=c(96234),r=(c(96902),c(20450)),i=c(39041),s=c(88117),l=c(21178),t=c(90104),a=c(4222),u=c(18726),d=c(96565),h=c(4782),j=c(29938);e.default=(0,h.observer)((function(n){var e=n.modalInfo,c=void 0===e?{}:e,h=n.setModalInfo,f=c.name,x=c.dereferenceTypeCount,Z=c.safelyBreakConnection;return(0,j.jsxs)(r.Z,{open:!0,children:[(0,j.jsxs)(i.Z,{children:['Close connection "',f,'"']}),(0,j.jsxs)(s.Z,{children:[x?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Z,{children:"Closing this connection will close:"}),(0,j.jsx)(t.Z,{children:Object.entries(x).map((function(n){var e=(0,o.Z)(n,2),c=e[0],r=e[1];return(0,j.jsx)(a.ZP,{children:"".concat(r," ").concat(c)},c)}))})]}):null,(0,j.jsx)(l.Z,{children:"Are you sure you want to close this connection?"})]}),(0,j.jsxs)(u.Z,{children:[(0,j.jsx)(d.Z,{onClick:function(){return h()},color:"primary",children:"Cancel"}),(0,j.jsx)(d.Z,{variant:"contained",onClick:c?function(){null===Z||void 0===Z||Z(),h()}:function(){},color:"primary",children:"OK"})]})]})}))}}]);
//# sourceMappingURL=2172.42c92214.chunk.js.map