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