@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
@@ -5,10 +5,11 @@ import { PageLayout as i } from "../../components/PageLayout.js";
5
5
  import "../../components/index.js";
6
6
  import { HeadshotmarketingAdCampaignStatus as a, HeadshotmarketingAdPlatform as o } from "../../../generated/wspace-types.js";
7
7
  import { useState as s } from "react";
8
- import { ArrowLeft as c, Check as l } from "lucide-react";
9
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
+ import { ArrowLeft as c, Check as ee } from "lucide-react";
9
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
10
+ import { EmphasisPanel as d, PagePurpose as f } from "@burdenoff/fe-libs/ui";
10
11
  //#region src/headshotmarketing/pages/ads/CreateAdCampaignPage.tsx
11
- var f = [
12
+ var p = [
12
13
  {
13
14
  key: "info",
14
15
  label: "Campaign Info",
@@ -29,25 +30,25 @@ var f = [
29
30
  label: "Review",
30
31
  step: 4
31
32
  }
32
- ], p = [
33
+ ], m = [
33
34
  "Brand Awareness",
34
35
  "Traffic",
35
36
  "Engagement",
36
37
  "Lead Generation",
37
38
  "Conversions",
38
39
  "App Installs"
39
- ], m = [
40
+ ], h = [
40
41
  "18-24",
41
42
  "25-34",
42
43
  "35-44",
43
44
  "45-54",
44
45
  "55-64",
45
46
  "65+"
46
- ], h = [
47
+ ], g = [
47
48
  "All",
48
49
  "Male",
49
50
  "Female"
50
- ], g = [
51
+ ], _ = [
51
52
  "Photography",
52
53
  "Business",
53
54
  "Personal Branding",
@@ -56,73 +57,73 @@ var f = [
56
57
  "Technology",
57
58
  "Marketing",
58
59
  "Entrepreneurship"
59
- ], _ = () => {
60
- let { navigate: _ } = e(), [ee, { loading: v, error: y }] = n(), [b, x] = s(null), [S, C] = s("info"), [w, T] = s(""), [E, D] = s("google_ads"), [O, k] = s(""), [A, te] = s(""), [j, M] = s(new Set(["25-34", "35-44"])), [N, P] = s("All"), [F, I] = s("United States"), [L, R] = s(new Set(["Photography", "Business"])), [z, B] = s("total"), [V, H] = s("5000"), [U, W] = s(""), [G, K] = s(""), [q, J] = s("Maximize Conversions"), Y = (e) => {
61
- M((t) => {
60
+ ], v = () => {
61
+ let { navigate: v } = e(), [y, { loading: b, error: x }] = n(), [S, C] = s(null), [w, T] = s("info"), [E, D] = s(""), [O, k] = s("google_ads"), [A, te] = s(""), [j, M] = s(""), [N, P] = s(new Set(["25-34", "35-44"])), [F, I] = s("All"), [L, R] = s("United States"), [z, B] = s(new Set(["Photography", "Business"])), [V, H] = s("total"), [U, W] = s("5000"), [G, K] = s(""), [q, J] = s(""), [Y, X] = s("Maximize Conversions"), Z = (e) => {
62
+ P((t) => {
62
63
  let n = new Set(t);
63
64
  return n.has(e) ? n.delete(e) : n.add(e), n;
64
65
  });
65
- }, X = (e) => {
66
- R((t) => {
66
+ }, ne = (e) => {
67
+ B((t) => {
67
68
  let n = new Set(t);
68
69
  return n.has(e) ? n.delete(e) : n.add(e), n;
69
70
  });
70
- }, Z = f.findIndex((e) => e.key === S), Q = () => {
71
- let e = Z + 1;
72
- e < f.length && C(f[e].key);
73
- }, ne = () => {
74
- let e = Z - 1;
75
- e >= 0 && C(f[e].key);
76
- }, re = () => {
77
- switch (E) {
71
+ }, Q = p.findIndex((e) => e.key === w), re = () => {
72
+ let e = Q + 1;
73
+ e < p.length && T(p[e].key);
74
+ }, ie = () => {
75
+ let e = Q - 1;
76
+ e >= 0 && T(p[e].key);
77
+ }, ae = () => {
78
+ switch (O) {
78
79
  case "facebook": return o.FacebookAds;
79
80
  case "instagram": return o.InstagramAds;
80
81
  case "linkedin": return o.LinkedinAds;
81
82
  case "twitter": return o.TwitterAds;
82
83
  default: return o.GoogleAds;
83
84
  }
84
- }, ie = async () => {
85
- if (!w.trim()) {
86
- x("Campaign name is required.");
85
+ }, oe = async () => {
86
+ if (!E.trim()) {
87
+ C("Campaign name is required.");
87
88
  return;
88
89
  }
89
- let e = Number(V);
90
+ let e = Number(U);
90
91
  if (!Number.isFinite(e) || e <= 0) {
91
- x("Budget must be a valid number greater than zero.");
92
+ C("Budget must be a valid number greater than zero.");
92
93
  return;
93
94
  }
94
- if (!U || !G) {
95
- x("Start and end dates are required.");
95
+ if (!G || !q) {
96
+ C("Start and end dates are required.");
96
97
  return;
97
98
  }
98
- let n = new Date(U).getTime(), r = new Date(G).getTime();
99
+ let n = new Date(G).getTime(), r = new Date(q).getTime();
99
100
  if (Number.isFinite(n) && Number.isFinite(r) && r < n) {
100
- x("End date must be after start date.");
101
+ C("End date must be after start date.");
101
102
  return;
102
103
  }
103
- x(null);
104
+ C(null);
104
105
  let i = {
105
- name: w,
106
- description: A || null,
107
- platform: re(),
106
+ name: E,
107
+ description: j || null,
108
+ platform: ae(),
108
109
  status: a.Draft,
109
- bidStrategy: q,
110
- startDate: new Date(U).toISOString(),
111
- endDate: new Date(G).toISOString(),
112
- dailyBudget: z === "daily" ? e : null,
113
- totalBudget: z === "total" ? e : null,
110
+ bidStrategy: Y,
111
+ startDate: new Date(G).toISOString(),
112
+ endDate: new Date(q).toISOString(),
113
+ dailyBudget: V === "daily" ? e : null,
114
+ totalBudget: V === "total" ? e : null,
114
115
  metadata: {
115
- objective: O,
116
+ objective: A,
116
117
  targeting: {
117
- ages: Array.from(j),
118
- gender: N,
119
- locations: F.split(",").map((e) => e.trim()).filter(Boolean),
120
- interests: Array.from(L)
118
+ ages: Array.from(N),
119
+ gender: F,
120
+ locations: L.split(",").map((e) => e.trim()).filter(Boolean),
121
+ interests: Array.from(z)
121
122
  }
122
123
  }
123
124
  };
124
125
  try {
125
- await ee({
126
+ await y({
126
127
  variables: { input: i },
127
128
  refetchQueries: [{
128
129
  query: t,
@@ -132,355 +133,356 @@ var f = [
132
133
  }
133
134
  }],
134
135
  awaitRefetchQueries: !0
135
- }), _("/ads/campaigns");
136
+ }), v("/ads/campaigns");
136
137
  } catch (e) {
137
- x(e instanceof Error ? e.message : "Failed to create ad campaign.");
138
+ C(e instanceof Error ? e.message : "Failed to create ad campaign.");
138
139
  }
139
- }, $ = b ?? y?.message ?? null;
140
- return /* @__PURE__ */ d(i, {
140
+ }, $ = S ?? x?.message ?? null;
141
+ return /* @__PURE__ */ u(i, {
141
142
  title: "Create Ad Campaign",
142
143
  description: "Set up a new advertising campaign",
143
- actions: /* @__PURE__ */ d("button", {
144
- onClick: () => _("/ads/campaigns"),
144
+ actions: /* @__PURE__ */ u("button", {
145
+ onClick: () => v("/ads/campaigns"),
145
146
  className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
146
- children: [/* @__PURE__ */ u(c, { className: "h-4 w-4" }), "Back"]
147
+ children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Back"]
147
148
  }),
148
149
  children: [
149
- /* @__PURE__ */ u("div", {
150
+ /* @__PURE__ */ l(f, { children: "Launch a paid campaign in four guided steps — name it and pick a platform and objective, choose who to target, set your budget and schedule, then review everything before it goes live." }),
151
+ /* @__PURE__ */ l("div", {
150
152
  className: "flex items-center gap-2",
151
- children: f.map((e, t) => /* @__PURE__ */ d("div", {
153
+ children: p.map((e, t) => /* @__PURE__ */ u("div", {
152
154
  className: "flex items-center",
153
- children: [/* @__PURE__ */ d("button", {
154
- onClick: () => C(e.key),
155
- className: r("flex items-center gap-2 rounded-full px-4 py-2 text-sm font-medium transition-colors", S === e.key ? "bg-foreground text-background" : t < Z ? "bg-status-success-bg text-status-success-text" : "bg-bg-sunken text-text-secondary"),
156
- children: [t < Z ? /* @__PURE__ */ u(l, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ u("span", { children: e.step }), /* @__PURE__ */ u("span", {
155
+ children: [/* @__PURE__ */ u("button", {
156
+ onClick: () => T(e.key),
157
+ className: r("flex items-center gap-2 rounded-full px-4 py-2 text-sm font-medium transition-colors", w === e.key ? "bg-foreground text-background" : t < Q ? "bg-status-success-bg text-status-success-text" : "bg-bg-sunken text-text-secondary"),
158
+ children: [t < Q ? /* @__PURE__ */ l(ee, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ l("span", { children: e.step }), /* @__PURE__ */ l("span", {
157
159
  className: "hidden sm:inline",
158
160
  children: e.label
159
161
  })]
160
- }), t < f.length - 1 && /* @__PURE__ */ u("div", { className: "mx-2 h-px w-8 bg-border" })]
162
+ }), t < p.length - 1 && /* @__PURE__ */ l("div", { className: "mx-2 h-px w-8 bg-border" })]
161
163
  }, e.key))
162
164
  }),
163
- S === "info" && /* @__PURE__ */ d("div", {
164
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6 space-y-5 max-w-2xl",
165
+ w === "info" && /* @__PURE__ */ u(d, {
166
+ className: "p-6 space-y-5 max-w-2xl",
165
167
  children: [
166
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
168
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
167
169
  className: "block text-sm font-medium text-text-primary mb-1.5",
168
170
  children: "Campaign Name"
169
- }), /* @__PURE__ */ u("input", {
171
+ }), /* @__PURE__ */ l("input", {
170
172
  type: "text",
171
- value: w,
172
- onChange: (e) => T(e.target.value),
173
+ value: E,
174
+ onChange: (e) => D(e.target.value),
173
175
  placeholder: "e.g., Spring Headshot Promo",
174
176
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
175
177
  })] }),
176
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
178
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
177
179
  className: "block text-sm font-medium text-text-primary mb-1.5",
178
180
  children: "Platform"
179
- }), /* @__PURE__ */ d("select", {
180
- value: E,
181
- onChange: (e) => D(e.target.value),
181
+ }), /* @__PURE__ */ u("select", {
182
+ value: O,
183
+ onChange: (e) => k(e.target.value),
182
184
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
183
185
  children: [
184
- /* @__PURE__ */ u("option", {
186
+ /* @__PURE__ */ l("option", {
185
187
  value: "google_ads",
186
188
  children: "Google Ads"
187
189
  }),
188
- /* @__PURE__ */ u("option", {
190
+ /* @__PURE__ */ l("option", {
189
191
  value: "facebook",
190
192
  children: "Facebook"
191
193
  }),
192
- /* @__PURE__ */ u("option", {
194
+ /* @__PURE__ */ l("option", {
193
195
  value: "instagram",
194
196
  children: "Instagram"
195
197
  }),
196
- /* @__PURE__ */ u("option", {
198
+ /* @__PURE__ */ l("option", {
197
199
  value: "linkedin",
198
200
  children: "LinkedIn"
199
201
  }),
200
- /* @__PURE__ */ u("option", {
202
+ /* @__PURE__ */ l("option", {
201
203
  value: "twitter",
202
204
  children: "Twitter"
203
205
  })
204
206
  ]
205
207
  })] }),
206
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
208
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
207
209
  className: "block text-sm font-medium text-text-primary mb-1.5",
208
210
  children: "Objective"
209
- }), /* @__PURE__ */ u("div", {
211
+ }), /* @__PURE__ */ l("div", {
210
212
  className: "grid grid-cols-2 gap-2 sm:grid-cols-3",
211
- children: p.map((e) => /* @__PURE__ */ u("button", {
212
- onClick: () => k(e),
213
- className: r("rounded-md border px-3 py-2 text-sm transition-colors", O === e ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
213
+ children: m.map((e) => /* @__PURE__ */ l("button", {
214
+ onClick: () => te(e),
215
+ className: r("rounded-md border px-3 py-2 text-sm transition-colors", A === e ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
214
216
  children: e
215
217
  }, e))
216
218
  })] }),
217
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
219
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
218
220
  className: "block text-sm font-medium text-text-primary mb-1.5",
219
221
  children: "Description"
220
- }), /* @__PURE__ */ u("textarea", {
221
- value: A,
222
- onChange: (e) => te(e.target.value),
222
+ }), /* @__PURE__ */ l("textarea", {
223
+ value: j,
224
+ onChange: (e) => M(e.target.value),
223
225
  rows: 3,
224
226
  placeholder: "Describe your campaign goals...",
225
227
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
226
228
  })] })
227
229
  ]
228
230
  }),
229
- S === "targeting" && /* @__PURE__ */ d("div", {
230
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6 space-y-5 max-w-2xl",
231
+ w === "targeting" && /* @__PURE__ */ u(d, {
232
+ className: "p-6 space-y-5 max-w-2xl",
231
233
  children: [
232
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
234
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
233
235
  className: "block text-sm font-medium text-text-primary mb-1.5",
234
236
  children: "Age Range"
235
- }), /* @__PURE__ */ u("div", {
237
+ }), /* @__PURE__ */ l("div", {
236
238
  className: "flex flex-wrap gap-2",
237
- children: m.map((e) => /* @__PURE__ */ u("button", {
238
- onClick: () => Y(e),
239
- className: r("rounded-full border px-3 py-1.5 text-sm transition-colors", j.has(e) ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
239
+ children: h.map((e) => /* @__PURE__ */ l("button", {
240
+ onClick: () => Z(e),
241
+ className: r("rounded-full border px-3 py-1.5 text-sm transition-colors", N.has(e) ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
240
242
  children: e
241
243
  }, e))
242
244
  })] }),
243
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
245
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
244
246
  className: "block text-sm font-medium text-text-primary mb-1.5",
245
247
  children: "Gender"
246
- }), /* @__PURE__ */ u("div", {
248
+ }), /* @__PURE__ */ l("div", {
247
249
  className: "flex gap-2",
248
- children: h.map((e) => /* @__PURE__ */ u("button", {
249
- onClick: () => P(e),
250
- className: r("rounded-full border px-4 py-1.5 text-sm transition-colors", N === e ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
250
+ children: g.map((e) => /* @__PURE__ */ l("button", {
251
+ onClick: () => I(e),
252
+ className: r("rounded-full border px-4 py-1.5 text-sm transition-colors", F === e ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
251
253
  children: e
252
254
  }, e))
253
255
  })] }),
254
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
256
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
255
257
  className: "block text-sm font-medium text-text-primary mb-1.5",
256
258
  children: "Locations"
257
- }), /* @__PURE__ */ u("input", {
259
+ }), /* @__PURE__ */ l("input", {
258
260
  type: "text",
259
- value: F,
260
- onChange: (e) => I(e.target.value),
261
+ value: L,
262
+ onChange: (e) => R(e.target.value),
261
263
  placeholder: "Enter locations (comma-separated)",
262
264
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
263
265
  })] }),
264
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
266
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
265
267
  className: "block text-sm font-medium text-text-primary mb-1.5",
266
268
  children: "Interests"
267
- }), /* @__PURE__ */ u("div", {
269
+ }), /* @__PURE__ */ l("div", {
268
270
  className: "flex flex-wrap gap-2",
269
- children: g.map((e) => /* @__PURE__ */ u("button", {
270
- onClick: () => X(e),
271
- className: r("rounded-full border px-3 py-1.5 text-sm transition-colors", L.has(e) ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
271
+ children: _.map((e) => /* @__PURE__ */ l("button", {
272
+ onClick: () => ne(e),
273
+ className: r("rounded-full border px-3 py-1.5 text-sm transition-colors", z.has(e) ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
272
274
  children: e
273
275
  }, e))
274
276
  })] })
275
277
  ]
276
278
  }),
277
- S === "budget" && /* @__PURE__ */ d("div", {
278
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6 space-y-5 max-w-2xl",
279
+ w === "budget" && /* @__PURE__ */ u(d, {
280
+ className: "p-6 space-y-5 max-w-2xl",
279
281
  children: [
280
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
282
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
281
283
  className: "block text-sm font-medium text-text-primary mb-1.5",
282
284
  children: "Budget Type"
283
- }), /* @__PURE__ */ d("div", {
285
+ }), /* @__PURE__ */ u("div", {
284
286
  className: "flex gap-2",
285
- children: [/* @__PURE__ */ u("button", {
286
- onClick: () => B("daily"),
287
- className: r("rounded-md border px-4 py-2 text-sm", z === "daily" ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
287
+ children: [/* @__PURE__ */ l("button", {
288
+ onClick: () => H("daily"),
289
+ className: r("rounded-md border px-4 py-2 text-sm", V === "daily" ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
288
290
  children: "Daily Budget"
289
- }), /* @__PURE__ */ u("button", {
290
- onClick: () => B("total"),
291
- className: r("rounded-md border px-4 py-2 text-sm", z === "total" ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
291
+ }), /* @__PURE__ */ l("button", {
292
+ onClick: () => H("total"),
293
+ className: r("rounded-md border px-4 py-2 text-sm", V === "total" ? "border-foreground bg-foreground text-background" : "border-border-subtle text-text-primary hover:bg-bg-sunken"),
292
294
  children: "Total Budget"
293
295
  })]
294
296
  })] }),
295
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ d("label", {
297
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ u("label", {
296
298
  className: "block text-sm font-medium text-text-primary mb-1.5",
297
- children: [z === "daily" ? "Daily" : "Total", " Budget (USD)"]
298
- }), /* @__PURE__ */ u("input", {
299
+ children: [V === "daily" ? "Daily" : "Total", " Budget (USD)"]
300
+ }), /* @__PURE__ */ l("input", {
299
301
  type: "number",
300
- value: V,
301
- onChange: (e) => H(e.target.value),
302
+ value: U,
303
+ onChange: (e) => W(e.target.value),
302
304
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
303
305
  })] }),
304
- /* @__PURE__ */ d("div", {
306
+ /* @__PURE__ */ u("div", {
305
307
  className: "grid grid-cols-2 gap-4",
306
- children: [/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
308
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
307
309
  className: "block text-sm font-medium text-text-primary mb-1.5",
308
310
  children: "Start Date"
309
- }), /* @__PURE__ */ u("input", {
311
+ }), /* @__PURE__ */ l("input", {
310
312
  type: "date",
311
- value: U,
312
- onChange: (e) => W(e.target.value),
313
+ value: G,
314
+ onChange: (e) => K(e.target.value),
313
315
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
314
- })] }), /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
316
+ })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
315
317
  className: "block text-sm font-medium text-text-primary mb-1.5",
316
318
  children: "End Date"
317
- }), /* @__PURE__ */ u("input", {
319
+ }), /* @__PURE__ */ l("input", {
318
320
  type: "date",
319
- value: G,
320
- onChange: (e) => K(e.target.value),
321
+ value: q,
322
+ onChange: (e) => J(e.target.value),
321
323
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
322
324
  })] })]
323
325
  }),
324
- /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
326
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
325
327
  className: "block text-sm font-medium text-text-primary mb-1.5",
326
328
  children: "Bid Strategy"
327
- }), /* @__PURE__ */ d("select", {
328
- value: q,
329
- onChange: (e) => J(e.target.value),
329
+ }), /* @__PURE__ */ u("select", {
330
+ value: Y,
331
+ onChange: (e) => X(e.target.value),
330
332
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
331
333
  children: [
332
- /* @__PURE__ */ u("option", { children: "Maximize Conversions" }),
333
- /* @__PURE__ */ u("option", { children: "Target CPA" }),
334
- /* @__PURE__ */ u("option", { children: "Target ROAS" }),
335
- /* @__PURE__ */ u("option", { children: "Lowest Cost" }),
336
- /* @__PURE__ */ u("option", { children: "Manual CPC" })
334
+ /* @__PURE__ */ l("option", { children: "Maximize Conversions" }),
335
+ /* @__PURE__ */ l("option", { children: "Target CPA" }),
336
+ /* @__PURE__ */ l("option", { children: "Target ROAS" }),
337
+ /* @__PURE__ */ l("option", { children: "Lowest Cost" }),
338
+ /* @__PURE__ */ l("option", { children: "Manual CPC" })
337
339
  ]
338
340
  })] })
339
341
  ]
340
342
  }),
341
- S === "review" && /* @__PURE__ */ d("div", {
342
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6 space-y-5 max-w-2xl",
343
- children: [/* @__PURE__ */ u("h3", {
343
+ w === "review" && /* @__PURE__ */ u(d, {
344
+ className: "p-6 space-y-5 max-w-2xl",
345
+ children: [/* @__PURE__ */ l("h3", {
344
346
  className: "text-sm font-semibold text-text-primary",
345
347
  children: "Campaign Summary"
346
- }), /* @__PURE__ */ d("div", {
348
+ }), /* @__PURE__ */ u("div", {
347
349
  className: "space-y-3",
348
350
  children: [
349
- /* @__PURE__ */ d("div", {
351
+ /* @__PURE__ */ u("div", {
350
352
  className: "flex justify-between border-b border-border-subtle pb-2",
351
- children: [/* @__PURE__ */ u("span", {
353
+ children: [/* @__PURE__ */ l("span", {
352
354
  className: "text-sm text-text-secondary",
353
355
  children: "Name"
354
- }), /* @__PURE__ */ u("span", {
356
+ }), /* @__PURE__ */ l("span", {
355
357
  className: "text-sm font-medium text-text-primary",
356
- children: w || "(Not set)"
358
+ children: E || "(Not set)"
357
359
  })]
358
360
  }),
359
- /* @__PURE__ */ d("div", {
361
+ /* @__PURE__ */ u("div", {
360
362
  className: "flex justify-between border-b border-border-subtle pb-2",
361
- children: [/* @__PURE__ */ u("span", {
363
+ children: [/* @__PURE__ */ l("span", {
362
364
  className: "text-sm text-text-secondary",
363
365
  children: "Platform"
364
- }), /* @__PURE__ */ u("span", {
366
+ }), /* @__PURE__ */ l("span", {
365
367
  className: "text-sm font-medium text-text-primary capitalize",
366
- children: E.replace("_", " ")
368
+ children: O.replace("_", " ")
367
369
  })]
368
370
  }),
369
- /* @__PURE__ */ d("div", {
371
+ /* @__PURE__ */ u("div", {
370
372
  className: "flex justify-between border-b border-border-subtle pb-2",
371
- children: [/* @__PURE__ */ u("span", {
373
+ children: [/* @__PURE__ */ l("span", {
372
374
  className: "text-sm text-text-secondary",
373
375
  children: "Objective"
374
- }), /* @__PURE__ */ u("span", {
376
+ }), /* @__PURE__ */ l("span", {
375
377
  className: "text-sm font-medium text-text-primary",
376
- children: O || "(Not set)"
378
+ children: A || "(Not set)"
377
379
  })]
378
380
  }),
379
- /* @__PURE__ */ d("div", {
381
+ /* @__PURE__ */ u("div", {
380
382
  className: "flex justify-between border-b border-border-subtle pb-2",
381
- children: [/* @__PURE__ */ u("span", {
383
+ children: [/* @__PURE__ */ l("span", {
382
384
  className: "text-sm text-text-secondary",
383
385
  children: "Target Ages"
384
- }), /* @__PURE__ */ u("span", {
386
+ }), /* @__PURE__ */ l("span", {
385
387
  className: "text-sm font-medium text-text-primary",
386
- children: Array.from(j).join(", ") || "(Not set)"
388
+ children: Array.from(N).join(", ") || "(Not set)"
387
389
  })]
388
390
  }),
389
- /* @__PURE__ */ d("div", {
391
+ /* @__PURE__ */ u("div", {
390
392
  className: "flex justify-between border-b border-border-subtle pb-2",
391
- children: [/* @__PURE__ */ u("span", {
393
+ children: [/* @__PURE__ */ l("span", {
392
394
  className: "text-sm text-text-secondary",
393
395
  children: "Gender"
394
- }), /* @__PURE__ */ u("span", {
396
+ }), /* @__PURE__ */ l("span", {
395
397
  className: "text-sm font-medium text-text-primary",
396
- children: N
398
+ children: F
397
399
  })]
398
400
  }),
399
- /* @__PURE__ */ d("div", {
401
+ /* @__PURE__ */ u("div", {
400
402
  className: "flex justify-between border-b border-border-subtle pb-2",
401
- children: [/* @__PURE__ */ u("span", {
403
+ children: [/* @__PURE__ */ l("span", {
402
404
  className: "text-sm text-text-secondary",
403
405
  children: "Locations"
404
- }), /* @__PURE__ */ u("span", {
406
+ }), /* @__PURE__ */ l("span", {
405
407
  className: "text-sm font-medium text-text-primary",
406
- children: F || "(Not set)"
408
+ children: L || "(Not set)"
407
409
  })]
408
410
  }),
409
- /* @__PURE__ */ d("div", {
411
+ /* @__PURE__ */ u("div", {
410
412
  className: "flex justify-between border-b border-border-subtle pb-2",
411
- children: [/* @__PURE__ */ u("span", {
413
+ children: [/* @__PURE__ */ l("span", {
412
414
  className: "text-sm text-text-secondary",
413
415
  children: "Interests"
414
- }), /* @__PURE__ */ u("span", {
416
+ }), /* @__PURE__ */ l("span", {
415
417
  className: "text-sm font-medium text-text-primary",
416
- children: Array.from(L).join(", ") || "(Not set)"
418
+ children: Array.from(z).join(", ") || "(Not set)"
417
419
  })]
418
420
  }),
419
- /* @__PURE__ */ d("div", {
421
+ /* @__PURE__ */ u("div", {
420
422
  className: "flex justify-between border-b border-border-subtle pb-2",
421
- children: [/* @__PURE__ */ u("span", {
423
+ children: [/* @__PURE__ */ l("span", {
422
424
  className: "text-sm text-text-secondary",
423
425
  children: "Budget"
424
- }), /* @__PURE__ */ d("span", {
426
+ }), /* @__PURE__ */ u("span", {
425
427
  className: "text-sm font-medium text-text-primary",
426
428
  children: [
427
429
  "$",
428
- V,
430
+ U,
429
431
  " (",
430
- z,
432
+ V,
431
433
  ")"
432
434
  ]
433
435
  })]
434
436
  }),
435
- /* @__PURE__ */ d("div", {
437
+ /* @__PURE__ */ u("div", {
436
438
  className: "flex justify-between border-b border-border-subtle pb-2",
437
- children: [/* @__PURE__ */ u("span", {
439
+ children: [/* @__PURE__ */ l("span", {
438
440
  className: "text-sm text-text-secondary",
439
441
  children: "Schedule"
440
- }), /* @__PURE__ */ u("span", {
442
+ }), /* @__PURE__ */ l("span", {
441
443
  className: "text-sm font-medium text-text-primary",
442
- children: U && G ? `${U} to ${G}` : "(Not set)"
444
+ children: G && q ? `${G} to ${q}` : "(Not set)"
443
445
  })]
444
446
  }),
445
- /* @__PURE__ */ d("div", {
447
+ /* @__PURE__ */ u("div", {
446
448
  className: "flex justify-between",
447
- children: [/* @__PURE__ */ u("span", {
449
+ children: [/* @__PURE__ */ l("span", {
448
450
  className: "text-sm text-text-secondary",
449
451
  children: "Bid Strategy"
450
- }), /* @__PURE__ */ u("span", {
452
+ }), /* @__PURE__ */ l("span", {
451
453
  className: "text-sm font-medium text-text-primary",
452
- children: q
454
+ children: Y
453
455
  })]
454
456
  })
455
457
  ]
456
458
  })]
457
459
  }),
458
- $ && /* @__PURE__ */ u("div", {
460
+ $ && /* @__PURE__ */ l("div", {
459
461
  className: "max-w-2xl rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
460
462
  children: $
461
463
  }),
462
- /* @__PURE__ */ d("div", {
464
+ /* @__PURE__ */ u("div", {
463
465
  className: "flex items-center justify-between max-w-2xl",
464
- children: [/* @__PURE__ */ u("button", {
465
- onClick: ne,
466
- disabled: Z === 0,
467
- className: r("rounded-md border border-border-subtle px-4 py-2 text-sm font-medium", Z === 0 ? "opacity-50 cursor-not-allowed text-text-secondary" : "text-text-primary hover:bg-bg-sunken"),
466
+ children: [/* @__PURE__ */ l("button", {
467
+ onClick: ie,
468
+ disabled: Q === 0,
469
+ className: r("rounded-md border border-border-subtle px-4 py-2 text-sm font-medium", Q === 0 ? "opacity-50 cursor-not-allowed text-text-secondary" : "text-text-primary hover:bg-bg-sunken"),
468
470
  children: "Previous"
469
- }), Z < f.length - 1 ? /* @__PURE__ */ u("button", {
470
- onClick: Q,
471
+ }), Q < p.length - 1 ? /* @__PURE__ */ l("button", {
472
+ onClick: re,
471
473
  className: "rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90",
472
474
  children: "Next"
473
- }) : /* @__PURE__ */ u("button", {
474
- onClick: ie,
475
- disabled: v,
475
+ }) : /* @__PURE__ */ l("button", {
476
+ onClick: oe,
477
+ disabled: b,
476
478
  className: "rounded-md bg-foreground px-6 py-2 text-sm font-medium text-background hover:bg-foreground/90 disabled:opacity-60",
477
- children: v ? "Creating..." : "Create Campaign"
479
+ children: b ? "Creating..." : "Create Campaign"
478
480
  })]
479
481
  })
480
482
  ]
481
483
  });
482
484
  };
483
485
  //#endregion
484
- export { _ as CreateAdCampaignPage };
486
+ export { v as CreateAdCampaignPage };
485
487
 
486
488
  //# sourceMappingURL=CreateAdCampaignPage.js.map