1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2961],{22961:function(e,l,s){s.r(l),s.d(l,{default:function(){return f}});var t=s(85893),i=s(78134),a=s(68712),n=s(10777),c=s(24139),o=s(14640),d=s(25675),r=s.n(d);function u(e){let{icon:l,label:s,value:i}=e;return(0,t.jsxs)("div",{className:"flex gap-3 items-center w-full px-4 overflow-hidden",children:[(0,t.jsx)("div",{className:"flex justify-center items-center w-10 h-10 rounded shrink-0 grow-0 overflow-hidden",children:(0,t.jsx)(r(),{src:l,className:"object-contain object-center",width:32,height:32,alt:""})}),(0,t.jsxs)("div",{className:"flex flex-col w-full",children:[(0,t.jsx)("h6",{className:"text-sm truncate overflow-hidden inline-block text-nowrap max-w-full",children:s}),(0,t.jsx)("p",{className:"font-bold text-xl",children:i})]})]})}function f(){var e,l,s,d;let r=(0,o.useTranslations)(),{data:f,isSuccess:m}=(0,n.a)({queryKey:(0,i.kU)(),queryFn:(0,i.dW)(),placeholderData:c.Wk,refetchOnWindowFocus:!1,refetchOnReconnect:!1,refetchOnMount:!0});return m?(0,t.jsxs)("div",{className:"col-span-3 bg-[#1A255A] bg-opacity-60 backdrop-blur-xl rounded-[0.625rem] w-full flex flex-col gap-3.5 text-white",children:[(0,t.jsx)("h3",{className:"font-extrabold text-xl p-4 pb-0",children:r("my_profile.statistics.title")}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 pb-4",children:[(0,t.jsx)(u,{icon:"/img/app/icons/user-statistics/played_game_count.svg",label:r("my_profile.statistics.fields.played_game_count"),value:null==f?void 0:null===(e=f.data)||void 0===e?void 0:e.played_game_count}),(0,t.jsx)(u,{icon:"/img/app/icons/user-statistics/liked_game_count.svg",label:r("my_profile.statistics.fields.liked_game_count"),value:null==f?void 0:null===(l=f.data)||void 0===l?void 0:l.liked_game_count}),(null==f?void 0:null===(s=f.data)||void 0===s?void 0:s.register_date)?(0,t.jsx)(u,{icon:"/img/app/icons/user-statistics/membership_duration.svg",label:r("my_profile.statistics.fields.membership_duration"),value:(0,a.Z)().formatDistance(null==f?void 0:null===(d=f.data)||void 0===d?void 0:d.register_date,new Date)}):null]})]}):(0,t.jsx)("div",{className:"col-span-3"})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.