@burdenoff/microfe-headshotmarketing 2026.625.1 → 2026.626.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 (89) hide show
  1. package/dist/headshotmarketing/components/DataTable.js +58 -53
  2. package/dist/headshotmarketing/components/DataTable.js.map +1 -1
  3. package/dist/headshotmarketing/pages/HomePage.js +146 -119
  4. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  5. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +276 -219
  6. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  7. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +202 -146
  8. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  9. package/dist/headshotmarketing/pages/ads/AdsPage.js +138 -99
  10. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  11. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +173 -117
  12. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  13. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +196 -194
  14. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  15. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +40 -38
  16. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  17. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +123 -95
  18. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  19. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +23 -21
  20. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +95 -83
  22. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +23 -21
  24. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  25. package/dist/headshotmarketing/pages/automation/AutomationPage.js +98 -59
  26. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  27. package/dist/headshotmarketing/pages/automation/TriggersPage.js +134 -97
  28. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +46 -44
  30. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  31. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +220 -137
  32. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  33. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +267 -262
  34. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  35. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +201 -173
  36. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  37. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +85 -91
  38. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  39. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +160 -147
  40. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +66 -64
  42. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/content/AIToolsPage.js +82 -74
  44. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +93 -48
  46. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +23 -21
  48. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +39 -37
  50. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/content/ContentPage.js +82 -75
  52. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/crm/ContactsPage.js +261 -213
  54. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +64 -63
  56. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +77 -76
  58. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/crm/CrmPage.js +162 -120
  60. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/crm/LeadsPage.js +58 -51
  62. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/crm/PipelinePage.js +173 -157
  64. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/events/CreateEventPage.js +345 -340
  66. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  67. package/dist/headshotmarketing/pages/events/EventsPage.js +100 -87
  68. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
  70. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +136 -87
  72. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +56 -28
  74. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +246 -184
  76. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +144 -111
  78. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +27 -25
  80. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +269 -242
  82. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/social-media/PostsPage.js +149 -137
  84. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +119 -118
  86. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  87. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +104 -76
  88. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  89. package/package.json +2 -2
@@ -9,21 +9,21 @@ import { XAxis as s } from "../../node_modules/recharts/es6/cartesian/XAxis.js";
9
9
  import { YAxis as ee } from "../../node_modules/recharts/es6/cartesian/YAxis.js";
10
10
  import { PieChart as te } from "../../node_modules/recharts/es6/chart/PieChart.js";
11
11
  import { AreaChart as ne } from "../../node_modules/recharts/es6/chart/AreaChart.js";
12
- import { useHeadshotmarketingBootstrapDataQuery as c } from "../../generated/wspace-operations.js";
13
- import { cn as l, formatCurrency as u, formatNumber as d } from "../utils/helpers.js";
14
- import { toCampaignModel as f } from "../utils/campaignMapper.js";
15
- import { toAdCampaignModel as p } from "../utils/adsMapper.js";
16
- import { toCampaignTimeSeries as m, toChannelPerformance as h } from "../utils/analyticsMapper.js";
17
- import { StatCard as g } from "../components/StatCard.js";
18
- import { DataTable as _ } from "../components/DataTable.js";
19
- import { StatusBadge as re } from "../components/StatusBadge.js";
12
+ import { useHeadshotmarketingBootstrapDataQuery as re } from "../../generated/wspace-operations.js";
13
+ import { cn as c, formatCurrency as l, formatNumber as u } from "../utils/helpers.js";
14
+ import { toCampaignModel as d } from "../utils/campaignMapper.js";
15
+ import { toAdCampaignModel as f } from "../utils/adsMapper.js";
16
+ import { toCampaignTimeSeries as p, toChannelPerformance as m } from "../utils/analyticsMapper.js";
17
+ import { StatCard as h } from "../components/StatCard.js";
18
+ import { DataTable as g } from "../components/DataTable.js";
19
+ import { StatusBadge as _ } from "../components/StatusBadge.js";
20
20
  import { ChartCard as v } from "../components/ChartCard.js";
21
21
  import "../components/index.js";
22
22
  import { useState as ie } from "react";
23
- import { AlertCircle as y, AlertTriangle as b, CheckCircle2 as x, DollarSign as S, Download as C, Heart as w, Info as T, Megaphone as E, Percent as D, RefreshCw as O, ShoppingCart as k, Target as A, TrendingUp as j, Users as M } from "lucide-react";
24
- import { useI18n as N } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
25
- import { jsx as P, jsxs as F } from "react/jsx-runtime";
26
- import { AuroraBackground as I, EmphasisPanel as ae, GradientText as L, ShowMore as R } from "@burdenoff/fe-libs/ui";
23
+ import { AlertCircle as y, AlertTriangle as b, CheckCircle2 as x, DollarSign as ae, Download as oe, Heart as S, Info as C, Megaphone as w, Percent as T, RefreshCw as E, ShoppingCart as D, Target as O, TrendingUp as k, Users as A } from "lucide-react";
24
+ import { useI18n as j } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
25
+ import { jsx as M, jsxs as N } from "react/jsx-runtime";
26
+ import { AuroraBackground as P, EmphasisPanel as F, GradientText as I, NextSteps as L, PagePurpose as se, ShowMore as R } from "@burdenoff/fe-libs/ui";
27
27
  //#region src/headshotmarketing/pages/HomePage.tsx
28
28
  var z = [
29
29
  "var(--color-chart-1)",
@@ -36,7 +36,7 @@ var z = [
36
36
  success: x,
37
37
  warning: b,
38
38
  error: y,
39
- info: T
39
+ info: C
40
40
  }, V = {
41
41
  success: "border-status-success-border bg-status-success-bg text-status-success-text",
42
42
  warning: "border-status-warning-border bg-status-warning-bg text-status-warning-text",
@@ -48,13 +48,13 @@ var z = [
48
48
  error: "text-status-error-text",
49
49
  info: "text-status-info-text"
50
50
  }, U = () => {
51
- let { navigate: y, basePath: b } = e(), { t: x } = N(), U = (e, t) => {
51
+ let { navigate: y, basePath: b } = e(), { t: x } = j(), U = (e, t) => {
52
52
  let n = x(e);
53
53
  return n === e ? t : n;
54
- }, { data: W } = c({ variables: {
54
+ }, { data: W } = re({ variables: {
55
55
  limit: 200,
56
56
  offset: 0
57
- } }), [G, K] = ie("overview"), q = (W?.headshotmarketingCampaigns.items ?? []).map((e) => f(e)), J = (W?.headshotmarketingAdCampaigns.items ?? []).map((e) => p(e)), oe = m(q), Y = h(q, J), se = [
57
+ } }), [G, K] = ie("overview"), q = (W?.headshotmarketingCampaigns.items ?? []).map((e) => d(e)), ce = (W?.headshotmarketingAdCampaigns.items ?? []).map((e) => f(e)), le = p(q), J = m(q, ce), ue = [
58
58
  {
59
59
  label: U("headshotmarketing.home.goals.revenue", "Revenue"),
60
60
  percent: 78
@@ -71,7 +71,7 @@ var z = [
71
71
  label: U("headshotmarketing.home.goals.traffic", "Traffic"),
72
72
  percent: 91
73
73
  }
74
- ], ce = [
74
+ ], Y = [
75
75
  {
76
76
  device: U("headshotmarketing.home.devices.desktop", "Desktop"),
77
77
  sessions: 58
@@ -84,7 +84,7 @@ var z = [
84
84
  device: U("headshotmarketing.home.devices.tablet", "Tablet"),
85
85
  sessions: 10
86
86
  }
87
- ], le = [
87
+ ], de = [
88
88
  {
89
89
  key: "name",
90
90
  header: U("headshotmarketing.home.table.columns.name", "Name"),
@@ -94,7 +94,7 @@ var z = [
94
94
  key: "type",
95
95
  header: U("headshotmarketing.home.table.columns.type", "Type"),
96
96
  sortable: !0,
97
- render: (e) => /* @__PURE__ */ P("span", {
97
+ render: (e) => /* @__PURE__ */ M("span", {
98
98
  className: "capitalize",
99
99
  children: e.type
100
100
  })
@@ -102,25 +102,25 @@ var z = [
102
102
  {
103
103
  key: "status",
104
104
  header: U("headshotmarketing.home.table.columns.status", "Status"),
105
- render: (e) => /* @__PURE__ */ P(re, { status: e.status })
105
+ render: (e) => /* @__PURE__ */ M(_, { status: e.status })
106
106
  },
107
107
  {
108
108
  key: "impressions",
109
109
  header: U("headshotmarketing.home.table.columns.impressions", "Impressions"),
110
110
  sortable: !0,
111
- render: (e) => d(e.metrics.impressions)
111
+ render: (e) => u(e.metrics.impressions)
112
112
  },
113
113
  {
114
114
  key: "clicks",
115
115
  header: U("headshotmarketing.home.table.columns.clicks", "Clicks"),
116
116
  sortable: !0,
117
- render: (e) => d(e.metrics.clicks)
117
+ render: (e) => u(e.metrics.clicks)
118
118
  },
119
119
  {
120
120
  key: "conversions",
121
121
  header: U("headshotmarketing.home.table.columns.conversions", "Conversions"),
122
122
  sortable: !0,
123
- render: (e) => d(e.metrics.conversions)
123
+ render: (e) => u(e.metrics.conversions)
124
124
  },
125
125
  {
126
126
  key: "roas",
@@ -132,7 +132,7 @@ var z = [
132
132
  revenue: 0,
133
133
  conversions: 0
134
134
  }), Z = q.reduce((e, t) => e + t.metrics.cost, 0), Q = Z > 0 ? X.revenue / Z : 0, $ = {
135
- topChannels: Y,
135
+ topChannels: J,
136
136
  recentAlerts: [{
137
137
  id: "alert-1",
138
138
  type: Q >= 3 ? "success" : "warning",
@@ -144,7 +144,7 @@ var z = [
144
144
  message: q.length > 0 ? `${q.length} ${U("headshotmarketing.home.alerts.campaignsTrackedSuffix", "campaigns are currently tracked.")}` : U("headshotmarketing.home.alerts.noCampaigns", "No campaigns found in workspace data."),
145
145
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
146
146
  }]
147
- }, ue = [
147
+ }, fe = [
148
148
  {
149
149
  key: "overview",
150
150
  label: U("headshotmarketing.home.tabs.overview", "Overview")
@@ -162,32 +162,32 @@ var z = [
162
162
  label: U("headshotmarketing.home.tabs.campaigns", "Campaigns")
163
163
  }
164
164
  ];
165
- return /* @__PURE__ */ F("div", {
165
+ return /* @__PURE__ */ N("div", {
166
166
  className: "space-y-6",
167
167
  children: [
168
- /* @__PURE__ */ F("header", {
168
+ /* @__PURE__ */ N("header", {
169
169
  className: "relative overflow-hidden rounded-card border border-border-seam bg-gloss-card px-6 py-7 shadow-[var(--shadow-pop)] sm:px-8",
170
- children: [/* @__PURE__ */ P(I, { intensity: "subtle" }), /* @__PURE__ */ F("div", {
170
+ children: [/* @__PURE__ */ M(P, { intensity: "subtle" }), /* @__PURE__ */ N("div", {
171
171
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
172
- children: [/* @__PURE__ */ F("div", { children: [/* @__PURE__ */ P("h1", {
172
+ children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h1", {
173
173
  className: "text-2xl font-bold tracking-tight text-text-primary sm:text-3xl",
174
- children: /* @__PURE__ */ P(L, { children: U("headshotmarketing.home.title", "Dashboard") })
175
- }), /* @__PURE__ */ P("p", {
174
+ children: /* @__PURE__ */ M(I, { children: U("headshotmarketing.home.title", "Dashboard") })
175
+ }), /* @__PURE__ */ M("p", {
176
176
  className: "mt-1 text-sm text-text-secondary",
177
177
  children: U("headshotmarketing.home.subtitle", "Your marketing performance at a glance.")
178
- })] }), /* @__PURE__ */ F("div", {
178
+ })] }), /* @__PURE__ */ N("div", {
179
179
  className: "flex items-center gap-2",
180
- children: [/* @__PURE__ */ F("button", {
180
+ children: [/* @__PURE__ */ N("button", {
181
181
  type: "button",
182
182
  className: "inline-flex min-h-[44px] items-center gap-2 rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-bg-sunken focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
183
- children: [/* @__PURE__ */ P(O, {
183
+ children: [/* @__PURE__ */ M(E, {
184
184
  className: "h-4 w-4",
185
185
  "aria-hidden": "true"
186
186
  }), U("headshotmarketing.home.actions.refresh", "Refresh")]
187
- }), /* @__PURE__ */ F("button", {
187
+ }), /* @__PURE__ */ N("button", {
188
188
  type: "button",
189
189
  className: "inline-flex min-h-[44px] items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text shadow-pop transition-colors hover:bg-action-primary-bg/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
190
- children: [/* @__PURE__ */ P(C, {
190
+ children: [/* @__PURE__ */ M(oe, {
191
191
  className: "h-4 w-4",
192
192
  "aria-hidden": "true"
193
193
  }), U("headshotmarketing.home.actions.export", "Export")]
@@ -195,132 +195,159 @@ var z = [
195
195
  })]
196
196
  })]
197
197
  }),
198
- /* @__PURE__ */ F("div", {
198
+ /* @__PURE__ */ M(se, { children: U("headshotmarketing.home.purpose", "Your marketing at a glance. This dashboard pulls revenue, active campaigns, conversions and ROAS into one view, then lets you dig into performance, audience and campaign detail — so you always know what's working and where to act next.") }),
199
+ /* @__PURE__ */ M(L, {
200
+ storageKey: "headshotmarketing-home",
201
+ steps: [
202
+ {
203
+ id: "campaign",
204
+ label: U("headshotmarketing.home.next.newCampaign", "Launch a campaign"),
205
+ description: U("headshotmarketing.home.next.newCampaignDesc", "Set up a marketing campaign end to end."),
206
+ icon: /* @__PURE__ */ M(w, { className: "h-4 w-4" }),
207
+ onClick: () => y(b + "/campaigns/new")
208
+ },
209
+ {
210
+ id: "ads",
211
+ label: U("headshotmarketing.home.next.ads", "Run paid ads"),
212
+ description: U("headshotmarketing.home.next.adsDesc", "Drive traffic with Google, Meta or LinkedIn ads."),
213
+ icon: /* @__PURE__ */ M(O, { className: "h-4 w-4" }),
214
+ onClick: () => y(b + "/ads")
215
+ },
216
+ {
217
+ id: "analytics",
218
+ label: U("headshotmarketing.home.next.analytics", "Review analytics"),
219
+ description: U("headshotmarketing.home.next.analyticsDesc", "Dig into channel and campaign performance."),
220
+ icon: /* @__PURE__ */ M(k, { className: "h-4 w-4" }),
221
+ onClick: () => y(b + "/analytics")
222
+ }
223
+ ]
224
+ }),
225
+ /* @__PURE__ */ N("div", {
199
226
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
200
227
  children: [
201
- /* @__PURE__ */ P(g, {
228
+ /* @__PURE__ */ M(h, {
202
229
  featured: !0,
203
230
  title: U("headshotmarketing.home.stats.totalRevenue", "Total Revenue"),
204
- value: u(X.revenue),
231
+ value: l(X.revenue),
205
232
  change: 12.5,
206
233
  changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
207
- icon: /* @__PURE__ */ P(S, { className: "h-5 w-5" })
234
+ icon: /* @__PURE__ */ M(ae, { className: "h-5 w-5" })
208
235
  }),
209
- /* @__PURE__ */ P(g, {
236
+ /* @__PURE__ */ M(h, {
210
237
  title: U("headshotmarketing.home.stats.activeCampaigns", "Active Campaigns"),
211
238
  value: String(q.filter((e) => e.status === "active").length),
212
239
  change: 8.3,
213
240
  changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
214
- icon: /* @__PURE__ */ P(E, { className: "h-5 w-5" })
241
+ icon: /* @__PURE__ */ M(w, { className: "h-5 w-5" })
215
242
  }),
216
- /* @__PURE__ */ P(g, {
243
+ /* @__PURE__ */ M(h, {
217
244
  title: U("headshotmarketing.home.stats.conversions", "Conversions"),
218
- value: d(X.conversions),
245
+ value: u(X.conversions),
219
246
  change: 15.2,
220
247
  changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
221
- icon: /* @__PURE__ */ P(A, { className: "h-5 w-5" })
248
+ icon: /* @__PURE__ */ M(O, { className: "h-5 w-5" })
222
249
  }),
223
- /* @__PURE__ */ P(g, {
250
+ /* @__PURE__ */ M(h, {
224
251
  title: U("headshotmarketing.home.stats.roas", "ROAS"),
225
252
  value: `${Q.toFixed(1)}x`,
226
253
  change: 5.1,
227
254
  changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
228
- icon: /* @__PURE__ */ P(j, { className: "h-5 w-5" })
255
+ icon: /* @__PURE__ */ M(k, { className: "h-5 w-5" })
229
256
  })
230
257
  ]
231
258
  }),
232
- /* @__PURE__ */ P(R, {
259
+ /* @__PURE__ */ M(R, {
233
260
  collapsedHeight: 0,
234
261
  label: U("headshotmarketing.home.actions.moreMetrics", "More metrics"),
235
- children: /* @__PURE__ */ F("div", {
262
+ children: /* @__PURE__ */ N("div", {
236
263
  className: "grid grid-cols-1 gap-4 pt-1 sm:grid-cols-2 lg:grid-cols-4",
237
264
  children: [
238
- /* @__PURE__ */ P(g, {
265
+ /* @__PURE__ */ M(h, {
239
266
  title: U("headshotmarketing.home.stats.conversionRate", "Conversion Rate"),
240
267
  value: "3.2%",
241
- icon: /* @__PURE__ */ P(D, { className: "h-5 w-5" })
268
+ icon: /* @__PURE__ */ M(T, { className: "h-5 w-5" })
242
269
  }),
243
- /* @__PURE__ */ P(g, {
270
+ /* @__PURE__ */ M(h, {
244
271
  title: U("headshotmarketing.home.stats.avgOrderValue", "Avg Order Value"),
245
- value: u(68),
246
- icon: /* @__PURE__ */ P(k, { className: "h-5 w-5" })
272
+ value: l(68),
273
+ icon: /* @__PURE__ */ M(D, { className: "h-5 w-5" })
247
274
  }),
248
- /* @__PURE__ */ P(g, {
275
+ /* @__PURE__ */ M(h, {
249
276
  title: U("headshotmarketing.home.stats.customerLtv", "Customer LTV"),
250
- value: u(450),
251
- icon: /* @__PURE__ */ P(w, { className: "h-5 w-5" })
277
+ value: l(450),
278
+ icon: /* @__PURE__ */ M(S, { className: "h-5 w-5" })
252
279
  }),
253
- /* @__PURE__ */ P(g, {
280
+ /* @__PURE__ */ M(h, {
254
281
  title: U("headshotmarketing.home.stats.monthlyVisitors", "Monthly Visitors"),
255
282
  value: "45.2K",
256
- icon: /* @__PURE__ */ P(M, { className: "h-5 w-5" })
283
+ icon: /* @__PURE__ */ M(A, { className: "h-5 w-5" })
257
284
  })
258
285
  ]
259
286
  })
260
287
  }),
261
- /* @__PURE__ */ F(ae, { children: [/* @__PURE__ */ P("h3", {
288
+ /* @__PURE__ */ N(F, { children: [/* @__PURE__ */ M("h3", {
262
289
  className: "text-sm font-semibold text-text-primary mb-4",
263
290
  children: U("headshotmarketing.home.sections.monthlyGoals", "Monthly Goals")
264
- }), /* @__PURE__ */ P("div", {
291
+ }), /* @__PURE__ */ M("div", {
265
292
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
266
- children: se.map((e) => /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ F("div", {
293
+ children: ue.map((e) => /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
267
294
  className: "flex items-center justify-between mb-1",
268
- children: [/* @__PURE__ */ P("span", {
295
+ children: [/* @__PURE__ */ M("span", {
269
296
  className: "text-sm font-medium text-text-primary",
270
297
  children: e.label
271
- }), /* @__PURE__ */ F("span", {
298
+ }), /* @__PURE__ */ N("span", {
272
299
  className: "text-sm font-medium tabular-nums text-text-secondary",
273
300
  children: [e.percent, "%"]
274
301
  })]
275
- }), /* @__PURE__ */ P("div", {
302
+ }), /* @__PURE__ */ M("div", {
276
303
  className: "h-2 w-full rounded-full bg-bg-sunken",
277
- children: /* @__PURE__ */ P("div", {
304
+ children: /* @__PURE__ */ M("div", {
278
305
  className: "h-2 rounded-full bg-action-primary-bg transition-all",
279
306
  style: { width: `${e.percent}%` }
280
307
  })
281
308
  })] }, e.label))
282
309
  })] }),
283
- /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ P("div", {
310
+ /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("div", {
284
311
  className: "flex items-center gap-1 border-b border-border-subtle",
285
- children: ue.map((e) => /* @__PURE__ */ P("button", {
312
+ children: fe.map((e) => /* @__PURE__ */ M("button", {
286
313
  onClick: () => K(e.key),
287
- className: l("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", G === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
314
+ className: c("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", G === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
288
315
  children: e.label
289
316
  }, e.key))
290
- }), /* @__PURE__ */ F("div", {
317
+ }), /* @__PURE__ */ N("div", {
291
318
  className: "mt-6",
292
319
  children: [
293
- G === "overview" && /* @__PURE__ */ F("div", {
320
+ G === "overview" && /* @__PURE__ */ N("div", {
294
321
  className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
295
- children: [/* @__PURE__ */ P(v, {
322
+ children: [/* @__PURE__ */ M(v, {
296
323
  title: U("headshotmarketing.home.charts.revenueTrend", "Revenue Trend"),
297
324
  subtitle: U("headshotmarketing.home.charts.last30Days", "Last 30 days"),
298
- children: /* @__PURE__ */ P(n, {
325
+ children: /* @__PURE__ */ M(n, {
299
326
  width: "100%",
300
327
  height: 280,
301
- children: /* @__PURE__ */ F(ne, {
302
- data: oe,
328
+ children: /* @__PURE__ */ N(ne, {
329
+ data: le,
303
330
  children: [
304
- /* @__PURE__ */ P(a, {
331
+ /* @__PURE__ */ M(a, {
305
332
  strokeDasharray: "3 3",
306
333
  className: "stroke-border"
307
334
  }),
308
- /* @__PURE__ */ P(s, {
335
+ /* @__PURE__ */ M(s, {
309
336
  dataKey: "date",
310
337
  tick: { fontSize: 11 },
311
338
  className: "text-text-secondary",
312
339
  tickFormatter: (e) => e.slice(5)
313
340
  }),
314
- /* @__PURE__ */ P(ee, {
341
+ /* @__PURE__ */ M(ee, {
315
342
  tick: { fontSize: 11 },
316
343
  className: "text-text-secondary"
317
344
  }),
318
- /* @__PURE__ */ P(t, { contentStyle: {
345
+ /* @__PURE__ */ M(t, { contentStyle: {
319
346
  backgroundColor: "var(--color-card)",
320
347
  border: "1px solid var(--color-border)",
321
348
  borderRadius: 8
322
349
  } }),
323
- /* @__PURE__ */ P(o, {
350
+ /* @__PURE__ */ M(o, {
324
351
  type: "monotone",
325
352
  dataKey: "revenue",
326
353
  stroke: z[0],
@@ -329,7 +356,7 @@ var z = [
329
356
  strokeWidth: 2,
330
357
  name: U("headshotmarketing.home.charts.revenue", "Revenue")
331
358
  }),
332
- /* @__PURE__ */ P(o, {
359
+ /* @__PURE__ */ M(o, {
333
360
  type: "monotone",
334
361
  dataKey: "cost",
335
362
  stroke: z[3],
@@ -341,57 +368,57 @@ var z = [
341
368
  ]
342
369
  })
343
370
  })
344
- }), /* @__PURE__ */ P(v, {
371
+ }), /* @__PURE__ */ M(v, {
345
372
  title: U("headshotmarketing.home.charts.channelPerformance", "Channel Performance"),
346
373
  subtitle: U("headshotmarketing.home.charts.revenueDistribution", "Revenue distribution"),
347
- children: /* @__PURE__ */ P(n, {
374
+ children: /* @__PURE__ */ M(n, {
348
375
  width: "100%",
349
376
  height: 280,
350
- children: /* @__PURE__ */ F(te, { children: [/* @__PURE__ */ P(i, {
351
- data: Y,
377
+ children: /* @__PURE__ */ N(te, { children: [/* @__PURE__ */ M(i, {
378
+ data: J,
352
379
  dataKey: "revenue",
353
380
  nameKey: "channel",
354
381
  cx: "50%",
355
382
  cy: "50%",
356
383
  outerRadius: 100,
357
384
  label: ({ name: e, percent: t }) => `${e} ${(t * 100).toFixed(0)}%`,
358
- children: Y.map((e, t) => /* @__PURE__ */ P(r, { fill: z[t % z.length] }, e.channel))
359
- }), /* @__PURE__ */ P(t, {
385
+ children: J.map((e, t) => /* @__PURE__ */ M(r, { fill: z[t % z.length] }, e.channel))
386
+ }), /* @__PURE__ */ M(t, {
360
387
  contentStyle: {
361
388
  backgroundColor: "var(--color-card)",
362
389
  border: "1px solid var(--color-border)",
363
390
  borderRadius: 8
364
391
  },
365
- formatter: (e) => u(e)
392
+ formatter: (e) => l(e)
366
393
  })] })
367
394
  })
368
395
  })]
369
396
  }),
370
- G === "performance" && /* @__PURE__ */ F("div", {
397
+ G === "performance" && /* @__PURE__ */ N("div", {
371
398
  className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
372
- children: [/* @__PURE__ */ P("h3", {
399
+ children: [/* @__PURE__ */ M("h3", {
373
400
  className: "text-sm font-semibold text-text-primary mb-4",
374
401
  children: U("headshotmarketing.home.sections.topChannels", "Top Channels")
375
- }), /* @__PURE__ */ P("div", {
402
+ }), /* @__PURE__ */ M("div", {
376
403
  className: "space-y-4",
377
- children: $.topChannels.slice(0, 5).map((e) => /* @__PURE__ */ F("div", {
404
+ children: $.topChannels.slice(0, 5).map((e) => /* @__PURE__ */ N("div", {
378
405
  className: "flex items-center justify-between",
379
- children: [/* @__PURE__ */ F("div", {
406
+ children: [/* @__PURE__ */ N("div", {
380
407
  className: "flex items-center gap-3",
381
- children: [/* @__PURE__ */ P("div", {
408
+ children: [/* @__PURE__ */ M("div", {
382
409
  className: "h-3 w-3 rounded-full motion-safe:animate-vc-glow-pulse",
383
410
  style: { backgroundColor: e.color }
384
- }), /* @__PURE__ */ P("span", {
411
+ }), /* @__PURE__ */ M("span", {
385
412
  className: "text-sm font-medium text-text-primary",
386
413
  children: e.channel
387
414
  })]
388
- }), /* @__PURE__ */ F("div", {
415
+ }), /* @__PURE__ */ N("div", {
389
416
  className: "flex items-center gap-4",
390
- children: [/* @__PURE__ */ P("span", {
417
+ children: [/* @__PURE__ */ M("span", {
391
418
  className: "text-sm font-semibold tabular-nums text-text-primary",
392
- children: u(e.revenue)
393
- }), /* @__PURE__ */ F("span", {
394
- className: l("inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-medium tabular-nums", e.roas >= 3.5 ? "bg-status-success-bg text-status-success-text border-status-success-border" : "bg-status-warning-bg text-status-warning-text border-status-warning-border"),
419
+ children: l(e.revenue)
420
+ }), /* @__PURE__ */ N("span", {
421
+ className: c("inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-medium tabular-nums", e.roas >= 3.5 ? "bg-status-success-bg text-status-success-text border-status-success-border" : "bg-status-warning-bg text-status-warning-text border-status-warning-border"),
395
422
  children: [
396
423
  e.roas.toFixed(1),
397
424
  "x",
@@ -403,57 +430,57 @@ var z = [
403
430
  }, e.channel))
404
431
  })]
405
432
  }),
406
- G === "audience" && /* @__PURE__ */ F("div", {
433
+ G === "audience" && /* @__PURE__ */ N("div", {
407
434
  className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
408
- children: [/* @__PURE__ */ P("h3", {
435
+ children: [/* @__PURE__ */ M("h3", {
409
436
  className: "text-sm font-semibold text-text-primary mb-4",
410
437
  children: U("headshotmarketing.home.sections.deviceBreakdown", "Device Breakdown")
411
- }), /* @__PURE__ */ P("div", {
438
+ }), /* @__PURE__ */ M("div", {
412
439
  className: "space-y-4",
413
- children: ce.map((e) => /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ F("div", {
440
+ children: Y.map((e) => /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
414
441
  className: "flex items-center justify-between mb-1",
415
- children: [/* @__PURE__ */ P("span", {
442
+ children: [/* @__PURE__ */ M("span", {
416
443
  className: "text-sm font-medium text-text-primary",
417
444
  children: e.device
418
- }), /* @__PURE__ */ F("span", {
445
+ }), /* @__PURE__ */ N("span", {
419
446
  className: "text-sm tabular-nums text-text-secondary",
420
447
  children: [e.sessions, "%"]
421
448
  })]
422
- }), /* @__PURE__ */ P("div", {
449
+ }), /* @__PURE__ */ M("div", {
423
450
  className: "h-3 w-full rounded-full bg-bg-sunken",
424
- children: /* @__PURE__ */ P("div", {
451
+ children: /* @__PURE__ */ M("div", {
425
452
  className: "h-3 rounded-full bg-action-primary-bg transition-all",
426
453
  style: { width: `${e.sessions}%` }
427
454
  })
428
455
  })] }, e.device))
429
456
  })]
430
457
  }),
431
- G === "campaigns" && /* @__PURE__ */ P(_, {
458
+ G === "campaigns" && /* @__PURE__ */ M(g, {
432
459
  data: q,
433
- columns: le,
460
+ columns: de,
434
461
  pageSize: 8,
435
462
  onRowClick: (e) => y(b + "/campaigns/" + e.id),
436
463
  emptyMessage: U("headshotmarketing.home.table.empty", "No campaigns found")
437
464
  })
438
465
  ]
439
466
  })] }),
440
- /* @__PURE__ */ F("div", {
467
+ /* @__PURE__ */ N("div", {
441
468
  className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
442
- children: [/* @__PURE__ */ P("h3", {
469
+ children: [/* @__PURE__ */ M("h3", {
443
470
  className: "text-sm font-semibold text-text-primary mb-4",
444
471
  children: U("headshotmarketing.home.sections.recentAlerts", "Recent Alerts")
445
- }), /* @__PURE__ */ P("div", {
472
+ }), /* @__PURE__ */ M("div", {
446
473
  className: "space-y-3",
447
474
  children: $.recentAlerts.map((e) => {
448
- let t = B[e.type] || T;
449
- return /* @__PURE__ */ F("div", {
450
- className: l("flex items-start gap-3 rounded-lg border p-3", V[e.type]),
451
- children: [/* @__PURE__ */ P(t, { className: l("h-4 w-4 mt-0.5 flex-shrink-0", H[e.type]) }), /* @__PURE__ */ F("div", {
475
+ let t = B[e.type] || C;
476
+ return /* @__PURE__ */ N("div", {
477
+ className: c("flex items-start gap-3 rounded-lg border p-3", V[e.type]),
478
+ children: [/* @__PURE__ */ M(t, { className: c("h-4 w-4 mt-0.5 flex-shrink-0", H[e.type]) }), /* @__PURE__ */ N("div", {
452
479
  className: "flex-1 min-w-0",
453
- children: [/* @__PURE__ */ P("p", {
480
+ children: [/* @__PURE__ */ M("p", {
454
481
  className: "text-sm",
455
482
  children: e.message
456
- }), /* @__PURE__ */ P("p", {
483
+ }), /* @__PURE__ */ M("p", {
457
484
  className: "text-xs mt-1 opacity-75",
458
485
  children: new Date(e.timestamp).toLocaleString()
459
486
  })]