import"./jquery.e8a081b2.js";import{D as s}from"./dataTables.responsive.8ca70206.js";import"./_commonjsHelpers.b8add541.js";function n(){new s("#playTimeList",{processing:!0,serverSide:!0,responsive:!0,pageLength:25,ajax:{url:playTimeListUrl,headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},type:"POST",dataType:"json"},language:{search:window.translations.searchByPlayernameAndSteamid,processing:'<div class="spinner"></div>'},order:[[2,"desc"]],columns:[{data:"position"},{data:"name",render:function(a,i,t,l){const e=r(a);return`<div class="ranksList"><span class="list-profile"><a target="_blank" href="${t.profile}"><i class="fas fa-external-link-alt rank-profile"></i></a><img src="${t.avatar}" /><a href="https://steamcommunity.com/profiles/${t.player_steamid}">${e}</a></span><p class="text-muted mb-0">${window.translations.lastSeen}: <span class="badge badge-light-info rounded-pill d-inline">${t.last_seen}</span></p></div>`}},{data:"playtime"},{data:"kills"},{data:"deaths"},{data:"assists"},{data:"headshots"},{data:"rounds_ct"},{data:"rounds_t"},{data:"rounds_overall"},{data:"games_won"},{data:"games_lost"}]})}n();function r(a){return a===null?"Unknown":a.length>15?a.substring(0,12)+"...":a}
