import { _ as __nuxt_component_0 } from './nuxt-link-1NBbHb-h.mjs'; import { defineComponent, ref, unref, withCtx, openBlock, createBlock, createVNode, createTextVNode, toDisplayString, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent, ssrRenderList, ssrRenderClass } from 'vue/server-renderer'; import { a as useI18n } from './server.mjs'; import '../nitro/nitro.mjs'; import 'node:http'; import 'node:https'; import 'node:events'; import 'node:buffer'; import 'node:fs'; import 'node:path'; import 'node:crypto'; import 'vue-router'; import 'node:url'; import 'pinia'; import '../routes/renderer.mjs'; import 'vue-bundle-renderer/runtime'; import 'unhead/server'; import 'devalue'; import 'unhead/utils'; import 'unhead/plugins'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "index", __ssrInlineRender: true, setup(__props) { const { t } = useI18n(); const loading = ref(true); const error = ref(false); const stats = ref({ total_users: 0, active_season: null, pending_contributions: 0, today_xp: 0 }); const recentLedger = ref([]); const topLeaderboard = ref([]); return (_ctx, _push, _parent, _attrs) => { const _component_NuxtLink = __nuxt_component_0; _push(`
${ssrInterpolate(unref(t)("gamification.dashboard.subtitle"))}
${ssrInterpolate(unref(t)("gamification.dashboard.load_error"))}
${ssrInterpolate(unref(stats).total_users)}
${ssrInterpolate(unref(stats).active_season || unref(t)("gamification.dashboard.none"))}
${ssrInterpolate(unref(stats).pending_contributions)}
${ssrInterpolate(unref(stats).today_xp)}
${ssrInterpolate(entry.reason)}
${ssrInterpolate(entry.created_at)}
${ssrInterpolate(entry.user_name)}
${ssrInterpolate(unref(t)("gamification.dashboard.level"))} ${ssrInterpolate(entry.level)} \xB7 ${ssrInterpolate(entry.xp)} ${ssrInterpolate(unref(t)("gamification.dashboard.xp_abbr"))}