"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[6652],{6652:(e,n,c)=>{c.r(n),c.d(n,{default:()=>u});c(41867);var o=c(47409),l=c(75258),r=c(33065),s=c(72280),i=c(27768),t=c(23801),a=c(35421),d=c(3762),h=c(80838);const u=(0,d.observer)((function(e){let{modalInfo:n={},onClose:c}=e;const{name:d,dereferenceTypeCount:u,safelyBreakConnection:j}=n;return(0,h.jsxs)(a.Dialog,{open:!0,maxWidth:"lg",title:'Close connection "'.concat(d,'"'),children:[(0,h.jsxs)(o.Z,{children:[u?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.Z,{children:"Closing this connection will close:"}),(0,h.jsx)(r.Z,{children:Object.entries(u).map((e=>{let[n,c]=e;return(0,h.jsx)(s.ZP,{children:"".concat(c," ").concat(n)},n)}))})]}):null,(0,h.jsx)(l.Z,{children:"Are you sure you want to close this connection?"})]}),(0,h.jsxs)(i.Z,{children:[(0,h.jsx)(t.Z,{onClick:()=>c(),color:"primary",children:"Cancel"}),(0,h.jsx)(t.Z,{variant:"contained",onClick:n?()=>{null===j||void 0===j||j(),c()}:()=>{},color:"primary",children:"OK"})]})]})}))}}]);
//# sourceMappingURL=6652.08b1e676.chunk.js.map