"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4284],{94284:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var n=a(99546),i=a(99834),r=a(46377);class s extends r.BaseAdapter{async getData(t){const e=this.getConf("cytobandLocation");return""===e.uri||"/path/to/cytoband.txt.gz"===e.uri?[]:(await(0,n.fetchAndMaybeUnzipText)((0,i.openLocation)(e,this.pluginManager),t)).split(/\n|\r\n|\r/).filter((t=>!!t.trim())).filter((t=>!t.startsWith("#"))).map(((t,e)=>{const[a,i,r,s,o]=t.split("\t");return new n.SimpleFeature({uniqueId:`${e}`,refName:a,start:+i,end:+r,name:s,type:o,gieStain:o||s})}))}}}}]);
//# sourceMappingURL=4284.e84ef221.chunk.js.map