"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[1540],{61540:function(n,e,o){o.r(e);var c=o(96234),r=(o(30969),o(59071)),i=o(72807),l=o(2950),s=o(91306),t=o(96074),a=o(72097),u=o(59767),d=o(90550),h=o(37574),j=(0,d.observer)((function(n){var e=n.modalInfo,o=void 0===e?{}:e,d=n.onClose,j=o.name,f=o.dereferenceTypeCount,x=o.safelyBreakConnection;return(0,h.jsxs)(u.Dialog,{open:!0,maxWidth:"lg",title:'Close connection "'.concat(j,'"'),children:[(0,h.jsxs)(r.Z,{children:[f?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.Z,{children:"Closing this connection will close:"}),(0,h.jsx)(l.Z,{children:Object.entries(f).map((function(n){var e=(0,c.Z)(n,2),o=e[0],r=e[1];return(0,h.jsx)(s.ZP,{children:"".concat(r," ").concat(o)},o)}))})]}):null,(0,h.jsx)(i.Z,{children:"Are you sure you want to close this connection?"})]}),(0,h.jsxs)(t.Z,{children:[(0,h.jsx)(a.Z,{onClick:function(){return d()},color:"primary",children:"Cancel"}),(0,h.jsx)(a.Z,{variant:"contained",onClick:o?function(){null===x||void 0===x||x(),d()}:function(){},color:"primary",children:"OK"})]})]})}));e.default=j}}]);
//# sourceMappingURL=1540.3932a1ee.chunk.js.map