"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3497],{93497:(e,a,t)=>{t.d(a,{doAfterAttach:()=>o});var n=t(36422),i=t(42489),s=t(99546);function o(e){!function(e,a){(0,n.addDisposer)(e,(0,i.autorun)((async()=>{try{await a()}catch(a){(0,n.isAlive)(e)&&e.setError(a)}}),{delay:1e3}))}(e,(async()=>{await async function(e){const{rpcSessionId:a}=(0,s.getContainingTrack)(e),{rpcManager:t}=(0,s.getSession)(e),n=(0,s.getContainingView)(e);if(!n.initialized||e.error||e.regionTooLarge)return;e.setLoading(!0);const i=await t.call(a,"CoreGetFeatures",{sessionId:a,regions:n.staticBlocks.contentBlocks,adapterConfig:e.adapterConfig});e.setFeatures((0,s.dedupe)(i,(e=>e.id()))),e.setLoading(!1)}(e)}))}}}]);
//# sourceMappingURL=3497.9db6611b.chunk.js.map