"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7181],{97181:(e,n,l)=>{l.r(n),l.d(n,{default:()=>m});var t=l(7552),o=l(29499),c=l(99123),r=l(58181),a=l(45331),i=l(58507),s=l(5401),u=l(48735);const m=(0,l(68446).observer)((function({modalInfo:e={},onClose:n}){const{name:l,dereferenceTypeCount:m,safelyBreakConnection:b}=e;return t.createElement(u.Dialog,{open:!0,maxWidth:"lg",title:`Close connection "${l}"`},t.createElement(o.A,null,m?t.createElement(t.Fragment,null,t.createElement(c.A,null,"Closing this connection will close:"),t.createElement(r.A,null,Object.entries(m).map((([e,n])=>t.createElement(a.Ay,{key:e},`${n} ${e}`))))):null,t.createElement(c.A,null,"Are you sure you want to close this connection?")),t.createElement(i.A,null,t.createElement(s.A,{onClick:()=>n(),color:"primary"},"Cancel"),t.createElement(s.A,{variant:"contained",onClick:e?()=>{b?.(),n()}:()=>{},color:"primary"},"OK")))}))}}]);
//# sourceMappingURL=7181.4f09044a.chunk.js.map