import{j as i}from"./api.IptZkPtc.js";import{r as t}from"./index.DC1_V0l1.js";import{S as n}from"./SelectorPerfil.aluFZOi_.js";import"./tipos.BUIEL7Hd.js";function p(){const[e,o]=t.useState(null);return t.useEffect(()=>{function r(s){o(s.detail.perfiles)}return window.addEventListener("crew:mostrar-selector-perfil",r),()=>window.removeEventListener("crew:mostrar-selector-perfil",r)},[]),e?i.jsx(n,{perfiles:e}):null}export{p as default};
