import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
import { PRD_WALLET_PLAYER_ACCESS_ANY } from "@/lib/admin-prd";
import { PlayerWalletPanel } from "@/modules/wallet/wallet-console";
import { buildPageMetadata } from "@/lib/page-metadata";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("wallet", "playerWalletQuery");

export default function AdminWalletPlayerPage() {
  return (
    <AdminPermissionGate requiredAny={PRD_WALLET_PLAYER_ACCESS_ANY}>
      <PlayerWalletPanel />
    </AdminPermissionGate>
  );
}
