import{jsx as r}from"react/jsx-runtime";import{usePickerPropsStore as e}from"../../../../stores/picker-props-store/usePickerPropsStore.js";import{FilterStoreProvider as o}from"../../../../stores/filter-store/FilterStoreProvider.js";import{useCompanySelectorPermission as i}from"../../../../hooks/useCompanySelectorPermission.js";var t=function(t){var s=t.children,n=e((function(r){return r.offsetSettings})),p=i(),m=p.canViewCompanies,a=p.canViewCompaniesLoading;return r(o,{filters:null==n?void 0:n.filters,canViewCompanies:!a&&m,children:s})};t.displayName="FilterStoreWrapper";export{t as FilterStoreWrapper};
//# sourceMappingURL=FilterStoreWrapper.js.map
