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