import{C as a}from"./BDl4c6dV.js";import{a as s}from"./DGQDO-VU.js";const u=()=>{const e=s({}),{data:t,fetch:r,pending:i}=a("getCategoryById","getCategories",e,{immediate:!1}),g=async(f,m)=>(e.value={categoryIds:f,parameters:m},await r(),t),o=s({}),{data:c,fetch:n,pending:C}=a("getRootCategories","getRootCategories",o,{immediate:!1});return{paramsGetRootCategories:o,categories:t,fetchCategories:g,fetchingCategories:i,fetchingRootCategories:C,fetchRootCategories:n,rootCategories:c}};export{u};