@burdenoff/microfe-headshotmarketing 2026.1124.3 → 2026.1202.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.
- package/dist/headshotmarketing/components/ActionMenu.js +1 -1
- package/dist/headshotmarketing/components/ActionMenu.js.map +1 -1
- package/dist/headshotmarketing/components/DataTable.js +33 -33
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/components/EmptyState.d.ts +15 -0
- package/dist/headshotmarketing/components/EmptyState.js +35 -15
- package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
- package/dist/headshotmarketing/components/FilterBar.js +2 -2
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
- package/dist/headshotmarketing/components/InfluencerModals.js +96 -95
- package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
- package/dist/headshotmarketing/components/Pagination.js +38 -37
- package/dist/headshotmarketing/components/Pagination.js.map +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -1
- package/dist/headshotmarketing/components/Toast.js +1 -1
- package/dist/headshotmarketing/components/Toast.js.map +1 -1
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +10 -10
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +203 -203
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +148 -148
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js +74 -73
- package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +369 -369
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js +111 -110
- package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +6 -6
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +49 -49
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +112 -112
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js +57 -57
- package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +175 -174
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js +129 -129
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +9 -9
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js +95 -94
- package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +4 -4
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +42 -41
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +132 -131
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +8 -8
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +48 -48
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +4 -3
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js +143 -142
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +79 -78
- package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +92 -92
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +143 -143
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js +3 -3
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionInspector.js +24 -23
- package/dist/headshotmarketing/pages/builder/SectionInspector.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +198 -193
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +41 -41
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +234 -229
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +134 -134
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +46 -46
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIExecutionLedger.js +29 -29
- package/dist/headshotmarketing/pages/content/AIExecutionLedger.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +3 -3
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +230 -220
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +431 -420
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +7 -7
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +2 -2
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +88 -88
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +111 -111
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +59 -59
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +86 -86
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmActions.js +93 -92
- package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +4 -4
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +63 -62
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +68 -68
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +2 -2
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +165 -165
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventDetailsPage.js +255 -250
- package/dist/headshotmarketing/pages/events/EventDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventPagePreview.js +2 -2
- package/dist/headshotmarketing/pages/events/EventPagePreview.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +70 -70
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +7 -7
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +98 -98
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +145 -140
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +286 -286
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +171 -166
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js +1 -1
- package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +2 -2
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +257 -252
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js +2 -2
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +4 -4
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +115 -115
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/package.json +6 -2
|
@@ -3,49 +3,49 @@ import { cn as r, formatCurrency as i, formatNumber as a } from "../../utils/hel
|
|
|
3
3
|
import "../../components/index.js";
|
|
4
4
|
import { PageLayout as ee } from "../../components/PageLayout.js";
|
|
5
5
|
import { useHeadshotMarketing as te } from "../../context/HeadshotMarketingContext.js";
|
|
6
|
-
import { AdPlatformChips as
|
|
7
|
-
import { AdReachEstimatePanel as
|
|
8
|
-
import { useCampaignOptions as
|
|
9
|
-
import { AD_AGE_RANGES as
|
|
10
|
-
import { useCallback as
|
|
11
|
-
import { ArrowLeft as
|
|
6
|
+
import { AdPlatformChips as ne, platformLabel as o, renderPlatformIcon as re } from "./AdPlatformChips.js";
|
|
7
|
+
import { AdReachEstimatePanel as ie } from "./AdReachEstimatePanel.js";
|
|
8
|
+
import { useCampaignOptions as ae } from "../../hooks/useCampaignOptions.js";
|
|
9
|
+
import { AD_AGE_RANGES as s, AD_BID_STRATEGIES as c, AD_CAMPAIGN_STEPS as l, AD_GENDERS as u, AD_INTEREST_OPTIONS as d, AD_OBJECTIVES as f, EMPTY_AD_CAMPAIGN_FORM as oe, buildAdCampaignInput as se, deriveDailyBudget as ce, isStepComplete as le, parseAmount as p, scheduleDays as ue, validateAdCampaignForm as de } from "./adCampaignStepper.js";
|
|
10
|
+
import { useCallback as fe, useEffect as pe, useRef as me, useState as m } from "react";
|
|
11
|
+
import { ArrowLeft as h, CalendarDays as he, Check as ge, Rocket as _e, Save as ve, Sparkles as ye, Target as be, Users as xe, Wallet as Se } from "lucide-react";
|
|
12
12
|
import { useSearchParams as Ce } from "react-router";
|
|
13
13
|
import { Fragment as we, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
14
|
-
import { EmphasisPanel as v, GlassCard as Te, PagePurpose as Ee } from "@burdenoff/fe-libs/ui";
|
|
14
|
+
import { EmphasisPanel as v, GlassCard as Te, PagePurpose as Ee, ThemedSelect as y } from "@burdenoff/fe-libs/ui";
|
|
15
15
|
// src/headshotmarketing/pages/ads/CreateAdCampaignPage.tsx
|
|
16
|
-
var
|
|
17
|
-
let { navigate: v, basePath:
|
|
18
|
-
...
|
|
19
|
-
audienceId:
|
|
20
|
-
campaignId:
|
|
21
|
-
}), [z,
|
|
22
|
-
id:
|
|
23
|
-
name:
|
|
24
|
-
} : null), B =
|
|
16
|
+
var b = "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)] disabled:opacity-60", x = (e) => r("min-h-9 rounded-full border px-3 py-1.5 text-sm transition-colors", e ? "border-action-primary-bg bg-action-primary-bg text-action-primary-text" : "border-border-subtle text-text-primary hover:bg-bg-sunken"), S = (e) => `ad-create-step-${e}`, C = () => {
|
|
17
|
+
let { navigate: v, basePath: S } = te(), [C] = Ce(), O = C.get("audienceId"), k = C.get("audienceName"), A = C.get("campaignId"), De = C.get("campaignName"), [Oe, { loading: j, error: ke }] = t(), [Ae, M] = m(null), [N, P] = m(null), [F, I] = m("platform"), [L, R] = m({
|
|
18
|
+
...oe,
|
|
19
|
+
audienceId: O ?? "",
|
|
20
|
+
campaignId: A ?? ""
|
|
21
|
+
}), [z, je] = m(A ? {
|
|
22
|
+
id: A,
|
|
23
|
+
name: De || "Selected campaign"
|
|
24
|
+
} : null), B = ae(z), Me = (e) => {
|
|
25
25
|
let t = B.options.find((t) => t.id === e) ?? null;
|
|
26
|
-
|
|
26
|
+
je(t), R((e) => ({
|
|
27
27
|
...e,
|
|
28
28
|
campaignId: t?.id ?? ""
|
|
29
29
|
}));
|
|
30
|
-
}, V =
|
|
30
|
+
}, V = me({}), H = (e, t) => R((n) => ({
|
|
31
31
|
...n,
|
|
32
32
|
[e]: t
|
|
33
33
|
})), U = (e, t) => R((n) => ({
|
|
34
34
|
...n,
|
|
35
35
|
[e]: n[e].includes(t) ? n[e].filter((e) => e !== t) : [...n[e], t]
|
|
36
|
-
})), { data:
|
|
36
|
+
})), { data: Ne, loading: W } = n({
|
|
37
37
|
variables: {
|
|
38
38
|
limit: 200,
|
|
39
39
|
offset: 0,
|
|
40
40
|
search: null
|
|
41
41
|
},
|
|
42
42
|
errorPolicy: "all"
|
|
43
|
-
}), G =
|
|
43
|
+
}), G = Ne?.headshotmarketingAudiences.items ?? [], K = G.find((e) => e.id === L.audienceId) ?? (L.audienceId && k ? {
|
|
44
44
|
id: L.audienceId,
|
|
45
|
-
name:
|
|
45
|
+
name: k,
|
|
46
46
|
estimatedSize: null
|
|
47
47
|
} : null);
|
|
48
|
-
|
|
48
|
+
pe(() => {
|
|
49
49
|
if (typeof IntersectionObserver > "u") return;
|
|
50
50
|
let e = new IntersectionObserver((e) => {
|
|
51
51
|
let t = e.filter((e) => e.isIntersecting).sort((e, t) => e.boundingClientRect.top - t.boundingClientRect.top)[0]?.target.getAttribute("data-step");
|
|
@@ -57,34 +57,34 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
57
57
|
for (let t of Object.values(V.current)) t && e.observe(t);
|
|
58
58
|
return () => e.disconnect();
|
|
59
59
|
}, []);
|
|
60
|
-
let q =
|
|
60
|
+
let q = fe((e) => {
|
|
61
61
|
I(e), V.current[e]?.scrollIntoView({
|
|
62
62
|
behavior: "smooth",
|
|
63
63
|
block: "start"
|
|
64
64
|
});
|
|
65
65
|
}, []), J = (e) => (t) => {
|
|
66
66
|
t && (V.current[e] = t);
|
|
67
|
-
}, Y = p(L.dailyBudget), X = p(L.totalBudget), Z =
|
|
68
|
-
let n =
|
|
67
|
+
}, Y = p(L.dailyBudget), X = p(L.totalBudget), Z = ue(L), Q = async (t) => {
|
|
68
|
+
let n = de(L);
|
|
69
69
|
if (n) M(n.message), q(n.step);
|
|
70
70
|
else {
|
|
71
71
|
M(null), P(t);
|
|
72
72
|
try {
|
|
73
|
-
await
|
|
74
|
-
variables: { input:
|
|
73
|
+
await Oe({
|
|
74
|
+
variables: { input: se(L, t) },
|
|
75
75
|
refetchQueries: [{
|
|
76
76
|
query: e,
|
|
77
77
|
variables: { limit: 200 }
|
|
78
78
|
}],
|
|
79
79
|
awaitRefetchQueries: !0
|
|
80
|
-
}), v(
|
|
80
|
+
}), v(S + "/ads/campaigns");
|
|
81
81
|
} catch (e) {
|
|
82
82
|
M(e instanceof Error ? e.message : "Failed to create ad campaign.");
|
|
83
83
|
} finally {
|
|
84
84
|
P(null);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
}, $ =
|
|
87
|
+
}, $ = Ae ?? ke?.message ?? null, Pe = l.findIndex((e) => e.key === F);
|
|
88
88
|
return /* @__PURE__ */ _(ee, {
|
|
89
89
|
title: "Create Ad Campaign",
|
|
90
90
|
header: /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ _("nav", {
|
|
@@ -93,7 +93,7 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
93
93
|
children: [
|
|
94
94
|
/* @__PURE__ */ g("button", {
|
|
95
95
|
type: "button",
|
|
96
|
-
onClick: () => v(
|
|
96
|
+
onClick: () => v(S + "/ads/campaigns"),
|
|
97
97
|
className: "text-action-primary-bg hover:underline",
|
|
98
98
|
children: "Ads"
|
|
99
99
|
}),
|
|
@@ -116,7 +116,7 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
116
116
|
children: /* @__PURE__ */ g("ol", {
|
|
117
117
|
className: "flex min-w-max items-center gap-2",
|
|
118
118
|
children: l.map((e, t) => {
|
|
119
|
-
let n =
|
|
119
|
+
let n = le(e.key, L), i = e.key === F;
|
|
120
120
|
return /* @__PURE__ */ _("li", {
|
|
121
121
|
className: "flex items-center gap-2",
|
|
122
122
|
children: [/* @__PURE__ */ _("button", {
|
|
@@ -130,7 +130,7 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
130
130
|
}), e.label]
|
|
131
131
|
}), t < l.length - 1 && /* @__PURE__ */ g("span", {
|
|
132
132
|
"aria-hidden": "true",
|
|
133
|
-
className: r("h-0.5 w-10 rounded-full sm:w-20", t <
|
|
133
|
+
className: r("h-0.5 w-10 rounded-full sm:w-20", t < Pe || n ? "bg-action-primary-bg" : "bg-border-subtle")
|
|
134
134
|
})]
|
|
135
135
|
}, e.key);
|
|
136
136
|
})
|
|
@@ -141,13 +141,13 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
141
141
|
children: [/* @__PURE__ */ _("div", {
|
|
142
142
|
className: "min-w-0 space-y-6",
|
|
143
143
|
children: [
|
|
144
|
-
/* @__PURE__ */ _(
|
|
144
|
+
/* @__PURE__ */ _(w, {
|
|
145
145
|
step: "platform",
|
|
146
146
|
index: 1,
|
|
147
147
|
title: "Platform",
|
|
148
148
|
register: J("platform"),
|
|
149
149
|
children: [
|
|
150
|
-
/* @__PURE__ */ g(
|
|
150
|
+
/* @__PURE__ */ g(T, {
|
|
151
151
|
label: "Campaign name",
|
|
152
152
|
htmlFor: "ad-name",
|
|
153
153
|
children: /* @__PURE__ */ g("input", {
|
|
@@ -156,17 +156,17 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
156
156
|
value: L.name,
|
|
157
157
|
onChange: (e) => H("name", e.target.value),
|
|
158
158
|
placeholder: "e.g., Search - Brand Terms",
|
|
159
|
-
className:
|
|
159
|
+
className: b
|
|
160
160
|
})
|
|
161
161
|
}),
|
|
162
|
-
/* @__PURE__ */ g(
|
|
162
|
+
/* @__PURE__ */ g(T, {
|
|
163
163
|
label: "Platform",
|
|
164
|
-
children: /* @__PURE__ */ g(
|
|
164
|
+
children: /* @__PURE__ */ g(ne, {
|
|
165
165
|
value: L.platform,
|
|
166
166
|
onChange: (e) => H("platform", e)
|
|
167
167
|
})
|
|
168
168
|
}),
|
|
169
|
-
/* @__PURE__ */ g(
|
|
169
|
+
/* @__PURE__ */ g(T, {
|
|
170
170
|
label: "Platform campaign ID",
|
|
171
171
|
optional: !0,
|
|
172
172
|
htmlFor: "ad-platform-campaign-id",
|
|
@@ -177,35 +177,35 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
177
177
|
value: L.platformCampaignId,
|
|
178
178
|
onChange: (e) => H("platformCampaignId", e.target.value),
|
|
179
179
|
placeholder: "e.g., 120200000001",
|
|
180
|
-
className:
|
|
180
|
+
className: b
|
|
181
181
|
})
|
|
182
182
|
})
|
|
183
183
|
]
|
|
184
184
|
}),
|
|
185
|
-
/* @__PURE__ */ _(
|
|
185
|
+
/* @__PURE__ */ _(w, {
|
|
186
186
|
step: "objective",
|
|
187
187
|
index: 2,
|
|
188
188
|
title: "Objective",
|
|
189
189
|
register: J("objective"),
|
|
190
190
|
children: [
|
|
191
|
-
/* @__PURE__ */ g(
|
|
191
|
+
/* @__PURE__ */ g(T, {
|
|
192
192
|
label: "Objective",
|
|
193
193
|
htmlFor: "ad-objective",
|
|
194
|
-
children: /* @__PURE__ */ _(
|
|
194
|
+
children: /* @__PURE__ */ _(y, {
|
|
195
195
|
id: "ad-objective",
|
|
196
196
|
value: L.objective,
|
|
197
197
|
onChange: (e) => H("objective", e.target.value),
|
|
198
|
-
className:
|
|
198
|
+
className: b,
|
|
199
199
|
children: [/* @__PURE__ */ g("option", {
|
|
200
200
|
value: "",
|
|
201
201
|
children: "Select an objective"
|
|
202
|
-
}),
|
|
202
|
+
}), f.map((e) => /* @__PURE__ */ g("option", {
|
|
203
203
|
value: e,
|
|
204
204
|
children: e
|
|
205
205
|
}, e))]
|
|
206
206
|
})
|
|
207
207
|
}),
|
|
208
|
-
/* @__PURE__ */ _(
|
|
208
|
+
/* @__PURE__ */ _(T, {
|
|
209
209
|
label: "Marketing campaign",
|
|
210
210
|
optional: !0,
|
|
211
211
|
htmlFor: "ad-marketing-campaign",
|
|
@@ -220,13 +220,13 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
220
220
|
placeholder: "Search campaigns…",
|
|
221
221
|
value: B.search,
|
|
222
222
|
onChange: (e) => B.setSearch(e.target.value),
|
|
223
|
-
className: r(
|
|
224
|
-
}), /* @__PURE__ */ _(
|
|
223
|
+
className: r(b, "sm:max-w-xs")
|
|
224
|
+
}), /* @__PURE__ */ _(y, {
|
|
225
225
|
id: "ad-marketing-campaign",
|
|
226
226
|
"data-testid": "ad-marketing-campaign",
|
|
227
227
|
value: L.campaignId,
|
|
228
|
-
onChange: (e) =>
|
|
229
|
-
className:
|
|
228
|
+
onChange: (e) => Me(e.target.value),
|
|
229
|
+
className: b,
|
|
230
230
|
children: [/* @__PURE__ */ g("option", {
|
|
231
231
|
value: "",
|
|
232
232
|
children: B.loading && B.options.length === 0 ? "Loading campaigns…" : "Not linked to a marketing campaign"
|
|
@@ -251,7 +251,7 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
251
251
|
})
|
|
252
252
|
]
|
|
253
253
|
}),
|
|
254
|
-
/* @__PURE__ */ g(
|
|
254
|
+
/* @__PURE__ */ g(T, {
|
|
255
255
|
label: "Description",
|
|
256
256
|
optional: !0,
|
|
257
257
|
htmlFor: "ad-description",
|
|
@@ -261,12 +261,12 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
261
261
|
onChange: (e) => H("description", e.target.value),
|
|
262
262
|
rows: 3,
|
|
263
263
|
placeholder: "Describe your campaign goals...",
|
|
264
|
-
className: r(
|
|
264
|
+
className: r(b, "resize-none")
|
|
265
265
|
})
|
|
266
266
|
})
|
|
267
267
|
]
|
|
268
268
|
}),
|
|
269
|
-
/* @__PURE__ */ _(
|
|
269
|
+
/* @__PURE__ */ _(w, {
|
|
270
270
|
step: "budget",
|
|
271
271
|
index: 3,
|
|
272
272
|
title: "Budget",
|
|
@@ -274,7 +274,7 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
274
274
|
children: [
|
|
275
275
|
/* @__PURE__ */ _("div", {
|
|
276
276
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
277
|
-
children: [/* @__PURE__ */ g(
|
|
277
|
+
children: [/* @__PURE__ */ g(T, {
|
|
278
278
|
label: "Daily budget (USD)",
|
|
279
279
|
htmlFor: "ad-daily-budget",
|
|
280
280
|
children: /* @__PURE__ */ g("input", {
|
|
@@ -284,9 +284,9 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
284
284
|
value: L.dailyBudget,
|
|
285
285
|
onChange: (e) => H("dailyBudget", e.target.value),
|
|
286
286
|
placeholder: "500",
|
|
287
|
-
className:
|
|
287
|
+
className: b
|
|
288
288
|
})
|
|
289
|
-
}), /* @__PURE__ */ g(
|
|
289
|
+
}), /* @__PURE__ */ g(T, {
|
|
290
290
|
label: "Total budget (USD)",
|
|
291
291
|
htmlFor: "ad-total-budget",
|
|
292
292
|
children: /* @__PURE__ */ g("input", {
|
|
@@ -296,28 +296,28 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
296
296
|
value: L.totalBudget,
|
|
297
297
|
onChange: (e) => H("totalBudget", e.target.value),
|
|
298
298
|
placeholder: "15000",
|
|
299
|
-
className:
|
|
299
|
+
className: b
|
|
300
300
|
})
|
|
301
301
|
})]
|
|
302
302
|
}),
|
|
303
303
|
/* @__PURE__ */ _("div", {
|
|
304
304
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
305
|
-
children: [/* @__PURE__ */ g(
|
|
305
|
+
children: [/* @__PURE__ */ g(T, {
|
|
306
306
|
label: "Bid strategy",
|
|
307
307
|
htmlFor: "ad-bid-strategy",
|
|
308
|
-
children: /* @__PURE__ */ g(
|
|
308
|
+
children: /* @__PURE__ */ g(y, {
|
|
309
309
|
id: "ad-bid-strategy",
|
|
310
310
|
value: L.bidStrategy,
|
|
311
311
|
onChange: (e) => H("bidStrategy", e.target.value),
|
|
312
|
-
className:
|
|
313
|
-
children:
|
|
312
|
+
className: b,
|
|
313
|
+
children: c.map((e) => /* @__PURE__ */ g("option", {
|
|
314
314
|
value: e,
|
|
315
315
|
children: e
|
|
316
316
|
}, e))
|
|
317
317
|
})
|
|
318
318
|
}), /* @__PURE__ */ _("div", {
|
|
319
319
|
className: "grid grid-cols-2 gap-3",
|
|
320
|
-
children: [/* @__PURE__ */ g(
|
|
320
|
+
children: [/* @__PURE__ */ g(T, {
|
|
321
321
|
label: "Start date",
|
|
322
322
|
htmlFor: "ad-start-date",
|
|
323
323
|
children: /* @__PURE__ */ g("input", {
|
|
@@ -325,9 +325,9 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
325
325
|
type: "date",
|
|
326
326
|
value: L.startDate,
|
|
327
327
|
onChange: (e) => H("startDate", e.target.value),
|
|
328
|
-
className:
|
|
328
|
+
className: b
|
|
329
329
|
})
|
|
330
|
-
}), /* @__PURE__ */ g(
|
|
330
|
+
}), /* @__PURE__ */ g(T, {
|
|
331
331
|
label: "End date",
|
|
332
332
|
htmlFor: "ad-end-date",
|
|
333
333
|
children: /* @__PURE__ */ g("input", {
|
|
@@ -335,7 +335,7 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
335
335
|
type: "date",
|
|
336
336
|
value: L.endDate,
|
|
337
337
|
onChange: (e) => H("endDate", e.target.value),
|
|
338
|
-
className:
|
|
338
|
+
className: b
|
|
339
339
|
})
|
|
340
340
|
})]
|
|
341
341
|
})]
|
|
@@ -346,23 +346,23 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
346
346
|
})
|
|
347
347
|
]
|
|
348
348
|
}),
|
|
349
|
-
/* @__PURE__ */ _(
|
|
349
|
+
/* @__PURE__ */ _(w, {
|
|
350
350
|
step: "audience",
|
|
351
351
|
index: 4,
|
|
352
352
|
title: "Audience",
|
|
353
353
|
register: J("audience"),
|
|
354
354
|
children: [
|
|
355
|
-
/* @__PURE__ */ g(
|
|
355
|
+
/* @__PURE__ */ g(T, {
|
|
356
356
|
label: "Saved audience",
|
|
357
357
|
optional: !0,
|
|
358
358
|
htmlFor: "ad-audience",
|
|
359
359
|
hint: "Attach an audience you saved earlier, or set the targeting manually below.",
|
|
360
|
-
children: /* @__PURE__ */ _(
|
|
360
|
+
children: /* @__PURE__ */ _(y, {
|
|
361
361
|
id: "ad-audience",
|
|
362
362
|
value: L.audienceId,
|
|
363
363
|
onChange: (e) => H("audienceId", e.target.value),
|
|
364
364
|
disabled: W,
|
|
365
|
-
className:
|
|
365
|
+
className: b,
|
|
366
366
|
children: [/* @__PURE__ */ g("option", {
|
|
367
367
|
value: "",
|
|
368
368
|
children: W ? "Loading audiences…" : "No saved audience — target manually below"
|
|
@@ -372,20 +372,20 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
372
372
|
}, e.id))]
|
|
373
373
|
})
|
|
374
374
|
}),
|
|
375
|
-
/* @__PURE__ */ g(
|
|
375
|
+
/* @__PURE__ */ g(T, {
|
|
376
376
|
label: "Age range",
|
|
377
377
|
children: /* @__PURE__ */ g("div", {
|
|
378
378
|
className: "flex flex-wrap gap-2",
|
|
379
|
-
children:
|
|
379
|
+
children: s.map((e) => /* @__PURE__ */ g("button", {
|
|
380
380
|
type: "button",
|
|
381
381
|
"aria-pressed": L.ages.includes(e),
|
|
382
382
|
onClick: () => U("ages", e),
|
|
383
|
-
className:
|
|
383
|
+
className: x(L.ages.includes(e)),
|
|
384
384
|
children: e
|
|
385
385
|
}, e))
|
|
386
386
|
})
|
|
387
387
|
}),
|
|
388
|
-
/* @__PURE__ */ g(
|
|
388
|
+
/* @__PURE__ */ g(T, {
|
|
389
389
|
label: "Gender",
|
|
390
390
|
children: /* @__PURE__ */ g("div", {
|
|
391
391
|
className: "flex flex-wrap gap-2",
|
|
@@ -393,12 +393,12 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
393
393
|
type: "button",
|
|
394
394
|
"aria-pressed": L.gender === e,
|
|
395
395
|
onClick: () => H("gender", e),
|
|
396
|
-
className:
|
|
396
|
+
className: x(L.gender === e),
|
|
397
397
|
children: e
|
|
398
398
|
}, e))
|
|
399
399
|
})
|
|
400
400
|
}),
|
|
401
|
-
/* @__PURE__ */ g(
|
|
401
|
+
/* @__PURE__ */ g(T, {
|
|
402
402
|
label: "Locations",
|
|
403
403
|
htmlFor: "ad-locations",
|
|
404
404
|
children: /* @__PURE__ */ g("input", {
|
|
@@ -407,25 +407,25 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
407
407
|
value: L.locations,
|
|
408
408
|
onChange: (e) => H("locations", e.target.value),
|
|
409
409
|
placeholder: "Enter locations (comma-separated)",
|
|
410
|
-
className:
|
|
410
|
+
className: b
|
|
411
411
|
})
|
|
412
412
|
}),
|
|
413
|
-
/* @__PURE__ */ g(
|
|
413
|
+
/* @__PURE__ */ g(T, {
|
|
414
414
|
label: "Interests",
|
|
415
415
|
children: /* @__PURE__ */ g("div", {
|
|
416
416
|
className: "flex flex-wrap gap-2",
|
|
417
|
-
children:
|
|
417
|
+
children: d.map((e) => /* @__PURE__ */ g("button", {
|
|
418
418
|
type: "button",
|
|
419
419
|
"aria-pressed": L.interests.includes(e),
|
|
420
420
|
onClick: () => U("interests", e),
|
|
421
|
-
className:
|
|
421
|
+
className: x(L.interests.includes(e)),
|
|
422
422
|
children: e
|
|
423
423
|
}, e))
|
|
424
424
|
})
|
|
425
425
|
})
|
|
426
426
|
]
|
|
427
427
|
}),
|
|
428
|
-
/* @__PURE__ */ g(
|
|
428
|
+
/* @__PURE__ */ g(w, {
|
|
429
429
|
step: "review",
|
|
430
430
|
index: 5,
|
|
431
431
|
title: "Review",
|
|
@@ -433,47 +433,47 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
433
433
|
children: /* @__PURE__ */ _("div", {
|
|
434
434
|
className: "space-y-3",
|
|
435
435
|
children: [
|
|
436
|
-
/* @__PURE__ */ g(
|
|
436
|
+
/* @__PURE__ */ g(E, {
|
|
437
437
|
label: "Name",
|
|
438
438
|
value: L.name || "(Not set)"
|
|
439
439
|
}),
|
|
440
|
-
/* @__PURE__ */ g(
|
|
440
|
+
/* @__PURE__ */ g(E, {
|
|
441
441
|
label: "Platform",
|
|
442
|
-
value:
|
|
442
|
+
value: o(L.platform)
|
|
443
443
|
}),
|
|
444
|
-
/* @__PURE__ */ g(
|
|
444
|
+
/* @__PURE__ */ g(E, {
|
|
445
445
|
label: "Platform campaign ID",
|
|
446
446
|
value: L.platformCampaignId.trim() || "Not linked"
|
|
447
447
|
}),
|
|
448
|
-
/* @__PURE__ */ g(
|
|
448
|
+
/* @__PURE__ */ g(E, {
|
|
449
449
|
label: "Marketing campaign",
|
|
450
450
|
value: z?.name ?? "Not linked"
|
|
451
451
|
}),
|
|
452
|
-
/* @__PURE__ */ g(
|
|
452
|
+
/* @__PURE__ */ g(E, {
|
|
453
453
|
label: "Objective",
|
|
454
454
|
value: L.objective || "(Not set)"
|
|
455
455
|
}),
|
|
456
|
-
/* @__PURE__ */ g(
|
|
456
|
+
/* @__PURE__ */ g(E, {
|
|
457
457
|
label: "Daily budget",
|
|
458
458
|
value: Y ? i(Y) : "Not set"
|
|
459
459
|
}),
|
|
460
|
-
/* @__PURE__ */ g(
|
|
460
|
+
/* @__PURE__ */ g(E, {
|
|
461
461
|
label: "Total budget",
|
|
462
462
|
value: X ? i(X) : "Not set"
|
|
463
463
|
}),
|
|
464
|
-
/* @__PURE__ */ g(
|
|
464
|
+
/* @__PURE__ */ g(E, {
|
|
465
465
|
label: "Bid strategy",
|
|
466
466
|
value: L.bidStrategy
|
|
467
467
|
}),
|
|
468
|
-
/* @__PURE__ */ g(
|
|
468
|
+
/* @__PURE__ */ g(E, {
|
|
469
469
|
label: "Schedule",
|
|
470
470
|
value: L.startDate && L.endDate ? `${L.startDate} to ${L.endDate}` : "(Not set)"
|
|
471
471
|
}),
|
|
472
|
-
/* @__PURE__ */ g(
|
|
472
|
+
/* @__PURE__ */ g(E, {
|
|
473
473
|
label: "Audience",
|
|
474
474
|
value: K?.name ?? "Manual targeting"
|
|
475
475
|
}),
|
|
476
|
-
/* @__PURE__ */ g(
|
|
476
|
+
/* @__PURE__ */ g(E, {
|
|
477
477
|
label: "Targeting",
|
|
478
478
|
value: [
|
|
479
479
|
L.ages.join(", "),
|
|
@@ -494,9 +494,9 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
494
494
|
]
|
|
495
495
|
}), /* @__PURE__ */ _("aside", {
|
|
496
496
|
className: "h-fit space-y-4 lg:sticky lg:top-20",
|
|
497
|
-
children: [/* @__PURE__ */ g(
|
|
497
|
+
children: [/* @__PURE__ */ g(ie, {
|
|
498
498
|
audienceId: L.audienceId || null,
|
|
499
|
-
dailyBudget:
|
|
499
|
+
dailyBudget: ce(L),
|
|
500
500
|
platform: L.platform
|
|
501
501
|
}), /* @__PURE__ */ _(Te, {
|
|
502
502
|
treatment: "insight",
|
|
@@ -542,24 +542,24 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
542
542
|
/* @__PURE__ */ _("dl", {
|
|
543
543
|
className: "space-y-3 text-sm",
|
|
544
544
|
children: [
|
|
545
|
-
/* @__PURE__ */ g(
|
|
546
|
-
icon:
|
|
545
|
+
/* @__PURE__ */ g(D, {
|
|
546
|
+
icon: re(L.platform, "h-4 w-4 shrink-0"),
|
|
547
547
|
label: "Platform",
|
|
548
|
-
value:
|
|
548
|
+
value: o(L.platform)
|
|
549
549
|
}),
|
|
550
|
-
/* @__PURE__ */ g(
|
|
550
|
+
/* @__PURE__ */ g(D, {
|
|
551
551
|
icon: /* @__PURE__ */ g(be, { className: "h-4 w-4 shrink-0" }),
|
|
552
552
|
label: "Objective",
|
|
553
553
|
value: L.objective || "Not set",
|
|
554
554
|
muted: !L.objective
|
|
555
555
|
}),
|
|
556
|
-
/* @__PURE__ */ g(
|
|
556
|
+
/* @__PURE__ */ g(D, {
|
|
557
557
|
icon: /* @__PURE__ */ g(Se, { className: "h-4 w-4 shrink-0" }),
|
|
558
558
|
label: "Budget",
|
|
559
559
|
value: Y ? `${i(Y)} / day` : X ? `${i(X)} total` : "Not set",
|
|
560
560
|
muted: !Y && !X
|
|
561
561
|
}),
|
|
562
|
-
/* @__PURE__ */ g(
|
|
562
|
+
/* @__PURE__ */ g(D, {
|
|
563
563
|
icon: /* @__PURE__ */ g(he, { className: "h-4 w-4 shrink-0" }),
|
|
564
564
|
label: "Schedule",
|
|
565
565
|
value: Z ? `${Z} day${Z === 1 ? "" : "s"}` : "Not set",
|
|
@@ -575,9 +575,9 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
575
575
|
className: "sticky bottom-0 z-10 -mx-1 flex flex-wrap items-center justify-between gap-3 border-t border-border-seam bg-bg-canvas/95 px-1 py-4 backdrop-blur",
|
|
576
576
|
children: [/* @__PURE__ */ _("button", {
|
|
577
577
|
type: "button",
|
|
578
|
-
onClick: () => v(
|
|
578
|
+
onClick: () => v(S + "/ads/campaigns"),
|
|
579
579
|
className: "inline-flex min-h-11 items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
|
|
580
|
-
children: [/* @__PURE__ */ g(
|
|
580
|
+
children: [/* @__PURE__ */ g(h, { className: "h-4 w-4" }), "Back"]
|
|
581
581
|
}), /* @__PURE__ */ _("div", {
|
|
582
582
|
className: "flex items-center gap-2",
|
|
583
583
|
children: [/* @__PURE__ */ _("button", {
|
|
@@ -597,16 +597,16 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
597
597
|
})
|
|
598
598
|
]
|
|
599
599
|
});
|
|
600
|
-
},
|
|
601
|
-
id:
|
|
600
|
+
}, w = ({ step: e, index: t, title: n, register: r, children: i }) => /* @__PURE__ */ g("section", {
|
|
601
|
+
id: S(e),
|
|
602
602
|
"data-step": e,
|
|
603
603
|
ref: r,
|
|
604
|
-
"aria-labelledby": `${
|
|
604
|
+
"aria-labelledby": `${S(e)}-title`,
|
|
605
605
|
className: "scroll-mt-24",
|
|
606
606
|
children: /* @__PURE__ */ _(v, {
|
|
607
607
|
className: "space-y-5 p-6",
|
|
608
608
|
children: [/* @__PURE__ */ _("h2", {
|
|
609
|
-
id: `${
|
|
609
|
+
id: `${S(e)}-title`,
|
|
610
610
|
className: "flex items-center gap-2 text-base font-semibold text-text-primary",
|
|
611
611
|
children: [/* @__PURE__ */ g("span", {
|
|
612
612
|
className: "flex h-6 w-6 items-center justify-center rounded-full bg-bg-sunken text-xs text-text-secondary",
|
|
@@ -614,12 +614,12 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
614
614
|
}), n]
|
|
615
615
|
}), i]
|
|
616
616
|
})
|
|
617
|
-
}),
|
|
617
|
+
}), T = ({ label: e, htmlFor: t, optional: n, hint: r, children: i }) => /* @__PURE__ */ _("div", { children: [
|
|
618
618
|
/* @__PURE__ */ _("label", {
|
|
619
619
|
htmlFor: t,
|
|
620
620
|
className: "mb-1.5 block text-sm font-medium text-text-primary",
|
|
621
621
|
children: [e, n && /* @__PURE__ */ g("span", {
|
|
622
|
-
className: "
|
|
622
|
+
className: "ms-1 font-normal text-text-secondary",
|
|
623
623
|
children: "(optional)"
|
|
624
624
|
})]
|
|
625
625
|
}),
|
|
@@ -628,25 +628,25 @@ var y = "w-full rounded-md border border-border-subtle bg-bg-surface px-4 py-2.5
|
|
|
628
628
|
className: "mt-1.5 text-xs text-text-secondary",
|
|
629
629
|
children: r
|
|
630
630
|
})
|
|
631
|
-
] }),
|
|
631
|
+
] }), E = ({ label: e, value: t, last: n }) => /* @__PURE__ */ _("div", {
|
|
632
632
|
className: r("flex justify-between gap-4", !n && "border-b border-border-subtle pb-2"),
|
|
633
633
|
children: [/* @__PURE__ */ g("span", {
|
|
634
634
|
className: "text-sm text-text-secondary",
|
|
635
635
|
children: e
|
|
636
636
|
}), /* @__PURE__ */ g("span", {
|
|
637
|
-
className: "text-
|
|
637
|
+
className: "text-end text-sm font-medium text-text-primary",
|
|
638
638
|
children: t
|
|
639
639
|
})]
|
|
640
|
-
}),
|
|
640
|
+
}), D = ({ icon: e, label: t, value: n, muted: i }) => /* @__PURE__ */ _("div", {
|
|
641
641
|
className: "flex items-center justify-between gap-3",
|
|
642
642
|
children: [/* @__PURE__ */ _("dt", {
|
|
643
643
|
className: "flex items-center gap-2 text-text-secondary",
|
|
644
644
|
children: [e, /* @__PURE__ */ g("span", { children: t })]
|
|
645
645
|
}), /* @__PURE__ */ g("dd", {
|
|
646
|
-
className: r("truncate text-
|
|
646
|
+
className: r("truncate text-end font-medium", i ? "text-text-secondary" : "text-text-primary"),
|
|
647
647
|
children: n
|
|
648
648
|
})]
|
|
649
649
|
});
|
|
650
|
-
export {
|
|
650
|
+
export { C as CreateAdCampaignPage };
|
|
651
651
|
|
|
652
652
|
//# sourceMappingURL=CreateAdCampaignPage.js.map
|