utils.jq(() => { $(function () { const els = document.getElementsByClassName('ds-friends'); for (var i = 0; i < els.length; i++) { const el = els[i]; const api = el.getAttribute('api'); if (api == null) { continue; } const default_avatar = def.avatar; // layout utils.request(el, api, function(data) { for (let item of (data.content || data)) { var cell = `