"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9372],{99372:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var a=s(56798),r=s(59062);class i extends a.BaseAdapter{async getRefNameAliases(){const e=this.getConf("location");if(""===e.uri||"/path/to/my/aliases.txt"===e.uri)return[];const t=await(0,r.openLocation)(e,this.pluginManager).readFile("utf8"),s=this.getConf("refNameColumn");return t.trim().split(/\n|\r\n|\r/).filter((e=>!!e&&!e.startsWith("#"))).map((e=>{const t=e.split("\t"),[a]=t.splice(s,1);return{refName:a,aliases:t.filter((e=>!!e.trim()))}}))}async freeResources(){}}}}]);
//# sourceMappingURL=9372.fd455470.chunk.js.map