"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1439],{31439:(e,i,s)=>{s.r(i),s.d(i,{getMultiWiggleSourcesAutorun:()=>a});var o=s(42489),t=s(36422),n=s(99546),r=s(91468);function a(e){(0,t.addDisposer)(e,(0,o.autorun)((async()=>{try{const{rpcManager:i}=(0,n.getSession)(e),{adapterConfig:s}=e,o=(0,r.getRpcSessionId)(e),a=(0,n.getContainingView)(e);if(!a.initialized)return;const c=await i.call(o,"MultiWiggleGetSources",{regions:a.staticBlocks.contentBlocks,sessionId:o,adapterConfig:s});(0,t.isAlive)(e)&&e.setSources(c)}catch(i){!(0,n.isAbortException)(i)&&(0,t.isAlive)(e)&&(console.error(i),(0,n.getSession)(e).notifyError(`${i}`,i))}})))}}}]);
//# sourceMappingURL=1439.238a4d32.chunk.js.map