import{g as s}from"./chunk-IRFDE6LX.js";import{useEffect as c,useState as l}from"react";var S=(t,e)=>{let[i,a]=l();return c(()=>{t&&e&&(async()=>a((await(await fetch(`${s(t,e)}/dice/v1/getallfamilysets`)).json()).data.flatMap(({sets:{definitionData:r}})=>r)))()},[e,t]),i};export{S as a};
//# sourceMappingURL=chunk-DBT6Y6WH.js.map
