import{isArray as e,isObject as t,isString as n}from"./util.mjs";function r(...i){let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s){if(n(s))a.push(s);else if(e(s))for(let e=0;e<s.length;e++){let t=r(s[e]);t&&a.push(t)}else if(t(s))for(let e in s)s[e]&&a.push(e)}}return a.join(` `)}export{r as default};