magic-editor-x 1.5.1 → 2.0.0

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 (97) hide show
  1. package/CHANGELOG.md +268 -0
  2. package/LICENSE +1 -7
  3. package/README.md +317 -1078
  4. package/dist/admin/ConfigurationPage-B1uCIE3J.js +767 -0
  5. package/dist/admin/ConfigurationPage-DvAifELO.mjs +767 -0
  6. package/dist/admin/CustomBlocksPage-6-OQwpXQ.mjs +1741 -0
  7. package/dist/admin/CustomBlocksPage-6eWCOreU.js +1743 -0
  8. package/dist/admin/EditorField-DocyD2Q3.js +5506 -0
  9. package/dist/admin/EditorField-ThSoOCPm.mjs +5471 -0
  10. package/dist/admin/api-B-RsxJCs.js +34 -0
  11. package/dist/admin/api-C4XsDZxd.mjs +35 -0
  12. package/dist/admin/de-B8XFFhHh.js +95 -0
  13. package/dist/admin/de-BMxADn2Z.mjs +231 -0
  14. package/dist/admin/de-DBR893G4.js +13 -0
  15. package/dist/admin/de-DcDPRzV4.js +155 -0
  16. package/dist/admin/de-Dx7vUW0Z.js +231 -0
  17. package/dist/admin/de-RAxzvrwm.mjs +95 -0
  18. package/dist/admin/de-fBFh09Wl.mjs +13 -0
  19. package/dist/admin/de-n5V6c5RT.mjs +155 -0
  20. package/dist/admin/en-BQ5Pxe2o.mjs +231 -0
  21. package/dist/admin/en-BqNm3nMQ.mjs +155 -0
  22. package/dist/admin/en-BzfyifEU.mjs +95 -0
  23. package/dist/admin/en-D-DGftl0.js +155 -0
  24. package/dist/admin/en-D9Nfccux.mjs +13 -0
  25. package/dist/admin/en-DcWUTE2J.js +95 -0
  26. package/dist/admin/en-gueRT44P.js +13 -0
  27. package/dist/admin/en-sNn4z9lA.js +231 -0
  28. package/dist/admin/es-B0Zy8DVg.mjs +13 -0
  29. package/dist/admin/es-B6NYq0VH.mjs +231 -0
  30. package/dist/admin/es-BOtVc9qv.js +95 -0
  31. package/dist/admin/es-C2OJVYkV.mjs +95 -0
  32. package/dist/admin/es-DRGs7meF.js +13 -0
  33. package/dist/admin/es-DVsXnS0N.js +231 -0
  34. package/dist/admin/es-Di0pyQCh.js +155 -0
  35. package/dist/admin/es-SzeTV4q8.mjs +155 -0
  36. package/dist/admin/fr-B8rdLAIL.js +13 -0
  37. package/dist/admin/fr-Bpo5Uq1f.mjs +95 -0
  38. package/dist/admin/fr-D6F--jIB.js +155 -0
  39. package/dist/admin/fr-DfxKaOc_.js +95 -0
  40. package/dist/admin/fr-DhgPYHIH.mjs +155 -0
  41. package/dist/admin/fr-DmG3_Cn-.mjs +231 -0
  42. package/dist/admin/fr-Fwxcj4SM.js +231 -0
  43. package/dist/admin/fr-oiUb2bb_.mjs +13 -0
  44. package/dist/admin/index-CwfaB5-e.js +155 -0
  45. package/dist/admin/index-D1Q5Rlt6.mjs +156 -0
  46. package/dist/admin/index.js +3 -2
  47. package/dist/admin/index.mjs +1 -1
  48. package/dist/admin/pt-B3Jce6uT.mjs +13 -0
  49. package/dist/admin/pt-BPo0ex21.js +155 -0
  50. package/dist/admin/pt-BbdwHlWF.mjs +231 -0
  51. package/dist/admin/pt-BiWuSBcH.js +13 -0
  52. package/dist/admin/pt-BvSl1btT.mjs +155 -0
  53. package/dist/admin/pt-C6nr71Yw.js +231 -0
  54. package/dist/admin/pt-DqCXuI4S.mjs +95 -0
  55. package/dist/admin/pt-LCvjwk0y.js +95 -0
  56. package/dist/admin/sanitize-9UVcXFfc.js +552 -0
  57. package/dist/admin/sanitize-D4kfZ_ly.mjs +551 -0
  58. package/dist/admin/useT-B5M49wGH.js +130 -0
  59. package/dist/admin/useT-CjX6fL2m.mjs +131 -0
  60. package/dist/server/index.js +4531 -39542
  61. package/dist/server/index.mjs +4534 -39527
  62. package/package.json +111 -74
  63. package/strapi-admin.js +3 -0
  64. package/strapi-server.js +3 -0
  65. package/COPYRIGHT_NOTICE.txt +0 -20
  66. package/dist/_chunks/App-DImBvISP.js +0 -2146
  67. package/dist/_chunks/App-iNfbV7cz.mjs +0 -2143
  68. package/dist/_chunks/CustomBlocksPage-COPOZ2-_.mjs +0 -1517
  69. package/dist/_chunks/CustomBlocksPage-Cj-0TTUs.js +0 -1519
  70. package/dist/_chunks/LicensePage-CmvILX9m.js +0 -393
  71. package/dist/_chunks/LicensePage-gLRoo8WJ.mjs +0 -391
  72. package/dist/_chunks/LiveCollaborationPanel-BFybu8h0.js +0 -222
  73. package/dist/_chunks/LiveCollaborationPanel-CVgl4IyR.mjs +0 -220
  74. package/dist/_chunks/Settings-ButYcfrm.mjs +0 -438
  75. package/dist/_chunks/Settings-BzGqgrxD.js +0 -440
  76. package/dist/_chunks/de-C_0Mj-Zo.mjs +0 -296
  77. package/dist/_chunks/de-DVNVpAt9.js +0 -296
  78. package/dist/_chunks/en-B7AAf1ie.mjs +0 -296
  79. package/dist/_chunks/en-C2hv5GsA.js +0 -296
  80. package/dist/_chunks/es-BzJqcIST.js +0 -274
  81. package/dist/_chunks/es-zdP8sd-f.mjs +0 -274
  82. package/dist/_chunks/fr-CtAgOgH1.mjs +0 -274
  83. package/dist/_chunks/fr-D3GwqAAJ.js +0 -274
  84. package/dist/_chunks/getTranslation-BADoesEn.js +0 -57807
  85. package/dist/_chunks/getTranslation-D3h3Z3gU.mjs +0 -57791
  86. package/dist/_chunks/index-BXBnwuRw.js +0 -2158
  87. package/dist/_chunks/index-BvEdg518.mjs +0 -2159
  88. package/dist/_chunks/index-DDFAuQNT.js +0 -6955
  89. package/dist/_chunks/index-DEi6nwfM.mjs +0 -6933
  90. package/dist/_chunks/pt-BmUw6YMP.mjs +0 -274
  91. package/dist/_chunks/pt-CFo0nTbj.js +0 -274
  92. package/dist/_chunks/tools-BXzd0lx5.mjs +0 -2265
  93. package/dist/_chunks/tools-Q0uwDS9E.js +0 -2296
  94. package/dist/style.css +0 -1103
  95. package/pics/collab-magiceditorX.png +0 -0
  96. package/pics/editorX.png +0 -0
  97. package/pics/liveCollabwidget1.png +0 -0
@@ -1,393 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const m = require("react");
5
- const admin = require("@strapi/strapi/admin");
6
- const getTranslation = require("./getTranslation-BADoesEn.js");
7
- const styled = require("styled-components");
8
- const index = require("./index-BXBnwuRw.js");
9
- const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
10
- const styled__default = /* @__PURE__ */ _interopDefault(styled);
11
- const Container = styled__default.default(getTranslation.R)`
12
- padding: 32px;
13
- max-width: 1400px;
14
- margin: 0 auto;
15
- `;
16
- const Header = styled__default.default(getTranslation.R)`
17
- text-align: center;
18
- margin-bottom: 48px;
19
- display: flex;
20
- flex-direction: column;
21
- align-items: center;
22
- gap: 8px;
23
- `;
24
- const Title = styled__default.default(getTranslation.I)`
25
- font-size: 2.5rem;
26
- font-weight: 700;
27
- margin-bottom: 8px;
28
- background: linear-gradient(135deg, #7C3AED, #6d28d9);
29
- -webkit-background-clip: text;
30
- -webkit-text-fill-color: transparent;
31
- display: block;
32
- `;
33
- const Subtitle = styled__default.default(getTranslation.I)`
34
- font-size: 1.125rem;
35
- color: ${(props) => props.theme.colors.neutral600};
36
- line-height: 1.6;
37
- display: block;
38
- `;
39
- const TierGrid = styled__default.default(getTranslation.T)`
40
- gap: 32px;
41
- margin: 0 auto 48px;
42
- max-width: 1080px;
43
- justify-content: center;
44
- flex-wrap: wrap;
45
- align-items: stretch;
46
- `;
47
- const TierWrapper = styled__default.default(getTranslation.R)`
48
- flex: 1;
49
- min-width: 280px;
50
- max-width: 340px;
51
- display: flex;
52
- `;
53
- const TierCard = styled__default.default(getTranslation.R)`
54
- background: ${(props) => props.theme.colors.neutral0};
55
- border-radius: 16px;
56
- padding: 32px;
57
- border: 2px solid ${(props) => props.$featured ? "#7C3AED" : props.theme.colors.neutral200};
58
- position: relative;
59
- transition: all 0.3s ease;
60
- box-shadow: ${(props) => props.$featured ? "0 20px 25px -5px rgba(124, 58, 237, 0.25), 0 8px 10px -6px rgba(124, 58, 237, 0.2)" : "0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05)"};
61
- display: flex;
62
- flex-direction: column;
63
- width: 100%;
64
-
65
- &:hover {
66
- transform: translateY(-4px);
67
- box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
68
- }
69
- `;
70
- const PopularBadge = styled__default.default(getTranslation.Ps)`
71
- position: absolute;
72
- top: -12px;
73
- right: 24px;
74
- background: linear-gradient(135deg, #7C3AED, #6d28d9);
75
- color: white;
76
- padding: 4px 16px;
77
- font-size: 12px;
78
- font-weight: 600;
79
- `;
80
- const TierIcon = styled__default.default(getTranslation.R)`
81
- width: 48px;
82
- height: 48px;
83
- border-radius: 12px;
84
- display: flex;
85
- align-items: center;
86
- justify-content: center;
87
- margin-bottom: 16px;
88
- background: ${(props) => props.$color};
89
-
90
- svg {
91
- width: 28px;
92
- height: 28px;
93
- color: white;
94
- }
95
- `;
96
- const TierName = styled__default.default(getTranslation.I)`
97
- font-size: 1.5rem;
98
- font-weight: 700;
99
- margin-bottom: 8px;
100
- `;
101
- const TierPrice = styled__default.default(getTranslation.I)`
102
- font-size: 2rem;
103
- font-weight: 800;
104
- margin-bottom: 4px;
105
- `;
106
- const TierDescription = styled__default.default(getTranslation.I)`
107
- color: ${(props) => props.theme.colors.neutral600};
108
- margin-bottom: 24px;
109
- `;
110
- const FeatureList = styled__default.default(getTranslation.R)`
111
- margin-bottom: 24px;
112
- flex: 1;
113
- `;
114
- const Feature = styled__default.default(getTranslation.T)`
115
- gap: 12px;
116
- margin-bottom: 12px;
117
- align-items: flex-start;
118
- `;
119
- const FeatureIcon = styled__default.default(getTranslation.R)`
120
- width: 20px;
121
- height: 20px;
122
- border-radius: 50%;
123
- display: flex;
124
- align-items: center;
125
- justify-content: center;
126
- flex-shrink: 0;
127
- margin-top: 2px;
128
-
129
- ${(props) => props.$included ? `
130
- background: #DCFCE7;
131
- svg { color: #16A34A; }
132
- ` : `
133
- background: #FEE2E2;
134
- svg { color: #DC2626; }
135
- `}
136
- `;
137
- const UpgradeButton = styled__default.default(getTranslation.zn)`
138
- width: 100%;
139
- height: 48px;
140
- font-weight: 600;
141
- font-size: 15px;
142
- background: ${(props) => props.$gradient};
143
- border: none;
144
- color: white;
145
-
146
- &:hover {
147
- transform: translateY(-2px);
148
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
149
- }
150
- `;
151
- const CurrentPlanBadge = styled__default.default(getTranslation.Ps)`
152
- width: 100%;
153
- height: 48px;
154
- display: flex;
155
- align-items: center;
156
- justify-content: center;
157
- background: ${(props) => props.theme.colors.neutral100};
158
- color: ${(props) => props.theme.colors.neutral600};
159
- font-weight: 600;
160
- font-size: 15px;
161
- `;
162
- const UsageBox = styled__default.default(getTranslation.R)`
163
- background: ${(props) => props.theme.colors.neutral100};
164
- border: 1px solid ${(props) => props.theme.colors.neutral200};
165
- border-radius: 12px;
166
- padding: 20px;
167
- margin-bottom: 32px;
168
- `;
169
- const UsageBar = styled__default.default.div`
170
- height: 8px;
171
- background: ${(props) => props.theme.colors.neutral200};
172
- border-radius: 4px;
173
- overflow: hidden;
174
- margin-top: 8px;
175
- `;
176
- const UsageProgress = styled__default.default.div`
177
- height: 100%;
178
- background: ${(props) => props.$percentage > 80 ? "#ef4444" : props.$percentage > 50 ? "#f59e0b" : "#10b981"};
179
- width: ${(props) => Math.min(props.$percentage, 100)}%;
180
- transition: width 0.3s ease;
181
- `;
182
- const LicensePage = () => {
183
- const { formatMessage } = getTranslation.useIntl();
184
- const t = (id, defaultMessage, values) => formatMessage({ id: getTranslation.getTranslation(id), defaultMessage }, values);
185
- const { get } = admin.useFetchClient();
186
- const { toggleNotification } = admin.useNotification();
187
- const [currentTier, setCurrentTier] = m.useState("free");
188
- const [limits, setLimits] = m.useState(null);
189
- const [loading, setLoading] = m.useState(true);
190
- m.useEffect(() => {
191
- fetchLicenseInfo();
192
- }, []);
193
- const fetchLicenseInfo = async () => {
194
- try {
195
- const response = await get("/magic-editor-x/license/limits");
196
- const licenseData = response.data || {};
197
- setCurrentTier(licenseData.tier || "free");
198
- setLimits(licenseData.limits);
199
- setLoading(false);
200
- } catch (error) {
201
- console.error("Failed to fetch license info:", error);
202
- setLoading(false);
203
- }
204
- };
205
- const getTierRank = (tierId) => {
206
- const ranks = {
207
- "free": 0,
208
- "premium": 1,
209
- "advanced": 2,
210
- "enterprise": 3
211
- };
212
- return ranks[tierId] || 0;
213
- };
214
- const getButtonText = (tierId) => {
215
- const currentRank = getTierRank(currentTier);
216
- const targetRank = getTierRank(tierId);
217
- if (currentRank === targetRank) {
218
- return t("upgradePage.currentPlan", "Current Plan");
219
- } else if (targetRank > currentRank) {
220
- return t("upgradePage.upgradeNow", "Upgrade Now");
221
- } else {
222
- return t("upgradePage.downgrade", "Downgrade");
223
- }
224
- };
225
- const tiers = [
226
- {
227
- id: "free",
228
- name: "FREE",
229
- price: "$0",
230
- period: "forever",
231
- description: "Perfect for small projects and testing",
232
- icon: /* @__PURE__ */ jsxRuntime.jsx(index.Sn, {}),
233
- color: "linear-gradient(135deg, #6B7280, #4B5563)",
234
- features: [
235
- { name: "Full Editor Access", included: true },
236
- { name: "All Editor Tools", included: true },
237
- { name: "2 Collaborators", included: true },
238
- { name: "3 Custom Blocks (Simple)", included: true },
239
- { name: "Real-time Sync", included: true },
240
- { name: "Embedded Entry Blocks", included: false },
241
- { name: "Block Export/Import", included: false },
242
- { name: "AI Style + Rewrite", included: false },
243
- { name: "Version History", included: false },
244
- { name: "Priority Support", included: false }
245
- ],
246
- limits: {
247
- collaborators: "2",
248
- customBlocks: "3 Simple"
249
- }
250
- },
251
- {
252
- id: "premium",
253
- name: "PREMIUM",
254
- price: "$9.90",
255
- period: "/month",
256
- description: "Enhanced collaboration for teams",
257
- icon: /* @__PURE__ */ jsxRuntime.jsx(index.C3, {}),
258
- color: "linear-gradient(135deg, #8B5CF6, #7C3AED)",
259
- featured: true,
260
- features: [
261
- { name: "Full Editor Access", included: true },
262
- { name: "All Editor Tools", included: true },
263
- { name: "10 Collaborators", included: true },
264
- { name: "10 Custom Blocks", included: true },
265
- { name: "Embedded Entry Blocks", included: true },
266
- { name: "Real-time Sync", included: true },
267
- { name: "AI Grammar + Style (10/day)", included: true },
268
- { name: "Block Export/Import", included: false },
269
- { name: "Version History", included: true },
270
- { name: "Priority Support", included: true }
271
- ],
272
- limits: {
273
- collaborators: "10",
274
- customBlocks: "10 Total"
275
- }
276
- },
277
- {
278
- id: "advanced",
279
- name: "ADVANCED",
280
- price: "$24.90",
281
- period: "/month",
282
- description: "Unlimited collaboration for enterprises",
283
- icon: /* @__PURE__ */ jsxRuntime.jsx(index.ln, {}),
284
- color: "linear-gradient(135deg, #7C3AED, #6d28d9)",
285
- features: [
286
- { name: "Full Editor Access", included: true },
287
- { name: "All Editor Tools", included: true },
288
- { name: "Unlimited Collaborators", included: true },
289
- { name: "Unlimited Custom Blocks", included: true },
290
- { name: "Embedded Entry Blocks", included: true },
291
- { name: "Block Export/Import + API", included: true },
292
- { name: "Real-time Sync", included: true },
293
- { name: "AI All Types (Unlimited)", included: true },
294
- { name: "Version History", included: true },
295
- { name: "Priority Support", included: true }
296
- ],
297
- limits: {
298
- collaborators: "Unlimited",
299
- customBlocks: "Unlimited"
300
- }
301
- }
302
- ];
303
- const handleUpgrade = (tierId) => {
304
- window.open("https://store.magicdx.dev/", "_blank");
305
- };
306
- if (loading) {
307
- return /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsx(getTranslation.T, { justifyContent: "center", alignItems: "center", style: { minHeight: "400px" }, children: /* @__PURE__ */ jsxRuntime.jsx(getTranslation.Vd, { children: t("license.loading", "Loading license information...") }) }) });
308
- }
309
- const collaboratorUsage = limits?.collaborators ? {
310
- current: limits.collaborators.current || 0,
311
- max: limits.collaborators.max,
312
- unlimited: limits.collaborators.unlimited,
313
- percentage: limits.collaborators.unlimited ? 0 : limits.collaborators.current / limits.collaborators.max * 100
314
- } : { current: 0, max: 2, unlimited: false, percentage: 0 };
315
- return /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
316
- /* @__PURE__ */ jsxRuntime.jsxs(Header, { children: [
317
- /* @__PURE__ */ jsxRuntime.jsx(Title, { variant: "alpha", children: t("upgradePage.title", "Magic Editor X") }),
318
- /* @__PURE__ */ jsxRuntime.jsx(Subtitle, { variant: "omega", children: t("upgradePage.subtitle", "Choose your plan for collaborative editing") })
319
- ] }),
320
- /* @__PURE__ */ jsxRuntime.jsxs(UsageBox, { children: [
321
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.T, { justifyContent: "space-between", alignItems: "center", children: [
322
- /* @__PURE__ */ jsxRuntime.jsx(getTranslation.I, { variant: "beta", fontWeight: "bold", children: t("upgradePage.currentUsage", "Current Usage") }),
323
- /* @__PURE__ */ jsxRuntime.jsx(getTranslation.Ps, { style: { background: currentTier === "free" ? "#6B7280" : "#7C3AED", color: "white" }, children: currentTier.toUpperCase() })
324
- ] }),
325
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.R, { marginTop: 4, children: [
326
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.T, { justifyContent: "space-between", children: [
327
- /* @__PURE__ */ jsxRuntime.jsx(getTranslation.I, { variant: "omega", children: t("upgradePage.collaborators", "Collaborators") }),
328
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.I, { variant: "omega", fontWeight: "bold", children: [
329
- collaboratorUsage.current,
330
- " / ",
331
- collaboratorUsage.unlimited ? t("license.unlimited", "Unlimited") : collaboratorUsage.max
332
- ] })
333
- ] }),
334
- !collaboratorUsage.unlimited && /* @__PURE__ */ jsxRuntime.jsx(UsageBar, { children: /* @__PURE__ */ jsxRuntime.jsx(UsageProgress, { $percentage: collaboratorUsage.percentage }) })
335
- ] })
336
- ] }),
337
- /* @__PURE__ */ jsxRuntime.jsx(TierGrid, { children: tiers.map((tier) => /* @__PURE__ */ jsxRuntime.jsx(TierWrapper, { children: /* @__PURE__ */ jsxRuntime.jsxs(TierCard, { $featured: tier.featured, children: [
338
- tier.featured && /* @__PURE__ */ jsxRuntime.jsx(PopularBadge, { children: t("upgradePage.mostPopular", "MOST POPULAR") }),
339
- /* @__PURE__ */ jsxRuntime.jsx(TierIcon, { $color: tier.color, children: tier.icon }),
340
- /* @__PURE__ */ jsxRuntime.jsx(TierName, { variant: "beta", children: tier.name }),
341
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.T, { alignItems: "baseline", gap: 1, children: [
342
- /* @__PURE__ */ jsxRuntime.jsx(TierPrice, { variant: "alpha", children: tier.price }),
343
- /* @__PURE__ */ jsxRuntime.jsx(getTranslation.I, { variant: "omega", style: { color: "#6B7280" }, children: tier.period })
344
- ] }),
345
- /* @__PURE__ */ jsxRuntime.jsx(TierDescription, { variant: "omega", children: tier.description }),
346
- /* @__PURE__ */ jsxRuntime.jsxs(
347
- getTranslation.R,
348
- {
349
- background: "neutral100",
350
- hasRadius: true,
351
- padding: 3,
352
- marginBottom: 5,
353
- children: [
354
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.I, { variant: "pi", style: { fontSize: "13px", display: "block", marginBottom: "4px" }, children: [
355
- /* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Collaborators:" }),
356
- " ",
357
- tier.limits.collaborators
358
- ] }),
359
- /* @__PURE__ */ jsxRuntime.jsxs(getTranslation.I, { variant: "pi", style: { fontSize: "13px", display: "block" }, children: [
360
- /* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Custom Blocks:" }),
361
- " ",
362
- tier.limits.customBlocks
363
- ] })
364
- ]
365
- }
366
- ),
367
- /* @__PURE__ */ jsxRuntime.jsx(FeatureList, { children: tier.features.map((feature, index$1) => /* @__PURE__ */ jsxRuntime.jsxs(Feature, { children: [
368
- /* @__PURE__ */ jsxRuntime.jsx(FeatureIcon, { $included: feature.included, children: feature.included ? /* @__PURE__ */ jsxRuntime.jsx(index.t5, { style: { width: 14, height: 14 } }) : /* @__PURE__ */ jsxRuntime.jsx(index.C5, { style: { width: 14, height: 14 } }) }),
369
- /* @__PURE__ */ jsxRuntime.jsx(
370
- getTranslation.I,
371
- {
372
- variant: "omega",
373
- textColor: feature.included ? "neutral800" : "neutral500",
374
- style: {
375
- fontSize: "14px",
376
- textDecoration: feature.included ? "none" : "line-through"
377
- },
378
- children: feature.name
379
- }
380
- )
381
- ] }, index$1)) }),
382
- currentTier === tier.id ? /* @__PURE__ */ jsxRuntime.jsx(CurrentPlanBadge, { children: t("upgradePage.currentPlan", "Current Plan") }) : /* @__PURE__ */ jsxRuntime.jsx(
383
- UpgradeButton,
384
- {
385
- $gradient: tier.color,
386
- onClick: () => handleUpgrade(tier.id),
387
- children: getButtonText(tier.id)
388
- }
389
- )
390
- ] }) }, tier.id)) })
391
- ] });
392
- };
393
- exports.default = LicensePage;