@golstats/gsc-lineups-reports 1.0.9 → 1.1.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 (48) hide show
  1. package/README.md +2 -2
  2. package/dist/css/fonts.css +91 -91
  3. package/dist/gsc-lineups-reports.css +1 -1
  4. package/dist/gsc-lineups-reports.es.js +2946 -2675
  5. package/dist/gsc-lineups-reports.umd.js +10 -7
  6. package/dist/images/canchaRPH.svg +30 -30
  7. package/dist/images/events/atajada.svg +56 -56
  8. package/dist/images/events/fin-del-partido.svg +43 -43
  9. package/dist/images/events/fuera-de-lugar.svg +57 -57
  10. package/dist/images/events/gol.svg +48 -48
  11. package/dist/images/events/icn-cambio.svg +6 -6
  12. package/dist/images/events/icn-falta.svg +4 -4
  13. package/dist/images/events/icn-play.svg +3 -3
  14. package/dist/images/events/icn-tarjeta-amarilla.svg +3 -3
  15. package/dist/images/events/icn-tarjeta-roja.svg +3 -3
  16. package/dist/images/events/icn-tiro-a-porteria.svg +36 -36
  17. package/dist/images/events/icn-tiros-de-esquina.svg +18 -18
  18. package/dist/images/events/inicia-el-partido.svg +45 -45
  19. package/dist/images/events/jugada-peligrosa.svg +90 -90
  20. package/dist/images/events/penal-fallado.svg +194 -194
  21. package/dist/images/events/penal-marcado.svg +189 -189
  22. package/dist/images/events/tiempo-agregado.svg +74 -74
  23. package/dist/images/events/tiro-a-porteria.svg +80 -80
  24. package/dist/images/events/var.svg +30 -30
  25. package/package.json +7 -3
  26. package/src/components/Lineup2D/CheckBox.vue +42 -42
  27. package/src/components/Lineup2D/FilterEmpty.vue +48 -48
  28. package/src/components/Lineup2D/Icons.vue +29 -29
  29. package/src/components/Lineup2D/LineupField.vue +274 -274
  30. package/src/components/Lineup2D/LineupFilter.vue +285 -285
  31. package/src/components/Lineup2D/LineupMainHeader.vue +222 -222
  32. package/src/components/Lineup2D/LineupRecentItem.vue +110 -110
  33. package/src/components/Lineup2D/MatchDetails.vue +66 -66
  34. package/src/components/gsc-filter.vue +286 -286
  35. package/src/components/gsc-header-historico-lineup.vue +1064 -1064
  36. package/src/components/gsc-header-postmatch-lineup.vue +1017 -1017
  37. package/src/components/gsc-header-probables-lineup.vue +1044 -1044
  38. package/src/components/gsc-header-recientes-lineup.vue +2337 -2337
  39. package/src/components/gsc-lineup-dosd.vue +3777 -3752
  40. package/src/components/gsc-lineup-main.vue +81 -65
  41. package/src/components/gsc-lineups-reports.vue +10 -0
  42. package/src/components/gsc-lineups.vue +46 -12
  43. package/src/components/gsc-player-card.vue +166 -166
  44. package/src/index.js +4 -4
  45. package/src/main-test.js +42 -0
  46. package/src/types.d.ts +45 -45
  47. package/src/utils/apiUrl.js +33 -0
  48. package/src/utils/socketConnection.js +29 -29
@@ -1,2337 +1,2337 @@
1
- <template>
2
- <div :class="$style.headerSeccionAlineaciones">
3
- <div :class="headerSeccionAlineaciones1Class" id="header-desktop-full">
4
- <div :class="$style.groupsLeagueParent">
5
- <div :class="$style.groupsLeague">
6
- <span>Las alineaciones de este partido </span>
7
- <span :class="$style.anNoEstn">aún no están disponibles</span>
8
- <span>. Por lo pronto puedes ver alineaciones:</span>
9
- </div>
10
- <div :class="$style.switchStatesBig" id="switch-lineup">
11
- <GscSwitchComponent
12
- :buttons="['Historicos', 'Recientes', 'Probables']"
13
- :selectedOption="optionSelected"
14
- :type="1"
15
- width="600px"
16
- :arrow="false"
17
- borderRadius="32px"
18
- height="28px"
19
- fontSize="11px;"
20
- fontFamily="Poppins-Regular"
21
- border-width="1px"
22
- border-width-container="0.5px"
23
- backgroundOptionDisable="#162533"
24
- @input="clickOnSelectOption"
25
- />
26
- </div>
27
- </div>
28
- <div :class="$style.matchContainer" id="match-container">
29
- <div :class="$style.homeTeamContainer">
30
- <div :class="$style.teamContainer">
31
- <div :class="$style.imgHomeTeamWrapper">
32
- <img
33
- :class="$style.imgHomeTeamIcon"
34
- alt=""
35
- :src="
36
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
37
- gameInfo.home_team +
38
- '.png'
39
- "
40
- />
41
- </div>
42
- </div>
43
- <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
44
- </div>
45
- <div :class="$style.teamSwitch" id="switch-team">
46
- <GSCSwitchRadio
47
- width="41px"
48
- height="20px"
49
- heightCircle="15px"
50
- widthCircle="15px"
51
- circle-color-switch="#cbee6b"
52
- :text-option-left="gameInfo.home_team_abbreviation"
53
- @change="changeSwitchRadio"
54
- :text-option-right="gameInfo.away_team_abbreviation"
55
- font-color="white"
56
- :value-default="teamSelect"
57
- :hidden-labels="true"
58
- />
59
- </div>
60
- <div :class="$style.awayTeamContainer">
61
- <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
62
- <div :class="$style.teamContainer1">
63
- <div :class="$style.imgHomeTeamWrapper">
64
- <img
65
- :class="$style.imgHomeTeamIcon"
66
- alt=""
67
- :src="
68
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
69
- gameInfo.away_team +
70
- '.png'
71
- "
72
- />
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
-
78
- <div :class="$style.matchContainer1" id="match-info-container">
79
- <div :class="$style.btnFilterParent">
80
- <button :class="$style.btnFilter" id="btn-filters">
81
- <div :class="$style.sortParent" @click="openFilter">
82
- <img
83
- :class="$style.sortIcon"
84
- alt=""
85
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter.svg"
86
- />
87
- <div :class="$style.filtros">Filtros</div>
88
- </div>
89
- <img
90
- :class="$style.shapeIcon"
91
- alt=""
92
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow.svg"
93
- />
94
- <GSCFilter
95
- :item-select="filterObject"
96
- :is-open="openfiltervalue"
97
- @change="changeFiltersModal"
98
- :reset="vDeleteFilter"
99
- margin-modal="-83px"
100
- />
101
- </button>
102
- <GSCDropdown
103
- @click="clickOnValueFilter"
104
- v-if="gameRecientesFilter.length > 0"
105
- :key="keyUpdate"
106
- :default-item-by-prop="defaultDropItem"
107
- :class="$style.btnFilter1"
108
- id="btn-filters"
109
- :items="matchdaysFinal"
110
- @input="changeDropdown"
111
- height="32px"
112
- width="114px"
113
- background-color="rgba(255, 255, 255, 0.05);"
114
- color="white"
115
- border-width="1"
116
- borderColor="rgba(255, 255, 255, 0.2)"
117
- border-radius="0px"
118
- fontSize="10px"
119
- arrowHeight="16"
120
- :arrowWidth="16"
121
- listHeight="300px"
122
- listBackgroundColor="#243a4c"
123
- hoverBackgroundColor="#0d1d2a"
124
- listItemColor="#FFFFFF"
125
- listItemSelectedBackgroundColor="#0d1d2a"
126
- listItemSelectedColor="#c3e569"
127
- listItemPadding="8px 7px"
128
- listBorderColor="rgba(255, 255, 255, 0.1)"
129
- listBorderRadius="2px"
130
- >
131
- <template #default="data">
132
- <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
133
- </template>
134
- <template #availableItem="{ item }">
135
- <div>{{ item.name }}</div>
136
- </template>
137
- </GSCDropdown>
138
- </div>
139
- <div :class="$style.match">
140
- <GSCCarousel
141
- @click="clickOnValueCarrousel"
142
- v-if="gameRecientesFilter.length > 0"
143
- :key="updateCarouselGames"
144
- :default-item-by-index="selectedIndexOption"
145
- :items="gameRecientesFilter"
146
- @input="changeCarouselItem"
147
- isMainSlidePriority
148
- areSlidesArrowsVisible
149
- :areNavigationArrowsVisible="false"
150
- slideLeftArrowBackgroundImage="none"
151
- slideRightArrowBackgroundImage="none"
152
- >
153
- <template #default="{ item }">
154
- <div :class="$style.selectoritem">
155
- <div :class="$style.homeTeam">
156
- <div :class="$style.teamContainer2">
157
- <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
158
- <img
159
- :class="$style.imgHomeTeamIcon"
160
- alt=""
161
- :src="
162
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
163
- item.home_team +
164
- '.png'
165
- "
166
- />
167
- </div>
168
- </div>
169
- <div :class="$style.scoreContainer1">
170
- <div :class="$style.finalScore">
171
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
172
- {{ item.score[0] }}
173
- </div>
174
- <div :class="$style.div4">-</div>
175
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
176
- <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
177
- <template v-else>{{ item.score[4] }}</template>
178
- </div>
179
- </div>
180
- <div :class="$style.manchesterUnited1">
181
- <template v-if="item.home_team_abbreviation == teamSelect">
182
- <template v-if="item.home_match_result == 1">Ganado</template>
183
- <template v-if="item.home_match_result == 2">Perdido</template>
184
- <template v-if="item.home_match_result == 3">Empatado</template>
185
- </template>
186
- <template v-if="item.away_team_abbreviation == teamSelect">
187
- <template v-if="item.visiting_match_result == 1">Ganado</template>
188
- <template v-if="item.visiting_match_result == 2">Perdido</template>
189
- <template v-if="item.visiting_match_result == 3">Empatado</template>
190
- </template>
191
- </div>
192
- </div>
193
- <div :class="$style.homeTeam">
194
- <div :class="$style.teamContainer2">
195
- <img
196
- :class="$style.imgHomeTeamIcon"
197
- alt=""
198
- :src="
199
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
200
- item.away_team +
201
- '.png'
202
- "
203
- />
204
- <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
205
- </div>
206
- </div>
207
- </div>
208
- </template>
209
- </GSCCarousel>
210
- <div v-else>
211
- <div :class="$style.containernofoundsearchrecientes">
212
- <div :class="$style.leyenddeleteshow">
213
- No hay resultados con los criterios<br />de búsqueda aplicados.
214
- </div>
215
- <div :class="$style.btndeletefilters" @click="deleteFilters">
216
- Eliminar filtros aplicados
217
- </div>
218
- </div>
219
- </div>
220
- <GSCMatchDetails
221
- style="margin-top: 30px"
222
- v-if="showDetails"
223
- :localDetails="localDetails"
224
- :foreignDetails="foreignDetails"
225
- />
226
- </div>
227
- <div :class="$style.btnDetails">
228
- <div :class="$style.manchesterUnited2" @click="clickShowDetails">
229
- <template v-if="showDetails">Ocultar detalles</template
230
- ><template v-else>Ver detalles</template>
231
- </div>
232
- </div>
233
- </div>
234
- </div>
235
- <div :class="headerSeccionAlineaciones2Class" id="header-desktop">
236
- <div :class="$style.groupsLeagueParent">
237
- <div :class="$style.groupsLeague">
238
- <span>Las alineaciones de este partido </span>
239
- <span :class="$style.anNoEstn">aún no están disponibles</span>
240
- <span>. Por lo pronto puedes ver alineaciones:</span>
241
- </div>
242
- <div :class="$style.switchStatesBig" id="switch-lineup">
243
- <GscSwitchComponent
244
- :buttons="['Historicos', 'Recientes', 'Probables']"
245
- :selectedOption="optionSelected"
246
- :type="1"
247
- width="600px"
248
- :arrow="false"
249
- borderRadius="32px"
250
- height="28px"
251
- fontSize="11px;"
252
- fontFamily="Poppins-Regular"
253
- border-width="1px"
254
- border-width-container="0.5px"
255
- backgroundOptionDisable="#162533"
256
- @input="clickOnSelectOption"
257
- />
258
- </div>
259
- </div>
260
- <div :class="$style.matchContainer" id="match-container">
261
- <div :class="$style.homeTeamContainer">
262
- <div :class="$style.teamContainer">
263
- <div :class="$style.imgHomeTeamWrapper">
264
- <img
265
- :class="$style.imgHomeTeamIcon"
266
- alt=""
267
- :src="
268
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
269
- gameInfo.home_team +
270
- '.png'
271
- "
272
- />
273
- </div>
274
- </div>
275
- <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
276
- </div>
277
- <div :class="$style.teamSwitch" id="switch-team">
278
- <GSCSwitchRadio
279
- width="41px"
280
- height="20px"
281
- heightCircle="15px"
282
- widthCircle="15px"
283
- circle-color-switch="#cbee6b"
284
- :text-option-left="gameInfo.home_team_abbreviation"
285
- @change="changeSwitchRadio"
286
- :text-option-right="gameInfo.away_team_abbreviation"
287
- font-color="white"
288
- :value-default="teamSelect"
289
- :hidden-labels="true"
290
- />
291
- </div>
292
- <div :class="$style.awayTeamContainer">
293
- <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
294
- <div :class="$style.teamContainer1">
295
- <div :class="$style.imgHomeTeamWrapper">
296
- <img
297
- :class="$style.imgHomeTeamIcon"
298
- alt=""
299
- :src="
300
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
301
- gameInfo.away_team +
302
- '.png'
303
- "
304
- />
305
- </div>
306
- </div>
307
- </div>
308
- </div>
309
-
310
- <div :class="$style.matchContainer3">
311
- <button :class="$style.btnFilter2" id="btn-filters">
312
- <div :class="$style.sortParent" @click="openFilter">
313
- <img
314
- :class="$style.sortIcon"
315
- alt=""
316
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter1.svg"
317
- />
318
- <div :class="$style.filtros">Filtros</div>
319
- </div>
320
- <img
321
- :class="$style.shapeIcon"
322
- alt=""
323
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow1.svg"
324
- />
325
- <GSCFilter
326
- :item-select="filterObject"
327
- :is-open="openfiltervalue"
328
- @change="changeFiltersModal"
329
- margin-modal="-99px"
330
- />
331
- </button>
332
- <GSCDropdown
333
- @click="clickOnValueFilter"
334
- v-if="gameRecientesFilter.length > 0"
335
- :key="keyUpdate"
336
- :default-item-by-prop="defaultDropItem"
337
- :class="$style.btnFilter1"
338
- id="btn-filters"
339
- :items="matchdaysFinal"
340
- @input="changeDropdown"
341
- height="32px"
342
- width="114px"
343
- background-color="rgba(255, 255, 255, 0.05);"
344
- color="white"
345
- border-width="1"
346
- borderColor="rgba(255, 255, 255, 0.2)"
347
- border-radius="0px"
348
- fontSize="10px"
349
- arrowHeight="16"
350
- :arrowWidth="16"
351
- listHeight="300px"
352
- listBackgroundColor="#243a4c"
353
- hoverBackgroundColor="#0d1d2a"
354
- listItemColor="#FFFFFF"
355
- listItemSelectedBackgroundColor="#0d1d2a"
356
- listItemSelectedColor="#c3e569"
357
- listItemPadding="8px 7px"
358
- listBorderColor="rgba(255, 255, 255, 0.1)"
359
- listBorderRadius="2px"
360
- >
361
- <template #default="data">
362
- <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
363
- </template>
364
- <template #availableItem="{ item }">
365
- <div>{{ item.name }}</div>
366
- </template>
367
- </GSCDropdown>
368
- <div :class="$style.btnDetails1">
369
- <div :class="$style.manchesterUnited2" @click="clickShowDetails">
370
- <template v-if="showDetails">Ocultar detalles</template
371
- ><template v-else>Ver detalles</template>
372
- </div>
373
- </div>
374
- </div>
375
- <div :class="$style.matchContainer1" id="match-info-container">
376
- <div :class="$style.match1">
377
- <GSCCarousel
378
- v-if="gameRecientesFilter.length > 0"
379
- :items="gameRecientesFilter"
380
- :key="updateCarouselGames"
381
- :default-item-by-index="selectedIndexOption"
382
- @input="changeCarouselItem"
383
- isMainSlidePriority
384
- areSlidesArrowsVisible
385
- :areNavigationArrowsVisible="false"
386
- slideLeftArrowBackgroundImage="none"
387
- slideRightArrowBackgroundImage="none"
388
- >
389
- <template #default="{ item }">
390
- <div :class="$style.selectoritem">
391
- <div :class="$style.homeTeam">
392
- <div :class="$style.teamContainer2">
393
- <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
394
- <img
395
- :class="$style.imgHomeTeamIcon"
396
- alt=""
397
- :src="
398
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
399
- item.home_team +
400
- '.png'
401
- "
402
- />
403
- </div>
404
- </div>
405
- <div :class="$style.scoreContainer1">
406
- <div :class="$style.finalScore">
407
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
408
- {{ item.score[0] }}
409
- </div>
410
- <div :class="$style.div4">-</div>
411
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
412
- <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
413
- <template v-else>{{ item.score[4] }}</template>
414
- </div>
415
- </div>
416
- <div :class="$style.manchesterUnited1">
417
- <template v-if="item.home_team_abbreviation == teamSelect">
418
- <template v-if="item.home_match_result == 1">Ganado</template>
419
- <template v-if="item.home_match_result == 2">Perdido</template>
420
- <template v-if="item.home_match_result == 3">Empatado</template>
421
- </template>
422
- <template v-if="item.away_team_abbreviation == teamSelect">
423
- <template v-if="item.visiting_match_result == 1">Ganado</template>
424
- <template v-if="item.visiting_match_result == 2">Perdido</template>
425
- <template v-if="item.visiting_match_result == 3">Empatado</template>
426
- </template>
427
- </div>
428
- </div>
429
- <div :class="$style.homeTeam">
430
- <div :class="$style.teamContainer2">
431
- <img
432
- :class="$style.imgHomeTeamIcon"
433
- alt=""
434
- :src="
435
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
436
- item.away_team +
437
- '.png'
438
- "
439
- />
440
- <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
441
- </div>
442
- </div>
443
- </div>
444
- </template>
445
- </GSCCarousel>
446
- <div v-else>
447
- <div :class="$style.containernofoundsearchrecientes">
448
- <div :class="$style.leyenddeleteshow">
449
- No hay resultados con los criterios<br />de búsqueda aplicados.
450
- </div>
451
- <div :class="$style.btndeletefilters" @click="deleteFilters">
452
- Eliminar filtros aplicados
453
- </div>
454
- </div>
455
- </div>
456
- <GSCMatchDetails
457
- style="margin-top: 30px"
458
- v-if="showDetails"
459
- :localDetails="localDetails"
460
- :foreignDetails="foreignDetails"
461
- />
462
- </div>
463
- </div>
464
- </div>
465
- <div :class="headerSeccionAlineaciones3Class" id="header-mobile">
466
- <div :class="$style.switchStatesBig2" id="switch-lineup">
467
- <GscSwitchComponent
468
- :buttons="['Historicos', 'Recientes', 'Probables']"
469
- :selectedOption="optionSelected"
470
- :type="1"
471
- width="600px"
472
- :arrow="false"
473
- borderRadius="32px"
474
- height="28px"
475
- fontSize="11px;"
476
- fontFamily="Poppins-Regular"
477
- border-width="1px"
478
- border-width-container="0.5px"
479
- backgroundOptionDisable="#162533"
480
- @input="clickOnSelectOption"
481
- />
482
- </div>
483
- <div :class="$style.containerData">
484
- <div :class="$style.manchesterUnited26">Alineación utilizada en:</div>
485
- <div :class="$style.matchContainer5" id="match-container">
486
- <div :class="$style.homeTeamContainer2">
487
- <div :class="$style.teamContainer">
488
- <div :class="$style.imgHomeTeamWrapper">
489
- <img
490
- :class="$style.imgHomeTeamIcon"
491
- alt=""
492
- :src="
493
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
494
- gameInfo.home_team +
495
- '.png'
496
- "
497
- />
498
- </div>
499
- </div>
500
- <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
501
- </div>
502
- <div :class="$style.teamSwitch" id="switch-team">
503
- <GSCSwitchRadio
504
- width="41px"
505
- height="20px"
506
- heightCircle="15px"
507
- widthCircle="15px"
508
- circle-color-switch="#cbee6b"
509
- :text-option-left="gameInfo.home_team_abbreviation"
510
- @change="changeSwitchRadio"
511
- :text-option-right="gameInfo.away_team_abbreviation"
512
- font-color="white"
513
- :value-default="teamSelect"
514
- :hidden-labels="true"
515
- />
516
- </div>
517
- <div :class="$style.homeTeamContainer2">
518
- <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
519
- <div :class="$style.teamContainer1">
520
- <div :class="$style.imgHomeTeamWrapper">
521
- <img
522
- :class="$style.imgHomeTeamIcon"
523
- alt=""
524
- :src="
525
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
526
- gameInfo.away_team +
527
- '.png'
528
- "
529
- />
530
- </div>
531
- </div>
532
- </div>
533
- </div>
534
- <div :class="$style.filtersContainer">
535
- <button :class="$style.btnFilter4" id="btn-filters">
536
- <div :class="$style.sortParent" @click="openFilter">
537
- <img
538
- :class="$style.sortIcon"
539
- alt=""
540
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter2.svg"
541
- />
542
- <div :class="$style.filtros2">Filtros</div>
543
- </div>
544
- <img
545
- :class="$style.shapeIcon"
546
- alt=""
547
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-arrow-expand.svg"
548
- />
549
- <GSCFilter
550
- :item-select="filterObject"
551
- :is-open="openfiltervalue"
552
- @change="changeFiltersModal"
553
- margin-modal="-75px"
554
- />
555
- </button>
556
- <GSCDropdown
557
- @click="clickOnValueFilter"
558
- v-if="gameRecientesFilter.length > 0"
559
- :key="keyUpdate"
560
- :default-item-by-prop="defaultDropItem"
561
- :class="$style.filterMatchday"
562
- id="menu-matchday"
563
- :items="matchdaysFinal"
564
- @input="changeDropdown"
565
- height="25px"
566
- width="100px"
567
- background-color="rgba(255, 255, 255, 0.05);"
568
- color="white"
569
- border-width="1"
570
- borderColor="rgba(255, 255, 255, 0.2)"
571
- border-radius="0px"
572
- fontSize="10px"
573
- arrowHeight="16"
574
- :arrowWidth="16"
575
- listHeight="300px"
576
- listBackgroundColor="#243a4c"
577
- hoverBackgroundColor="#0d1d2a"
578
- listItemColor="#FFFFFF"
579
- listItemSelectedBackgroundColor="#0d1d2a"
580
- listItemSelectedColor="#c3e569"
581
- listItemPadding="8px 7px"
582
- listBorderColor="rgba(255, 255, 255, 0.1)"
583
- listBorderRadius="2px"
584
- >
585
- <template #default="data">
586
- <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
587
- </template>
588
- <template #availableItem="{ item }">
589
- <div>{{ item.name }}</div>
590
- </template>
591
- </GSCDropdown>
592
- <div :class="$style.btnDetails2">
593
- <div :class="$style.manchesterUnited2" @click="clickShowDetails">
594
- <template v-if="showDetails">Ocultar detalles</template
595
- ><template v-else>Ver detalles</template>
596
- </div>
597
- </div>
598
- </div>
599
- <div :class="$style.matchDetailContainer">
600
- <div :class="$style.matchContainer6" id="match-info-container">
601
- <div :class="$style.match">
602
- <GSCCarousel
603
- v-if="gameRecientesFilter.length > 0"
604
- :key="updateCarouselGames"
605
- :default-item-by-index="selectedIndexOption"
606
- :items="gameRecientesFilter"
607
- @input="changeCarouselItem"
608
- isMainSlidePriority
609
- areSlidesArrowsVisible
610
- :areNavigationArrowsVisible="false"
611
- slideLeftArrowBackgroundImage="none"
612
- slideRightArrowBackgroundImage="none"
613
- >
614
- <template #default="{ item }">
615
- <div :class="$style.selectoritem">
616
- <div :class="$style.homeTeam">
617
- <div :class="$style.teamContainer2">
618
- <div :class="$style.manchesterUnited">
619
- {{ item.home_team_abbreviation }}
620
- </div>
621
- <img
622
- :class="$style.imgHomeTeamIcon"
623
- alt=""
624
- :src="
625
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
626
- item.home_team +
627
- '.png'
628
- "
629
- />
630
- </div>
631
- </div>
632
- <div :class="$style.scoreContainer1">
633
- <div :class="$style.finalScore">
634
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
635
- {{ item.score[0] }}
636
- </div>
637
- <div :class="$style.div4">-</div>
638
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
639
- <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
640
- <template v-else>{{ item.score[4] }}</template>
641
- </div>
642
- </div>
643
- <div :class="$style.manchesterUnited1">
644
- <template v-if="item.home_team_abbreviation == teamSelect">
645
- <template v-if="item.home_match_result == 1">Ganado</template>
646
- <template v-if="item.home_match_result == 2">Perdido</template>
647
- <template v-if="item.home_match_result == 3">Empatado</template>
648
- </template>
649
- <template v-if="item.away_team_abbreviation == teamSelect">
650
- <template v-if="item.visiting_match_result == 1">Ganado</template>
651
- <template v-if="item.visiting_match_result == 2">Perdido</template>
652
- <template v-if="item.visiting_match_result == 3">Empatado</template>
653
- </template>
654
- </div>
655
- </div>
656
- <div :class="$style.homeTeam">
657
- <div :class="$style.teamContainer2">
658
- <img
659
- :class="$style.imgHomeTeamIcon"
660
- alt=""
661
- :src="
662
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
663
- item.away_team +
664
- '.png'
665
- "
666
- />
667
- <div :class="$style.manchesterUnited">
668
- {{ item.away_team_abbreviation }}
669
- </div>
670
- </div>
671
- </div>
672
- </div>
673
- </template>
674
- </GSCCarousel>
675
- <div v-else>
676
- <div :class="$style.containernofoundsearchrecientes">
677
- <div :class="$style.leyenddeleteshow">
678
- No hay resultados con los criterios<br />de búsqueda aplicados.
679
- </div>
680
- <div :class="$style.btndeletefilters" @click="deleteFilters">
681
- Eliminar filtros aplicados
682
- </div>
683
- </div>
684
- </div>
685
- <GSCMatchDetails
686
- style="margin-top: 30px"
687
- v-if="showDetails"
688
- :localDetails="localDetails"
689
- :foreignDetails="foreignDetails"
690
- />
691
- </div>
692
- </div>
693
- </div>
694
- </div>
695
- </div>
696
- </div>
697
- </template>
698
-
699
- <script>
700
- import { GSCDropdown } from '@golstats/gsc-dropdown'
701
- import '@@/@golstats/gsc-dropdown/dist/style.css'
702
- import '@@/@golstats/gsc-carousel/dist/style.css'
703
- import { GSCCarousel } from '@golstats/gsc-carousel'
704
- import { GscSwitchComponent } from '@golstats/gsc-switch-component'
705
- import '@@/@golstats/gsc-switch-component/dist/style.css'
706
- import GSCFilter from './gsc-filter.vue'
707
- import GSCMatchDetails from './Lineup2D/MatchDetails.vue'
708
- import { GSCSwitchRadio } from '@golstats/gsc-switch-radio'
709
- import '@@/@golstats/gsc-switch-radio/dist/style.css'
710
- export default {
711
- components: {
712
- GSCCarousel,
713
- GscSwitchComponent,
714
- GSCDropdown,
715
- GSCFilter,
716
- GSCSwitchRadio,
717
- GSCMatchDetails,
718
- },
719
- props: {
720
- widthSize: {
721
- type: Number,
722
- default: 0,
723
- },
724
- optionSelected: {
725
- type: String,
726
- default: 'Historicos',
727
- },
728
- selectedOption: {
729
- type: String,
730
- default: 'Historicos',
731
- },
732
- gameInfo: {
733
- type: Object,
734
- default: () => {},
735
- },
736
- gameRecientes: {
737
- type: Array,
738
- default: () => [],
739
- },
740
- matchdaysDefault: {
741
- type: Array,
742
- default: () => [],
743
- },
744
- },
745
- watch: {
746
- optionSelected: {
747
- immediate: true,
748
- handler: async function (newValue) {
749
- if (newValue == 'Recientes') {
750
- this.auxISsection = 1
751
- }
752
- },
753
- },
754
- gameInfo: {
755
- immediate: true,
756
- handler: async function (newValue) {
757
- try {
758
- this.teamSelect = newValue.home_team_abbreviation
759
- this.matchFilter()
760
- } catch (e) {
761
- throw new Error(e)
762
- }
763
- },
764
- },
765
- gameRecientes: {
766
- immediate: true,
767
- handler: async function (newValue) {
768
- this.matchFilter()
769
- },
770
- },
771
- },
772
- data() {
773
- return {
774
- playminutes: [],
775
- showDetails: false,
776
- teamSelect: '',
777
- defaultDropItem: {},
778
- updateCarouselGames: 0,
779
- valLast: {},
780
- selectedIndexOption: 0,
781
- openfiltervalue: false,
782
- vDeleteFilter: false,
783
- filterObject: {},
784
- coutChange: 0,
785
- auxISsection: 0,
786
- matchdaysFiltersUpdate: [],
787
- gamesFiltersUpdate: [],
788
- localDetails: [],
789
- keyUpdate: 0,
790
- foreignDetails: [],
791
- }
792
- },
793
- computed: {
794
- matchdaysFinal() {
795
- var matchdaysFinal = []
796
- if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
797
- if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
798
- if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
799
- if (
800
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
801
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
802
- ) {
803
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
804
- if (this.matchdaysFiltersUpdate[index].match_result == 1) {
805
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
806
- }
807
- }
808
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
809
- if (this.matchdaysFiltersUpdate[index].match_result == 3) {
810
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
811
- }
812
- }
813
- }
814
- if (
815
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
816
- Object.values(this.filterObject.selectedFilterResults).includes('lose')
817
- ) {
818
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
819
- if (this.matchdaysFiltersUpdate[index].match_result == 1) {
820
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
821
- }
822
- }
823
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
824
- if (this.matchdaysFiltersUpdate[index].match_result == 2) {
825
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
826
- }
827
- }
828
- }
829
- if (
830
- Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
831
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
832
- ) {
833
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
834
- if (this.matchdaysFiltersUpdate[index].match_result == 3) {
835
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
836
- }
837
- }
838
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
839
- if (this.matchdaysFiltersUpdate[index].match_result == 2) {
840
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
841
- }
842
- }
843
- }
844
- } else {
845
- if (this.filterObject.selectedFilterResults[0] == 'win') {
846
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
847
- if (this.matchdaysFiltersUpdate[index].match_result == 1) {
848
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
849
- }
850
- }
851
- }
852
- if (this.filterObject.selectedFilterResults[0] == 'lose') {
853
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
854
- if (this.matchdaysFiltersUpdate[index].match_result == 2) {
855
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
856
- }
857
- }
858
- }
859
- if (this.filterObject.selectedFilterResults[0] == 'draw') {
860
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
861
- if (this.matchdaysFiltersUpdate[index].match_result == 3) {
862
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
863
- }
864
- }
865
- }
866
- }
867
- } else {
868
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
869
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
870
- }
871
- }
872
- } else {
873
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
874
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
875
- }
876
- }
877
- matchdaysFinal.sort((a, b) => b.id - a.id)
878
- return matchdaysFinal
879
- },
880
- gameRecientesFilter() {
881
- var gameFilterFinal = []
882
- if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
883
- if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
884
- if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
885
- if (
886
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
887
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
888
- ) {
889
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
890
- if (
891
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
892
- this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
893
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
894
- this.gamesFiltersUpdate[index].home_match_result == 1)
895
- ) {
896
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
897
- }
898
- }
899
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
900
- if (
901
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
902
- this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
903
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
904
- this.gamesFiltersUpdate[index].home_match_result == 3)
905
- ) {
906
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
907
- }
908
- }
909
- }
910
- if (
911
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
912
- Object.values(this.filterObject.selectedFilterResults).includes('lose')
913
- ) {
914
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
915
- if (
916
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
917
- this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
918
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
919
- this.gamesFiltersUpdate[index].home_match_result == 1)
920
- ) {
921
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
922
- }
923
- }
924
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
925
- if (
926
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
927
- this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
928
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
929
- this.gamesFiltersUpdate[index].home_match_result == 2)
930
- ) {
931
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
932
- }
933
- }
934
- }
935
- if (
936
- Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
937
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
938
- ) {
939
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
940
- if (
941
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
942
- this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
943
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
944
- this.gamesFiltersUpdate[index].home_match_result == 3)
945
- ) {
946
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
947
- }
948
- }
949
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
950
- if (
951
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
952
- this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
953
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
954
- this.gamesFiltersUpdate[index].home_match_result == 2)
955
- ) {
956
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
957
- }
958
- }
959
- }
960
- } else {
961
- if (this.filterObject.selectedFilterResults[0] == 'win') {
962
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
963
- if (
964
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
965
- this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
966
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
967
- this.gamesFiltersUpdate[index].home_match_result == 1)
968
- ) {
969
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
970
- }
971
- }
972
- }
973
- if (this.filterObject.selectedFilterResults[0] == 'lose') {
974
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
975
- if (
976
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
977
- this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
978
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
979
- this.gamesFiltersUpdate[index].home_match_result == 2)
980
- ) {
981
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
982
- }
983
- }
984
- }
985
- if (this.filterObject.selectedFilterResults[0] == 'draw') {
986
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
987
- if (
988
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
989
- this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
990
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
991
- this.gamesFiltersUpdate[index].home_match_result == 3)
992
- ) {
993
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
994
- }
995
- }
996
- }
997
- }
998
- } else {
999
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1000
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
1001
- }
1002
- }
1003
- } else {
1004
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1005
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
1006
- }
1007
- }
1008
- gameFilterFinal.sort((a, b) => a.matchday_id - b.matchday_id)
1009
- return gameFilterFinal
1010
- },
1011
- headerSeccionAlineaciones1Class() {
1012
- const width = this.widthSize
1013
- if (width <= 420) {
1014
- return this.$style.headerSeccionAlineaciones1420
1015
- } else if (width <= 880) {
1016
- return this.$style.headerSeccionAlineaciones1880
1017
- } else if (width <= 1200) {
1018
- return this.$style.headerSeccionAlineaciones11200
1019
- } else {
1020
- return this.$style.headerSeccionAlineaciones1
1021
- }
1022
- },
1023
- headerSeccionAlineaciones2Class() {
1024
- const width = this.widthSize
1025
- if (width <= 420) {
1026
- return this.$style.headerSeccionAlineaciones2420
1027
- } else if (width <= 540) {
1028
- return this.$style.headerSeccionAlineaciones2540
1029
- } else if (width <= 880) {
1030
- return this.$style.headerSeccionAlineaciones2880
1031
- } else if (width <= 1200) {
1032
- return this.$style.headerSeccionAlineaciones21200
1033
- } else {
1034
- return this.$style.headerSeccionAlineaciones2
1035
- }
1036
- },
1037
- headerSeccionAlineaciones3Class() {
1038
- const width = this.widthSize
1039
- if (width <= 420) {
1040
- return this.$style.headerSeccionAlineaciones3420
1041
- } else if (width <= 540) {
1042
- return this.$style.headerSeccionAlineaciones3540
1043
- } else if (width <= 880) {
1044
- return this.$style.headerSeccionAlineaciones3880
1045
- } else if (width <= 1200) {
1046
- return this.$style.headerSeccionAlineaciones31200
1047
- } else {
1048
- return this.$style.headerSeccionAlineaciones3
1049
- }
1050
- },
1051
- },
1052
- methods: {
1053
- clickOnValueFilter() {
1054
- this.auxISsection = 0
1055
- },
1056
- clickOnValueCarrousel() {
1057
- this.auxISsection = 0
1058
- },
1059
- deleteFilters() {
1060
- this.vDeleteFilter = true
1061
-
1062
- setTimeout(() => {
1063
- this.vDeleteFilter = false
1064
- }, 200)
1065
- },
1066
- clickShowDetails() {
1067
- this.showDetails = !this.showDetails
1068
- },
1069
- matchFilter() {
1070
- var matchdayFilter = []
1071
- var gameFilter = []
1072
- if (Object.keys(this.filterObject).length > 0) {
1073
- if (Object.keys(this.filterObject.selectedFilterTeam).length != 2) {
1074
- for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1075
- if (this.filterObject.selectedFilterTeam[0] == 'local') {
1076
- if (
1077
- this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1078
- ) {
1079
- matchdayFilter.push({
1080
- name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1081
- 'M',
1082
- 'Jornada ',
1083
- ),
1084
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1085
- match_result: this.gameRecientes[this.teamSelect][index].home_match_result,
1086
- })
1087
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1088
- }
1089
- } else {
1090
- if (
1091
- this.gameRecientes[this.teamSelect][index].away_team_abbreviation == this.teamSelect
1092
- ) {
1093
- matchdayFilter.push({
1094
- name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1095
- 'M',
1096
- 'Jornada ',
1097
- ),
1098
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1099
- match_result: this.gameRecientes[this.teamSelect][index].visiting_match_result,
1100
- })
1101
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1102
- }
1103
- }
1104
- }
1105
- } else {
1106
- if (this.gameRecientes[this.teamSelect]) {
1107
- for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1108
- matchdayFilter.push({
1109
- name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1110
- 'M',
1111
- 'Jornada ',
1112
- ),
1113
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1114
- match_result:
1115
- this.gameRecientes[this.teamSelect][index].home_team_abbreviation ==
1116
- this.teamSelect
1117
- ? this.gameRecientes[this.teamSelect][index].home_match_result
1118
- : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1119
- })
1120
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1121
- }
1122
- }
1123
- }
1124
- } else {
1125
- if (this.gameRecientes[this.teamSelect]) {
1126
- for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1127
- matchdayFilter.push({
1128
- name: this.getRound(this.gameRecientes[this.teamSelect][index].matchday_abbreviation),
1129
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1130
- match_result:
1131
- this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1132
- ? this.gameRecientes[this.teamSelect][index].home_match_result
1133
- : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1134
- })
1135
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1136
- }
1137
- }
1138
- }
1139
- this.gamesFiltersUpdate = gameFilter
1140
- this.matchdaysFiltersUpdate = matchdayFilter
1141
- },
1142
- getRound(abrev) {
1143
- let abrevFormatted = abrev.replace('M', 'Jornada ')
1144
- abrevFormatted = abrevFormatted.replace('PO1', 'CFI')
1145
- abrevFormatted = abrevFormatted.replace('PO2', 'CFV')
1146
- abrevFormatted = abrevFormatted.replace('PO3', 'SFI')
1147
- abrevFormatted = abrevFormatted.replace('PO4', 'SFV')
1148
- abrevFormatted = abrevFormatted.replace('PO5', 'FI')
1149
- abrevFormatted = abrevFormatted.replace('PO6', 'FV')
1150
- return abrevFormatted
1151
- },
1152
- changeFiltersModal(filters) {
1153
- this.auxISsection = 1
1154
- this.filterObject = filters
1155
- this.openfiltervalue = false
1156
- this.matchFilter()
1157
- setTimeout(() => {
1158
- this.keyUpdate += 1
1159
- this.updateCarouselGames += 1
1160
- }, 600)
1161
- },
1162
- openFilter() {
1163
- this.openfiltervalue = true
1164
- },
1165
- getMinutesData(plays) {
1166
- this.localDetails = []
1167
- this.foreignDetails = []
1168
- for (let index = 0; index < plays.home_goals_minutes.length; index++) {
1169
- this.localDetails.push({ description: plays.home_goals_minutes[index], icon: 'goal' })
1170
- }
1171
- for (let index = 0; index < plays.visiting_goals_minutes.length; index++) {
1172
- this.foreignDetails.push({ description: plays.visiting_goals_minutes[index], icon: 'goal' })
1173
- }
1174
- for (let index = 0; index < plays.home_yellow_cards_minutes.length; index++) {
1175
- this.localDetails.push({
1176
- description: plays.home_yellow_cards_minutes[index],
1177
- icon: 'yellow-card',
1178
- })
1179
- }
1180
- for (let index = 0; index < plays.away_yellow_cards_minutes.length; index++) {
1181
- this.foreignDetails.push({
1182
- description: plays.away_yellow_cards_minutes[index],
1183
- icon: 'yellow-card',
1184
- })
1185
- }
1186
- for (let index = 0; index < plays.home_red_cards_minutes.length; index++) {
1187
- this.localDetails.push({
1188
- description: plays.home_red_cards_minutes[index],
1189
- icon: 'red-card',
1190
- })
1191
- }
1192
- for (let index = 0; index < plays.away_red_cards_minutes.length; index++) {
1193
- this.foreignDetails.push({
1194
- description: plays.away_red_cards_minutes[index],
1195
- icon: 'red-card',
1196
- })
1197
- }
1198
- },
1199
- changeCarouselItem(val) {
1200
- setTimeout(() => {
1201
- if (JSON.stringify(val) !== JSON.stringify(this.valLast)) {
1202
- if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1203
- if (val) {
1204
- if (val.selectedItem === undefined) {
1205
- val.selectedItem = this.gameRecientesFilter[this.gameRecientesFilter.length - 1]
1206
- val.selectedItemIndex = this.gameRecientesFilter.length - 1
1207
- }
1208
-
1209
- this.valLast = val
1210
- if (this.auxISsection == 1) {
1211
- this.$emit('input', {
1212
- selectedItem: this.gameRecientesFilter[this.gameRecientesFilter.length - 1],
1213
- selectedItemIndex: this.gameRecientesFilter.length - 1,
1214
- })
1215
- this.getMinutesData(
1216
- this.gameRecientesFilter[this.gameRecientesFilter.length - 1].minutes,
1217
- )
1218
- this.selectedIndexOption = this.gameRecientesFilter.length - 1
1219
- this.defaultDropItem = {
1220
- propName: 'id',
1221
- value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1222
- }
1223
- } else {
1224
- this.$emit('input', val)
1225
- this.getMinutesData(val.selectedItem.minutes)
1226
- this.selectedIndexOption = val.selectedItemIndex
1227
- this.defaultDropItem = { propName: 'id', value: val.selectedItem.matchday_id }
1228
- }
1229
- this.keyUpdate += 1
1230
- }
1231
- }
1232
- }
1233
- }, 200)
1234
- },
1235
- changeDropdown(value) {
1236
- if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1237
- if (this.auxISsection == 1) {
1238
- this.selectedIndexOption = this.gameRecientesFilter.length - 1
1239
- this.defaultDropItem = {
1240
- propName: 'id',
1241
- value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1242
- }
1243
- } else {
1244
- const index = this.gameRecientesFilter.findIndex((x) => x.matchday_id == value.id)
1245
- if (index != -1) {
1246
- this.selectedIndexOption = index
1247
- this.defaultDropItem = {
1248
- propName: 'id',
1249
- value: this.gameRecientesFilter[index].matchday_id,
1250
- }
1251
- }
1252
- }
1253
- }
1254
- },
1255
-
1256
- changeSwitchRadio(val) {
1257
- this.auxISsection = 1
1258
- if (typeof val !== 'object') {
1259
- this.teamSelect = val
1260
- this.$emit('changeTeam', this.teamSelect)
1261
- this.updateCarouselGames += 1
1262
- this.matchFilter()
1263
- }
1264
- },
1265
- clickOnSelectOption(val) {
1266
- this.$emit('clickOnSelectOption', val)
1267
- },
1268
- },
1269
- }
1270
- </script>
1271
-
1272
- <style module>
1273
- @import '/css/fonts.css';
1274
- @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
1275
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
1276
-
1277
- body {
1278
- margin: 0;
1279
- line-height: normal;
1280
- }
1281
-
1282
- :root {
1283
- /* fonts */
1284
- --font-poppinsre: Poppins;
1285
- --font-interre: Inter;
1286
-
1287
- /* font sizes */
1288
- --font-size-4xsre: 9px;
1289
- --font-size-smre: 14px;
1290
- --font-size-xsre: 12px;
1291
- --font-size-base-2re: 15.2px;
1292
- --font-size-3xsre: 10px;
1293
- --font-size-2xsre: 11px;
1294
-
1295
- /* Colors */
1296
- --color-gray-100re: #172632;
1297
- --color-gray-200re: #172531;
1298
- --color-gray-300re: rgba(255, 255, 255, 0.05);
1299
- --color-gray-400re: rgba(255, 255, 255, 0.2);
1300
- --color-gray-500re: rgba(255, 255, 255, 0.3);
1301
- --color-gray-600re: rgba(255, 255, 255, 0.1);
1302
- --color-gray-700re: rgba(255, 255, 255, 0.7);
1303
- --color-goldenrodre: #f7c330;
1304
- --color-redre: #ff0000;
1305
- --color-yellowgreen-100re: #cbed6e;
1306
- --color-yellowgreen-200re: #cbee6b;
1307
- --color-white: #fff;
1308
- --color-whitesmokere: #f4f4f4;
1309
- --color-darkbluere: #0234c5;
1310
- --color-darkslategrayre: #1e2b36;
1311
- --color-slategrayre: #56637b;
1312
-
1313
- /* Spacing */
1314
- --sizes-round-corner-round-corner-32re: 32px;
1315
- --sizes-spacing-space-24re: 24px;
1316
-
1317
- /* Gaps */
1318
- --gap-basere: 16px;
1319
- --gap-xsre: 12px;
1320
- --gap-40xlre: 59px;
1321
- --gap-3xsre: 10px;
1322
- --gap-4xsre: 9px;
1323
- --gap-midre: 17px;
1324
- --gap-minire: 15px;
1325
- --gap-8xsre: 5px;
1326
- --gap-4xs-7re: 8.7px;
1327
- --gap-11xlre: 30px;
1328
-
1329
- /* Paddings */
1330
- --padding-basere: 16px;
1331
- --padding-5xlre: 24px;
1332
- --padding-9xsre: 4px;
1333
- --padding-6xs-5re: 6.5px;
1334
- --padding-mid-4re: 17.4px;
1335
- --padding-11xsre: 2px;
1336
- --padding-3xsre: 10px;
1337
- --padding-5xsre: 8px;
1338
- --padding-xsre: 12px;
1339
- --padding-xlre: 20px;
1340
-
1341
- /* Border radiuses */
1342
- --br-12xsre: 1px;
1343
- --br-2xs-2re: 10.2px;
1344
- --br-mid-4re: 17.4px;
1345
- --br-5xsre: 8px;
1346
- --br-31xlre: 50px;
1347
- --br-13xlre: 32px;
1348
- --br-3xs-6re: 9.6px;
1349
- }
1350
-
1351
- .containernofoundsearchrecientes {
1352
- width: 100%;
1353
- height: 38px;
1354
- display: inline-block;
1355
- margin: 0 auto;
1356
- }
1357
- .text-containernofoundsearchrecientes {
1358
- font-size: 13px;
1359
- text-align: center;
1360
- color: rgb(176, 176, 176);
1361
- line-height: 16px;
1362
- }
1363
- .btn-delete-filters {
1364
- width: 70%;
1365
- height: 26px;
1366
- border-radius: 16px;
1367
- font-size: 14px;
1368
- text-align: center;
1369
- background: rgba(255, 255, 255, 0.2);
1370
- color: white;
1371
- margin: 0 auto;
1372
- line-height: 26px;
1373
- margin-top: 5px;
1374
- }
1375
- .btn-delete-filters:hover {
1376
- cursor: pointer;
1377
- background: rgba(255, 255, 255, 0.5);
1378
- }
1379
- .btndeletefilters {
1380
- width: 70%;
1381
- height: 26px;
1382
- border-radius: 16px;
1383
- font-size: 14px;
1384
- text-align: center;
1385
- background: rgba(255, 255, 255, 0.2);
1386
- color: white;
1387
- margin: 0 auto;
1388
- line-height: 26px;
1389
- margin-top: 5px;
1390
- }
1391
- .btndeletefilters:hover {
1392
- cursor: pointer;
1393
- background: rgba(255, 255, 255, 0.5);
1394
- }
1395
- .leyenddeleteshow {
1396
- font-size: 13px;
1397
- text-align: center;
1398
- color: rgb(176, 176, 176);
1399
- line-height: 16px;
1400
- }
1401
-
1402
- .selectoritem {
1403
- width: 270px;
1404
- display: flex;
1405
- flex-direction: row;
1406
- align-items: flex-start;
1407
- justify-content: center;
1408
- gap: var(--gap-midre);
1409
- }
1410
-
1411
- .anNoEstn {
1412
- font-weight: 500;
1413
- }
1414
-
1415
- .groupsLeague {
1416
- position: relative;
1417
- line-height: 20px;
1418
- }
1419
-
1420
- .historicas {
1421
- position: relative;
1422
- line-height: 20px;
1423
- opacity: 0.6;
1424
- }
1425
-
1426
- .switchOption {
1427
- border-radius: var(--br-13xlre);
1428
- width: 109px;
1429
- display: flex;
1430
- flex-direction: row;
1431
- align-items: center;
1432
- justify-content: center;
1433
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1434
- box-sizing: border-box;
1435
- }
1436
-
1437
- .recientes {
1438
- position: relative;
1439
- line-height: 20px;
1440
- font-weight: 600;
1441
- }
1442
-
1443
- .switchOption1 {
1444
- border-radius: var(--br-13xlre);
1445
- background-color: var(--color-darkslategrayre);
1446
- border: 0.8px solid var(--color-yellowgreen-200re);
1447
- box-sizing: border-box;
1448
- width: 107.8px;
1449
- display: flex;
1450
- flex-direction: row;
1451
- align-items: center;
1452
- justify-content: center;
1453
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1454
- }
1455
-
1456
- .switchOption2 {
1457
- border-radius: var(--sizes-round-corner-round-corner-32re);
1458
- display: flex;
1459
- flex-direction: row;
1460
- align-items: center;
1461
- justify-content: center;
1462
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1463
- }
1464
-
1465
- .switchStatesBig {
1466
- border-radius: var(--sizes-round-corner-round-corner-32re);
1467
- background-color: var(--color-gray-100re);
1468
- border: 1px solid var(--color-gray-500re);
1469
- display: inline-block;
1470
- width: 320px;
1471
- font-size: var(--font-size-xsre);
1472
- color: var(--color-white);
1473
- }
1474
-
1475
- .groupsLeagueParent {
1476
- align-self: stretch;
1477
- display: flex;
1478
- flex-direction: column;
1479
- align-items: center;
1480
- justify-content: flex-start;
1481
- gap: var(--gap-11xlre);
1482
- text-align: center;
1483
- }
1484
-
1485
- .imgHomeTeamIcon {
1486
- position: relative;
1487
- width: 28px;
1488
- height: 28px;
1489
- object-fit: cover;
1490
- }
1491
-
1492
- .imgHomeTeamWrapper {
1493
- border-radius: var(--br-31xlre);
1494
- background-color: var(--color-gray-200re);
1495
- width: 40px;
1496
- height: 40px;
1497
- display: flex;
1498
- flex-direction: column;
1499
- align-items: center;
1500
- justify-content: center;
1501
- padding: var(--padding-3xsre);
1502
- box-sizing: border-box;
1503
- }
1504
-
1505
- .teamContainer {
1506
- border-radius: var(--br-31xlre);
1507
- border: 1px solid var(--color-darkbluere);
1508
- box-sizing: border-box;
1509
- width: 48px;
1510
- height: 48px;
1511
- display: flex;
1512
- flex-direction: row;
1513
- align-items: center;
1514
- justify-content: center;
1515
- padding: var(--padding-3xsre);
1516
- }
1517
-
1518
- .name {
1519
- position: relative;
1520
- letter-spacing: 0.31px;
1521
- line-height: 30.87px;
1522
- font-weight: 500;
1523
- }
1524
-
1525
- .homeTeamContainer {
1526
- flex: 1;
1527
- border-bottom: 1px solid var(--color-slategrayre);
1528
- display: flex;
1529
- flex-direction: row;
1530
- align-items: center;
1531
- justify-content: flex-start;
1532
- padding: 0px 0px var(--padding-xlre);
1533
- gap: var(--gap-3xsre);
1534
- }
1535
-
1536
- .div {
1537
- position: relative;
1538
- font-weight: 600;
1539
- }
1540
-
1541
- .scoreContainer {
1542
- border-radius: var(--br-mid-4re);
1543
- background-color: var(--color-gray-600re);
1544
- display: flex;
1545
- flex-direction: row;
1546
- align-items: center;
1547
- justify-content: center;
1548
- padding: 6.524074554443359px 17.397533416748047px;
1549
- gap: var(--gap-4xs-7rere);
1550
- }
1551
-
1552
- .scoreContainerWrapper {
1553
- align-self: stretch;
1554
- width: 323px;
1555
- display: flex;
1556
- flex-direction: column;
1557
- align-items: center;
1558
- justify-content: space-between;
1559
- text-align: center;
1560
- font-size: 15.22px;
1561
- color: var(--color-white);
1562
- font-family: var(--font-interre);
1563
- }
1564
-
1565
- .teamContainer1 {
1566
- border-radius: var(--br-31xlre);
1567
- border: 1px solid var(--color-yellowgreen-100re);
1568
- box-sizing: border-box;
1569
- width: 48px;
1570
- height: 48px;
1571
- display: flex;
1572
- flex-direction: row;
1573
- align-items: center;
1574
- justify-content: center;
1575
- padding: var(--padding-3xsre);
1576
- }
1577
-
1578
- .awayTeamContainer {
1579
- flex: 1;
1580
- border-bottom: 1px solid var(--color-slategrayre);
1581
- display: flex;
1582
- flex-direction: row;
1583
- align-items: center;
1584
- justify-content: flex-end;
1585
- padding: 0px 0px var(--padding-xlre);
1586
- gap: var(--gap-3xsre);
1587
- }
1588
-
1589
- .matchContainer {
1590
- align-self: stretch;
1591
- display: flex;
1592
- flex-direction: row;
1593
- align-items: center;
1594
- justify-content: space-between;
1595
- padding: 0px 0px var(--padding-xsre);
1596
- color: var(--color-whitesmokere);
1597
- }
1598
-
1599
- .sliderMatchesChild {
1600
- position: relative;
1601
- border-radius: 9.55px;
1602
- width: 7.02px;
1603
- height: 14.23px;
1604
- }
1605
-
1606
- .manchesterUnited {
1607
- position: relative;
1608
- letter-spacing: -0.01em;
1609
- line-height: 20.07px;
1610
- font-weight: 500;
1611
- }
1612
-
1613
- .sliderMatchesItem {
1614
- position: relative;
1615
- border-radius: 9.55px;
1616
- width: 7.02px;
1617
- height: 14.24px;
1618
- }
1619
-
1620
- .sliderMatches {
1621
- align-self: stretch;
1622
- display: flex;
1623
- flex-direction: row;
1624
- align-items: center;
1625
- justify-content: center;
1626
- padding: var(--padding-11xsre) var(--padding-basere);
1627
- gap: var(--gap-3xsre);
1628
- text-align: center;
1629
- }
1630
-
1631
- .sortIcon {
1632
- position: relative;
1633
- width: 18px;
1634
- height: 18px;
1635
- overflow: hidden;
1636
- flex-shrink: 0;
1637
- }
1638
-
1639
- .filtros {
1640
- position: relative;
1641
- font-size: var(--font-size-smre);
1642
- line-height: 24px;
1643
- font-family: var(--font-poppinsre);
1644
- color: var(--color-white);
1645
- text-align: left;
1646
- }
1647
-
1648
- .sortParent {
1649
- display: flex;
1650
- flex-direction: row;
1651
- align-items: center;
1652
- justify-content: center;
1653
- gap: var(--gap-8xsre);
1654
- }
1655
-
1656
- .shapeIcon {
1657
- position: relative;
1658
- width: 8px;
1659
- height: 4px;
1660
- }
1661
-
1662
- .btnFilter {
1663
- cursor: pointer;
1664
- border: 1px solid var(--color-gray-400re);
1665
- padding: var(--padding-5xsre) var(--padding-3xsre);
1666
- background-color: var(--color-gray-300re);
1667
- border-radius: var(--br-5xsre);
1668
- box-sizing: border-box;
1669
- width: 102px;
1670
- height: 32px;
1671
- position: relative;
1672
- display: flex;
1673
- flex-direction: row;
1674
- align-items: center;
1675
- justify-content: space-between;
1676
- }
1677
-
1678
- .btnFilter1 {
1679
- cursor: pointer;
1680
- border: 1px solid var(--color-gray-400re);
1681
- background-color: var(--color-gray-300re);
1682
- border-radius: var(--br-5xsre);
1683
- box-sizing: border-box;
1684
- height: 32px;
1685
- display: flex;
1686
- flex-direction: row;
1687
- align-items: baseline;
1688
- justify-content: flex-start;
1689
- gap: var(--gap-3xsre);
1690
- font-size: 10px;
1691
- }
1692
-
1693
- .btnFilterParent {
1694
- width: 225px;
1695
- display: flex;
1696
- flex-direction: row;
1697
- align-items: flex-start;
1698
- justify-content: flex-start;
1699
- gap: var(--gap-xsre);
1700
- }
1701
-
1702
- .backArrowIcon {
1703
- position: relative;
1704
- border-radius: 10.21px;
1705
- width: 7.5px;
1706
- height: 15.21px;
1707
- }
1708
-
1709
- .teamContainer2 {
1710
- display: flex;
1711
- flex-direction: row;
1712
- align-items: center;
1713
- justify-content: flex-start;
1714
- gap: var(--gap-8xsre);
1715
- }
1716
-
1717
- .homeTeam {
1718
- display: flex;
1719
- flex-direction: row;
1720
- align-items: center;
1721
- justify-content: flex-start;
1722
- gap: var(--gap-minire);
1723
- }
1724
-
1725
- .div4 {
1726
- flex: 1;
1727
- position: relative;
1728
- font-weight: 600;
1729
- }
1730
-
1731
- .finalScore {
1732
- border-radius: var(--br-mid-4re);
1733
- background-color: var(--color-gray-600re);
1734
- border: 0.5px solid var(--color-yellowgreen-200re);
1735
- box-sizing: border-box;
1736
- width: 70.73px;
1737
- display: flex;
1738
- flex-direction: row;
1739
- align-items: center;
1740
- justify-content: center;
1741
- padding: 6.524074554443359px 17.397533416748047px;
1742
- gap: var(--gap-4xs-7rere);
1743
- }
1744
-
1745
- .manchesterUnited1 {
1746
- position: relative;
1747
- font-size: var(--font-size-xsre);
1748
- font-weight: 500;
1749
- font-family: var(--font-poppinsre);
1750
- color: var(--color-gray-700re);
1751
- }
1752
-
1753
- .scoreContainer1 {
1754
- display: flex;
1755
- flex-direction: column;
1756
- align-items: center;
1757
- justify-content: center;
1758
- gap: var(--gap-4xsre);
1759
- text-align: center;
1760
- font-size: 15.22px;
1761
- color: var(--color-white);
1762
- font-family: var(--font-interre);
1763
- }
1764
-
1765
- .match {
1766
- width: 325px;
1767
- display: inline-block;
1768
- }
1769
-
1770
- .manchesterUnited2 {
1771
- position: relative;
1772
- text-decoration: underline;
1773
- font-weight: 500;
1774
- position: absolute;
1775
- right: 0;
1776
- cursor: pointer;
1777
- }
1778
-
1779
- .manchesterUnited2:hover {
1780
- color: rgba(255, 255, 255, 1);
1781
- }
1782
-
1783
- .btnDetails {
1784
- width: 225px;
1785
- height: 28px;
1786
- display: flex;
1787
- flex-direction: row;
1788
- align-items: center;
1789
- justify-content: flex-end;
1790
- text-align: right;
1791
- font-size: var(--font-size-xsre);
1792
- }
1793
-
1794
- .matchContainer1 {
1795
- align-self: stretch;
1796
- display: flex;
1797
- flex-direction: row;
1798
- align-items: flex-start;
1799
- justify-content: space-between;
1800
- padding: var(--padding-9xsre) 0px 0px;
1801
- }
1802
-
1803
- .goalChild {
1804
- position: relative;
1805
- width: 8.03px;
1806
- height: 8.03px;
1807
- }
1808
-
1809
- .goal {
1810
- width: 9px;
1811
- height: 9px;
1812
- display: flex;
1813
- flex-direction: row;
1814
- align-items: center;
1815
- justify-content: center;
1816
- }
1817
-
1818
- .manchesterUnited3 {
1819
- position: relative;
1820
- letter-spacing: -0.01em;
1821
- line-height: 19.5px;
1822
- text-transform: capitalize;
1823
- font-weight: 500;
1824
- }
1825
-
1826
- .minuteEvent {
1827
- display: flex;
1828
- flex-direction: row;
1829
- align-items: center;
1830
- justify-content: flex-start;
1831
- gap: var(--gap-4xsre);
1832
- }
1833
-
1834
- .yellowCard {
1835
- position: relative;
1836
- border-radius: var(--br-12xsre);
1837
- background-color: var(--color-goldenrodre);
1838
- width: 4px;
1839
- height: 6px;
1840
- }
1841
-
1842
- .awayTeamEvents {
1843
- display: flex;
1844
- flex-direction: column;
1845
- align-items: flex-start;
1846
- justify-content: flex-start;
1847
- gap: var(--gap-3xsre);
1848
- }
1849
-
1850
- .rectangle {
1851
- position: relative;
1852
- border-radius: var(--br-12xsre);
1853
- background-color: var(--color-redre);
1854
- width: 4px;
1855
- height: 6px;
1856
- }
1857
-
1858
- .homeTeamEvents {
1859
- display: flex;
1860
- flex-direction: column;
1861
- align-items: flex-end;
1862
- justify-content: flex-start;
1863
- gap: var(--gap-3xsre);
1864
- text-align: right;
1865
- }
1866
-
1867
- .totalEvents {
1868
- display: none;
1869
- flex-direction: row;
1870
- align-items: center;
1871
- justify-content: flex-start;
1872
- gap: var(--gap-40xlre);
1873
- font-size: var(--font-size-4xsre);
1874
- }
1875
-
1876
- .headerSeccionAlineaciones1 {
1877
- align-self: stretch;
1878
- background-color: var(--color-gray-200re);
1879
- display: flex;
1880
- flex-direction: column;
1881
- align-items: center;
1882
- justify-content: flex-start;
1883
- padding: 0px 48px;
1884
- gap: var(--gap-basere);
1885
- }
1886
-
1887
- .sliderMatchesInner {
1888
- position: relative;
1889
- border-radius: 9.55px;
1890
- width: 13.39px;
1891
- height: 6px;
1892
- }
1893
-
1894
- .btnFilter2 {
1895
- cursor: pointer;
1896
- border: 1px solid var(--color-gray-400re);
1897
- padding: var(--padding-5xsre) var(--padding-3xsre);
1898
- background-color: var(--color-gray-300re);
1899
- border-radius: var(--br-5xsre);
1900
- box-sizing: border-box;
1901
- width: 111px;
1902
- position: relative;
1903
- height: 32px;
1904
- display: flex;
1905
- flex-direction: row;
1906
- align-items: center;
1907
- justify-content: space-between;
1908
- margin-right: 10px;
1909
- }
1910
-
1911
- .btnDetails1 {
1912
- width: 111px;
1913
- height: 28px;
1914
- display: flex;
1915
- flex-direction: row;
1916
- align-items: center;
1917
- justify-content: flex-end;
1918
- }
1919
-
1920
- .matchContainer3 {
1921
- align-self: stretch;
1922
- display: flex;
1923
- flex-direction: row;
1924
- align-items: flex-start;
1925
- justify-content: start;
1926
- padding: var(--padding-9xsre) 0px 0px;
1927
- text-align: right;
1928
- font-size: var(--font-size-xsre);
1929
- }
1930
-
1931
- .backArrowIcon1 {
1932
- position: relative;
1933
- border-radius: 10.21px;
1934
- width: 14.31px;
1935
- height: 6.41px;
1936
- }
1937
-
1938
- .match1 {
1939
- width: 340px;
1940
- display: inline-block;
1941
- margin: 0 auto;
1942
- }
1943
-
1944
- .headerSeccionAlineaciones2 {
1945
- align-self: stretch;
1946
- background-color: var(--color-gray-200re);
1947
- display: none;
1948
- flex-direction: column;
1949
- align-items: center;
1950
- justify-content: flex-start;
1951
- padding: 0px var(--padding-5xlre);
1952
- gap: var(--gap-basere);
1953
- }
1954
-
1955
- .jugadores2 {
1956
- position: relative;
1957
- line-height: 20px;
1958
- font-weight: 600;
1959
- opacity: 0.6;
1960
- }
1961
-
1962
- .switchOption6 {
1963
- border-radius: var(--sizes-round-corner-round-corner-32re);
1964
- width: 74px;
1965
- display: flex;
1966
- flex-direction: row;
1967
- align-items: center;
1968
- justify-content: center;
1969
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1970
- box-sizing: border-box;
1971
- }
1972
-
1973
- .switchOption7 {
1974
- border-radius: var(--sizes-round-corner-round-corner-32re);
1975
- background-color: var(--color-darkslategrayre);
1976
- border: 0.8px solid var(--color-yellowgreen-200re);
1977
- box-sizing: border-box;
1978
- width: 74.8px;
1979
- display: flex;
1980
- flex-direction: row;
1981
- align-items: center;
1982
- justify-content: center;
1983
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1984
- }
1985
-
1986
- .switchStatesBig2 {
1987
- border-radius: var(--sizes-round-corner-round-corner-32re);
1988
- background-color: var(--color-gray-100re);
1989
- border: 1px solid var(--color-gray-500re);
1990
- display: inline-block;
1991
- width: 280px;
1992
- }
1993
-
1994
- .manchesterUnited26 {
1995
- position: relative;
1996
- font-size: var(--font-size-3xsre);
1997
- font-weight: 500;
1998
- }
1999
-
2000
- .homeTeamContainer2 {
2001
- display: flex;
2002
- flex-direction: row;
2003
- align-items: center;
2004
- justify-content: flex-start;
2005
- gap: var(--gap-3xsre);
2006
- }
2007
-
2008
- .vectorIcon {
2009
- position: relative;
2010
- width: 15px;
2011
- height: 15px;
2012
- }
2013
-
2014
- .teamSwitch {
2015
- border-radius: 25px;
2016
- box-sizing: border-box;
2017
- width: 98px;
2018
- overflow: hidden;
2019
- height: 21px;
2020
- display: flex;
2021
- flex-direction: row;
2022
- align-items: center;
2023
- justify-content: center;
2024
- padding: 0px 3px;
2025
- }
2026
-
2027
- .matchContainer5 {
2028
- align-self: stretch;
2029
- display: flex;
2030
- flex-direction: row;
2031
- align-items: center;
2032
- justify-content: space-between;
2033
- padding: 0px 0px var(--padding-xsre);
2034
- text-align: left;
2035
- color: var(--color-whitesmokere);
2036
- }
2037
-
2038
- .manchesterUnited27 {
2039
- position: relative;
2040
- letter-spacing: -0.01em;
2041
- line-height: 20.07px;
2042
- font-weight: 500;
2043
- z-index: 0;
2044
- }
2045
-
2046
- .sliderMatchesChild1 {
2047
- position: absolute;
2048
- margin: 0 !important;
2049
- top: 14.31px;
2050
- left: 261.07px;
2051
- border-radius: 10.21px;
2052
- width: 14.31px;
2053
- height: 6.41px;
2054
- z-index: 1;
2055
- }
2056
-
2057
- .sliderMatchesChild2 {
2058
- position: absolute;
2059
- margin: 0 !important;
2060
- top: 0.31px;
2061
- left: 6.41px;
2062
- border-radius: 10.21px;
2063
- width: 14.31px;
2064
- height: 6.41px;
2065
- z-index: 2;
2066
- }
2067
-
2068
- .sliderMatches2 {
2069
- display: none;
2070
- flex-direction: row;
2071
- align-items: flex-start;
2072
- justify-content: flex-start;
2073
- padding: var(--padding-11xsre) var(--padding-basere);
2074
- position: relative;
2075
- gap: var(--gap-3xsre);
2076
- }
2077
-
2078
- .filtros2 {
2079
- position: relative;
2080
- font-size: var(--font-size-smre);
2081
- line-height: 24px;
2082
- font-family: var(--font-poppinsre);
2083
- color: var(--color-white);
2084
- text-align: left;
2085
- display: none;
2086
- }
2087
-
2088
- .btnFilter4 {
2089
- cursor: pointer;
2090
- position: relative;
2091
- border: 1px solid var(--color-gray-400re);
2092
- padding: var(--padding-5xsre) var(--padding-3xsre);
2093
- background-color: var(--color-gray-300re);
2094
- border-radius: var(--br-5xsre);
2095
- box-sizing: border-box;
2096
- width: 60px;
2097
- height: 32px;
2098
- display: flex;
2099
- flex-direction: row;
2100
- align-items: center;
2101
- justify-content: space-between;
2102
- }
2103
-
2104
- .jornada2 {
2105
- position: relative;
2106
- line-height: 9px;
2107
- font-weight: 600;
2108
- opacity: 0.6;
2109
- }
2110
-
2111
- .filterMatchday {
2112
- border-radius: 4px;
2113
- border: 1px solid var(--color-gray-500re);
2114
- box-sizing: border-box;
2115
- width: 102px;
2116
- height: 25px;
2117
- display: flex;
2118
- flex-direction: row;
2119
- justify-content: space-between;
2120
- }
2121
-
2122
- .btnDetails2 {
2123
- width: 60px;
2124
- height: 28px;
2125
- display: flex;
2126
- flex-direction: row;
2127
- align-items: center;
2128
- justify-content: center;
2129
- text-align: right;
2130
- color: var(--color-gray-700re);
2131
- }
2132
-
2133
- .filtersContainer {
2134
- align-self: stretch;
2135
- display: flex;
2136
- flex-direction: row;
2137
- align-items: center;
2138
- justify-content: space-between;
2139
- font-size: var(--font-size-3xsre);
2140
- color: var(--color-white);
2141
- }
2142
-
2143
- .matchContainer6 {
2144
- align-self: stretch;
2145
- display: flex;
2146
- flex-direction: row;
2147
- align-items: flex-start;
2148
- justify-content: center;
2149
- padding: var(--padding-9xsre) 0px 0px;
2150
- }
2151
-
2152
- .matchDetailContainer {
2153
- align-self: stretch;
2154
- display: flex;
2155
- flex-direction: column;
2156
- align-items: center;
2157
- justify-content: flex-start;
2158
- gap: 14px;
2159
- text-align: left;
2160
- }
2161
-
2162
- .containerData {
2163
- align-self: stretch;
2164
- border-radius: 9px;
2165
- background-color: #192632;
2166
- box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
2167
- display: flex;
2168
- flex-direction: column;
2169
- align-items: center;
2170
- justify-content: flex-start;
2171
- padding: var(--padding-basere) var(--padding-5xlre) 32px;
2172
- gap: var(--gap-xsre);
2173
- font-size: var(--font-size-smre);
2174
- color: var(--color-gray-700re);
2175
- }
2176
-
2177
- .headerSeccionAlineaciones3 {
2178
- align-self: stretch;
2179
- display: none;
2180
- flex-direction: column;
2181
- align-items: center;
2182
- justify-content: flex-start;
2183
- gap: var(--gap-basere);
2184
- text-align: center;
2185
- font-size: var(--font-size-2xsre);
2186
- color: var(--color-white);
2187
- }
2188
-
2189
- .headerSeccionAlineaciones {
2190
- position: relative;
2191
- width: 100%;
2192
- display: flex;
2193
- flex-direction: column;
2194
- align-items: flex-start;
2195
- justify-content: flex-start;
2196
- gap: 132px;
2197
- text-align: left;
2198
- font-size: var(--font-size-smre);
2199
- color: var(--color-gray-700re);
2200
- font-family: var(--font-poppinsre);
2201
- }
2202
-
2203
- .headerSeccionAlineaciones31200 {
2204
- max-width: 540px;
2205
- align-self: stretch;
2206
- display: none;
2207
- flex-direction: column;
2208
- align-items: center;
2209
- justify-content: flex-start;
2210
- gap: var(--gap-basere);
2211
- text-align: center;
2212
- font-size: var(--font-size-2xsre);
2213
- color: var(--color-white);
2214
- }
2215
-
2216
- .headerSeccionAlineaciones3420 {
2217
- display: flex;
2218
- max-width: 540px;
2219
- align-self: stretch;
2220
- flex-direction: column;
2221
- align-items: center;
2222
- justify-content: flex-start;
2223
- gap: var(--gap-basere);
2224
- text-align: center;
2225
- font-size: var(--font-size-2xsre);
2226
- color: var(--color-white);
2227
- }
2228
-
2229
- .headerSeccionAlineaciones3880 {
2230
- display: none;
2231
- align-self: stretch;
2232
- flex-direction: column;
2233
- align-items: center;
2234
- justify-content: flex-start;
2235
- gap: var(--gap-basere);
2236
- text-align: center;
2237
- font-size: var(--font-size-2xsre);
2238
- color: var(--color-white);
2239
- }
2240
-
2241
- .headerSeccionAlineaciones3540 {
2242
- display: flex;
2243
- min-width: 300px;
2244
- align-self: stretch;
2245
- flex-direction: column;
2246
- align-items: center;
2247
- justify-content: flex-start;
2248
- gap: var(--gap-basere);
2249
- text-align: center;
2250
- font-size: var(--font-size-2xsre);
2251
- color: var(--color-white);
2252
- }
2253
-
2254
- .headerSeccionAlineaciones11200 {
2255
- align-self: stretch;
2256
- width: auto;
2257
- max-width: 1089px;
2258
- align-self: stretch;
2259
- background-color: var(--color-gray-200re);
2260
- display: flex;
2261
- flex-direction: column;
2262
- align-items: center;
2263
- justify-content: flex-start;
2264
- padding: 0px 48px;
2265
- gap: var(--gap-basere);
2266
- }
2267
-
2268
- .headerSeccionAlineaciones1420 {
2269
- display: none;
2270
- align-self: stretch;
2271
- background-color: var(--color-gray-200re);
2272
- flex-direction: column;
2273
- align-items: center;
2274
- justify-content: flex-start;
2275
- padding: 0px 48px;
2276
- gap: var(--gap-basere);
2277
- }
2278
-
2279
- .headerSeccionAlineaciones1880 {
2280
- display: none;
2281
- align-self: stretch;
2282
- background-color: var(--color-gray-200re);
2283
- flex-direction: column;
2284
- align-items: center;
2285
- justify-content: flex-start;
2286
- padding: 0px 48px;
2287
- gap: var(--gap-basere);
2288
- }
2289
-
2290
- .headerSeccionAlineaciones21200 {
2291
- display: none;
2292
- align-self: stretch;
2293
- width: auto;
2294
- max-width: 840px;
2295
- align-self: stretch;
2296
- background-color: var(--color-gray-200re);
2297
- flex-direction: column;
2298
- align-items: center;
2299
- justify-content: flex-start;
2300
- padding: 0px var(--padding-5xlre);
2301
- gap: var(--gap-basere);
2302
- }
2303
-
2304
- .headerSeccionAlineaciones2420 {
2305
- display: none;
2306
- align-self: stretch;
2307
- background-color: var(--color-gray-200re);
2308
- display: none;
2309
- flex-direction: column;
2310
- align-items: center;
2311
- justify-content: flex-start;
2312
- padding: 0px var(--padding-5xlre);
2313
- gap: var(--gap-basere);
2314
- }
2315
-
2316
- .headerSeccionAlineaciones2880 {
2317
- display: flex;
2318
- align-self: stretch;
2319
- background-color: var(--color-gray-200re);
2320
- flex-direction: column;
2321
- align-items: center;
2322
- justify-content: flex-start;
2323
- padding: 0px var(--padding-5xlre);
2324
- gap: var(--gap-basere);
2325
- }
2326
-
2327
- .headerSeccionAlineaciones2540 {
2328
- display: none;
2329
- align-self: stretch;
2330
- background-color: var(--color-gray-200re);
2331
- flex-direction: column;
2332
- align-items: center;
2333
- justify-content: flex-start;
2334
- padding: 0px var(--padding-5xlre);
2335
- gap: var(--gap-basere);
2336
- }
2337
- </style>
1
+ <template>
2
+ <div :class="$style.headerSeccionAlineaciones">
3
+ <div :class="headerSeccionAlineaciones1Class" id="header-desktop-full">
4
+ <div :class="$style.groupsLeagueParent">
5
+ <div :class="$style.groupsLeague">
6
+ <span>Las alineaciones de este partido </span>
7
+ <span :class="$style.anNoEstn">aún no están disponibles</span>
8
+ <span>. Por lo pronto puedes ver alineaciones:</span>
9
+ </div>
10
+ <div :class="$style.switchStatesBig" id="switch-lineup">
11
+ <GscSwitchComponent
12
+ :buttons="['Historicos', 'Recientes', 'Probables']"
13
+ :selectedOption="optionSelected"
14
+ :type="1"
15
+ width="600px"
16
+ :arrow="false"
17
+ borderRadius="32px"
18
+ height="28px"
19
+ fontSize="11px;"
20
+ fontFamily="Poppins-Regular"
21
+ border-width="1px"
22
+ border-width-container="0.5px"
23
+ backgroundOptionDisable="#162533"
24
+ @input="clickOnSelectOption"
25
+ />
26
+ </div>
27
+ </div>
28
+ <div :class="$style.matchContainer" id="match-container">
29
+ <div :class="$style.homeTeamContainer">
30
+ <div :class="$style.teamContainer">
31
+ <div :class="$style.imgHomeTeamWrapper">
32
+ <img
33
+ :class="$style.imgHomeTeamIcon"
34
+ alt=""
35
+ :src="
36
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
37
+ gameInfo.home_team +
38
+ '.png'
39
+ "
40
+ />
41
+ </div>
42
+ </div>
43
+ <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
44
+ </div>
45
+ <div :class="$style.teamSwitch" id="switch-team">
46
+ <GSCSwitchRadio
47
+ width="41px"
48
+ height="20px"
49
+ heightCircle="15px"
50
+ widthCircle="15px"
51
+ circle-color-switch="#cbee6b"
52
+ :text-option-left="gameInfo.home_team_abbreviation"
53
+ @change="changeSwitchRadio"
54
+ :text-option-right="gameInfo.away_team_abbreviation"
55
+ font-color="white"
56
+ :value-default="teamSelect"
57
+ :hidden-labels="true"
58
+ />
59
+ </div>
60
+ <div :class="$style.awayTeamContainer">
61
+ <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
62
+ <div :class="$style.teamContainer1">
63
+ <div :class="$style.imgHomeTeamWrapper">
64
+ <img
65
+ :class="$style.imgHomeTeamIcon"
66
+ alt=""
67
+ :src="
68
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
69
+ gameInfo.away_team +
70
+ '.png'
71
+ "
72
+ />
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+
78
+ <div :class="$style.matchContainer1" id="match-info-container">
79
+ <div :class="$style.btnFilterParent">
80
+ <button :class="$style.btnFilter" id="btn-filters">
81
+ <div :class="$style.sortParent" @click="openFilter">
82
+ <img
83
+ :class="$style.sortIcon"
84
+ alt=""
85
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter.svg"
86
+ />
87
+ <div :class="$style.filtros">Filtros</div>
88
+ </div>
89
+ <img
90
+ :class="$style.shapeIcon"
91
+ alt=""
92
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow.svg"
93
+ />
94
+ <GSCFilter
95
+ :item-select="filterObject"
96
+ :is-open="openfiltervalue"
97
+ @change="changeFiltersModal"
98
+ :reset="vDeleteFilter"
99
+ margin-modal="-83px"
100
+ />
101
+ </button>
102
+ <GSCDropdown
103
+ @click="clickOnValueFilter"
104
+ v-if="gameRecientesFilter.length > 0"
105
+ :key="keyUpdate"
106
+ :default-item-by-prop="defaultDropItem"
107
+ :class="$style.btnFilter1"
108
+ id="btn-filters"
109
+ :items="matchdaysFinal"
110
+ @input="changeDropdown"
111
+ height="32px"
112
+ width="114px"
113
+ background-color="rgba(255, 255, 255, 0.05);"
114
+ color="white"
115
+ border-width="1"
116
+ borderColor="rgba(255, 255, 255, 0.2)"
117
+ border-radius="0px"
118
+ fontSize="10px"
119
+ arrowHeight="16"
120
+ :arrowWidth="16"
121
+ listHeight="300px"
122
+ listBackgroundColor="#243a4c"
123
+ hoverBackgroundColor="#0d1d2a"
124
+ listItemColor="#FFFFFF"
125
+ listItemSelectedBackgroundColor="#0d1d2a"
126
+ listItemSelectedColor="#c3e569"
127
+ listItemPadding="8px 7px"
128
+ listBorderColor="rgba(255, 255, 255, 0.1)"
129
+ listBorderRadius="2px"
130
+ >
131
+ <template #default="data">
132
+ <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
133
+ </template>
134
+ <template #availableItem="{ item }">
135
+ <div>{{ item.name }}</div>
136
+ </template>
137
+ </GSCDropdown>
138
+ </div>
139
+ <div :class="$style.match">
140
+ <GSCCarousel
141
+ @click="clickOnValueCarrousel"
142
+ v-if="gameRecientesFilter.length > 0"
143
+ :key="updateCarouselGames"
144
+ :default-item-by-index="selectedIndexOption"
145
+ :items="gameRecientesFilter"
146
+ @input="changeCarouselItem"
147
+ isMainSlidePriority
148
+ areSlidesArrowsVisible
149
+ :areNavigationArrowsVisible="false"
150
+ slideLeftArrowBackgroundImage="none"
151
+ slideRightArrowBackgroundImage="none"
152
+ >
153
+ <template #default="{ item }">
154
+ <div :class="$style.selectoritem">
155
+ <div :class="$style.homeTeam">
156
+ <div :class="$style.teamContainer2">
157
+ <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
158
+ <img
159
+ :class="$style.imgHomeTeamIcon"
160
+ alt=""
161
+ :src="
162
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
163
+ item.home_team +
164
+ '.png'
165
+ "
166
+ />
167
+ </div>
168
+ </div>
169
+ <div :class="$style.scoreContainer1">
170
+ <div :class="$style.finalScore">
171
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
172
+ {{ item.score[0] }}
173
+ </div>
174
+ <div :class="$style.div4">-</div>
175
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
176
+ <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
177
+ <template v-else>{{ item.score[4] }}</template>
178
+ </div>
179
+ </div>
180
+ <div :class="$style.manchesterUnited1">
181
+ <template v-if="item.home_team_abbreviation == teamSelect">
182
+ <template v-if="item.home_match_result == 1">Ganado</template>
183
+ <template v-if="item.home_match_result == 2">Perdido</template>
184
+ <template v-if="item.home_match_result == 3">Empatado</template>
185
+ </template>
186
+ <template v-if="item.away_team_abbreviation == teamSelect">
187
+ <template v-if="item.visiting_match_result == 1">Ganado</template>
188
+ <template v-if="item.visiting_match_result == 2">Perdido</template>
189
+ <template v-if="item.visiting_match_result == 3">Empatado</template>
190
+ </template>
191
+ </div>
192
+ </div>
193
+ <div :class="$style.homeTeam">
194
+ <div :class="$style.teamContainer2">
195
+ <img
196
+ :class="$style.imgHomeTeamIcon"
197
+ alt=""
198
+ :src="
199
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
200
+ item.away_team +
201
+ '.png'
202
+ "
203
+ />
204
+ <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </template>
209
+ </GSCCarousel>
210
+ <div v-else>
211
+ <div :class="$style.containernofoundsearchrecientes">
212
+ <div :class="$style.leyenddeleteshow">
213
+ No hay resultados con los criterios<br />de búsqueda aplicados.
214
+ </div>
215
+ <div :class="$style.btndeletefilters" @click="deleteFilters">
216
+ Eliminar filtros aplicados
217
+ </div>
218
+ </div>
219
+ </div>
220
+ <GSCMatchDetails
221
+ style="margin-top: 30px"
222
+ v-if="showDetails"
223
+ :localDetails="localDetails"
224
+ :foreignDetails="foreignDetails"
225
+ />
226
+ </div>
227
+ <div :class="$style.btnDetails">
228
+ <div :class="$style.manchesterUnited2" @click="clickShowDetails">
229
+ <template v-if="showDetails">Ocultar detalles</template
230
+ ><template v-else>Ver detalles</template>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ <div :class="headerSeccionAlineaciones2Class" id="header-desktop">
236
+ <div :class="$style.groupsLeagueParent">
237
+ <div :class="$style.groupsLeague">
238
+ <span>Las alineaciones de este partido </span>
239
+ <span :class="$style.anNoEstn">aún no están disponibles</span>
240
+ <span>. Por lo pronto puedes ver alineaciones:</span>
241
+ </div>
242
+ <div :class="$style.switchStatesBig" id="switch-lineup">
243
+ <GscSwitchComponent
244
+ :buttons="['Historicos', 'Recientes', 'Probables']"
245
+ :selectedOption="optionSelected"
246
+ :type="1"
247
+ width="600px"
248
+ :arrow="false"
249
+ borderRadius="32px"
250
+ height="28px"
251
+ fontSize="11px;"
252
+ fontFamily="Poppins-Regular"
253
+ border-width="1px"
254
+ border-width-container="0.5px"
255
+ backgroundOptionDisable="#162533"
256
+ @input="clickOnSelectOption"
257
+ />
258
+ </div>
259
+ </div>
260
+ <div :class="$style.matchContainer" id="match-container">
261
+ <div :class="$style.homeTeamContainer">
262
+ <div :class="$style.teamContainer">
263
+ <div :class="$style.imgHomeTeamWrapper">
264
+ <img
265
+ :class="$style.imgHomeTeamIcon"
266
+ alt=""
267
+ :src="
268
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
269
+ gameInfo.home_team +
270
+ '.png'
271
+ "
272
+ />
273
+ </div>
274
+ </div>
275
+ <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
276
+ </div>
277
+ <div :class="$style.teamSwitch" id="switch-team">
278
+ <GSCSwitchRadio
279
+ width="41px"
280
+ height="20px"
281
+ heightCircle="15px"
282
+ widthCircle="15px"
283
+ circle-color-switch="#cbee6b"
284
+ :text-option-left="gameInfo.home_team_abbreviation"
285
+ @change="changeSwitchRadio"
286
+ :text-option-right="gameInfo.away_team_abbreviation"
287
+ font-color="white"
288
+ :value-default="teamSelect"
289
+ :hidden-labels="true"
290
+ />
291
+ </div>
292
+ <div :class="$style.awayTeamContainer">
293
+ <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
294
+ <div :class="$style.teamContainer1">
295
+ <div :class="$style.imgHomeTeamWrapper">
296
+ <img
297
+ :class="$style.imgHomeTeamIcon"
298
+ alt=""
299
+ :src="
300
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
301
+ gameInfo.away_team +
302
+ '.png'
303
+ "
304
+ />
305
+ </div>
306
+ </div>
307
+ </div>
308
+ </div>
309
+
310
+ <div :class="$style.matchContainer3">
311
+ <button :class="$style.btnFilter2" id="btn-filters">
312
+ <div :class="$style.sortParent" @click="openFilter">
313
+ <img
314
+ :class="$style.sortIcon"
315
+ alt=""
316
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter1.svg"
317
+ />
318
+ <div :class="$style.filtros">Filtros</div>
319
+ </div>
320
+ <img
321
+ :class="$style.shapeIcon"
322
+ alt=""
323
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow1.svg"
324
+ />
325
+ <GSCFilter
326
+ :item-select="filterObject"
327
+ :is-open="openfiltervalue"
328
+ @change="changeFiltersModal"
329
+ margin-modal="-99px"
330
+ />
331
+ </button>
332
+ <GSCDropdown
333
+ @click="clickOnValueFilter"
334
+ v-if="gameRecientesFilter.length > 0"
335
+ :key="keyUpdate"
336
+ :default-item-by-prop="defaultDropItem"
337
+ :class="$style.btnFilter1"
338
+ id="btn-filters"
339
+ :items="matchdaysFinal"
340
+ @input="changeDropdown"
341
+ height="32px"
342
+ width="114px"
343
+ background-color="rgba(255, 255, 255, 0.05);"
344
+ color="white"
345
+ border-width="1"
346
+ borderColor="rgba(255, 255, 255, 0.2)"
347
+ border-radius="0px"
348
+ fontSize="10px"
349
+ arrowHeight="16"
350
+ :arrowWidth="16"
351
+ listHeight="300px"
352
+ listBackgroundColor="#243a4c"
353
+ hoverBackgroundColor="#0d1d2a"
354
+ listItemColor="#FFFFFF"
355
+ listItemSelectedBackgroundColor="#0d1d2a"
356
+ listItemSelectedColor="#c3e569"
357
+ listItemPadding="8px 7px"
358
+ listBorderColor="rgba(255, 255, 255, 0.1)"
359
+ listBorderRadius="2px"
360
+ >
361
+ <template #default="data">
362
+ <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
363
+ </template>
364
+ <template #availableItem="{ item }">
365
+ <div>{{ item.name }}</div>
366
+ </template>
367
+ </GSCDropdown>
368
+ <div :class="$style.btnDetails1">
369
+ <div :class="$style.manchesterUnited2" @click="clickShowDetails">
370
+ <template v-if="showDetails">Ocultar detalles</template
371
+ ><template v-else>Ver detalles</template>
372
+ </div>
373
+ </div>
374
+ </div>
375
+ <div :class="$style.matchContainer1" id="match-info-container">
376
+ <div :class="$style.match1">
377
+ <GSCCarousel
378
+ v-if="gameRecientesFilter.length > 0"
379
+ :items="gameRecientesFilter"
380
+ :key="updateCarouselGames"
381
+ :default-item-by-index="selectedIndexOption"
382
+ @input="changeCarouselItem"
383
+ isMainSlidePriority
384
+ areSlidesArrowsVisible
385
+ :areNavigationArrowsVisible="false"
386
+ slideLeftArrowBackgroundImage="none"
387
+ slideRightArrowBackgroundImage="none"
388
+ >
389
+ <template #default="{ item }">
390
+ <div :class="$style.selectoritem">
391
+ <div :class="$style.homeTeam">
392
+ <div :class="$style.teamContainer2">
393
+ <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
394
+ <img
395
+ :class="$style.imgHomeTeamIcon"
396
+ alt=""
397
+ :src="
398
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
399
+ item.home_team +
400
+ '.png'
401
+ "
402
+ />
403
+ </div>
404
+ </div>
405
+ <div :class="$style.scoreContainer1">
406
+ <div :class="$style.finalScore">
407
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
408
+ {{ item.score[0] }}
409
+ </div>
410
+ <div :class="$style.div4">-</div>
411
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
412
+ <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
413
+ <template v-else>{{ item.score[4] }}</template>
414
+ </div>
415
+ </div>
416
+ <div :class="$style.manchesterUnited1">
417
+ <template v-if="item.home_team_abbreviation == teamSelect">
418
+ <template v-if="item.home_match_result == 1">Ganado</template>
419
+ <template v-if="item.home_match_result == 2">Perdido</template>
420
+ <template v-if="item.home_match_result == 3">Empatado</template>
421
+ </template>
422
+ <template v-if="item.away_team_abbreviation == teamSelect">
423
+ <template v-if="item.visiting_match_result == 1">Ganado</template>
424
+ <template v-if="item.visiting_match_result == 2">Perdido</template>
425
+ <template v-if="item.visiting_match_result == 3">Empatado</template>
426
+ </template>
427
+ </div>
428
+ </div>
429
+ <div :class="$style.homeTeam">
430
+ <div :class="$style.teamContainer2">
431
+ <img
432
+ :class="$style.imgHomeTeamIcon"
433
+ alt=""
434
+ :src="
435
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
436
+ item.away_team +
437
+ '.png'
438
+ "
439
+ />
440
+ <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
441
+ </div>
442
+ </div>
443
+ </div>
444
+ </template>
445
+ </GSCCarousel>
446
+ <div v-else>
447
+ <div :class="$style.containernofoundsearchrecientes">
448
+ <div :class="$style.leyenddeleteshow">
449
+ No hay resultados con los criterios<br />de búsqueda aplicados.
450
+ </div>
451
+ <div :class="$style.btndeletefilters" @click="deleteFilters">
452
+ Eliminar filtros aplicados
453
+ </div>
454
+ </div>
455
+ </div>
456
+ <GSCMatchDetails
457
+ style="margin-top: 30px"
458
+ v-if="showDetails"
459
+ :localDetails="localDetails"
460
+ :foreignDetails="foreignDetails"
461
+ />
462
+ </div>
463
+ </div>
464
+ </div>
465
+ <div :class="headerSeccionAlineaciones3Class" id="header-mobile">
466
+ <div :class="$style.switchStatesBig2" id="switch-lineup">
467
+ <GscSwitchComponent
468
+ :buttons="['Historicos', 'Recientes', 'Probables']"
469
+ :selectedOption="optionSelected"
470
+ :type="1"
471
+ width="600px"
472
+ :arrow="false"
473
+ borderRadius="32px"
474
+ height="28px"
475
+ fontSize="11px;"
476
+ fontFamily="Poppins-Regular"
477
+ border-width="1px"
478
+ border-width-container="0.5px"
479
+ backgroundOptionDisable="#162533"
480
+ @input="clickOnSelectOption"
481
+ />
482
+ </div>
483
+ <div :class="$style.containerData">
484
+ <div :class="$style.manchesterUnited26">Alineación utilizada en:</div>
485
+ <div :class="$style.matchContainer5" id="match-container">
486
+ <div :class="$style.homeTeamContainer2">
487
+ <div :class="$style.teamContainer">
488
+ <div :class="$style.imgHomeTeamWrapper">
489
+ <img
490
+ :class="$style.imgHomeTeamIcon"
491
+ alt=""
492
+ :src="
493
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
494
+ gameInfo.home_team +
495
+ '.png'
496
+ "
497
+ />
498
+ </div>
499
+ </div>
500
+ <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
501
+ </div>
502
+ <div :class="$style.teamSwitch" id="switch-team">
503
+ <GSCSwitchRadio
504
+ width="41px"
505
+ height="20px"
506
+ heightCircle="15px"
507
+ widthCircle="15px"
508
+ circle-color-switch="#cbee6b"
509
+ :text-option-left="gameInfo.home_team_abbreviation"
510
+ @change="changeSwitchRadio"
511
+ :text-option-right="gameInfo.away_team_abbreviation"
512
+ font-color="white"
513
+ :value-default="teamSelect"
514
+ :hidden-labels="true"
515
+ />
516
+ </div>
517
+ <div :class="$style.homeTeamContainer2">
518
+ <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
519
+ <div :class="$style.teamContainer1">
520
+ <div :class="$style.imgHomeTeamWrapper">
521
+ <img
522
+ :class="$style.imgHomeTeamIcon"
523
+ alt=""
524
+ :src="
525
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
526
+ gameInfo.away_team +
527
+ '.png'
528
+ "
529
+ />
530
+ </div>
531
+ </div>
532
+ </div>
533
+ </div>
534
+ <div :class="$style.filtersContainer">
535
+ <button :class="$style.btnFilter4" id="btn-filters">
536
+ <div :class="$style.sortParent" @click="openFilter">
537
+ <img
538
+ :class="$style.sortIcon"
539
+ alt=""
540
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter2.svg"
541
+ />
542
+ <div :class="$style.filtros2">Filtros</div>
543
+ </div>
544
+ <img
545
+ :class="$style.shapeIcon"
546
+ alt=""
547
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-arrow-expand.svg"
548
+ />
549
+ <GSCFilter
550
+ :item-select="filterObject"
551
+ :is-open="openfiltervalue"
552
+ @change="changeFiltersModal"
553
+ margin-modal="-75px"
554
+ />
555
+ </button>
556
+ <GSCDropdown
557
+ @click="clickOnValueFilter"
558
+ v-if="gameRecientesFilter.length > 0"
559
+ :key="keyUpdate"
560
+ :default-item-by-prop="defaultDropItem"
561
+ :class="$style.filterMatchday"
562
+ id="menu-matchday"
563
+ :items="matchdaysFinal"
564
+ @input="changeDropdown"
565
+ height="25px"
566
+ width="100px"
567
+ background-color="rgba(255, 255, 255, 0.05);"
568
+ color="white"
569
+ border-width="1"
570
+ borderColor="rgba(255, 255, 255, 0.2)"
571
+ border-radius="0px"
572
+ fontSize="10px"
573
+ arrowHeight="16"
574
+ :arrowWidth="16"
575
+ listHeight="300px"
576
+ listBackgroundColor="#243a4c"
577
+ hoverBackgroundColor="#0d1d2a"
578
+ listItemColor="#FFFFFF"
579
+ listItemSelectedBackgroundColor="#0d1d2a"
580
+ listItemSelectedColor="#c3e569"
581
+ listItemPadding="8px 7px"
582
+ listBorderColor="rgba(255, 255, 255, 0.1)"
583
+ listBorderRadius="2px"
584
+ >
585
+ <template #default="data">
586
+ <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
587
+ </template>
588
+ <template #availableItem="{ item }">
589
+ <div>{{ item.name }}</div>
590
+ </template>
591
+ </GSCDropdown>
592
+ <div :class="$style.btnDetails2">
593
+ <div :class="$style.manchesterUnited2" @click="clickShowDetails">
594
+ <template v-if="showDetails">Ocultar detalles</template
595
+ ><template v-else>Ver detalles</template>
596
+ </div>
597
+ </div>
598
+ </div>
599
+ <div :class="$style.matchDetailContainer">
600
+ <div :class="$style.matchContainer6" id="match-info-container">
601
+ <div :class="$style.match">
602
+ <GSCCarousel
603
+ v-if="gameRecientesFilter.length > 0"
604
+ :key="updateCarouselGames"
605
+ :default-item-by-index="selectedIndexOption"
606
+ :items="gameRecientesFilter"
607
+ @input="changeCarouselItem"
608
+ isMainSlidePriority
609
+ areSlidesArrowsVisible
610
+ :areNavigationArrowsVisible="false"
611
+ slideLeftArrowBackgroundImage="none"
612
+ slideRightArrowBackgroundImage="none"
613
+ >
614
+ <template #default="{ item }">
615
+ <div :class="$style.selectoritem">
616
+ <div :class="$style.homeTeam">
617
+ <div :class="$style.teamContainer2">
618
+ <div :class="$style.manchesterUnited">
619
+ {{ item.home_team_abbreviation }}
620
+ </div>
621
+ <img
622
+ :class="$style.imgHomeTeamIcon"
623
+ alt=""
624
+ :src="
625
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
626
+ item.home_team +
627
+ '.png'
628
+ "
629
+ />
630
+ </div>
631
+ </div>
632
+ <div :class="$style.scoreContainer1">
633
+ <div :class="$style.finalScore">
634
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
635
+ {{ item.score[0] }}
636
+ </div>
637
+ <div :class="$style.div4">-</div>
638
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
639
+ <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
640
+ <template v-else>{{ item.score[4] }}</template>
641
+ </div>
642
+ </div>
643
+ <div :class="$style.manchesterUnited1">
644
+ <template v-if="item.home_team_abbreviation == teamSelect">
645
+ <template v-if="item.home_match_result == 1">Ganado</template>
646
+ <template v-if="item.home_match_result == 2">Perdido</template>
647
+ <template v-if="item.home_match_result == 3">Empatado</template>
648
+ </template>
649
+ <template v-if="item.away_team_abbreviation == teamSelect">
650
+ <template v-if="item.visiting_match_result == 1">Ganado</template>
651
+ <template v-if="item.visiting_match_result == 2">Perdido</template>
652
+ <template v-if="item.visiting_match_result == 3">Empatado</template>
653
+ </template>
654
+ </div>
655
+ </div>
656
+ <div :class="$style.homeTeam">
657
+ <div :class="$style.teamContainer2">
658
+ <img
659
+ :class="$style.imgHomeTeamIcon"
660
+ alt=""
661
+ :src="
662
+ 'https://golstatsimages.blob.core.windows.net/teams-80/' +
663
+ item.away_team +
664
+ '.png'
665
+ "
666
+ />
667
+ <div :class="$style.manchesterUnited">
668
+ {{ item.away_team_abbreviation }}
669
+ </div>
670
+ </div>
671
+ </div>
672
+ </div>
673
+ </template>
674
+ </GSCCarousel>
675
+ <div v-else>
676
+ <div :class="$style.containernofoundsearchrecientes">
677
+ <div :class="$style.leyenddeleteshow">
678
+ No hay resultados con los criterios<br />de búsqueda aplicados.
679
+ </div>
680
+ <div :class="$style.btndeletefilters" @click="deleteFilters">
681
+ Eliminar filtros aplicados
682
+ </div>
683
+ </div>
684
+ </div>
685
+ <GSCMatchDetails
686
+ style="margin-top: 30px"
687
+ v-if="showDetails"
688
+ :localDetails="localDetails"
689
+ :foreignDetails="foreignDetails"
690
+ />
691
+ </div>
692
+ </div>
693
+ </div>
694
+ </div>
695
+ </div>
696
+ </div>
697
+ </template>
698
+
699
+ <script>
700
+ import { GSCDropdown } from '@golstats/gsc-dropdown'
701
+ import '@@/@golstats/gsc-dropdown/dist/style.css'
702
+ import '@@/@golstats/gsc-carousel/dist/style.css'
703
+ import { GSCCarousel } from '@golstats/gsc-carousel'
704
+ import { GscSwitchComponent } from '@golstats/gsc-switch-component'
705
+ import '@@/@golstats/gsc-switch-component/dist/style.css'
706
+ import GSCFilter from './gsc-filter.vue'
707
+ import GSCMatchDetails from './Lineup2D/MatchDetails.vue'
708
+ import { GSCSwitchRadio } from '@golstats/gsc-switch-radio'
709
+ import '@@/@golstats/gsc-switch-radio/dist/style.css'
710
+ export default {
711
+ components: {
712
+ GSCCarousel,
713
+ GscSwitchComponent,
714
+ GSCDropdown,
715
+ GSCFilter,
716
+ GSCSwitchRadio,
717
+ GSCMatchDetails,
718
+ },
719
+ props: {
720
+ widthSize: {
721
+ type: Number,
722
+ default: 0,
723
+ },
724
+ optionSelected: {
725
+ type: String,
726
+ default: 'Historicos',
727
+ },
728
+ selectedOption: {
729
+ type: String,
730
+ default: 'Historicos',
731
+ },
732
+ gameInfo: {
733
+ type: Object,
734
+ default: () => {},
735
+ },
736
+ gameRecientes: {
737
+ type: Array,
738
+ default: () => [],
739
+ },
740
+ matchdaysDefault: {
741
+ type: Array,
742
+ default: () => [],
743
+ },
744
+ },
745
+ watch: {
746
+ optionSelected: {
747
+ immediate: true,
748
+ handler: async function (newValue) {
749
+ if (newValue == 'Recientes') {
750
+ this.auxISsection = 1
751
+ }
752
+ },
753
+ },
754
+ gameInfo: {
755
+ immediate: true,
756
+ handler: async function (newValue) {
757
+ try {
758
+ this.teamSelect = newValue.home_team_abbreviation
759
+ this.matchFilter()
760
+ } catch (e) {
761
+ throw new Error(e)
762
+ }
763
+ },
764
+ },
765
+ gameRecientes: {
766
+ immediate: true,
767
+ handler: async function (newValue) {
768
+ this.matchFilter()
769
+ },
770
+ },
771
+ },
772
+ data() {
773
+ return {
774
+ playminutes: [],
775
+ showDetails: false,
776
+ teamSelect: '',
777
+ defaultDropItem: {},
778
+ updateCarouselGames: 0,
779
+ valLast: {},
780
+ selectedIndexOption: 0,
781
+ openfiltervalue: false,
782
+ vDeleteFilter: false,
783
+ filterObject: {},
784
+ coutChange: 0,
785
+ auxISsection: 0,
786
+ matchdaysFiltersUpdate: [],
787
+ gamesFiltersUpdate: [],
788
+ localDetails: [],
789
+ keyUpdate: 0,
790
+ foreignDetails: [],
791
+ }
792
+ },
793
+ computed: {
794
+ matchdaysFinal() {
795
+ var matchdaysFinal = []
796
+ if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
797
+ if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
798
+ if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
799
+ if (
800
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
801
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
802
+ ) {
803
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
804
+ if (this.matchdaysFiltersUpdate[index].match_result == 1) {
805
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
806
+ }
807
+ }
808
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
809
+ if (this.matchdaysFiltersUpdate[index].match_result == 3) {
810
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
811
+ }
812
+ }
813
+ }
814
+ if (
815
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
816
+ Object.values(this.filterObject.selectedFilterResults).includes('lose')
817
+ ) {
818
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
819
+ if (this.matchdaysFiltersUpdate[index].match_result == 1) {
820
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
821
+ }
822
+ }
823
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
824
+ if (this.matchdaysFiltersUpdate[index].match_result == 2) {
825
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
826
+ }
827
+ }
828
+ }
829
+ if (
830
+ Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
831
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
832
+ ) {
833
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
834
+ if (this.matchdaysFiltersUpdate[index].match_result == 3) {
835
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
836
+ }
837
+ }
838
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
839
+ if (this.matchdaysFiltersUpdate[index].match_result == 2) {
840
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
841
+ }
842
+ }
843
+ }
844
+ } else {
845
+ if (this.filterObject.selectedFilterResults[0] == 'win') {
846
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
847
+ if (this.matchdaysFiltersUpdate[index].match_result == 1) {
848
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
849
+ }
850
+ }
851
+ }
852
+ if (this.filterObject.selectedFilterResults[0] == 'lose') {
853
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
854
+ if (this.matchdaysFiltersUpdate[index].match_result == 2) {
855
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
856
+ }
857
+ }
858
+ }
859
+ if (this.filterObject.selectedFilterResults[0] == 'draw') {
860
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
861
+ if (this.matchdaysFiltersUpdate[index].match_result == 3) {
862
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
863
+ }
864
+ }
865
+ }
866
+ }
867
+ } else {
868
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
869
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
870
+ }
871
+ }
872
+ } else {
873
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
874
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
875
+ }
876
+ }
877
+ matchdaysFinal.sort((a, b) => b.id - a.id)
878
+ return matchdaysFinal
879
+ },
880
+ gameRecientesFilter() {
881
+ var gameFilterFinal = []
882
+ if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
883
+ if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
884
+ if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
885
+ if (
886
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
887
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
888
+ ) {
889
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
890
+ if (
891
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
892
+ this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
893
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
894
+ this.gamesFiltersUpdate[index].home_match_result == 1)
895
+ ) {
896
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
897
+ }
898
+ }
899
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
900
+ if (
901
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
902
+ this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
903
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
904
+ this.gamesFiltersUpdate[index].home_match_result == 3)
905
+ ) {
906
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
907
+ }
908
+ }
909
+ }
910
+ if (
911
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
912
+ Object.values(this.filterObject.selectedFilterResults).includes('lose')
913
+ ) {
914
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
915
+ if (
916
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
917
+ this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
918
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
919
+ this.gamesFiltersUpdate[index].home_match_result == 1)
920
+ ) {
921
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
922
+ }
923
+ }
924
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
925
+ if (
926
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
927
+ this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
928
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
929
+ this.gamesFiltersUpdate[index].home_match_result == 2)
930
+ ) {
931
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
932
+ }
933
+ }
934
+ }
935
+ if (
936
+ Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
937
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
938
+ ) {
939
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
940
+ if (
941
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
942
+ this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
943
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
944
+ this.gamesFiltersUpdate[index].home_match_result == 3)
945
+ ) {
946
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
947
+ }
948
+ }
949
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
950
+ if (
951
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
952
+ this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
953
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
954
+ this.gamesFiltersUpdate[index].home_match_result == 2)
955
+ ) {
956
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
957
+ }
958
+ }
959
+ }
960
+ } else {
961
+ if (this.filterObject.selectedFilterResults[0] == 'win') {
962
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
963
+ if (
964
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
965
+ this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
966
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
967
+ this.gamesFiltersUpdate[index].home_match_result == 1)
968
+ ) {
969
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
970
+ }
971
+ }
972
+ }
973
+ if (this.filterObject.selectedFilterResults[0] == 'lose') {
974
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
975
+ if (
976
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
977
+ this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
978
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
979
+ this.gamesFiltersUpdate[index].home_match_result == 2)
980
+ ) {
981
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
982
+ }
983
+ }
984
+ }
985
+ if (this.filterObject.selectedFilterResults[0] == 'draw') {
986
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
987
+ if (
988
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
989
+ this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
990
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
991
+ this.gamesFiltersUpdate[index].home_match_result == 3)
992
+ ) {
993
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
994
+ }
995
+ }
996
+ }
997
+ }
998
+ } else {
999
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1000
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
1001
+ }
1002
+ }
1003
+ } else {
1004
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1005
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
1006
+ }
1007
+ }
1008
+ gameFilterFinal.sort((a, b) => a.matchday_id - b.matchday_id)
1009
+ return gameFilterFinal
1010
+ },
1011
+ headerSeccionAlineaciones1Class() {
1012
+ const width = this.widthSize
1013
+ if (width <= 420) {
1014
+ return this.$style.headerSeccionAlineaciones1420
1015
+ } else if (width <= 880) {
1016
+ return this.$style.headerSeccionAlineaciones1880
1017
+ } else if (width <= 1200) {
1018
+ return this.$style.headerSeccionAlineaciones11200
1019
+ } else {
1020
+ return this.$style.headerSeccionAlineaciones1
1021
+ }
1022
+ },
1023
+ headerSeccionAlineaciones2Class() {
1024
+ const width = this.widthSize
1025
+ if (width <= 420) {
1026
+ return this.$style.headerSeccionAlineaciones2420
1027
+ } else if (width <= 540) {
1028
+ return this.$style.headerSeccionAlineaciones2540
1029
+ } else if (width <= 880) {
1030
+ return this.$style.headerSeccionAlineaciones2880
1031
+ } else if (width <= 1200) {
1032
+ return this.$style.headerSeccionAlineaciones21200
1033
+ } else {
1034
+ return this.$style.headerSeccionAlineaciones2
1035
+ }
1036
+ },
1037
+ headerSeccionAlineaciones3Class() {
1038
+ const width = this.widthSize
1039
+ if (width <= 420) {
1040
+ return this.$style.headerSeccionAlineaciones3420
1041
+ } else if (width <= 540) {
1042
+ return this.$style.headerSeccionAlineaciones3540
1043
+ } else if (width <= 880) {
1044
+ return this.$style.headerSeccionAlineaciones3880
1045
+ } else if (width <= 1200) {
1046
+ return this.$style.headerSeccionAlineaciones31200
1047
+ } else {
1048
+ return this.$style.headerSeccionAlineaciones3
1049
+ }
1050
+ },
1051
+ },
1052
+ methods: {
1053
+ clickOnValueFilter() {
1054
+ this.auxISsection = 0
1055
+ },
1056
+ clickOnValueCarrousel() {
1057
+ this.auxISsection = 0
1058
+ },
1059
+ deleteFilters() {
1060
+ this.vDeleteFilter = true
1061
+
1062
+ setTimeout(() => {
1063
+ this.vDeleteFilter = false
1064
+ }, 200)
1065
+ },
1066
+ clickShowDetails() {
1067
+ this.showDetails = !this.showDetails
1068
+ },
1069
+ matchFilter() {
1070
+ var matchdayFilter = []
1071
+ var gameFilter = []
1072
+ if (Object.keys(this.filterObject).length > 0) {
1073
+ if (Object.keys(this.filterObject.selectedFilterTeam).length != 2) {
1074
+ for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1075
+ if (this.filterObject.selectedFilterTeam[0] == 'local') {
1076
+ if (
1077
+ this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1078
+ ) {
1079
+ matchdayFilter.push({
1080
+ name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1081
+ 'M',
1082
+ 'Jornada ',
1083
+ ),
1084
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1085
+ match_result: this.gameRecientes[this.teamSelect][index].home_match_result,
1086
+ })
1087
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1088
+ }
1089
+ } else {
1090
+ if (
1091
+ this.gameRecientes[this.teamSelect][index].away_team_abbreviation == this.teamSelect
1092
+ ) {
1093
+ matchdayFilter.push({
1094
+ name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1095
+ 'M',
1096
+ 'Jornada ',
1097
+ ),
1098
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1099
+ match_result: this.gameRecientes[this.teamSelect][index].visiting_match_result,
1100
+ })
1101
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1102
+ }
1103
+ }
1104
+ }
1105
+ } else {
1106
+ if (this.gameRecientes[this.teamSelect]) {
1107
+ for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1108
+ matchdayFilter.push({
1109
+ name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1110
+ 'M',
1111
+ 'Jornada ',
1112
+ ),
1113
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1114
+ match_result:
1115
+ this.gameRecientes[this.teamSelect][index].home_team_abbreviation ==
1116
+ this.teamSelect
1117
+ ? this.gameRecientes[this.teamSelect][index].home_match_result
1118
+ : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1119
+ })
1120
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1121
+ }
1122
+ }
1123
+ }
1124
+ } else {
1125
+ if (this.gameRecientes[this.teamSelect]) {
1126
+ for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1127
+ matchdayFilter.push({
1128
+ name: this.getRound(this.gameRecientes[this.teamSelect][index].matchday_abbreviation),
1129
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1130
+ match_result:
1131
+ this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1132
+ ? this.gameRecientes[this.teamSelect][index].home_match_result
1133
+ : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1134
+ })
1135
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1136
+ }
1137
+ }
1138
+ }
1139
+ this.gamesFiltersUpdate = gameFilter
1140
+ this.matchdaysFiltersUpdate = matchdayFilter
1141
+ },
1142
+ getRound(abrev) {
1143
+ let abrevFormatted = abrev.replace('M', 'Jornada ')
1144
+ abrevFormatted = abrevFormatted.replace('PO1', 'CFI')
1145
+ abrevFormatted = abrevFormatted.replace('PO2', 'CFV')
1146
+ abrevFormatted = abrevFormatted.replace('PO3', 'SFI')
1147
+ abrevFormatted = abrevFormatted.replace('PO4', 'SFV')
1148
+ abrevFormatted = abrevFormatted.replace('PO5', 'FI')
1149
+ abrevFormatted = abrevFormatted.replace('PO6', 'FV')
1150
+ return abrevFormatted
1151
+ },
1152
+ changeFiltersModal(filters) {
1153
+ this.auxISsection = 1
1154
+ this.filterObject = filters
1155
+ this.openfiltervalue = false
1156
+ this.matchFilter()
1157
+ setTimeout(() => {
1158
+ this.keyUpdate += 1
1159
+ this.updateCarouselGames += 1
1160
+ }, 600)
1161
+ },
1162
+ openFilter() {
1163
+ this.openfiltervalue = true
1164
+ },
1165
+ getMinutesData(plays) {
1166
+ this.localDetails = []
1167
+ this.foreignDetails = []
1168
+ for (let index = 0; index < plays.home_goals_minutes.length; index++) {
1169
+ this.localDetails.push({ description: plays.home_goals_minutes[index], icon: 'goal' })
1170
+ }
1171
+ for (let index = 0; index < plays.visiting_goals_minutes.length; index++) {
1172
+ this.foreignDetails.push({ description: plays.visiting_goals_minutes[index], icon: 'goal' })
1173
+ }
1174
+ for (let index = 0; index < plays.home_yellow_cards_minutes.length; index++) {
1175
+ this.localDetails.push({
1176
+ description: plays.home_yellow_cards_minutes[index],
1177
+ icon: 'yellow-card',
1178
+ })
1179
+ }
1180
+ for (let index = 0; index < plays.away_yellow_cards_minutes.length; index++) {
1181
+ this.foreignDetails.push({
1182
+ description: plays.away_yellow_cards_minutes[index],
1183
+ icon: 'yellow-card',
1184
+ })
1185
+ }
1186
+ for (let index = 0; index < plays.home_red_cards_minutes.length; index++) {
1187
+ this.localDetails.push({
1188
+ description: plays.home_red_cards_minutes[index],
1189
+ icon: 'red-card',
1190
+ })
1191
+ }
1192
+ for (let index = 0; index < plays.away_red_cards_minutes.length; index++) {
1193
+ this.foreignDetails.push({
1194
+ description: plays.away_red_cards_minutes[index],
1195
+ icon: 'red-card',
1196
+ })
1197
+ }
1198
+ },
1199
+ changeCarouselItem(val) {
1200
+ setTimeout(() => {
1201
+ if (JSON.stringify(val) !== JSON.stringify(this.valLast)) {
1202
+ if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1203
+ if (val) {
1204
+ if (val.selectedItem === undefined) {
1205
+ val.selectedItem = this.gameRecientesFilter[this.gameRecientesFilter.length - 1]
1206
+ val.selectedItemIndex = this.gameRecientesFilter.length - 1
1207
+ }
1208
+
1209
+ this.valLast = val
1210
+ if (this.auxISsection == 1) {
1211
+ this.$emit('input', {
1212
+ selectedItem: this.gameRecientesFilter[this.gameRecientesFilter.length - 1],
1213
+ selectedItemIndex: this.gameRecientesFilter.length - 1,
1214
+ })
1215
+ this.getMinutesData(
1216
+ this.gameRecientesFilter[this.gameRecientesFilter.length - 1].minutes,
1217
+ )
1218
+ this.selectedIndexOption = this.gameRecientesFilter.length - 1
1219
+ this.defaultDropItem = {
1220
+ propName: 'id',
1221
+ value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1222
+ }
1223
+ } else {
1224
+ this.$emit('input', val)
1225
+ this.getMinutesData(val.selectedItem.minutes)
1226
+ this.selectedIndexOption = val.selectedItemIndex
1227
+ this.defaultDropItem = { propName: 'id', value: val.selectedItem.matchday_id }
1228
+ }
1229
+ this.keyUpdate += 1
1230
+ }
1231
+ }
1232
+ }
1233
+ }, 200)
1234
+ },
1235
+ changeDropdown(value) {
1236
+ if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1237
+ if (this.auxISsection == 1) {
1238
+ this.selectedIndexOption = this.gameRecientesFilter.length - 1
1239
+ this.defaultDropItem = {
1240
+ propName: 'id',
1241
+ value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1242
+ }
1243
+ } else {
1244
+ const index = this.gameRecientesFilter.findIndex((x) => x.matchday_id == value.id)
1245
+ if (index != -1) {
1246
+ this.selectedIndexOption = index
1247
+ this.defaultDropItem = {
1248
+ propName: 'id',
1249
+ value: this.gameRecientesFilter[index].matchday_id,
1250
+ }
1251
+ }
1252
+ }
1253
+ }
1254
+ },
1255
+
1256
+ changeSwitchRadio(val) {
1257
+ this.auxISsection = 1
1258
+ if (typeof val !== 'object') {
1259
+ this.teamSelect = val
1260
+ this.$emit('changeTeam', this.teamSelect)
1261
+ this.updateCarouselGames += 1
1262
+ this.matchFilter()
1263
+ }
1264
+ },
1265
+ clickOnSelectOption(val) {
1266
+ this.$emit('clickOnSelectOption', val)
1267
+ },
1268
+ },
1269
+ }
1270
+ </script>
1271
+
1272
+ <style module>
1273
+ @import '/css/fonts.css';
1274
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
1275
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
1276
+
1277
+ body {
1278
+ margin: 0;
1279
+ line-height: normal;
1280
+ }
1281
+
1282
+ :root {
1283
+ /* fonts */
1284
+ --font-poppinsre: Poppins;
1285
+ --font-interre: Inter;
1286
+
1287
+ /* font sizes */
1288
+ --font-size-4xsre: 9px;
1289
+ --font-size-smre: 14px;
1290
+ --font-size-xsre: 12px;
1291
+ --font-size-base-2re: 15.2px;
1292
+ --font-size-3xsre: 10px;
1293
+ --font-size-2xsre: 11px;
1294
+
1295
+ /* Colors */
1296
+ --color-gray-100re: #172632;
1297
+ --color-gray-200re: #172531;
1298
+ --color-gray-300re: rgba(255, 255, 255, 0.05);
1299
+ --color-gray-400re: rgba(255, 255, 255, 0.2);
1300
+ --color-gray-500re: rgba(255, 255, 255, 0.3);
1301
+ --color-gray-600re: rgba(255, 255, 255, 0.1);
1302
+ --color-gray-700re: rgba(255, 255, 255, 0.7);
1303
+ --color-goldenrodre: #f7c330;
1304
+ --color-redre: #ff0000;
1305
+ --color-yellowgreen-100re: #cbed6e;
1306
+ --color-yellowgreen-200re: #cbee6b;
1307
+ --color-white: #fff;
1308
+ --color-whitesmokere: #f4f4f4;
1309
+ --color-darkbluere: #0234c5;
1310
+ --color-darkslategrayre: #1e2b36;
1311
+ --color-slategrayre: #56637b;
1312
+
1313
+ /* Spacing */
1314
+ --sizes-round-corner-round-corner-32re: 32px;
1315
+ --sizes-spacing-space-24re: 24px;
1316
+
1317
+ /* Gaps */
1318
+ --gap-basere: 16px;
1319
+ --gap-xsre: 12px;
1320
+ --gap-40xlre: 59px;
1321
+ --gap-3xsre: 10px;
1322
+ --gap-4xsre: 9px;
1323
+ --gap-midre: 17px;
1324
+ --gap-minire: 15px;
1325
+ --gap-8xsre: 5px;
1326
+ --gap-4xs-7re: 8.7px;
1327
+ --gap-11xlre: 30px;
1328
+
1329
+ /* Paddings */
1330
+ --padding-basere: 16px;
1331
+ --padding-5xlre: 24px;
1332
+ --padding-9xsre: 4px;
1333
+ --padding-6xs-5re: 6.5px;
1334
+ --padding-mid-4re: 17.4px;
1335
+ --padding-11xsre: 2px;
1336
+ --padding-3xsre: 10px;
1337
+ --padding-5xsre: 8px;
1338
+ --padding-xsre: 12px;
1339
+ --padding-xlre: 20px;
1340
+
1341
+ /* Border radiuses */
1342
+ --br-12xsre: 1px;
1343
+ --br-2xs-2re: 10.2px;
1344
+ --br-mid-4re: 17.4px;
1345
+ --br-5xsre: 8px;
1346
+ --br-31xlre: 50px;
1347
+ --br-13xlre: 32px;
1348
+ --br-3xs-6re: 9.6px;
1349
+ }
1350
+
1351
+ .containernofoundsearchrecientes {
1352
+ width: 100%;
1353
+ height: 38px;
1354
+ display: inline-block;
1355
+ margin: 0 auto;
1356
+ }
1357
+ .text-containernofoundsearchrecientes {
1358
+ font-size: 13px;
1359
+ text-align: center;
1360
+ color: rgb(176, 176, 176);
1361
+ line-height: 16px;
1362
+ }
1363
+ .btn-delete-filters {
1364
+ width: 70%;
1365
+ height: 26px;
1366
+ border-radius: 16px;
1367
+ font-size: 14px;
1368
+ text-align: center;
1369
+ background: rgba(255, 255, 255, 0.2);
1370
+ color: white;
1371
+ margin: 0 auto;
1372
+ line-height: 26px;
1373
+ margin-top: 5px;
1374
+ }
1375
+ .btn-delete-filters:hover {
1376
+ cursor: pointer;
1377
+ background: rgba(255, 255, 255, 0.5);
1378
+ }
1379
+ .btndeletefilters {
1380
+ width: 70%;
1381
+ height: 26px;
1382
+ border-radius: 16px;
1383
+ font-size: 14px;
1384
+ text-align: center;
1385
+ background: rgba(255, 255, 255, 0.2);
1386
+ color: white;
1387
+ margin: 0 auto;
1388
+ line-height: 26px;
1389
+ margin-top: 5px;
1390
+ }
1391
+ .btndeletefilters:hover {
1392
+ cursor: pointer;
1393
+ background: rgba(255, 255, 255, 0.5);
1394
+ }
1395
+ .leyenddeleteshow {
1396
+ font-size: 13px;
1397
+ text-align: center;
1398
+ color: rgb(176, 176, 176);
1399
+ line-height: 16px;
1400
+ }
1401
+
1402
+ .selectoritem {
1403
+ width: 270px;
1404
+ display: flex;
1405
+ flex-direction: row;
1406
+ align-items: flex-start;
1407
+ justify-content: center;
1408
+ gap: var(--gap-midre);
1409
+ }
1410
+
1411
+ .anNoEstn {
1412
+ font-weight: 500;
1413
+ }
1414
+
1415
+ .groupsLeague {
1416
+ position: relative;
1417
+ line-height: 20px;
1418
+ }
1419
+
1420
+ .historicas {
1421
+ position: relative;
1422
+ line-height: 20px;
1423
+ opacity: 0.6;
1424
+ }
1425
+
1426
+ .switchOption {
1427
+ border-radius: var(--br-13xlre);
1428
+ width: 109px;
1429
+ display: flex;
1430
+ flex-direction: row;
1431
+ align-items: center;
1432
+ justify-content: center;
1433
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1434
+ box-sizing: border-box;
1435
+ }
1436
+
1437
+ .recientes {
1438
+ position: relative;
1439
+ line-height: 20px;
1440
+ font-weight: 600;
1441
+ }
1442
+
1443
+ .switchOption1 {
1444
+ border-radius: var(--br-13xlre);
1445
+ background-color: var(--color-darkslategrayre);
1446
+ border: 0.8px solid var(--color-yellowgreen-200re);
1447
+ box-sizing: border-box;
1448
+ width: 107.8px;
1449
+ display: flex;
1450
+ flex-direction: row;
1451
+ align-items: center;
1452
+ justify-content: center;
1453
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1454
+ }
1455
+
1456
+ .switchOption2 {
1457
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1458
+ display: flex;
1459
+ flex-direction: row;
1460
+ align-items: center;
1461
+ justify-content: center;
1462
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1463
+ }
1464
+
1465
+ .switchStatesBig {
1466
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1467
+ background-color: var(--color-gray-100re);
1468
+ border: 1px solid var(--color-gray-500re);
1469
+ display: inline-block;
1470
+ width: 320px;
1471
+ font-size: var(--font-size-xsre);
1472
+ color: var(--color-white);
1473
+ }
1474
+
1475
+ .groupsLeagueParent {
1476
+ align-self: stretch;
1477
+ display: flex;
1478
+ flex-direction: column;
1479
+ align-items: center;
1480
+ justify-content: flex-start;
1481
+ gap: var(--gap-11xlre);
1482
+ text-align: center;
1483
+ }
1484
+
1485
+ .imgHomeTeamIcon {
1486
+ position: relative;
1487
+ width: 28px;
1488
+ height: 28px;
1489
+ object-fit: cover;
1490
+ }
1491
+
1492
+ .imgHomeTeamWrapper {
1493
+ border-radius: var(--br-31xlre);
1494
+ background-color: var(--color-gray-200re);
1495
+ width: 40px;
1496
+ height: 40px;
1497
+ display: flex;
1498
+ flex-direction: column;
1499
+ align-items: center;
1500
+ justify-content: center;
1501
+ padding: var(--padding-3xsre);
1502
+ box-sizing: border-box;
1503
+ }
1504
+
1505
+ .teamContainer {
1506
+ border-radius: var(--br-31xlre);
1507
+ border: 1px solid var(--color-darkbluere);
1508
+ box-sizing: border-box;
1509
+ width: 48px;
1510
+ height: 48px;
1511
+ display: flex;
1512
+ flex-direction: row;
1513
+ align-items: center;
1514
+ justify-content: center;
1515
+ padding: var(--padding-3xsre);
1516
+ }
1517
+
1518
+ .name {
1519
+ position: relative;
1520
+ letter-spacing: 0.31px;
1521
+ line-height: 30.87px;
1522
+ font-weight: 500;
1523
+ }
1524
+
1525
+ .homeTeamContainer {
1526
+ flex: 1;
1527
+ border-bottom: 1px solid var(--color-slategrayre);
1528
+ display: flex;
1529
+ flex-direction: row;
1530
+ align-items: center;
1531
+ justify-content: flex-start;
1532
+ padding: 0px 0px var(--padding-xlre);
1533
+ gap: var(--gap-3xsre);
1534
+ }
1535
+
1536
+ .div {
1537
+ position: relative;
1538
+ font-weight: 600;
1539
+ }
1540
+
1541
+ .scoreContainer {
1542
+ border-radius: var(--br-mid-4re);
1543
+ background-color: var(--color-gray-600re);
1544
+ display: flex;
1545
+ flex-direction: row;
1546
+ align-items: center;
1547
+ justify-content: center;
1548
+ padding: 6.524074554443359px 17.397533416748047px;
1549
+ gap: var(--gap-4xs-7rere);
1550
+ }
1551
+
1552
+ .scoreContainerWrapper {
1553
+ align-self: stretch;
1554
+ width: 323px;
1555
+ display: flex;
1556
+ flex-direction: column;
1557
+ align-items: center;
1558
+ justify-content: space-between;
1559
+ text-align: center;
1560
+ font-size: 15.22px;
1561
+ color: var(--color-white);
1562
+ font-family: var(--font-interre);
1563
+ }
1564
+
1565
+ .teamContainer1 {
1566
+ border-radius: var(--br-31xlre);
1567
+ border: 1px solid var(--color-yellowgreen-100re);
1568
+ box-sizing: border-box;
1569
+ width: 48px;
1570
+ height: 48px;
1571
+ display: flex;
1572
+ flex-direction: row;
1573
+ align-items: center;
1574
+ justify-content: center;
1575
+ padding: var(--padding-3xsre);
1576
+ }
1577
+
1578
+ .awayTeamContainer {
1579
+ flex: 1;
1580
+ border-bottom: 1px solid var(--color-slategrayre);
1581
+ display: flex;
1582
+ flex-direction: row;
1583
+ align-items: center;
1584
+ justify-content: flex-end;
1585
+ padding: 0px 0px var(--padding-xlre);
1586
+ gap: var(--gap-3xsre);
1587
+ }
1588
+
1589
+ .matchContainer {
1590
+ align-self: stretch;
1591
+ display: flex;
1592
+ flex-direction: row;
1593
+ align-items: center;
1594
+ justify-content: space-between;
1595
+ padding: 0px 0px var(--padding-xsre);
1596
+ color: var(--color-whitesmokere);
1597
+ }
1598
+
1599
+ .sliderMatchesChild {
1600
+ position: relative;
1601
+ border-radius: 9.55px;
1602
+ width: 7.02px;
1603
+ height: 14.23px;
1604
+ }
1605
+
1606
+ .manchesterUnited {
1607
+ position: relative;
1608
+ letter-spacing: -0.01em;
1609
+ line-height: 20.07px;
1610
+ font-weight: 500;
1611
+ }
1612
+
1613
+ .sliderMatchesItem {
1614
+ position: relative;
1615
+ border-radius: 9.55px;
1616
+ width: 7.02px;
1617
+ height: 14.24px;
1618
+ }
1619
+
1620
+ .sliderMatches {
1621
+ align-self: stretch;
1622
+ display: flex;
1623
+ flex-direction: row;
1624
+ align-items: center;
1625
+ justify-content: center;
1626
+ padding: var(--padding-11xsre) var(--padding-basere);
1627
+ gap: var(--gap-3xsre);
1628
+ text-align: center;
1629
+ }
1630
+
1631
+ .sortIcon {
1632
+ position: relative;
1633
+ width: 18px;
1634
+ height: 18px;
1635
+ overflow: hidden;
1636
+ flex-shrink: 0;
1637
+ }
1638
+
1639
+ .filtros {
1640
+ position: relative;
1641
+ font-size: var(--font-size-smre);
1642
+ line-height: 24px;
1643
+ font-family: var(--font-poppinsre);
1644
+ color: var(--color-white);
1645
+ text-align: left;
1646
+ }
1647
+
1648
+ .sortParent {
1649
+ display: flex;
1650
+ flex-direction: row;
1651
+ align-items: center;
1652
+ justify-content: center;
1653
+ gap: var(--gap-8xsre);
1654
+ }
1655
+
1656
+ .shapeIcon {
1657
+ position: relative;
1658
+ width: 8px;
1659
+ height: 4px;
1660
+ }
1661
+
1662
+ .btnFilter {
1663
+ cursor: pointer;
1664
+ border: 1px solid var(--color-gray-400re);
1665
+ padding: var(--padding-5xsre) var(--padding-3xsre);
1666
+ background-color: var(--color-gray-300re);
1667
+ border-radius: var(--br-5xsre);
1668
+ box-sizing: border-box;
1669
+ width: 102px;
1670
+ height: 32px;
1671
+ position: relative;
1672
+ display: flex;
1673
+ flex-direction: row;
1674
+ align-items: center;
1675
+ justify-content: space-between;
1676
+ }
1677
+
1678
+ .btnFilter1 {
1679
+ cursor: pointer;
1680
+ border: 1px solid var(--color-gray-400re);
1681
+ background-color: var(--color-gray-300re);
1682
+ border-radius: var(--br-5xsre);
1683
+ box-sizing: border-box;
1684
+ height: 32px;
1685
+ display: flex;
1686
+ flex-direction: row;
1687
+ align-items: baseline;
1688
+ justify-content: flex-start;
1689
+ gap: var(--gap-3xsre);
1690
+ font-size: 10px;
1691
+ }
1692
+
1693
+ .btnFilterParent {
1694
+ width: 225px;
1695
+ display: flex;
1696
+ flex-direction: row;
1697
+ align-items: flex-start;
1698
+ justify-content: flex-start;
1699
+ gap: var(--gap-xsre);
1700
+ }
1701
+
1702
+ .backArrowIcon {
1703
+ position: relative;
1704
+ border-radius: 10.21px;
1705
+ width: 7.5px;
1706
+ height: 15.21px;
1707
+ }
1708
+
1709
+ .teamContainer2 {
1710
+ display: flex;
1711
+ flex-direction: row;
1712
+ align-items: center;
1713
+ justify-content: flex-start;
1714
+ gap: var(--gap-8xsre);
1715
+ }
1716
+
1717
+ .homeTeam {
1718
+ display: flex;
1719
+ flex-direction: row;
1720
+ align-items: center;
1721
+ justify-content: flex-start;
1722
+ gap: var(--gap-minire);
1723
+ }
1724
+
1725
+ .div4 {
1726
+ flex: 1;
1727
+ position: relative;
1728
+ font-weight: 600;
1729
+ }
1730
+
1731
+ .finalScore {
1732
+ border-radius: var(--br-mid-4re);
1733
+ background-color: var(--color-gray-600re);
1734
+ border: 0.5px solid var(--color-yellowgreen-200re);
1735
+ box-sizing: border-box;
1736
+ width: 70.73px;
1737
+ display: flex;
1738
+ flex-direction: row;
1739
+ align-items: center;
1740
+ justify-content: center;
1741
+ padding: 6.524074554443359px 17.397533416748047px;
1742
+ gap: var(--gap-4xs-7rere);
1743
+ }
1744
+
1745
+ .manchesterUnited1 {
1746
+ position: relative;
1747
+ font-size: var(--font-size-xsre);
1748
+ font-weight: 500;
1749
+ font-family: var(--font-poppinsre);
1750
+ color: var(--color-gray-700re);
1751
+ }
1752
+
1753
+ .scoreContainer1 {
1754
+ display: flex;
1755
+ flex-direction: column;
1756
+ align-items: center;
1757
+ justify-content: center;
1758
+ gap: var(--gap-4xsre);
1759
+ text-align: center;
1760
+ font-size: 15.22px;
1761
+ color: var(--color-white);
1762
+ font-family: var(--font-interre);
1763
+ }
1764
+
1765
+ .match {
1766
+ width: 325px;
1767
+ display: inline-block;
1768
+ }
1769
+
1770
+ .manchesterUnited2 {
1771
+ position: relative;
1772
+ text-decoration: underline;
1773
+ font-weight: 500;
1774
+ position: absolute;
1775
+ right: 0;
1776
+ cursor: pointer;
1777
+ }
1778
+
1779
+ .manchesterUnited2:hover {
1780
+ color: rgba(255, 255, 255, 1);
1781
+ }
1782
+
1783
+ .btnDetails {
1784
+ width: 225px;
1785
+ height: 28px;
1786
+ display: flex;
1787
+ flex-direction: row;
1788
+ align-items: center;
1789
+ justify-content: flex-end;
1790
+ text-align: right;
1791
+ font-size: var(--font-size-xsre);
1792
+ }
1793
+
1794
+ .matchContainer1 {
1795
+ align-self: stretch;
1796
+ display: flex;
1797
+ flex-direction: row;
1798
+ align-items: flex-start;
1799
+ justify-content: space-between;
1800
+ padding: var(--padding-9xsre) 0px 0px;
1801
+ }
1802
+
1803
+ .goalChild {
1804
+ position: relative;
1805
+ width: 8.03px;
1806
+ height: 8.03px;
1807
+ }
1808
+
1809
+ .goal {
1810
+ width: 9px;
1811
+ height: 9px;
1812
+ display: flex;
1813
+ flex-direction: row;
1814
+ align-items: center;
1815
+ justify-content: center;
1816
+ }
1817
+
1818
+ .manchesterUnited3 {
1819
+ position: relative;
1820
+ letter-spacing: -0.01em;
1821
+ line-height: 19.5px;
1822
+ text-transform: capitalize;
1823
+ font-weight: 500;
1824
+ }
1825
+
1826
+ .minuteEvent {
1827
+ display: flex;
1828
+ flex-direction: row;
1829
+ align-items: center;
1830
+ justify-content: flex-start;
1831
+ gap: var(--gap-4xsre);
1832
+ }
1833
+
1834
+ .yellowCard {
1835
+ position: relative;
1836
+ border-radius: var(--br-12xsre);
1837
+ background-color: var(--color-goldenrodre);
1838
+ width: 4px;
1839
+ height: 6px;
1840
+ }
1841
+
1842
+ .awayTeamEvents {
1843
+ display: flex;
1844
+ flex-direction: column;
1845
+ align-items: flex-start;
1846
+ justify-content: flex-start;
1847
+ gap: var(--gap-3xsre);
1848
+ }
1849
+
1850
+ .rectangle {
1851
+ position: relative;
1852
+ border-radius: var(--br-12xsre);
1853
+ background-color: var(--color-redre);
1854
+ width: 4px;
1855
+ height: 6px;
1856
+ }
1857
+
1858
+ .homeTeamEvents {
1859
+ display: flex;
1860
+ flex-direction: column;
1861
+ align-items: flex-end;
1862
+ justify-content: flex-start;
1863
+ gap: var(--gap-3xsre);
1864
+ text-align: right;
1865
+ }
1866
+
1867
+ .totalEvents {
1868
+ display: none;
1869
+ flex-direction: row;
1870
+ align-items: center;
1871
+ justify-content: flex-start;
1872
+ gap: var(--gap-40xlre);
1873
+ font-size: var(--font-size-4xsre);
1874
+ }
1875
+
1876
+ .headerSeccionAlineaciones1 {
1877
+ align-self: stretch;
1878
+ background-color: var(--color-gray-200re);
1879
+ display: flex;
1880
+ flex-direction: column;
1881
+ align-items: center;
1882
+ justify-content: flex-start;
1883
+ padding: 0px 48px;
1884
+ gap: var(--gap-basere);
1885
+ }
1886
+
1887
+ .sliderMatchesInner {
1888
+ position: relative;
1889
+ border-radius: 9.55px;
1890
+ width: 13.39px;
1891
+ height: 6px;
1892
+ }
1893
+
1894
+ .btnFilter2 {
1895
+ cursor: pointer;
1896
+ border: 1px solid var(--color-gray-400re);
1897
+ padding: var(--padding-5xsre) var(--padding-3xsre);
1898
+ background-color: var(--color-gray-300re);
1899
+ border-radius: var(--br-5xsre);
1900
+ box-sizing: border-box;
1901
+ width: 111px;
1902
+ position: relative;
1903
+ height: 32px;
1904
+ display: flex;
1905
+ flex-direction: row;
1906
+ align-items: center;
1907
+ justify-content: space-between;
1908
+ margin-right: 10px;
1909
+ }
1910
+
1911
+ .btnDetails1 {
1912
+ width: 111px;
1913
+ height: 28px;
1914
+ display: flex;
1915
+ flex-direction: row;
1916
+ align-items: center;
1917
+ justify-content: flex-end;
1918
+ }
1919
+
1920
+ .matchContainer3 {
1921
+ align-self: stretch;
1922
+ display: flex;
1923
+ flex-direction: row;
1924
+ align-items: flex-start;
1925
+ justify-content: start;
1926
+ padding: var(--padding-9xsre) 0px 0px;
1927
+ text-align: right;
1928
+ font-size: var(--font-size-xsre);
1929
+ }
1930
+
1931
+ .backArrowIcon1 {
1932
+ position: relative;
1933
+ border-radius: 10.21px;
1934
+ width: 14.31px;
1935
+ height: 6.41px;
1936
+ }
1937
+
1938
+ .match1 {
1939
+ width: 340px;
1940
+ display: inline-block;
1941
+ margin: 0 auto;
1942
+ }
1943
+
1944
+ .headerSeccionAlineaciones2 {
1945
+ align-self: stretch;
1946
+ background-color: var(--color-gray-200re);
1947
+ display: none;
1948
+ flex-direction: column;
1949
+ align-items: center;
1950
+ justify-content: flex-start;
1951
+ padding: 0px var(--padding-5xlre);
1952
+ gap: var(--gap-basere);
1953
+ }
1954
+
1955
+ .jugadores2 {
1956
+ position: relative;
1957
+ line-height: 20px;
1958
+ font-weight: 600;
1959
+ opacity: 0.6;
1960
+ }
1961
+
1962
+ .switchOption6 {
1963
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1964
+ width: 74px;
1965
+ display: flex;
1966
+ flex-direction: row;
1967
+ align-items: center;
1968
+ justify-content: center;
1969
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1970
+ box-sizing: border-box;
1971
+ }
1972
+
1973
+ .switchOption7 {
1974
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1975
+ background-color: var(--color-darkslategrayre);
1976
+ border: 0.8px solid var(--color-yellowgreen-200re);
1977
+ box-sizing: border-box;
1978
+ width: 74.8px;
1979
+ display: flex;
1980
+ flex-direction: row;
1981
+ align-items: center;
1982
+ justify-content: center;
1983
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1984
+ }
1985
+
1986
+ .switchStatesBig2 {
1987
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1988
+ background-color: var(--color-gray-100re);
1989
+ border: 1px solid var(--color-gray-500re);
1990
+ display: inline-block;
1991
+ width: 280px;
1992
+ }
1993
+
1994
+ .manchesterUnited26 {
1995
+ position: relative;
1996
+ font-size: var(--font-size-3xsre);
1997
+ font-weight: 500;
1998
+ }
1999
+
2000
+ .homeTeamContainer2 {
2001
+ display: flex;
2002
+ flex-direction: row;
2003
+ align-items: center;
2004
+ justify-content: flex-start;
2005
+ gap: var(--gap-3xsre);
2006
+ }
2007
+
2008
+ .vectorIcon {
2009
+ position: relative;
2010
+ width: 15px;
2011
+ height: 15px;
2012
+ }
2013
+
2014
+ .teamSwitch {
2015
+ border-radius: 25px;
2016
+ box-sizing: border-box;
2017
+ width: 98px;
2018
+ overflow: hidden;
2019
+ height: 21px;
2020
+ display: flex;
2021
+ flex-direction: row;
2022
+ align-items: center;
2023
+ justify-content: center;
2024
+ padding: 0px 3px;
2025
+ }
2026
+
2027
+ .matchContainer5 {
2028
+ align-self: stretch;
2029
+ display: flex;
2030
+ flex-direction: row;
2031
+ align-items: center;
2032
+ justify-content: space-between;
2033
+ padding: 0px 0px var(--padding-xsre);
2034
+ text-align: left;
2035
+ color: var(--color-whitesmokere);
2036
+ }
2037
+
2038
+ .manchesterUnited27 {
2039
+ position: relative;
2040
+ letter-spacing: -0.01em;
2041
+ line-height: 20.07px;
2042
+ font-weight: 500;
2043
+ z-index: 0;
2044
+ }
2045
+
2046
+ .sliderMatchesChild1 {
2047
+ position: absolute;
2048
+ margin: 0 !important;
2049
+ top: 14.31px;
2050
+ left: 261.07px;
2051
+ border-radius: 10.21px;
2052
+ width: 14.31px;
2053
+ height: 6.41px;
2054
+ z-index: 1;
2055
+ }
2056
+
2057
+ .sliderMatchesChild2 {
2058
+ position: absolute;
2059
+ margin: 0 !important;
2060
+ top: 0.31px;
2061
+ left: 6.41px;
2062
+ border-radius: 10.21px;
2063
+ width: 14.31px;
2064
+ height: 6.41px;
2065
+ z-index: 2;
2066
+ }
2067
+
2068
+ .sliderMatches2 {
2069
+ display: none;
2070
+ flex-direction: row;
2071
+ align-items: flex-start;
2072
+ justify-content: flex-start;
2073
+ padding: var(--padding-11xsre) var(--padding-basere);
2074
+ position: relative;
2075
+ gap: var(--gap-3xsre);
2076
+ }
2077
+
2078
+ .filtros2 {
2079
+ position: relative;
2080
+ font-size: var(--font-size-smre);
2081
+ line-height: 24px;
2082
+ font-family: var(--font-poppinsre);
2083
+ color: var(--color-white);
2084
+ text-align: left;
2085
+ display: none;
2086
+ }
2087
+
2088
+ .btnFilter4 {
2089
+ cursor: pointer;
2090
+ position: relative;
2091
+ border: 1px solid var(--color-gray-400re);
2092
+ padding: var(--padding-5xsre) var(--padding-3xsre);
2093
+ background-color: var(--color-gray-300re);
2094
+ border-radius: var(--br-5xsre);
2095
+ box-sizing: border-box;
2096
+ width: 60px;
2097
+ height: 32px;
2098
+ display: flex;
2099
+ flex-direction: row;
2100
+ align-items: center;
2101
+ justify-content: space-between;
2102
+ }
2103
+
2104
+ .jornada2 {
2105
+ position: relative;
2106
+ line-height: 9px;
2107
+ font-weight: 600;
2108
+ opacity: 0.6;
2109
+ }
2110
+
2111
+ .filterMatchday {
2112
+ border-radius: 4px;
2113
+ border: 1px solid var(--color-gray-500re);
2114
+ box-sizing: border-box;
2115
+ width: 102px;
2116
+ height: 25px;
2117
+ display: flex;
2118
+ flex-direction: row;
2119
+ justify-content: space-between;
2120
+ }
2121
+
2122
+ .btnDetails2 {
2123
+ width: 60px;
2124
+ height: 28px;
2125
+ display: flex;
2126
+ flex-direction: row;
2127
+ align-items: center;
2128
+ justify-content: center;
2129
+ text-align: right;
2130
+ color: var(--color-gray-700re);
2131
+ }
2132
+
2133
+ .filtersContainer {
2134
+ align-self: stretch;
2135
+ display: flex;
2136
+ flex-direction: row;
2137
+ align-items: center;
2138
+ justify-content: space-between;
2139
+ font-size: var(--font-size-3xsre);
2140
+ color: var(--color-white);
2141
+ }
2142
+
2143
+ .matchContainer6 {
2144
+ align-self: stretch;
2145
+ display: flex;
2146
+ flex-direction: row;
2147
+ align-items: flex-start;
2148
+ justify-content: center;
2149
+ padding: var(--padding-9xsre) 0px 0px;
2150
+ }
2151
+
2152
+ .matchDetailContainer {
2153
+ align-self: stretch;
2154
+ display: flex;
2155
+ flex-direction: column;
2156
+ align-items: center;
2157
+ justify-content: flex-start;
2158
+ gap: 14px;
2159
+ text-align: left;
2160
+ }
2161
+
2162
+ .containerData {
2163
+ align-self: stretch;
2164
+ border-radius: 9px;
2165
+ background-color: #192632;
2166
+ box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
2167
+ display: flex;
2168
+ flex-direction: column;
2169
+ align-items: center;
2170
+ justify-content: flex-start;
2171
+ padding: var(--padding-basere) var(--padding-5xlre) 32px;
2172
+ gap: var(--gap-xsre);
2173
+ font-size: var(--font-size-smre);
2174
+ color: var(--color-gray-700re);
2175
+ }
2176
+
2177
+ .headerSeccionAlineaciones3 {
2178
+ align-self: stretch;
2179
+ display: none;
2180
+ flex-direction: column;
2181
+ align-items: center;
2182
+ justify-content: flex-start;
2183
+ gap: var(--gap-basere);
2184
+ text-align: center;
2185
+ font-size: var(--font-size-2xsre);
2186
+ color: var(--color-white);
2187
+ }
2188
+
2189
+ .headerSeccionAlineaciones {
2190
+ position: relative;
2191
+ width: 100%;
2192
+ display: flex;
2193
+ flex-direction: column;
2194
+ align-items: flex-start;
2195
+ justify-content: flex-start;
2196
+ gap: 132px;
2197
+ text-align: left;
2198
+ font-size: var(--font-size-smre);
2199
+ color: var(--color-gray-700re);
2200
+ font-family: var(--font-poppinsre);
2201
+ }
2202
+
2203
+ .headerSeccionAlineaciones31200 {
2204
+ max-width: 540px;
2205
+ align-self: stretch;
2206
+ display: none;
2207
+ flex-direction: column;
2208
+ align-items: center;
2209
+ justify-content: flex-start;
2210
+ gap: var(--gap-basere);
2211
+ text-align: center;
2212
+ font-size: var(--font-size-2xsre);
2213
+ color: var(--color-white);
2214
+ }
2215
+
2216
+ .headerSeccionAlineaciones3420 {
2217
+ display: flex;
2218
+ max-width: 540px;
2219
+ align-self: stretch;
2220
+ flex-direction: column;
2221
+ align-items: center;
2222
+ justify-content: flex-start;
2223
+ gap: var(--gap-basere);
2224
+ text-align: center;
2225
+ font-size: var(--font-size-2xsre);
2226
+ color: var(--color-white);
2227
+ }
2228
+
2229
+ .headerSeccionAlineaciones3880 {
2230
+ display: none;
2231
+ align-self: stretch;
2232
+ flex-direction: column;
2233
+ align-items: center;
2234
+ justify-content: flex-start;
2235
+ gap: var(--gap-basere);
2236
+ text-align: center;
2237
+ font-size: var(--font-size-2xsre);
2238
+ color: var(--color-white);
2239
+ }
2240
+
2241
+ .headerSeccionAlineaciones3540 {
2242
+ display: flex;
2243
+ min-width: 300px;
2244
+ align-self: stretch;
2245
+ flex-direction: column;
2246
+ align-items: center;
2247
+ justify-content: flex-start;
2248
+ gap: var(--gap-basere);
2249
+ text-align: center;
2250
+ font-size: var(--font-size-2xsre);
2251
+ color: var(--color-white);
2252
+ }
2253
+
2254
+ .headerSeccionAlineaciones11200 {
2255
+ align-self: stretch;
2256
+ width: auto;
2257
+ max-width: 1089px;
2258
+ align-self: stretch;
2259
+ background-color: var(--color-gray-200re);
2260
+ display: flex;
2261
+ flex-direction: column;
2262
+ align-items: center;
2263
+ justify-content: flex-start;
2264
+ padding: 0px 48px;
2265
+ gap: var(--gap-basere);
2266
+ }
2267
+
2268
+ .headerSeccionAlineaciones1420 {
2269
+ display: none;
2270
+ align-self: stretch;
2271
+ background-color: var(--color-gray-200re);
2272
+ flex-direction: column;
2273
+ align-items: center;
2274
+ justify-content: flex-start;
2275
+ padding: 0px 48px;
2276
+ gap: var(--gap-basere);
2277
+ }
2278
+
2279
+ .headerSeccionAlineaciones1880 {
2280
+ display: none;
2281
+ align-self: stretch;
2282
+ background-color: var(--color-gray-200re);
2283
+ flex-direction: column;
2284
+ align-items: center;
2285
+ justify-content: flex-start;
2286
+ padding: 0px 48px;
2287
+ gap: var(--gap-basere);
2288
+ }
2289
+
2290
+ .headerSeccionAlineaciones21200 {
2291
+ display: none;
2292
+ align-self: stretch;
2293
+ width: auto;
2294
+ max-width: 840px;
2295
+ align-self: stretch;
2296
+ background-color: var(--color-gray-200re);
2297
+ flex-direction: column;
2298
+ align-items: center;
2299
+ justify-content: flex-start;
2300
+ padding: 0px var(--padding-5xlre);
2301
+ gap: var(--gap-basere);
2302
+ }
2303
+
2304
+ .headerSeccionAlineaciones2420 {
2305
+ display: none;
2306
+ align-self: stretch;
2307
+ background-color: var(--color-gray-200re);
2308
+ display: none;
2309
+ flex-direction: column;
2310
+ align-items: center;
2311
+ justify-content: flex-start;
2312
+ padding: 0px var(--padding-5xlre);
2313
+ gap: var(--gap-basere);
2314
+ }
2315
+
2316
+ .headerSeccionAlineaciones2880 {
2317
+ display: flex;
2318
+ align-self: stretch;
2319
+ background-color: var(--color-gray-200re);
2320
+ flex-direction: column;
2321
+ align-items: center;
2322
+ justify-content: flex-start;
2323
+ padding: 0px var(--padding-5xlre);
2324
+ gap: var(--gap-basere);
2325
+ }
2326
+
2327
+ .headerSeccionAlineaciones2540 {
2328
+ display: none;
2329
+ align-self: stretch;
2330
+ background-color: var(--color-gray-200re);
2331
+ flex-direction: column;
2332
+ align-items: center;
2333
+ justify-content: flex-start;
2334
+ padding: 0px var(--padding-5xlre);
2335
+ gap: var(--gap-basere);
2336
+ }
2337
+ </style>