"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1326],{11326:(e,o,l)=>{l.r(o),l.d(o,{default:()=>b});var s=l(7552),i=l(67112),n=l(66395),r=l(76218),t=l(61282),a=l(28194),c=l(30698),h=l(69092),d=l(68446),k=l(69500);const b=(0,d.observer)(function({onClose:e,model:o}){const{selectedBookmarks:l}=o,d=0===l.length,[b,g]=(0,s.useState)(l[0]?.highlight??"rgba(247, 129, 192, 0.35)");return(0,k.jsxs)(i.Dialog,{open:!0,onClose:e,title:"Highlight bookmarks",children:[(0,k.jsxs)(r.A,{children:[(0,k.jsx)(t.A,{variant:"h6",children:"Bulk highlight selector"}),(0,k.jsx)(a.A,{severity:"info",children:d?(0,k.jsx)("span",{children:"Use the checkboxes to select individual bookmarks to edit."}):"Only selected bookmarks will be edited."}),d?null:(0,k.jsx)(n.sk,{color:b,onChange:e=>{g(e)}})]}),(0,k.jsxs)(c.A,{children:[(0,k.jsx)(h.A,{variant:"contained",color:"secondary",onClick:()=>{e()},children:"Cancel"}),(0,k.jsx)(h.A,{variant:"contained",color:"primary",onClick:()=>{o.updateBulkBookmarkHighlights(b),e()},children:"Confirm"})]})]})})}}]);
//# sourceMappingURL=1326.f455fc42.chunk.js.map