"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4141],{34141:(e,s,t)=>{t.r(s),t.d(s,{default:()=>r});var l=t(7552),i=t(67112),o=t(99546),n=t(61282),a=t(68446),c=t(69500);const r=(0,a.observer)(function({model:e}){const s=(0,o.getSession)(e),[t,a]=(0,l.useState)(s.assemblies[0]?.name),[r,b]=(0,l.useState)(s.assemblies[0]?.name),[h,d]=(0,l.useState)(),[m,u]=(0,l.useState)();return(0,l.useEffect)(()=>{e.setMixinData({adapter:{assemblyNamees:[t,r],bed1Location:h,bed2Location:m}})},[e,h,m,t,r]),(0,c.jsxs)("div",{style:{marginTop:20},children:[(0,c.jsx)(n.A,{children:"JBrowse requires the two BED files that specify the genomic locations of the genes in the .anchors files"}),(0,c.jsx)(i.AssemblySelector,{session:s,label:"BED1 assembly",helperText:"",selected:t,onChange:e=>{a(e)},TextFieldProps:{fullWidth:!0}}),(0,c.jsx)(i.AssemblySelector,{session:s,label:"BED2 assembly",helperText:"",selected:r,onChange:e=>{b(e)},TextFieldProps:{fullWidth:!0}}),(0,c.jsx)(i.FileSelector,{name:"BED1",inline:!0,description:"",location:h,setLocation:e=>{d(e)}}),(0,c.jsx)(i.FileSelector,{name:"BED2",inline:!0,description:"",location:m,setLocation:e=>{u(e)}})]})})}}]);
//# sourceMappingURL=4141.972b0179.chunk.js.map