@burdenoff/microfe-headshotmarketing 2026.924.1 → 2026.924.3

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 (59) hide show
  1. package/dist/generated/wspace-operations.d.ts +129 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +162 -90
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.js +9 -7
  6. package/dist/generated/wspace-types.js.map +1 -1
  7. package/dist/headshotmarketing/HeadshotMarketingRoutes.d.ts +2 -0
  8. package/dist/headshotmarketing/HeadshotMarketingRoutes.d.ts.map +1 -1
  9. package/dist/headshotmarketing/HeadshotMarketingRoutes.js +52 -44
  10. package/dist/headshotmarketing/HeadshotMarketingRoutes.js.map +1 -1
  11. package/dist/headshotmarketing/components/InfluencerModals.d.ts +6 -0
  12. package/dist/headshotmarketing/components/InfluencerModals.d.ts.map +1 -1
  13. package/dist/headshotmarketing/components/InfluencerModals.js +431 -249
  14. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
  15. package/dist/headshotmarketing/components/index.d.ts +1 -1
  16. package/dist/headshotmarketing/components/index.d.ts.map +1 -1
  17. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.d.ts +4 -0
  18. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.d.ts.map +1 -0
  19. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +500 -0
  20. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -0
  21. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.d.ts.map +1 -1
  22. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +171 -163
  23. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  24. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.d.ts.map +1 -1
  25. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +1 -1
  26. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  27. package/dist/headshotmarketing/pages/content/ContentDetailsPage.d.ts +4 -0
  28. package/dist/headshotmarketing/pages/content/ContentDetailsPage.d.ts.map +1 -0
  29. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +206 -0
  30. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -0
  31. package/dist/headshotmarketing/pages/content/ContentLibraryCard.d.ts +2 -0
  32. package/dist/headshotmarketing/pages/content/ContentLibraryCard.d.ts.map +1 -1
  33. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +47 -34
  34. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
  35. package/dist/headshotmarketing/pages/content/ContentPage.d.ts.map +1 -1
  36. package/dist/headshotmarketing/pages/content/ContentPage.js +4 -2
  37. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  38. package/dist/headshotmarketing/pages/crm/CreateDealPage.d.ts.map +1 -1
  39. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +233 -195
  40. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.d.ts +10 -0
  42. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.d.ts.map +1 -0
  43. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js +157 -0
  44. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js.map +1 -0
  45. package/dist/headshotmarketing/pages/crm/PipelinePage.d.ts.map +1 -1
  46. package/dist/headshotmarketing/pages/crm/PipelinePage.js +87 -76
  47. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  48. package/dist/headshotmarketing/pages/crm/createPipelineForm.d.ts +34 -0
  49. package/dist/headshotmarketing/pages/crm/createPipelineForm.d.ts.map +1 -0
  50. package/dist/headshotmarketing/pages/crm/createPipelineForm.js +49 -0
  51. package/dist/headshotmarketing/pages/crm/createPipelineForm.js.map +1 -0
  52. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.d.ts.map +1 -1
  53. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +150 -135
  54. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/influencers/createInfluencerForm.d.ts +53 -0
  56. package/dist/headshotmarketing/pages/influencers/createInfluencerForm.d.ts.map +1 -0
  57. package/dist/headshotmarketing/pages/influencers/createInfluencerForm.js +107 -0
  58. package/dist/headshotmarketing/pages/influencers/createInfluencerForm.js.map +1 -0
  59. package/package.json +1 -1
@@ -1,67 +1,67 @@
1
1
  import { cn as e, formatNumber as t, formatPercentage as n } from "../../utils/helpers.js";
2
2
  import { HeadshotmarketingInfluencerRelationshipStatus as r } from "../../../generated/wspace-types.js";
3
3
  import { PageLayout as i } from "../../components/PageLayout.js";
4
- import { EmptyState as ee } from "../../components/EmptyState.js";
5
- import { FilterBar as a } from "../../components/FilterBar.js";
6
- import { QueryStateBoundary as te } from "../../components/QueryStateBoundary.js";
7
- import { Pagination as o } from "../../components/Pagination.js";
8
- import { AddInfluencerRelationshipModal as s, InfluencerDetailsModal as c } from "../../components/InfluencerModals.js";
4
+ import { EmptyState as a } from "../../components/EmptyState.js";
5
+ import { FilterBar as o } from "../../components/FilterBar.js";
6
+ import { QueryStateBoundary as s } from "../../components/QueryStateBoundary.js";
7
+ import { Pagination as ee } from "../../components/Pagination.js";
8
+ import { AddInfluencerRelationshipModal as c, CreateInfluencerModal as l, InfluencerDetailsModal as u } from "../../components/InfluencerModals.js";
9
9
  import "../../components/index.js";
10
- import { useHeadshotmarketingBootstrap as l } from "../../hooks/useHeadshotmarketingBootstrap.js";
11
- import { usePagination as u } from "../../hooks/usePagination.js";
12
- import { toInfluencerModel as d } from "../../utils/influencerMapper.js";
13
- import { useEffect as f, useMemo as p, useState as m } from "react";
14
- import { Eye as h, Mail as ne, MapPin as re, Star as ie } from "lucide-react";
15
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
16
- import { EmphasisPanel as y, PagePurpose as b } from "@burdenoff/fe-libs/ui";
10
+ import { useHeadshotmarketingBootstrap as d } from "../../hooks/useHeadshotmarketingBootstrap.js";
11
+ import { usePagination as f } from "../../hooks/usePagination.js";
12
+ import { toInfluencerModel as p } from "../../utils/influencerMapper.js";
13
+ import { useEffect as m, useMemo as h, useState as g } from "react";
14
+ import { Eye as te, Mail as _, MapPin as v, Plus as y, Star as b } from "lucide-react";
15
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
16
+ import { EmphasisPanel as ne, PagePurpose as re } from "@burdenoff/fe-libs/ui";
17
17
  //#region src/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.tsx
18
- var x = {
18
+ var ie = {
19
19
  nano: "bg-status-info-bg text-status-info-text",
20
20
  micro: "bg-status-success-bg text-status-success-text",
21
21
  macro: "bg-status-warning-bg text-status-warning-text",
22
22
  mega: "bg-status-error-bg text-status-error-text"
23
- }, S = {
23
+ }, ae = {
24
24
  instagram: "bg-[var(--color-accent-soft)] text-action-primary-bg",
25
25
  facebook: "bg-status-info-bg text-status-info-text",
26
26
  twitter: "bg-status-info-bg text-status-info-text",
27
27
  linkedin: "bg-status-info-bg text-status-info-text",
28
28
  youtube: "bg-status-error-bg text-status-error-text",
29
29
  tiktok: "bg-bg-sunken text-text-secondary"
30
- }, C = () => {
31
- let { data: C, loading: w, error: T, refetch: E } = l(), [D, O] = m(""), [k, A] = m("all"), [j, M] = m("all"), [N, P] = m("all"), [F, I] = m(""), [L, R] = m(""), [z, B] = m(null), [V, H] = m(null), { page: U, pageSize: W, offset: G, total: K, setPage: q, setPageSize: J, setTotal: Y } = u({ initialPageSize: 12 }), X = p(() => {
30
+ }, w = () => {
31
+ let { data: w, loading: T, error: E, refetch: D } = d(), [O, k] = g(""), [A, j] = g("all"), [M, N] = g("all"), [P, F] = g("all"), [I, L] = g(""), [R, z] = g(""), [B, V] = g(null), [H, U] = g(null), [W, G] = g(!1), { page: K, pageSize: q, offset: J, total: oe, setPage: se, setPageSize: ce, setTotal: Y } = f({ initialPageSize: 12 }), X = h(() => {
32
32
  let e = {};
33
- for (let t of C?.headshotmarketingInfluencerRelationships.items ?? []) e[t.influencerId] = {
33
+ for (let t of w?.headshotmarketingInfluencerRelationships.items ?? []) e[t.influencerId] = {
34
34
  rating: t.rating ?? 0,
35
35
  totalCampaigns: t.totalCampaigns ?? 0
36
36
  };
37
37
  return e;
38
- }, [C?.headshotmarketingInfluencerRelationships.items]), Z = p(() => (C?.headshotmarketingInfluencers.items ?? []).map((e) => d(e, X)), [C?.headshotmarketingInfluencers.items, X]), ae = p(() => Object.keys(X), [X]), oe = p(() => {
38
+ }, [w?.headshotmarketingInfluencerRelationships.items]), Z = h(() => (w?.headshotmarketingInfluencers.items ?? []).map((e) => p(e, X)), [w?.headshotmarketingInfluencers.items, X]), le = h(() => Object.keys(X), [X]), ue = h(() => {
39
39
  let e = /* @__PURE__ */ new Set();
40
40
  return Z.forEach((t) => t.niche.forEach((t) => e.add(t))), Array.from(e).sort();
41
- }, [Z]), Q = p(() => {
41
+ }, [Z]), Q = h(() => {
42
42
  let e = [...Z];
43
- if (D) {
44
- let t = D.toLowerCase();
43
+ if (O) {
44
+ let t = O.toLowerCase();
45
45
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.handle.toLowerCase().includes(t) || e.niche.some((e) => e.toLowerCase().includes(t)));
46
46
  }
47
- k !== "all" && (e = e.filter((e) => e.tier === k)), j !== "all" && (e = e.filter((e) => e.platforms.some((e) => e === j))), N !== "all" && (e = e.filter((e) => e.niche.includes(N)));
48
- let t = Number(F);
49
- F !== "" && Number.isFinite(t) && (e = e.filter((e) => e.followers >= t));
50
- let n = Number(L);
51
- return L !== "" && Number.isFinite(n) && (e = e.filter((e) => e.engagementRate >= n)), e;
47
+ A !== "all" && (e = e.filter((e) => e.tier === A)), M !== "all" && (e = e.filter((e) => e.platforms.some((e) => e === M))), P !== "all" && (e = e.filter((e) => e.niche.includes(P)));
48
+ let t = Number(I);
49
+ I !== "" && Number.isFinite(t) && (e = e.filter((e) => e.followers >= t));
50
+ let n = Number(R);
51
+ return R !== "" && Number.isFinite(n) && (e = e.filter((e) => e.engagementRate >= n)), e;
52
52
  }, [
53
- D,
54
- k,
55
- j,
56
- N,
57
- F,
58
- L,
53
+ O,
54
+ A,
55
+ M,
56
+ P,
57
+ I,
58
+ R,
59
59
  Z
60
60
  ]);
61
- f(() => {
61
+ m(() => {
62
62
  Y(Q.length);
63
63
  }, [Q.length, Y]);
64
- let se = Q.slice(G, G + W), $ = p(() => {
64
+ let de = Q.slice(J, J + q), $ = h(() => {
65
65
  let e = Z.reduce((e, t) => e + t.followers, 0), t = Z.length > 0 ? Z.reduce((e, t) => e + t.engagementRate, 0) / Z.length : 0, n = Z.filter((e) => X[e.id] !== void 0).length;
66
66
  return {
67
67
  total: Z.length,
@@ -70,281 +70,296 @@ var x = {
70
70
  avgEngagement: t
71
71
  };
72
72
  }, [Z, X]);
73
- return /* @__PURE__ */ v(i, {
73
+ return /* @__PURE__ */ C(i, {
74
74
  title: "Influencer Discovery",
75
75
  description: "Find and connect with influencers for your campaigns",
76
+ actions: /* @__PURE__ */ C("button", {
77
+ onClick: () => G(!0),
78
+ className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
79
+ children: [/* @__PURE__ */ S(y, { className: "h-4 w-4" }), "Add Influencer"]
80
+ }),
76
81
  children: [
77
- /* @__PURE__ */ _(b, { children: "Find the right creators for your brand. Search and filter by tier, platform and niche to surface influencers whose audience matches yours, then reach out to start a partnership." }),
78
- /* @__PURE__ */ v(te, {
79
- loading: w,
80
- error: T,
81
- onRetry: E,
82
- hasData: !!C,
82
+ /* @__PURE__ */ S(re, { children: "Find the right creators for your brand. Search and filter by tier, platform and niche to surface influencers whose audience matches yours, then reach out to start a partnership." }),
83
+ /* @__PURE__ */ C(s, {
84
+ loading: T,
85
+ error: E,
86
+ onRetry: D,
87
+ hasData: !!w,
83
88
  children: [
84
- /* @__PURE__ */ _(y, { children: /* @__PURE__ */ v("div", {
89
+ /* @__PURE__ */ S(ne, { children: /* @__PURE__ */ C("div", {
85
90
  className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
86
91
  children: [
87
- /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
92
+ /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
88
93
  className: "text-xs text-text-secondary",
89
94
  children: "Influencers"
90
- }), /* @__PURE__ */ _("p", {
95
+ }), /* @__PURE__ */ S("p", {
91
96
  className: "text-2xl font-semibold text-text-primary",
92
97
  children: t($.total)
93
98
  })] }),
94
- /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
99
+ /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
95
100
  className: "text-xs text-text-secondary",
96
101
  children: "In Relationship"
97
- }), /* @__PURE__ */ _("p", {
102
+ }), /* @__PURE__ */ S("p", {
98
103
  className: "text-2xl font-semibold text-text-primary",
99
104
  children: t($.inRelationship)
100
105
  })] }),
101
- /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
106
+ /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
102
107
  className: "text-xs text-text-secondary",
103
108
  children: "Combined Reach"
104
- }), /* @__PURE__ */ _("p", {
109
+ }), /* @__PURE__ */ S("p", {
105
110
  className: "text-2xl font-semibold text-text-primary",
106
111
  children: t($.totalReach)
107
112
  })] }),
108
- /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
113
+ /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
109
114
  className: "text-xs text-text-secondary",
110
115
  children: "Avg Engagement"
111
- }), /* @__PURE__ */ _("p", {
116
+ }), /* @__PURE__ */ S("p", {
112
117
  className: "text-2xl font-semibold text-text-primary",
113
118
  children: n($.avgEngagement)
114
119
  })] })
115
120
  ]
116
121
  }) }),
117
- /* @__PURE__ */ _(a, {
118
- searchValue: D,
119
- onSearchChange: O,
122
+ /* @__PURE__ */ S(o, {
123
+ searchValue: O,
124
+ onSearchChange: k,
120
125
  searchPlaceholder: "Search by name, handle, or niche...",
121
- filters: /* @__PURE__ */ v(g, { children: [
122
- /* @__PURE__ */ v("select", {
123
- value: k,
124
- onChange: (e) => A(e.target.value),
126
+ filters: /* @__PURE__ */ C(x, { children: [
127
+ /* @__PURE__ */ C("select", {
128
+ value: A,
129
+ onChange: (e) => j(e.target.value),
125
130
  className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
126
131
  children: [
127
- /* @__PURE__ */ _("option", {
132
+ /* @__PURE__ */ S("option", {
128
133
  value: "all",
129
134
  children: "All Tiers"
130
135
  }),
131
- /* @__PURE__ */ _("option", {
136
+ /* @__PURE__ */ S("option", {
132
137
  value: "nano",
133
138
  children: "Nano (1K-10K)"
134
139
  }),
135
- /* @__PURE__ */ _("option", {
140
+ /* @__PURE__ */ S("option", {
136
141
  value: "micro",
137
142
  children: "Micro (10K-100K)"
138
143
  }),
139
- /* @__PURE__ */ _("option", {
144
+ /* @__PURE__ */ S("option", {
140
145
  value: "macro",
141
146
  children: "Macro (100K-500K)"
142
147
  }),
143
- /* @__PURE__ */ _("option", {
148
+ /* @__PURE__ */ S("option", {
144
149
  value: "mega",
145
150
  children: "Mega (500K+)"
146
151
  })
147
152
  ]
148
153
  }),
149
- /* @__PURE__ */ v("select", {
150
- value: j,
151
- onChange: (e) => M(e.target.value),
154
+ /* @__PURE__ */ C("select", {
155
+ value: M,
156
+ onChange: (e) => N(e.target.value),
152
157
  className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
153
158
  children: [
154
- /* @__PURE__ */ _("option", {
159
+ /* @__PURE__ */ S("option", {
155
160
  value: "all",
156
161
  children: "All Platforms"
157
162
  }),
158
- /* @__PURE__ */ _("option", {
163
+ /* @__PURE__ */ S("option", {
159
164
  value: "instagram",
160
165
  children: "Instagram"
161
166
  }),
162
- /* @__PURE__ */ _("option", {
167
+ /* @__PURE__ */ S("option", {
163
168
  value: "youtube",
164
169
  children: "YouTube"
165
170
  }),
166
- /* @__PURE__ */ _("option", {
171
+ /* @__PURE__ */ S("option", {
167
172
  value: "tiktok",
168
173
  children: "TikTok"
169
174
  }),
170
- /* @__PURE__ */ _("option", {
175
+ /* @__PURE__ */ S("option", {
171
176
  value: "linkedin",
172
177
  children: "LinkedIn"
173
178
  }),
174
- /* @__PURE__ */ _("option", {
179
+ /* @__PURE__ */ S("option", {
175
180
  value: "twitter",
176
181
  children: "Twitter"
177
182
  })
178
183
  ]
179
184
  }),
180
- /* @__PURE__ */ v("select", {
181
- value: N,
182
- onChange: (e) => P(e.target.value),
185
+ /* @__PURE__ */ C("select", {
186
+ value: P,
187
+ onChange: (e) => F(e.target.value),
183
188
  className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
184
- children: [/* @__PURE__ */ _("option", {
189
+ children: [/* @__PURE__ */ S("option", {
185
190
  value: "all",
186
191
  children: "All Niches"
187
- }), oe.map((e) => /* @__PURE__ */ _("option", {
192
+ }), ue.map((e) => /* @__PURE__ */ S("option", {
188
193
  value: e,
189
194
  children: e
190
195
  }, e))]
191
196
  }),
192
- /* @__PURE__ */ _("input", {
197
+ /* @__PURE__ */ S("input", {
193
198
  type: "number",
194
199
  min: 0,
195
200
  step: 1e3,
196
201
  inputMode: "numeric",
197
- value: F,
198
- onChange: (e) => I(e.target.value),
202
+ value: I,
203
+ onChange: (e) => L(e.target.value),
199
204
  "aria-label": "Minimum followers",
200
205
  placeholder: "Min followers",
201
206
  className: "w-36 rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary"
202
207
  }),
203
- /* @__PURE__ */ _("input", {
208
+ /* @__PURE__ */ S("input", {
204
209
  type: "number",
205
210
  min: 0,
206
211
  step: .1,
207
212
  inputMode: "decimal",
208
- value: L,
209
- onChange: (e) => R(e.target.value),
213
+ value: R,
214
+ onChange: (e) => z(e.target.value),
210
215
  "aria-label": "Minimum engagement rate, percent",
211
216
  placeholder: "Min engagement %",
212
217
  className: "w-40 rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary"
213
218
  })
214
219
  ] })
215
220
  }),
216
- /* @__PURE__ */ v("p", {
221
+ /* @__PURE__ */ C("p", {
217
222
  className: "text-sm text-text-secondary",
218
223
  children: [Q.length, " influencers found"]
219
224
  }),
220
- Q.length === 0 && /* @__PURE__ */ _(ee, {
225
+ Q.length === 0 && /* @__PURE__ */ S(a, {
221
226
  illustration: Z.length === 0 ? "empty-people" : "empty-search",
222
227
  title: Z.length === 0 ? "No influencers yet" : "No influencers match your filters",
223
- description: Z.length === 0 ? "Influencers will show up here as your directory fills in." : "Try a different search term, tier, platform or niche."
228
+ description: Z.length === 0 ? "Add your first influencer to start building your directory." : "Try a different search term, tier, platform or niche.",
229
+ action: Z.length === 0 ? /* @__PURE__ */ C("button", {
230
+ onClick: () => G(!0),
231
+ className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
232
+ children: [/* @__PURE__ */ S(y, { className: "h-4 w-4" }), "Add Influencer"]
233
+ }) : void 0
224
234
  }),
225
- /* @__PURE__ */ _("div", {
235
+ /* @__PURE__ */ S("div", {
226
236
  className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
227
- children: se.map((r) => /* @__PURE__ */ v("div", {
237
+ children: de.map((r) => /* @__PURE__ */ C("div", {
228
238
  className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-5 space-y-4 hover:border-foreground/30 transition-colors",
229
239
  children: [
230
- /* @__PURE__ */ v("div", {
240
+ /* @__PURE__ */ C("div", {
231
241
  className: "flex items-start gap-3",
232
- children: [/* @__PURE__ */ _("div", {
242
+ children: [/* @__PURE__ */ S("div", {
233
243
  className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-sm font-bold text-text-primary",
234
244
  children: r.name.split(" ").map((e) => e[0]).join("")
235
- }), /* @__PURE__ */ v("div", {
245
+ }), /* @__PURE__ */ C("div", {
236
246
  className: "flex-1 min-w-0",
237
247
  children: [
238
- /* @__PURE__ */ _("div", {
248
+ /* @__PURE__ */ S("div", {
239
249
  className: "flex items-center gap-1.5",
240
- children: /* @__PURE__ */ _("h3", {
250
+ children: /* @__PURE__ */ S("h3", {
241
251
  className: "text-sm font-semibold text-text-primary truncate",
242
252
  children: r.name
243
253
  })
244
254
  }),
245
- /* @__PURE__ */ _("p", {
255
+ /* @__PURE__ */ S("p", {
246
256
  className: "text-xs text-text-secondary",
247
257
  children: r.handle
248
258
  }),
249
- /* @__PURE__ */ v("div", {
259
+ /* @__PURE__ */ C("div", {
250
260
  className: "flex items-center gap-1 mt-0.5 text-xs text-text-secondary",
251
- children: [/* @__PURE__ */ _(re, { className: "h-3 w-3" }), r.location]
261
+ children: [/* @__PURE__ */ S(v, { className: "h-3 w-3" }), r.location]
252
262
  })
253
263
  ]
254
264
  })]
255
265
  }),
256
- /* @__PURE__ */ v("div", {
266
+ /* @__PURE__ */ C("div", {
257
267
  className: "flex items-center gap-2 flex-wrap",
258
268
  children: [
259
- /* @__PURE__ */ _("span", {
260
- className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", x[r.tier]),
269
+ /* @__PURE__ */ S("span", {
270
+ className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", ie[r.tier]),
261
271
  children: r.tier
262
272
  }),
263
- r.platforms.map((t) => /* @__PURE__ */ _("span", {
264
- className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", S[t]),
273
+ r.platforms.map((t) => /* @__PURE__ */ S("span", {
274
+ className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", ae[t]),
265
275
  children: t
266
276
  }, t)),
267
- r.rating > 0 && /* @__PURE__ */ v("div", {
277
+ r.rating > 0 && /* @__PURE__ */ C("div", {
268
278
  className: "flex items-center gap-0.5 ml-auto",
269
- children: [/* @__PURE__ */ _(ie, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }), /* @__PURE__ */ _("span", {
279
+ children: [/* @__PURE__ */ S(b, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }), /* @__PURE__ */ S("span", {
270
280
  className: "text-xs font-medium text-text-primary",
271
281
  children: r.rating.toFixed(1)
272
282
  })]
273
283
  })
274
284
  ]
275
285
  }),
276
- /* @__PURE__ */ v("div", {
286
+ /* @__PURE__ */ C("div", {
277
287
  className: "grid grid-cols-2 gap-2 text-center",
278
- children: [/* @__PURE__ */ v("div", {
288
+ children: [/* @__PURE__ */ C("div", {
279
289
  className: "rounded-md bg-bg-sunken/50 py-2",
280
- children: [/* @__PURE__ */ _("p", {
290
+ children: [/* @__PURE__ */ S("p", {
281
291
  className: "text-sm font-bold text-text-primary",
282
292
  children: t(r.followers)
283
- }), /* @__PURE__ */ _("p", {
293
+ }), /* @__PURE__ */ S("p", {
284
294
  className: "text-[10px] text-text-secondary",
285
295
  children: "Followers"
286
296
  })]
287
- }), /* @__PURE__ */ v("div", {
297
+ }), /* @__PURE__ */ C("div", {
288
298
  className: "rounded-md bg-bg-sunken/50 py-2",
289
- children: [/* @__PURE__ */ _("p", {
299
+ children: [/* @__PURE__ */ S("p", {
290
300
  className: "text-sm font-bold text-text-primary",
291
301
  children: n(r.engagementRate)
292
- }), /* @__PURE__ */ _("p", {
302
+ }), /* @__PURE__ */ S("p", {
293
303
  className: "text-[10px] text-text-secondary",
294
304
  children: "Engagement rate"
295
305
  })]
296
306
  })]
297
307
  }),
298
- /* @__PURE__ */ _("div", {
308
+ /* @__PURE__ */ S("div", {
299
309
  className: "flex flex-wrap gap-1",
300
- children: r.niche.map((e) => /* @__PURE__ */ _("span", {
310
+ children: r.niche.map((e) => /* @__PURE__ */ S("span", {
301
311
  className: "rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-secondary",
302
312
  children: e
303
313
  }, e))
304
314
  }),
305
- /* @__PURE__ */ v("div", {
315
+ /* @__PURE__ */ C("div", {
306
316
  className: "flex items-center gap-2 pt-2 border-t border-border-subtle",
307
- children: [/* @__PURE__ */ v("button", {
308
- onClick: () => B(r),
317
+ children: [/* @__PURE__ */ C("button", {
318
+ onClick: () => V(r),
309
319
  className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md border border-border-subtle py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken",
310
- children: [/* @__PURE__ */ _(h, { className: "h-3 w-3" }), "View"]
311
- }), /* @__PURE__ */ v("button", {
312
- onClick: () => H(r),
320
+ children: [/* @__PURE__ */ S(te, { className: "h-3 w-3" }), "View"]
321
+ }), /* @__PURE__ */ C("button", {
322
+ onClick: () => U(r),
313
323
  className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md bg-foreground py-2 text-xs font-medium text-background hover:bg-foreground/90",
314
- children: [/* @__PURE__ */ _(ne, { className: "h-3 w-3" }), "Contact"]
324
+ children: [/* @__PURE__ */ S(_, { className: "h-3 w-3" }), "Contact"]
315
325
  })]
316
326
  })
317
327
  ]
318
328
  }, r.id))
319
329
  }),
320
- Q.length > 0 && /* @__PURE__ */ _(o, {
321
- page: U,
322
- pageSize: W,
323
- total: K,
324
- onPageChange: q,
325
- onPageSizeChange: J,
330
+ Q.length > 0 && /* @__PURE__ */ S(ee, {
331
+ page: K,
332
+ pageSize: q,
333
+ total: oe,
334
+ onPageChange: se,
335
+ onPageSizeChange: ce,
326
336
  hideWhenSinglePage: !0
327
337
  })
328
338
  ]
329
339
  }),
330
- /* @__PURE__ */ _(c, {
331
- open: !!z,
332
- onClose: () => B(null),
333
- influencer: z
340
+ /* @__PURE__ */ S(u, {
341
+ open: !!B,
342
+ onClose: () => V(null),
343
+ influencer: B
334
344
  }),
335
- /* @__PURE__ */ _(s, {
336
- open: !!V,
337
- onClose: () => H(null),
345
+ /* @__PURE__ */ S(c, {
346
+ open: !!H,
347
+ onClose: () => U(null),
338
348
  influencers: Z,
339
- existingInfluencerIds: ae,
340
- defaultInfluencerId: V?.id,
349
+ existingInfluencerIds: le,
350
+ defaultInfluencerId: H?.id,
341
351
  defaultStatus: r.Outreach,
342
- onCompleted: E
352
+ onCompleted: D
353
+ }),
354
+ /* @__PURE__ */ S(l, {
355
+ open: W,
356
+ onClose: () => G(!1),
357
+ onCompleted: D
343
358
  })
344
359
  ]
345
360
  });
346
361
  };
347
362
  //#endregion
348
- export { C as InfluencerDiscoveryPage };
363
+ export { w as InfluencerDiscoveryPage };
349
364
 
350
365
  //# sourceMappingURL=InfluencerDiscoveryPage.js.map