@burdenoff/microfe-adaptercloud 2026.625.1 → 2026.625.2

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 (93) hide show
  1. package/dist/adaptercloud/components/PageLayout.js +24 -17
  2. package/dist/adaptercloud/components/PageLayout.js.map +1 -1
  3. package/dist/adaptercloud/pages/HomePage.js +18 -16
  4. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  5. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +90 -82
  6. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  7. package/dist/adaptercloud/pages/admin/AdminDashboard.js +70 -44
  8. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  9. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +60 -55
  10. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  11. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +97 -92
  12. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  13. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +59 -57
  14. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +118 -104
  16. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/CartManagementPage.js +145 -140
  18. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/UserManagementPage.js +152 -147
  20. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +87 -81
  22. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  23. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +179 -165
  24. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  25. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +73 -48
  26. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  27. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +95 -93
  28. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  29. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +110 -107
  30. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +293 -299
  32. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +218 -224
  34. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +122 -128
  36. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  37. package/dist/adaptercloud/pages/common/HelpSupportPage.js +248 -244
  38. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  39. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +96 -91
  40. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/common/SettingsPage.js +754 -736
  42. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +63 -61
  44. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/customer/CartDetailPage.js +110 -108
  46. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +221 -217
  48. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/customer/CheckoutPage.js +89 -87
  50. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +410 -381
  52. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +120 -118
  54. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +86 -81
  56. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/FavoritesPage.js +53 -51
  58. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +114 -109
  60. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +60 -58
  62. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +87 -72
  64. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/ReviewsPage.js +65 -63
  66. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +68 -53
  68. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +63 -61
  70. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +86 -84
  72. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +57 -55
  74. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +341 -308
  76. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  77. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +34 -32
  78. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +48 -46
  80. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +383 -381
  82. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  83. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +348 -319
  84. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +84 -59
  86. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -71
  88. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +76 -74
  90. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  91. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +70 -68
  92. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  93. package/package.json +3 -3
@@ -3,10 +3,11 @@ import { cn as t } from "../../utils/cn.js";
3
3
  import { PageLayout as n } from "../../components/PageLayout.js";
4
4
  import { formatDate as r } from "../../utils/formatters.js";
5
5
  import { useMemo as i, useState as a } from "react";
6
- import { AlertCircle as ee, AlertTriangle as o, BookOpen as s, CheckCircle2 as c, ChevronDown as l, ChevronUp as te, Circle as u, CircleDot as d, Clock as f, CreditCard as p, ExternalLink as ne, FileText as re, HelpCircle as ie, Info as m, Lightbulb as ae, Mail as h, MessageCircle as g, MessageSquare as _, Phone as v, PhoneCall as y, Search as b, Send as oe, Shield as x, ShoppingBag as S, Tag as se, ThumbsUp as C, Ticket as w, TrendingUp as T, Truck as E, User as D, Wrench as O, X as k, XCircle as A } from "lucide-react";
7
- import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
6
+ import { AlertCircle as ee, AlertTriangle as o, BookOpen as te, CheckCircle2 as s, ChevronDown as c, ChevronUp as l, Circle as u, CircleDot as d, Clock as f, CreditCard as p, ExternalLink as ne, FileText as m, HelpCircle as re, Info as ie, Lightbulb as ae, Mail as h, MessageCircle as g, MessageSquare as _, Phone as v, PhoneCall as y, Search as b, Send as oe, Shield as x, ShoppingBag as S, Tag as C, ThumbsUp as w, Ticket as T, TrendingUp as E, Truck as D, User as O, Wrench as k, X as A, XCircle as j } from "lucide-react";
7
+ import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
8
+ import { EmphasisPanel as se } from "@burdenoff/fe-libs/ui";
8
9
  //#region src/adaptercloud/pages/common/HelpSupportPage.tsx
9
- var P = [
10
+ var F = [
10
11
  "Account & Profile",
11
12
  "Orders & Payments",
12
13
  "Cart Owners",
@@ -15,10 +16,10 @@ var P = [
15
16
  "Technical Issues",
16
17
  "Billing & Refunds",
17
18
  "Privacy & Security"
18
- ], F = [
19
+ ], ce = [
19
20
  {
20
21
  label: "Getting Started",
21
- icon: s,
22
+ icon: te,
22
23
  description: "New to AdapterCloud? Start here",
23
24
  color: "bg-accent-blue-subtle/10 text-accent-blue"
24
25
  },
@@ -36,25 +37,25 @@ var P = [
36
37
  },
37
38
  {
38
39
  label: "Account & Profile",
39
- icon: D,
40
+ icon: O,
40
41
  description: "Manage your account and settings",
41
42
  color: "bg-accent-orange-subtle/10 text-accent-orange"
42
43
  },
43
44
  {
44
45
  label: "Cart Owners",
45
- icon: O,
46
+ icon: k,
46
47
  description: "Running your cart business",
47
48
  color: "bg-accent-teal-subtle/10 text-accent-teal"
48
49
  },
49
50
  {
50
51
  label: "Workers & Delivery",
51
- icon: E,
52
+ icon: D,
52
53
  description: "Delivery partner information",
53
54
  color: "bg-accent-indigo-subtle/10 text-accent-indigo"
54
55
  },
55
56
  {
56
57
  label: "Investments",
57
- icon: T,
58
+ icon: E,
58
59
  description: "Investment opportunities and returns",
59
60
  color: "bg-status-success-bg-subtle/10 text-status-success-text"
60
61
  },
@@ -103,7 +104,7 @@ var P = [
103
104
  responseTime: "2-4 hours",
104
105
  icon: _
105
106
  }
106
- ], ce = [
107
+ ], le = [
107
108
  {
108
109
  id: "faq-001",
109
110
  category: "Account & Profile",
@@ -360,7 +361,7 @@ var P = [
360
361
  "data"
361
362
  ]
362
363
  }
363
- ], le = [
364
+ ], ue = [
364
365
  {
365
366
  id: "ticket-001",
366
367
  subject: "Payment failed but amount deducted",
@@ -434,7 +435,7 @@ var P = [
434
435
  timestamp: "2024-06-12T14:20:00Z"
435
436
  }]
436
437
  }
437
- ], L = [
438
+ ], de = [
438
439
  {
439
440
  id: "art-1",
440
441
  title: "Getting Started with AdapterCloud",
@@ -472,12 +473,12 @@ var P = [
472
473
  views: 4321
473
474
  }
474
475
  ];
475
- function ue(e) {
476
+ function L(e) {
476
477
  switch (e) {
477
478
  case "open": return u;
478
479
  case "in-progress": return d;
479
- case "resolved": return c;
480
- case "closed": return A;
480
+ case "resolved": return s;
481
+ case "closed": return j;
481
482
  }
482
483
  }
483
484
  function R(e) {
@@ -500,28 +501,28 @@ function B(e) {
500
501
  return e.replace("-", " ").replace(/\b\w/g, (e) => e.toUpperCase());
501
502
  }
502
503
  function V() {
503
- let { currentUser: s } = e(), [u, d] = a("faq"), [p, g] = a(""), [y, x] = a(""), [S, T] = a(null), [E, D] = a(ce), [O, A] = a(le), [V, H] = a(!1), [U, W] = a(!1), [G, K] = a(""), [q, J] = a(""), [Y, X] = a({
504
+ let { currentUser: te } = e(), [u, d] = a("faq"), [p, g] = a(""), [y, x] = a(""), [S, E] = a(null), [D, O] = a(le), [k, j] = a(ue), [V, H] = a(!1), [U, W] = a(!1), [G, K] = a(""), [q, J] = a(""), [Y, X] = a({
504
505
  subject: "",
505
506
  category: "",
506
507
  priority: "medium",
507
508
  description: ""
508
- }), Z = i(() => E.filter((e) => {
509
+ }), Z = i(() => D.filter((e) => {
509
510
  let t = !p || e.question.toLowerCase().includes(p.toLowerCase()) || e.answer.toLowerCase().includes(p.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(p.toLowerCase())), n = !y || e.category === y;
510
511
  return t && n;
511
512
  }), [
512
- E,
513
+ D,
513
514
  p,
514
515
  y
515
516
  ]), Q = i(() => ({
516
- open: O.filter((e) => e.status === "open").length,
517
- inProgress: O.filter((e) => e.status === "in-progress").length,
518
- resolved: O.filter((e) => e.status === "resolved").length,
519
- closed: O.filter((e) => e.status === "closed").length,
520
- total: O.length
521
- }), [O]), de = (e) => {
522
- T((t) => t === e ? null : e);
523
- }, fe = (e) => {
524
- D((t) => t.map((t) => t.id === e ? {
517
+ open: k.filter((e) => e.status === "open").length,
518
+ inProgress: k.filter((e) => e.status === "in-progress").length,
519
+ resolved: k.filter((e) => e.status === "resolved").length,
520
+ closed: k.filter((e) => e.status === "closed").length,
521
+ total: k.length
522
+ }), [k]), fe = (e) => {
523
+ E((t) => t === e ? null : e);
524
+ }, pe = (e) => {
525
+ O((t) => t.map((t) => t.id === e ? {
525
526
  ...t,
526
527
  helpful: t.helpful + 1
527
528
  } : t));
@@ -540,7 +541,7 @@ function V() {
540
541
  alert("Live chat will be available soon!");
541
542
  break;
542
543
  }
543
- }, pe = () => {
544
+ }, me = () => {
544
545
  if (J(""), K(""), !Y.subject.trim()) {
545
546
  J("Please enter a subject for your ticket.");
546
547
  return;
@@ -565,18 +566,18 @@ function V() {
565
566
  updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
566
567
  responses: []
567
568
  };
568
- A((t) => [e, ...t]), X({
569
+ j((t) => [e, ...t]), X({
569
570
  subject: "",
570
571
  category: "",
571
572
  priority: "medium",
572
573
  description: ""
573
574
  }), W(!1), H(!1), K("Support ticket created successfully! Our team will respond within 24 hours."), d("tickets"), setTimeout(() => K(""), 5e3);
574
575
  }, 1e3);
575
- }, me = [
576
+ }, he = [
576
577
  {
577
578
  id: "faq",
578
579
  label: "FAQ",
579
- icon: ie
580
+ icon: re
580
581
  },
581
582
  {
582
583
  id: "contact",
@@ -586,33 +587,36 @@ function V() {
586
587
  {
587
588
  id: "tickets",
588
589
  label: "My Tickets",
589
- icon: w
590
+ icon: T
590
591
  }
591
592
  ];
592
- return /* @__PURE__ */ N(n, {
593
+ return /* @__PURE__ */ P(n, {
593
594
  title: "Help & Support",
594
595
  description: "Find answers, contact support, or track your requests",
596
+ purpose: "Stuck on something? Search the FAQs for a quick answer, raise a support ticket when you need a human, and track the status of requests you've already submitted — all in one place.",
595
597
  children: [
596
- G && /* @__PURE__ */ N("div", {
598
+ G && /* @__PURE__ */ P("div", {
597
599
  className: "mb-4 flex items-center gap-2 rounded-lg border border-status-success-border/30 bg-status-success-bg-subtle/10 px-4 py-3 text-sm text-status-success-text",
598
600
  children: [
599
- /* @__PURE__ */ M(c, { className: "h-4 w-4 shrink-0" }),
601
+ /* @__PURE__ */ N(s, { className: "h-4 w-4 shrink-0" }),
600
602
  G,
601
- /* @__PURE__ */ M("button", {
603
+ /* @__PURE__ */ N("button", {
602
604
  type: "button",
603
605
  onClick: () => K(""),
604
606
  className: "ml-auto",
605
- children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
607
+ children: /* @__PURE__ */ N(A, { className: "h-4 w-4" })
606
608
  })
607
609
  ]
608
610
  }),
609
- /* @__PURE__ */ M("section", {
611
+ /* @__PURE__ */ N(se, {
610
612
  className: "mb-6",
611
- children: /* @__PURE__ */ N("div", {
613
+ role: "region",
614
+ "aria-label": "Search help",
615
+ children: /* @__PURE__ */ P("div", {
612
616
  className: "relative",
613
617
  children: [
614
- /* @__PURE__ */ M(b, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
615
- /* @__PURE__ */ M("input", {
618
+ /* @__PURE__ */ N(b, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
619
+ /* @__PURE__ */ N("input", {
616
620
  type: "text",
617
621
  value: p,
618
622
  onChange: (e) => {
@@ -621,37 +625,37 @@ function V() {
621
625
  placeholder: "Search help articles, FAQs, and more...",
622
626
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-3 pl-10 pr-10 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
623
627
  }),
624
- p && /* @__PURE__ */ M("button", {
628
+ p && /* @__PURE__ */ N("button", {
625
629
  type: "button",
626
630
  onClick: () => g(""),
627
631
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
628
- children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
632
+ children: /* @__PURE__ */ N(A, { className: "h-4 w-4" })
629
633
  })
630
634
  ]
631
635
  })
632
636
  }),
633
- /* @__PURE__ */ N("section", {
637
+ /* @__PURE__ */ P("section", {
634
638
  className: "mb-6",
635
- children: [/* @__PURE__ */ M("h2", {
639
+ children: [/* @__PURE__ */ N("h2", {
636
640
  className: "text-lg font-semibold text-text-primary mb-3",
637
641
  children: "Browse Help Topics"
638
- }), /* @__PURE__ */ M("div", {
642
+ }), /* @__PURE__ */ N("div", {
639
643
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
640
- children: F.map((e) => {
644
+ children: ce.map((e) => {
641
645
  let n = e.icon;
642
- return /* @__PURE__ */ N("button", {
646
+ return /* @__PURE__ */ P("button", {
643
647
  type: "button",
644
648
  onClick: () => {
645
649
  x(e.label === y ? "" : e.label), d("faq");
646
650
  },
647
651
  className: t("flex items-start gap-3 rounded-lg border bg-bg-surface p-4 text-left transition-all hover:shadow-sm", y === e.label ? "border-primary ring-1 ring-primary" : "border-border-subtle"),
648
- children: [/* @__PURE__ */ M("div", {
652
+ children: [/* @__PURE__ */ N("div", {
649
653
  className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
650
- children: /* @__PURE__ */ M(n, { className: "h-5 w-5" })
651
- }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
654
+ children: /* @__PURE__ */ N(n, { className: "h-5 w-5" })
655
+ }), /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("p", {
652
656
  className: "text-sm font-semibold text-text-primary",
653
657
  children: e.label
654
- }), /* @__PURE__ */ M("p", {
658
+ }), /* @__PURE__ */ N("p", {
655
659
  className: "text-xs text-text-secondary",
656
660
  children: e.description
657
661
  })] })]
@@ -659,20 +663,20 @@ function V() {
659
663
  })
660
664
  })]
661
665
  }),
662
- /* @__PURE__ */ M("section", {
666
+ /* @__PURE__ */ N("section", {
663
667
  className: "mb-6",
664
- children: /* @__PURE__ */ M("div", {
668
+ children: /* @__PURE__ */ N("div", {
665
669
  className: "flex space-x-1 bg-bg-sunken p-1 rounded-lg w-full sm:w-fit",
666
- children: me.map((e) => {
670
+ children: he.map((e) => {
667
671
  let n = e.icon;
668
- return /* @__PURE__ */ N("button", {
672
+ return /* @__PURE__ */ P("button", {
669
673
  type: "button",
670
674
  onClick: () => d(e.id),
671
675
  className: t("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", u === e.id ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
672
676
  children: [
673
- /* @__PURE__ */ M(n, { className: "h-4 w-4" }),
674
- /* @__PURE__ */ M("span", { children: e.label }),
675
- e.id === "tickets" && Q.open > 0 && /* @__PURE__ */ M("span", {
677
+ /* @__PURE__ */ N(n, { className: "h-4 w-4" }),
678
+ /* @__PURE__ */ N("span", { children: e.label }),
679
+ e.id === "tickets" && Q.open > 0 && /* @__PURE__ */ N("span", {
676
680
  className: "flex h-5 min-w-[20px] items-center justify-center rounded-full bg-action-primary-bg px-1.5 text-xs font-medium text-action-primary-text",
677
681
  children: Q.open
678
682
  })
@@ -681,23 +685,23 @@ function V() {
681
685
  })
682
686
  })
683
687
  }),
684
- u === "faq" && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
688
+ u === "faq" && /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("div", {
685
689
  className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
686
- children: [/* @__PURE__ */ N("p", {
690
+ children: [/* @__PURE__ */ P("p", {
687
691
  className: "text-sm text-text-secondary",
688
692
  children: [
689
693
  Z.length,
690
694
  " question",
691
695
  Z.length === 1 ? "" : "s",
692
696
  " found",
693
- y && /* @__PURE__ */ N("span", { children: [
697
+ y && /* @__PURE__ */ P("span", { children: [
694
698
  " ",
695
699
  "in ",
696
- /* @__PURE__ */ M("span", {
700
+ /* @__PURE__ */ N("span", {
697
701
  className: "font-medium text-text-primary",
698
702
  children: y
699
703
  }),
700
- /* @__PURE__ */ M("button", {
704
+ /* @__PURE__ */ N("button", {
701
705
  type: "button",
702
706
  onClick: () => x(""),
703
707
  className: "ml-1 text-primary hover:underline",
@@ -705,65 +709,65 @@ function V() {
705
709
  })
706
710
  ] })
707
711
  ]
708
- }), /* @__PURE__ */ N("select", {
712
+ }), /* @__PURE__ */ P("select", {
709
713
  value: y,
710
714
  onChange: (e) => x(e.target.value),
711
715
  className: "rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
712
- children: [/* @__PURE__ */ M("option", {
716
+ children: [/* @__PURE__ */ N("option", {
713
717
  value: "",
714
718
  children: "All Categories"
715
- }), P.map((e) => /* @__PURE__ */ M("option", {
719
+ }), F.map((e) => /* @__PURE__ */ N("option", {
716
720
  value: e,
717
721
  children: e
718
722
  }, e))]
719
723
  })]
720
- }), Z.length > 0 ? /* @__PURE__ */ M("div", {
724
+ }), Z.length > 0 ? /* @__PURE__ */ N("div", {
721
725
  className: "space-y-3",
722
726
  children: Z.map((e) => {
723
727
  let n = S === e.id;
724
- return /* @__PURE__ */ N("div", {
728
+ return /* @__PURE__ */ P("div", {
725
729
  className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
726
- children: [/* @__PURE__ */ N("button", {
730
+ children: [/* @__PURE__ */ P("button", {
727
731
  type: "button",
728
- onClick: () => de(e.id),
732
+ onClick: () => fe(e.id),
729
733
  className: "flex w-full items-start justify-between gap-3 px-4 py-4 text-left hover:bg-accent/50 transition-colors",
730
- children: [/* @__PURE__ */ N("div", {
734
+ children: [/* @__PURE__ */ P("div", {
731
735
  className: "flex-1 min-w-0",
732
- children: [/* @__PURE__ */ N("div", {
736
+ children: [/* @__PURE__ */ P("div", {
733
737
  className: "flex flex-wrap items-center gap-2 mb-1",
734
- children: [/* @__PURE__ */ M("span", {
738
+ children: [/* @__PURE__ */ N("span", {
735
739
  className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
736
740
  children: e.category
737
- }), /* @__PURE__ */ N("span", {
741
+ }), /* @__PURE__ */ P("span", {
738
742
  className: "inline-flex items-center gap-1 text-xs text-text-secondary",
739
- children: [/* @__PURE__ */ M(C, { className: "h-3 w-3" }), e.helpful]
743
+ children: [/* @__PURE__ */ N(w, { className: "h-3 w-3" }), e.helpful]
740
744
  })]
741
- }), /* @__PURE__ */ M("span", {
745
+ }), /* @__PURE__ */ N("span", {
742
746
  className: t("text-sm", n ? "font-semibold text-text-primary" : "font-medium text-text-primary"),
743
747
  children: e.question
744
748
  })]
745
- }), M(n ? te : l, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
746
- }), n && /* @__PURE__ */ N("div", {
749
+ }), N(n ? l : c, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
750
+ }), n && /* @__PURE__ */ P("div", {
747
751
  className: "border-t border-border-subtle px-4 pb-4 pt-3",
748
- children: [/* @__PURE__ */ M("p", {
752
+ children: [/* @__PURE__ */ N("p", {
749
753
  className: "text-sm text-text-secondary leading-relaxed mb-3",
750
754
  children: e.answer
751
- }), /* @__PURE__ */ N("div", {
755
+ }), /* @__PURE__ */ P("div", {
752
756
  className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
753
- children: [/* @__PURE__ */ M("div", {
757
+ children: [/* @__PURE__ */ N("div", {
754
758
  className: "flex flex-wrap gap-1.5",
755
- children: e.tags.map((e) => /* @__PURE__ */ N("span", {
759
+ children: e.tags.map((e) => /* @__PURE__ */ P("span", {
756
760
  className: "inline-flex items-center gap-1 rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
757
- children: [/* @__PURE__ */ M(se, { className: "h-2.5 w-2.5" }), e]
761
+ children: [/* @__PURE__ */ N(C, { className: "h-2.5 w-2.5" }), e]
758
762
  }, e))
759
- }), /* @__PURE__ */ N("button", {
763
+ }), /* @__PURE__ */ P("button", {
760
764
  type: "button",
761
765
  onClick: (t) => {
762
- t.stopPropagation(), fe(e.id);
766
+ t.stopPropagation(), pe(e.id);
763
767
  },
764
768
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
765
769
  children: [
766
- /* @__PURE__ */ M(C, { className: "h-3.5 w-3.5" }),
770
+ /* @__PURE__ */ N(w, { className: "h-3.5 w-3.5" }),
767
771
  "Helpful (",
768
772
  e.helpful,
769
773
  ")"
@@ -773,19 +777,19 @@ function V() {
773
777
  })]
774
778
  }, e.id);
775
779
  })
776
- }) : /* @__PURE__ */ N("div", {
780
+ }) : /* @__PURE__ */ P("div", {
777
781
  className: "flex flex-col items-center justify-center rounded-lg border border-border-subtle bg-bg-surface py-12",
778
782
  children: [
779
- /* @__PURE__ */ M(b, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
780
- /* @__PURE__ */ M("h3", {
783
+ /* @__PURE__ */ N(b, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
784
+ /* @__PURE__ */ N("h3", {
781
785
  className: "text-base font-semibold text-text-primary mb-1",
782
786
  children: "No FAQs found"
783
787
  }),
784
- /* @__PURE__ */ M("p", {
788
+ /* @__PURE__ */ N("p", {
785
789
  className: "text-sm text-text-secondary mb-3",
786
790
  children: "Try adjusting your search or browse different categories"
787
791
  }),
788
- /* @__PURE__ */ M("button", {
792
+ /* @__PURE__ */ N("button", {
789
793
  type: "button",
790
794
  onClick: () => {
791
795
  g(""), x("");
@@ -795,44 +799,44 @@ function V() {
795
799
  })
796
800
  ]
797
801
  })] }),
798
- u === "contact" && /* @__PURE__ */ N("div", {
802
+ u === "contact" && /* @__PURE__ */ P("div", {
799
803
  className: "space-y-6",
800
804
  children: [
801
- /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
805
+ /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h2", {
802
806
  className: "text-base font-semibold text-text-primary mb-3",
803
807
  children: "Get in Touch"
804
- }), /* @__PURE__ */ M("div", {
808
+ }), /* @__PURE__ */ N("div", {
805
809
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
806
810
  children: I.map((e) => {
807
811
  let n = e.icon;
808
- return /* @__PURE__ */ M("div", {
812
+ return /* @__PURE__ */ N("div", {
809
813
  className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
810
- children: /* @__PURE__ */ N("div", {
814
+ children: /* @__PURE__ */ P("div", {
811
815
  className: "flex items-start gap-4",
812
- children: [/* @__PURE__ */ M("div", {
816
+ children: [/* @__PURE__ */ N("div", {
813
817
  className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken",
814
- children: /* @__PURE__ */ M(n, { className: "h-6 w-6 text-text-secondary" })
815
- }), /* @__PURE__ */ N("div", {
818
+ children: /* @__PURE__ */ N(n, { className: "h-6 w-6 text-text-secondary" })
819
+ }), /* @__PURE__ */ P("div", {
816
820
  className: "flex-1 min-w-0",
817
821
  children: [
818
- /* @__PURE__ */ M("h3", {
822
+ /* @__PURE__ */ N("h3", {
819
823
  className: "text-sm font-semibold text-text-primary",
820
824
  children: e.label
821
825
  }),
822
- /* @__PURE__ */ M("p", {
826
+ /* @__PURE__ */ N("p", {
823
827
  className: "text-sm text-text-primary mt-0.5 break-words",
824
828
  children: e.value
825
829
  }),
826
- /* @__PURE__ */ N("div", {
830
+ /* @__PURE__ */ P("div", {
827
831
  className: "flex items-center gap-1 mt-1 text-xs text-text-secondary",
828
- children: [/* @__PURE__ */ M(f, { className: "h-3 w-3" }), e.responseTime]
832
+ children: [/* @__PURE__ */ N(f, { className: "h-3 w-3" }), e.responseTime]
829
833
  }),
830
- /* @__PURE__ */ N("button", {
834
+ /* @__PURE__ */ P("button", {
831
835
  type: "button",
832
836
  onClick: () => $(e),
833
837
  disabled: !e.available,
834
838
  className: t("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", e.available ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
835
- children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ M(ne, { className: "h-3.5 w-3.5" })]
839
+ children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ N(ne, { className: "h-3.5 w-3.5" })]
836
840
  })
837
841
  ]
838
842
  })]
@@ -840,36 +844,36 @@ function V() {
840
844
  }, e.type);
841
845
  })
842
846
  })] }),
843
- /* @__PURE__ */ N("div", {
847
+ /* @__PURE__ */ P("div", {
844
848
  className: "rounded-lg border border-border-subtle bg-bg-surface",
845
- children: [/* @__PURE__ */ N("div", {
849
+ children: [/* @__PURE__ */ P("div", {
846
850
  className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
847
- children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
851
+ children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h2", {
848
852
  className: "text-base font-semibold text-text-primary",
849
853
  children: "Submit a Support Ticket"
850
- }), /* @__PURE__ */ M("p", {
854
+ }), /* @__PURE__ */ N("p", {
851
855
  className: "text-xs text-text-secondary mt-0.5",
852
856
  children: "Can't find your answer? Create a ticket and our team will help."
853
- })] }), /* @__PURE__ */ N("button", {
857
+ })] }), /* @__PURE__ */ P("button", {
854
858
  type: "button",
855
859
  onClick: () => H(!V),
856
860
  className: "flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
857
- children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), V ? "Close" : "New Ticket"]
861
+ children: [/* @__PURE__ */ N(T, { className: "h-4 w-4" }), V ? "Close" : "New Ticket"]
858
862
  })]
859
- }), V && /* @__PURE__ */ N("div", {
863
+ }), V && /* @__PURE__ */ P("div", {
860
864
  className: "p-5 space-y-4",
861
865
  children: [
862
- q && /* @__PURE__ */ N("div", {
866
+ q && /* @__PURE__ */ P("div", {
863
867
  className: "flex items-center gap-2 rounded-lg border border-status-error-border/30 bg-status-error-bg-subtle/10 px-3 py-2 text-sm text-status-error-text",
864
- children: [/* @__PURE__ */ M(ee, { className: "h-4 w-4 shrink-0" }), q]
868
+ children: [/* @__PURE__ */ N(ee, { className: "h-4 w-4 shrink-0" }), q]
865
869
  }),
866
- /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
870
+ /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("label", {
867
871
  className: "block text-sm font-medium text-text-primary mb-1.5",
868
- children: ["Subject ", /* @__PURE__ */ M("span", {
872
+ children: ["Subject ", /* @__PURE__ */ N("span", {
869
873
  className: "text-status-error-text",
870
874
  children: "*"
871
875
  })]
872
- }), /* @__PURE__ */ M("input", {
876
+ }), /* @__PURE__ */ N("input", {
873
877
  type: "text",
874
878
  value: Y.subject,
875
879
  onChange: (e) => X((t) => ({
@@ -879,32 +883,32 @@ function V() {
879
883
  placeholder: "Brief description of your issue",
880
884
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
881
885
  })] }),
882
- /* @__PURE__ */ N("div", {
886
+ /* @__PURE__ */ P("div", {
883
887
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
884
- children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
888
+ children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("label", {
885
889
  className: "block text-sm font-medium text-text-primary mb-1.5",
886
- children: ["Category ", /* @__PURE__ */ M("span", {
890
+ children: ["Category ", /* @__PURE__ */ N("span", {
887
891
  className: "text-status-error-text",
888
892
  children: "*"
889
893
  })]
890
- }), /* @__PURE__ */ N("select", {
894
+ }), /* @__PURE__ */ P("select", {
891
895
  value: Y.category,
892
896
  onChange: (e) => X((t) => ({
893
897
  ...t,
894
898
  category: e.target.value
895
899
  })),
896
900
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
897
- children: [/* @__PURE__ */ M("option", {
901
+ children: [/* @__PURE__ */ N("option", {
898
902
  value: "",
899
903
  children: "Select category"
900
- }), P.map((e) => /* @__PURE__ */ M("option", {
904
+ }), F.map((e) => /* @__PURE__ */ N("option", {
901
905
  value: e,
902
906
  children: e
903
907
  }, e))]
904
- })] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
908
+ })] }), /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("label", {
905
909
  className: "block text-sm font-medium text-text-primary mb-1.5",
906
910
  children: "Priority"
907
- }), /* @__PURE__ */ N("select", {
911
+ }), /* @__PURE__ */ P("select", {
908
912
  value: Y.priority,
909
913
  onChange: (e) => X((t) => ({
910
914
  ...t,
@@ -912,32 +916,32 @@ function V() {
912
916
  })),
913
917
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
914
918
  children: [
915
- /* @__PURE__ */ M("option", {
919
+ /* @__PURE__ */ N("option", {
916
920
  value: "low",
917
921
  children: "Low"
918
922
  }),
919
- /* @__PURE__ */ M("option", {
923
+ /* @__PURE__ */ N("option", {
920
924
  value: "medium",
921
925
  children: "Medium"
922
926
  }),
923
- /* @__PURE__ */ M("option", {
927
+ /* @__PURE__ */ N("option", {
924
928
  value: "high",
925
929
  children: "High"
926
930
  }),
927
- /* @__PURE__ */ M("option", {
931
+ /* @__PURE__ */ N("option", {
928
932
  value: "urgent",
929
933
  children: "Urgent"
930
934
  })
931
935
  ]
932
936
  })] })]
933
937
  }),
934
- /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
938
+ /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("label", {
935
939
  className: "block text-sm font-medium text-text-primary mb-1.5",
936
- children: ["Description ", /* @__PURE__ */ M("span", {
940
+ children: ["Description ", /* @__PURE__ */ N("span", {
937
941
  className: "text-status-error-text",
938
942
  children: "*"
939
943
  })]
940
- }), /* @__PURE__ */ M("textarea", {
944
+ }), /* @__PURE__ */ N("textarea", {
941
945
  rows: 5,
942
946
  value: Y.description,
943
947
  onChange: (e) => X((t) => ({
@@ -947,33 +951,33 @@ function V() {
947
951
  placeholder: "Please describe your issue in detail...",
948
952
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
949
953
  })] }),
950
- /* @__PURE__ */ N("div", {
954
+ /* @__PURE__ */ P("div", {
951
955
  className: "rounded-lg bg-accent-blue-subtle/5 border border-accent-blue-subtle/20 p-4",
952
- children: [/* @__PURE__ */ N("div", {
956
+ children: [/* @__PURE__ */ P("div", {
953
957
  className: "flex items-center gap-2 mb-2",
954
- children: [/* @__PURE__ */ M(ae, { className: "h-4 w-4 text-accent-blue" }), /* @__PURE__ */ M("h4", {
958
+ children: [/* @__PURE__ */ N(ae, { className: "h-4 w-4 text-accent-blue" }), /* @__PURE__ */ N("h4", {
955
959
  className: "text-sm font-medium text-accent-blue",
956
960
  children: "Tips for faster resolution"
957
961
  })]
958
- }), /* @__PURE__ */ N("ul", {
962
+ }), /* @__PURE__ */ P("ul", {
959
963
  className: "text-xs text-accent-blue space-y-1 ml-6 list-disc",
960
964
  children: [
961
- /* @__PURE__ */ M("li", { children: "Be specific about the issue and include steps to reproduce it" }),
962
- /* @__PURE__ */ M("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
963
- /* @__PURE__ */ M("li", { children: "Mention your device type and app version for technical issues" }),
964
- /* @__PURE__ */ M("li", { children: "Attach screenshots if they help illustrate the problem" })
965
+ /* @__PURE__ */ N("li", { children: "Be specific about the issue and include steps to reproduce it" }),
966
+ /* @__PURE__ */ N("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
967
+ /* @__PURE__ */ N("li", { children: "Mention your device type and app version for technical issues" }),
968
+ /* @__PURE__ */ N("li", { children: "Attach screenshots if they help illustrate the problem" })
965
969
  ]
966
970
  })]
967
971
  }),
968
- /* @__PURE__ */ N("div", {
972
+ /* @__PURE__ */ P("div", {
969
973
  className: "flex items-center gap-3 pt-1",
970
- children: [/* @__PURE__ */ M("button", {
974
+ children: [/* @__PURE__ */ N("button", {
971
975
  type: "button",
972
- onClick: pe,
976
+ onClick: me,
973
977
  disabled: U,
974
978
  className: t("flex items-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-action-primary-text transition-colors", U ? "bg-action-primary-bg/70 cursor-not-allowed" : "bg-action-primary-bg hover:bg-action-primary-bg/90"),
975
- children: U ? /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" }), "Submitting..."] }) : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(oe, { className: "h-4 w-4" }), "Submit Ticket"] })
976
- }), /* @__PURE__ */ M("button", {
979
+ children: U ? /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" }), "Submitting..."] }) : /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(oe, { className: "h-4 w-4" }), "Submit Ticket"] })
980
+ }), /* @__PURE__ */ N("button", {
977
981
  type: "button",
978
982
  onClick: () => {
979
983
  H(!1), J("");
@@ -985,93 +989,93 @@ function V() {
985
989
  ]
986
990
  })]
987
991
  }),
988
- /* @__PURE__ */ N("div", {
992
+ /* @__PURE__ */ P("div", {
989
993
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
990
- children: [/* @__PURE__ */ N("div", {
994
+ children: [/* @__PURE__ */ P("div", {
991
995
  className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
992
- children: [/* @__PURE__ */ N("div", {
996
+ children: [/* @__PURE__ */ P("div", {
993
997
  className: "flex items-center gap-2 mb-3",
994
- children: [/* @__PURE__ */ M(f, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ M("h3", {
998
+ children: [/* @__PURE__ */ N(f, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ N("h3", {
995
999
  className: "text-sm font-semibold text-text-primary",
996
1000
  children: "Support Hours"
997
1001
  })]
998
- }), /* @__PURE__ */ N("div", {
1002
+ }), /* @__PURE__ */ P("div", {
999
1003
  className: "space-y-2 text-sm",
1000
1004
  children: [
1001
- /* @__PURE__ */ N("div", {
1005
+ /* @__PURE__ */ P("div", {
1002
1006
  className: "flex justify-between",
1003
- children: [/* @__PURE__ */ M("span", {
1007
+ children: [/* @__PURE__ */ N("span", {
1004
1008
  className: "text-text-secondary",
1005
1009
  children: "Monday - Friday"
1006
- }), /* @__PURE__ */ M("span", {
1010
+ }), /* @__PURE__ */ N("span", {
1007
1011
  className: "font-medium text-text-primary",
1008
1012
  children: "9:00 AM - 9:00 PM IST"
1009
1013
  })]
1010
1014
  }),
1011
- /* @__PURE__ */ N("div", {
1015
+ /* @__PURE__ */ P("div", {
1012
1016
  className: "flex justify-between",
1013
- children: [/* @__PURE__ */ M("span", {
1017
+ children: [/* @__PURE__ */ N("span", {
1014
1018
  className: "text-text-secondary",
1015
1019
  children: "Saturday"
1016
- }), /* @__PURE__ */ M("span", {
1020
+ }), /* @__PURE__ */ N("span", {
1017
1021
  className: "font-medium text-text-primary",
1018
1022
  children: "10:00 AM - 6:00 PM IST"
1019
1023
  })]
1020
1024
  }),
1021
- /* @__PURE__ */ N("div", {
1025
+ /* @__PURE__ */ P("div", {
1022
1026
  className: "flex justify-between",
1023
- children: [/* @__PURE__ */ M("span", {
1027
+ children: [/* @__PURE__ */ N("span", {
1024
1028
  className: "text-text-secondary",
1025
1029
  children: "Sunday"
1026
- }), /* @__PURE__ */ M("span", {
1030
+ }), /* @__PURE__ */ N("span", {
1027
1031
  className: "font-medium text-text-primary",
1028
1032
  children: "Closed"
1029
1033
  })]
1030
1034
  }),
1031
- /* @__PURE__ */ N("div", {
1035
+ /* @__PURE__ */ P("div", {
1032
1036
  className: "flex justify-between pt-2 border-t border-border-subtle",
1033
- children: [/* @__PURE__ */ M("span", {
1037
+ children: [/* @__PURE__ */ N("span", {
1034
1038
  className: "text-text-secondary",
1035
1039
  children: "Email Support"
1036
- }), /* @__PURE__ */ M("span", {
1040
+ }), /* @__PURE__ */ N("span", {
1037
1041
  className: "font-medium text-text-primary",
1038
1042
  children: "24/7"
1039
1043
  })]
1040
1044
  })
1041
1045
  ]
1042
1046
  })]
1043
- }), /* @__PURE__ */ N("div", {
1047
+ }), /* @__PURE__ */ P("div", {
1044
1048
  className: "rounded-lg border border-status-error-border/20 bg-status-error-bg-subtle/5 p-5",
1045
1049
  children: [
1046
- /* @__PURE__ */ N("div", {
1050
+ /* @__PURE__ */ P("div", {
1047
1051
  className: "flex items-center gap-2 mb-3",
1048
- children: [/* @__PURE__ */ M(o, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ M("h3", {
1052
+ children: [/* @__PURE__ */ N(o, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ N("h3", {
1049
1053
  className: "text-sm font-semibold text-status-error-text",
1050
1054
  children: "Emergency Contact"
1051
1055
  })]
1052
1056
  }),
1053
- /* @__PURE__ */ M("p", {
1057
+ /* @__PURE__ */ N("p", {
1054
1058
  className: "text-sm text-status-error-text mb-3",
1055
1059
  children: "For urgent issues like safety concerns, fraud, or account compromise:"
1056
1060
  }),
1057
- /* @__PURE__ */ N("div", {
1061
+ /* @__PURE__ */ P("div", {
1058
1062
  className: "space-y-2",
1059
- children: [/* @__PURE__ */ N("div", {
1063
+ children: [/* @__PURE__ */ P("div", {
1060
1064
  className: "flex items-center gap-2 text-sm",
1061
1065
  children: [
1062
- /* @__PURE__ */ M(v, { className: "h-4 w-4 text-status-error-text" }),
1063
- /* @__PURE__ */ M("span", {
1066
+ /* @__PURE__ */ N(v, { className: "h-4 w-4 text-status-error-text" }),
1067
+ /* @__PURE__ */ N("span", {
1064
1068
  className: "font-medium text-status-error-text",
1065
1069
  children: "+91 80-4012-9999"
1066
1070
  }),
1067
- /* @__PURE__ */ M("span", {
1071
+ /* @__PURE__ */ N("span", {
1068
1072
  className: "text-xs text-status-error-text",
1069
1073
  children: "(24/7)"
1070
1074
  })
1071
1075
  ]
1072
- }), /* @__PURE__ */ N("div", {
1076
+ }), /* @__PURE__ */ P("div", {
1073
1077
  className: "flex items-center gap-2 text-sm",
1074
- children: [/* @__PURE__ */ M(h, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ M("span", {
1078
+ children: [/* @__PURE__ */ N(h, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ N("span", {
1075
1079
  className: "font-medium text-status-error-text",
1076
1080
  children: "emergency@adaptercloud.com"
1077
1081
  })]
@@ -1080,25 +1084,25 @@ function V() {
1080
1084
  ]
1081
1085
  })]
1082
1086
  }),
1083
- /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
1087
+ /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h2", {
1084
1088
  className: "text-base font-semibold text-text-primary mb-3",
1085
1089
  children: "Popular Articles"
1086
- }), /* @__PURE__ */ M("div", {
1090
+ }), /* @__PURE__ */ N("div", {
1087
1091
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
1088
- children: L.map((e) => /* @__PURE__ */ N("button", {
1092
+ children: de.map((e) => /* @__PURE__ */ P("button", {
1089
1093
  type: "button",
1090
1094
  className: "flex items-start gap-3 rounded-lg border border-border-seam bg-bg-surface p-4 text-left hover:bg-accent/50 transition-colors bg-gloss-card shadow-pop",
1091
- children: [/* @__PURE__ */ M(re, { className: "h-5 w-5 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ N("div", {
1095
+ children: [/* @__PURE__ */ N(m, { className: "h-5 w-5 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ P("div", {
1092
1096
  className: "min-w-0",
1093
- children: [/* @__PURE__ */ M("p", {
1097
+ children: [/* @__PURE__ */ N("p", {
1094
1098
  className: "text-sm font-medium text-text-primary truncate",
1095
1099
  children: e.title
1096
- }), /* @__PURE__ */ N("div", {
1100
+ }), /* @__PURE__ */ P("div", {
1097
1101
  className: "flex items-center gap-2 mt-1",
1098
- children: [/* @__PURE__ */ M("span", {
1102
+ children: [/* @__PURE__ */ N("span", {
1099
1103
  className: "text-xs text-text-secondary",
1100
1104
  children: e.category
1101
- }), /* @__PURE__ */ N("span", {
1105
+ }), /* @__PURE__ */ P("span", {
1102
1106
  className: "text-xs text-text-secondary",
1103
1107
  children: [e.views.toLocaleString("en-IN"), " views"]
1104
1108
  })]
@@ -1108,85 +1112,85 @@ function V() {
1108
1112
  })] })
1109
1113
  ]
1110
1114
  }),
1111
- u === "tickets" && /* @__PURE__ */ N("div", {
1115
+ u === "tickets" && /* @__PURE__ */ P("div", {
1112
1116
  className: "space-y-4",
1113
1117
  children: [
1114
- /* @__PURE__ */ N("div", {
1118
+ /* @__PURE__ */ P("div", {
1115
1119
  className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
1116
1120
  children: [
1117
- /* @__PURE__ */ N("div", {
1121
+ /* @__PURE__ */ P("div", {
1118
1122
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1119
- children: [/* @__PURE__ */ M("p", {
1123
+ children: [/* @__PURE__ */ N("p", {
1120
1124
  className: "text-2xl font-bold text-text-primary",
1121
1125
  children: Q.total
1122
- }), /* @__PURE__ */ M("p", {
1126
+ }), /* @__PURE__ */ N("p", {
1123
1127
  className: "text-xs text-text-secondary",
1124
1128
  children: "Total"
1125
1129
  })]
1126
1130
  }),
1127
- /* @__PURE__ */ N("div", {
1131
+ /* @__PURE__ */ P("div", {
1128
1132
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1129
- children: [/* @__PURE__ */ M("p", {
1133
+ children: [/* @__PURE__ */ N("p", {
1130
1134
  className: "text-2xl font-bold text-accent-blue",
1131
1135
  children: Q.open
1132
- }), /* @__PURE__ */ M("p", {
1136
+ }), /* @__PURE__ */ N("p", {
1133
1137
  className: "text-xs text-text-secondary",
1134
1138
  children: "Open"
1135
1139
  })]
1136
1140
  }),
1137
- /* @__PURE__ */ N("div", {
1141
+ /* @__PURE__ */ P("div", {
1138
1142
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1139
- children: [/* @__PURE__ */ M("p", {
1143
+ children: [/* @__PURE__ */ N("p", {
1140
1144
  className: "text-2xl font-bold text-status-warning-text",
1141
1145
  children: Q.inProgress
1142
- }), /* @__PURE__ */ M("p", {
1146
+ }), /* @__PURE__ */ N("p", {
1143
1147
  className: "text-xs text-text-secondary",
1144
1148
  children: "In Progress"
1145
1149
  })]
1146
1150
  }),
1147
- /* @__PURE__ */ N("div", {
1151
+ /* @__PURE__ */ P("div", {
1148
1152
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1149
- children: [/* @__PURE__ */ M("p", {
1153
+ children: [/* @__PURE__ */ N("p", {
1150
1154
  className: "text-2xl font-bold text-status-success-text",
1151
1155
  children: Q.resolved
1152
- }), /* @__PURE__ */ M("p", {
1156
+ }), /* @__PURE__ */ N("p", {
1153
1157
  className: "text-xs text-text-secondary",
1154
1158
  children: "Resolved"
1155
1159
  })]
1156
1160
  })
1157
1161
  ]
1158
1162
  }),
1159
- /* @__PURE__ */ N("div", {
1163
+ /* @__PURE__ */ P("div", {
1160
1164
  className: "flex items-center justify-between",
1161
- children: [/* @__PURE__ */ N("p", {
1165
+ children: [/* @__PURE__ */ P("p", {
1162
1166
  className: "text-sm text-text-secondary",
1163
1167
  children: [
1164
- O.length,
1168
+ k.length,
1165
1169
  " ticket",
1166
- O.length === 1 ? "" : "s"
1170
+ k.length === 1 ? "" : "s"
1167
1171
  ]
1168
- }), /* @__PURE__ */ N("button", {
1172
+ }), /* @__PURE__ */ P("button", {
1169
1173
  type: "button",
1170
1174
  onClick: () => {
1171
1175
  H(!0), d("contact");
1172
1176
  },
1173
1177
  className: "flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
1174
- children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), "New Ticket"]
1178
+ children: [/* @__PURE__ */ N(T, { className: "h-4 w-4" }), "New Ticket"]
1175
1179
  })]
1176
1180
  }),
1177
- O.length === 0 ? /* @__PURE__ */ N("div", {
1181
+ k.length === 0 ? /* @__PURE__ */ P("div", {
1178
1182
  className: "flex flex-col items-center justify-center rounded-lg border border-border-subtle bg-bg-surface py-12",
1179
1183
  children: [
1180
- /* @__PURE__ */ M(w, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
1181
- /* @__PURE__ */ M("h3", {
1184
+ /* @__PURE__ */ N(T, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
1185
+ /* @__PURE__ */ N("h3", {
1182
1186
  className: "text-base font-semibold text-text-primary mb-1",
1183
1187
  children: "No support tickets"
1184
1188
  }),
1185
- /* @__PURE__ */ M("p", {
1189
+ /* @__PURE__ */ N("p", {
1186
1190
  className: "text-sm text-text-secondary mb-3",
1187
1191
  children: "You haven't created any support tickets yet"
1188
1192
  }),
1189
- /* @__PURE__ */ M("button", {
1193
+ /* @__PURE__ */ N("button", {
1190
1194
  type: "button",
1191
1195
  onClick: () => {
1192
1196
  H(!0), d("contact");
@@ -1195,26 +1199,26 @@ function V() {
1195
1199
  children: "Create Your First Ticket"
1196
1200
  })
1197
1201
  ]
1198
- }) : /* @__PURE__ */ M("div", {
1202
+ }) : /* @__PURE__ */ N("div", {
1199
1203
  className: "space-y-4",
1200
- children: O.map((e) => {
1201
- let n = ue(e.status), i = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
1202
- return /* @__PURE__ */ N("div", {
1204
+ children: k.map((e) => {
1205
+ let n = L(e.status), i = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
1206
+ return /* @__PURE__ */ P("div", {
1203
1207
  className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
1204
- children: [/* @__PURE__ */ N("div", {
1208
+ children: [/* @__PURE__ */ P("div", {
1205
1209
  className: "p-4 sm:p-5",
1206
1210
  children: [
1207
- /* @__PURE__ */ N("div", {
1211
+ /* @__PURE__ */ P("div", {
1208
1212
  className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
1209
- children: [/* @__PURE__ */ N("div", {
1213
+ children: [/* @__PURE__ */ P("div", {
1210
1214
  className: "flex-1 min-w-0",
1211
- children: [/* @__PURE__ */ N("div", {
1215
+ children: [/* @__PURE__ */ P("div", {
1212
1216
  className: "flex items-center gap-2 mb-1",
1213
- children: [/* @__PURE__ */ M(n, { className: t("h-4 w-4", R(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ M("h3", {
1217
+ children: [/* @__PURE__ */ N(n, { className: t("h-4 w-4", R(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ N("h3", {
1214
1218
  className: "text-sm font-semibold text-text-primary truncate",
1215
1219
  children: e.subject
1216
1220
  })]
1217
- }), /* @__PURE__ */ N("p", {
1221
+ }), /* @__PURE__ */ P("p", {
1218
1222
  className: "text-xs text-text-secondary",
1219
1223
  children: [
1220
1224
  e.category,
@@ -1222,52 +1226,52 @@ function V() {
1222
1226
  e.id
1223
1227
  ]
1224
1228
  })]
1225
- }), /* @__PURE__ */ N("div", {
1229
+ }), /* @__PURE__ */ P("div", {
1226
1230
  className: "flex flex-wrap gap-2",
1227
- children: [/* @__PURE__ */ M("span", {
1231
+ children: [/* @__PURE__ */ N("span", {
1228
1232
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", z(e.priority)),
1229
1233
  children: e.priority.toUpperCase()
1230
- }), /* @__PURE__ */ M("span", {
1234
+ }), /* @__PURE__ */ N("span", {
1231
1235
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", R(e.status)),
1232
1236
  children: B(e.status)
1233
1237
  })]
1234
1238
  })]
1235
1239
  }),
1236
- /* @__PURE__ */ M("p", {
1240
+ /* @__PURE__ */ N("p", {
1237
1241
  className: "text-sm text-text-secondary mt-2 leading-relaxed",
1238
1242
  children: e.description
1239
1243
  }),
1240
- i && /* @__PURE__ */ N("div", {
1244
+ i && /* @__PURE__ */ P("div", {
1241
1245
  className: "mt-3 rounded-lg bg-bg-sunken/50 border border-border-subtle p-3",
1242
- children: [/* @__PURE__ */ N("div", {
1246
+ children: [/* @__PURE__ */ P("div", {
1243
1247
  className: "flex items-center gap-1.5 mb-1",
1244
1248
  children: [
1245
- /* @__PURE__ */ M(_, { className: "h-3.5 w-3.5 text-text-secondary" }),
1246
- /* @__PURE__ */ M("span", {
1249
+ /* @__PURE__ */ N(_, { className: "h-3.5 w-3.5 text-text-secondary" }),
1250
+ /* @__PURE__ */ N("span", {
1247
1251
  className: "text-xs font-medium text-text-primary",
1248
1252
  children: i.sender === "support" ? "Support Team" : "You"
1249
1253
  }),
1250
- /* @__PURE__ */ N("span", {
1254
+ /* @__PURE__ */ P("span", {
1251
1255
  className: "text-xs text-text-secondary",
1252
1256
  children: ["· ", r(i.timestamp)]
1253
1257
  })
1254
1258
  ]
1255
- }), /* @__PURE__ */ M("p", {
1259
+ }), /* @__PURE__ */ N("p", {
1256
1260
  className: "text-sm text-text-secondary",
1257
1261
  children: i.message
1258
1262
  })]
1259
1263
  }),
1260
- e.responses.length === 0 && e.status === "open" && /* @__PURE__ */ N("div", {
1264
+ e.responses.length === 0 && e.status === "open" && /* @__PURE__ */ P("div", {
1261
1265
  className: "mt-3 flex items-center gap-2 text-xs text-text-secondary",
1262
- children: [/* @__PURE__ */ M(m, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
1266
+ children: [/* @__PURE__ */ N(ie, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
1263
1267
  })
1264
1268
  ]
1265
- }), /* @__PURE__ */ N("div", {
1269
+ }), /* @__PURE__ */ P("div", {
1266
1270
  className: "flex flex-col gap-1 border-t border-border-subtle bg-bg-sunken/30 px-4 py-2.5 sm:flex-row sm:items-center sm:justify-between text-xs text-text-secondary",
1267
1271
  children: [
1268
- /* @__PURE__ */ N("span", { children: ["Created: ", r(e.createdAt)] }),
1269
- /* @__PURE__ */ N("span", { children: ["Updated: ", r(e.updatedAt)] }),
1270
- /* @__PURE__ */ N("span", { children: [
1272
+ /* @__PURE__ */ P("span", { children: ["Created: ", r(e.createdAt)] }),
1273
+ /* @__PURE__ */ P("span", { children: ["Updated: ", r(e.updatedAt)] }),
1274
+ /* @__PURE__ */ P("span", { children: [
1271
1275
  e.responses.length,
1272
1276
  " response",
1273
1277
  e.responses.length === 1 ? "" : "s"
@@ -1279,38 +1283,38 @@ function V() {
1279
1283
  })
1280
1284
  ]
1281
1285
  }),
1282
- /* @__PURE__ */ M("section", {
1286
+ /* @__PURE__ */ N("section", {
1283
1287
  className: "mt-8 rounded-lg border border-border-subtle bg-bg-sunken/30 p-5",
1284
- children: /* @__PURE__ */ N("div", {
1288
+ children: /* @__PURE__ */ P("div", {
1285
1289
  className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
1286
- children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h3", {
1290
+ children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h3", {
1287
1291
  className: "text-sm font-semibold text-text-primary mb-1",
1288
1292
  children: "Still need help?"
1289
- }), /* @__PURE__ */ M("p", {
1293
+ }), /* @__PURE__ */ N("p", {
1290
1294
  className: "text-xs text-text-secondary",
1291
1295
  children: "Our support team is available Monday to Saturday. Average response time is under 4 hours."
1292
- })] }), /* @__PURE__ */ N("div", {
1296
+ })] }), /* @__PURE__ */ P("div", {
1293
1297
  className: "flex flex-wrap gap-2",
1294
1298
  children: [
1295
- /* @__PURE__ */ N("button", {
1299
+ /* @__PURE__ */ P("button", {
1296
1300
  type: "button",
1297
1301
  onClick: () => $(I[0]),
1298
1302
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
1299
- children: [/* @__PURE__ */ M(h, { className: "h-3.5 w-3.5" }), "Email Us"]
1303
+ children: [/* @__PURE__ */ N(h, { className: "h-3.5 w-3.5" }), "Email Us"]
1300
1304
  }),
1301
- /* @__PURE__ */ N("button", {
1305
+ /* @__PURE__ */ P("button", {
1302
1306
  type: "button",
1303
1307
  onClick: () => $(I[1]),
1304
1308
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
1305
- children: [/* @__PURE__ */ M(v, { className: "h-3.5 w-3.5" }), "Call Us"]
1309
+ children: [/* @__PURE__ */ N(v, { className: "h-3.5 w-3.5" }), "Call Us"]
1306
1310
  }),
1307
- /* @__PURE__ */ N("button", {
1311
+ /* @__PURE__ */ P("button", {
1308
1312
  type: "button",
1309
1313
  onClick: () => {
1310
1314
  H(!0), d("contact");
1311
1315
  },
1312
1316
  className: "flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-3 py-2 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
1313
- children: [/* @__PURE__ */ M(w, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
1317
+ children: [/* @__PURE__ */ N(T, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
1314
1318
  })
1315
1319
  ]
1316
1320
  })]