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