"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4773],{84773:(e,l,t)=>{t.r(l),t.d(l,{default:()=>d});var a=t(7552),o=t(29499),n=t(9937),r=t(1343),i=t(58507),s=t(5401),u=t(49823),b=t(68446),c=t(99546);const d=(0,b.observer)((function({model:e,onClose:l,dialogRow:t}){const[b,d]=(0,a.useState)(t.label||"");return a.createElement(u.Dialog,{open:!0,onClose:l,title:"Edit bookmark label"},a.createElement(o.A,null,a.createElement(n.A,null,"Editing label for bookmark"," ",a.createElement("strong",null,(0,c.assembleLocString)(t.correspondingObj)),":"),a.createElement(r.A,{fullWidth:!0,inputProps:{"data-testid":"edit-bookmark-label-field"},variant:"outlined",value:b,onChange:e=>{d(e.target.value)},autoFocus:!0})),a.createElement(i.A,null,a.createElement(s.A,{variant:"contained",color:"primary",onClick:()=>{b&&e.updateBookmarkLabel(t,b),d(""),l()}},"Confirm")))}))}}]);
//# sourceMappingURL=4773.6cd74b80.chunk.js.map