"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[1678],{71678:(e,o,l)=>{l.r(o),l.d(o,{default:()=>k});var r=l(41867),a=l(47409),n=l(77327),s=l(49133),t=l(27768),i=l(23801),d=l(35421),c=l(3762),b=l(90872),u=l(80838);const k=(0,c.observer)((function(e){let{model:o,onClose:l,dialogRow:c}=e;const[k,h]=(0,r.useState)(c.label||"");return(0,u.jsxs)(d.Dialog,{open:!0,onClose:l,title:"Edit bookmark label",children:[(0,u.jsxs)(a.Z,{children:[(0,u.jsxs)(n.Z,{children:["Editing label for bookmark"," ",(0,u.jsx)("strong",{children:(0,b.assembleLocString)(c.correspondingObj)}),":"]}),(0,u.jsx)(s.Z,{fullWidth:!0,inputProps:{"data-testid":"edit-bookmark-label-field"},variant:"outlined",value:k,onChange:e=>h(e.target.value),autoFocus:!0})]}),(0,u.jsx)(t.Z,{children:(0,u.jsx)(i.Z,{variant:"contained",color:"primary",onClick:()=>{k&&c&&o.updateBookmarkLabel(c,k),h(""),l()},children:"Confirm"})})]})}))}}]);
//# sourceMappingURL=1678.512f4466.chunk.js.map