"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[2393],{82393:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u,isGzip:()=>o});var n=a(31238),r=a(90872),s=a(59062),i=a(56798);function o(e){return 31===e[0]&&139===e[1]&&8===e[2]}class u extends i.BaseAdapter{async getData(){const e=this.pluginManager,t=this.getConf("cytobandLocation");if(""===t.uri||"/path/to/cytoband.txt.gz"===t.uri)return[];const a=await(0,s.openLocation)(t,e).readFile(),i=o(a)?await(0,n.unzip)(a):a;return new TextDecoder("utf8",{fatal:!0}).decode(i).split(/\n|\r\n|\r/).filter((e=>!!e.trim())).map(((e,t)=>{const[a,n,s,i,o]=e.split("\t");return new r.SimpleFeature({uniqueId:"".concat(t),refName:a,start:+n,end:+s,name:i,type:o})}))}freeResources(){}}}}]);
//# sourceMappingURL=2393.c8b5a22b.chunk.js.map