"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7207],{87207:function(n,e,o){o.r(e),o.d(e,{default:function(){return p}});var a=o(30969),t=o(45304),r=o(59912),i=o(26671),s=o(75546),u=o(38287),l=o(22714),c=o(38827),d=o(37574),g="12px",f='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',b=(0,l.Z)((function(n){return{callbackEditor:{fontFamily:f,fontSize:g,background:n.palette.background.default,overflowX:"auto",marginTop:"16px",border:"1px solid rgba(0,0,0,0.42)"},syntaxHighlighter:{margin:0,fontFamily:f,fontSize:g}}}));function p(n){var e=n.contents,o=n.setContents,l=b(),g=(0,c.Z)();return(0,a.useEffect)((function(){r.Z.registerLanguage("json",i.Z)}),[]),(0,d.jsx)(t.Z,{className:l.callbackEditor,value:e,onValueChange:o,highlight:function(n){return(0,d.jsx)(r.Z,{language:"json",style:"dark"===g.palette.type?s.Z:u.Z,className:l.syntaxHighlighter,customStyle:{background:"none",padding:0},children:n})},padding:10,style:{}})}}}]);
//# sourceMappingURL=7207.28c46a1a.chunk.js.map