@golstats/gsc-reports 1.0.2 → 1.0.3
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.
- package/README.md +2 -2
- package/dist/{FilterConditions-55d68355-C5NIJbY6-BIYJFxA1-ChzU0yno.js → FilterConditions-55d68355-C5NIJbY6-BIYJFxA1-D7I3LKuI.js} +1 -1
- package/dist/{FilterField-59a73e38-DO8nYLqs-BlMX75HQ-DcD79wEB.js → FilterField-59a73e38-DO8nYLqs-BlMX75HQ-CdzRwoun.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-DlkHni1L-DbepEYoC-4bY4RGa1.js → FilterSubcategories-a9b32cc9-DlkHni1L-DbepEYoC-D-EqhHun.js} +1 -1
- package/dist/css/fonts.css +83 -83
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +39 -39
- package/dist/{index-Cdmd9KsD.js → index-CJuCUdPa.js} +4370 -4354
- package/package.json +1 -1
- package/src/components/elementsTemplates/ModalCreateTemplate.vue +9 -2
- package/src/components/elementsTemplates/ModalDeleteReport.vue +246 -239
- package/src/components/elementsTemplates/ModalDeleteTemplate.vue +249 -242
- package/src/components/elementsTemplates/ModalGenerarReporte.vue +9 -2
- package/src/components/elementsTemplates/ModalRenameReporte.vue +330 -323
- package/src/components/elementsTemplates/ModalRenameTemplate.vue +337 -330
- package/src/components/elementsTemplates/ModalSoloEscritorio.vue +83 -83
- package/src/components/elementsTemplates/ModalduplicateTemplate.vue +300 -293
- package/src/components/elementsTemplates/TemplateItem.vue +19 -10
- package/src/components/elementsTemplates/TooltipReportOptions.vue +97 -85
- package/src/components/elementsTemplates/TooltipTemplateOptions.vue +161 -141
- package/src/components/filters.vue +935 -935
- package/src/components/template-report-maker/CoverPage.vue +636 -636
- package/src/components/template-report-maker/CoverSelector.vue +165 -165
- package/src/components/template-report-maker/ReportView.vue +66 -66
- package/src/components/template-report-maker/TemplateReportPage.vue +398 -398
- package/src/components/thumbnails-reports/AnalisisPostMatchType1.vue +741 -741
- package/src/components/thumbnails-reports/AnalisisPostMatchType2.vue +743 -743
- package/src/components/thumbnails-reports/AnalisisPostMatchType3.vue +463 -463
- package/src/components/thumbnails-reports/AnalisisPostMatchType4.vue +462 -462
- package/src/components/thumbnails-reports/AnalisisPrematchType1.vue +164 -164
- package/src/components/thumbnails-reports/AnalisisPrematchType2.vue +163 -163
- package/src/components/thumbnails-reports/AnalisisPrematchType3.vue +173 -173
- package/src/components/thumbnails-reports/AnalisisPrematchType4.vue +173 -173
- package/src/index.js +4 -4
- package/src/types.d.ts +45 -45
- package/src/utils/dateUtils.js +52 -52
- package/dist/icons/icn-close.svg +0 -5
- package/dist/icons/icn-delete-delete.svg +0 -3
- package/dist/icons/icn-delete.svg +0 -3
- package/dist/icons/icn-download.svg +0 -4
- package/dist/icons/icn-duplicate-white.svg +0 -11
- package/dist/icons/icn-duplicate.svg +0 -11
- package/dist/icons/icn-edit.svg +0 -11
- package/dist/icons/icn-editar-withe.svg +0 -3
- package/dist/icons/icn-rename-white.svg +0 -3
- package/dist/icons/icn-rename.svg +0 -3
- package/dist/icons/icn-report-white.svg +0 -11
- package/dist/icons/icn-report.svg +0 -11
- package/dist/images/background-postmatch-template-01.jpg +0 -0
- package/dist/images/background-postmatch-template-02.jpg +0 -0
- package/dist/images/canchaRPH.svg +0 -30
- package/dist/reports/background-postmatch-template-01@2x.jpg +0 -0
- package/dist/reports/background-postmatch-template-02@2x.jpg +0 -0
- package/dist/reports/thumbnail-portada-01@2x.png +0 -0
- package/dist/reports/thumbnail-portada-02@2x.png +0 -0
- package/dist/reports/thumbnail-portada-03@2x.png +0 -0
- package/dist/reports/thumbnail-portada-04@2x.png +0 -0
- package/dist/reports/thumbnail-portada-prmatch-01@2x.png +0 -0
- package/dist/reports/thumbnail-portada-prmatch-02@2x.png +0 -0
- package/dist/reports/thumbnail-portada-prmatch-03@2x.png +0 -0
- package/dist/reports/thumbnail-portada-prmatch-04@2x.png +0 -0
- package/dist/thumb1.png +0 -0
- package/dist/thumbnail-portada-01.jpg +0 -0
- package/dist/thumbnail-portada-02.jpg +0 -0
- package/dist/thumbnail-portada-03.jpg +0 -0
- package/dist/thumbnail-portada-04.jpg +0 -0
- package/dist/thumbnail-portada-prmatch-01.jpg +0 -0
- package/dist/thumbnail-portada-prmatch-02.jpg +0 -0
- package/dist/thumbnail-portada-prmatch-03.jpg +0 -0
- package/dist/thumbnail-portada-prmatch-04.jpg +0 -0
|
@@ -1,743 +1,743 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="prematch-bg">
|
|
3
|
-
<!-- Escudos de fondo -->
|
|
4
|
-
<div class="background-shields">
|
|
5
|
-
<div class="shield-left">
|
|
6
|
-
<img
|
|
7
|
-
:src="
|
|
8
|
-
'https://golstatsimages.blob.core.windows.net/teams-150/' +
|
|
9
|
-
report.game.home_team +
|
|
10
|
-
'.png'
|
|
11
|
-
"
|
|
12
|
-
alt="Escudo local"
|
|
13
|
-
/>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="shield-right">
|
|
16
|
-
<img
|
|
17
|
-
:src="
|
|
18
|
-
'https://golstatsimages.blob.core.windows.net/teams-150/' +
|
|
19
|
-
report.game.visiting_team +
|
|
20
|
-
'.png'
|
|
21
|
-
"
|
|
22
|
-
alt="Escudo visitante"
|
|
23
|
-
/>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
<div class="title">Análisis <span class="highlight">Postmatch</span></div>
|
|
28
|
-
<div class="subtitle">
|
|
29
|
-
<span class="jornada">Jornada {{ traducirJornada(report.game.matchday_name) }}</span>
|
|
30
|
-
<span class="fecha"> - {{ formatDate(report.game.date_time_utc) }}</span>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="teams-grid">
|
|
33
|
-
<div class="row row-top">
|
|
34
|
-
<div class="team team-local">
|
|
35
|
-
<span class="escudo-svg">
|
|
36
|
-
<img
|
|
37
|
-
width="55px"
|
|
38
|
-
:src="
|
|
39
|
-
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
40
|
-
report.game.home_team +
|
|
41
|
-
'.png'
|
|
42
|
-
"
|
|
43
|
-
/>
|
|
44
|
-
</span>
|
|
45
|
-
<span class="team-name">{{ report.game.home_team_acronym }}</span>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="score">
|
|
48
|
-
<span class="score-text">{{ report.game.score[0] }}:{{ report.game.score[1] }}</span>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="team team-visitor">
|
|
51
|
-
<span class="team-name">{{ report.game.visiting_team_acronym }}</span>
|
|
52
|
-
<span class="escudo-svg">
|
|
53
|
-
<img
|
|
54
|
-
width="55px"
|
|
55
|
-
:src="
|
|
56
|
-
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
57
|
-
report.game.visiting_team +
|
|
58
|
-
'.png'
|
|
59
|
-
"
|
|
60
|
-
/>
|
|
61
|
-
</span>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
<div class="row row-bottom">
|
|
65
|
-
<div class="team-stats">
|
|
66
|
-
<span class="stat ball">
|
|
67
|
-
<svg
|
|
68
|
-
width="19"
|
|
69
|
-
height="19"
|
|
70
|
-
viewBox="0 0 20 20"
|
|
71
|
-
fill="none"
|
|
72
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
73
|
-
>
|
|
74
|
-
<path
|
|
75
|
-
fill-rule="evenodd"
|
|
76
|
-
clip-rule="evenodd"
|
|
77
|
-
d="M10.0268 2.83594C6.09038 2.83594 2.89844 6.01986 2.89844 9.94705C2.89844 13.8742 6.09038 17.0582 10.0268 17.0582C13.9632 17.0582 17.1551 13.8742 17.1551 9.94705C17.1551 6.01986 13.9632 2.83594 10.0268 2.83594V2.83594Z"
|
|
78
|
-
stroke="white"
|
|
79
|
-
stroke-width="1.36665"
|
|
80
|
-
stroke-linecap="round"
|
|
81
|
-
stroke-linejoin="round"
|
|
82
|
-
/>
|
|
83
|
-
<path
|
|
84
|
-
fill-rule="evenodd"
|
|
85
|
-
clip-rule="evenodd"
|
|
86
|
-
d="M8.0826 12.9597L6.87109 9.2304L10.0401 6.92578L13.2097 9.2304L11.9995 12.9597H8.0826Z"
|
|
87
|
-
stroke="white"
|
|
88
|
-
stroke-width="1.36665"
|
|
89
|
-
stroke-linecap="round"
|
|
90
|
-
stroke-linejoin="round"
|
|
91
|
-
/>
|
|
92
|
-
<path
|
|
93
|
-
d="M12.7277 3.39453L10.0276 4.54375L7.32812 3.39453"
|
|
94
|
-
stroke="white"
|
|
95
|
-
stroke-width="1.36665"
|
|
96
|
-
stroke-linecap="round"
|
|
97
|
-
stroke-linejoin="round"
|
|
98
|
-
/>
|
|
99
|
-
<path
|
|
100
|
-
d="M4.65662 5.34766L4.91603 8.27341L2.98828 10.4871"
|
|
101
|
-
stroke="white"
|
|
102
|
-
stroke-width="1.36665"
|
|
103
|
-
stroke-linecap="round"
|
|
104
|
-
stroke-linejoin="round"
|
|
105
|
-
/>
|
|
106
|
-
<path
|
|
107
|
-
d="M4.01562 13.6523L6.87533 14.3093L8.38436 16.8279"
|
|
108
|
-
stroke="white"
|
|
109
|
-
stroke-width="1.36665"
|
|
110
|
-
stroke-linecap="round"
|
|
111
|
-
stroke-linejoin="round"
|
|
112
|
-
/>
|
|
113
|
-
<path
|
|
114
|
-
d="M11.7031 16.8213L13.2109 14.3015L16.0697 13.6445"
|
|
115
|
-
stroke="white"
|
|
116
|
-
stroke-width="1.36665"
|
|
117
|
-
stroke-linecap="round"
|
|
118
|
-
stroke-linejoin="round"
|
|
119
|
-
/>
|
|
120
|
-
<path
|
|
121
|
-
d="M17.1051 10.4865L15.1758 8.27156L15.4349 5.34766"
|
|
122
|
-
stroke="white"
|
|
123
|
-
stroke-width="1.36665"
|
|
124
|
-
stroke-linecap="round"
|
|
125
|
-
stroke-linejoin="round"
|
|
126
|
-
/>
|
|
127
|
-
<path
|
|
128
|
-
d="M10.0456 4.54688V6.92693"
|
|
129
|
-
stroke="white"
|
|
130
|
-
stroke-width="1.36665"
|
|
131
|
-
stroke-linecap="round"
|
|
132
|
-
stroke-linejoin="round"
|
|
133
|
-
/>
|
|
134
|
-
<path
|
|
135
|
-
d="M13.2109 9.32248L15.1681 8.27344"
|
|
136
|
-
stroke="white"
|
|
137
|
-
stroke-width="1.36665"
|
|
138
|
-
stroke-linecap="round"
|
|
139
|
-
stroke-linejoin="round"
|
|
140
|
-
/>
|
|
141
|
-
<path
|
|
142
|
-
d="M11.9961 12.9609L13.2064 14.3086"
|
|
143
|
-
stroke="white"
|
|
144
|
-
stroke-width="1.36665"
|
|
145
|
-
stroke-linecap="round"
|
|
146
|
-
stroke-linejoin="round"
|
|
147
|
-
/>
|
|
148
|
-
<path
|
|
149
|
-
d="M8.08198 12.9609L6.87109 14.3099"
|
|
150
|
-
stroke="white"
|
|
151
|
-
stroke-width="1.36665"
|
|
152
|
-
stroke-linecap="round"
|
|
153
|
-
stroke-linejoin="round"
|
|
154
|
-
/>
|
|
155
|
-
<path
|
|
156
|
-
d="M4.91797 8.27344L6.87609 9.22818"
|
|
157
|
-
stroke="white"
|
|
158
|
-
stroke-width="1.36665"
|
|
159
|
-
stroke-linecap="round"
|
|
160
|
-
stroke-linejoin="round"
|
|
161
|
-
/>
|
|
162
|
-
</svg>
|
|
163
|
-
</span>
|
|
164
|
-
<span
|
|
165
|
-
class="stat time"
|
|
166
|
-
:class="{ 'two-lines': homeGoalsMinutes && homeGoalsMinutes.includes('\n') }"
|
|
167
|
-
v-if="homeGoalsMinutes !== null"
|
|
168
|
-
>{{ homeGoalsMinutes }}</span
|
|
169
|
-
>
|
|
170
|
-
<div
|
|
171
|
-
class="separator"
|
|
172
|
-
:class="{ 'two-lines': homeGoalsMinutes && homeGoalsMinutes.includes('\n') }"
|
|
173
|
-
></div>
|
|
174
|
-
<span class="stat red">
|
|
175
|
-
<svg
|
|
176
|
-
width="12"
|
|
177
|
-
height="16"
|
|
178
|
-
viewBox="0 0 14 18"
|
|
179
|
-
fill="none"
|
|
180
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
181
|
-
>
|
|
182
|
-
<rect width="14" height="18" rx="2" fill="#FF4D4F" stroke="#A80000" />
|
|
183
|
-
</svg>
|
|
184
|
-
<span class="stat-number">{{ homeRedCardsCount || 0 }}</span>
|
|
185
|
-
</span>
|
|
186
|
-
<span class="stat yellow">
|
|
187
|
-
<svg
|
|
188
|
-
width="12"
|
|
189
|
-
height="16"
|
|
190
|
-
viewBox="0 0 14 18"
|
|
191
|
-
fill="none"
|
|
192
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
193
|
-
>
|
|
194
|
-
<rect width="14" height="18" rx="2" fill="#FFE066" stroke="#BFA600" />
|
|
195
|
-
</svg>
|
|
196
|
-
<span class="stat-number">{{ homeYellowCardsCount || 0 }}</span>
|
|
197
|
-
</span>
|
|
198
|
-
</div>
|
|
199
|
-
<div class="empty"></div>
|
|
200
|
-
<div class="team-stats">
|
|
201
|
-
<span class="stat-number">{{ awayYellowCardsCount || 0 }}</span>
|
|
202
|
-
<span class="stat yellow">
|
|
203
|
-
<svg
|
|
204
|
-
width="12"
|
|
205
|
-
height="16"
|
|
206
|
-
viewBox="0 0 14 18"
|
|
207
|
-
fill="none"
|
|
208
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
209
|
-
>
|
|
210
|
-
<rect width="14" height="18" rx="2" fill="#FFE066" stroke="#BFA600" />
|
|
211
|
-
</svg>
|
|
212
|
-
</span>
|
|
213
|
-
<span class="stat-number">{{ awayRedCardsCount || 0 }}</span>
|
|
214
|
-
<span class="stat red">
|
|
215
|
-
<svg
|
|
216
|
-
width="12"
|
|
217
|
-
height="16"
|
|
218
|
-
viewBox="0 0 14 18"
|
|
219
|
-
fill="none"
|
|
220
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
221
|
-
>
|
|
222
|
-
<rect width="14" height="18" rx="2" fill="#FF4D4F" stroke="#A80000" />
|
|
223
|
-
</svg>
|
|
224
|
-
</span>
|
|
225
|
-
<div
|
|
226
|
-
class="separator"
|
|
227
|
-
:class="{ 'two-lines': visitingGoalsMinutes && visitingGoalsMinutes.includes('\n') }"
|
|
228
|
-
></div>
|
|
229
|
-
<span
|
|
230
|
-
class="stat time"
|
|
231
|
-
:class="{ 'two-lines': visitingGoalsMinutes && visitingGoalsMinutes.includes('\n') }"
|
|
232
|
-
v-if="visitingGoalsMinutes !== null"
|
|
233
|
-
>{{ visitingGoalsMinutes }}</span
|
|
234
|
-
>
|
|
235
|
-
<span class="stat ball">
|
|
236
|
-
<svg
|
|
237
|
-
width="19"
|
|
238
|
-
height="19"
|
|
239
|
-
viewBox="0 0 20 20"
|
|
240
|
-
fill="none"
|
|
241
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
242
|
-
>
|
|
243
|
-
<path
|
|
244
|
-
fill-rule="evenodd"
|
|
245
|
-
clip-rule="evenodd"
|
|
246
|
-
d="M10.0268 2.83594C6.09038 2.83594 2.89844 6.01986 2.89844 9.94705C2.89844 13.8742 6.09038 17.0582 10.0268 17.0582C13.9632 17.0582 17.1551 13.8742 17.1551 9.94705C17.1551 6.01986 13.9632 2.83594 10.0268 2.83594V2.83594Z"
|
|
247
|
-
stroke="white"
|
|
248
|
-
stroke-width="1.36665"
|
|
249
|
-
stroke-linecap="round"
|
|
250
|
-
stroke-linejoin="round"
|
|
251
|
-
/>
|
|
252
|
-
<path
|
|
253
|
-
fill-rule="evenodd"
|
|
254
|
-
clip-rule="evenodd"
|
|
255
|
-
d="M8.0826 12.9597L6.87109 9.2304L10.0401 6.92578L13.2097 9.2304L11.9995 12.9597H8.0826Z"
|
|
256
|
-
stroke="white"
|
|
257
|
-
stroke-width="1.36665"
|
|
258
|
-
stroke-linecap="round"
|
|
259
|
-
stroke-linejoin="round"
|
|
260
|
-
/>
|
|
261
|
-
<path
|
|
262
|
-
d="M12.7277 3.39453L10.0276 4.54375L7.32812 3.39453"
|
|
263
|
-
stroke="white"
|
|
264
|
-
stroke-width="1.36665"
|
|
265
|
-
stroke-linecap="round"
|
|
266
|
-
stroke-linejoin="round"
|
|
267
|
-
/>
|
|
268
|
-
<path
|
|
269
|
-
d="M4.65662 5.34766L4.91603 8.27341L2.98828 10.4871"
|
|
270
|
-
stroke="white"
|
|
271
|
-
stroke-width="1.36665"
|
|
272
|
-
stroke-linecap="round"
|
|
273
|
-
stroke-linejoin="round"
|
|
274
|
-
/>
|
|
275
|
-
<path
|
|
276
|
-
d="M4.01562 13.6523L6.87533 14.3093L8.38436 16.8279"
|
|
277
|
-
stroke="white"
|
|
278
|
-
stroke-width="1.36665"
|
|
279
|
-
stroke-linecap="round"
|
|
280
|
-
stroke-linejoin="round"
|
|
281
|
-
/>
|
|
282
|
-
<path
|
|
283
|
-
d="M11.7031 16.8213L13.2109 14.3015L16.0697 13.6445"
|
|
284
|
-
stroke="white"
|
|
285
|
-
stroke-width="1.36665"
|
|
286
|
-
stroke-linecap="round"
|
|
287
|
-
stroke-linejoin="round"
|
|
288
|
-
/>
|
|
289
|
-
<path
|
|
290
|
-
d="M17.1051 10.4865L15.1758 8.27156L15.4349 5.34766"
|
|
291
|
-
stroke="white"
|
|
292
|
-
stroke-width="1.36665"
|
|
293
|
-
stroke-linecap="round"
|
|
294
|
-
stroke-linejoin="round"
|
|
295
|
-
/>
|
|
296
|
-
<path
|
|
297
|
-
d="M10.0456 4.54688V6.92693"
|
|
298
|
-
stroke="white"
|
|
299
|
-
stroke-width="1.36665"
|
|
300
|
-
stroke-linecap="round"
|
|
301
|
-
stroke-linejoin="round"
|
|
302
|
-
/>
|
|
303
|
-
<path
|
|
304
|
-
d="M13.2109 9.32248L15.1681 8.27344"
|
|
305
|
-
stroke="white"
|
|
306
|
-
stroke-width="1.36665"
|
|
307
|
-
stroke-linecap="round"
|
|
308
|
-
stroke-linejoin="round"
|
|
309
|
-
/>
|
|
310
|
-
<path
|
|
311
|
-
d="M11.9961 12.9609L13.2064 14.3086"
|
|
312
|
-
stroke="white"
|
|
313
|
-
stroke-width="1.36665"
|
|
314
|
-
stroke-linecap="round"
|
|
315
|
-
stroke-linejoin="round"
|
|
316
|
-
/>
|
|
317
|
-
<path
|
|
318
|
-
d="M8.08198 12.9609L6.87109 14.3099"
|
|
319
|
-
stroke="white"
|
|
320
|
-
stroke-width="1.36665"
|
|
321
|
-
stroke-linecap="round"
|
|
322
|
-
stroke-linejoin="round"
|
|
323
|
-
/>
|
|
324
|
-
<path
|
|
325
|
-
d="M4.91797 8.27344L6.87609 9.22818"
|
|
326
|
-
stroke="white"
|
|
327
|
-
stroke-width="1.36665"
|
|
328
|
-
stroke-linecap="round"
|
|
329
|
-
stroke-linejoin="round"
|
|
330
|
-
/>
|
|
331
|
-
</svg>
|
|
332
|
-
</span>
|
|
333
|
-
</div>
|
|
334
|
-
</div>
|
|
335
|
-
</div>
|
|
336
|
-
</div>
|
|
337
|
-
</template>
|
|
338
|
-
|
|
339
|
-
<script setup>
|
|
340
|
-
import { formatDate } from '../../utils/dateUtils.js'
|
|
341
|
-
import { computed } from 'vue'
|
|
342
|
-
|
|
343
|
-
function traducirJornada(jornada) {
|
|
344
|
-
if (!jornada) return ''
|
|
345
|
-
return jornada
|
|
346
|
-
.replace('Matchday', 'J')
|
|
347
|
-
.replace('de Final', '')
|
|
348
|
-
.replace('Playoffs 1', 'CFI')
|
|
349
|
-
.replace('Playoffs 2', 'CFV')
|
|
350
|
-
.replace('Playoffs 3', 'SI')
|
|
351
|
-
.replace('Playoffs 4', 'SV')
|
|
352
|
-
.replace('Playoffs 5', 'FI')
|
|
353
|
-
.replace('Playoffs 6', 'FV')
|
|
354
|
-
}
|
|
355
|
-
// Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
|
|
356
|
-
const props = defineProps({
|
|
357
|
-
report: {
|
|
358
|
-
type: Object,
|
|
359
|
-
default: () => ({}),
|
|
360
|
-
},
|
|
361
|
-
})
|
|
362
|
-
|
|
363
|
-
// Función computada para extraer y concatenar solo los minutos de los goles
|
|
364
|
-
const homeGoalsMinutes = computed(() => {
|
|
365
|
-
const goalsArray = props.report?.game?.minutes?.home_goals_minutes
|
|
366
|
-
|
|
367
|
-
if (!Array.isArray(goalsArray) || goalsArray.length === 0) {
|
|
368
|
-
return null
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// Extraer solo los minutos de cada string
|
|
372
|
-
const minutes = goalsArray
|
|
373
|
-
.map((goal) => {
|
|
374
|
-
// Buscar el patrón de minutos al final del string (números seguidos de ')
|
|
375
|
-
const match = goal.match(/(\d+)'$/)
|
|
376
|
-
return match ? match[1] + "'" : ''
|
|
377
|
-
})
|
|
378
|
-
.filter((minute) => minute !== '')
|
|
379
|
-
|
|
380
|
-
// Si hay más de 5 goles, dividir en 2 renglones
|
|
381
|
-
if (minutes.length > 5) {
|
|
382
|
-
const firstRow = minutes.slice(0, 5).join(', ')
|
|
383
|
-
const secondRow = minutes.slice(5).join(', ')
|
|
384
|
-
return `${firstRow}\n${secondRow}`
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
// Si hay 5 o menos goles, mostrar en un solo renglón
|
|
388
|
-
return minutes.join(', ')
|
|
389
|
-
})
|
|
390
|
-
|
|
391
|
-
// Función computada para extraer y concatenar solo los minutos de los goles del equipo visitante
|
|
392
|
-
const visitingGoalsMinutes = computed(() => {
|
|
393
|
-
const goalsArray = props.report?.game?.minutes?.visiting_goals_minutes
|
|
394
|
-
|
|
395
|
-
if (!Array.isArray(goalsArray) || goalsArray.length === 0) {
|
|
396
|
-
return null
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
// Extraer solo los minutos de cada string
|
|
400
|
-
const minutes = goalsArray
|
|
401
|
-
.map((goal) => {
|
|
402
|
-
// Buscar el patrón de minutos al final del string (números seguidos de ')
|
|
403
|
-
const match = goal.match(/(\d+)'$/)
|
|
404
|
-
return match ? match[1] + "'" : ''
|
|
405
|
-
})
|
|
406
|
-
.filter((minute) => minute !== '')
|
|
407
|
-
|
|
408
|
-
// Si hay más de 5 goles, dividir en 2 renglones
|
|
409
|
-
if (minutes.length > 5) {
|
|
410
|
-
const firstRow = minutes.slice(0, 5).join(', ')
|
|
411
|
-
const secondRow = minutes.slice(5).join(', ')
|
|
412
|
-
return `${firstRow}\n${secondRow}`
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
// Si hay 5 o menos goles, mostrar en un solo renglón
|
|
416
|
-
return minutes.join(', ')
|
|
417
|
-
})
|
|
418
|
-
|
|
419
|
-
// Funciones computadas para validar y obtener las tarjetas
|
|
420
|
-
const homeRedCardsCount = computed(() => {
|
|
421
|
-
const redCardsArray = props.report?.game?.minutes?.home_red_cards_minutes
|
|
422
|
-
return Array.isArray(redCardsArray) && redCardsArray.length > 0 ? redCardsArray.length : null
|
|
423
|
-
})
|
|
424
|
-
|
|
425
|
-
const homeYellowCardsCount = computed(() => {
|
|
426
|
-
const yellowCardsArray = props.report?.game?.minutes?.home_yellow_cards_minutes
|
|
427
|
-
return Array.isArray(yellowCardsArray) && yellowCardsArray.length > 0
|
|
428
|
-
? yellowCardsArray.length
|
|
429
|
-
: null
|
|
430
|
-
})
|
|
431
|
-
|
|
432
|
-
const awayYellowCardsCount = computed(() => {
|
|
433
|
-
const yellowCardsArray = props.report?.game?.minutes?.away_yellow_cards_minutes
|
|
434
|
-
return Array.isArray(yellowCardsArray) && yellowCardsArray.length > 0
|
|
435
|
-
? yellowCardsArray.length
|
|
436
|
-
: null
|
|
437
|
-
})
|
|
438
|
-
|
|
439
|
-
const awayRedCardsCount = computed(() => {
|
|
440
|
-
const redCardsArray = props.report?.game?.minutes?.away_red_cards_minutes
|
|
441
|
-
return Array.isArray(redCardsArray) && redCardsArray.length > 0 ? redCardsArray.length : null
|
|
442
|
-
})
|
|
443
|
-
</script>
|
|
444
|
-
|
|
445
|
-
<style scoped>
|
|
446
|
-
.prematch-bg {
|
|
447
|
-
width: 100%;
|
|
448
|
-
height: 222px;
|
|
449
|
-
/* height: 100vh; */
|
|
450
|
-
background: url('/images/background-postmatch-template-02.jpg');
|
|
451
|
-
background-size: cover;
|
|
452
|
-
background-repeat: no-repeat;
|
|
453
|
-
display: flex;
|
|
454
|
-
flex-direction: column;
|
|
455
|
-
justify-content: center;
|
|
456
|
-
align-items: center;
|
|
457
|
-
position: relative;
|
|
458
|
-
overflow: hidden;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.background-shields {
|
|
462
|
-
position: absolute;
|
|
463
|
-
top: 0;
|
|
464
|
-
left: 0;
|
|
465
|
-
width: 100%;
|
|
466
|
-
height: 100%;
|
|
467
|
-
pointer-events: none;
|
|
468
|
-
z-index: 1;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.shield-left {
|
|
472
|
-
position: absolute;
|
|
473
|
-
left: -80px;
|
|
474
|
-
top: 50%;
|
|
475
|
-
transform: translateY(-50%);
|
|
476
|
-
opacity: 0.09;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.shield-left img {
|
|
480
|
-
width: 170px;
|
|
481
|
-
object-fit: contain;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.shield-right {
|
|
485
|
-
position: absolute;
|
|
486
|
-
right: -80px;
|
|
487
|
-
top: 50%;
|
|
488
|
-
transform: translateY(-50%);
|
|
489
|
-
opacity: 0.09;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
.shield-right img {
|
|
493
|
-
width: 170px;
|
|
494
|
-
object-fit: contain;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.header {
|
|
498
|
-
padding: 24px 32px;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.logo {
|
|
502
|
-
height: 40px;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.main-content {
|
|
506
|
-
display: flex;
|
|
507
|
-
flex-direction: column;
|
|
508
|
-
align-items: center;
|
|
509
|
-
/* Elimina el margin-top para centrar verticalmente */
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.title {
|
|
513
|
-
font-size: 0.8rem;
|
|
514
|
-
color: #fff;
|
|
515
|
-
margin-top: 13px;
|
|
516
|
-
font-family: Poppins-Regular;
|
|
517
|
-
position: relative;
|
|
518
|
-
z-index: 2;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.highlight {
|
|
522
|
-
font-family: Poppins-Bold;
|
|
523
|
-
color: #fff;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.subtitle {
|
|
527
|
-
font-family: Poppins-Regular;
|
|
528
|
-
margin-top: -8px;
|
|
529
|
-
font-size: 1.1rem;
|
|
530
|
-
color: #e0e0e0;
|
|
531
|
-
position: relative;
|
|
532
|
-
z-index: 2;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.jornada {
|
|
536
|
-
font-family: Poppins-Medium;
|
|
537
|
-
color: #fff;
|
|
538
|
-
font-size: 0.4rem;
|
|
539
|
-
line-height: 2.2;
|
|
540
|
-
letter-spacing: 0.2px;
|
|
541
|
-
opacity: 0.8;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
.fecha {
|
|
545
|
-
font-family: Poppins-Regular;
|
|
546
|
-
color: #e0e0e0;
|
|
547
|
-
opacity: 0.8;
|
|
548
|
-
line-height: 2.2;
|
|
549
|
-
letter-spacing: 0.2px;
|
|
550
|
-
font-size: 0.4rem;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.teams-row {
|
|
554
|
-
display: none;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.teams-grid {
|
|
558
|
-
display: flex;
|
|
559
|
-
flex-direction: column;
|
|
560
|
-
align-items: center;
|
|
561
|
-
width: 100%;
|
|
562
|
-
margin-top: 14px;
|
|
563
|
-
position: relative;
|
|
564
|
-
z-index: 2;
|
|
565
|
-
}
|
|
566
|
-
.row {
|
|
567
|
-
display: flex;
|
|
568
|
-
width: 100%;
|
|
569
|
-
gap: 20px;
|
|
570
|
-
justify-content: center;
|
|
571
|
-
align-items: center;
|
|
572
|
-
}
|
|
573
|
-
.row-top {
|
|
574
|
-
margin-bottom: 0px;
|
|
575
|
-
}
|
|
576
|
-
.row-bottom {
|
|
577
|
-
margin-top: 0;
|
|
578
|
-
}
|
|
579
|
-
.team {
|
|
580
|
-
display: flex;
|
|
581
|
-
align-items: center;
|
|
582
|
-
gap: 6px;
|
|
583
|
-
}
|
|
584
|
-
.score {
|
|
585
|
-
margin: 0 24px;
|
|
586
|
-
}
|
|
587
|
-
.team-stats {
|
|
588
|
-
width: auto;
|
|
589
|
-
background: black;
|
|
590
|
-
display: flex;
|
|
591
|
-
align-items: center;
|
|
592
|
-
justify-content: center;
|
|
593
|
-
gap: 1px;
|
|
594
|
-
padding: 0.5px 2px;
|
|
595
|
-
border-radius: 2px;
|
|
596
|
-
background-color: rgba(21, 34, 46, 0.18);
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
.team-stats .stat.ball svg {
|
|
600
|
-
width: 9px !important;
|
|
601
|
-
height: 9px !important;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.team-stats .stat.yellow svg,
|
|
605
|
-
.team-stats .stat.red svg {
|
|
606
|
-
width: 7px !important;
|
|
607
|
-
height: 7px !important;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.stat-number,
|
|
611
|
-
.stat.time {
|
|
612
|
-
font-size: 0.4rem;
|
|
613
|
-
margin-left: 0.5px;
|
|
614
|
-
font-family: Poppins-Medium;
|
|
615
|
-
color: #fff;
|
|
616
|
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
617
|
-
letter-spacing: -0.2px;
|
|
618
|
-
font-weight: 600;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
.stat.yellow svg rect {
|
|
622
|
-
stroke: #ffd600;
|
|
623
|
-
filter: drop-shadow(0 1px 2px #bfa60055);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.stat.red svg rect {
|
|
627
|
-
stroke: #ff2222;
|
|
628
|
-
filter: drop-shadow(0 1px 2px #a8000055);
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.empty {
|
|
632
|
-
width: 60px;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.team-local-block,
|
|
636
|
-
.team-visitor-block {
|
|
637
|
-
display: flex;
|
|
638
|
-
flex-direction: column;
|
|
639
|
-
align-items: center;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.escudo-svg {
|
|
643
|
-
display: flex;
|
|
644
|
-
justify-content: center;
|
|
645
|
-
align-items: center;
|
|
646
|
-
width: 55px;
|
|
647
|
-
height: 55px;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.team-name {
|
|
651
|
-
font-size: 0.8rem;
|
|
652
|
-
font-family: Poppins-bold;
|
|
653
|
-
font-weight: 700;
|
|
654
|
-
color: #fff;
|
|
655
|
-
letter-spacing: 2px;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
.score {
|
|
659
|
-
display: flex;
|
|
660
|
-
justify-content: center;
|
|
661
|
-
align-items: center;
|
|
662
|
-
margin: 0 0px;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.score-text {
|
|
666
|
-
font-size: 3rem;
|
|
667
|
-
font-family: BebasNeue-Bold;
|
|
668
|
-
font-weight: 700;
|
|
669
|
-
color: #fff;
|
|
670
|
-
margin-top: 5px;
|
|
671
|
-
letter-spacing: 1px;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.team-stats {
|
|
675
|
-
display: flex;
|
|
676
|
-
align-items: center;
|
|
677
|
-
margin-top: 4px;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.stat {
|
|
681
|
-
display: flex;
|
|
682
|
-
align-items: center;
|
|
683
|
-
justify-content: center;
|
|
684
|
-
font-size: 0.5rem;
|
|
685
|
-
color: #fff;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
.stat-number {
|
|
689
|
-
margin-left: 1px;
|
|
690
|
-
font-size: 0.5rem;
|
|
691
|
-
font-family: Poppins-Regular;
|
|
692
|
-
color: #fff;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
.stat.yellow svg {
|
|
696
|
-
margin-right: 1px;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.stat.red svg {
|
|
700
|
-
margin-right: 1px;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
.stat.time {
|
|
704
|
-
font-size: 0.5rem;
|
|
705
|
-
font-family: Poppins-Regular;
|
|
706
|
-
color: #fff;
|
|
707
|
-
margin: 0 2px;
|
|
708
|
-
white-space: pre-line;
|
|
709
|
-
text-align: center;
|
|
710
|
-
line-height: 1.2;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.stat.time.two-lines {
|
|
714
|
-
margin-top: 12px;
|
|
715
|
-
text-align: left;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.team-stats .stat-number {
|
|
719
|
-
font-size: 0.5rem;
|
|
720
|
-
font-family: Poppins-Regular;
|
|
721
|
-
color: #fff;
|
|
722
|
-
margin: 0 1px;
|
|
723
|
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
724
|
-
letter-spacing: -0.2px;
|
|
725
|
-
font-weight: 600;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
.stat.ball svg {
|
|
729
|
-
display: block;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
.separator {
|
|
733
|
-
width: 1px;
|
|
734
|
-
height: 12px;
|
|
735
|
-
border-right: 1px dotted #fff;
|
|
736
|
-
margin: 0 4px 0 4px;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
.separator.two-lines {
|
|
740
|
-
height: 18px;
|
|
741
|
-
margin-top: 10px;
|
|
742
|
-
}
|
|
743
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="prematch-bg">
|
|
3
|
+
<!-- Escudos de fondo -->
|
|
4
|
+
<div class="background-shields">
|
|
5
|
+
<div class="shield-left">
|
|
6
|
+
<img
|
|
7
|
+
:src="
|
|
8
|
+
'https://golstatsimages.blob.core.windows.net/teams-150/' +
|
|
9
|
+
report.game.home_team +
|
|
10
|
+
'.png'
|
|
11
|
+
"
|
|
12
|
+
alt="Escudo local"
|
|
13
|
+
/>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="shield-right">
|
|
16
|
+
<img
|
|
17
|
+
:src="
|
|
18
|
+
'https://golstatsimages.blob.core.windows.net/teams-150/' +
|
|
19
|
+
report.game.visiting_team +
|
|
20
|
+
'.png'
|
|
21
|
+
"
|
|
22
|
+
alt="Escudo visitante"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="title">Análisis <span class="highlight">Postmatch</span></div>
|
|
28
|
+
<div class="subtitle">
|
|
29
|
+
<span class="jornada">Jornada {{ traducirJornada(report.game.matchday_name) }}</span>
|
|
30
|
+
<span class="fecha"> - {{ formatDate(report.game.date_time_utc) }}</span>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="teams-grid">
|
|
33
|
+
<div class="row row-top">
|
|
34
|
+
<div class="team team-local">
|
|
35
|
+
<span class="escudo-svg">
|
|
36
|
+
<img
|
|
37
|
+
width="55px"
|
|
38
|
+
:src="
|
|
39
|
+
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
40
|
+
report.game.home_team +
|
|
41
|
+
'.png'
|
|
42
|
+
"
|
|
43
|
+
/>
|
|
44
|
+
</span>
|
|
45
|
+
<span class="team-name">{{ report.game.home_team_acronym }}</span>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="score">
|
|
48
|
+
<span class="score-text">{{ report.game.score[0] }}:{{ report.game.score[1] }}</span>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="team team-visitor">
|
|
51
|
+
<span class="team-name">{{ report.game.visiting_team_acronym }}</span>
|
|
52
|
+
<span class="escudo-svg">
|
|
53
|
+
<img
|
|
54
|
+
width="55px"
|
|
55
|
+
:src="
|
|
56
|
+
'https://golstatsimages.blob.core.windows.net/teams-80/' +
|
|
57
|
+
report.game.visiting_team +
|
|
58
|
+
'.png'
|
|
59
|
+
"
|
|
60
|
+
/>
|
|
61
|
+
</span>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="row row-bottom">
|
|
65
|
+
<div class="team-stats">
|
|
66
|
+
<span class="stat ball">
|
|
67
|
+
<svg
|
|
68
|
+
width="19"
|
|
69
|
+
height="19"
|
|
70
|
+
viewBox="0 0 20 20"
|
|
71
|
+
fill="none"
|
|
72
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
73
|
+
>
|
|
74
|
+
<path
|
|
75
|
+
fill-rule="evenodd"
|
|
76
|
+
clip-rule="evenodd"
|
|
77
|
+
d="M10.0268 2.83594C6.09038 2.83594 2.89844 6.01986 2.89844 9.94705C2.89844 13.8742 6.09038 17.0582 10.0268 17.0582C13.9632 17.0582 17.1551 13.8742 17.1551 9.94705C17.1551 6.01986 13.9632 2.83594 10.0268 2.83594V2.83594Z"
|
|
78
|
+
stroke="white"
|
|
79
|
+
stroke-width="1.36665"
|
|
80
|
+
stroke-linecap="round"
|
|
81
|
+
stroke-linejoin="round"
|
|
82
|
+
/>
|
|
83
|
+
<path
|
|
84
|
+
fill-rule="evenodd"
|
|
85
|
+
clip-rule="evenodd"
|
|
86
|
+
d="M8.0826 12.9597L6.87109 9.2304L10.0401 6.92578L13.2097 9.2304L11.9995 12.9597H8.0826Z"
|
|
87
|
+
stroke="white"
|
|
88
|
+
stroke-width="1.36665"
|
|
89
|
+
stroke-linecap="round"
|
|
90
|
+
stroke-linejoin="round"
|
|
91
|
+
/>
|
|
92
|
+
<path
|
|
93
|
+
d="M12.7277 3.39453L10.0276 4.54375L7.32812 3.39453"
|
|
94
|
+
stroke="white"
|
|
95
|
+
stroke-width="1.36665"
|
|
96
|
+
stroke-linecap="round"
|
|
97
|
+
stroke-linejoin="round"
|
|
98
|
+
/>
|
|
99
|
+
<path
|
|
100
|
+
d="M4.65662 5.34766L4.91603 8.27341L2.98828 10.4871"
|
|
101
|
+
stroke="white"
|
|
102
|
+
stroke-width="1.36665"
|
|
103
|
+
stroke-linecap="round"
|
|
104
|
+
stroke-linejoin="round"
|
|
105
|
+
/>
|
|
106
|
+
<path
|
|
107
|
+
d="M4.01562 13.6523L6.87533 14.3093L8.38436 16.8279"
|
|
108
|
+
stroke="white"
|
|
109
|
+
stroke-width="1.36665"
|
|
110
|
+
stroke-linecap="round"
|
|
111
|
+
stroke-linejoin="round"
|
|
112
|
+
/>
|
|
113
|
+
<path
|
|
114
|
+
d="M11.7031 16.8213L13.2109 14.3015L16.0697 13.6445"
|
|
115
|
+
stroke="white"
|
|
116
|
+
stroke-width="1.36665"
|
|
117
|
+
stroke-linecap="round"
|
|
118
|
+
stroke-linejoin="round"
|
|
119
|
+
/>
|
|
120
|
+
<path
|
|
121
|
+
d="M17.1051 10.4865L15.1758 8.27156L15.4349 5.34766"
|
|
122
|
+
stroke="white"
|
|
123
|
+
stroke-width="1.36665"
|
|
124
|
+
stroke-linecap="round"
|
|
125
|
+
stroke-linejoin="round"
|
|
126
|
+
/>
|
|
127
|
+
<path
|
|
128
|
+
d="M10.0456 4.54688V6.92693"
|
|
129
|
+
stroke="white"
|
|
130
|
+
stroke-width="1.36665"
|
|
131
|
+
stroke-linecap="round"
|
|
132
|
+
stroke-linejoin="round"
|
|
133
|
+
/>
|
|
134
|
+
<path
|
|
135
|
+
d="M13.2109 9.32248L15.1681 8.27344"
|
|
136
|
+
stroke="white"
|
|
137
|
+
stroke-width="1.36665"
|
|
138
|
+
stroke-linecap="round"
|
|
139
|
+
stroke-linejoin="round"
|
|
140
|
+
/>
|
|
141
|
+
<path
|
|
142
|
+
d="M11.9961 12.9609L13.2064 14.3086"
|
|
143
|
+
stroke="white"
|
|
144
|
+
stroke-width="1.36665"
|
|
145
|
+
stroke-linecap="round"
|
|
146
|
+
stroke-linejoin="round"
|
|
147
|
+
/>
|
|
148
|
+
<path
|
|
149
|
+
d="M8.08198 12.9609L6.87109 14.3099"
|
|
150
|
+
stroke="white"
|
|
151
|
+
stroke-width="1.36665"
|
|
152
|
+
stroke-linecap="round"
|
|
153
|
+
stroke-linejoin="round"
|
|
154
|
+
/>
|
|
155
|
+
<path
|
|
156
|
+
d="M4.91797 8.27344L6.87609 9.22818"
|
|
157
|
+
stroke="white"
|
|
158
|
+
stroke-width="1.36665"
|
|
159
|
+
stroke-linecap="round"
|
|
160
|
+
stroke-linejoin="round"
|
|
161
|
+
/>
|
|
162
|
+
</svg>
|
|
163
|
+
</span>
|
|
164
|
+
<span
|
|
165
|
+
class="stat time"
|
|
166
|
+
:class="{ 'two-lines': homeGoalsMinutes && homeGoalsMinutes.includes('\n') }"
|
|
167
|
+
v-if="homeGoalsMinutes !== null"
|
|
168
|
+
>{{ homeGoalsMinutes }}</span
|
|
169
|
+
>
|
|
170
|
+
<div
|
|
171
|
+
class="separator"
|
|
172
|
+
:class="{ 'two-lines': homeGoalsMinutes && homeGoalsMinutes.includes('\n') }"
|
|
173
|
+
></div>
|
|
174
|
+
<span class="stat red">
|
|
175
|
+
<svg
|
|
176
|
+
width="12"
|
|
177
|
+
height="16"
|
|
178
|
+
viewBox="0 0 14 18"
|
|
179
|
+
fill="none"
|
|
180
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
181
|
+
>
|
|
182
|
+
<rect width="14" height="18" rx="2" fill="#FF4D4F" stroke="#A80000" />
|
|
183
|
+
</svg>
|
|
184
|
+
<span class="stat-number">{{ homeRedCardsCount || 0 }}</span>
|
|
185
|
+
</span>
|
|
186
|
+
<span class="stat yellow">
|
|
187
|
+
<svg
|
|
188
|
+
width="12"
|
|
189
|
+
height="16"
|
|
190
|
+
viewBox="0 0 14 18"
|
|
191
|
+
fill="none"
|
|
192
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
193
|
+
>
|
|
194
|
+
<rect width="14" height="18" rx="2" fill="#FFE066" stroke="#BFA600" />
|
|
195
|
+
</svg>
|
|
196
|
+
<span class="stat-number">{{ homeYellowCardsCount || 0 }}</span>
|
|
197
|
+
</span>
|
|
198
|
+
</div>
|
|
199
|
+
<div class="empty"></div>
|
|
200
|
+
<div class="team-stats">
|
|
201
|
+
<span class="stat-number">{{ awayYellowCardsCount || 0 }}</span>
|
|
202
|
+
<span class="stat yellow">
|
|
203
|
+
<svg
|
|
204
|
+
width="12"
|
|
205
|
+
height="16"
|
|
206
|
+
viewBox="0 0 14 18"
|
|
207
|
+
fill="none"
|
|
208
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
209
|
+
>
|
|
210
|
+
<rect width="14" height="18" rx="2" fill="#FFE066" stroke="#BFA600" />
|
|
211
|
+
</svg>
|
|
212
|
+
</span>
|
|
213
|
+
<span class="stat-number">{{ awayRedCardsCount || 0 }}</span>
|
|
214
|
+
<span class="stat red">
|
|
215
|
+
<svg
|
|
216
|
+
width="12"
|
|
217
|
+
height="16"
|
|
218
|
+
viewBox="0 0 14 18"
|
|
219
|
+
fill="none"
|
|
220
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
221
|
+
>
|
|
222
|
+
<rect width="14" height="18" rx="2" fill="#FF4D4F" stroke="#A80000" />
|
|
223
|
+
</svg>
|
|
224
|
+
</span>
|
|
225
|
+
<div
|
|
226
|
+
class="separator"
|
|
227
|
+
:class="{ 'two-lines': visitingGoalsMinutes && visitingGoalsMinutes.includes('\n') }"
|
|
228
|
+
></div>
|
|
229
|
+
<span
|
|
230
|
+
class="stat time"
|
|
231
|
+
:class="{ 'two-lines': visitingGoalsMinutes && visitingGoalsMinutes.includes('\n') }"
|
|
232
|
+
v-if="visitingGoalsMinutes !== null"
|
|
233
|
+
>{{ visitingGoalsMinutes }}</span
|
|
234
|
+
>
|
|
235
|
+
<span class="stat ball">
|
|
236
|
+
<svg
|
|
237
|
+
width="19"
|
|
238
|
+
height="19"
|
|
239
|
+
viewBox="0 0 20 20"
|
|
240
|
+
fill="none"
|
|
241
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
242
|
+
>
|
|
243
|
+
<path
|
|
244
|
+
fill-rule="evenodd"
|
|
245
|
+
clip-rule="evenodd"
|
|
246
|
+
d="M10.0268 2.83594C6.09038 2.83594 2.89844 6.01986 2.89844 9.94705C2.89844 13.8742 6.09038 17.0582 10.0268 17.0582C13.9632 17.0582 17.1551 13.8742 17.1551 9.94705C17.1551 6.01986 13.9632 2.83594 10.0268 2.83594V2.83594Z"
|
|
247
|
+
stroke="white"
|
|
248
|
+
stroke-width="1.36665"
|
|
249
|
+
stroke-linecap="round"
|
|
250
|
+
stroke-linejoin="round"
|
|
251
|
+
/>
|
|
252
|
+
<path
|
|
253
|
+
fill-rule="evenodd"
|
|
254
|
+
clip-rule="evenodd"
|
|
255
|
+
d="M8.0826 12.9597L6.87109 9.2304L10.0401 6.92578L13.2097 9.2304L11.9995 12.9597H8.0826Z"
|
|
256
|
+
stroke="white"
|
|
257
|
+
stroke-width="1.36665"
|
|
258
|
+
stroke-linecap="round"
|
|
259
|
+
stroke-linejoin="round"
|
|
260
|
+
/>
|
|
261
|
+
<path
|
|
262
|
+
d="M12.7277 3.39453L10.0276 4.54375L7.32812 3.39453"
|
|
263
|
+
stroke="white"
|
|
264
|
+
stroke-width="1.36665"
|
|
265
|
+
stroke-linecap="round"
|
|
266
|
+
stroke-linejoin="round"
|
|
267
|
+
/>
|
|
268
|
+
<path
|
|
269
|
+
d="M4.65662 5.34766L4.91603 8.27341L2.98828 10.4871"
|
|
270
|
+
stroke="white"
|
|
271
|
+
stroke-width="1.36665"
|
|
272
|
+
stroke-linecap="round"
|
|
273
|
+
stroke-linejoin="round"
|
|
274
|
+
/>
|
|
275
|
+
<path
|
|
276
|
+
d="M4.01562 13.6523L6.87533 14.3093L8.38436 16.8279"
|
|
277
|
+
stroke="white"
|
|
278
|
+
stroke-width="1.36665"
|
|
279
|
+
stroke-linecap="round"
|
|
280
|
+
stroke-linejoin="round"
|
|
281
|
+
/>
|
|
282
|
+
<path
|
|
283
|
+
d="M11.7031 16.8213L13.2109 14.3015L16.0697 13.6445"
|
|
284
|
+
stroke="white"
|
|
285
|
+
stroke-width="1.36665"
|
|
286
|
+
stroke-linecap="round"
|
|
287
|
+
stroke-linejoin="round"
|
|
288
|
+
/>
|
|
289
|
+
<path
|
|
290
|
+
d="M17.1051 10.4865L15.1758 8.27156L15.4349 5.34766"
|
|
291
|
+
stroke="white"
|
|
292
|
+
stroke-width="1.36665"
|
|
293
|
+
stroke-linecap="round"
|
|
294
|
+
stroke-linejoin="round"
|
|
295
|
+
/>
|
|
296
|
+
<path
|
|
297
|
+
d="M10.0456 4.54688V6.92693"
|
|
298
|
+
stroke="white"
|
|
299
|
+
stroke-width="1.36665"
|
|
300
|
+
stroke-linecap="round"
|
|
301
|
+
stroke-linejoin="round"
|
|
302
|
+
/>
|
|
303
|
+
<path
|
|
304
|
+
d="M13.2109 9.32248L15.1681 8.27344"
|
|
305
|
+
stroke="white"
|
|
306
|
+
stroke-width="1.36665"
|
|
307
|
+
stroke-linecap="round"
|
|
308
|
+
stroke-linejoin="round"
|
|
309
|
+
/>
|
|
310
|
+
<path
|
|
311
|
+
d="M11.9961 12.9609L13.2064 14.3086"
|
|
312
|
+
stroke="white"
|
|
313
|
+
stroke-width="1.36665"
|
|
314
|
+
stroke-linecap="round"
|
|
315
|
+
stroke-linejoin="round"
|
|
316
|
+
/>
|
|
317
|
+
<path
|
|
318
|
+
d="M8.08198 12.9609L6.87109 14.3099"
|
|
319
|
+
stroke="white"
|
|
320
|
+
stroke-width="1.36665"
|
|
321
|
+
stroke-linecap="round"
|
|
322
|
+
stroke-linejoin="round"
|
|
323
|
+
/>
|
|
324
|
+
<path
|
|
325
|
+
d="M4.91797 8.27344L6.87609 9.22818"
|
|
326
|
+
stroke="white"
|
|
327
|
+
stroke-width="1.36665"
|
|
328
|
+
stroke-linecap="round"
|
|
329
|
+
stroke-linejoin="round"
|
|
330
|
+
/>
|
|
331
|
+
</svg>
|
|
332
|
+
</span>
|
|
333
|
+
</div>
|
|
334
|
+
</div>
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
</template>
|
|
338
|
+
|
|
339
|
+
<script setup>
|
|
340
|
+
import { formatDate } from '../../utils/dateUtils.js'
|
|
341
|
+
import { computed } from 'vue'
|
|
342
|
+
|
|
343
|
+
function traducirJornada(jornada) {
|
|
344
|
+
if (!jornada) return ''
|
|
345
|
+
return jornada
|
|
346
|
+
.replace('Matchday', 'J')
|
|
347
|
+
.replace('de Final', '')
|
|
348
|
+
.replace('Playoffs 1', 'CFI')
|
|
349
|
+
.replace('Playoffs 2', 'CFV')
|
|
350
|
+
.replace('Playoffs 3', 'SI')
|
|
351
|
+
.replace('Playoffs 4', 'SV')
|
|
352
|
+
.replace('Playoffs 5', 'FI')
|
|
353
|
+
.replace('Playoffs 6', 'FV')
|
|
354
|
+
}
|
|
355
|
+
// Aquí puedes agregar props si quieres que los nombres de equipos y jornada sean dinámicos
|
|
356
|
+
const props = defineProps({
|
|
357
|
+
report: {
|
|
358
|
+
type: Object,
|
|
359
|
+
default: () => ({}),
|
|
360
|
+
},
|
|
361
|
+
})
|
|
362
|
+
|
|
363
|
+
// Función computada para extraer y concatenar solo los minutos de los goles
|
|
364
|
+
const homeGoalsMinutes = computed(() => {
|
|
365
|
+
const goalsArray = props.report?.game?.minutes?.home_goals_minutes
|
|
366
|
+
|
|
367
|
+
if (!Array.isArray(goalsArray) || goalsArray.length === 0) {
|
|
368
|
+
return null
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// Extraer solo los minutos de cada string
|
|
372
|
+
const minutes = goalsArray
|
|
373
|
+
.map((goal) => {
|
|
374
|
+
// Buscar el patrón de minutos al final del string (números seguidos de ')
|
|
375
|
+
const match = goal.match(/(\d+)'$/)
|
|
376
|
+
return match ? match[1] + "'" : ''
|
|
377
|
+
})
|
|
378
|
+
.filter((minute) => minute !== '')
|
|
379
|
+
|
|
380
|
+
// Si hay más de 5 goles, dividir en 2 renglones
|
|
381
|
+
if (minutes.length > 5) {
|
|
382
|
+
const firstRow = minutes.slice(0, 5).join(', ')
|
|
383
|
+
const secondRow = minutes.slice(5).join(', ')
|
|
384
|
+
return `${firstRow}\n${secondRow}`
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// Si hay 5 o menos goles, mostrar en un solo renglón
|
|
388
|
+
return minutes.join(', ')
|
|
389
|
+
})
|
|
390
|
+
|
|
391
|
+
// Función computada para extraer y concatenar solo los minutos de los goles del equipo visitante
|
|
392
|
+
const visitingGoalsMinutes = computed(() => {
|
|
393
|
+
const goalsArray = props.report?.game?.minutes?.visiting_goals_minutes
|
|
394
|
+
|
|
395
|
+
if (!Array.isArray(goalsArray) || goalsArray.length === 0) {
|
|
396
|
+
return null
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// Extraer solo los minutos de cada string
|
|
400
|
+
const minutes = goalsArray
|
|
401
|
+
.map((goal) => {
|
|
402
|
+
// Buscar el patrón de minutos al final del string (números seguidos de ')
|
|
403
|
+
const match = goal.match(/(\d+)'$/)
|
|
404
|
+
return match ? match[1] + "'" : ''
|
|
405
|
+
})
|
|
406
|
+
.filter((minute) => minute !== '')
|
|
407
|
+
|
|
408
|
+
// Si hay más de 5 goles, dividir en 2 renglones
|
|
409
|
+
if (minutes.length > 5) {
|
|
410
|
+
const firstRow = minutes.slice(0, 5).join(', ')
|
|
411
|
+
const secondRow = minutes.slice(5).join(', ')
|
|
412
|
+
return `${firstRow}\n${secondRow}`
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// Si hay 5 o menos goles, mostrar en un solo renglón
|
|
416
|
+
return minutes.join(', ')
|
|
417
|
+
})
|
|
418
|
+
|
|
419
|
+
// Funciones computadas para validar y obtener las tarjetas
|
|
420
|
+
const homeRedCardsCount = computed(() => {
|
|
421
|
+
const redCardsArray = props.report?.game?.minutes?.home_red_cards_minutes
|
|
422
|
+
return Array.isArray(redCardsArray) && redCardsArray.length > 0 ? redCardsArray.length : null
|
|
423
|
+
})
|
|
424
|
+
|
|
425
|
+
const homeYellowCardsCount = computed(() => {
|
|
426
|
+
const yellowCardsArray = props.report?.game?.minutes?.home_yellow_cards_minutes
|
|
427
|
+
return Array.isArray(yellowCardsArray) && yellowCardsArray.length > 0
|
|
428
|
+
? yellowCardsArray.length
|
|
429
|
+
: null
|
|
430
|
+
})
|
|
431
|
+
|
|
432
|
+
const awayYellowCardsCount = computed(() => {
|
|
433
|
+
const yellowCardsArray = props.report?.game?.minutes?.away_yellow_cards_minutes
|
|
434
|
+
return Array.isArray(yellowCardsArray) && yellowCardsArray.length > 0
|
|
435
|
+
? yellowCardsArray.length
|
|
436
|
+
: null
|
|
437
|
+
})
|
|
438
|
+
|
|
439
|
+
const awayRedCardsCount = computed(() => {
|
|
440
|
+
const redCardsArray = props.report?.game?.minutes?.away_red_cards_minutes
|
|
441
|
+
return Array.isArray(redCardsArray) && redCardsArray.length > 0 ? redCardsArray.length : null
|
|
442
|
+
})
|
|
443
|
+
</script>
|
|
444
|
+
|
|
445
|
+
<style scoped>
|
|
446
|
+
.prematch-bg {
|
|
447
|
+
width: 100%;
|
|
448
|
+
height: 222px;
|
|
449
|
+
/* height: 100vh; */
|
|
450
|
+
background: url('https://golstatsimages.blob.core.windows.net/reports-images/background-postmatch-template-02.jpg');
|
|
451
|
+
background-size: cover;
|
|
452
|
+
background-repeat: no-repeat;
|
|
453
|
+
display: flex;
|
|
454
|
+
flex-direction: column;
|
|
455
|
+
justify-content: center;
|
|
456
|
+
align-items: center;
|
|
457
|
+
position: relative;
|
|
458
|
+
overflow: hidden;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.background-shields {
|
|
462
|
+
position: absolute;
|
|
463
|
+
top: 0;
|
|
464
|
+
left: 0;
|
|
465
|
+
width: 100%;
|
|
466
|
+
height: 100%;
|
|
467
|
+
pointer-events: none;
|
|
468
|
+
z-index: 1;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.shield-left {
|
|
472
|
+
position: absolute;
|
|
473
|
+
left: -80px;
|
|
474
|
+
top: 50%;
|
|
475
|
+
transform: translateY(-50%);
|
|
476
|
+
opacity: 0.09;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.shield-left img {
|
|
480
|
+
width: 170px;
|
|
481
|
+
object-fit: contain;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.shield-right {
|
|
485
|
+
position: absolute;
|
|
486
|
+
right: -80px;
|
|
487
|
+
top: 50%;
|
|
488
|
+
transform: translateY(-50%);
|
|
489
|
+
opacity: 0.09;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.shield-right img {
|
|
493
|
+
width: 170px;
|
|
494
|
+
object-fit: contain;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.header {
|
|
498
|
+
padding: 24px 32px;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.logo {
|
|
502
|
+
height: 40px;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.main-content {
|
|
506
|
+
display: flex;
|
|
507
|
+
flex-direction: column;
|
|
508
|
+
align-items: center;
|
|
509
|
+
/* Elimina el margin-top para centrar verticalmente */
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.title {
|
|
513
|
+
font-size: 0.8rem;
|
|
514
|
+
color: #fff;
|
|
515
|
+
margin-top: 13px;
|
|
516
|
+
font-family: Poppins-Regular;
|
|
517
|
+
position: relative;
|
|
518
|
+
z-index: 2;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.highlight {
|
|
522
|
+
font-family: Poppins-Bold;
|
|
523
|
+
color: #fff;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.subtitle {
|
|
527
|
+
font-family: Poppins-Regular;
|
|
528
|
+
margin-top: -8px;
|
|
529
|
+
font-size: 1.1rem;
|
|
530
|
+
color: #e0e0e0;
|
|
531
|
+
position: relative;
|
|
532
|
+
z-index: 2;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.jornada {
|
|
536
|
+
font-family: Poppins-Medium;
|
|
537
|
+
color: #fff;
|
|
538
|
+
font-size: 0.4rem;
|
|
539
|
+
line-height: 2.2;
|
|
540
|
+
letter-spacing: 0.2px;
|
|
541
|
+
opacity: 0.8;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.fecha {
|
|
545
|
+
font-family: Poppins-Regular;
|
|
546
|
+
color: #e0e0e0;
|
|
547
|
+
opacity: 0.8;
|
|
548
|
+
line-height: 2.2;
|
|
549
|
+
letter-spacing: 0.2px;
|
|
550
|
+
font-size: 0.4rem;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.teams-row {
|
|
554
|
+
display: none;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.teams-grid {
|
|
558
|
+
display: flex;
|
|
559
|
+
flex-direction: column;
|
|
560
|
+
align-items: center;
|
|
561
|
+
width: 100%;
|
|
562
|
+
margin-top: 14px;
|
|
563
|
+
position: relative;
|
|
564
|
+
z-index: 2;
|
|
565
|
+
}
|
|
566
|
+
.row {
|
|
567
|
+
display: flex;
|
|
568
|
+
width: 100%;
|
|
569
|
+
gap: 20px;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
align-items: center;
|
|
572
|
+
}
|
|
573
|
+
.row-top {
|
|
574
|
+
margin-bottom: 0px;
|
|
575
|
+
}
|
|
576
|
+
.row-bottom {
|
|
577
|
+
margin-top: 0;
|
|
578
|
+
}
|
|
579
|
+
.team {
|
|
580
|
+
display: flex;
|
|
581
|
+
align-items: center;
|
|
582
|
+
gap: 6px;
|
|
583
|
+
}
|
|
584
|
+
.score {
|
|
585
|
+
margin: 0 24px;
|
|
586
|
+
}
|
|
587
|
+
.team-stats {
|
|
588
|
+
width: auto;
|
|
589
|
+
background: black;
|
|
590
|
+
display: flex;
|
|
591
|
+
align-items: center;
|
|
592
|
+
justify-content: center;
|
|
593
|
+
gap: 1px;
|
|
594
|
+
padding: 0.5px 2px;
|
|
595
|
+
border-radius: 2px;
|
|
596
|
+
background-color: rgba(21, 34, 46, 0.18);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.team-stats .stat.ball svg {
|
|
600
|
+
width: 9px !important;
|
|
601
|
+
height: 9px !important;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.team-stats .stat.yellow svg,
|
|
605
|
+
.team-stats .stat.red svg {
|
|
606
|
+
width: 7px !important;
|
|
607
|
+
height: 7px !important;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.stat-number,
|
|
611
|
+
.stat.time {
|
|
612
|
+
font-size: 0.4rem;
|
|
613
|
+
margin-left: 0.5px;
|
|
614
|
+
font-family: Poppins-Medium;
|
|
615
|
+
color: #fff;
|
|
616
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
617
|
+
letter-spacing: -0.2px;
|
|
618
|
+
font-weight: 600;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.stat.yellow svg rect {
|
|
622
|
+
stroke: #ffd600;
|
|
623
|
+
filter: drop-shadow(0 1px 2px #bfa60055);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.stat.red svg rect {
|
|
627
|
+
stroke: #ff2222;
|
|
628
|
+
filter: drop-shadow(0 1px 2px #a8000055);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.empty {
|
|
632
|
+
width: 60px;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.team-local-block,
|
|
636
|
+
.team-visitor-block {
|
|
637
|
+
display: flex;
|
|
638
|
+
flex-direction: column;
|
|
639
|
+
align-items: center;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.escudo-svg {
|
|
643
|
+
display: flex;
|
|
644
|
+
justify-content: center;
|
|
645
|
+
align-items: center;
|
|
646
|
+
width: 55px;
|
|
647
|
+
height: 55px;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.team-name {
|
|
651
|
+
font-size: 0.8rem;
|
|
652
|
+
font-family: Poppins-bold;
|
|
653
|
+
font-weight: 700;
|
|
654
|
+
color: #fff;
|
|
655
|
+
letter-spacing: 2px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.score {
|
|
659
|
+
display: flex;
|
|
660
|
+
justify-content: center;
|
|
661
|
+
align-items: center;
|
|
662
|
+
margin: 0 0px;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.score-text {
|
|
666
|
+
font-size: 3rem;
|
|
667
|
+
font-family: BebasNeue-Bold;
|
|
668
|
+
font-weight: 700;
|
|
669
|
+
color: #fff;
|
|
670
|
+
margin-top: 5px;
|
|
671
|
+
letter-spacing: 1px;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.team-stats {
|
|
675
|
+
display: flex;
|
|
676
|
+
align-items: center;
|
|
677
|
+
margin-top: 4px;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.stat {
|
|
681
|
+
display: flex;
|
|
682
|
+
align-items: center;
|
|
683
|
+
justify-content: center;
|
|
684
|
+
font-size: 0.5rem;
|
|
685
|
+
color: #fff;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.stat-number {
|
|
689
|
+
margin-left: 1px;
|
|
690
|
+
font-size: 0.5rem;
|
|
691
|
+
font-family: Poppins-Regular;
|
|
692
|
+
color: #fff;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.stat.yellow svg {
|
|
696
|
+
margin-right: 1px;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.stat.red svg {
|
|
700
|
+
margin-right: 1px;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.stat.time {
|
|
704
|
+
font-size: 0.5rem;
|
|
705
|
+
font-family: Poppins-Regular;
|
|
706
|
+
color: #fff;
|
|
707
|
+
margin: 0 2px;
|
|
708
|
+
white-space: pre-line;
|
|
709
|
+
text-align: center;
|
|
710
|
+
line-height: 1.2;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.stat.time.two-lines {
|
|
714
|
+
margin-top: 12px;
|
|
715
|
+
text-align: left;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.team-stats .stat-number {
|
|
719
|
+
font-size: 0.5rem;
|
|
720
|
+
font-family: Poppins-Regular;
|
|
721
|
+
color: #fff;
|
|
722
|
+
margin: 0 1px;
|
|
723
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
724
|
+
letter-spacing: -0.2px;
|
|
725
|
+
font-weight: 600;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.stat.ball svg {
|
|
729
|
+
display: block;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.separator {
|
|
733
|
+
width: 1px;
|
|
734
|
+
height: 12px;
|
|
735
|
+
border-right: 1px dotted #fff;
|
|
736
|
+
margin: 0 4px 0 4px;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.separator.two-lines {
|
|
740
|
+
height: 18px;
|
|
741
|
+
margin-top: 10px;
|
|
742
|
+
}
|
|
743
|
+
</style>
|