@burdenoff/microfe-support 2026.520.1 → 2026.521.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/generated/global-operations.js +16 -48
  2. package/dist/generated/global-operations.js.map +1 -1
  3. package/dist/index.js +8 -7
  4. package/dist/node_modules/marked/lib/marked.esm.js +1 -1
  5. package/dist/support/SupportAdminRoot.js +35 -26
  6. package/dist/support/SupportAdminRoot.js.map +1 -1
  7. package/dist/support/SupportUserRoot.js +29 -20
  8. package/dist/support/SupportUserRoot.js.map +1 -1
  9. package/dist/support/components/NotificationToast.js +1 -1
  10. package/dist/support/components/NotificationToast.js.map +1 -1
  11. package/dist/support/components/analytics/CategoryBreakdown.js +22 -37
  12. package/dist/support/components/analytics/CategoryBreakdown.js.map +1 -1
  13. package/dist/support/components/analytics/PriorityBreakdown.js +28 -33
  14. package/dist/support/components/analytics/PriorityBreakdown.js.map +1 -1
  15. package/dist/support/components/analytics/TopAgents.js +35 -42
  16. package/dist/support/components/analytics/TopAgents.js.map +1 -1
  17. package/dist/support/components/kb/ArticleForm.js +26 -13
  18. package/dist/support/components/kb/ArticleForm.js.map +1 -1
  19. package/dist/support/components/settings/CannedResponsesSettings.js +9 -7
  20. package/dist/support/components/settings/CannedResponsesSettings.js.map +1 -1
  21. package/dist/support/components/settings/SLAPoliciesSettings.js +10 -8
  22. package/dist/support/components/settings/SLAPoliciesSettings.js.map +1 -1
  23. package/dist/support/components/settings/TicketCategoriesSettings.js +169 -168
  24. package/dist/support/components/settings/TicketCategoriesSettings.js.map +1 -1
  25. package/dist/support/components/tickets/MessageComposer.js +4 -3
  26. package/dist/support/components/tickets/MessageComposer.js.map +1 -1
  27. package/dist/support/components/tickets/MessageThread.js +1 -1
  28. package/dist/support/components/tickets/MessageThread.js.map +1 -1
  29. package/dist/support/components/tickets/TicketDetailHeader.js +41 -52
  30. package/dist/support/components/tickets/TicketDetailHeader.js.map +1 -1
  31. package/dist/support/components/tickets/TicketHeader.js +70 -80
  32. package/dist/support/components/tickets/TicketHeader.js.map +1 -1
  33. package/dist/support/components/tickets/TicketSidebar.js +77 -82
  34. package/dist/support/components/tickets/TicketSidebar.js.map +1 -1
  35. package/dist/support/events/rybbit.js +35 -0
  36. package/dist/support/events/rybbit.js.map +1 -0
  37. package/dist/support/hooks/useAnalyticsOperations.js +41 -41
  38. package/dist/support/hooks/useAnalyticsOperations.js.map +1 -1
  39. package/dist/support/hooks/useKnowledgeBaseOperations.js +50 -52
  40. package/dist/support/hooks/useKnowledgeBaseOperations.js.map +1 -1
  41. package/dist/support/hooks/useTicketListOperations.js +51 -0
  42. package/dist/support/hooks/useTicketListOperations.js.map +1 -0
  43. package/dist/support/hooks/useTicketOperations.js +74 -109
  44. package/dist/support/hooks/useTicketOperations.js.map +1 -1
  45. package/dist/support/index.js +2 -1
  46. package/dist/support/pages/ArticleDetailAdminPage.js +148 -151
  47. package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
  48. package/dist/support/pages/ArticleDetailUserPage.js +67 -72
  49. package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
  50. package/dist/support/pages/ContactInquiriesPage.js +11 -11
  51. package/dist/support/pages/ContactInquiriesPage.js.map +1 -1
  52. package/dist/support/pages/ContactInquiryDetailPage.js +200 -195
  53. package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
  54. package/dist/support/pages/CreateArticlePage.js +42 -42
  55. package/dist/support/pages/CreateArticlePage.js.map +1 -1
  56. package/dist/support/pages/CreateTicketPage.js +20 -11
  57. package/dist/support/pages/CreateTicketPage.js.map +1 -1
  58. package/dist/support/pages/EditArticlePage.js +66 -64
  59. package/dist/support/pages/EditArticlePage.js.map +1 -1
  60. package/dist/support/pages/KnowledgeBaseAdminPage.js +80 -85
  61. package/dist/support/pages/KnowledgeBaseAdminPage.js.map +1 -1
  62. package/dist/support/pages/KnowledgeBaseUserPage.js +73 -78
  63. package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
  64. package/dist/support/pages/SettingsPage.js +3 -3
  65. package/dist/support/pages/SettingsPage.js.map +1 -1
  66. package/dist/support/pages/TicketDetailAdminPage.js +28 -21
  67. package/dist/support/pages/TicketDetailAdminPage.js.map +1 -1
  68. package/dist/support/pages/TicketDetailUserPage.js +121 -111
  69. package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
  70. package/dist/support/pages/TicketListPage.js +170 -196
  71. package/dist/support/pages/TicketListPage.js.map +1 -1
  72. package/dist/support/store/supportStore.js +43 -34
  73. package/dist/support/store/supportStore.js.map +1 -1
  74. package/dist/support/utils/categoryColors.js +64 -0
  75. package/dist/support/utils/categoryColors.js.map +1 -0
  76. package/dist/support/utils/index.js +21 -12
  77. package/dist/support/utils/index.js.map +1 -1
  78. package/dist/support/utils/ticketFilters.js +43 -0
  79. package/dist/support/utils/ticketFilters.js.map +1 -0
  80. package/dist/support/utils/uiTokens.js +44 -0
  81. package/dist/support/utils/uiTokens.js.map +1 -0
  82. package/package.json +1 -1
@@ -1,45 +1,45 @@
1
1
  import { humanizeCategory as e } from "../utils/index.js";
2
2
  import { useGetContactInquiryQuery as t, useReplyToContactInquiryMutation as n, useUpdateContactInquiryStatusMutation as r } from "../../generated/global-operations.js";
3
3
  import { nativeCopyText as i, nativeImpact as ee } from "../../utils/nativeBridge.js";
4
- import { useEffect as te, useState as a } from "react";
5
- import { AlertCircle as o, Archive as s, ArrowLeft as c, Building2 as ne, Calendar as l, CheckCircle as u, Clock as d, Copy as f, ExternalLink as p, Eye as m, Globe as re, Loader2 as h, Mail as g, MessageSquare as _, Package as v, Send as y, ShieldAlert as b, Tag as x, Ticket as S, User as C } from "lucide-react";
6
- import { useLocation as w, useNavigate as T, useParams as E } from "react-router-dom";
7
- import { graphqlFetch as D } from "@burdenoff/fe-libs/shared/graphql/fetch";
8
- import { jsx as O, jsxs as k } from "react/jsx-runtime";
4
+ import { useEffect as a, useRef as o, useState as s } from "react";
5
+ import { AlertCircle as c, Archive as l, ArrowLeft as u, Building2 as te, Calendar as ne, CheckCircle as d, Clock as f, Copy as p, ExternalLink as m, Eye as h, Globe as re, Loader2 as g, Mail as _, MessageSquare as ie, Package as ae, Send as v, ShieldAlert as y, Tag as b, Ticket as x, User as S } from "lucide-react";
6
+ import { useLocation as C, useNavigate as w, useParams as T } from "react-router-dom";
7
+ import { graphqlFetch as E } from "@burdenoff/fe-libs/shared/graphql/fetch";
8
+ import { jsx as D, jsxs as O } from "react/jsx-runtime";
9
9
  //#region src/support/pages/ContactInquiryDetailPage.tsx
10
- var A = {
10
+ var k = {
11
11
  NEW: {
12
12
  label: "New",
13
13
  color: "text-accent-blue",
14
- icon: g,
14
+ icon: _,
15
15
  bg: "bg-status-info-bg-subtle border-border-subtle"
16
16
  },
17
17
  REVIEWED: {
18
18
  label: "Reviewed",
19
19
  color: "text-status-warning-text",
20
- icon: m,
20
+ icon: h,
21
21
  bg: "bg-status-warning-bg-subtle border-border-subtle"
22
22
  },
23
23
  CONVERTED: {
24
24
  label: "Converted to Ticket",
25
25
  color: "text-status-success-text",
26
- icon: S,
26
+ icon: x,
27
27
  bg: "bg-status-success-bg-subtle border-border-subtle"
28
28
  },
29
29
  SPAM: {
30
30
  label: "Spam",
31
31
  color: "text-status-error-text",
32
- icon: b,
32
+ icon: y,
33
33
  bg: "bg-status-error-bg-subtle border-border-subtle"
34
34
  },
35
35
  ARCHIVED: {
36
36
  label: "Archived",
37
37
  color: "text-text-secondary",
38
- icon: s,
38
+ icon: l,
39
39
  bg: "bg-bg-canvas border-border-subtle"
40
40
  }
41
41
  };
42
- function j(e) {
42
+ function A(e) {
43
43
  return new Date(e).toLocaleDateString("en-US", {
44
44
  weekday: "short",
45
45
  month: "short",
@@ -49,26 +49,30 @@ function j(e) {
49
49
  minute: "2-digit"
50
50
  });
51
51
  }
52
- function ie(e) {
52
+ function oe(e) {
53
53
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 6e4);
54
54
  if (n < 60) return `${n}m ago`;
55
55
  let r = Math.floor(n / 60);
56
56
  if (r < 24) return `${r}h ago`;
57
57
  let i = Math.floor(r / 24);
58
- return i < 30 ? `${i}d ago` : j(e);
58
+ return i < 30 ? `${i}d ago` : A(e);
59
59
  }
60
- function M() {
61
- let { id: m } = E(), b = T(), M = w().search, [N, P] = a(!1), [F, I] = a(!1), [L, R] = a(""), [z, B] = a(!1), [V, H] = a(null), { data: U, loading: W, error: G } = t({
62
- variables: { id: m },
63
- skip: !m
60
+ function j() {
61
+ let { id: h } = T(), y = w(), j = C().search, [se, M] = s(!1), [ce, N] = s(!1), [P, F] = s(""), [I, L] = s(!1), R = o(null), z = o(null), B = o(null), [V, H] = s(null);
62
+ a(() => () => {
63
+ R.current && clearTimeout(R.current), z.current && clearTimeout(z.current), B.current && clearTimeout(B.current);
64
+ }, []);
65
+ let { data: U, loading: W, error: G } = t({
66
+ variables: { id: h },
67
+ skip: !h
64
68
  }), K = U?.contactInquiry?.productId ?? null;
65
- te(() => {
69
+ a(() => {
66
70
  if (!K) {
67
71
  H(null);
68
72
  return;
69
73
  }
70
74
  let e = !1;
71
- return D({
75
+ return E({
72
76
  gateway: "global",
73
77
  query: "query($id: ID!) { platformProduct(id: $id) { name } }",
74
78
  variables: { id: K }
@@ -80,116 +84,116 @@ function M() {
80
84
  e = !0;
81
85
  };
82
86
  }, [K]);
83
- let [q, { loading: J }] = r({ refetchQueries: ["GetContactInquiry", "GetContactInquiries"] }), [ae, { loading: Y }] = n({ refetchQueries: ["GetContactInquiry"] }), oe = async () => {
84
- if (!(!L.trim() || !m)) try {
85
- (await ae({ variables: {
86
- id: m,
87
- message: L.trim()
88
- } })).data?.replyToContactInquiry.success && (B(!0), R(""), setTimeout(() => B(!1), 3e3));
87
+ let [le, { loading: q }] = r({ refetchQueries: ["GetContactInquiry", "GetContactInquiries"] }), [ue, { loading: J }] = n({ refetchQueries: ["GetContactInquiry"] }), Y = async () => {
88
+ if (!(!P.trim() || !h)) try {
89
+ (await ue({ variables: {
90
+ id: h,
91
+ message: P.trim()
92
+ } })).data?.replyToContactInquiry.success && (L(!0), F(""), B.current && clearTimeout(B.current), B.current = setTimeout(() => L(!1), 3e3));
89
93
  } catch (e) {
90
94
  console.error("Failed to send reply:", e);
91
95
  }
92
96
  }, X = U?.contactInquiry, Z = async (e) => {
93
- if (m) try {
94
- await q({ variables: {
95
- id: m,
97
+ if (h) try {
98
+ await le({ variables: {
99
+ id: h,
96
100
  input: { status: e }
97
- } }), P(!0), setTimeout(() => P(!1), 3e3);
101
+ } }), M(!0), R.current && clearTimeout(R.current), R.current = setTimeout(() => M(!1), 3e3);
98
102
  } catch (e) {
99
103
  console.error("Failed to update status:", e);
100
104
  }
101
- }, se = async () => {
102
- X?.email && (ee("light"), await i(X.email), I(!0), setTimeout(() => I(!1), 2e3));
105
+ }, de = async () => {
106
+ X?.email && (ee("light"), await i(X.email), N(!0), z.current && clearTimeout(z.current), z.current = setTimeout(() => N(!1), 2e3));
103
107
  };
104
- if (W) return /* @__PURE__ */ O("div", {
108
+ if (W) return /* @__PURE__ */ D("div", {
105
109
  className: "min-h-full flex items-center justify-center py-20",
106
- children: /* @__PURE__ */ k("div", {
110
+ children: /* @__PURE__ */ O("div", {
107
111
  className: "text-center",
108
- children: [/* @__PURE__ */ O(h, {
112
+ children: [/* @__PURE__ */ D(g, {
109
113
  size: 36,
110
114
  className: "animate-spin text-[var(--color-text-secondary)] mx-auto mb-3"
111
- }), /* @__PURE__ */ O("p", {
115
+ }), /* @__PURE__ */ D("p", {
112
116
  className: "text-sm text-[var(--color-text-secondary)]",
113
117
  children: "Loading inquiry details..."
114
118
  })]
115
119
  })
116
120
  });
117
- if (G || !X) return /* @__PURE__ */ O("div", {
121
+ if (G || !X) return /* @__PURE__ */ D("div", {
118
122
  className: "min-h-full flex items-center justify-center py-20",
119
- children: /* @__PURE__ */ k("div", {
123
+ children: /* @__PURE__ */ O("div", {
120
124
  className: "text-center max-w-sm",
121
125
  children: [
122
- /* @__PURE__ */ O("div", {
126
+ /* @__PURE__ */ D("div", {
123
127
  className: "w-16 h-16 mx-auto mb-4 rounded-2xl bg-status-error-bg-subtle flex items-center justify-center",
124
- children: /* @__PURE__ */ O(o, {
128
+ children: /* @__PURE__ */ D(c, {
125
129
  size: 32,
126
130
  className: "text-status-error-text"
127
131
  })
128
132
  }),
129
- /* @__PURE__ */ O("h3", {
133
+ /* @__PURE__ */ D("h3", {
130
134
  className: "text-lg font-semibold text-[var(--color-text-primary)] mb-2",
131
135
  children: "Inquiry not found"
132
136
  }),
133
- /* @__PURE__ */ O("p", {
137
+ /* @__PURE__ */ D("p", {
134
138
  className: "text-sm text-[var(--color-text-secondary)] mb-6",
135
139
  children: G?.message || "This inquiry may have been deleted or you don't have access."
136
140
  }),
137
- /* @__PURE__ */ k("button", {
138
- onClick: () => b(`/support/inquiries${M}`),
139
- className: "inline-flex items-center gap-2 px-5 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all",
140
- children: [/* @__PURE__ */ O(c, { size: 16 }), "Back to Inquiries"]
141
+ /* @__PURE__ */ O("button", {
142
+ onClick: () => y(`/support/inquiries${j}`),
143
+ className: "min-h-11 inline-flex items-center justify-center gap-2 px-5 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all",
144
+ children: [/* @__PURE__ */ D(u, { size: 16 }), "Back to Inquiries"]
141
145
  })
142
146
  ]
143
147
  })
144
148
  });
145
- let Q = A[X.status] || A.NEW, $ = Q.icon;
146
- return /* @__PURE__ */ k("div", {
147
- className: "p-6 animate-in fade-in duration-300",
149
+ let Q = k[X.status] || k.NEW, $ = Q.icon;
150
+ return /* @__PURE__ */ O("div", {
151
+ className: "p-3 animate-in fade-in duration-300 sm:p-6",
148
152
  children: [
149
- /* @__PURE__ */ k("div", {
150
- className: "flex items-center justify-between mb-6",
151
- children: [/* @__PURE__ */ k("button", {
152
- onClick: () => b(`/support/inquiries${M}`),
153
- className: "inline-flex items-center gap-2 text-[var(--color-text-secondary)] hover:text-[var(--color-text-primary)] transition-colors",
154
- children: [/* @__PURE__ */ O(c, { size: 18 }), /* @__PURE__ */ O("span", {
153
+ /* @__PURE__ */ O("div", {
154
+ className: "flex flex-col gap-3 mb-6 sm:flex-row sm:items-center sm:justify-between",
155
+ children: [/* @__PURE__ */ O("button", {
156
+ onClick: () => y(`/support/inquiries${j}`),
157
+ className: "min-h-11 inline-flex items-center gap-2 text-[var(--color-text-secondary)] hover:text-[var(--color-text-primary)] transition-colors",
158
+ children: [/* @__PURE__ */ D(u, { size: 18 }), /* @__PURE__ */ D("span", {
155
159
  className: "text-sm font-medium",
156
160
  children: "Back to Inquiries"
157
161
  })]
158
- }), /* @__PURE__ */ k("div", {
162
+ }), /* @__PURE__ */ O("div", {
159
163
  className: "flex items-center gap-2 text-xs text-[var(--color-text-secondary)]",
160
- children: [/* @__PURE__ */ O(d, { size: 12 }), ie(X.createdAt)]
164
+ children: [/* @__PURE__ */ D(f, { size: 12 }), oe(X.createdAt)]
161
165
  })]
162
166
  }),
163
- N && /* @__PURE__ */ k("div", {
167
+ se && /* @__PURE__ */ O("div", {
164
168
  className: "mb-5 p-3.5 bg-status-success-bg-subtle border border-border-subtle rounded-xl flex items-center gap-2.5 text-status-success-text text-sm font-medium animate-in slide-in-from-top-2 duration-300",
165
- children: [/* @__PURE__ */ O(u, { size: 18 }), "Status updated successfully"]
169
+ children: [/* @__PURE__ */ D(d, { size: 18 }), "Status updated successfully"]
166
170
  }),
167
- /* @__PURE__ */ O("div", {
171
+ /* @__PURE__ */ D("div", {
168
172
  className: `rounded-xl border p-6 mb-6 ${Q.bg}`,
169
- children: /* @__PURE__ */ O("div", {
170
- className: "flex items-start justify-between",
171
- children: /* @__PURE__ */ k("div", {
172
- className: "flex items-start gap-4",
173
- children: [/* @__PURE__ */ O("div", {
174
- className: "w-12 h-12 rounded-xl bg-white/80 dark:bg-white/10 flex items-center justify-center shadow-sm",
175
- children: /* @__PURE__ */ O($, {
173
+ children: /* @__PURE__ */ D("div", {
174
+ className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
175
+ children: /* @__PURE__ */ O("div", {
176
+ className: "flex flex-col gap-4 sm:flex-row sm:items-start",
177
+ children: [/* @__PURE__ */ D("div", {
178
+ className: "w-12 h-12 rounded-xl bg-background/80 dark:bg-background/10 flex items-center justify-center shadow-sm",
179
+ children: /* @__PURE__ */ D($, {
176
180
  size: 24,
177
181
  className: Q.color
178
182
  })
179
- }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("div", {
183
+ }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("div", {
180
184
  className: "flex items-center gap-3 mb-1.5",
181
- children: /* @__PURE__ */ O("h1", {
185
+ children: /* @__PURE__ */ D("h1", {
182
186
  className: "text-xl font-bold text-[var(--color-text-primary)]",
183
187
  children: X.subject
184
188
  })
185
- }), /* @__PURE__ */ k("div", {
186
- className: "flex items-center gap-3 text-sm",
187
- children: [/* @__PURE__ */ k("span", {
188
- className: `inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold ${Q.color} bg-white/60 dark:bg-white/10`,
189
- children: [/* @__PURE__ */ O($, { size: 12 }), Q.label]
190
- }), /* @__PURE__ */ k("span", {
189
+ }), /* @__PURE__ */ O("div", {
190
+ className: "flex flex-wrap items-center gap-3 text-sm",
191
+ children: [/* @__PURE__ */ O("span", {
192
+ className: `inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold ${Q.color} bg-background/60 dark:bg-background/10`,
193
+ children: [/* @__PURE__ */ D($, { size: 12 }), Q.label]
194
+ }), /* @__PURE__ */ O("span", {
191
195
  className: "text-[var(--color-text-secondary)]",
192
- children: ["from ", /* @__PURE__ */ O("strong", {
196
+ children: ["from ", /* @__PURE__ */ D("strong", {
193
197
  className: "text-[var(--color-text-primary)]",
194
198
  children: X.name
195
199
  })]
@@ -198,67 +202,68 @@ function M() {
198
202
  })
199
203
  })
200
204
  }),
201
- /* @__PURE__ */ k("div", {
205
+ /* @__PURE__ */ O("div", {
202
206
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
203
- children: [/* @__PURE__ */ k("div", {
207
+ children: [/* @__PURE__ */ O("div", {
204
208
  className: "lg:col-span-2 space-y-5",
205
209
  children: [
206
- /* @__PURE__ */ k("div", {
210
+ /* @__PURE__ */ O("div", {
207
211
  className: "bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-xl overflow-hidden shadow-sm",
208
- children: [/* @__PURE__ */ O("div", {
212
+ children: [/* @__PURE__ */ D("div", {
209
213
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
210
- children: /* @__PURE__ */ k("h2", {
214
+ children: /* @__PURE__ */ O("h2", {
211
215
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
212
- children: [/* @__PURE__ */ O(C, { size: 14 }), "Contact Information"]
216
+ children: [/* @__PURE__ */ D(S, { size: 14 }), "Contact Information"]
213
217
  })
214
- }), /* @__PURE__ */ O("div", {
218
+ }), /* @__PURE__ */ D("div", {
215
219
  className: "p-5",
216
- children: /* @__PURE__ */ k("div", {
220
+ children: /* @__PURE__ */ O("div", {
217
221
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
218
222
  children: [
219
- /* @__PURE__ */ k("div", {
223
+ /* @__PURE__ */ O("div", {
220
224
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
221
- children: [/* @__PURE__ */ O("div", {
225
+ children: [/* @__PURE__ */ D("div", {
222
226
  className: "w-9 h-9 rounded-lg bg-status-info-bg-subtle flex items-center justify-center",
223
- children: /* @__PURE__ */ O(C, {
227
+ children: /* @__PURE__ */ D(S, {
224
228
  size: 16,
225
229
  className: "text-accent-blue"
226
230
  })
227
- }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
231
+ }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
228
232
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
229
233
  children: "Name"
230
- }), /* @__PURE__ */ O("p", {
234
+ }), /* @__PURE__ */ D("p", {
231
235
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
232
236
  children: X.name
233
237
  })] })]
234
238
  }),
235
- /* @__PURE__ */ k("div", {
239
+ /* @__PURE__ */ O("div", {
236
240
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
237
- children: [/* @__PURE__ */ O("div", {
241
+ children: [/* @__PURE__ */ D("div", {
238
242
  className: "w-9 h-9 rounded-lg bg-accent-indigo-subtle flex items-center justify-center",
239
- children: /* @__PURE__ */ O(g, {
243
+ children: /* @__PURE__ */ D(_, {
240
244
  size: 16,
241
245
  className: "text-accent-indigo"
242
246
  })
243
- }), /* @__PURE__ */ k("div", {
247
+ }), /* @__PURE__ */ O("div", {
244
248
  className: "flex-1 min-w-0",
245
- children: [/* @__PURE__ */ O("p", {
249
+ children: [/* @__PURE__ */ D("p", {
246
250
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
247
251
  children: "Email"
248
- }), /* @__PURE__ */ k("div", {
252
+ }), /* @__PURE__ */ O("div", {
249
253
  className: "flex items-center gap-1.5",
250
- children: [/* @__PURE__ */ O("a", {
254
+ children: [/* @__PURE__ */ D("a", {
251
255
  href: `mailto:${X.email}`,
252
256
  className: "text-sm font-semibold text-[var(--color-text-link)] hover:underline truncate",
253
257
  children: X.email
254
- }), /* @__PURE__ */ O("button", {
255
- onClick: se,
256
- className: "flex-shrink-0 p-0.5 rounded hover:bg-[var(--color-bg-muted)] transition-colors",
258
+ }), /* @__PURE__ */ D("button", {
259
+ onClick: de,
260
+ className: "min-h-11 min-w-11 flex-shrink-0 rounded hover:bg-[var(--color-bg-muted)] transition-colors",
257
261
  title: "Copy email",
258
- children: F ? /* @__PURE__ */ O(u, {
262
+ "aria-label": "Copy email",
263
+ children: ce ? /* @__PURE__ */ D(d, {
259
264
  size: 12,
260
265
  className: "text-status-success-text"
261
- }) : /* @__PURE__ */ O(f, {
266
+ }) : /* @__PURE__ */ D(p, {
262
267
  size: 12,
263
268
  className: "text-[var(--color-text-secondary)]"
264
269
  })
@@ -266,66 +271,66 @@ function M() {
266
271
  })]
267
272
  })]
268
273
  }),
269
- X.company && /* @__PURE__ */ k("div", {
274
+ X.company && /* @__PURE__ */ O("div", {
270
275
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
271
- children: [/* @__PURE__ */ O("div", {
276
+ children: [/* @__PURE__ */ D("div", {
272
277
  className: "w-9 h-9 rounded-lg bg-accent-purple-subtle flex items-center justify-center",
273
- children: /* @__PURE__ */ O(ne, {
278
+ children: /* @__PURE__ */ D(te, {
274
279
  size: 16,
275
280
  className: "text-accent-purple"
276
281
  })
277
- }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
282
+ }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
278
283
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
279
284
  children: "Company"
280
- }), /* @__PURE__ */ O("p", {
285
+ }), /* @__PURE__ */ D("p", {
281
286
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
282
287
  children: X.company
283
288
  })] })]
284
289
  }),
285
- X.category && /* @__PURE__ */ k("div", {
290
+ X.category && /* @__PURE__ */ O("div", {
286
291
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
287
- children: [/* @__PURE__ */ O("div", {
292
+ children: [/* @__PURE__ */ D("div", {
288
293
  className: "w-9 h-9 rounded-lg bg-accent-blue-subtle flex items-center justify-center",
289
- children: /* @__PURE__ */ O(x, {
294
+ children: /* @__PURE__ */ D(b, {
290
295
  size: 16,
291
296
  className: "text-accent-blue"
292
297
  })
293
- }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
298
+ }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
294
299
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
295
300
  children: "Category"
296
- }), /* @__PURE__ */ O("p", {
301
+ }), /* @__PURE__ */ D("p", {
297
302
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
298
303
  children: e(X.category)
299
304
  })] })]
300
305
  }),
301
- X.productId && V && /* @__PURE__ */ k("div", {
306
+ X.productId && V && /* @__PURE__ */ O("div", {
302
307
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
303
- children: [/* @__PURE__ */ O("div", {
308
+ children: [/* @__PURE__ */ D("div", {
304
309
  className: "w-9 h-9 rounded-lg bg-accent-purple-subtle flex items-center justify-center",
305
- children: /* @__PURE__ */ O(v, {
310
+ children: /* @__PURE__ */ D(ae, {
306
311
  size: 16,
307
312
  className: "text-accent-purple"
308
313
  })
309
- }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
314
+ }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
310
315
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
311
316
  children: "Product"
312
- }), /* @__PURE__ */ O("p", {
317
+ }), /* @__PURE__ */ D("p", {
313
318
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
314
319
  children: V
315
320
  })] })]
316
321
  }),
317
- /* @__PURE__ */ k("div", {
322
+ /* @__PURE__ */ O("div", {
318
323
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
319
- children: [/* @__PURE__ */ O("div", {
324
+ children: [/* @__PURE__ */ D("div", {
320
325
  className: "w-9 h-9 rounded-lg bg-status-success-bg-subtle flex items-center justify-center",
321
- children: /* @__PURE__ */ O(re, {
326
+ children: /* @__PURE__ */ D(re, {
322
327
  size: 16,
323
328
  className: "text-status-success-text"
324
329
  })
325
- }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
330
+ }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
326
331
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
327
332
  children: "Source"
328
- }), /* @__PURE__ */ O("p", {
333
+ }), /* @__PURE__ */ D("p", {
329
334
  className: "text-sm font-semibold text-[var(--color-text-primary)] capitalize",
330
335
  children: X.source.toLowerCase()
331
336
  })] })]
@@ -334,40 +339,40 @@ function M() {
334
339
  })
335
340
  })]
336
341
  }),
337
- /* @__PURE__ */ k("div", {
342
+ /* @__PURE__ */ O("div", {
338
343
  className: "bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-xl overflow-hidden shadow-sm",
339
- children: [/* @__PURE__ */ O("div", {
344
+ children: [/* @__PURE__ */ D("div", {
340
345
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
341
- children: /* @__PURE__ */ k("h2", {
346
+ children: /* @__PURE__ */ O("h2", {
342
347
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
343
- children: [/* @__PURE__ */ O(_, { size: 14 }), "Message"]
348
+ children: [/* @__PURE__ */ D(ie, { size: 14 }), "Message"]
344
349
  })
345
- }), /* @__PURE__ */ O("div", {
350
+ }), /* @__PURE__ */ D("div", {
346
351
  className: "p-5",
347
- children: /* @__PURE__ */ O("p", {
352
+ children: /* @__PURE__ */ D("p", {
348
353
  className: "text-sm text-[var(--color-text-primary)] leading-relaxed whitespace-pre-wrap",
349
354
  children: X.message
350
355
  })
351
356
  })]
352
357
  }),
353
- X.metadata && Object.keys(X.metadata).length > 0 && /* @__PURE__ */ k("div", {
358
+ X.metadata && Object.keys(X.metadata).length > 0 && /* @__PURE__ */ O("div", {
354
359
  className: "bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-xl overflow-hidden shadow-sm",
355
- children: [/* @__PURE__ */ O("div", {
360
+ children: [/* @__PURE__ */ D("div", {
356
361
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
357
- children: /* @__PURE__ */ k("h2", {
362
+ children: /* @__PURE__ */ O("h2", {
358
363
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
359
- children: [/* @__PURE__ */ O(p, { size: 14 }), "Additional Data"]
364
+ children: [/* @__PURE__ */ D(m, { size: 14 }), "Additional Data"]
360
365
  })
361
- }), /* @__PURE__ */ O("div", {
366
+ }), /* @__PURE__ */ D("div", {
362
367
  className: "p-5",
363
- children: /* @__PURE__ */ O("div", {
368
+ children: /* @__PURE__ */ D("div", {
364
369
  className: "space-y-2.5",
365
- children: Object.entries(X.metadata).map(([e, t]) => /* @__PURE__ */ k("div", {
370
+ children: Object.entries(X.metadata).map(([e, t]) => /* @__PURE__ */ O("div", {
366
371
  className: "flex items-start gap-3 py-1.5 border-b border-[var(--color-border-default)] last:border-0",
367
- children: [/* @__PURE__ */ O("span", {
372
+ children: [/* @__PURE__ */ D("span", {
368
373
  className: "text-xs font-medium text-[var(--color-text-secondary)] min-w-[120px] uppercase tracking-wider",
369
374
  children: e
370
- }), /* @__PURE__ */ O("span", {
375
+ }), /* @__PURE__ */ D("span", {
371
376
  className: "text-xs text-[var(--color-text-primary)] font-mono break-all",
372
377
  children: String(t)
373
378
  })]
@@ -376,46 +381,46 @@ function M() {
376
381
  })]
377
382
  })
378
383
  ]
379
- }), /* @__PURE__ */ k("div", {
384
+ }), /* @__PURE__ */ O("div", {
380
385
  className: "space-y-5",
381
386
  children: [
382
- /* @__PURE__ */ k("div", {
387
+ /* @__PURE__ */ O("div", {
383
388
  className: "bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-xl overflow-hidden shadow-sm",
384
- children: [/* @__PURE__ */ O("div", {
389
+ children: [/* @__PURE__ */ D("div", {
385
390
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
386
- children: /* @__PURE__ */ k("h2", {
391
+ children: /* @__PURE__ */ O("h2", {
387
392
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
388
- children: [/* @__PURE__ */ O(l, { size: 14 }), "Timeline"]
393
+ children: [/* @__PURE__ */ D(ne, { size: 14 }), "Timeline"]
389
394
  })
390
- }), /* @__PURE__ */ k("div", {
395
+ }), /* @__PURE__ */ O("div", {
391
396
  className: "p-5 space-y-4",
392
397
  children: [
393
- /* @__PURE__ */ k("div", {
398
+ /* @__PURE__ */ O("div", {
394
399
  className: "flex items-start gap-3",
395
- children: [/* @__PURE__ */ O("div", { className: "w-2 h-2 rounded-full bg-accent-blue mt-1.5 flex-shrink-0" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
400
+ children: [/* @__PURE__ */ D("div", { className: "w-2 h-2 rounded-full bg-accent-blue mt-1.5 flex-shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
396
401
  className: "text-xs font-medium text-[var(--color-text-primary)]",
397
402
  children: "Submitted"
398
- }), /* @__PURE__ */ O("p", {
403
+ }), /* @__PURE__ */ D("p", {
399
404
  className: "text-[11px] text-[var(--color-text-secondary)]",
400
- children: j(X.createdAt)
405
+ children: A(X.createdAt)
401
406
  })] })]
402
407
  }),
403
- X.updatedAt !== X.createdAt && /* @__PURE__ */ k("div", {
408
+ X.updatedAt !== X.createdAt && /* @__PURE__ */ O("div", {
404
409
  className: "flex items-start gap-3",
405
- children: [/* @__PURE__ */ O("div", { className: "w-2 h-2 rounded-full bg-status-warning-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
410
+ children: [/* @__PURE__ */ D("div", { className: "w-2 h-2 rounded-full bg-status-warning-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
406
411
  className: "text-xs font-medium text-[var(--color-text-primary)]",
407
412
  children: "Last Updated"
408
- }), /* @__PURE__ */ O("p", {
413
+ }), /* @__PURE__ */ D("p", {
409
414
  className: "text-[11px] text-[var(--color-text-secondary)]",
410
- children: j(X.updatedAt)
415
+ children: A(X.updatedAt)
411
416
  })] })]
412
417
  }),
413
- X.convertedTicketId && /* @__PURE__ */ k("div", {
418
+ X.convertedTicketId && /* @__PURE__ */ O("div", {
414
419
  className: "flex items-start gap-3",
415
- children: [/* @__PURE__ */ O("div", { className: "w-2 h-2 rounded-full bg-status-success-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
420
+ children: [/* @__PURE__ */ D("div", { className: "w-2 h-2 rounded-full bg-status-success-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
416
421
  className: "text-xs font-medium text-[var(--color-text-primary)]",
417
422
  children: "Converted to Ticket"
418
- }), /* @__PURE__ */ O("p", {
423
+ }), /* @__PURE__ */ D("p", {
419
424
  className: "text-[11px] font-mono text-[var(--color-text-secondary)]",
420
425
  children: X.convertedTicketId
421
426
  })] })]
@@ -423,100 +428,100 @@ function M() {
423
428
  ]
424
429
  })]
425
430
  }),
426
- /* @__PURE__ */ k("div", {
431
+ /* @__PURE__ */ O("div", {
427
432
  className: "bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-xl overflow-hidden shadow-sm",
428
- children: [/* @__PURE__ */ O("div", {
433
+ children: [/* @__PURE__ */ D("div", {
429
434
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
430
- children: /* @__PURE__ */ k("h2", {
435
+ children: /* @__PURE__ */ O("h2", {
431
436
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-1.5",
432
- children: [/* @__PURE__ */ O(y, { size: 12 }), "Reply"]
437
+ children: [/* @__PURE__ */ D(v, { size: 12 }), "Reply"]
433
438
  })
434
- }), /* @__PURE__ */ k("div", {
439
+ }), /* @__PURE__ */ O("div", {
435
440
  className: "p-5",
436
441
  children: [
437
- z && /* @__PURE__ */ k("div", {
442
+ I && /* @__PURE__ */ O("div", {
438
443
  className: "mb-3 p-2.5 rounded-lg bg-status-success-bg-subtle border border-border-subtle text-sm text-status-success-text flex items-center gap-2",
439
- children: [/* @__PURE__ */ O(u, { size: 14 }), "Reply sent successfully!"]
444
+ children: [/* @__PURE__ */ D(d, { size: 14 }), "Reply sent successfully!"]
440
445
  }),
441
- /* @__PURE__ */ O("textarea", {
442
- value: L,
443
- onChange: (e) => R(e.target.value),
446
+ /* @__PURE__ */ D("textarea", {
447
+ value: P,
448
+ onChange: (e) => F(e.target.value),
444
449
  placeholder: "Type your reply... This will be sent as a branded email to the contact.",
445
450
  rows: 4,
446
- disabled: Y,
451
+ disabled: J,
447
452
  className: "w-full px-3 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-lg text-sm text-[var(--color-text-primary)] placeholder:text-[var(--color-text-secondary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-border-accent)]/50 disabled:opacity-50 resize-none transition-all"
448
453
  }),
449
- /* @__PURE__ */ k("button", {
450
- onClick: oe,
451
- disabled: Y || !L.trim(),
452
- className: "mt-2 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
453
- children: [Y ? /* @__PURE__ */ O(h, {
454
+ /* @__PURE__ */ O("button", {
455
+ onClick: Y,
456
+ disabled: J || !P.trim(),
457
+ className: "mt-2 min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
458
+ children: [J ? /* @__PURE__ */ D(g, {
454
459
  size: 15,
455
460
  className: "animate-spin"
456
- }) : /* @__PURE__ */ O(y, { size: 15 }), "Send Reply"]
461
+ }) : /* @__PURE__ */ D(v, { size: 15 }), "Send Reply"]
457
462
  })
458
463
  ]
459
464
  })]
460
465
  }),
461
- /* @__PURE__ */ k("div", {
466
+ /* @__PURE__ */ O("div", {
462
467
  className: "bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-xl overflow-hidden shadow-sm",
463
- children: [/* @__PURE__ */ O("div", {
468
+ children: [/* @__PURE__ */ D("div", {
464
469
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
465
- children: /* @__PURE__ */ O("h2", {
470
+ children: /* @__PURE__ */ D("h2", {
466
471
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider",
467
472
  children: "Actions"
468
473
  })
469
- }), /* @__PURE__ */ k("div", {
474
+ }), /* @__PURE__ */ O("div", {
470
475
  className: "p-5 space-y-4",
471
- children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
476
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
472
477
  className: "block text-xs font-medium text-[var(--color-text-secondary)] mb-1.5",
473
478
  children: "Status"
474
- }), /* @__PURE__ */ k("select", {
479
+ }), /* @__PURE__ */ O("select", {
475
480
  value: X.status,
476
481
  onChange: (e) => Z(e.target.value),
477
- disabled: J,
482
+ disabled: q,
478
483
  className: "w-full px-3 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-lg text-sm text-[var(--color-text-primary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-border-accent)]/50 disabled:opacity-50 transition-all",
479
484
  children: [
480
- /* @__PURE__ */ O("option", {
485
+ /* @__PURE__ */ D("option", {
481
486
  value: "NEW",
482
487
  children: "New"
483
488
  }),
484
- /* @__PURE__ */ O("option", {
489
+ /* @__PURE__ */ D("option", {
485
490
  value: "REVIEWED",
486
491
  children: "Reviewed"
487
492
  }),
488
- /* @__PURE__ */ O("option", {
493
+ /* @__PURE__ */ D("option", {
489
494
  value: "CONVERTED",
490
495
  children: "Converted to Ticket"
491
496
  }),
492
- /* @__PURE__ */ O("option", {
497
+ /* @__PURE__ */ D("option", {
493
498
  value: "SPAM",
494
499
  children: "Spam"
495
500
  }),
496
- /* @__PURE__ */ O("option", {
501
+ /* @__PURE__ */ D("option", {
497
502
  value: "ARCHIVED",
498
503
  children: "Archived"
499
504
  })
500
505
  ]
501
- })] }), /* @__PURE__ */ k("div", {
506
+ })] }), /* @__PURE__ */ O("div", {
502
507
  className: "space-y-2",
503
508
  children: [
504
- X.status !== "CONVERTED" && /* @__PURE__ */ k("button", {
509
+ X.status !== "CONVERTED" && /* @__PURE__ */ O("button", {
505
510
  onClick: () => Z("CONVERTED"),
506
- disabled: J,
507
- className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
508
- children: [/* @__PURE__ */ O(S, { size: 15 }), "Convert to Ticket"]
511
+ disabled: q,
512
+ className: "min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
513
+ children: [/* @__PURE__ */ D(x, { size: 15 }), "Convert to Ticket"]
509
514
  }),
510
- /* @__PURE__ */ k("a", {
515
+ /* @__PURE__ */ O("a", {
511
516
  href: `mailto:${X.email}?subject=Re: ${encodeURIComponent(X.subject)}`,
512
- className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-primary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all",
513
- children: [/* @__PURE__ */ O(g, { size: 15 }), "Reply via Email"]
517
+ className: "min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-primary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all",
518
+ children: [/* @__PURE__ */ D(_, { size: 15 }), "Reply via Email"]
514
519
  }),
515
- X.status !== "ARCHIVED" && X.status !== "SPAM" && /* @__PURE__ */ k("button", {
520
+ X.status !== "ARCHIVED" && X.status !== "SPAM" && /* @__PURE__ */ O("button", {
516
521
  onClick: () => Z("ARCHIVED"),
517
- disabled: J,
518
- className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-secondary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all disabled:opacity-50",
519
- children: [/* @__PURE__ */ O(s, { size: 15 }), "Archive"]
522
+ disabled: q,
523
+ className: "min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-secondary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all disabled:opacity-50",
524
+ children: [/* @__PURE__ */ D(l, { size: 15 }), "Archive"]
520
525
  })
521
526
  ]
522
527
  })]
@@ -529,6 +534,6 @@ function M() {
529
534
  });
530
535
  }
531
536
  //#endregion
532
- export { M as ContactInquiryDetailPage };
537
+ export { j as ContactInquiryDetailPage };
533
538
 
534
539
  //# sourceMappingURL=ContactInquiryDetailPage.js.map