import{Yn as e,Zn as t}from"./DLvf9lie.js";function n(){if(!(typeof window>`u`))return window.metacubexd}function r(r){let i=n(),a=i?.isDesktop?i.onBackendInvalidate?.(()=>r()):void 0;return a?(e()&&t(a),a):()=>{}}export{r as t};