@golstats/gsc-lineups-reports 1.0.1

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