"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[8628],{98628:function(e,l,n){n.r(l);n(41867);var r=n(3762),o=n(47409),s=n(77327),c=n(27768),i=n(23801),a=n(35421),t=n(80838),d=(0,r.observer)((function(e){var l=e.onClose,n=e.model,r=0===n.selectedBookmarks.length;return(0,t.jsxs)(a.Dialog,{open:!0,onClose:l,title:"Delete bookmarks",children:[(0,t.jsx)(o.Z,{children:(0,t.jsx)(s.Z,{severity:"warning",children:r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"All bookmarks will be deleted."}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{children:"Use the checkboxes to select individual bookmarks to delete."})]}):"Only selected bookmarks will be deleted."})}),(0,t.jsxs)(c.Z,{children:[(0,t.jsx)(i.Z,{variant:"contained",color:"secondary",onClick:function(){return l()},children:"Cancel"}),(0,t.jsx)(i.Z,{variant:"contained",color:"primary",onClick:function(){r&&n.clearAllBookmarks(),n.clearSelectedBookmarks(),l()},children:"Confirm"})]})]})}));l.default=d}}]);
//# sourceMappingURL=8628.c35cc8c5.chunk.js.map