this.webpackChunk([42],{1866:function(e,t,a){"use strict";a.r(t);var n=a(6),r=a(0),c=a.n(r),i=a(16),l=a(162),o=a(830),u=a(832),s=a(149),m=a(833),g=a(82),h=a(240),b=a(825),p=a(637),f=a(138),d=a(49),E=a.n(d),v=Object(l.a)((function(e){return{root:{margin:e.spacing(4)},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]}}}));t.default=Object(i.observer)((function(e){var t=v(),a=e.model,i=e.handleClose,l=a.featureHeightSetting,d=a.noSpacing,N=Object(r.useState)("".concat(l)),y=Object(n.a)(N,2),S=y[0],j=y[1],C=Object(r.useState)(d),k=Object(n.a)(C,2),O=k[0],w=k[1],B=""!==S&&!Number.isNaN(+S);return c.a.createElement(o.a,{open:!0,onClose:i},c.a.createElement(u.a,null,"Set feature height",c.a.createElement(s.a,{className:t.closeButton,onClick:i},c.a.createElement(E.a,null))),c.a.createElement(m.a,null,c.a.createElement(g.a,null,"Adjust the feature height and whether there is any spacing between features. Setting feature height to 1 and removing spacing makes the display very compact"),c.a.createElement("div",{className:t.root},c.a.createElement(g.a,null,"Enter feature height: "),c.a.createElement(h.a,{value:S,onChange:function(e){j(e.target.value)}}),c.a.createElement(b.a,{control:c.a.createElement(p.a,{checked:!!O,onChange:function(){return w((function(e){return!e}))}}),label:"Remove spacing between features in y-direction?"}),c.a.createElement(f.a,{variant:"contained",color:"primary",type:"submit",style:{marginLeft:20},disabled:!B,onClick:function(){a.setFeatureHeight(""===S||Number.isNaN(+S)?void 0:+S),a.setNoSpacing(O),i()}},"Submit"))))}))}});
//# sourceMappingURL=42.235027ab1390991c7cb1.worker.js.map