import { jsx as e, jsxs as t } from "react/jsx-runtime";
import { useState as x } from "react";
import { Link as A } from "react-router-dom";
import { useTranslation as v } from "react-i18next";
import { User as u, Key as o, Activity as b, Shield as f, AppWindow as k, Building2 as m, Users as y, History as N, ArrowLeft as S, UserCog as T, ChevronRight as l, Edit2 as R, UserX as j, ChevronDown as h, Info as E, Mail as U, Lock as G, Monitor as D, CheckCircle as d } from "lucide-react";
const p = {
  fullName: "Alice Martin",
  email: "alice.martin@acme.com"
}, P = [
  { id: "1", name: "Administrator", scope: "Global", isCustom: !1 },
  { id: "2", name: "Auditor", scope: "Global", isCustom: !1 }
], H = [
  { app: "administration", read: !0, update: !0, delete: !0, execute: !0 },
  { app: "support", read: !0, update: !0, delete: !1, execute: !1 },
  { app: "myspace", read: !0, update: !0, delete: !1, execute: !1 }
], O = [
  { name: "Administration", roles: "Administrator, Auditor", isActive: !0 },
  { name: "Support", roles: "Support Agent", isActive: !0 },
  { name: "MySpace", roles: "User", isActive: !0 }
], B = [
  { name: "ACME Corp", slug: "acme", role: "Administrator", isOwner: !0 },
  { name: "TechVision GmbH", slug: "techvision", role: "Analyst", isOwner: !1 }
], L = [
  { name: "IT Team", type: "Security", source: "Direct", roles: "N/A" },
  { name: "ZH Office", type: "Organizational", source: "Direct", roles: "N/A" },
  { name: "Admins Pool", type: "Role-based", source: "Via groupe", roles: "Administrator" }
], $ = [
  { id: "1", device: "Desktop", ip: "192.168.1.100", country: "Switzerland", browser: "Chrome 125", lastActivity: "2 mins ago" },
  { id: "2", device: "Mobile", ip: "203.0.113.42", country: "France", browser: "Safari iOS 17", lastActivity: "45 mins ago" },
  { id: "3", device: "Desktop", ip: "198.51.100.1", country: "Germany", browser: "Firefox 125", lastActivity: "3 hours ago" }
], M = [
  { method: "GET", path: "/api/administration/users/{id}", handler: "GetUserDetail", permission: "administration.users.read" },
  { method: "PUT", path: "/api/administration/users/{id}", handler: "UpdateUser", permission: "administration.users.update" },
  { method: "DELETE", path: "/api/administration/users/{id}", handler: "DeleteUser", permission: "administration.users.delete" },
  { method: "GET", path: "/api/administration/users/{id}/sessions", handler: "GetUserSessions", permission: "administration.users.read" },
  { method: "POST", path: "/api/administration/users/{id}/sessions/end-all", handler: "EndAllSessions", permission: "administration.users.execute" },
  { method: "DELETE", path: "/api/administration/users/{id}/sessions/{sessionId}", handler: "EndSession", permission: "administration.users.execute" },
  { method: "GET", path: "/api/administration/users/{id}/activity", handler: "GetUserActivity", permission: "administration.users.read" },
  { method: "GET", path: "/api/administration/users/{id}/history", handler: "GetUserHistory", permission: "administration.users.read" },
  { method: "POST", path: "/api/administration/users/{id}/history/{historyId}/restore", handler: "RestoreField", permission: "administration.users.update" },
  { method: "GET", path: "/api/administration/users/{id}/consolidated-roles", handler: "GetConsolidatedRoles", permission: "administration.users.read" },
  { method: "GET", path: "/api/administration/users/{id}/application-access", handler: "GetApplicationAccess", permission: "administration.users.read" },
  { method: "GET", path: "/api/administration/users/{id}/groups", handler: "GetUserGroups", permission: "administration.users.read" },
  { method: "GET", path: "/api/administration/users/{id}/tenants", handler: "GetUserTenants", permission: "administration.users.read" },
  { method: "POST", path: "/api/administration/users/{id}/custom-role", handler: "CreateCustomRole", permission: "administration.users.update" },
  { method: "DELETE", path: "/api/administration/users/{id}/custom-role", handler: "DeleteCustomRole", permission: "administration.users.update" },
  { method: "PATCH", path: "/api/administration/users/{id}/activate", handler: "ActivateUser", permission: "administration.users.update" },
  { method: "PATCH", path: "/api/administration/users/{id}/deactivate", handler: "DeactivateUser", permission: "administration.users.update" },
  { method: "POST", path: "/api/administration/users/{id}/unlock", handler: "UnlockUser", permission: "administration.users.execute" },
  { method: "POST", path: "/api/administration/users/{id}/send-password-reset", handler: "SendPasswordResetLink", permission: "administration.users.execute" },
  { method: "POST", path: "/api/administration/users/{id}/reset-password-direct", handler: "ResetPasswordDirect", permission: "administration.users.execute" },
  { method: "POST", path: "/api/administration/users/{id}/clear-failed-attempts", handler: "ClearFailedAttempts", permission: "administration.users.execute" }
], z = [
  { id: "BR-001", title: "tabContent.info.rules.br001", category: "Sécurité" },
  { id: "BR-002", title: "tabContent.security.rules.br002", category: "Authentification" },
  { id: "BR-003", title: "tabContent.activitySessions.rules.br003", category: "Sessions" },
  { id: "BR-004", title: "tabContent.roles.rules.br004", category: "RBAC" },
  { id: "BR-005", title: "tabContent.permissions.rules.br005", category: "Permissions" },
  { id: "BR-006", title: "tabContent.tenants.rules.br006", category: "Tenants" }
], I = {
  GET: "bg-[var(--info-bg)] text-[var(--info-text)] border-[var(--info-border)]",
  POST: "bg-[var(--success-bg)] text-[var(--success-text)] border-[var(--success-border)]",
  PUT: "bg-[var(--warning-bg)] text-[var(--warning-text)] border-[var(--warning-border)]",
  PATCH: "bg-[var(--warning-bg)] text-[var(--warning-text)] border-[var(--warning-border)]",
  DELETE: "bg-[var(--error-bg)] text-[var(--error-text)] border-[var(--error-border)]"
};
function i({ children: r }) {
  return /* @__PURE__ */ t("div", { className: "mt-3 flex items-start gap-2 px-3 py-2 rounded-md border-l-2 border-[var(--color-accent-500)] bg-[var(--bg-secondary)] text-xs text-[var(--text-secondary)]", children: [
    /* @__PURE__ */ e(E, { className: "h-3.5 w-3.5 flex-shrink-0 mt-0.5 text-[var(--color-accent-600)]" }),
    /* @__PURE__ */ e("span", { children: r })
  ] });
}
function q({ activeTab: r }) {
  const { t: a } = v("docsAdministrationUsersDetail");
  return r === "info" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-3", children: [
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
          /* @__PURE__ */ e(u, { className: "h-3.5 w-3.5" }),
          a("tabContent.info.profile.title")
        ] }),
        /* @__PURE__ */ t("div", { className: "space-y-1.5 text-xs", children: [
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.profile.lastLogin"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)] font-mono", children: "2026-05-24 14:32" })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.profile.memberSince"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)] font-mono", children: "2025-01-15" })
          ] })
        ] })
      ] }),
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
          /* @__PURE__ */ e(m, { className: "h-3.5 w-3.5" }),
          a("tabContent.info.organization.title")
        ] }),
        /* @__PURE__ */ t("div", { className: "space-y-1.5 text-xs", children: [
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.organization.department"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)]", children: "IT Operations" })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.organization.jobTitle"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)]", children: "System Administrator" })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.organization.company"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)]", children: "ACME Corp" })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.organization.office"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)]", children: "Zurich HQ" })
          ] })
        ] })
      ] }),
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)] md:col-span-2", children: [
        /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
          /* @__PURE__ */ e(U, { className: "h-3.5 w-3.5" }),
          a("tabContent.info.contact.title")
        ] }),
        /* @__PURE__ */ t("div", { className: "space-y-1.5 text-xs", children: [
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.contact.phone"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)] font-mono break-all", children: "+41 76 123 45 67" })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.contact.email"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)] font-mono break-all", children: "alice.martin@acme.com" })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.info.contact.address"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)] font-mono break-all", children: "123 Tech Street, Zurich, 8001" })
          ] })
        ] })
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.info.annotation") })
  ] }) : r === "security" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-3", children: [
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
          /* @__PURE__ */ e(G, { className: "h-3.5 w-3.5" }),
          a("tabContent.security.lockStatus.title")
        ] }),
        /* @__PURE__ */ t("div", { className: "space-y-1.5 text-xs", children: [
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.security.lockStatus.locked"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--success-text)] font-medium", children: a("tabContent.security.lockStatus.unlocked") })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ t("span", { className: "text-[var(--text-secondary)]", children: [
              a("tabContent.security.lockStatus.failedAttempts"),
              ":"
            ] }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)] font-medium", children: "0 / 5" })
          ] })
        ] })
      ] }),
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
          /* @__PURE__ */ e(o, { className: "h-3.5 w-3.5" }),
          a("tabContent.security.passwordReset.title")
        ] }),
        /* @__PURE__ */ t("div", { className: "space-y-2 text-xs", children: [
          /* @__PURE__ */ e("button", { className: "w-full px-2 py-1 rounded bg-[var(--bg-secondary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-tertiary)] text-center", children: a("tabContent.security.passwordReset.sendLink") }),
          /* @__PURE__ */ e("button", { className: "w-full px-2 py-1 rounded bg-[var(--bg-secondary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-tertiary)] text-center", children: a("tabContent.security.passwordReset.resetDirect") })
        ] })
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.security.annotation") })
  ] }) : r === "activitySessions" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
      /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
        /* @__PURE__ */ e(D, { className: "h-3.5 w-3.5" }),
        a("tabContent.activitySessions.activeSessions.title")
      ] }),
      /* @__PURE__ */ e("div", { className: "text-xs space-y-1", children: $.map((s) => /* @__PURE__ */ t("div", { className: "flex justify-between p-1.5 bg-[var(--bg-secondary)] rounded", children: [
        /* @__PURE__ */ t("span", { className: "text-[var(--text-primary)]", children: [
          s.device,
          " · ",
          s.browser
        ] }),
        /* @__PURE__ */ e("span", { className: "text-[var(--text-secondary)] font-mono text-[0.7rem]", children: s.ip })
      ] }, s.id)) }),
      /* @__PURE__ */ e("div", { className: "mt-2 flex gap-2", children: /* @__PURE__ */ e("button", { className: "flex-1 px-2 py-1 text-xs rounded bg-[var(--color-accent-600)] text-white hover:bg-[var(--color-accent-700)]", children: a("tabContent.activitySessions.endAllSessions") }) })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.activitySessions.annotation") })
  ] }) : r === "roles" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
      /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
        /* @__PURE__ */ e(f, { className: "h-3.5 w-3.5" }),
        a("tabContent.roles.assignedRoles.title")
      ] }),
      /* @__PURE__ */ e("div", { className: "space-y-1.5 text-xs", children: P.map((s) => /* @__PURE__ */ t("div", { className: "flex justify-between p-1.5 bg-[var(--bg-secondary)] rounded", children: [
        /* @__PURE__ */ e("span", { className: "text-[var(--text-primary)]", children: s.name }),
        /* @__PURE__ */ e("span", { className: "text-[var(--text-secondary)] text-[0.75rem]", children: s.scope })
      ] }, s.id)) }),
      /* @__PURE__ */ t("button", { className: "mt-2 w-full px-2 py-1 text-xs rounded bg-[var(--bg-secondary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-tertiary)]", children: [
        "+ ",
        a("tabContent.roles.createCustom")
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.roles.annotation") })
  ] }) : r === "permissions" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)] overflow-x-auto", children: [
      /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
        /* @__PURE__ */ e(o, { className: "h-3.5 w-3.5" }),
        a("tabContent.permissions.matrix.title")
      ] }),
      /* @__PURE__ */ t("table", { className: "w-full text-xs", children: [
        /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]", children: [
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.permissions.matrix.app") }),
          /* @__PURE__ */ e("th", { className: "text-center py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.permissions.matrix.read") }),
          /* @__PURE__ */ e("th", { className: "text-center py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.permissions.matrix.update") }),
          /* @__PURE__ */ e("th", { className: "text-center py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.permissions.matrix.delete") })
        ] }) }),
        /* @__PURE__ */ e("tbody", { children: H.map((s) => /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]/50", children: [
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-primary)]", children: s.app }),
          /* @__PURE__ */ e("td", { className: "text-center py-1 px-1", children: s.read && /* @__PURE__ */ e(d, { className: "h-3.5 w-3.5 inline text-[var(--color-accent-600)]" }) }),
          /* @__PURE__ */ e("td", { className: "text-center py-1 px-1", children: s.update && /* @__PURE__ */ e(d, { className: "h-3.5 w-3.5 inline text-[var(--color-accent-600)]" }) }),
          /* @__PURE__ */ e("td", { className: "text-center py-1 px-1", children: s.delete && /* @__PURE__ */ e(d, { className: "h-3.5 w-3.5 inline text-[var(--color-accent-600)]" }) })
        ] }, s.app)) })
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.permissions.annotation") })
  ] }) : r === "applications" ? /* @__PURE__ */ t("div", { className: "space-y-2", children: [
    O.map((s) => /* @__PURE__ */ e("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: /* @__PURE__ */ t("div", { className: "flex justify-between items-start", children: [
      /* @__PURE__ */ t("div", { children: [
        /* @__PURE__ */ e("h4", { className: "text-xs font-semibold text-[var(--text-primary)]", children: s.name }),
        /* @__PURE__ */ t("p", { className: "text-xs text-[var(--text-secondary)] mt-1", children: [
          a("tabContent.applications.roles"),
          ": ",
          s.roles
        ] })
      ] }),
      /* @__PURE__ */ e("span", { className: `px-2 py-0.5 text-xs rounded ${s.isActive ? "bg-[var(--success-bg)] text-[var(--success-text)]" : "bg-[var(--error-bg)] text-[var(--error-text)]"}`, children: s.isActive ? a("tabContent.applications.active") : a("tabContent.applications.inactive") })
    ] }) }, s.name)),
    /* @__PURE__ */ e(i, { children: a("tabContent.applications.annotation") })
  ] }) : r === "tenants" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)] overflow-x-auto", children: [
      /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
        /* @__PURE__ */ e(m, { className: "h-3.5 w-3.5" }),
        a("tabContent.tenants.memberships.title")
      ] }),
      /* @__PURE__ */ t("table", { className: "w-full text-xs", children: [
        /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]", children: [
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.tenants.memberships.name") }),
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.tenants.memberships.slug") }),
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.tenants.memberships.role") }),
          /* @__PURE__ */ e("th", { className: "text-center py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.tenants.memberships.owner") })
        ] }) }),
        /* @__PURE__ */ e("tbody", { children: B.map((s) => /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]/50", children: [
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-primary)]", children: s.name }),
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-secondary)] font-mono", children: s.slug }),
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-secondary)]", children: s.role }),
          /* @__PURE__ */ e("td", { className: "text-center py-1 px-1", children: s.isOwner && /* @__PURE__ */ e(d, { className: "h-3.5 w-3.5 inline text-[var(--color-accent-600)]" }) })
        ] }, s.slug)) })
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.tenants.annotation") })
  ] }) : r === "groups" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)] overflow-x-auto", children: [
      /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
        /* @__PURE__ */ e(y, { className: "h-3.5 w-3.5" }),
        a("tabContent.groups.memberships.title")
      ] }),
      /* @__PURE__ */ t("table", { className: "w-full text-xs", children: [
        /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]", children: [
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.groups.memberships.name") }),
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.groups.memberships.type") }),
          /* @__PURE__ */ e("th", { className: "text-left py-1 px-1 text-[var(--text-secondary)] font-medium", children: a("tabContent.groups.memberships.source") })
        ] }) }),
        /* @__PURE__ */ e("tbody", { children: L.map((s) => /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]/50", children: [
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-primary)]", children: s.name }),
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-secondary)]", children: s.type }),
          /* @__PURE__ */ e("td", { className: "py-1 px-1 text-[var(--text-secondary)]", children: s.source })
        ] }, s.name)) })
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.groups.annotation") })
  ] }) : r === "history" ? /* @__PURE__ */ t("div", { className: "space-y-3", children: [
    /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-3 bg-[var(--bg-card)]", children: [
      /* @__PURE__ */ t("h4", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2 flex items-center gap-1", children: [
        /* @__PURE__ */ e(N, { className: "h-3.5 w-3.5" }),
        a("tabContent.history.timeline.title")
      ] }),
      /* @__PURE__ */ t("div", { className: "space-y-2 text-xs", children: [
        /* @__PURE__ */ t("div", { className: "p-2 border-l-2 border-[var(--color-accent-500)] bg-[var(--bg-secondary)] rounded", children: [
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ e("span", { className: "font-medium text-[var(--text-primary)]", children: "Department" }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-secondary)]", children: "2026-05-24 10:15" })
          ] }),
          /* @__PURE__ */ t("div", { className: "mt-1 text-[var(--text-secondary)]", children: [
            /* @__PURE__ */ e("span", { className: "line-through text-[var(--error-text)]", children: "Marketing" }),
            /* @__PURE__ */ e("span", { className: "ml-2", children: "→" }),
            /* @__PURE__ */ e("span", { className: "ml-2 text-[var(--success-text)]", children: "IT Operations" })
          ] }),
          /* @__PURE__ */ e("button", { className: "mt-1 text-xs text-[var(--color-accent-600)] hover:underline", children: a("tabContent.history.restore") })
        ] }),
        /* @__PURE__ */ t("div", { className: "p-2 border-l-2 border-[var(--color-accent-500)] bg-[var(--bg-secondary)] rounded", children: [
          /* @__PURE__ */ t("div", { className: "flex justify-between", children: [
            /* @__PURE__ */ e("span", { className: "font-medium text-[var(--text-primary)]", children: "isActive" }),
            /* @__PURE__ */ e("span", { className: "text-[var(--text-secondary)]", children: "2026-05-20 14:32" })
          ] }),
          /* @__PURE__ */ t("div", { className: "mt-1 text-[var(--text-secondary)]", children: [
            /* @__PURE__ */ e("span", { className: "line-through text-[var(--error-text)]", children: "false" }),
            /* @__PURE__ */ e("span", { className: "ml-2", children: "→" }),
            /* @__PURE__ */ e("span", { className: "ml-2 text-[var(--success-text)]", children: "true" })
          ] }),
          /* @__PURE__ */ e("button", { className: "mt-1 text-xs text-[var(--color-accent-600)] hover:underline", children: a("tabContent.history.restore") })
        ] })
      ] })
    ] }),
    /* @__PURE__ */ e(i, { children: a("tabContent.history.annotation") })
  ] }) : null;
}
function W() {
  const { t: r } = v("docsAdministrationUsersDetail"), [a, s] = x("info"), [c, g] = x(!1), w = [
    { id: "info", label: r("tabs.info"), icon: /* @__PURE__ */ e(u, { className: "h-4 w-4" }) },
    { id: "security", label: r("tabs.security"), icon: /* @__PURE__ */ e(o, { className: "h-4 w-4" }) },
    { id: "activitySessions", label: r("tabs.activitySessions"), icon: /* @__PURE__ */ e(b, { className: "h-4 w-4" }) },
    { id: "roles", label: r("tabs.roles"), icon: /* @__PURE__ */ e(f, { className: "h-4 w-4" }) },
    { id: "permissions", label: r("tabs.permissions"), icon: /* @__PURE__ */ e(o, { className: "h-4 w-4" }) },
    { id: "applications", label: r("tabs.applications"), icon: /* @__PURE__ */ e(k, { className: "h-4 w-4" }) },
    { id: "tenants", label: r("tabs.tenants"), icon: /* @__PURE__ */ e(m, { className: "h-4 w-4" }) },
    { id: "groups", label: r("tabs.groups"), icon: /* @__PURE__ */ e(y, { className: "h-4 w-4" }) },
    { id: "history", label: r("tabs.history"), icon: /* @__PURE__ */ e(N, { className: "h-4 w-4" }) }
  ];
  return /* @__PURE__ */ t("div", { className: "space-y-8 max-w-5xl mx-auto px-4 py-6", children: [
    /* @__PURE__ */ t(
      A,
      {
        to: "/docs/business/administration/users",
        className: "inline-flex items-center gap-1.5 text-sm text-[var(--color-accent-500)] hover:text-[var(--color-accent-600)] transition-colors",
        children: [
          /* @__PURE__ */ e(S, { className: "h-4 w-4" }),
          r("nav.backToUsers")
        ]
      }
    ),
    /* @__PURE__ */ t("div", { children: [
      /* @__PURE__ */ t("div", { className: "flex items-center gap-3 mb-3", children: [
        /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-[var(--color-accent-600)]/10", children: /* @__PURE__ */ e(T, { className: "h-6 w-6 text-[var(--color-accent-600)]" }) }),
        /* @__PURE__ */ t("div", { className: "min-w-0", children: [
          /* @__PURE__ */ e("h1", { className: "text-2xl font-bold text-[var(--text-primary)]", children: r("title") }),
          /* @__PURE__ */ e("p", { className: "text-xl text-[var(--color-accent-600)] font-medium mt-1", children: r("summary") }),
          /* @__PURE__ */ e("p", { className: "text-sm text-[var(--text-secondary)] mt-1", children: r("subtitle") })
        ] })
      ] }),
      /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-3 text-sm text-[var(--text-secondary)]", children: [
        /* @__PURE__ */ t("span", { children: [
          "9 ",
          r("header.tabs")
        ] }),
        /* @__PURE__ */ e("span", { children: "·" }),
        /* @__PURE__ */ t("span", { children: [
          "21 ",
          r("header.apiEndpoints")
        ] }),
        /* @__PURE__ */ e("span", { children: "·" }),
        /* @__PURE__ */ t("span", { children: [
          "6 ",
          r("header.businessRules")
        ] })
      ] })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] mb-3 flex items-center gap-2", children: [
        /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "1" }),
        r("sections.objective")
      ] }),
      /* @__PURE__ */ e("div", { className: "p-4 bg-[var(--bg-card)] border border-[var(--border-color)] rounded-[var(--radius-card)]", children: /* @__PURE__ */ e("p", { className: "text-sm text-[var(--text-secondary)] leading-relaxed", children: r("objective") }) })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] mb-3 flex items-center gap-2", children: [
        /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "2" }),
        r("sections.access")
      ] }),
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg p-4 bg-[var(--bg-card)] space-y-3", children: [
        /* @__PURE__ */ t("div", { children: [
          /* @__PURE__ */ e("div", { className: "text-xs font-medium text-[var(--text-secondary)] mb-2", children: r("access.navigation") }),
          /* @__PURE__ */ t("div", { className: "flex flex-wrap items-center gap-2 text-sm", children: [
            /* @__PURE__ */ e("span", { className: "px-2 py-0.5 rounded bg-[var(--bg-secondary)] text-[var(--text-secondary)] border border-[var(--border-color)] font-medium", children: "Platform" }),
            /* @__PURE__ */ e(l, { className: "h-3.5 w-3.5 text-[var(--text-muted)]" }),
            /* @__PURE__ */ e("span", { className: "px-2 py-0.5 rounded bg-[var(--bg-secondary)] text-[var(--text-secondary)] border border-[var(--border-color)] font-medium", children: "Administration" }),
            /* @__PURE__ */ e(l, { className: "h-3.5 w-3.5 text-[var(--text-muted)]" }),
            /* @__PURE__ */ e("span", { className: "px-2 py-0.5 rounded bg-[var(--bg-secondary)] text-[var(--text-secondary)] border border-[var(--border-color)] font-medium", children: "Users" }),
            /* @__PURE__ */ e(l, { className: "h-3.5 w-3.5 text-[var(--text-muted)]" }),
            /* @__PURE__ */ e("span", { className: "px-2 py-0.5 rounded bg-[var(--color-accent-600)]/10 text-[var(--color-accent-700)] border border-[var(--color-accent-500)]/20 font-medium", children: r("access.module") })
          ] })
        ] }),
        /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-3 text-xs min-w-0", children: [
          /* @__PURE__ */ e("div", { className: "min-w-0 px-3 py-1.5 rounded-full bg-[var(--bg-secondary)] border border-[var(--border-color)] font-mono text-[var(--text-secondary)] break-all", children: "/administration/users/:id" }),
          /* @__PURE__ */ e("div", { className: "min-w-0 px-3 py-1.5 rounded-full bg-[var(--color-accent-600)]/10 border border-[var(--color-accent-500)]/20 text-[var(--color-accent-700)] font-mono break-all", children: "administration.users.read" })
        ] })
      ] })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] mb-3 flex items-center gap-2", children: [
        /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "3" }),
        r("sections.headerView")
      ] }),
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg overflow-hidden bg-[var(--bg-card)] shadow-sm", children: [
        /* @__PURE__ */ e("div", { className: "px-4 py-3 border-b border-[var(--border-color)] bg-[var(--bg-secondary)]", children: /* @__PURE__ */ t("div", { className: "flex items-start justify-between gap-3", children: [
          /* @__PURE__ */ t("div", { className: "flex items-start gap-3 flex-1", children: [
            /* @__PURE__ */ e("div", { className: "w-12 h-12 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-lg font-bold flex-shrink-0", children: "AM" }),
            /* @__PURE__ */ t("div", { className: "min-w-0 flex-1", children: [
              /* @__PURE__ */ e("h3", { className: "text-lg font-bold text-[var(--text-primary)]", children: p.fullName }),
              /* @__PURE__ */ e("p", { className: "text-sm text-[var(--text-secondary)] font-mono break-all", children: p.email }),
              /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-2 mt-2", children: [
                /* @__PURE__ */ e("span", { className: "px-2 py-0.5 text-xs rounded-full bg-[var(--success-bg)] text-[var(--success-text)] border border-[var(--success-border)]", children: r("pageHeader.active") }),
                /* @__PURE__ */ e("span", { className: "px-2 py-0.5 text-xs rounded-full bg-[var(--info-bg)] text-[var(--info-text)] border border-[var(--info-border)]", children: r("pageHeader.entraUser") })
              ] })
            ] })
          ] }),
          /* @__PURE__ */ t("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
            /* @__PURE__ */ t("button", { className: "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm rounded-lg bg-[var(--bg-primary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-secondary)]", children: [
              /* @__PURE__ */ e(R, { className: "h-4 w-4" }),
              r("pageHeader.editBtn")
            ] }),
            /* @__PURE__ */ t("button", { className: "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm rounded-lg bg-[var(--bg-primary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-secondary)]", children: [
              /* @__PURE__ */ e(o, { className: "h-4 w-4" }),
              r("pageHeader.resetPwdBtn")
            ] }),
            /* @__PURE__ */ t("button", { className: "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm rounded-lg bg-[var(--bg-primary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-secondary)]", children: [
              /* @__PURE__ */ e(j, { className: "h-4 w-4" }),
              r("pageHeader.deactivateBtn")
            ] }),
            /* @__PURE__ */ t("button", { className: "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm rounded-lg bg-[var(--bg-primary)] text-[var(--text-secondary)] border border-[var(--border-color)] hover:bg-[var(--bg-secondary)]", children: [
              /* @__PURE__ */ e(b, { className: "h-4 w-4" }),
              r("pageHeader.sessionsBtn")
            ] })
          ] })
        ] }) }),
        /* @__PURE__ */ e(i, { children: r("pageHeader.annotationHeader") })
      ] })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] mb-3 flex items-center gap-2", children: [
        /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "4" }),
        r("sections.tabsView")
      ] }),
      /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg overflow-hidden bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ e("div", { className: "border-b border-[var(--border-color)] bg-[var(--bg-secondary)]", children: /* @__PURE__ */ e("div", { className: "flex gap-1 px-4 py-2 overflow-x-auto", children: w.map((n) => /* @__PURE__ */ t(
          "button",
          {
            onClick: () => s(n.id),
            className: `flex items-center gap-1.5 px-3 py-2 text-xs font-medium rounded-t whitespace-nowrap transition-colors ${a === n.id ? "text-[var(--color-accent-600)] border-b-2 border-[var(--color-accent-600)] bg-[var(--bg-primary)]" : "text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,
            children: [
              n.icon,
              n.label
            ]
          },
          n.id
        )) }) }),
        /* @__PURE__ */ e("div", { className: "p-4", children: /* @__PURE__ */ e(q, { activeTab: a }) })
      ] })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] mb-3 flex items-center gap-2", children: [
        /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "5" }),
        r("sections.useCases")
      ] }),
      /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-3", children: [1, 2, 3].map((n) => /* @__PURE__ */ t("div", { className: "p-4 border border-[var(--border-color)] rounded-lg bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ e("h3", { className: "text-xs font-semibold text-[var(--text-primary)] mb-2", children: r(`useCases.${n}.withLabel`) }),
        /* @__PURE__ */ t("div", { className: "space-y-2 text-xs text-[var(--text-secondary)]", children: [
          /* @__PURE__ */ t("div", { children: [
            /* @__PURE__ */ t("span", { className: "font-medium text-[var(--text-primary)]", children: [
              r("useCases.persona"),
              ":"
            ] }),
            /* @__PURE__ */ e("p", { children: r(`useCases.${n}.persona`) })
          ] }),
          /* @__PURE__ */ t("div", { children: [
            /* @__PURE__ */ t("span", { className: "font-medium text-[var(--text-primary)]", children: [
              r("useCases.situation"),
              ":"
            ] }),
            /* @__PURE__ */ e("p", { children: r(`useCases.${n}.situation`) })
          ] }),
          /* @__PURE__ */ t("div", { children: [
            /* @__PURE__ */ t("span", { className: "font-medium text-[var(--text-primary)]", children: [
              r("useCases.outcome"),
              ":"
            ] }),
            /* @__PURE__ */ e("p", { children: r(`useCases.${n}.outcome`) })
          ] })
        ] })
      ] }, n)) })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] mb-3 flex items-center gap-2", children: [
        /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "6" }),
        r("sections.faq")
      ] }),
      /* @__PURE__ */ e("div", { className: "space-y-2", children: [1, 2, 3, 4, 5].map((n) => /* @__PURE__ */ t("div", { className: "border border-[var(--border-color)] rounded-lg bg-[var(--bg-card)]", children: [
        /* @__PURE__ */ t("button", { className: "w-full flex items-center justify-between p-3 hover:bg-[var(--bg-secondary)] transition-colors", children: [
          /* @__PURE__ */ e("span", { className: "text-sm font-medium text-[var(--text-primary)] text-left", children: r(`faq.${n}.question`) }),
          /* @__PURE__ */ e(h, { className: "h-4 w-4 text-[var(--text-secondary)] flex-shrink-0" })
        ] }),
        /* @__PURE__ */ e("div", { className: "px-3 pb-3 text-sm text-[var(--text-secondary)] border-t border-[var(--border-color)]", children: r(`faq.${n}.answer`) })
      ] }, n)) })
    ] }),
    /* @__PURE__ */ t("section", { children: [
      /* @__PURE__ */ t(
        "button",
        {
          onClick: () => g(!c),
          className: "w-full flex items-center justify-between p-3 mb-3 rounded-lg border border-[var(--border-color)] bg-[var(--bg-secondary)] hover:bg-[var(--bg-tertiary)] transition-colors",
          children: [
            /* @__PURE__ */ t("h2", { className: "text-lg font-semibold text-[var(--text-primary)] flex items-center gap-2", children: [
              /* @__PURE__ */ e("span", { className: "w-7 h-7 rounded-full bg-[var(--color-accent-600)] text-white flex items-center justify-center text-xs font-bold", children: "7" }),
              r("sections.techRef")
            ] }),
            /* @__PURE__ */ e(h, { className: `h-5 w-5 text-[var(--text-secondary)] transition-transform ${c ? "rotate-180" : ""}` })
          ]
        }
      ),
      c && /* @__PURE__ */ t("div", { className: "space-y-4", children: [
        /* @__PURE__ */ t("div", { children: [
          /* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-[var(--text-primary)] mb-2", children: r("techRef.rulesTitle") }),
          /* @__PURE__ */ e("div", { className: "border border-[var(--border-color)] rounded-lg overflow-hidden bg-[var(--bg-card)]", children: /* @__PURE__ */ t("table", { className: "w-full text-xs", children: [
            /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)] bg-[var(--bg-secondary)]", children: [
              /* @__PURE__ */ e("th", { className: "text-left p-2 text-[var(--text-secondary)] font-medium", children: "ID" }),
              /* @__PURE__ */ e("th", { className: "text-left p-2 text-[var(--text-secondary)] font-medium", children: r("techRef.category") }),
              /* @__PURE__ */ e("th", { className: "text-left p-2 text-[var(--text-secondary)] font-medium", children: r("techRef.description") })
            ] }) }),
            /* @__PURE__ */ e("tbody", { children: z.map((n) => /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]/50", children: [
              /* @__PURE__ */ e("td", { className: "p-2 font-mono text-[var(--text-primary)]", children: n.id }),
              /* @__PURE__ */ e("td", { className: "p-2 text-[var(--text-secondary)]", children: n.category }),
              /* @__PURE__ */ e("td", { className: "p-2 text-[var(--text-secondary)]", children: r(n.title) })
            ] }, n.id)) })
          ] }) })
        ] }),
        /* @__PURE__ */ t("div", { children: [
          /* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-[var(--text-primary)] mb-2", children: r("techRef.endpointsTitle") }),
          /* @__PURE__ */ e("div", { className: "border border-[var(--border-color)] rounded-lg overflow-hidden bg-[var(--bg-card)]", children: /* @__PURE__ */ t("table", { className: "w-full text-xs", children: [
            /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)] bg-[var(--bg-secondary)]", children: [
              /* @__PURE__ */ e("th", { className: "text-left p-2 text-[var(--text-secondary)] font-medium", children: r("techRef.method") }),
              /* @__PURE__ */ e("th", { className: "text-left p-2 text-[var(--text-secondary)] font-medium", children: r("techRef.path") }),
              /* @__PURE__ */ e("th", { className: "text-left p-2 text-[var(--text-secondary)] font-medium", children: r("techRef.permission") })
            ] }) }),
            /* @__PURE__ */ e("tbody", { children: M.map((n, C) => /* @__PURE__ */ t("tr", { className: "border-b border-[var(--border-color)]/50", children: [
              /* @__PURE__ */ e("td", { className: "p-2", children: /* @__PURE__ */ e("span", { className: `px-1.5 py-0.5 rounded text-xs font-semibold ${I[n.method]}`, children: n.method }) }),
              /* @__PURE__ */ e("td", { className: "p-2 font-mono text-[var(--text-primary)] break-all", children: n.path }),
              /* @__PURE__ */ e("td", { className: "p-2 font-mono text-[var(--text-secondary)] text-[0.7rem] break-all", children: n.permission })
            ] }, C)) })
          ] }) })
        ] }),
        /* @__PURE__ */ t("div", { children: [
          /* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-[var(--text-primary)] mb-2", children: r("techRef.permissionsTitle") }),
          /* @__PURE__ */ t("div", { className: "grid grid-cols-1 md:grid-cols-4 gap-2", children: [
            /* @__PURE__ */ t("div", { className: "p-3 border border-[var(--border-color)] rounded-lg bg-[var(--bg-card)]", children: [
              /* @__PURE__ */ e("div", { className: "text-xs font-semibold text-[var(--text-primary)] mb-1", children: r("techRef.perms.read") }),
              /* @__PURE__ */ e("div", { className: "text-xs text-[var(--text-secondary)] break-all font-mono", children: "administration.users.read" })
            ] }),
            /* @__PURE__ */ t("div", { className: "p-3 border border-[var(--border-color)] rounded-lg bg-[var(--bg-card)]", children: [
              /* @__PURE__ */ e("div", { className: "text-xs font-semibold text-[var(--text-primary)] mb-1", children: r("techRef.perms.update") }),
              /* @__PURE__ */ e("div", { className: "text-xs text-[var(--text-secondary)] break-all font-mono", children: "administration.users.update" })
            ] }),
            /* @__PURE__ */ t("div", { className: "p-3 border border-[var(--border-color)] rounded-lg bg-[var(--bg-card)]", children: [
              /* @__PURE__ */ e("div", { className: "text-xs font-semibold text-[var(--text-primary)] mb-1", children: r("techRef.perms.delete") }),
              /* @__PURE__ */ e("div", { className: "text-xs text-[var(--text-secondary)] break-all font-mono", children: "administration.users.delete" })
            ] }),
            /* @__PURE__ */ t("div", { className: "p-3 border border-[var(--border-color)] rounded-lg bg-[var(--bg-card)]", children: [
              /* @__PURE__ */ e("div", { className: "text-xs font-semibold text-[var(--text-primary)] mb-1", children: r("techRef.perms.execute") }),
              /* @__PURE__ */ e("div", { className: "text-xs text-[var(--text-secondary)] break-all font-mono", children: "administration.users.execute" })
            ] })
          ] })
        ] })
      ] })
    ] })
  ] });
}
export {
  W as default
};
//# sourceMappingURL=index-CIFDEUAs.js.map
