-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathandrew_scoreboard2.svg.erb
488 lines (474 loc) · 26.1 KB
/
andrew_scoreboard2.svg.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!--
Copyright 2011 Exavideo LLC.
This file is part of Exaboard.
Exaboard is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Exaboard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Exaboard. If not, see <http://www.gnu.org/licenses/>.
-->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
width="800"
height="400"
id="svg2"
inkscape:version="0.48.1 r9760"
sodipodi:docname="andrew_scoreboard2.svg">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1400"
inkscape:window-height="956"
id="namedview4095"
showgrid="false"
inkscape:zoom="5.16"
inkscape:cx="154.62772"
inkscape:cy="200"
inkscape:window-x="0"
inkscape:window-y="31"
inkscape:window-maximized="1"
inkscape:current-layer="clock" />
<defs
id="defs4">
<linearGradient
x1="0.5"
y1="0"
x2="0.5"
y2="1"
id="g1">
<stop
id="stop5098"
style="stop-color:#000000;stop-opacity:0.69999999"
offset="0" />
<stop
id="stop5100"
style="stop-color:#000000;stop-opacity:0"
offset="0.25" />
<stop
id="stop5102"
style="stop-color:#000000;stop-opacity:0"
offset="0.75" />
<stop
id="stop5104"
style="stop-color:#000000;stop-opacity:0.69999999"
offset="1" />
</linearGradient>
<linearGradient
x1="0.5"
y1="0"
x2="0.5"
y2="1"
id="g2">
<stop
id="stop5107"
style="stop-color:#ffffff;stop-opacity:0"
offset="0" />
<stop
id="stop5109"
style="stop-color:#ffffff;stop-opacity:0.60000002"
offset="0.47" />
<stop
id="stop5111"
style="stop-color:#ffffff;stop-opacity:0"
offset="0.53" />
<stop
id="stop5113"
style="stop-color:#ffffff;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#g1"
id="linearGradient4109"
x1="114.11135"
y1="862.58344"
x2="114.11135"
y2="918.71721"
gradientTransform="scale(1.2202993,0.81947108)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#g2"
id="linearGradient4111"
x1="114.11135"
y1="862.58344"
x2="114.11135"
y2="918.71721"
gradientTransform="scale(1.2202993,0.81947108)"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="scale(1.25) translate(0.5,-556.86218)"
id="layer1">
<g
id="rpitvLogo">
<path
d="m 28,697.36218 50,-100 120,0 -50,100 z"
id="path2987"
style="fill:#808080;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 28,697.36218 50,-100 120,0 -50,100 z"
id="path5756"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 28,697.36218 50,-100 120,0 -50,100 z"
id="path5738"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<image
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIkAAAAyCAYAAABoKfh/AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBI WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gkbEhopb4by1AAAEfVJREFUeNrtXHl4VdW1/+29z3jv zUAwAwhCAiJhChWkYBGQWWitqKg8kYJK0Ve0Vauttjh8r1VBEeuztU5FWz6cQBxR64T6EMUBY1Sk EkQZMhACubkk95yz917vj2BImDLdkKCs77tfcs7dZ5999vrttX5rrX0ucEyOSQPCjk1BYuRvkVQk c2a4jNkWY5bJmM0ZOADGAKYBwQgMDIwIfkAU94kCDwiqtfajROo3sYpjIDka5emUDm6E80yH86wQ 51kuZ51szrNMxjqZjGUJxo5jDEkMSBaMuYIxmwM2Y7AYGGMHmWgCoAFJRL4GfF3zN06EHYpouyIq Coi2e5q2V2m9badSXxVJ9e30inLvGEjaSFakpIVSBO8Z4bxHshA9XMFzTM56GIzlmIx1tjl3TMY4 ZwBnR3bKiAiSiDxNsYBok9S03td6/W6p120KgvfP3FVWegwkCZJHk1PRkXPb5bxHqhADUg0xwOG8 n8lZX4uxbq7gwmR11347FwI8rXVc68JA05qY1G9tCYJXtgRy+4XRcjoGkkbI6uPSbYsh22ZsiAZO IcJgDeoDxpI1AzzU2HcfQABA7b1OgMFgQIgxhBlDiDM4jMNhDA5jcBmDyTkEqyEcaEeg8pVW1Vp/ HFd6ZUkgn1zvBesvqNhJx0CyVwzDBGMstb8QeScJfjXnfEgVkFkOsAow7GFANWMIwKAYoBgDwBrU MQMg9n4MAGEipDCGNADHMYYMxtCZM2RzgW6CozPnSBECNudH3DXVFalJVSm1Jib1w1t8f9nQstLY DwokhmkanPGThBADDUMMZIz3ZQy9GeOdOGdOW7kMBsAGkEaErgD6Co7+QqCfEMg2BJKF0SbAiSu9 LRbIBV/H/QeH7Cyt/t6BZK+FSBJCDDMMMZJzPo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BURoUgq/DsI8Gog8QFp7AJA3zNQEBG0 1tVa67eVlCukks9rrbcHQftga01W9HjTZFMjoQtHhSMLe9h2xpHMb3pKY4NUWC0lVkuJfNLYARw1 xHc/UMSJ9Jda6zeCQL6hlHorCIJ2ScuareOrQ6HMceHQjXmue3GWaTpHPBlOgE8aRVLjC6XwqVIo 0AobNaEEhD0AdDsBBGkd10RbiegTrdVHSqm1Sql1WutdUrZ/9tUi3Z5qGBjtONmnue4VJ9rWzBMs q4No49qJ0oQ9WqNUa3yjNDZpjS1ao5QIpUQoI0I5aiKpeAutEBHBABAiIAKgA4AsxpAMqpRaf0hE 73hav/GO7+eX1hDQo9JTJkyjl4fcyKmOfXZf25nWyTBGZ5im1d5+944IIBACIsQ1wSOCR0CMCHtA iBGhigAJQkCAAtW+JMsBWGCwGeAACDOGJABCa01EX5ugtYGm93Yp+V5MqYJyparPqfx+BPWtosW5 IbfjUNue0Nu2z+ggxKh0w+gcEYIfrRVaIoLSmjytqwKtCwOtC+JKfVIm5SfFUq6bVBHdie+xtLrW ptk2H2AZPfua1rDjTXNIkhCDw5z3iAiRFuaciXZSrSUiKNLwNfmB1mWSaLPUutDXemNMqfXlUq0v U2rTWdFoFX5g0iZL+9eua3czRNbxhtG7syH6pAoj1+G8u8VYZ4uxdJPzNJczw2Y1v6rMgKbvat/7 OgERQQOQRPC1VopotyIq00TFClQsNRX5Wm+rVKowqtWmCqW37NK6YkZl7Fg+ry1BciiZbdvIEMLs yLnjcpaRxnmnMGfJLuMRh7GwzVjEZCxsMhZmDAwEYjVBDDFAE0CaKC6Joj5RpUc66hFVekRRT1OF Anbs0dqLah3M3VNFx9TfOPl/kxzFRoZWMtwAAAAASUVORK5CYII="
x="56.893421"
y="627.36218"
width="112.21316"
height="40.000011"
id="rpitv_logo"
style="overflow:visible" />
</g>
<?rb
message = nil
time_to_change = ''
home_team.flag = false
away_team.flag = false
# priority decode team states...
if home_team.delayed_penalty
message = "DELAYED PENALTY"
home_team.flag = true
elsif away_team.delayed_penalty
message = "DELAYED PENALTY"
away_team.flag = true
elsif home_team.strength != 5 or away_team.strength != 5
smaller = [home_team, away_team].min_by { |x| x.strength }
if smaller == home_team
bigger = away_team
else
bigger = home_team
end
time_to_change = format_time_without_tenths_round([
home_team.penalties.time_to_strength_change,
away_team.penalties.time_to_strength_change
].reject { |x| x == 0 }.min)
# simple case: penalty, no empty nets
if not bigger.empty_net and not smaller.empty_net
if bigger.strength > smaller.strength
bigger.flag = true
end
if bigger.strength == 5 and smaller.strength == 4
message = "POWER PLAY"
else
message = "#{bigger.strength}-ON-#{smaller.strength}"
end
elsif bigger.empty_net and not smaller.empty_net
bigger.flag = true
if bigger.strength == 5 and smaller.strength == 4
message = "EMPTY NET + PP"
else
message = "EMPTY #{bigger.strength+1}-ON-#{smaller.strength}"
if bigger.strength > smaller.strength
bigger.flag = true
end
end
elsif smaller.empty_net and not bigger.empty_net
message = "EMPTY #{bigger.strength}-ON-#{smaller.strength+1}"
else
message = "WTF EMPTY NETS"
end
elsif home_team.empty_net and away_team.empty_net
message = "WTF EMPTY NETS"
elsif home_team.empty_net and not away_team.empty_net
message = "EMPTY NET"
home_team.flag = true
elsif away_team.empty_net and not home_team.empty_net
message = "EMPTY NET"
away_team.flag = true
end
if home_team.flag or away_team.flag
ppbg = "#ffff00"
else
ppbg = "#dddddd"
end
if message
?> <g
id="powerPlayClock">
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path2989"
style="fill:@{ ppbg }@;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path5144"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path5748"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
x="229.82007"
y="580.1062"
id="text3026"
xml:space="preserve"
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="229.82007"
y="580.1062"
id="announceText"
style="font-size:22px">@{ message }@ @{ time_to_change }@</tspan></text>
</g>
<?rb end ?><?rb if announce.is_up ?>
<g id="announce">
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path4049"
style="fill:#ffff00;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path4051"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path4053"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<g opacity="@{ announce_text_opacity }@">
<text
x="229.82007"
y="580.1062"
id="text4055"
xml:space="preserve"
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="229.82007"
y="580.1062"
id="tspan4057"
style="font-size:22px">@{ announce.message }@</tspan></text>
</g>
</g>
<?rb end ?><?rb if status.is_up ?>
<g id="announce">
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path4049"
style="fill:#dddddd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path4051"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 83,587.36218 15,-30 280,0 -15,30 z"
id="path4053"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
x="229.82007"
y="580.1062"
id="text4055"
xml:space="preserve"
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="229.82007"
y="580.1062"
id="tspan4057"
style="font-size:22px">@{ status.text }@</tspan></text>
</g>
<?rb end ?>
<?rb
atbg = away_team.flag ? '#ffff00' : away_team.bgcolor
atfg = away_team.flag ? '#000000' : away_team.fgcolor
?>
<g id="awayTeam">
<path
d="m 208,597.36218 -22.5,45 95,0 22.5,-45 z"
id="awayTeamBkgd"
style="fill:@{ atbg }@;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 208,597.36218 -22.5,45 95,0 22.5,-45 z"
id="path5662"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 208,597.36218 -22.5,45 95,0 22.5,-45 z"
id="path5750"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
x="244.30907"
y="628.26221"
id="text3049"
xml:space="preserve"
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="244.30907"
y="628.26221"
id="awayTeamNameText"
style="font-size:24px;fill:@{ atfg }@">@{ away_team.name }@</tspan></text>
</g>
<g
id="homeScore">
<path
d="m 285.5,652.36218 -22.5,45 45,0 22.5,-45 z"
id="path2999"
style="fill:#1a1a1a;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
opacity="@{ home_blink_opacity }@"
d="m 285.5,652.36218 -22.5,45 45,0 22.5,-45 z"
id="path2999"
style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 285.5,652.36218 -22.5,45 45,0 22.5,-45 z"
id="path5700"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 285.5,652.36218 -22.5,45 45,0 22.5,-45 z"
id="path5752"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
x="297.75534"
y="688.46216"
id="text3065"
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="297.75534"
y="688.46216"
id="homeScoreText">@{ home_team.score }@</tspan></text>
</g>
<?rb
htbg = home_team.flag ? '#ffff00' : home_team.bgcolor
htfg = home_team.flag ? '#000000' : home_team.fgcolor
?>
<g
id="homeTeam">
<path
d="m 180.5,652.36218 -22.5,45 95,0 22.5,-45 z"
id="path2993"
style="fill:@{ htbg }@;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 180.5,652.36218 -22.5,45 95,0 22.5,-45 z"
id="path5680"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 180.5,652.36218 -22.5,45 95,0 22.5,-45 z"
id="path5754"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
x="216.86513"
y="683.26221"
id="text3053"
xml:space="preserve"
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:@{ htfg }@;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="216.86513"
y="683.26221"
id="homeTeamNameText"
style="font-size:24px">@{ home_team.name }@</tspan></text>
</g>
<g
id="period"
transform="translate(25.92012,0)">
<path
d="m 128,707.36218 -22.5,45 45,0 22.5,-45 z"
id="path2999-7"
style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
d="m 128,707.36218 -22.5,45 45,0 22.5,-45 z"
id="path5718"
style="fill:url(#linearGradient4109);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
d="m 128,707.36218 -22.5,45 45,0 22.5,-45 z"
id="path5762"
style="fill:url(#linearGradient4111);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<text
x="140.26334"
y="743.08619"
id="text3073"
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#f9f9f9;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"
sodipodi:linespacing="125%"><tspan
x="140.26334"
y="743.08619"
id="periodText">@{ clock.period }@</tspan></text>
</g>
<g
id="clock">
<path
d="m 23,707.36218 -22.5,45 121,0 22.5,-45 z"
id="path2995"
style="fill:#1a1a1a;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
d="m 23,707.36218 -22.5,45 121,0 22.5,-45 z"
id="path5728"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
d="m 23,707.36218 -22.5,45 121,0 22.5,-45 z"
id="path5758"
style="fill:url(#g2);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<text
x="72.284309"
y="743.08619"
id="text3069"
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"
sodipodi:linespacing="125%"><tspan
x="72.284309"
y="743.08619"
id="clockText"
style="font-size:36px;fill:#ffffff">@{ clock.time }@</tspan></text>
</g>
<g
id="awayScore">
<path
d="m 313,597.36218 -22.5,45 45,0 22.5,-45 z"
id="path2997"
style="fill:#1a1a1a;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 313,597.36218 -22.5,45 45,0 22.5,-45 z"
opacity="@{ away_blink_opacity }@"
id="path2997"
style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 313,597.36218 -22.5,45 45,0 22.5,-45 z"
id="path5690"
style="fill:url(#g1);fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m 313,597.36218 -22.5,45 45,0 22.5,-45 z"
id="path6023"
style="fill:url(#g2);stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
x="325.76334"
y="633.05219"
id="text3061"
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Gotham FWN Narrow;-inkscape-font-specification:Gotham FWN Narrow Bold"><tspan
x="325.76334"
y="633.05219"
id="tspan3063">@{ away_team.score }@</tspan></text>
</g>
</g>
</svg>