"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[6161],{36161:function(e,t,a){a.r(t);var i=a(96234),o=a(30969),r=a(90550),n=a(22714),l=a(83483),s=a(64501),c=a(32343),d=a(93138),u=a(80975),h=a(7690),b=a(53033),p=a(28599),x=a(14008),g=a(37574),f=(0,n.Z)((function(e){return{root:{width:500},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]},field:{margin:e.spacing(2)}}}));t.default=(0,r.observer)((function(e){var t=e.model,a=e.handleClose,r=f(),n=t.maxHeight,j=void 0===n?"":n,m=(0,o.useState)("".concat(j)),Z=(0,i.Z)(m,2),v=Z[0],y=Z[1];return(0,g.jsxs)(l.Z,{open:!0,onClose:a,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,g.jsxs)(s.Z,{id:"alert-dialog-title",children:["Filter options",(0,g.jsx)(c.Z,{"aria-label":"close",className:r.closeButton,onClick:a,children:(0,g.jsx)(x.Z,{})})]}),(0,g.jsxs)(d.Z,{className:r.root,children:[(0,g.jsx)(u.Z,{children:'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'}),(0,g.jsx)(h.Z,{value:v,onChange:function(e){return y(e.target.value)},placeholder:"Enter max score"}),(0,g.jsxs)(b.Z,{children:[(0,g.jsx)(p.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:function(){t.setMaxHeight(""===v||Number.isNaN(+v)?void 0:+v),a()},children:"Submit"}),(0,g.jsx)(p.Z,{variant:"contained",color:"secondary",onClick:function(){return a()},children:"Cancel"})]})]})]})}))}}]);
//# sourceMappingURL=6161.2767b87a.chunk.js.map