"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[5044],{5044:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var o=a(66204),l=a(80846),r=a(29520),n=a(80013),c=a(46338),i=a(62301),s=a(7146),h=a(35421);const u=(0,a(38684).ZL)()({root:{width:500}}),m=(0,l.observer)((function(e){const{model:t,handleClose:a}=e,{classes:l}=u(),{maxHeight:m=""}=t,[b,d]=(0,o.useState)(`${m}`);return o.createElement(h.Dialog,{open:!0,onClose:a,title:"Filter options"},o.createElement(r.Z,{className:l.root},o.createElement(n.Z,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),o.createElement(c.Z,{value:b,onChange:e=>d(e.target.value),placeholder:"Enter max height for layout"}),o.createElement(i.Z,null,o.createElement(s.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{t.setMaxHeight(""===b||Number.isNaN(+b)?void 0:+b),a()}},"Submit"),o.createElement(s.Z,{variant:"contained",color:"secondary",onClick:()=>a()},"Cancel"))))}))}}]);
//# sourceMappingURL=5044.b4763ae7.chunk.js.map