@mtgame/core 0.1.58 → 0.1.59

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 (332) hide show
  1. package/bundles/mtgame-core.umd.js +4098 -4069
  2. package/bundles/mtgame-core.umd.js.map +1 -1
  3. package/esm2015/api/basketball-game-api.js +8 -9
  4. package/esm2015/api/feedback-api.js +8 -9
  5. package/esm2015/api/file-api.js +8 -9
  6. package/esm2015/api/football-game-api.js +8 -9
  7. package/esm2015/api/game-base-api.js +8 -9
  8. package/esm2015/api/handball-game-api.js +8 -9
  9. package/esm2015/api/hockey-game-api.js +8 -9
  10. package/esm2015/api/league-api.js +8 -9
  11. package/esm2015/api/league-news-api.js +8 -9
  12. package/esm2015/api/league-player-api.js +7 -9
  13. package/esm2015/api/media-api.js +8 -9
  14. package/esm2015/api/notification-api.js +6 -8
  15. package/esm2015/api/notification-base-api.js +8 -9
  16. package/esm2015/api/org-notification-api.js +6 -8
  17. package/esm2015/api/paginated-response.interface.js +2 -1
  18. package/esm2015/api/public-api.js +2 -1
  19. package/esm2015/api/public-team-api.js +7 -9
  20. package/esm2015/api/public-user-api.js +7 -9
  21. package/esm2015/api/reference-api.js +8 -9
  22. package/esm2015/api/rugby-game-api.js +8 -9
  23. package/esm2015/api/team-api.js +9 -10
  24. package/esm2015/api/team-event-api.js +8 -9
  25. package/esm2015/api/tournament-api.js +8 -9
  26. package/esm2015/api/tournament-join-api.js +8 -9
  27. package/esm2015/api/tournament-season-api.js +8 -9
  28. package/esm2015/api/tournament-stage-api.js +8 -9
  29. package/esm2015/api/user-api.js +8 -9
  30. package/esm2015/api/volleyball-game-api.js +8 -9
  31. package/esm2015/http-cookie.interceptor.js +6 -9
  32. package/esm2015/localization/basketball-game-log-types.js +1 -1
  33. package/esm2015/localization/football-game-log-types.js +1 -1
  34. package/esm2015/localization/handball-game-log-types.js +1 -1
  35. package/esm2015/localization/hockey-game-log-types.js +1 -1
  36. package/esm2015/localization/hockey-penalty-types.js +1 -1
  37. package/esm2015/localization/overtime-types.js +1 -1
  38. package/esm2015/localization/public-api.js +1 -1
  39. package/esm2015/localization/rugby-foul-sanction.js +1 -1
  40. package/esm2015/localization/rugby-game-log-types.js +1 -1
  41. package/esm2015/localization/team-event-type.js +1 -1
  42. package/esm2015/localization/team-user-role.js +1 -1
  43. package/esm2015/localization/user-profile.js +1 -1
  44. package/esm2015/localization/volleyball-game-log-types.js +1 -1
  45. package/esm2015/models/base-statistic.js +2 -1
  46. package/esm2015/models/basketball-game-config.js +1 -1
  47. package/esm2015/models/basketball-game-log.js +1 -1
  48. package/esm2015/models/basketball-game-statistic.js +1 -1
  49. package/esm2015/models/basketball-game-team-statistic.js +1 -1
  50. package/esm2015/models/basketball-profile.js +1 -1
  51. package/esm2015/models/basketball-statistic.js +1 -1
  52. package/esm2015/models/city.js +1 -1
  53. package/esm2015/models/feedback.js +1 -1
  54. package/esm2015/models/file.js +1 -1
  55. package/esm2015/models/football-game-config.js +1 -1
  56. package/esm2015/models/football-game-log.js +1 -1
  57. package/esm2015/models/football-game-statistic.js +1 -1
  58. package/esm2015/models/football-game-team-statistic.js +1 -1
  59. package/esm2015/models/football-profile.js +1 -1
  60. package/esm2015/models/football-statistic.js +1 -1
  61. package/esm2015/models/game-invite.js +1 -1
  62. package/esm2015/models/game-log-base.js +2 -1
  63. package/esm2015/models/game-statistic-base.js +2 -1
  64. package/esm2015/models/game-team-statistic-base.js +2 -1
  65. package/esm2015/models/game-timeline-stages.js +1 -1
  66. package/esm2015/models/game-user-limitation.js +1 -1
  67. package/esm2015/models/game-user.js +1 -1
  68. package/esm2015/models/game.js +1 -1
  69. package/esm2015/models/handball-game-config.js +1 -1
  70. package/esm2015/models/handball-game-log.js +1 -1
  71. package/esm2015/models/handball-game-statistic.js +1 -1
  72. package/esm2015/models/handball-game-team-statistic.js +1 -1
  73. package/esm2015/models/handball-profile.js +1 -1
  74. package/esm2015/models/handball-statistic.js +1 -1
  75. package/esm2015/models/hockey-game-config.js +1 -1
  76. package/esm2015/models/hockey-game-log.js +1 -1
  77. package/esm2015/models/hockey-game-statistic.js +1 -1
  78. package/esm2015/models/hockey-game-team-statistic.js +1 -1
  79. package/esm2015/models/hockey-profile.js +1 -1
  80. package/esm2015/models/hockey-statistic.js +1 -1
  81. package/esm2015/models/league-banner.js +1 -1
  82. package/esm2015/models/league-court.js +1 -1
  83. package/esm2015/models/league-document.js +1 -1
  84. package/esm2015/models/league-news.js +1 -1
  85. package/esm2015/models/league-partner.js +1 -1
  86. package/esm2015/models/league-player.js +1 -1
  87. package/esm2015/models/league-playlist.js +1 -1
  88. package/esm2015/models/league-user.js +1 -1
  89. package/esm2015/models/league.js +1 -1
  90. package/esm2015/models/media-item.js +1 -1
  91. package/esm2015/models/notification-settings.js +1 -1
  92. package/esm2015/models/notification.js +1 -1
  93. package/esm2015/models/organization.js +1 -1
  94. package/esm2015/models/playoff.js +1 -1
  95. package/esm2015/models/poll.js +1 -1
  96. package/esm2015/models/public-api.js +5 -1
  97. package/esm2015/models/rugby-foul-type.js +1 -1
  98. package/esm2015/models/rugby-game-config.js +1 -1
  99. package/esm2015/models/rugby-game-log.js +2 -2
  100. package/esm2015/models/rugby-game-statistic.js +1 -1
  101. package/esm2015/models/rugby-game-team-statistic.js +1 -1
  102. package/esm2015/models/rugby-profile.js +1 -1
  103. package/esm2015/models/rugby-statistic.js +1 -1
  104. package/esm2015/models/sport.js +1 -1
  105. package/esm2015/models/team-access.js +1 -1
  106. package/esm2015/models/team-event-invite.js +1 -1
  107. package/esm2015/models/team-event-type.js +1 -1
  108. package/esm2015/models/team-event.js +1 -1
  109. package/esm2015/models/team-invite-external.js +1 -1
  110. package/esm2015/models/team-invite.js +1 -1
  111. package/esm2015/models/team-permission.js +1 -1
  112. package/esm2015/models/team-user.js +1 -1
  113. package/esm2015/models/team.js +1 -1
  114. package/esm2015/models/tournament-disqualification.js +1 -1
  115. package/esm2015/models/tournament-event.js +1 -1
  116. package/esm2015/models/tournament-group.js +1 -1
  117. package/esm2015/models/tournament-invite.js +1 -1
  118. package/esm2015/models/tournament-join-team.js +1 -1
  119. package/esm2015/models/tournament-news.js +1 -1
  120. package/esm2015/models/tournament-season.js +1 -1
  121. package/esm2015/models/tournament-stage-team.js +1 -1
  122. package/esm2015/models/tournament-stage.js +1 -1
  123. package/esm2015/models/tournament-team-user-invite.js +1 -1
  124. package/esm2015/models/tournament-team-user.js +1 -1
  125. package/esm2015/models/tournament-team.js +1 -1
  126. package/esm2015/models/tournament.js +1 -1
  127. package/esm2015/models/user-access.js +1 -1
  128. package/esm2015/models/user-permission.js +1 -1
  129. package/esm2015/models/user-profile.js +1 -1
  130. package/esm2015/models/user.js +1 -1
  131. package/esm2015/models/util.js +1 -1
  132. package/esm2015/models/volleyball-game-config.js +1 -1
  133. package/esm2015/models/volleyball-game-log.js +1 -1
  134. package/esm2015/models/volleyball-game-statistic.js +1 -1
  135. package/esm2015/models/volleyball-game-team-statistic.js +1 -1
  136. package/esm2015/models/volleyball-profile.js +1 -1
  137. package/esm2015/models/volleyball-statistic.js +1 -1
  138. package/esm2015/mtgame-core.js +1 -1
  139. package/esm2015/public-api.js +1 -1
  140. package/esm2015/services/base.service.js +6 -8
  141. package/esm2015/services/centrifugo.service.js +7 -9
  142. package/esm2015/services/config.service.js +7 -10
  143. package/esm2015/services/public-api.js +1 -1
  144. package/esm2015/storage/local-storage-engine.js +1 -1
  145. package/esm2015/storage/public-api.js +1 -1
  146. package/esm2015/storage/storage-engine.js +1 -1
  147. package/esm2015/storage/store.js +1 -1
  148. package/esm2015/utils/array.js +1 -1
  149. package/esm2015/utils/component-destroyed.js +1 -1
  150. package/esm2015/utils/cookie.js +1 -1
  151. package/esm2015/utils/data.js +1 -1
  152. package/esm2015/utils/device.js +1 -1
  153. package/esm2015/utils/enum.js +1 -1
  154. package/esm2015/utils/errors.js +1 -1
  155. package/esm2015/utils/favicon.js +1 -1
  156. package/esm2015/utils/form.js +1 -1
  157. package/esm2015/utils/public-api.js +1 -1
  158. package/esm2015/utils/validators.js +1 -1
  159. package/fesm2015/mtgame-core.js +184 -184
  160. package/fesm2015/mtgame-core.js.map +1 -1
  161. package/localization/basketball-game-log-types.d.ts +0 -1
  162. package/localization/football-game-log-types.d.ts +0 -1
  163. package/localization/handball-game-log-types.d.ts +0 -1
  164. package/localization/hockey-game-log-types.d.ts +0 -1
  165. package/localization/overtime-types.d.ts +0 -1
  166. package/localization/rugby-foul-sanction.d.ts +0 -1
  167. package/localization/rugby-game-log-types.d.ts +0 -1
  168. package/localization/team-event-type.d.ts +0 -1
  169. package/localization/team-user-role.d.ts +0 -1
  170. package/localization/user-profile.d.ts +0 -6
  171. package/localization/volleyball-game-log-types.d.ts +0 -1
  172. package/package.json +9 -11
  173. package/bundles/mtgame-core.umd.min.js +0 -16
  174. package/bundles/mtgame-core.umd.min.js.map +0 -1
  175. package/esm5/api/basketball-game-api.js +0 -77
  176. package/esm5/api/feedback-api.js +0 -44
  177. package/esm5/api/file-api.js +0 -68
  178. package/esm5/api/football-game-api.js +0 -81
  179. package/esm5/api/game-base-api.js +0 -58
  180. package/esm5/api/handball-game-api.js +0 -81
  181. package/esm5/api/hockey-game-api.js +0 -81
  182. package/esm5/api/league-api.js +0 -168
  183. package/esm5/api/league-news-api.js +0 -82
  184. package/esm5/api/league-player-api.js +0 -37
  185. package/esm5/api/media-api.js +0 -149
  186. package/esm5/api/notification-api.js +0 -21
  187. package/esm5/api/notification-base-api.js +0 -109
  188. package/esm5/api/org-notification-api.js +0 -21
  189. package/esm5/api/paginated-response.interface.js +0 -1
  190. package/esm5/api/public-api.js +0 -27
  191. package/esm5/api/public-team-api.js +0 -34
  192. package/esm5/api/public-user-api.js +0 -44
  193. package/esm5/api/reference-api.js +0 -45
  194. package/esm5/api/rugby-game-api.js +0 -79
  195. package/esm5/api/team-api.js +0 -486
  196. package/esm5/api/team-event-api.js +0 -96
  197. package/esm5/api/tournament-api.js +0 -543
  198. package/esm5/api/tournament-join-api.js +0 -59
  199. package/esm5/api/tournament-season-api.js +0 -134
  200. package/esm5/api/tournament-stage-api.js +0 -65
  201. package/esm5/api/user-api.js +0 -350
  202. package/esm5/api/volleyball-game-api.js +0 -81
  203. package/esm5/http-cookie.interceptor.js +0 -41
  204. package/esm5/localization/basketball-game-log-types.js +0 -28
  205. package/esm5/localization/football-game-log-types.js +0 -34
  206. package/esm5/localization/handball-game-log-types.js +0 -25
  207. package/esm5/localization/hockey-game-log-types.js +0 -31
  208. package/esm5/localization/hockey-penalty-types.js +0 -50
  209. package/esm5/localization/overtime-types.js +0 -14
  210. package/esm5/localization/public-api.js +0 -13
  211. package/esm5/localization/rugby-foul-sanction.js +0 -11
  212. package/esm5/localization/rugby-game-log-types.js +0 -41
  213. package/esm5/localization/team-event-type.js +0 -7
  214. package/esm5/localization/team-user-role.js +0 -15
  215. package/esm5/localization/user-profile.js +0 -82
  216. package/esm5/localization/volleyball-game-log-types.js +0 -27
  217. package/esm5/models/base-statistic.js +0 -1
  218. package/esm5/models/basketball-game-config.js +0 -44
  219. package/esm5/models/basketball-game-log.js +0 -118
  220. package/esm5/models/basketball-game-statistic.js +0 -63
  221. package/esm5/models/basketball-game-team-statistic.js +0 -32
  222. package/esm5/models/basketball-profile.js +0 -48
  223. package/esm5/models/basketball-statistic.js +0 -97
  224. package/esm5/models/city.js +0 -27
  225. package/esm5/models/feedback.js +0 -37
  226. package/esm5/models/file.js +0 -65
  227. package/esm5/models/football-game-config.js +0 -53
  228. package/esm5/models/football-game-log.js +0 -111
  229. package/esm5/models/football-game-statistic.js +0 -213
  230. package/esm5/models/football-game-team-statistic.js +0 -32
  231. package/esm5/models/football-profile.js +0 -48
  232. package/esm5/models/football-statistic.js +0 -174
  233. package/esm5/models/game-invite.js +0 -42
  234. package/esm5/models/game-log-base.js +0 -1
  235. package/esm5/models/game-statistic-base.js +0 -1
  236. package/esm5/models/game-team-statistic-base.js +0 -1
  237. package/esm5/models/game-timeline-stages.js +0 -60
  238. package/esm5/models/game-user-limitation.js +0 -59
  239. package/esm5/models/game-user.js +0 -38
  240. package/esm5/models/game.js +0 -286
  241. package/esm5/models/handball-game-config.js +0 -39
  242. package/esm5/models/handball-game-log.js +0 -99
  243. package/esm5/models/handball-game-statistic.js +0 -162
  244. package/esm5/models/handball-game-team-statistic.js +0 -32
  245. package/esm5/models/handball-profile.js +0 -44
  246. package/esm5/models/handball-statistic.js +0 -105
  247. package/esm5/models/hockey-game-config.js +0 -61
  248. package/esm5/models/hockey-game-log.js +0 -135
  249. package/esm5/models/hockey-game-statistic.js +0 -223
  250. package/esm5/models/hockey-game-team-statistic.js +0 -32
  251. package/esm5/models/hockey-profile.js +0 -46
  252. package/esm5/models/hockey-statistic.js +0 -144
  253. package/esm5/models/league-banner.js +0 -44
  254. package/esm5/models/league-court.js +0 -29
  255. package/esm5/models/league-document.js +0 -31
  256. package/esm5/models/league-news.js +0 -55
  257. package/esm5/models/league-partner.js +0 -34
  258. package/esm5/models/league-player.js +0 -77
  259. package/esm5/models/league-playlist.js +0 -33
  260. package/esm5/models/league-user.js +0 -61
  261. package/esm5/models/league.js +0 -95
  262. package/esm5/models/media-item.js +0 -50
  263. package/esm5/models/notification-settings.js +0 -40
  264. package/esm5/models/notification.js +0 -143
  265. package/esm5/models/organization.js +0 -32
  266. package/esm5/models/playoff.js +0 -102
  267. package/esm5/models/poll.js +0 -154
  268. package/esm5/models/public-api.js +0 -88
  269. package/esm5/models/rugby-foul-type.js +0 -40
  270. package/esm5/models/rugby-game-config.js +0 -51
  271. package/esm5/models/rugby-game-log.js +0 -143
  272. package/esm5/models/rugby-game-statistic.js +0 -68
  273. package/esm5/models/rugby-game-team-statistic.js +0 -32
  274. package/esm5/models/rugby-profile.js +0 -42
  275. package/esm5/models/rugby-statistic.js +0 -119
  276. package/esm5/models/sport.js +0 -104
  277. package/esm5/models/team-access.js +0 -50
  278. package/esm5/models/team-event-invite.js +0 -35
  279. package/esm5/models/team-event-type.js +0 -6
  280. package/esm5/models/team-event.js +0 -58
  281. package/esm5/models/team-invite-external.js +0 -30
  282. package/esm5/models/team-invite.js +0 -46
  283. package/esm5/models/team-permission.js +0 -43
  284. package/esm5/models/team-user.js +0 -53
  285. package/esm5/models/team.js +0 -70
  286. package/esm5/models/tournament-disqualification.js +0 -34
  287. package/esm5/models/tournament-event.js +0 -50
  288. package/esm5/models/tournament-group.js +0 -29
  289. package/esm5/models/tournament-invite.js +0 -48
  290. package/esm5/models/tournament-join-team.js +0 -73
  291. package/esm5/models/tournament-news.js +0 -38
  292. package/esm5/models/tournament-season.js +0 -50
  293. package/esm5/models/tournament-stage-team.js +0 -54
  294. package/esm5/models/tournament-stage.js +0 -40
  295. package/esm5/models/tournament-team-user-invite.js +0 -34
  296. package/esm5/models/tournament-team-user.js +0 -41
  297. package/esm5/models/tournament-team.js +0 -80
  298. package/esm5/models/tournament.js +0 -234
  299. package/esm5/models/user-access.js +0 -30
  300. package/esm5/models/user-permission.js +0 -43
  301. package/esm5/models/user-profile.js +0 -27
  302. package/esm5/models/user.js +0 -107
  303. package/esm5/models/util.js +0 -298
  304. package/esm5/models/volleyball-game-config.js +0 -53
  305. package/esm5/models/volleyball-game-log.js +0 -145
  306. package/esm5/models/volleyball-game-statistic.js +0 -72
  307. package/esm5/models/volleyball-game-team-statistic.js +0 -32
  308. package/esm5/models/volleyball-profile.js +0 -48
  309. package/esm5/models/volleyball-statistic.js +0 -89
  310. package/esm5/mtgame-core.js +0 -5
  311. package/esm5/public-api.js +0 -8
  312. package/esm5/services/base.service.js +0 -19
  313. package/esm5/services/centrifugo.service.js +0 -122
  314. package/esm5/services/config.service.js +0 -52
  315. package/esm5/services/public-api.js +0 -4
  316. package/esm5/storage/local-storage-engine.js +0 -25
  317. package/esm5/storage/public-api.js +0 -4
  318. package/esm5/storage/storage-engine.js +0 -77
  319. package/esm5/storage/store.js +0 -77
  320. package/esm5/utils/array.js +0 -18
  321. package/esm5/utils/component-destroyed.js +0 -21
  322. package/esm5/utils/cookie.js +0 -9
  323. package/esm5/utils/data.js +0 -79
  324. package/esm5/utils/device.js +0 -14
  325. package/esm5/utils/enum.js +0 -7
  326. package/esm5/utils/errors.js +0 -12
  327. package/esm5/utils/favicon.js +0 -47
  328. package/esm5/utils/form.js +0 -22
  329. package/esm5/utils/public-api.js +0 -11
  330. package/esm5/utils/validators.js +0 -49
  331. package/fesm5/mtgame-core.js +0 -9819
  332. package/fesm5/mtgame-core.js.map +0 -1
@@ -1,5 +1,7 @@
1
- import { __decorate, __param, __awaiter } from 'tslib';
2
- import { ɵɵdefineInjectable, Injectable, Optional, Inject, ɵɵinject, Injector, PLATFORM_ID } from '@angular/core';
1
+ import { __decorate, __awaiter } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { Injectable, Optional, Inject, Injector, PLATFORM_ID } from '@angular/core';
4
+ import * as i1 from '@angular/common/http';
3
5
  import { HttpParams, HttpClient } from '@angular/common/http';
4
6
  import { filter, map, delay, switchMap } from 'rxjs/operators';
5
7
  import { BehaviorSubject, Observable, of } from 'rxjs';
@@ -1919,22 +1921,22 @@ class Store {
1919
1921
  }
1920
1922
  }
1921
1923
 
1922
- let BaseService = class BaseService {
1924
+ class BaseService {
1923
1925
  constructor() {
1924
1926
  this.store = new Store();
1925
1927
  }
1926
1928
  dispose() {
1927
1929
  this.store.dispose();
1928
1930
  }
1929
- };
1930
- BaseService.ɵprov = ɵɵdefineInjectable({ factory: function BaseService_Factory() { return new BaseService(); }, token: BaseService, providedIn: "root" });
1931
- BaseService = __decorate([
1932
- Injectable({ providedIn: 'root' })
1933
- ], BaseService);
1931
+ }
1932
+ BaseService.ɵprov = i0.ɵɵdefineInjectable({ factory: function BaseService_Factory() { return new BaseService(); }, token: BaseService, providedIn: "root" });
1933
+ BaseService.decorators = [
1934
+ { type: Injectable, args: [{ providedIn: 'root' },] }
1935
+ ];
1934
1936
 
1935
1937
  const CONFIG_STORE_KEY = 'config';
1936
1938
  const CONFIG_DATA = 'mtg-core-config-data';
1937
- let ConfigService = class ConfigService extends BaseService {
1939
+ class ConfigService extends BaseService {
1938
1940
  constructor(configData) {
1939
1941
  super();
1940
1942
  this.configData = configData;
@@ -1957,15 +1959,14 @@ let ConfigService = class ConfigService extends BaseService {
1957
1959
  get(key) {
1958
1960
  return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
1959
1961
  }
1960
- };
1962
+ }
1963
+ ConfigService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(i0.ɵɵinject("mtg-core-config-data", 8)); }, token: ConfigService, providedIn: "root" });
1964
+ ConfigService.decorators = [
1965
+ { type: Injectable, args: [{ providedIn: 'root' },] }
1966
+ ];
1961
1967
  ConfigService.ctorParameters = () => [
1962
1968
  { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CONFIG_DATA,] }] }
1963
1969
  ];
1964
- ConfigService.ɵprov = ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(ɵɵinject("mtg-core-config-data", 8)); }, token: ConfigService, providedIn: "root" });
1965
- ConfigService = __decorate([
1966
- Injectable({ providedIn: 'root' }),
1967
- __param(0, Optional()), __param(0, Inject(CONFIG_DATA))
1968
- ], ConfigService);
1969
1970
 
1970
1971
  let TournamentTeam = class TournamentTeam extends BaseModel {
1971
1972
  get gamesWonPercent() {
@@ -2500,7 +2501,7 @@ GameUserLimitations = __decorate([
2500
2501
  })
2501
2502
  ], GameUserLimitations);
2502
2503
 
2503
- let GameBaseApi = class GameBaseApi {
2504
+ class GameBaseApi {
2504
2505
  constructor(httpClient, configService) {
2505
2506
  this.httpClient = httpClient;
2506
2507
  this.configService = configService;
@@ -2528,17 +2529,17 @@ let GameBaseApi = class GameBaseApi {
2528
2529
  }).toPromise();
2529
2530
  });
2530
2531
  }
2531
- };
2532
+ }
2533
+ GameBaseApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function GameBaseApi_Factory() { return new GameBaseApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: GameBaseApi, providedIn: "root" });
2534
+ GameBaseApi.decorators = [
2535
+ { type: Injectable, args: [{ providedIn: 'root' },] }
2536
+ ];
2532
2537
  GameBaseApi.ctorParameters = () => [
2533
2538
  { type: HttpClient },
2534
2539
  { type: ConfigService }
2535
2540
  ];
2536
- GameBaseApi.ɵprov = ɵɵdefineInjectable({ factory: function GameBaseApi_Factory() { return new GameBaseApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: GameBaseApi, providedIn: "root" });
2537
- GameBaseApi = __decorate([
2538
- Injectable({ providedIn: 'root' })
2539
- ], GameBaseApi);
2540
2541
 
2541
- let BasketballGameApi = class BasketballGameApi extends GameBaseApi {
2542
+ class BasketballGameApi extends GameBaseApi {
2542
2543
  constructor(httpClient, configService) {
2543
2544
  super(httpClient, configService);
2544
2545
  this.httpClient = httpClient;
@@ -2576,15 +2577,15 @@ let BasketballGameApi = class BasketballGameApi extends GameBaseApi {
2576
2577
  .toPromise();
2577
2578
  });
2578
2579
  }
2579
- };
2580
+ }
2581
+ BasketballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function BasketballGameApi_Factory() { return new BasketballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: BasketballGameApi, providedIn: "root" });
2582
+ BasketballGameApi.decorators = [
2583
+ { type: Injectable, args: [{ providedIn: 'root' },] }
2584
+ ];
2580
2585
  BasketballGameApi.ctorParameters = () => [
2581
2586
  { type: HttpClient },
2582
2587
  { type: ConfigService }
2583
2588
  ];
2584
- BasketballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function BasketballGameApi_Factory() { return new BasketballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: BasketballGameApi, providedIn: "root" });
2585
- BasketballGameApi = __decorate([
2586
- Injectable({ providedIn: 'root' })
2587
- ], BasketballGameApi);
2588
2589
 
2589
2590
  let Feedback = class Feedback {
2590
2591
  static toFront(data) {
@@ -2616,7 +2617,7 @@ Feedback = __decorate([
2616
2617
  })
2617
2618
  ], Feedback);
2618
2619
 
2619
- let FeedbackApi = class FeedbackApi {
2620
+ class FeedbackApi {
2620
2621
  constructor(httpClient, configService) {
2621
2622
  this.httpClient = httpClient;
2622
2623
  this.configService = configService;
@@ -2635,17 +2636,17 @@ let FeedbackApi = class FeedbackApi {
2635
2636
  .toPromise();
2636
2637
  });
2637
2638
  }
2638
- };
2639
+ }
2640
+ FeedbackApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function FeedbackApi_Factory() { return new FeedbackApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: FeedbackApi, providedIn: "root" });
2641
+ FeedbackApi.decorators = [
2642
+ { type: Injectable, args: [{ providedIn: 'root' },] }
2643
+ ];
2639
2644
  FeedbackApi.ctorParameters = () => [
2640
2645
  { type: HttpClient },
2641
2646
  { type: ConfigService }
2642
2647
  ];
2643
- FeedbackApi.ɵprov = ɵɵdefineInjectable({ factory: function FeedbackApi_Factory() { return new FeedbackApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: FeedbackApi, providedIn: "root" });
2644
- FeedbackApi = __decorate([
2645
- Injectable({ providedIn: 'root' })
2646
- ], FeedbackApi);
2647
2648
 
2648
- let FileApi = class FileApi {
2649
+ class FileApi {
2649
2650
  constructor(httpClient, configService) {
2650
2651
  this.httpClient = httpClient;
2651
2652
  this.configService = configService;
@@ -2675,15 +2676,15 @@ let FileApi = class FileApi {
2675
2676
  .toPromise();
2676
2677
  });
2677
2678
  }
2678
- };
2679
+ }
2680
+ FileApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function FileApi_Factory() { return new FileApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: FileApi, providedIn: "root" });
2681
+ FileApi.decorators = [
2682
+ { type: Injectable, args: [{ providedIn: 'root' },] }
2683
+ ];
2679
2684
  FileApi.ctorParameters = () => [
2680
2685
  { type: HttpClient },
2681
2686
  { type: ConfigService }
2682
2687
  ];
2683
- FileApi.ɵprov = ɵɵdefineInjectable({ factory: function FileApi_Factory() { return new FileApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: FileApi, providedIn: "root" });
2684
- FileApi = __decorate([
2685
- Injectable({ providedIn: 'root' })
2686
- ], FileApi);
2687
2688
 
2688
2689
  var HockeyGameLogTypes;
2689
2690
  (function (HockeyGameLogTypes) {
@@ -3070,7 +3071,7 @@ HockeyGameTeamStatistic = __decorate([
3070
3071
  })
3071
3072
  ], HockeyGameTeamStatistic);
3072
3073
 
3073
- let HockeyGameApi = class HockeyGameApi extends GameBaseApi {
3074
+ class HockeyGameApi extends GameBaseApi {
3074
3075
  constructor(httpClient, configService) {
3075
3076
  super(httpClient, configService);
3076
3077
  this.httpClient = httpClient;
@@ -3112,15 +3113,15 @@ let HockeyGameApi = class HockeyGameApi extends GameBaseApi {
3112
3113
  }).toPromise();
3113
3114
  });
3114
3115
  }
3115
- };
3116
+ }
3117
+ HockeyGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function HockeyGameApi_Factory() { return new HockeyGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: HockeyGameApi, providedIn: "root" });
3118
+ HockeyGameApi.decorators = [
3119
+ { type: Injectable, args: [{ providedIn: 'root' },] }
3120
+ ];
3116
3121
  HockeyGameApi.ctorParameters = () => [
3117
3122
  { type: HttpClient },
3118
3123
  { type: ConfigService }
3119
3124
  ];
3120
- HockeyGameApi.ɵprov = ɵɵdefineInjectable({ factory: function HockeyGameApi_Factory() { return new HockeyGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: HockeyGameApi, providedIn: "root" });
3121
- HockeyGameApi = __decorate([
3122
- Injectable({ providedIn: 'root' })
3123
- ], HockeyGameApi);
3124
3125
 
3125
3126
  var FootballGameLogTypes;
3126
3127
  (function (FootballGameLogTypes) {
@@ -3503,7 +3504,7 @@ FootballGameTeamStatistic = __decorate([
3503
3504
  })
3504
3505
  ], FootballGameTeamStatistic);
3505
3506
 
3506
- let FootballGameApi = class FootballGameApi extends GameBaseApi {
3507
+ class FootballGameApi extends GameBaseApi {
3507
3508
  constructor(httpClient, configService) {
3508
3509
  super(httpClient, configService);
3509
3510
  this.httpClient = httpClient;
@@ -3545,15 +3546,15 @@ let FootballGameApi = class FootballGameApi extends GameBaseApi {
3545
3546
  }).toPromise();
3546
3547
  });
3547
3548
  }
3548
- };
3549
+ }
3550
+ FootballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function FootballGameApi_Factory() { return new FootballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: FootballGameApi, providedIn: "root" });
3551
+ FootballGameApi.decorators = [
3552
+ { type: Injectable, args: [{ providedIn: 'root' },] }
3553
+ ];
3549
3554
  FootballGameApi.ctorParameters = () => [
3550
3555
  { type: HttpClient },
3551
3556
  { type: ConfigService }
3552
3557
  ];
3553
- FootballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function FootballGameApi_Factory() { return new FootballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: FootballGameApi, providedIn: "root" });
3554
- FootballGameApi = __decorate([
3555
- Injectable({ providedIn: 'root' })
3556
- ], FootballGameApi);
3557
3558
 
3558
3559
  var HandballGameLogTypes;
3559
3560
  (function (HandballGameLogTypes) {
@@ -3848,7 +3849,7 @@ HandballGameTeamStatistic = __decorate([
3848
3849
  })
3849
3850
  ], HandballGameTeamStatistic);
3850
3851
 
3851
- let HandballGameApi = class HandballGameApi extends GameBaseApi {
3852
+ class HandballGameApi extends GameBaseApi {
3852
3853
  constructor(httpClient, configService) {
3853
3854
  super(httpClient, configService);
3854
3855
  this.httpClient = httpClient;
@@ -3890,15 +3891,15 @@ let HandballGameApi = class HandballGameApi extends GameBaseApi {
3890
3891
  }).toPromise();
3891
3892
  });
3892
3893
  }
3893
- };
3894
+ }
3895
+ HandballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function HandballGameApi_Factory() { return new HandballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: HandballGameApi, providedIn: "root" });
3896
+ HandballGameApi.decorators = [
3897
+ { type: Injectable, args: [{ providedIn: 'root' },] }
3898
+ ];
3894
3899
  HandballGameApi.ctorParameters = () => [
3895
3900
  { type: HttpClient },
3896
3901
  { type: ConfigService }
3897
3902
  ];
3898
- HandballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function HandballGameApi_Factory() { return new HandballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: HandballGameApi, providedIn: "root" });
3899
- HandballGameApi = __decorate([
3900
- Injectable({ providedIn: 'root' })
3901
- ], HandballGameApi);
3902
3903
 
3903
3904
  let TournamentNews = class TournamentNews extends BaseModel {
3904
3905
  static toFront(data) { }
@@ -4348,7 +4349,7 @@ RugbyStatistic = __decorate([
4348
4349
  })
4349
4350
  ], RugbyStatistic);
4350
4351
 
4351
- let TournamentApi = class TournamentApi {
4352
+ class TournamentApi {
4352
4353
  constructor(httpClient, configService) {
4353
4354
  this.httpClient = httpClient;
4354
4355
  this.configService = configService;
@@ -4623,15 +4624,15 @@ let TournamentApi = class TournamentApi {
4623
4624
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_team_user/${tournamentTeamUserId}/tournaments/`).pipe(map(result => Tournament.toFront(result))).toPromise();
4624
4625
  });
4625
4626
  }
4626
- };
4627
+ }
4628
+ TournamentApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentApi_Factory() { return new TournamentApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentApi, providedIn: "root" });
4629
+ TournamentApi.decorators = [
4630
+ { type: Injectable, args: [{ providedIn: 'root' },] }
4631
+ ];
4627
4632
  TournamentApi.ctorParameters = () => [
4628
4633
  { type: HttpClient },
4629
4634
  { type: ConfigService }
4630
4635
  ];
4631
- TournamentApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentApi_Factory() { return new TournamentApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentApi, providedIn: "root" });
4632
- TournamentApi = __decorate([
4633
- Injectable({ providedIn: 'root' })
4634
- ], TournamentApi);
4635
4636
  function applyGamesFilters(filters, params) {
4636
4637
  if (filters.tournamentIds) {
4637
4638
  params = params.set('tournament_ids', filters.tournamentIds.join(','));
@@ -4792,7 +4793,7 @@ LeagueDocument = __decorate([
4792
4793
  })
4793
4794
  ], LeagueDocument);
4794
4795
 
4795
- let LeagueApi = class LeagueApi {
4796
+ class LeagueApi {
4796
4797
  constructor(httpClient, configService) {
4797
4798
  this.httpClient = httpClient;
4798
4799
  this.configService = configService;
@@ -4899,17 +4900,17 @@ let LeagueApi = class LeagueApi {
4899
4900
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/documents/`).pipe(map(result => LeagueDocument.toFront(result))).toPromise();
4900
4901
  });
4901
4902
  }
4902
- };
4903
+ }
4904
+ LeagueApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function LeagueApi_Factory() { return new LeagueApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: LeagueApi, providedIn: "root" });
4905
+ LeagueApi.decorators = [
4906
+ { type: Injectable, args: [{ providedIn: 'root' },] }
4907
+ ];
4903
4908
  LeagueApi.ctorParameters = () => [
4904
4909
  { type: HttpClient },
4905
4910
  { type: ConfigService }
4906
4911
  ];
4907
- LeagueApi.ɵprov = ɵɵdefineInjectable({ factory: function LeagueApi_Factory() { return new LeagueApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: LeagueApi, providedIn: "root" });
4908
- LeagueApi = __decorate([
4909
- Injectable({ providedIn: 'root' })
4910
- ], LeagueApi);
4911
4912
 
4912
- let LeagueNewsApi = class LeagueNewsApi {
4913
+ class LeagueNewsApi {
4913
4914
  constructor(httpClient, configService) {
4914
4915
  this.httpClient = httpClient;
4915
4916
  this.configService = configService;
@@ -4958,17 +4959,17 @@ let LeagueNewsApi = class LeagueNewsApi {
4958
4959
  .toPromise();
4959
4960
  });
4960
4961
  }
4961
- };
4962
+ }
4963
+ LeagueNewsApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function LeagueNewsApi_Factory() { return new LeagueNewsApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: LeagueNewsApi, providedIn: "root" });
4964
+ LeagueNewsApi.decorators = [
4965
+ { type: Injectable, args: [{ providedIn: 'root' },] }
4966
+ ];
4962
4967
  LeagueNewsApi.ctorParameters = () => [
4963
4968
  { type: HttpClient },
4964
4969
  { type: ConfigService }
4965
4970
  ];
4966
- LeagueNewsApi.ɵprov = ɵɵdefineInjectable({ factory: function LeagueNewsApi_Factory() { return new LeagueNewsApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: LeagueNewsApi, providedIn: "root" });
4967
- LeagueNewsApi = __decorate([
4968
- Injectable({ providedIn: 'root' })
4969
- ], LeagueNewsApi);
4970
4971
 
4971
- let LeaguePlayerApi = class LeaguePlayerApi {
4972
+ class LeaguePlayerApi {
4972
4973
  constructor(httpClient, configService) {
4973
4974
  this.httpClient = httpClient;
4974
4975
  this.configService = configService;
@@ -4983,17 +4984,17 @@ let LeaguePlayerApi = class LeaguePlayerApi {
4983
4984
  }
4984
4985
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league_player/${leaguePlayerId}/tournament_users/`, { params }).pipe(map(item => TournamentTeamUser.toFront(item))).toPromise();
4985
4986
  }
4986
- };
4987
+ }
4988
+ LeaguePlayerApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function LeaguePlayerApi_Factory() { return new LeaguePlayerApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: LeaguePlayerApi, providedIn: "root" });
4989
+ LeaguePlayerApi.decorators = [
4990
+ { type: Injectable, args: [{ providedIn: 'root' },] }
4991
+ ];
4987
4992
  LeaguePlayerApi.ctorParameters = () => [
4988
4993
  { type: HttpClient },
4989
4994
  { type: ConfigService }
4990
4995
  ];
4991
- LeaguePlayerApi.ɵprov = ɵɵdefineInjectable({ factory: function LeaguePlayerApi_Factory() { return new LeaguePlayerApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: LeaguePlayerApi, providedIn: "root" });
4992
- LeaguePlayerApi = __decorate([
4993
- Injectable({ providedIn: 'root' })
4994
- ], LeaguePlayerApi);
4995
4996
 
4996
- let MediaApi = class MediaApi {
4997
+ class MediaApi {
4997
4998
  constructor(httpClient, configService) {
4998
4999
  this.httpClient = httpClient;
4999
5000
  this.configService = configService;
@@ -5069,15 +5070,15 @@ let MediaApi = class MediaApi {
5069
5070
  .toPromise();
5070
5071
  });
5071
5072
  }
5072
- };
5073
+ }
5074
+ MediaApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function MediaApi_Factory() { return new MediaApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: MediaApi, providedIn: "root" });
5075
+ MediaApi.decorators = [
5076
+ { type: Injectable, args: [{ providedIn: 'root' },] }
5077
+ ];
5073
5078
  MediaApi.ctorParameters = () => [
5074
5079
  { type: HttpClient },
5075
5080
  { type: ConfigService }
5076
5081
  ];
5077
- MediaApi.ɵprov = ɵɵdefineInjectable({ factory: function MediaApi_Factory() { return new MediaApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: MediaApi, providedIn: "root" });
5078
- MediaApi = __decorate([
5079
- Injectable({ providedIn: 'root' })
5080
- ], MediaApi);
5081
5082
  function applyGameMediaFilters(filters, params) {
5082
5083
  if (filters) {
5083
5084
  params = applyGamesFilters(filters, params);
@@ -5591,7 +5592,7 @@ NotificationSettings = __decorate([
5591
5592
  })
5592
5593
  ], NotificationSettings);
5593
5594
 
5594
- let NotificationBaseApi = class NotificationBaseApi {
5595
+ class NotificationBaseApi {
5595
5596
  constructor(httpClient, configService) {
5596
5597
  this.httpClient = httpClient;
5597
5598
  this.configService = configService;
@@ -5653,39 +5654,39 @@ let NotificationBaseApi = class NotificationBaseApi {
5653
5654
  .toPromise();
5654
5655
  });
5655
5656
  }
5656
- };
5657
+ }
5658
+ NotificationBaseApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function NotificationBaseApi_Factory() { return new NotificationBaseApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: NotificationBaseApi, providedIn: "root" });
5659
+ NotificationBaseApi.decorators = [
5660
+ { type: Injectable, args: [{ providedIn: 'root' },] }
5661
+ ];
5657
5662
  NotificationBaseApi.ctorParameters = () => [
5658
5663
  { type: HttpClient },
5659
5664
  { type: ConfigService }
5660
5665
  ];
5661
- NotificationBaseApi.ɵprov = ɵɵdefineInjectable({ factory: function NotificationBaseApi_Factory() { return new NotificationBaseApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: NotificationBaseApi, providedIn: "root" });
5662
- NotificationBaseApi = __decorate([
5663
- Injectable({ providedIn: 'root' })
5664
- ], NotificationBaseApi);
5665
5666
 
5666
- let NotificationApi = class NotificationApi extends NotificationBaseApi {
5667
+ class NotificationApi extends NotificationBaseApi {
5667
5668
  constructor() {
5668
5669
  super(...arguments);
5669
5670
  this.apiUrl = '/api/v1';
5670
5671
  }
5671
- };
5672
- NotificationApi.ɵprov = ɵɵdefineInjectable({ factory: function NotificationApi_Factory() { return new NotificationApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: NotificationApi, providedIn: "root" });
5673
- NotificationApi = __decorate([
5674
- Injectable({ providedIn: 'root' })
5675
- ], NotificationApi);
5672
+ }
5673
+ NotificationApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function NotificationApi_Factory() { return new NotificationApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: NotificationApi, providedIn: "root" });
5674
+ NotificationApi.decorators = [
5675
+ { type: Injectable, args: [{ providedIn: 'root' },] }
5676
+ ];
5676
5677
 
5677
- let OrgNotificationApi = class OrgNotificationApi extends NotificationBaseApi {
5678
+ class OrgNotificationApi extends NotificationBaseApi {
5678
5679
  constructor() {
5679
5680
  super(...arguments);
5680
5681
  this.apiUrl = '/org/api/v1';
5681
5682
  }
5682
- };
5683
- OrgNotificationApi.ɵprov = ɵɵdefineInjectable({ factory: function OrgNotificationApi_Factory() { return new OrgNotificationApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: OrgNotificationApi, providedIn: "root" });
5684
- OrgNotificationApi = __decorate([
5685
- Injectable({ providedIn: 'root' })
5686
- ], OrgNotificationApi);
5683
+ }
5684
+ OrgNotificationApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function OrgNotificationApi_Factory() { return new OrgNotificationApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: OrgNotificationApi, providedIn: "root" });
5685
+ OrgNotificationApi.decorators = [
5686
+ { type: Injectable, args: [{ providedIn: 'root' },] }
5687
+ ];
5687
5688
 
5688
- let ReferenceApi = class ReferenceApi {
5689
+ class ReferenceApi {
5689
5690
  constructor(httpClient, configService) {
5690
5691
  this.httpClient = httpClient;
5691
5692
  this.configService = configService;
@@ -5704,15 +5705,15 @@ let ReferenceApi = class ReferenceApi {
5704
5705
  .pipe(map(data => Sport.toFront(data))).toPromise();
5705
5706
  });
5706
5707
  }
5707
- };
5708
+ }
5709
+ ReferenceApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function ReferenceApi_Factory() { return new ReferenceApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: ReferenceApi, providedIn: "root" });
5710
+ ReferenceApi.decorators = [
5711
+ { type: Injectable, args: [{ providedIn: 'root' },] }
5712
+ ];
5708
5713
  ReferenceApi.ctorParameters = () => [
5709
5714
  { type: HttpClient },
5710
5715
  { type: ConfigService }
5711
5716
  ];
5712
- ReferenceApi.ɵprov = ɵɵdefineInjectable({ factory: function ReferenceApi_Factory() { return new ReferenceApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: ReferenceApi, providedIn: "root" });
5713
- ReferenceApi = __decorate([
5714
- Injectable({ providedIn: 'root' })
5715
- ], ReferenceApi);
5716
5717
 
5717
5718
  let RugbyGameTeamStatistic = class RugbyGameTeamStatistic extends BaseModel {
5718
5719
  static toFront(data) { }
@@ -5867,7 +5868,7 @@ const RUGBY_GAME_LOG_TYPE_POINTS = {
5867
5868
  [RugbyGameLogTypes.conversion_goal]: 2,
5868
5869
  [RugbyGameLogTypes.penalty_goal]: 3,
5869
5870
  [RugbyGameLogTypes.drop_goal]: 3,
5870
- [RugbyGameLogTypes.end_game_penalty_goal]: 1,
5871
+ [RugbyGameLogTypes.end_game_penalty_goal]: 1, // Не влияет на общий счет
5871
5872
  };
5872
5873
  const RUGBY_TEAM_LOG_TYPES = [
5873
5874
  RugbyGameLogTypes.timeout, RugbyGameLogTypes.scrum_won, RugbyGameLogTypes.scrum_lost, RugbyGameLogTypes.scrum_won_free,
@@ -5952,7 +5953,7 @@ RugbyGameLog = __decorate([
5952
5953
  })
5953
5954
  ], RugbyGameLog);
5954
5955
 
5955
- let RugbyGameApi = class RugbyGameApi extends GameBaseApi {
5956
+ class RugbyGameApi extends GameBaseApi {
5956
5957
  constructor(httpClient, configService) {
5957
5958
  super(httpClient, configService);
5958
5959
  this.httpClient = httpClient;
@@ -5991,15 +5992,15 @@ let RugbyGameApi = class RugbyGameApi extends GameBaseApi {
5991
5992
  }).toPromise();
5992
5993
  });
5993
5994
  }
5994
- };
5995
+ }
5996
+ RugbyGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function RugbyGameApi_Factory() { return new RugbyGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: RugbyGameApi, providedIn: "root" });
5997
+ RugbyGameApi.decorators = [
5998
+ { type: Injectable, args: [{ providedIn: 'root' },] }
5999
+ ];
5995
6000
  RugbyGameApi.ctorParameters = () => [
5996
6001
  { type: HttpClient },
5997
6002
  { type: ConfigService }
5998
6003
  ];
5999
- RugbyGameApi.ɵprov = ɵɵdefineInjectable({ factory: function RugbyGameApi_Factory() { return new RugbyGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: RugbyGameApi, providedIn: "root" });
6000
- RugbyGameApi = __decorate([
6001
- Injectable({ providedIn: 'root' })
6002
- ], RugbyGameApi);
6003
6004
 
6004
6005
  let TeamInviteExternal = class TeamInviteExternal extends BaseModel {
6005
6006
  static toFront(data) { }
@@ -6099,7 +6100,7 @@ TeamAccess = __decorate([
6099
6100
  })
6100
6101
  ], TeamAccess);
6101
6102
 
6102
- let TeamApi = class TeamApi {
6103
+ class TeamApi {
6103
6104
  constructor(httpClient, configService) {
6104
6105
  this.httpClient = httpClient;
6105
6106
  this.configService = configService;
@@ -6459,17 +6460,17 @@ let TeamApi = class TeamApi {
6459
6460
  .toPromise();
6460
6461
  });
6461
6462
  }
6462
- };
6463
+ }
6464
+ TeamApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TeamApi_Factory() { return new TeamApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TeamApi, providedIn: "root" });
6465
+ TeamApi.decorators = [
6466
+ { type: Injectable, args: [{ providedIn: 'root' },] }
6467
+ ];
6463
6468
  TeamApi.ctorParameters = () => [
6464
6469
  { type: HttpClient },
6465
6470
  { type: ConfigService }
6466
6471
  ];
6467
- TeamApi.ɵprov = ɵɵdefineInjectable({ factory: function TeamApi_Factory() { return new TeamApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TeamApi, providedIn: "root" });
6468
- TeamApi = __decorate([
6469
- Injectable({ providedIn: 'root' })
6470
- ], TeamApi);
6471
6472
 
6472
- let TeamEventApi = class TeamEventApi {
6473
+ class TeamEventApi {
6473
6474
  constructor(httpClient, configService) {
6474
6475
  this.httpClient = httpClient;
6475
6476
  this.configService = configService;
@@ -6529,15 +6530,15 @@ let TeamEventApi = class TeamEventApi {
6529
6530
  .toPromise();
6530
6531
  });
6531
6532
  }
6532
- };
6533
+ }
6534
+ TeamEventApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TeamEventApi_Factory() { return new TeamEventApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TeamEventApi, providedIn: "root" });
6535
+ TeamEventApi.decorators = [
6536
+ { type: Injectable, args: [{ providedIn: 'root' },] }
6537
+ ];
6533
6538
  TeamEventApi.ctorParameters = () => [
6534
6539
  { type: HttpClient },
6535
6540
  { type: ConfigService }
6536
6541
  ];
6537
- TeamEventApi.ɵprov = ɵɵdefineInjectable({ factory: function TeamEventApi_Factory() { return new TeamEventApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TeamEventApi, providedIn: "root" });
6538
- TeamEventApi = __decorate([
6539
- Injectable({ providedIn: 'root' })
6540
- ], TeamEventApi);
6541
6542
 
6542
6543
  let TournamentJoinData = class TournamentJoinData extends BaseModel {
6543
6544
  get usersCount() {
@@ -6589,7 +6590,7 @@ TournamentJoinTeam = __decorate([
6589
6590
  })
6590
6591
  ], TournamentJoinTeam);
6591
6592
 
6592
- let TournamentJoinApi = class TournamentJoinApi {
6593
+ class TournamentJoinApi {
6593
6594
  constructor(httpClient, configService) {
6594
6595
  this.httpClient = httpClient;
6595
6596
  this.configService = configService;
@@ -6617,17 +6618,17 @@ let TournamentJoinApi = class TournamentJoinApi {
6617
6618
  .toPromise();
6618
6619
  });
6619
6620
  }
6620
- };
6621
+ }
6622
+ TournamentJoinApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentJoinApi_Factory() { return new TournamentJoinApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentJoinApi, providedIn: "root" });
6623
+ TournamentJoinApi.decorators = [
6624
+ { type: Injectable, args: [{ providedIn: 'root' },] }
6625
+ ];
6621
6626
  TournamentJoinApi.ctorParameters = () => [
6622
6627
  { type: HttpClient },
6623
6628
  { type: ConfigService }
6624
6629
  ];
6625
- TournamentJoinApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentJoinApi_Factory() { return new TournamentJoinApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentJoinApi, providedIn: "root" });
6626
- TournamentJoinApi = __decorate([
6627
- Injectable({ providedIn: 'root' })
6628
- ], TournamentJoinApi);
6629
6630
 
6630
- let TournamentSeasonApi = class TournamentSeasonApi {
6631
+ class TournamentSeasonApi {
6631
6632
  constructor(httpClient, configService) {
6632
6633
  this.httpClient = httpClient;
6633
6634
  this.configService = configService;
@@ -6712,17 +6713,17 @@ let TournamentSeasonApi = class TournamentSeasonApi {
6712
6713
  .toPromise();
6713
6714
  });
6714
6715
  }
6715
- };
6716
+ }
6717
+ TournamentSeasonApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentSeasonApi_Factory() { return new TournamentSeasonApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentSeasonApi, providedIn: "root" });
6718
+ TournamentSeasonApi.decorators = [
6719
+ { type: Injectable, args: [{ providedIn: 'root' },] }
6720
+ ];
6716
6721
  TournamentSeasonApi.ctorParameters = () => [
6717
6722
  { type: HttpClient },
6718
6723
  { type: ConfigService }
6719
6724
  ];
6720
- TournamentSeasonApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentSeasonApi_Factory() { return new TournamentSeasonApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentSeasonApi, providedIn: "root" });
6721
- TournamentSeasonApi = __decorate([
6722
- Injectable({ providedIn: 'root' })
6723
- ], TournamentSeasonApi);
6724
6725
 
6725
- let TournamentStageApi = class TournamentStageApi {
6726
+ class TournamentStageApi {
6726
6727
  constructor(httpClient, configService) {
6727
6728
  this.httpClient = httpClient;
6728
6729
  this.configService = configService;
@@ -6755,15 +6756,15 @@ let TournamentStageApi = class TournamentStageApi {
6755
6756
  .toPromise();
6756
6757
  });
6757
6758
  }
6758
- };
6759
+ }
6760
+ TournamentStageApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentStageApi_Factory() { return new TournamentStageApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentStageApi, providedIn: "root" });
6761
+ TournamentStageApi.decorators = [
6762
+ { type: Injectable, args: [{ providedIn: 'root' },] }
6763
+ ];
6759
6764
  TournamentStageApi.ctorParameters = () => [
6760
6765
  { type: HttpClient },
6761
6766
  { type: ConfigService }
6762
6767
  ];
6763
- TournamentStageApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentStageApi_Factory() { return new TournamentStageApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentStageApi, providedIn: "root" });
6764
- TournamentStageApi = __decorate([
6765
- Injectable({ providedIn: 'root' })
6766
- ], TournamentStageApi);
6767
6768
 
6768
6769
  let UserAccess = class UserAccess extends BaseModel {
6769
6770
  static toFront(data) { }
@@ -6822,7 +6823,7 @@ UserPermission = __decorate([
6822
6823
  })
6823
6824
  ], UserPermission);
6824
6825
 
6825
- let UserApi = class UserApi {
6826
+ class UserApi {
6826
6827
  constructor(httpClient, configService) {
6827
6828
  this.httpClient = httpClient;
6828
6829
  this.configService = configService;
@@ -7073,15 +7074,15 @@ let UserApi = class UserApi {
7073
7074
  .toPromise();
7074
7075
  });
7075
7076
  }
7076
- };
7077
+ }
7078
+ UserApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserApi_Factory() { return new UserApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: UserApi, providedIn: "root" });
7079
+ UserApi.decorators = [
7080
+ { type: Injectable, args: [{ providedIn: 'root' },] }
7081
+ ];
7077
7082
  UserApi.ctorParameters = () => [
7078
7083
  { type: HttpClient },
7079
7084
  { type: ConfigService }
7080
7085
  ];
7081
- UserApi.ɵprov = ɵɵdefineInjectable({ factory: function UserApi_Factory() { return new UserApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: UserApi, providedIn: "root" });
7082
- UserApi = __decorate([
7083
- Injectable({ providedIn: 'root' })
7084
- ], UserApi);
7085
7086
 
7086
7087
  let VolleyballGameTeamStatistic = class VolleyballGameTeamStatistic extends BaseModel {
7087
7088
  static toFront(data) { }
@@ -7293,7 +7294,7 @@ VolleyballGameLog = __decorate([
7293
7294
  })
7294
7295
  ], VolleyballGameLog);
7295
7296
 
7296
- let VolleyballGameApi = class VolleyballGameApi extends GameBaseApi {
7297
+ class VolleyballGameApi extends GameBaseApi {
7297
7298
  constructor(httpClient, configService) {
7298
7299
  super(httpClient, configService);
7299
7300
  this.httpClient = httpClient;
@@ -7335,17 +7336,17 @@ let VolleyballGameApi = class VolleyballGameApi extends GameBaseApi {
7335
7336
  }).toPromise();
7336
7337
  });
7337
7338
  }
7338
- };
7339
+ }
7340
+ VolleyballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function VolleyballGameApi_Factory() { return new VolleyballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: VolleyballGameApi, providedIn: "root" });
7341
+ VolleyballGameApi.decorators = [
7342
+ { type: Injectable, args: [{ providedIn: 'root' },] }
7343
+ ];
7339
7344
  VolleyballGameApi.ctorParameters = () => [
7340
7345
  { type: HttpClient },
7341
7346
  { type: ConfigService }
7342
7347
  ];
7343
- VolleyballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function VolleyballGameApi_Factory() { return new VolleyballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: VolleyballGameApi, providedIn: "root" });
7344
- VolleyballGameApi = __decorate([
7345
- Injectable({ providedIn: 'root' })
7346
- ], VolleyballGameApi);
7347
7348
 
7348
- let PublicTeamApi = class PublicTeamApi {
7349
+ class PublicTeamApi {
7349
7350
  constructor(httpClient, configService) {
7350
7351
  this.httpClient = httpClient;
7351
7352
  this.configService = configService;
@@ -7357,17 +7358,17 @@ let PublicTeamApi = class PublicTeamApi {
7357
7358
  const params = new HttpParams().set('league_id', leagueId.toString());
7358
7359
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_team/${teamId}/tournament_teams/`, { params }).pipe(map(result => TournamentTeam.toFront(result))).toPromise();
7359
7360
  }
7360
- };
7361
+ }
7362
+ PublicTeamApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function PublicTeamApi_Factory() { return new PublicTeamApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: PublicTeamApi, providedIn: "root" });
7363
+ PublicTeamApi.decorators = [
7364
+ { type: Injectable, args: [{ providedIn: 'root' },] }
7365
+ ];
7361
7366
  PublicTeamApi.ctorParameters = () => [
7362
7367
  { type: HttpClient },
7363
7368
  { type: ConfigService }
7364
7369
  ];
7365
- PublicTeamApi.ɵprov = ɵɵdefineInjectable({ factory: function PublicTeamApi_Factory() { return new PublicTeamApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: PublicTeamApi, providedIn: "root" });
7366
- PublicTeamApi = __decorate([
7367
- Injectable({ providedIn: 'root' })
7368
- ], PublicTeamApi);
7369
7370
 
7370
- let PublicUserApi = class PublicUserApi {
7371
+ class PublicUserApi {
7371
7372
  constructor(httpClient, configService) {
7372
7373
  this.httpClient = httpClient;
7373
7374
  this.configService = configService;
@@ -7387,15 +7388,15 @@ let PublicUserApi = class PublicUserApi {
7387
7388
  const params = new HttpParams().set('league_id', leagueId.toString());
7388
7389
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => LeaguePlayer.toFront(result))).toPromise();
7389
7390
  }
7390
- };
7391
+ }
7392
+ PublicUserApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function PublicUserApi_Factory() { return new PublicUserApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: PublicUserApi, providedIn: "root" });
7393
+ PublicUserApi.decorators = [
7394
+ { type: Injectable, args: [{ providedIn: 'root' },] }
7395
+ ];
7391
7396
  PublicUserApi.ctorParameters = () => [
7392
7397
  { type: HttpClient },
7393
7398
  { type: ConfigService }
7394
7399
  ];
7395
- PublicUserApi.ɵprov = ɵɵdefineInjectable({ factory: function PublicUserApi_Factory() { return new PublicUserApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: PublicUserApi, providedIn: "root" });
7396
- PublicUserApi = __decorate([
7397
- Injectable({ providedIn: 'root' })
7398
- ], PublicUserApi);
7399
7400
 
7400
7401
  const BasketballGameLogTypeLocalization = {
7401
7402
  [BasketballGameLogTypes.enter_game]: 'Выход на площадку',
@@ -7704,7 +7705,7 @@ LeaguePlaylist = __decorate([
7704
7705
  })
7705
7706
  ], LeaguePlaylist);
7706
7707
 
7707
- let CentrifugoService = class CentrifugoService {
7708
+ class CentrifugoService {
7708
7709
  constructor(httpClient, configService) {
7709
7710
  this.httpClient = httpClient;
7710
7711
  this.configService = configService;
@@ -7796,15 +7797,15 @@ let CentrifugoService = class CentrifugoService {
7796
7797
  }
7797
7798
  this.channels$[channel].next(response.data);
7798
7799
  }
7799
- };
7800
+ }
7801
+ CentrifugoService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CentrifugoService_Factory() { return new CentrifugoService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: CentrifugoService, providedIn: "root" });
7802
+ CentrifugoService.decorators = [
7803
+ { type: Injectable, args: [{ providedIn: 'root' },] }
7804
+ ];
7800
7805
  CentrifugoService.ctorParameters = () => [
7801
7806
  { type: HttpClient },
7802
7807
  { type: ConfigService }
7803
7808
  ];
7804
- CentrifugoService.ɵprov = ɵɵdefineInjectable({ factory: function CentrifugoService_Factory() { return new CentrifugoService(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: CentrifugoService, providedIn: "root" });
7805
- CentrifugoService = __decorate([
7806
- Injectable({ providedIn: 'root' })
7807
- ], CentrifugoService);
7808
7809
 
7809
7810
  class StorageEngineField {
7810
7811
  constructor(defaultValue, modelClass) {
@@ -8034,7 +8035,7 @@ function fileSizeValidator(maxFileSize) {
8034
8035
  };
8035
8036
  }
8036
8037
 
8037
- let HttpCookieInterceptor = class HttpCookieInterceptor {
8038
+ class HttpCookieInterceptor {
8038
8039
  constructor(injector, configService, platformId) {
8039
8040
  this.injector = injector;
8040
8041
  this.configService = configService;
@@ -8057,16 +8058,15 @@ let HttpCookieInterceptor = class HttpCookieInterceptor {
8057
8058
  }
8058
8059
  return next.handle(req);
8059
8060
  }
8060
- };
8061
+ }
8062
+ HttpCookieInterceptor.decorators = [
8063
+ { type: Injectable }
8064
+ ];
8061
8065
  HttpCookieInterceptor.ctorParameters = () => [
8062
8066
  { type: Injector },
8063
8067
  { type: ConfigService },
8064
8068
  { type: String, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
8065
8069
  ];
8066
- HttpCookieInterceptor = __decorate([
8067
- Injectable(),
8068
- __param(2, Inject(PLATFORM_ID))
8069
- ], HttpCookieInterceptor);
8070
8070
 
8071
8071
  /**
8072
8072
  * Generated bundle index. Do not edit.