"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8628],{98628:(e,l,t)=>{t.r(l),t.d(l,{default:()=>k});var n=t(66204),o=t(80846),a=t(29520),r=t(32831),c=t(62301),s=t(7146),i=t(35421);const k=(0,o.observer)((function({onClose:e,model:l}){const{selectedBookmarks:t}=l,o=0===t.length;return n.createElement(i.Dialog,{open:!0,onClose:e,title:"Delete bookmarks"},n.createElement(a.Z,null,n.createElement(r.Z,{severity:"warning"},o?n.createElement(n.Fragment,null,n.createElement("span",null,"All bookmarks will be deleted."),n.createElement("br",null),n.createElement("span",null,"Use the checkboxes to select individual bookmarks to delete.")):"Only selected bookmarks will be deleted.")),n.createElement(c.Z,null,n.createElement(s.Z,{variant:"contained",color:"secondary",onClick:()=>e()},"Cancel"),n.createElement(s.Z,{variant:"contained",color:"primary",onClick:()=>{o&&l.clearAllBookmarks(),l.clearSelectedBookmarks(),e()}},"Confirm")))}))}}]);
//# sourceMappingURL=8628.46c1b182.chunk.js.map