@fasttrack-solutions/rewards 1.55.0 → 1.63.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.
@@ -0,0 +1,667 @@
1
+ //#region src/data/mock-cms.ts
2
+ var e = [
3
+ {
4
+ WheelID: 1,
5
+ TokenID: 9001,
6
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 2880 * 60 * 1e3)).toISOString(),
7
+ ExpireDate: new Date(Date.now() + 1440 * 60 * 1e3).toISOString()
8
+ },
9
+ {
10
+ WheelID: 1,
11
+ TokenID: 9002,
12
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 720 * 60 * 1e3)).toISOString(),
13
+ ExpireDate: new Date(Date.now() + 2880 * 60 * 1e3).toISOString()
14
+ },
15
+ {
16
+ WheelID: 2,
17
+ TokenID: 9003,
18
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 7200 * 60 * 1e3)).toISOString(),
19
+ ExpireDate: new Date(Date.now() + 4320 * 60 * 1e3).toISOString()
20
+ }
21
+ ], t = [
22
+ {
23
+ ID: 101,
24
+ Name: "Weekend Warrior",
25
+ ChallengeUserID: 2001,
26
+ ImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/starburst0000000.jpg",
27
+ Appearance: {
28
+ ChallengeImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/starburst0000000.jpg",
29
+ TitleAvailable: "Weekend Warrior",
30
+ CTAAvailable: "Start Challenge",
31
+ TitleInProgress: "Keep Going!",
32
+ CTAInProgress: "View Progress",
33
+ CTALabel: "Let's Go",
34
+ CTAUrl: "https://example.com",
35
+ CTAOpenInNewTab: !1,
36
+ TitleCompletionPending: "Almost there!",
37
+ CTACompletionPending: "Claim Reward",
38
+ PopupBody: "Play 50 rounds on any slot this weekend.",
39
+ TermsMode: "custom",
40
+ BonusTermsSource: "",
41
+ CustomTerms: "Valid Saturday-Sunday only."
42
+ },
43
+ Tasks: [{
44
+ ID: 301,
45
+ Name: "Play 50 Rounds",
46
+ UserTaskID: 4001,
47
+ RequirementType: "casino_count",
48
+ RequirementConfig: "{}",
49
+ Amount: 50,
50
+ Progress: 0,
51
+ CompletedAt: "0001-01-01T00:00:00Z",
52
+ Milestones: [
53
+ {
54
+ ID: 1,
55
+ TaskID: 301,
56
+ UserTaskMilestoneID: 1,
57
+ Name: "10 Rounds",
58
+ ProgressRequired: 10,
59
+ CompletedAt: (/* @__PURE__ */ new Date()).toISOString()
60
+ },
61
+ {
62
+ ID: 2,
63
+ TaskID: 301,
64
+ UserTaskMilestoneID: 2,
65
+ Name: "25 Rounds",
66
+ ProgressRequired: 25,
67
+ CompletedAt: (/* @__PURE__ */ new Date()).toISOString()
68
+ },
69
+ {
70
+ ID: 3,
71
+ TaskID: 301,
72
+ UserTaskMilestoneID: 3,
73
+ Name: "50 Rounds",
74
+ ProgressRequired: 50,
75
+ CompletedAt: "0001-01-01T00:00:00Z"
76
+ }
77
+ ]
78
+ }],
79
+ CompletedAt: "0001-01-01T00:00:00Z",
80
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 2880 * 60 * 1e3)).toISOString(),
81
+ ExpiresAt: new Date(Date.now() + 7200 * 60 * 1e3).toISOString(),
82
+ Rewards: [
83
+ "€50 Bonus + 20 Free Spins",
84
+ "Mystery Box",
85
+ "€5 Cash"
86
+ ]
87
+ },
88
+ {
89
+ ID: 102,
90
+ Name: "High Roller",
91
+ ChallengeUserID: 2002,
92
+ ImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/eldorado00000000.jpg",
93
+ Appearance: {
94
+ ChallengeImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/eldorado00000000.jpg",
95
+ TitleAvailable: "High Roller Challenge",
96
+ CTAAvailable: "Accept",
97
+ TitleInProgress: "Wager to Win",
98
+ CTAInProgress: "Check Progress",
99
+ CTALabel: "",
100
+ CTAUrl: "",
101
+ CTAOpenInNewTab: !1,
102
+ TitleCompletionPending: "Challenge Complete!",
103
+ CTACompletionPending: "Get Reward",
104
+ PopupBody: "Wager €500 on table games to earn a bonus.",
105
+ TermsMode: "custom",
106
+ BonusTermsSource: "",
107
+ CustomTerms: "Table games only. Min bet €5."
108
+ },
109
+ Tasks: [{
110
+ ID: 302,
111
+ Name: "Wager €500",
112
+ UserTaskID: 4002,
113
+ RequirementType: "wager",
114
+ RequirementConfig: "{}",
115
+ Amount: 500,
116
+ Progress: 125,
117
+ CompletedAt: "0001-01-01T00:00:00Z",
118
+ Milestones: []
119
+ }],
120
+ CompletedAt: "0001-01-01T00:00:00Z",
121
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 1440 * 60 * 1e3)).toISOString(),
122
+ ExpiresAt: new Date(Date.now() + 14400 * 60 * 1e3).toISOString(),
123
+ Rewards: ["€500 Bonus"]
124
+ },
125
+ {
126
+ ID: 103,
127
+ Name: "Daily Login Streak",
128
+ ChallengeUserID: 2003,
129
+ ImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/icy_realms.png",
130
+ Appearance: {
131
+ ChallengeImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/icy_realms.png",
132
+ TitleAvailable: "Login Streak",
133
+ CTAAvailable: "Join",
134
+ TitleInProgress: "Keep your streak!",
135
+ CTAInProgress: "View Streak",
136
+ CTALabel: "",
137
+ CTAUrl: "",
138
+ CTAOpenInNewTab: !1,
139
+ TitleCompletionPending: "Streak Complete!",
140
+ CTACompletionPending: "Collect",
141
+ PopupBody: "Log in 7 days in a row.",
142
+ TermsMode: "custom",
143
+ BonusTermsSource: "",
144
+ CustomTerms: "Must log in before midnight each day."
145
+ },
146
+ Tasks: [{
147
+ ID: 303,
148
+ Name: "Login 7 Days",
149
+ UserTaskID: 4003,
150
+ RequirementType: "consecutive_login",
151
+ RequirementConfig: "{}",
152
+ Amount: 7,
153
+ Progress: 5,
154
+ CompletedAt: "0001-01-01T00:00:00Z",
155
+ Milestones: [{
156
+ ID: 4,
157
+ TaskID: 303,
158
+ UserTaskMilestoneID: 4,
159
+ Name: "3-Day Streak",
160
+ ProgressRequired: 3,
161
+ CompletedAt: (/* @__PURE__ */ new Date()).toISOString()
162
+ }, {
163
+ ID: 5,
164
+ TaskID: 303,
165
+ UserTaskMilestoneID: 5,
166
+ Name: "7-Day Streak",
167
+ ProgressRequired: 7,
168
+ CompletedAt: "0001-01-01T00:00:00Z"
169
+ }]
170
+ }],
171
+ CompletedAt: "0001-01-01T00:00:00Z",
172
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 7200 * 60 * 1e3)).toISOString(),
173
+ ExpiresAt: new Date(Date.now() + 2880 * 60 * 1e3).toISOString(),
174
+ Rewards: ["Lucky Spin x2", "Daily Boost"]
175
+ },
176
+ {
177
+ ID: 104,
178
+ Name: "Spin & Win",
179
+ ChallengeUserID: 2004,
180
+ ImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/wheel-final.png",
181
+ Appearance: {
182
+ ChallengeImageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/wheel-final.png",
183
+ TitleAvailable: "Spin & Win",
184
+ CTAAvailable: "Start",
185
+ TitleInProgress: "Keep Spinning!",
186
+ CTAInProgress: "Progress",
187
+ CTALabel: "",
188
+ CTAUrl: "",
189
+ CTAOpenInNewTab: !1,
190
+ TitleCompletionPending: "You did it!",
191
+ CTACompletionPending: "Claim",
192
+ PopupBody: "Complete 100 spins to unlock a free wheel spin.",
193
+ TermsMode: "custom",
194
+ BonusTermsSource: "",
195
+ CustomTerms: "Any slot game qualifies."
196
+ },
197
+ Tasks: [{
198
+ ID: 304,
199
+ Name: "Complete 100 Spins",
200
+ UserTaskID: 4004,
201
+ RequirementType: "deposit_and_get",
202
+ RequirementConfig: "{}",
203
+ Amount: 100,
204
+ Progress: 78,
205
+ CompletedAt: "0001-01-01T00:00:00Z",
206
+ Milestones: []
207
+ }],
208
+ CompletedAt: "0001-01-01T00:00:00Z",
209
+ CreatedAt: (/* @__PURE__ */ new Date(Date.now() - 4320 * 60 * 1e3)).toISOString(),
210
+ ExpiresAt: new Date(Date.now() + 10080 * 60 * 1e3).toISOString()
211
+ }
212
+ ], n = [{
213
+ id: 1,
214
+ title: "Rewards Shop",
215
+ shopItems: [
216
+ {
217
+ variationId: 1001,
218
+ shopItemId: 1,
219
+ name: "Mystery Box",
220
+ currencyAmount: 500,
221
+ currencyId: 1,
222
+ currencyType: "coins",
223
+ description: "A mystery box containing a surprise reward!",
224
+ shortDescription: "Surprise reward inside",
225
+ termsAndConditions: "One per player per week.",
226
+ purchaseLimit: {
227
+ max: 1,
228
+ used: 0,
229
+ remaining: 1,
230
+ period: "WEEK",
231
+ resetsAt: new Date(Date.now() + 3 * 864e5).toISOString(),
232
+ timezone: "UTC"
233
+ },
234
+ enableFlip: !1,
235
+ imageUrl: "https://crm-lib.fasttrack-solutions.com/mini-games/pick-and-win/box/box-1-closed.png",
236
+ imageUrlBack: "",
237
+ displayOrder: 1
238
+ },
239
+ {
240
+ variationId: 1002,
241
+ shopItemId: 2,
242
+ name: "Free Spins Pack",
243
+ currencyAmount: 140,
244
+ originalCurrencyAmount: 200,
245
+ discount: {
246
+ percentOff: 30,
247
+ endsAt: new Date(Date.now() + 2 * 864e5).toISOString()
248
+ },
249
+ currencyId: 1,
250
+ currencyType: "coins",
251
+ description: "Get 10 free spins on selected slots.",
252
+ shortDescription: "10 free spins",
253
+ termsAndConditions: "Valid on selected games only.",
254
+ enableFlip: !1,
255
+ imageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/starburst0000000.jpg",
256
+ imageUrlBack: "",
257
+ displayOrder: 2
258
+ },
259
+ {
260
+ variationId: 1003,
261
+ shopItemId: 3,
262
+ name: "Cash Bonus",
263
+ currencyAmount: 1e3,
264
+ currencyId: 1,
265
+ currencyType: "coins",
266
+ description: "Exchange your coins for a €10 cash bonus.",
267
+ shortDescription: "€10 cash bonus",
268
+ termsAndConditions: "1x wagering requirement.",
269
+ enableFlip: !0,
270
+ imageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/CoinsOfZeus_Animation.gif",
271
+ imageUrlBack: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/05diamond.png",
272
+ displayOrder: 3
273
+ }
274
+ ]
275
+ }], r = [
276
+ {
277
+ Id: 1,
278
+ Title: "Rewards",
279
+ Icon: "rewards",
280
+ ContentType: "rewards_and_bonuses",
281
+ Order: 1,
282
+ Slug: "rewards",
283
+ ShowNotificationCount: !0
284
+ },
285
+ {
286
+ Id: 2,
287
+ Title: "Challenges",
288
+ Icon: "sports",
289
+ ContentType: "cms_page",
290
+ ContentId: 100,
291
+ Order: 2,
292
+ Slug: "challenges"
293
+ },
294
+ {
295
+ Id: 3,
296
+ Title: "Wheels",
297
+ Icon: "wheels",
298
+ ContentType: "wheels",
299
+ Order: 3,
300
+ Slug: "wheels"
301
+ },
302
+ {
303
+ Id: 4,
304
+ Title: "Shop",
305
+ Icon: "shop",
306
+ ContentType: "shop",
307
+ ContentId: 1,
308
+ Order: 4,
309
+ Slug: "shop"
310
+ },
311
+ {
312
+ Id: 5,
313
+ Title: "Promotions",
314
+ Icon: "overview",
315
+ ContentType: "cms_page",
316
+ ContentId: 200,
317
+ Order: 5,
318
+ Slug: "promotions"
319
+ }
320
+ ], i = [{
321
+ id: 100,
322
+ sections: [{
323
+ id: 1,
324
+ sectionType: "banner",
325
+ displayOrder: 1,
326
+ banner: {
327
+ imageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/image_53.png",
328
+ title: "Your Challenges"
329
+ }
330
+ }, {
331
+ id: 2,
332
+ sectionType: "challenges",
333
+ displayOrder: 2,
334
+ challenges: {
335
+ tags: [],
336
+ includeNotYetStarted: !1,
337
+ emptyState: "<p>No active challenges right now. Check back soon!</p>"
338
+ }
339
+ }]
340
+ }, {
341
+ id: 200,
342
+ sections: [
343
+ {
344
+ id: 10,
345
+ sectionType: "banner",
346
+ displayOrder: 1,
347
+ banner: {
348
+ imageUrl: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/eldorado00000000.jpg",
349
+ title: "Hot Promotions"
350
+ }
351
+ },
352
+ {
353
+ id: 11,
354
+ sectionType: "html",
355
+ displayOrder: 2,
356
+ html: { html: "<div style=\"padding: 16px; text-align: center;\"><h3>Welcome to our promotions page!</h3><p>Check out the latest offers below.</p></div>" }
357
+ },
358
+ {
359
+ id: 12,
360
+ sectionType: "bonuses",
361
+ displayOrder: 3,
362
+ bonuses: {
363
+ tags: [],
364
+ types: [],
365
+ includeClaimed: !1,
366
+ includeExpired: !1,
367
+ emptyState: "<p>No bonuses available at the moment.</p>"
368
+ }
369
+ },
370
+ {
371
+ id: 13,
372
+ sectionType: "wheels",
373
+ displayOrder: 4,
374
+ wheels: {
375
+ tags: [],
376
+ emptyState: "<p>No wheel spins available.</p>"
377
+ }
378
+ },
379
+ {
380
+ id: 15,
381
+ sectionType: "mini_games",
382
+ displayOrder: 6,
383
+ miniGames: {
384
+ tags: [],
385
+ miniGameType: "all",
386
+ includeUnclaimed: !0,
387
+ emptyState: "<p>No mini games available.</p>"
388
+ }
389
+ },
390
+ {
391
+ id: 14,
392
+ sectionType: "challenges",
393
+ displayOrder: 5,
394
+ challenges: {
395
+ tags: [],
396
+ includeNotYetStarted: !1,
397
+ emptyState: "<p>No challenges available.</p>"
398
+ }
399
+ },
400
+ {
401
+ id: 19,
402
+ sectionType: "image",
403
+ displayOrder: 7,
404
+ image: {
405
+ desktopImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='300'%3E%3Crect width='800' height='300' fill='%234a90d9'/%3E%3Ctext x='400' y='140' font-size='28' fill='white' text-anchor='middle' font-family='sans-serif'%3EDesktop Image (fillWidth%3Atrue)%3C/text%3E%3Ctext x='400' y='180' font-size='18' fill='rgba(255,255,255,0.7)' text-anchor='middle' font-family='sans-serif'%3ESwitches to mobile image below 768px%3C/text%3E%3C/svg%3E",
406
+ mobileImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Crect width='400' height='300' fill='%23e05c4a'/%3E%3Ctext x='200' y='140' font-size='24' fill='white' text-anchor='middle' font-family='sans-serif'%3EMobile Image%3C/text%3E%3Ctext x='200' y='175' font-size='16' fill='rgba(255,255,255,0.7)' text-anchor='middle' font-family='sans-serif'%3E(visible below 768px)%3C/text%3E%3C/svg%3E",
407
+ fillWidth: !0,
408
+ imageAlignment: null
409
+ }
410
+ },
411
+ {
412
+ id: 16,
413
+ sectionType: "image",
414
+ displayOrder: 8,
415
+ image: {
416
+ desktopImageUrl: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Crect width='400' height='200' fill='%2348a85e'/%3E%3Ctext x='200' y='90' font-size='22' fill='white' text-anchor='middle' font-family='sans-serif'%3EAligned Image%3C/text%3E%3Ctext x='200' y='125' font-size='16' fill='rgba(255,255,255,0.7)' text-anchor='middle' font-family='sans-serif'%3EfillWidth%3Afalse%2C alignment%3Acenter%3C/text%3E%3C/svg%3E",
417
+ mobileImageUrl: null,
418
+ fillWidth: !1,
419
+ imageAlignment: "center"
420
+ }
421
+ },
422
+ {
423
+ id: 17,
424
+ sectionType: "shop",
425
+ displayOrder: 9,
426
+ shop: { shopPageId: 1 }
427
+ },
428
+ {
429
+ id: 18,
430
+ sectionType: "calendar",
431
+ displayOrder: 10,
432
+ calendar: { calendarId: 1 }
433
+ },
434
+ {
435
+ id: 20,
436
+ sectionType: "tournament_leaderboard",
437
+ displayOrder: 11,
438
+ tournamentLeaderboard: {
439
+ tournamentId: 1,
440
+ showHeader: !0
441
+ }
442
+ }
443
+ ]
444
+ }], a = [
445
+ {
446
+ ID: 1,
447
+ XP: 0,
448
+ Title: "Bronze",
449
+ Description: "Welcome aboard — start earning XP.",
450
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/blue10s.png"
451
+ },
452
+ {
453
+ ID: 2,
454
+ XP: 100,
455
+ Title: "Silver",
456
+ Description: "You are on your way.",
457
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/02silver.png"
458
+ },
459
+ {
460
+ ID: 3,
461
+ XP: 500,
462
+ Title: "Gold",
463
+ Description: "A seasoned player.",
464
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/CoinsOfZeus_Animation.gif"
465
+ },
466
+ {
467
+ ID: 4,
468
+ XP: 1500,
469
+ Title: "Platinum",
470
+ Description: "Among the elite.",
471
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/02silver.png"
472
+ },
473
+ {
474
+ ID: 5,
475
+ XP: 5e3,
476
+ Title: "Diamond",
477
+ Description: "The pinnacle of loyalty.",
478
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/05diamond.png"
479
+ }
480
+ ], o = [
481
+ {
482
+ id: 1,
483
+ name: "Loyalty",
484
+ tiers: a,
485
+ currentLevelId: 2,
486
+ currentXp: 50,
487
+ isPrimary: !0,
488
+ isVisible: !0
489
+ },
490
+ {
491
+ id: 2,
492
+ name: "Sports",
493
+ tiers: [
494
+ {
495
+ ID: 101,
496
+ XP: 0,
497
+ Title: "Rookie",
498
+ Description: "",
499
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/image_53.png"
500
+ },
501
+ {
502
+ ID: 102,
503
+ XP: 200,
504
+ Title: "Pro",
505
+ Description: "",
506
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/starburst0000000.jpg"
507
+ },
508
+ {
509
+ ID: 103,
510
+ XP: 800,
511
+ Title: "Legend",
512
+ Description: "",
513
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/eldorado00000000.jpg"
514
+ }
515
+ ],
516
+ currentLevelId: 102,
517
+ currentXp: 320,
518
+ isPrimary: !1,
519
+ isVisible: !0
520
+ },
521
+ {
522
+ id: 3,
523
+ name: "Casino",
524
+ tiers: [
525
+ {
526
+ ID: 201,
527
+ XP: 0,
528
+ Title: "Newcomer",
529
+ Description: "",
530
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/ai-generated-image-0.1678.jpg"
531
+ },
532
+ {
533
+ ID: 202,
534
+ XP: 300,
535
+ Title: "High Roller",
536
+ Description: "",
537
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/ai-generated-image-0.4639.jpg"
538
+ },
539
+ {
540
+ ID: 203,
541
+ XP: 1e3,
542
+ Title: "VIP",
543
+ Description: "",
544
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/wheel-final.png"
545
+ }
546
+ ],
547
+ currentLevelId: 202,
548
+ currentXp: 600,
549
+ isPrimary: !1,
550
+ isVisible: !0
551
+ }
552
+ ], s = [{
553
+ ID: 1,
554
+ Name: "Star Coins",
555
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/02silver.png",
556
+ Description: "Earn Star Coins by playing and spend them in the shop."
557
+ }, {
558
+ ID: 2,
559
+ Name: "Gems",
560
+ ImageURL: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/05diamond.png",
561
+ Description: "Premium currency for exclusive rewards."
562
+ }], c = [{
563
+ tournamentID: 1,
564
+ instanceID: 11,
565
+ startDate: (/* @__PURE__ */ new Date(Date.now() - 2880 * 60 * 1e3)).toISOString(),
566
+ endDate: new Date(Date.now() + 7200 * 60 * 1e3).toISOString(),
567
+ gamesInfo: "All slots qualify.",
568
+ termsAndConditions: "Min bet €0.20. T&Cs apply.",
569
+ autoOptIn: !1,
570
+ totalParticipants: 128,
571
+ isOptedIn: !0,
572
+ title: "Weekend Slots Race",
573
+ image: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/starburst0000000.jpg",
574
+ userPosition: "12",
575
+ leaderboardImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/image_53.png",
576
+ firstPlaceDecoration: "",
577
+ status: "published",
578
+ maxParticipants: 500
579
+ }, {
580
+ tournamentID: 2,
581
+ instanceID: 21,
582
+ startDate: new Date(Date.now() + 4320 * 60 * 1e3).toISOString(),
583
+ endDate: new Date(Date.now() + 14400 * 60 * 1e3).toISOString(),
584
+ gamesInfo: "Table games only.",
585
+ termsAndConditions: "Min bet €1. T&Cs apply.",
586
+ autoOptIn: !0,
587
+ totalParticipants: 0,
588
+ isOptedIn: !1,
589
+ title: "High Stakes Showdown",
590
+ image: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/eldorado00000000.jpg",
591
+ userPosition: "",
592
+ leaderboardImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/image_53.png",
593
+ firstPlaceDecoration: "",
594
+ status: "published",
595
+ maxParticipants: 200
596
+ }], l = (e, t) => ({
597
+ BonusId: 7e3 + e,
598
+ Title: t,
599
+ Image: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/05diamond.png",
600
+ CTA: "Claim",
601
+ Description: "A festive surprise behind the door.",
602
+ TermsDisplayOption: "popup",
603
+ TermsAndConditions: "One reward per door. T&Cs apply.",
604
+ CreatedAt: (/* @__PURE__ */ new Date()).toISOString(),
605
+ ExpiresAt: new Date(Date.now() + 720 * 60 * 60 * 1e3).toISOString(),
606
+ Type: "generic",
607
+ IsClaimable: !0
608
+ }), u = {
609
+ id: 1,
610
+ name: "Advent Calendar",
611
+ startDate: (/* @__PURE__ */ new Date(Date.now() - 7200 * 60 * 1e3)).toISOString(),
612
+ endDate: new Date(Date.now() + 480 * 60 * 60 * 1e3).toISOString(),
613
+ calendarTitle: "Daily Rewards Calendar",
614
+ bannerImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/calendar-header.png",
615
+ backgroundImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/calendar-background.png",
616
+ doors: Array.from({ length: 10 }, (e, t) => {
617
+ let n = t + 1, r = 1440 * 60 * 1e3, i = n <= 2, a = {
618
+ id: n,
619
+ calendarId: 1,
620
+ name: `Day ${n}`,
621
+ startDate: new Date(Date.now() + (n - 4) * r).toISOString(),
622
+ endDate: new Date(Date.now() + (i ? n - 3 : n + 16) * r).toISOString(),
623
+ bonusId: 7e3 + n,
624
+ image: `https://crm-lib.fasttrack-solutions.com/rewards/mocks/door-${n}.png`,
625
+ order: n,
626
+ bonus: l(n, `Day ${n} Reward`)
627
+ };
628
+ return (n === 1 || n === 3) && (a.openDate = (/* @__PURE__ */ new Date(Date.now() - (4 - n) * r)).toISOString()), a;
629
+ })
630
+ }, d = {
631
+ id: 2,
632
+ name: "Christmas Prize Drop",
633
+ type: "drop",
634
+ startDate: (/* @__PURE__ */ new Date(Date.now() - 2880 * 60 * 1e3)).toISOString(),
635
+ endDate: new Date(Date.now() + 528 * 60 * 60 * 1e3).toISOString(),
636
+ nextDoorStartsInSeconds: 360 * 60,
637
+ currentDoorEndsInSeconds: 360 * 60,
638
+ dropLook: {
639
+ activeTitle: "Your prize drop is here!",
640
+ activeDescription: "Open today's drop before midnight to claim your reward.",
641
+ activeCta: "Claim",
642
+ activeImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/prize-drop-header.png",
643
+ claimedMessage: "Come back tomorrow for your next drop",
644
+ claimedImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/image_53.png"
645
+ },
646
+ doors: [{
647
+ id: 3,
648
+ calendarId: 2,
649
+ name: "Drop 3",
650
+ startDate: (/* @__PURE__ */ new Date(Date.now() - 1080 * 60 * 1e3)).toISOString(),
651
+ endDate: new Date(Date.now() + 360 * 60 * 1e3).toISOString(),
652
+ bonusId: 7103,
653
+ image: "",
654
+ order: 3,
655
+ bonus: l(103, "25 Free Spins"),
656
+ dropLook: {
657
+ activeTitle: "Candy cane spins",
658
+ activeDescription: "Open today's drop before midnight to claim your reward.",
659
+ activeCta: "Claim",
660
+ activeImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/prize-drop-header.png",
661
+ claimedMessage: "Come back tomorrow for your next drop",
662
+ claimedImage: "https://crm-lib.fasttrack-solutions.com/rewards/mocks/image_53.png"
663
+ }
664
+ }]
665
+ };
666
+ //#endregion
667
+ export { t as mockChallenges, i as mockCmsPages, o as mockLevelSystems, a as mockLevels, r as mockMenuItems, d as mockPrizeDrop, n as mockShopPages, c as mockTournaments, u as mockUserCalendar, s as mockVirtualCurrencies, e as mockWheelTokens };