"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[8628],{98628:(e,l,s)=>{s.r(l),s.d(l,{default:()=>d});s(41867);var o=s(3762),r=s(47409),n=s(77327),c=s(27768),a=s(23801),i=s(35421),t=s(80838);const d=(0,o.observer)((function(e){let{onClose:l,model:s}=e;const{selectedBookmarks:o}=s,d=0===o.length;return(0,t.jsxs)(i.Dialog,{open:!0,onClose:l,title:"Delete bookmarks",children:[(0,t.jsx)(r.Z,{children:(0,t.jsx)(n.Z,{severity:"warning",children:d?(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)(a.Z,{variant:"contained",color:"secondary",onClick:()=>l(),children:"Cancel"}),(0,t.jsx)(a.Z,{variant:"contained",color:"primary",onClick:()=>{d&&s.clearAllBookmarks(),s.clearSelectedBookmarks(),l()},children:"Confirm"})]})]})}))}}]);
//# sourceMappingURL=8628.dba57622.chunk.js.map