(this["webpackJsonp@jbrowse/web"]=this["webpackJsonp@jbrowse/web"]||[]).push([[46],{2078:function(e,n,a){"use strict";a.r(n),a.d(n,"default",(function(){return y}));var o=a(1),t=a.n(o),r=a(796),i=a.n(r),s=a(2323),c=a(2083),l=a.n(c),u=a(2085),g=a.n(u),b=a(2086),d=a.n(b),p=a(51),f=a(161),m="12px",h='Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',w=Object(p.a)({callbackEditor:{fontFamily:h,fontSize:m,overflowX:"auto",marginTop:"16px",borderBottom:"1px solid rgba(0,0,0,0.42)"},syntaxHighlighter:{margin:0,fontFamily:h,fontSize:m}});function y(e){var n=e.contents,a=e.setContents,r=w(),c=Object(f.a)();return Object(o.useEffect)((function(){s.a.registerLanguage("json",l.a)}),[]),t.a.createElement(i.a,{className:r.callbackEditor,value:n,onValueChange:a,highlight:function(e){return t.a.createElement(s.a,{language:"json",style:"dark"===c.palette.type?g.a:d.a,className:r.syntaxHighlighter,customStyle:{background:"none",padding:0}},e)},padding:10,style:{}})}}}]);
//# sourceMappingURL=46.35806d30.chunk.js.map