import{d as s,s as u,w as l,c,r as m,a as p,o as i,v,Q as f,b as d,e as R,k}from"./index-bJiZR03d.js";const r=a=>{const{value:e,isCustom:o}=v();if(f(a.query)&&o.value){const n=d.map("SavedSearchFilter",e.value,"FlowRunsFilter"),t=R(n);return{...a,query:t}}return!0},F=s({expose:[],beforeRouteEnter:r,beforeRouteUpdate:r}),w=s({...F,__name:"FlowRunsPageWithDefaultFilter",props:{component:{type:[Object,Function]}},setup(a){const e=a,o=u(null);function n(t){return k(t)}return l(e.component,()=>{n(e.component)?e.component().then(t=>{o.value=t.default}):o.value=e.component},{immediate:!0}),(t,b)=>o.value!==null?(i(),c(m(o.value),{key:0})):p("",!0)}});export{w as default};
