@anywayseo/tools 4.2.2 → 5.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 (74) hide show
  1. package/dist/components/base/index.d.ts +1 -0
  2. package/dist/components/base/link/index.d.ts +2 -0
  3. package/dist/components/base/link/utils.d.ts +1 -0
  4. package/dist/components/game-info/utils.d.ts +2 -2
  5. package/dist/components/index.cjs +3 -1
  6. package/dist/components/index.mjs +3 -1
  7. package/dist/components/layout/header/locale-switcher/icons/earth/index.d.ts +2 -0
  8. package/dist/components/layout/header/locale-switcher/icons/france/index.d.ts +2 -0
  9. package/dist/components/layout/header/locale-switcher/icons/germany/index.d.ts +2 -0
  10. package/dist/components/layout/header/locale-switcher/icons/globe/index.d.ts +2 -0
  11. package/dist/components/layout/header/locale-switcher/icons/index.d.ts +6 -0
  12. package/dist/components/layout/header/locale-switcher/icons/italy/index.d.ts +2 -0
  13. package/dist/components/layout/header/locale-switcher/icons/russia/index.d.ts +2 -0
  14. package/dist/components/layout/header/locale-switcher/index.d.ts +8 -0
  15. package/dist/components/layout/header/locale-switcher/utils.d.ts +2 -0
  16. package/dist/components/layout/header/navigation/desktop/index.d.ts +1 -1
  17. package/dist/components/layout/header/navigation/index.d.ts +1 -1
  18. package/dist/components/layout/header/navigation/mobile/index.d.ts +1 -1
  19. package/dist/components/seo/index.d.ts +2 -3
  20. package/dist/hooks/index.cjs +4 -2
  21. package/dist/hooks/index.d.ts +1 -0
  22. package/dist/hooks/index.mjs +4 -2
  23. package/dist/hooks/use-localization/index.d.ts +6 -0
  24. package/dist/i18n/index.cjs +11 -5
  25. package/dist/i18n/index.d.ts +3 -2
  26. package/dist/i18n/index.mjs +11 -5
  27. package/dist/i18n/resources/fr/index.d.ts +112 -0
  28. package/dist/{index-N8nXj4-i.js → index-3nQCWHPU.js} +219 -86
  29. package/dist/index-At00w6EN.js +9 -0
  30. package/dist/{index-BPLxhZG_.js → index-BHfpWNqh.js} +183 -73
  31. package/dist/{index-MpNfBHkQ.mjs → index-BJRvnR8Q.mjs} +1 -5
  32. package/dist/index-BRVKhbs6.mjs +6 -0
  33. package/dist/index-BmaWfWLV.mjs +10 -0
  34. package/dist/{index-BV0hDmYP.js → index-BnmGE5_x.js} +3 -2
  35. package/dist/{index-DPO0aIC3.mjs → index-Bu4S7kG8.mjs} +7 -10
  36. package/dist/{index-DVcQxWMZ.js → index-C6MG_f24.js} +0 -4
  37. package/dist/{index-BE9gNdXx.mjs → index-CACDltm3.mjs} +183 -73
  38. package/dist/index-CYr1ct1t.js +93 -0
  39. package/dist/index-CbuiYkSg.js +5 -0
  40. package/dist/index-Cc85xj4h.mjs +27 -0
  41. package/dist/index-D1bJmcpz.js +49 -0
  42. package/dist/{index-DuQjQMNN.js → index-D34TfBTR.js} +7 -10
  43. package/dist/{index-CcsbqDXL.mjs → index-DVAydNYV.mjs} +7 -3
  44. package/dist/index-DnvTeCy9.mjs +50 -0
  45. package/dist/index-DqGO34ef.js +26 -0
  46. package/dist/{index-DF_u_tzx.js → index-Dur8aLpm.js} +7 -3
  47. package/dist/{index-CkTgVjZS.mjs → index-QazOxABc.mjs} +3 -2
  48. package/dist/{index-DAbZBo7_.mjs → index-X2ihbchG.mjs} +200 -67
  49. package/dist/index-cQqALZIW.mjs +94 -0
  50. package/dist/index.cjs +41 -31
  51. package/dist/index.mjs +30 -20
  52. package/dist/providers/index.cjs +2 -2
  53. package/dist/providers/index.mjs +2 -2
  54. package/dist/providers/site-provider/index.d.ts +11 -5
  55. package/dist/types/api/index.d.ts +2 -2
  56. package/dist/types/components/icon/index.d.ts +2 -0
  57. package/dist/types/components/index.d.ts +2 -0
  58. package/dist/types/components/locale-switcher/index.d.ts +5 -0
  59. package/dist/types/components/navigation/index.d.ts +9 -10
  60. package/dist/types/i18n/index.d.ts +7 -1
  61. package/dist/types/site/index.d.ts +15 -13
  62. package/dist/utils/api/index.d.ts +5 -0
  63. package/dist/utils/date/index.d.ts +4 -3
  64. package/dist/utils/index.cjs +23 -16
  65. package/dist/utils/index.d.ts +1 -0
  66. package/dist/utils/index.mjs +16 -9
  67. package/dist/utils/navigation/index.d.ts +2 -2
  68. package/dist/utils/numbers/index.d.ts +3 -3
  69. package/package.json +1 -1
  70. package/dist/components/layout/header/navigation/types.d.ts +0 -4
  71. package/dist/index-BClxYYix.js +0 -40
  72. package/dist/index-BNb-P8a6.mjs +0 -17
  73. package/dist/index-BhsXlbd8.js +0 -16
  74. package/dist/index-Ca_M-II5.mjs +0 -41
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- const reactI18next = require("react-i18next");
3
- const i18n = require("i18next");
4
2
  var GameVolatility = /* @__PURE__ */ ((GameVolatility2) => {
5
3
  GameVolatility2["High"] = "HIGH";
6
4
  GameVolatility2["Medium"] = "MEDIUM";
@@ -34,7 +32,7 @@ var GameCharacteristic = /* @__PURE__ */ ((GameCharacteristic2) => {
34
32
  GameCharacteristic2["Functions"] = "FUNCTIONS";
35
33
  return GameCharacteristic2;
36
34
  })(GameCharacteristic || {});
37
- const pageNotFound$3 = {
35
+ const pageNotFound$4 = {
38
36
  seo: {
39
37
  title: "Seite nicht gefunden | {{siteName}}"
40
38
  },
@@ -42,14 +40,14 @@ const pageNotFound$3 = {
42
40
  description: "Entschuldigung 😔, wir konnten nicht finden, wonach Sie gesucht haben.",
43
41
  action: "Zur Startseite"
44
42
  };
45
- const footer$3 = {
43
+ const footer$4 = {
46
44
  copyright: "© {{year}} {{siteName}}. Alle Rechte vorbehalten.",
47
45
  disclaimer: {
48
46
  title: "Spielen Sie verantwortungsbewusst: ",
49
47
  description: "{{siteName}} ist eine unabhängige Ressource und nicht mit den von uns beworbenen Seiten verbunden. Stellen Sie sicher, dass Sie über alle erforderlichen Zertifikate verfügen und die gesetzlichen Anforderungen erfüllt sind, bevor Sie mit dem Spielen beginnen. Der Hauptzweck von {{siteName}} besteht darin, informative und unterhaltsame Inhalte bereitzustellen. Wenn Sie nach Links zu verwandten Ressourcen suchen, werden Sie zu den entsprechenden Plattformen weitergeleitet."
50
48
  }
51
49
  };
52
- const gameDemo$3 = {
50
+ const gameDemo$4 = {
53
51
  warning: "Ihr Browser ist zu alt, um das iframe-Element anzuzeigen.",
54
52
  action: {
55
53
  playForReal: "Spiele Mit Echtgeld",
@@ -59,7 +57,7 @@ const gameDemo$3 = {
59
57
  exit: "Beenden"
60
58
  }
61
59
  };
62
- const gameInfo$3 = {
60
+ const gameInfo$4 = {
63
61
  title: "Spielinfo",
64
62
  group: {
65
63
  general: "Allgemeine Eigenschaften",
@@ -103,18 +101,18 @@ const gameInfo$3 = {
103
101
  }
104
102
  }
105
103
  };
106
- const prosCons$3 = {
104
+ const prosCons$4 = {
107
105
  advantages: "Vorteile",
108
106
  disadvantages: "Nachteile"
109
107
  };
110
- const author$3 = {
108
+ const author$4 = {
111
109
  title: "Veröffentlicht von",
112
110
  action: {
113
111
  expand: "Mehr anzeigen",
114
112
  collapse: "Ausblenden"
115
113
  }
116
114
  };
117
- const contactForm$3 = {
115
+ const contactForm$4 = {
118
116
  field: {
119
117
  name: {
120
118
  label: "Name",
@@ -137,23 +135,23 @@ const contactForm$3 = {
137
135
  send: "Nachricht senden"
138
136
  }
139
137
  };
140
- const bonusCard$3 = {
138
+ const bonusCard$4 = {
141
139
  action: {
142
140
  expand: "Mehr erfahren",
143
141
  collapse: "Ausblenden"
144
142
  }
145
143
  };
146
- const dictionary$3 = {
147
- pageNotFound: pageNotFound$3,
148
- footer: footer$3,
149
- gameDemo: gameDemo$3,
150
- gameInfo: gameInfo$3,
151
- prosCons: prosCons$3,
152
- author: author$3,
153
- contactForm: contactForm$3,
154
- bonusCard: bonusCard$3
144
+ const dictionary$4 = {
145
+ pageNotFound: pageNotFound$4,
146
+ footer: footer$4,
147
+ gameDemo: gameDemo$4,
148
+ gameInfo: gameInfo$4,
149
+ prosCons: prosCons$4,
150
+ author: author$4,
151
+ contactForm: contactForm$4,
152
+ bonusCard: bonusCard$4
155
153
  };
156
- const pageNotFound$2 = {
154
+ const pageNotFound$3 = {
157
155
  seo: {
158
156
  title: "Page not found | {{siteName}}"
159
157
  },
@@ -161,14 +159,14 @@ const pageNotFound$2 = {
161
159
  description: "Sorry 😔, we couldn’t find what you were looking for.",
162
160
  action: "Go Home"
163
161
  };
164
- const footer$2 = {
162
+ const footer$3 = {
165
163
  copyright: "© {{year}} {{siteName}}. All rights reserved.",
166
164
  disclaimer: {
167
165
  title: "Play responsibly: ",
168
166
  description: "{{siteName}} is an independent resource not affiliated with the sites we promote. Make sure you have all the necessary certifications and legal requirements are met before you start playing. The main purpose of {{siteName}} is to provide informative and entertaining content. If you are looking for links to related resources, you will be redirected to the relevant platforms."
169
167
  }
170
168
  };
171
- const gameDemo$2 = {
169
+ const gameDemo$3 = {
172
170
  warning: "Your browser is too old to display the iframe element",
173
171
  action: {
174
172
  playForReal: "Play for Real",
@@ -178,7 +176,7 @@ const gameDemo$2 = {
178
176
  exit: "Exit"
179
177
  }
180
178
  };
181
- const gameInfo$2 = {
179
+ const gameInfo$3 = {
182
180
  title: "Game Info",
183
181
  group: {
184
182
  general: "General Characteristics",
@@ -222,18 +220,18 @@ const gameInfo$2 = {
222
220
  }
223
221
  }
224
222
  };
225
- const prosCons$2 = {
223
+ const prosCons$3 = {
226
224
  advantages: "Advantages",
227
225
  disadvantages: "Disadvantages"
228
226
  };
229
- const author$2 = {
227
+ const author$3 = {
230
228
  title: "Published by",
231
229
  action: {
232
230
  expand: "Show more",
233
231
  collapse: "Hide"
234
232
  }
235
233
  };
236
- const contactForm$2 = {
234
+ const contactForm$3 = {
237
235
  field: {
238
236
  name: {
239
237
  label: "Name",
@@ -256,23 +254,23 @@ const contactForm$2 = {
256
254
  send: "Send Message"
257
255
  }
258
256
  };
259
- const bonusCard$2 = {
257
+ const bonusCard$3 = {
260
258
  action: {
261
259
  expand: "Learn more",
262
260
  collapse: "Hide"
263
261
  }
264
262
  };
265
- const dictionary$2 = {
266
- pageNotFound: pageNotFound$2,
267
- footer: footer$2,
268
- gameDemo: gameDemo$2,
269
- gameInfo: gameInfo$2,
270
- prosCons: prosCons$2,
271
- author: author$2,
272
- contactForm: contactForm$2,
273
- bonusCard: bonusCard$2
263
+ const dictionary$3 = {
264
+ pageNotFound: pageNotFound$3,
265
+ footer: footer$3,
266
+ gameDemo: gameDemo$3,
267
+ gameInfo: gameInfo$3,
268
+ prosCons: prosCons$3,
269
+ author: author$3,
270
+ contactForm: contactForm$3,
271
+ bonusCard: bonusCard$3
274
272
  };
275
- const pageNotFound$1 = {
273
+ const pageNotFound$2 = {
276
274
  seo: {
277
275
  title: "Pagina non trovata | {{siteName}}"
278
276
  },
@@ -280,14 +278,14 @@ const pageNotFound$1 = {
280
278
  description: "Spiacenti 😔, non siamo riusciti a trovare quello che cercavi.",
281
279
  action: "Ritorna alla pagina principale"
282
280
  };
283
- const footer$1 = {
281
+ const footer$2 = {
284
282
  copyright: "© {{year}} {{siteName}}. Tutte le cose sono fatte.",
285
283
  disclaimer: {
286
284
  title: "Gioca responsabilmente: ",
287
285
  description: "{{siteName}} è una risorsa indipendente e non affiliata ai siti che promuoviamo. Prima di iniziare a giocare, assicurati di possedere tutte le certificazioni necessarie e di rispettare i requisiti legali in vigore. L'obiettivo principale di {{siteName}} è offrire contenuti informativi e di intrattenimento. Se cerchi collegamenti a risorse correlate, verrai reindirizzato alle piattaforme pertinenti."
288
286
  }
289
287
  };
290
- const gameDemo$1 = {
288
+ const gameDemo$2 = {
291
289
  warning: "Il tuo browser è troppo vecchio per visualizzare l'elemento iframe",
292
290
  action: {
293
291
  playForReal: "Gioca ora",
@@ -297,7 +295,7 @@ const gameDemo$1 = {
297
295
  exit: "Esci"
298
296
  }
299
297
  };
300
- const gameInfo$1 = {
298
+ const gameInfo$2 = {
301
299
  title: "Informazioni sul gioco",
302
300
  group: {
303
301
  general: "Caratteristiche principali",
@@ -341,18 +339,18 @@ const gameInfo$1 = {
341
339
  }
342
340
  }
343
341
  };
344
- const prosCons$1 = {
342
+ const prosCons$2 = {
345
343
  advantages: "Vantaggi",
346
344
  disadvantages: "Svantaggi"
347
345
  };
348
- const author$1 = {
346
+ const author$2 = {
349
347
  title: "Informazioni sull'autore",
350
348
  action: {
351
349
  expand: "Mostra per intero",
352
350
  collapse: "Nascondi"
353
351
  }
354
352
  };
355
- const contactForm$1 = {
353
+ const contactForm$2 = {
356
354
  field: {
357
355
  name: {
358
356
  label: "Nome",
@@ -375,23 +373,23 @@ const contactForm$1 = {
375
373
  send: "Invia Messaggio"
376
374
  }
377
375
  };
378
- const bonusCard$1 = {
376
+ const bonusCard$2 = {
379
377
  action: {
380
378
  expand: "Scopri di più",
381
379
  collapse: "Nascondi"
382
380
  }
383
381
  };
384
- const dictionary$1 = {
385
- pageNotFound: pageNotFound$1,
386
- footer: footer$1,
387
- gameDemo: gameDemo$1,
388
- gameInfo: gameInfo$1,
389
- prosCons: prosCons$1,
390
- author: author$1,
391
- contactForm: contactForm$1,
392
- bonusCard: bonusCard$1
382
+ const dictionary$2 = {
383
+ pageNotFound: pageNotFound$2,
384
+ footer: footer$2,
385
+ gameDemo: gameDemo$2,
386
+ gameInfo: gameInfo$2,
387
+ prosCons: prosCons$2,
388
+ author: author$2,
389
+ contactForm: contactForm$2,
390
+ bonusCard: bonusCard$2
393
391
  };
394
- const pageNotFound = {
392
+ const pageNotFound$1 = {
395
393
  seo: {
396
394
  title: "Страница не найдена | {{siteName}}"
397
395
  },
@@ -399,14 +397,14 @@ const pageNotFound = {
399
397
  description: "Извините 😔, мы не смогли найти то, что вы искали.",
400
398
  action: "На главную"
401
399
  };
402
- const footer = {
400
+ const footer$1 = {
403
401
  copyright: "© {{year}} {{siteName}}. Все права защищены.",
404
402
  disclaimer: {
405
403
  title: "Играйте ответственно: ",
406
404
  description: "{{siteName}} — независимый ресурс, не связанный с продвигаемыми сайтами. Убедитесь, что у вас есть все необходимые сертификаты и соблюдены юридические требования перед началом игры. Основная цель {{siteName}} — предоставление информационного и развлекательного контента. Если вы ищете ссылки на связанные ресурсы, вас перенаправят на соответствующие платформы."
407
405
  }
408
406
  };
409
- const gameDemo = {
407
+ const gameDemo$1 = {
410
408
  warning: "Ваш браузер слишком устарел для отображения элемента iframe",
411
409
  action: {
412
410
  playForReal: "Играть на деньги",
@@ -416,7 +414,7 @@ const gameDemo = {
416
414
  exit: "Выйти"
417
415
  }
418
416
  };
419
- const gameInfo = {
417
+ const gameInfo$1 = {
420
418
  title: "Информация об игре",
421
419
  group: {
422
420
  general: "Основные характеристики",
@@ -460,18 +458,18 @@ const gameInfo = {
460
458
  }
461
459
  }
462
460
  };
463
- const prosCons = {
461
+ const prosCons$1 = {
464
462
  advantages: "Преимущества",
465
463
  disadvantages: "Недостатки"
466
464
  };
467
- const author = {
465
+ const author$1 = {
468
466
  title: "Автор",
469
467
  action: {
470
468
  expand: "Показать больше",
471
469
  collapse: "Скрыть"
472
470
  }
473
471
  };
474
- const contactForm = {
472
+ const contactForm$1 = {
475
473
  field: {
476
474
  name: {
477
475
  label: "Имя",
@@ -494,12 +492,131 @@ const contactForm = {
494
492
  send: "Отправить сообщение"
495
493
  }
496
494
  };
497
- const bonusCard = {
495
+ const bonusCard$1 = {
498
496
  action: {
499
497
  expand: "Подробнее",
500
498
  collapse: "Скрыть"
501
499
  }
502
500
  };
501
+ const dictionary$1 = {
502
+ pageNotFound: pageNotFound$1,
503
+ footer: footer$1,
504
+ gameDemo: gameDemo$1,
505
+ gameInfo: gameInfo$1,
506
+ prosCons: prosCons$1,
507
+ author: author$1,
508
+ contactForm: contactForm$1,
509
+ bonusCard: bonusCard$1
510
+ };
511
+ const pageNotFound = {
512
+ seo: {
513
+ title: "Page non trouvée | {{siteName}}"
514
+ },
515
+ title: "404 — Page non trouvée",
516
+ description: "Désolé 😔, nous n’avons pas pu trouver ce que vous cherchiez.",
517
+ action: "Aller à la page d’accueil"
518
+ };
519
+ const footer = {
520
+ copyright: "© {{year}} {{siteName}}. Tous droits réservés.",
521
+ disclaimer: {
522
+ title: "Jouez de manière responsable : ",
523
+ description: "{{siteName}} est une ressource indépendante et n’est pas affilié aux sites que nous promouvons. Assurez-vous de disposer de toutes les licences nécessaires et de respecter les exigences légales avant de commencer à jouer. L’objectif principal de {{siteName}} est de fournir un contenu informatif et divertissant. Si vous recherchez des liens vers des ressources associées, vous serez redirigé vers les plateformes correspondantes."
524
+ }
525
+ };
526
+ const gameDemo = {
527
+ warning: "Votre navigateur est trop ancien pour afficher l’élément iframe.",
528
+ action: {
529
+ playForReal: "Jouer en argent réel",
530
+ playForFree: "Jouer gratuitement",
531
+ activateFullscreen: "Activer le mode plein écran",
532
+ deactivateFullscreen: "Désactiver le mode plein écran",
533
+ exit: "Quitter"
534
+ }
535
+ };
536
+ const gameInfo = {
537
+ title: "Infos sur le jeu",
538
+ group: {
539
+ general: "Caractéristiques générales",
540
+ features: "Fonctionnalités du jeu"
541
+ },
542
+ feature: {
543
+ [GameCharacteristic.BonusFeatures]: "Fonctionnalités bonus",
544
+ [GameCharacteristic.Compatibility]: "Compatibilité",
545
+ [GameCharacteristic.Functions]: "Fonctions",
546
+ [GameCharacteristic.Developer]: "Développeur",
547
+ [GameCharacteristic.HasAutoplay]: "Lecture automatique",
548
+ [GameCharacteristic.HasBonusPurchase]: "Achat de bonus",
549
+ [GameCharacteristic.HasCollectionSymbols]: "Symboles à collectionner",
550
+ [GameCharacteristic.HasDemo]: "Version de démonstration",
551
+ [GameCharacteristic.HasFastSpin]: "Rotation rapide",
552
+ [GameCharacteristic.HasFreeSpins]: "Tours gratuits",
553
+ [GameCharacteristic.HasProgressiveJackpot]: "Jackpot progressif",
554
+ [GameCharacteristic.Languages]: "Langues",
555
+ [GameCharacteristic.MaxWin]: "Gain maximal",
556
+ [GameCharacteristic.MaxBet]: "Mise maximale",
557
+ [GameCharacteristic.MinBet]: "Mise minimale",
558
+ [GameCharacteristic.Name]: "Nom",
559
+ [GameCharacteristic.PayLines]: "Nombre de lignes de paiement",
560
+ [GameCharacteristic.ReelsNumber]: "Nombre de rouleaux",
561
+ [GameCharacteristic.ReleaseDate]: "Date de sortie",
562
+ [GameCharacteristic.RowsWithPins]: "Nombre de rangées avec des chevilles",
563
+ [GameCharacteristic.Rtp]: "RTP",
564
+ [GameCharacteristic.Theme]: "Thème",
565
+ [GameCharacteristic.Type]: "Type",
566
+ [GameCharacteristic.Volatility]: "Volatilité"
567
+ },
568
+ value: {
569
+ boolean: {
570
+ true: "Oui",
571
+ false: "Non"
572
+ },
573
+ volatility: {
574
+ [GameVolatility.High]: "Élevée",
575
+ [GameVolatility.Medium]: "Moyenne",
576
+ [GameVolatility.Low]: "Faible"
577
+ }
578
+ }
579
+ };
580
+ const prosCons = {
581
+ advantages: "Avantages",
582
+ disadvantages: "Inconvénients"
583
+ };
584
+ const author = {
585
+ title: "Publié par",
586
+ action: {
587
+ expand: "Afficher plus",
588
+ collapse: "Masquer"
589
+ }
590
+ };
591
+ const contactForm = {
592
+ field: {
593
+ name: {
594
+ label: "Nom",
595
+ placeholder: "Votre nom"
596
+ },
597
+ email: {
598
+ label: "E-mail",
599
+ placeholder: "Votre e-mail"
600
+ },
601
+ message: {
602
+ label: "Message",
603
+ placeholder: "Votre message"
604
+ }
605
+ },
606
+ notification: {
607
+ title: "{{name}}, merci pour votre retour !",
608
+ description: "Nous vous contacterons dès que possible à {{email}}."
609
+ },
610
+ action: {
611
+ send: "Envoyer le message"
612
+ }
613
+ };
614
+ const bonusCard = {
615
+ action: {
616
+ expand: "En savoir plus",
617
+ collapse: "Masquer"
618
+ }
619
+ };
503
620
  const dictionary = {
504
621
  pageNotFound,
505
622
  footer,
@@ -510,17 +627,10 @@ const dictionary = {
510
627
  contactForm,
511
628
  bonusCard
512
629
  };
513
- const resources = {
514
- en: dictionary$2,
515
- it: dictionary$1,
516
- de: dictionary$3,
517
- ru: dictionary
518
- };
519
- const DEFAULT_LANGUAGE = "en";
520
- i18n.use(reactI18next.initReactI18next).init({
521
- fallbackLng: DEFAULT_LANGUAGE,
522
- resources
523
- });
524
630
  exports.GameCharacteristic = GameCharacteristic;
525
631
  exports.GameVolatility = GameVolatility;
526
- exports.resources = resources;
632
+ exports.dictionary = dictionary;
633
+ exports.dictionary$1 = dictionary$1;
634
+ exports.dictionary$2 = dictionary$4;
635
+ exports.dictionary$3 = dictionary$2;
636
+ exports.dictionary$4 = dictionary$3;
@@ -28,10 +28,6 @@ function animation(keyframes2) {
28
28
  const Animation = {
29
29
  pulse: animation(pulse)
30
30
  };
31
- const DARK_THEME_COLOR = "white";
32
- const LIGHT_THEME_COLOR = "gray.800";
33
31
  export {
34
- Animation as A,
35
- DARK_THEME_COLOR as D,
36
- LIGHT_THEME_COLOR as L
32
+ Animation as A
37
33
  };
@@ -0,0 +1,6 @@
1
+ const DARK_THEME_COLOR = "white";
2
+ const LIGHT_THEME_COLOR = "gray.800";
3
+ export {
4
+ DARK_THEME_COLOR as D,
5
+ LIGHT_THEME_COLOR as L
6
+ };
@@ -0,0 +1,10 @@
1
+ function buildPath(slug, parentSlug) {
2
+ return parentSlug === "" ? slug : `${parentSlug}/${slug}`;
3
+ }
4
+ function isRelativePath(path = "") {
5
+ return path.startsWith("/");
6
+ }
7
+ export {
8
+ buildPath as b,
9
+ isRelativePath as i
10
+ };
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  const react = require("@chakra-ui/react");
3
- const index = require("./index-DVcQxWMZ.js");
4
- require("./index-BPLxhZG_.js");
3
+ require("./index-C6MG_f24.js");
4
+ require("./index-BHfpWNqh.js");
5
+ const index = require("./index-CbuiYkSg.js");
5
6
  function usePrimaryColors() {
6
7
  const color = react.useColorModeValue(index.LIGHT_THEME_COLOR, index.DARK_THEME_COLOR);
7
8
  const bgColor = react.useColorModeValue("brand.500", "brand.200");
@@ -1,18 +1,15 @@
1
- import "./index-BE9gNdXx.mjs";
2
- import i18n from "i18next";
3
- function getCurrentYear() {
4
- const locale = i18n.language;
1
+ import { DEFAULT_LANGUAGE } from "./i18n/index.mjs";
2
+ function getCurrentYear(locale = DEFAULT_LANGUAGE) {
5
3
  const currentDate = /* @__PURE__ */ new Date();
6
4
  const currentYear = new Intl.DateTimeFormat(locale, { year: "numeric" }).format(currentDate);
7
5
  return currentYear;
8
6
  }
9
- function getCurrentMonth() {
10
- const locale = i18n.language;
7
+ function getCurrentMonth(locale = DEFAULT_LANGUAGE) {
11
8
  const currentDate = /* @__PURE__ */ new Date();
12
9
  const currentMonth = new Intl.DateTimeFormat(locale, { month: "long" }).format(currentDate);
13
10
  return currentMonth;
14
11
  }
15
- function formatDate({ value, locale = i18n.language, options }) {
12
+ function formatDate({ value, locale = DEFAULT_LANGUAGE, options }) {
16
13
  const date = typeof value === "string" || typeof value === "number" ? new Date(value) : value;
17
14
  if (isNaN(date.getTime())) {
18
15
  throw new Error("Invalid date provided");
@@ -30,7 +27,7 @@ function toFixedTwo(number) {
30
27
  return round(number, DEFAULT_PRECISION);
31
28
  }
32
29
  function formatNumber(number, options) {
33
- const locale = (options == null ? void 0 : options.locale) ?? i18n.language;
30
+ const locale = (options == null ? void 0 : options.locale) ?? DEFAULT_LANGUAGE;
34
31
  const precision = (options == null ? void 0 : options.precision) ?? DEFAULT_PRECISION;
35
32
  let postfix = "";
36
33
  const formatOptions = {
@@ -64,8 +61,8 @@ function parseNumber(value) {
64
61
  }
65
62
  return parsedNumber;
66
63
  }
67
- function getCurrencySymbol(currencyCode) {
68
- const symbol = 0 .toLocaleString(i18n.language, {
64
+ function getCurrencySymbol(currencyCode, locale = DEFAULT_LANGUAGE) {
65
+ const symbol = 0 .toLocaleString(locale, {
69
66
  style: "currency",
70
67
  currency: currencyCode,
71
68
  minimumFractionDigits: 0,
@@ -29,8 +29,4 @@ function animation(keyframes2) {
29
29
  const Animation = {
30
30
  pulse: animation(pulse)
31
31
  };
32
- const DARK_THEME_COLOR = "white";
33
- const LIGHT_THEME_COLOR = "gray.800";
34
32
  exports.Animation = Animation;
35
- exports.DARK_THEME_COLOR = DARK_THEME_COLOR;
36
- exports.LIGHT_THEME_COLOR = LIGHT_THEME_COLOR;