@courthive/scoring-visualizations 0.2.2 → 0.2.4
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/LICENSE +21 -0
- package/dist/scoring-visualizations.es.js +227 -227
- package/dist/scoring-visualizations.umd.js +1 -1
- package/package.json +8 -9
|
@@ -857,20 +857,20 @@ function Oe() {
|
|
|
857
857
|
}
|
|
858
858
|
let p = n.width - (n.margins.left + n.margins.right), h = n.width * .9;
|
|
859
859
|
a = (h + p) / 2 * .03;
|
|
860
|
-
let g =
|
|
860
|
+
let g = C.map(function(e) {
|
|
861
861
|
return e.id;
|
|
862
862
|
}), v = Ee(g.map(function(e) {
|
|
863
863
|
return isNaN(o.p[e]) ? 0 : o.p[e];
|
|
864
864
|
})), y = Te([Te(g.map(function(e) {
|
|
865
865
|
return isNaN(o.p[e]) ? 0 : o.p[e];
|
|
866
|
-
})), n.minMax]),
|
|
867
|
-
if (i.transition().duration(0).attr("width", p).attr("height", h), i.selectAll(".gradient").data(
|
|
866
|
+
})), n.minMax]), S = _().domain([v, y]).range([0, a * 2]);
|
|
867
|
+
if (i.transition().duration(0).attr("width", p).attr("height", h), i.selectAll(".gradient").data(C, De).join("linearGradient").attr("id", (e) => "gradient" + c(e.id)).attr("class", "gradient").attr("gradientUnits", "userSpaceOnUse").attr("x1", (e) => e.start.x * p).attr("y1", (e) => e.start.y * h).attr("x2", (e) => e.end.x * p).attr("y2", (e) => e.end.y * h).selectAll(".points_stop").data((e) => m(e)).join("stop").attr("class", "points_stop").attr("offset", (e) => e.offset).attr("stop-color", (e) => e.color), i.selectAll(".line").data(C).join((e) => e.append("line").attr("class", "line").attr("id", (e) => c(e.id)).attr("x1", (e) => e.start.x * p).attr("y1", (e) => e.start.y * h).attr("x2", (e) => e.end.x * p).attr("y2", (e) => e.end.y * h).attr("stroke-width", (e) => e.width ? e.width : 0).attr("stroke", (e) => "url(#gradient" + c(e.id) + ")").on("mousemove", function(e, t) {
|
|
868
868
|
l.point.mousemove && l.point.mousemove(t, e);
|
|
869
869
|
}).on("mouseout", function(e, t) {
|
|
870
870
|
l.point.mouseout && l.point.mouseout(t, e);
|
|
871
871
|
}).on("click", function(e, t) {
|
|
872
872
|
l.point.click && l.point.click(t, e);
|
|
873
|
-
}), (e) => e).transition().duration(n.lines.easing || r && r.easing ? n.lines.duration : 0).attr("x1", (e) => e.start.x * p).attr("y1", (e) => e.start.y * h).attr("x2", (e) => e.end.x * p).attr("y2", (e) => e.end.y * h).attr("stroke-width", (e) => o.p[e.id] ?
|
|
873
|
+
}), (e) => e).transition().duration(n.lines.easing || r && r.easing ? n.lines.duration : 0).attr("x1", (e) => e.start.x * p).attr("y1", (e) => e.start.y * h).attr("x2", (e) => e.end.x * p).attr("y2", (e) => e.end.y * h).attr("stroke-width", (e) => o.p[e.id] ? S(o.p[e.id]) : 0), i.selectAll(".uline").data(w).join((e) => e.append("line").attr("class", "uline").attr("stroke", function() {
|
|
874
874
|
return n.lines.colors.underlines;
|
|
875
875
|
})).transition().duration(0).attr("id", function(e) {
|
|
876
876
|
return c(e.id);
|
|
@@ -882,7 +882,7 @@ function Oe() {
|
|
|
882
882
|
return e.end.x * p;
|
|
883
883
|
}).attr("y2", function(e) {
|
|
884
884
|
return e.end.y * h;
|
|
885
|
-
}).attr("stroke-width", (e) => e.width ? e.width : 0), i.selectAll(".node").data(
|
|
885
|
+
}).attr("stroke-width", (e) => e.width ? e.width : 0), i.selectAll(".node").data(x).join((e) => e.append("circle").attr("class", "node").attr("stroke", function(e) {
|
|
886
886
|
return e.color_pct == null ? n.nodes.colors.neutral : Ce(we(n.nodes.colors[e.player]), e.color_pct);
|
|
887
887
|
}).attr("fill", function(e) {
|
|
888
888
|
return e.color_pct == null ? n.nodes.colors.neutral : Ce(we(n.nodes.colors[e.player]), e.color_pct);
|
|
@@ -901,10 +901,10 @@ function Oe() {
|
|
|
901
901
|
}), s) {
|
|
902
902
|
let e = "p" + s;
|
|
903
903
|
i.selectAll(".node").filter(function(t) {
|
|
904
|
-
return t.pos ===
|
|
904
|
+
return t.pos === b[e];
|
|
905
905
|
}).transition().duration(200).attr("r", a * 1.8).transition().duration(300).attr("r", a);
|
|
906
906
|
}
|
|
907
|
-
i.selectAll(".score").data(
|
|
907
|
+
i.selectAll(".score").data(T).join((e) => e.append("text").attr("class", "score").attr("font-family", "Lato, Arial, sans-serif").attr("text-anchor", "middle").attr("alignment-baseline", "central").attr("stroke", (e) => e.stroke).attr("fill", (e) => e.fill).on("mousemove", function(e, t) {
|
|
908
908
|
l.score.mousemove && l.score.mousemove(e, t);
|
|
909
909
|
}).on("mouseout", function(e, t) {
|
|
910
910
|
l.score.mouseout && l.score.mouseout(e, t);
|
|
@@ -912,11 +912,11 @@ function Oe() {
|
|
|
912
912
|
l.score.click && l.score.click(e, t);
|
|
913
913
|
})).transition().duration(0).attr("x", (e) => e.pos.x * p).attr("y", (e) => e.pos.y * h).attr("font-size", (e) => a * e.fontsize + "px").text((e) => {
|
|
914
914
|
if (a * e.fontsize > 5) return e.text;
|
|
915
|
-
}), i.selectAll(".gt_label").data(
|
|
915
|
+
}), i.selectAll(".gt_label").data(E).join((e) => e.append("text").attr("class", "gt_label").attr("alignment-baseline", (e) => e.baseline ? e.baseline : void 0).attr("text-anchor", (e) => e.anchor ? e.anchor : void 0).attr("font-family", "Lato, Arial, sans-serif").attr("stroke", (e) => e.stroke).attr("fill", (e) => e.fill).attr("selector", (e) => e.id).on("click", function(e, t) {
|
|
916
916
|
l.label.click && l.label.click(e, t, this);
|
|
917
917
|
})).transition().duration(0).attr("x", (e) => e.pos.x * p).attr("y", (e) => e.pos.y * h).attr("font-size", (e) => a * e.fontsize + "px").text((e) => {
|
|
918
918
|
if (a * e.fontsize > 5) return n.labels[e.id];
|
|
919
|
-
}), i.selectAll(".selector").data(
|
|
919
|
+
}), i.selectAll(".selector").data(D).join((e) => e.append("circle").attr("class", "selector").attr("status", function(e) {
|
|
920
920
|
return e.status;
|
|
921
921
|
}).attr("id", function(e) {
|
|
922
922
|
return c(e.id);
|
|
@@ -1049,587 +1049,587 @@ function Oe() {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
];
|
|
1051
1051
|
}
|
|
1052
|
-
let h = .07, g = .
|
|
1052
|
+
let h = .07, g = .05, y = {
|
|
1053
1053
|
col1: h,
|
|
1054
|
-
col2:
|
|
1055
|
-
col3:
|
|
1056
|
-
col4:
|
|
1057
|
-
col5:
|
|
1058
|
-
col6:
|
|
1059
|
-
col7:
|
|
1060
|
-
row1:
|
|
1061
|
-
row2:
|
|
1062
|
-
row3:
|
|
1063
|
-
row4:
|
|
1064
|
-
row5:
|
|
1065
|
-
foot:
|
|
1066
|
-
adr1:
|
|
1067
|
-
adc1:
|
|
1068
|
-
adc2:
|
|
1054
|
+
col2: .21000000000000002,
|
|
1055
|
+
col3: .35000000000000003,
|
|
1056
|
+
col4: .49000000000000005,
|
|
1057
|
+
col5: .6300000000000001,
|
|
1058
|
+
col6: .77,
|
|
1059
|
+
col7: .9100000000000001,
|
|
1060
|
+
row1: g,
|
|
1061
|
+
row2: .26,
|
|
1062
|
+
row3: .47,
|
|
1063
|
+
row4: .68,
|
|
1064
|
+
row5: .89,
|
|
1065
|
+
foot: .9109999999999999,
|
|
1066
|
+
adr1: .785,
|
|
1067
|
+
adc1: .42000000000000004,
|
|
1068
|
+
adc2: .56,
|
|
1069
1069
|
selc: h * .8,
|
|
1070
1070
|
tslc: h,
|
|
1071
|
-
sl1r:
|
|
1072
|
-
sl2r:
|
|
1071
|
+
sl1r: g / 2,
|
|
1072
|
+
sl2r: g * 1.5,
|
|
1073
1073
|
plr1: h * .8,
|
|
1074
|
-
plr2:
|
|
1075
|
-
plrs:
|
|
1076
|
-
},
|
|
1074
|
+
plr2: .6300000000000001,
|
|
1075
|
+
plrs: .9425
|
|
1076
|
+
}, b = {
|
|
1077
1077
|
"p0-0": {
|
|
1078
|
-
x:
|
|
1079
|
-
y:
|
|
1078
|
+
x: y.col4,
|
|
1079
|
+
y: y.row1
|
|
1080
1080
|
},
|
|
1081
1081
|
"p1-1": {
|
|
1082
|
-
x:
|
|
1083
|
-
y:
|
|
1082
|
+
x: y.col4,
|
|
1083
|
+
y: y.row2
|
|
1084
1084
|
},
|
|
1085
1085
|
"p2-2": {
|
|
1086
|
-
x:
|
|
1087
|
-
y:
|
|
1086
|
+
x: y.col4,
|
|
1087
|
+
y: y.row3
|
|
1088
1088
|
},
|
|
1089
1089
|
"p3-3": {
|
|
1090
|
-
x:
|
|
1091
|
-
y:
|
|
1090
|
+
x: y.col4,
|
|
1091
|
+
y: y.row4
|
|
1092
1092
|
},
|
|
1093
1093
|
"p1-0": {
|
|
1094
|
-
x:
|
|
1095
|
-
y:
|
|
1094
|
+
x: y.col3,
|
|
1095
|
+
y: y.row2
|
|
1096
1096
|
},
|
|
1097
1097
|
"p0-1": {
|
|
1098
|
-
x:
|
|
1099
|
-
y:
|
|
1098
|
+
x: y.col5,
|
|
1099
|
+
y: y.row2
|
|
1100
1100
|
},
|
|
1101
1101
|
"p2-1": {
|
|
1102
|
-
x:
|
|
1103
|
-
y:
|
|
1102
|
+
x: y.col3,
|
|
1103
|
+
y: y.row3
|
|
1104
1104
|
},
|
|
1105
1105
|
"p1-2": {
|
|
1106
|
-
x:
|
|
1107
|
-
y:
|
|
1106
|
+
x: y.col5,
|
|
1107
|
+
y: y.row3
|
|
1108
1108
|
},
|
|
1109
1109
|
"p2-0": {
|
|
1110
|
-
x:
|
|
1111
|
-
y:
|
|
1110
|
+
x: y.col2,
|
|
1111
|
+
y: y.row3
|
|
1112
1112
|
},
|
|
1113
1113
|
"p0-2": {
|
|
1114
|
-
x:
|
|
1115
|
-
y:
|
|
1114
|
+
x: y.col6,
|
|
1115
|
+
y: y.row3
|
|
1116
1116
|
},
|
|
1117
1117
|
"p3-2": {
|
|
1118
|
-
x:
|
|
1119
|
-
y:
|
|
1118
|
+
x: y.col3,
|
|
1119
|
+
y: y.row4
|
|
1120
1120
|
},
|
|
1121
1121
|
"p2-3": {
|
|
1122
|
-
x:
|
|
1123
|
-
y:
|
|
1122
|
+
x: y.col5,
|
|
1123
|
+
y: y.row4
|
|
1124
1124
|
},
|
|
1125
1125
|
"p3-1": {
|
|
1126
|
-
x:
|
|
1127
|
-
y:
|
|
1126
|
+
x: y.col2,
|
|
1127
|
+
y: y.row4
|
|
1128
1128
|
},
|
|
1129
1129
|
"p1-3": {
|
|
1130
|
-
x:
|
|
1131
|
-
y:
|
|
1130
|
+
x: y.col6,
|
|
1131
|
+
y: y.row4
|
|
1132
1132
|
},
|
|
1133
1133
|
"p3-0": {
|
|
1134
|
-
x:
|
|
1135
|
-
y:
|
|
1134
|
+
x: y.col1,
|
|
1135
|
+
y: y.row4
|
|
1136
1136
|
},
|
|
1137
1137
|
"p0-3": {
|
|
1138
|
-
x:
|
|
1139
|
-
y:
|
|
1138
|
+
x: y.col7,
|
|
1139
|
+
y: y.row4
|
|
1140
1140
|
},
|
|
1141
1141
|
"p3-4": {
|
|
1142
|
-
x:
|
|
1143
|
-
y:
|
|
1142
|
+
x: y.adc1,
|
|
1143
|
+
y: y.adr1
|
|
1144
1144
|
},
|
|
1145
1145
|
"p4-3": {
|
|
1146
|
-
x:
|
|
1147
|
-
y:
|
|
1146
|
+
x: y.adc2,
|
|
1147
|
+
y: y.adr1
|
|
1148
1148
|
},
|
|
1149
1149
|
"p5-3": {
|
|
1150
|
-
x:
|
|
1151
|
-
y:
|
|
1150
|
+
x: y.adc2,
|
|
1151
|
+
y: y.row5
|
|
1152
1152
|
},
|
|
1153
1153
|
"p3-5": {
|
|
1154
|
-
x:
|
|
1155
|
-
y:
|
|
1154
|
+
x: y.adc1,
|
|
1155
|
+
y: y.row5
|
|
1156
1156
|
},
|
|
1157
1157
|
"p4-1": {
|
|
1158
|
-
x:
|
|
1159
|
-
y:
|
|
1158
|
+
x: y.col2,
|
|
1159
|
+
y: y.row5
|
|
1160
1160
|
},
|
|
1161
1161
|
"p1-4": {
|
|
1162
|
-
x:
|
|
1163
|
-
y:
|
|
1162
|
+
x: y.col6,
|
|
1163
|
+
y: y.row5
|
|
1164
1164
|
},
|
|
1165
1165
|
"p4-2": {
|
|
1166
|
-
x:
|
|
1167
|
-
y:
|
|
1166
|
+
x: y.col3,
|
|
1167
|
+
y: y.row5
|
|
1168
1168
|
},
|
|
1169
1169
|
"p2-4": {
|
|
1170
|
-
x:
|
|
1171
|
-
y:
|
|
1170
|
+
x: y.col5,
|
|
1171
|
+
y: y.row5
|
|
1172
1172
|
},
|
|
1173
1173
|
"p4-0": {
|
|
1174
|
-
x:
|
|
1175
|
-
y:
|
|
1174
|
+
x: y.col1,
|
|
1175
|
+
y: y.row5
|
|
1176
1176
|
},
|
|
1177
1177
|
"p0-4": {
|
|
1178
|
-
x:
|
|
1179
|
-
y:
|
|
1178
|
+
x: y.col7,
|
|
1179
|
+
y: y.row5
|
|
1180
1180
|
},
|
|
1181
1181
|
"pG-3": {
|
|
1182
|
-
x:
|
|
1183
|
-
y:
|
|
1182
|
+
x: y.col4,
|
|
1183
|
+
y: y.row5
|
|
1184
1184
|
},
|
|
1185
1185
|
"p3-G": {
|
|
1186
|
-
x:
|
|
1187
|
-
y:
|
|
1186
|
+
x: y.col4,
|
|
1187
|
+
y: y.row5
|
|
1188
1188
|
},
|
|
1189
1189
|
sPlyr: {
|
|
1190
|
-
x:
|
|
1191
|
-
y:
|
|
1190
|
+
x: y.adc1,
|
|
1191
|
+
y: y.plrs
|
|
1192
1192
|
},
|
|
1193
1193
|
tPlyr: {
|
|
1194
|
-
x:
|
|
1195
|
-
y:
|
|
1194
|
+
x: y.col2,
|
|
1195
|
+
y: y.plrs
|
|
1196
1196
|
},
|
|
1197
1197
|
sOpp: {
|
|
1198
|
-
x:
|
|
1199
|
-
y:
|
|
1198
|
+
x: y.adc2,
|
|
1199
|
+
y: y.plrs
|
|
1200
1200
|
},
|
|
1201
1201
|
tOpp: {
|
|
1202
|
-
x:
|
|
1203
|
-
y:
|
|
1202
|
+
x: y.col6,
|
|
1203
|
+
y: y.plrs
|
|
1204
1204
|
},
|
|
1205
1205
|
GAME: {
|
|
1206
|
-
x:
|
|
1207
|
-
y:
|
|
1206
|
+
x: y.col4,
|
|
1207
|
+
y: y.foot
|
|
1208
1208
|
},
|
|
1209
1209
|
L1s: {
|
|
1210
|
-
x:
|
|
1211
|
-
y:
|
|
1210
|
+
x: y.col1,
|
|
1211
|
+
y: y.foot
|
|
1212
1212
|
},
|
|
1213
1213
|
L1e: {
|
|
1214
|
-
x:
|
|
1215
|
-
y:
|
|
1214
|
+
x: y.adc1,
|
|
1215
|
+
y: y.foot
|
|
1216
1216
|
},
|
|
1217
1217
|
L2s: {
|
|
1218
|
-
x:
|
|
1219
|
-
y:
|
|
1218
|
+
x: y.adc2,
|
|
1219
|
+
y: y.foot
|
|
1220
1220
|
},
|
|
1221
1221
|
L2e: {
|
|
1222
|
-
x:
|
|
1223
|
-
y:
|
|
1222
|
+
x: y.col7,
|
|
1223
|
+
y: y.foot
|
|
1224
1224
|
}
|
|
1225
|
-
},
|
|
1225
|
+
}, x = [
|
|
1226
1226
|
{
|
|
1227
1227
|
name: "0-0",
|
|
1228
|
-
pos:
|
|
1228
|
+
pos: b["p0-0"],
|
|
1229
1229
|
player: 0
|
|
1230
1230
|
},
|
|
1231
1231
|
{
|
|
1232
1232
|
name: "15-15",
|
|
1233
|
-
pos:
|
|
1233
|
+
pos: b["p1-1"],
|
|
1234
1234
|
player: 0
|
|
1235
1235
|
},
|
|
1236
1236
|
{
|
|
1237
1237
|
name: "30-30",
|
|
1238
|
-
pos:
|
|
1238
|
+
pos: b["p2-2"],
|
|
1239
1239
|
player: 0
|
|
1240
1240
|
},
|
|
1241
1241
|
{
|
|
1242
1242
|
name: "40-40",
|
|
1243
|
-
pos:
|
|
1243
|
+
pos: b["p3-3"],
|
|
1244
1244
|
player: 0
|
|
1245
1245
|
},
|
|
1246
1246
|
{
|
|
1247
1247
|
name: "0-15",
|
|
1248
|
-
pos:
|
|
1248
|
+
pos: b["p0-1"],
|
|
1249
1249
|
color_pct: .4,
|
|
1250
1250
|
player: 1
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
1253
1253
|
name: "15-30",
|
|
1254
|
-
pos:
|
|
1254
|
+
pos: b["p1-2"],
|
|
1255
1255
|
color_pct: .4,
|
|
1256
1256
|
player: 1
|
|
1257
1257
|
},
|
|
1258
1258
|
{
|
|
1259
1259
|
name: "0-30",
|
|
1260
|
-
pos:
|
|
1260
|
+
pos: b["p0-2"],
|
|
1261
1261
|
color_pct: .2,
|
|
1262
1262
|
player: 1
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
name: "30-40",
|
|
1266
|
-
pos:
|
|
1266
|
+
pos: b["p2-3"],
|
|
1267
1267
|
color_pct: .4,
|
|
1268
1268
|
player: 1
|
|
1269
1269
|
},
|
|
1270
1270
|
{
|
|
1271
1271
|
name: "15-40",
|
|
1272
|
-
pos:
|
|
1272
|
+
pos: b["p1-3"],
|
|
1273
1273
|
color_pct: .2,
|
|
1274
1274
|
player: 1
|
|
1275
1275
|
},
|
|
1276
1276
|
{
|
|
1277
1277
|
name: "0-40",
|
|
1278
|
-
pos:
|
|
1278
|
+
pos: b["p0-3"],
|
|
1279
1279
|
color_pct: 0,
|
|
1280
1280
|
player: 1
|
|
1281
1281
|
},
|
|
1282
1282
|
{
|
|
1283
1283
|
name: "40-A",
|
|
1284
|
-
pos:
|
|
1284
|
+
pos: b["p4-3"],
|
|
1285
1285
|
color_pct: .5,
|
|
1286
1286
|
player: 1
|
|
1287
1287
|
},
|
|
1288
1288
|
{
|
|
1289
1289
|
name: "15-0",
|
|
1290
|
-
pos:
|
|
1290
|
+
pos: b["p1-0"],
|
|
1291
1291
|
color_pct: .4,
|
|
1292
1292
|
player: 0
|
|
1293
1293
|
},
|
|
1294
1294
|
{
|
|
1295
1295
|
name: "30-15",
|
|
1296
|
-
pos:
|
|
1296
|
+
pos: b["p2-1"],
|
|
1297
1297
|
color_pct: .4,
|
|
1298
1298
|
player: 0
|
|
1299
1299
|
},
|
|
1300
1300
|
{
|
|
1301
1301
|
name: "30-0",
|
|
1302
|
-
pos:
|
|
1302
|
+
pos: b["p2-0"],
|
|
1303
1303
|
color_pct: .2,
|
|
1304
1304
|
player: 0
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
1307
|
name: "40-30",
|
|
1308
|
-
pos:
|
|
1308
|
+
pos: b["p3-2"],
|
|
1309
1309
|
color_pct: .4,
|
|
1310
1310
|
player: 0
|
|
1311
1311
|
},
|
|
1312
1312
|
{
|
|
1313
1313
|
name: "40-15",
|
|
1314
|
-
pos:
|
|
1314
|
+
pos: b["p3-1"],
|
|
1315
1315
|
color_pct: .2,
|
|
1316
1316
|
player: 0
|
|
1317
1317
|
},
|
|
1318
1318
|
{
|
|
1319
1319
|
name: "40-0",
|
|
1320
|
-
pos:
|
|
1320
|
+
pos: b["p3-0"],
|
|
1321
1321
|
color_pct: 0,
|
|
1322
1322
|
player: 0
|
|
1323
1323
|
},
|
|
1324
1324
|
{
|
|
1325
1325
|
name: "A-40",
|
|
1326
|
-
pos:
|
|
1326
|
+
pos: b["p3-4"],
|
|
1327
1327
|
color_pct: .5,
|
|
1328
1328
|
player: 0
|
|
1329
1329
|
}
|
|
1330
|
-
],
|
|
1330
|
+
], C = [
|
|
1331
1331
|
{
|
|
1332
1332
|
id: "L0-0x0-1",
|
|
1333
|
-
start:
|
|
1334
|
-
end:
|
|
1333
|
+
start: b["p0-0"],
|
|
1334
|
+
end: b["p0-1"]
|
|
1335
1335
|
},
|
|
1336
1336
|
{
|
|
1337
1337
|
id: "L0-0x1-0",
|
|
1338
|
-
start:
|
|
1339
|
-
end:
|
|
1338
|
+
start: b["p0-0"],
|
|
1339
|
+
end: b["p1-0"]
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
id: "L0-1x0-2",
|
|
1343
|
-
start:
|
|
1344
|
-
end:
|
|
1343
|
+
start: b["p0-1"],
|
|
1344
|
+
end: b["p0-2"]
|
|
1345
1345
|
},
|
|
1346
1346
|
{
|
|
1347
1347
|
id: "L0-1x1-1",
|
|
1348
|
-
start:
|
|
1349
|
-
end:
|
|
1348
|
+
start: b["p0-1"],
|
|
1349
|
+
end: b["p1-1"]
|
|
1350
1350
|
},
|
|
1351
1351
|
{
|
|
1352
1352
|
id: "L1-0x2-0",
|
|
1353
|
-
start:
|
|
1354
|
-
end:
|
|
1353
|
+
start: b["p1-0"],
|
|
1354
|
+
end: b["p2-0"]
|
|
1355
1355
|
},
|
|
1356
1356
|
{
|
|
1357
1357
|
id: "L1-0x1-1",
|
|
1358
|
-
start:
|
|
1359
|
-
end:
|
|
1358
|
+
start: b["p1-0"],
|
|
1359
|
+
end: b["p1-1"]
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
1362
|
id: "L1-1x1-2",
|
|
1363
|
-
start:
|
|
1364
|
-
end:
|
|
1363
|
+
start: b["p1-1"],
|
|
1364
|
+
end: b["p1-2"]
|
|
1365
1365
|
},
|
|
1366
1366
|
{
|
|
1367
1367
|
id: "L1-1x2-1",
|
|
1368
|
-
start:
|
|
1369
|
-
end:
|
|
1368
|
+
start: b["p1-1"],
|
|
1369
|
+
end: b["p2-1"]
|
|
1370
1370
|
},
|
|
1371
1371
|
{
|
|
1372
1372
|
id: "L2-0x2-1",
|
|
1373
|
-
start:
|
|
1374
|
-
end:
|
|
1373
|
+
start: b["p2-0"],
|
|
1374
|
+
end: b["p2-1"]
|
|
1375
1375
|
},
|
|
1376
1376
|
{
|
|
1377
1377
|
id: "L2-0x3-0",
|
|
1378
|
-
start:
|
|
1379
|
-
end:
|
|
1378
|
+
start: b["p2-0"],
|
|
1379
|
+
end: b["p3-0"]
|
|
1380
1380
|
},
|
|
1381
1381
|
{
|
|
1382
1382
|
id: "L2-1x2-2",
|
|
1383
|
-
start:
|
|
1384
|
-
end:
|
|
1383
|
+
start: b["p2-1"],
|
|
1384
|
+
end: b["p2-2"]
|
|
1385
1385
|
},
|
|
1386
1386
|
{
|
|
1387
1387
|
id: "L2-1x3-1",
|
|
1388
|
-
start:
|
|
1389
|
-
end:
|
|
1388
|
+
start: b["p2-1"],
|
|
1389
|
+
end: b["p3-1"]
|
|
1390
1390
|
},
|
|
1391
1391
|
{
|
|
1392
1392
|
id: "L2-2x2-3",
|
|
1393
|
-
start:
|
|
1394
|
-
end:
|
|
1393
|
+
start: b["p2-2"],
|
|
1394
|
+
end: b["p2-3"]
|
|
1395
1395
|
},
|
|
1396
1396
|
{
|
|
1397
1397
|
id: "L2-2x3-2",
|
|
1398
|
-
start:
|
|
1399
|
-
end:
|
|
1398
|
+
start: b["p2-2"],
|
|
1399
|
+
end: b["p3-2"]
|
|
1400
1400
|
},
|
|
1401
1401
|
{
|
|
1402
1402
|
id: "L0-2x0-3",
|
|
1403
|
-
start:
|
|
1404
|
-
end:
|
|
1403
|
+
start: b["p0-2"],
|
|
1404
|
+
end: b["p0-3"]
|
|
1405
1405
|
},
|
|
1406
1406
|
{
|
|
1407
1407
|
id: "L0-2x1-2",
|
|
1408
|
-
start:
|
|
1409
|
-
end:
|
|
1408
|
+
start: b["p0-2"],
|
|
1409
|
+
end: b["p1-2"]
|
|
1410
1410
|
},
|
|
1411
1411
|
{
|
|
1412
1412
|
id: "L0-3x0-4",
|
|
1413
|
-
start:
|
|
1414
|
-
end:
|
|
1413
|
+
start: b["p0-3"],
|
|
1414
|
+
end: b["p0-4"]
|
|
1415
1415
|
},
|
|
1416
1416
|
{
|
|
1417
1417
|
id: "L0-3x1-3",
|
|
1418
|
-
start:
|
|
1419
|
-
end:
|
|
1418
|
+
start: b["p0-3"],
|
|
1419
|
+
end: b["p1-3"]
|
|
1420
1420
|
},
|
|
1421
1421
|
{
|
|
1422
1422
|
id: "L1-2x2-2",
|
|
1423
|
-
start:
|
|
1424
|
-
end:
|
|
1423
|
+
start: b["p1-2"],
|
|
1424
|
+
end: b["p2-2"]
|
|
1425
1425
|
},
|
|
1426
1426
|
{
|
|
1427
1427
|
id: "L1-2x1-3",
|
|
1428
|
-
start:
|
|
1429
|
-
end:
|
|
1428
|
+
start: b["p1-2"],
|
|
1429
|
+
end: b["p1-3"]
|
|
1430
1430
|
},
|
|
1431
1431
|
{
|
|
1432
1432
|
id: "L1-3x2-3",
|
|
1433
|
-
start:
|
|
1434
|
-
end:
|
|
1433
|
+
start: b["p1-3"],
|
|
1434
|
+
end: b["p2-3"]
|
|
1435
1435
|
},
|
|
1436
1436
|
{
|
|
1437
1437
|
id: "L1-3x1-4",
|
|
1438
|
-
start:
|
|
1439
|
-
end:
|
|
1438
|
+
start: b["p1-3"],
|
|
1439
|
+
end: b["p1-4"]
|
|
1440
1440
|
},
|
|
1441
1441
|
{
|
|
1442
1442
|
id: "L2-3x3-3",
|
|
1443
|
-
start:
|
|
1444
|
-
end:
|
|
1443
|
+
start: b["p2-3"],
|
|
1444
|
+
end: b["p3-3"]
|
|
1445
1445
|
},
|
|
1446
1446
|
{
|
|
1447
1447
|
id: "L2-3x2-4",
|
|
1448
|
-
start:
|
|
1449
|
-
end:
|
|
1448
|
+
start: b["p2-3"],
|
|
1449
|
+
end: b["p2-4"]
|
|
1450
1450
|
},
|
|
1451
1451
|
{
|
|
1452
1452
|
id: "L3-3x3-4",
|
|
1453
|
-
start:
|
|
1454
|
-
end:
|
|
1453
|
+
start: b["p3-3"],
|
|
1454
|
+
end: b["p4-3"]
|
|
1455
1455
|
},
|
|
1456
1456
|
{
|
|
1457
1457
|
id: "L3-3x4-3",
|
|
1458
|
-
start:
|
|
1459
|
-
end:
|
|
1458
|
+
start: b["p3-3"],
|
|
1459
|
+
end: b["p3-4"]
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
1462
|
id: "L3-2x3-3",
|
|
1463
|
-
start:
|
|
1464
|
-
end:
|
|
1463
|
+
start: b["p3-2"],
|
|
1464
|
+
end: b["p3-3"]
|
|
1465
1465
|
},
|
|
1466
1466
|
{
|
|
1467
1467
|
id: "L3-2x4-2",
|
|
1468
|
-
start:
|
|
1469
|
-
end:
|
|
1468
|
+
start: b["p3-2"],
|
|
1469
|
+
end: b["p4-2"]
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
1472
|
id: "L3-1x3-2",
|
|
1473
|
-
start:
|
|
1474
|
-
end:
|
|
1473
|
+
start: b["p3-1"],
|
|
1474
|
+
end: b["p3-2"]
|
|
1475
1475
|
},
|
|
1476
1476
|
{
|
|
1477
1477
|
id: "L3-1x4-1",
|
|
1478
|
-
start:
|
|
1479
|
-
end:
|
|
1478
|
+
start: b["p3-1"],
|
|
1479
|
+
end: b["p4-1"]
|
|
1480
1480
|
},
|
|
1481
1481
|
{
|
|
1482
1482
|
id: "L3-0x3-1",
|
|
1483
|
-
start:
|
|
1484
|
-
end:
|
|
1483
|
+
start: b["p3-0"],
|
|
1484
|
+
end: b["p3-1"]
|
|
1485
1485
|
},
|
|
1486
1486
|
{
|
|
1487
1487
|
id: "L3-0x4-0",
|
|
1488
|
-
start:
|
|
1489
|
-
end:
|
|
1488
|
+
start: b["p3-0"],
|
|
1489
|
+
end: b["p4-0"]
|
|
1490
1490
|
},
|
|
1491
1491
|
{
|
|
1492
1492
|
id: "L3-4x3-5",
|
|
1493
|
-
start:
|
|
1494
|
-
end:
|
|
1493
|
+
start: b["p4-3"],
|
|
1494
|
+
end: b["p5-3"]
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
id: "L4-3x5-3",
|
|
1498
|
-
start:
|
|
1499
|
-
end:
|
|
1498
|
+
start: b["p3-4"],
|
|
1499
|
+
end: b["p3-5"]
|
|
1500
1500
|
},
|
|
1501
1501
|
{
|
|
1502
1502
|
id: "L3-3xG-3",
|
|
1503
|
-
start:
|
|
1504
|
-
end:
|
|
1503
|
+
start: b["p3-3"],
|
|
1504
|
+
end: b["pG-3"]
|
|
1505
1505
|
},
|
|
1506
1506
|
{
|
|
1507
1507
|
id: "L3-3x3-G",
|
|
1508
|
-
start:
|
|
1509
|
-
end:
|
|
1508
|
+
start: b["p3-3"],
|
|
1509
|
+
end: b["p3-G"]
|
|
1510
1510
|
}
|
|
1511
|
-
],
|
|
1511
|
+
], w = [{
|
|
1512
1512
|
stroke: "blue",
|
|
1513
|
-
start:
|
|
1514
|
-
end:
|
|
1513
|
+
start: b.L1s,
|
|
1514
|
+
end: b.L1e,
|
|
1515
1515
|
width: 2
|
|
1516
1516
|
}, {
|
|
1517
1517
|
stroke: "blue",
|
|
1518
|
-
start:
|
|
1519
|
-
end:
|
|
1518
|
+
start: b.L2s,
|
|
1519
|
+
end: b.L2e,
|
|
1520
1520
|
width: 2
|
|
1521
|
-
}],
|
|
1521
|
+
}], T = [
|
|
1522
1522
|
{
|
|
1523
|
-
pos:
|
|
1523
|
+
pos: b["p0-0"],
|
|
1524
1524
|
fill: "black",
|
|
1525
1525
|
fontsize: .7,
|
|
1526
1526
|
text: "0-0"
|
|
1527
1527
|
},
|
|
1528
1528
|
{
|
|
1529
|
-
pos:
|
|
1529
|
+
pos: b["p1-1"],
|
|
1530
1530
|
fill: "black",
|
|
1531
1531
|
fontsize: .7,
|
|
1532
1532
|
text: "15-15"
|
|
1533
1533
|
},
|
|
1534
1534
|
{
|
|
1535
|
-
pos:
|
|
1535
|
+
pos: b["p2-2"],
|
|
1536
1536
|
fill: "black",
|
|
1537
1537
|
fontsize: .7,
|
|
1538
1538
|
text: "30-30"
|
|
1539
1539
|
},
|
|
1540
1540
|
{
|
|
1541
|
-
pos:
|
|
1541
|
+
pos: b["p3-3"],
|
|
1542
1542
|
fill: "black",
|
|
1543
1543
|
fontsize: .7,
|
|
1544
1544
|
text: "40-40"
|
|
1545
1545
|
},
|
|
1546
1546
|
{
|
|
1547
|
-
pos:
|
|
1547
|
+
pos: b["p0-1"],
|
|
1548
1548
|
fill: "white",
|
|
1549
1549
|
fontsize: .7,
|
|
1550
1550
|
text: "0-15"
|
|
1551
1551
|
},
|
|
1552
1552
|
{
|
|
1553
|
-
pos:
|
|
1553
|
+
pos: b["p1-2"],
|
|
1554
1554
|
fill: "white",
|
|
1555
1555
|
fontsize: .7,
|
|
1556
1556
|
text: "15-30"
|
|
1557
1557
|
},
|
|
1558
1558
|
{
|
|
1559
|
-
pos:
|
|
1559
|
+
pos: b["p0-2"],
|
|
1560
1560
|
fill: "white",
|
|
1561
1561
|
fontsize: .7,
|
|
1562
1562
|
text: "0-30"
|
|
1563
1563
|
},
|
|
1564
1564
|
{
|
|
1565
|
-
pos:
|
|
1565
|
+
pos: b["p2-3"],
|
|
1566
1566
|
fill: "white",
|
|
1567
1567
|
fontsize: .7,
|
|
1568
1568
|
text: "30-40"
|
|
1569
1569
|
},
|
|
1570
1570
|
{
|
|
1571
|
-
pos:
|
|
1571
|
+
pos: b["p1-3"],
|
|
1572
1572
|
fill: "white",
|
|
1573
1573
|
fontsize: .7,
|
|
1574
1574
|
text: "15-40"
|
|
1575
1575
|
},
|
|
1576
1576
|
{
|
|
1577
|
-
pos:
|
|
1577
|
+
pos: b["p0-3"],
|
|
1578
1578
|
fill: "white",
|
|
1579
1579
|
fontsize: .7,
|
|
1580
1580
|
text: "0-40"
|
|
1581
1581
|
},
|
|
1582
1582
|
{
|
|
1583
|
-
pos:
|
|
1583
|
+
pos: b["p4-3"],
|
|
1584
1584
|
fill: "white",
|
|
1585
1585
|
fontsize: .7,
|
|
1586
1586
|
text: "40-A"
|
|
1587
1587
|
},
|
|
1588
1588
|
{
|
|
1589
|
-
pos:
|
|
1589
|
+
pos: b["p1-0"],
|
|
1590
1590
|
fill: "white",
|
|
1591
1591
|
fontsize: .7,
|
|
1592
1592
|
text: "15-0"
|
|
1593
1593
|
},
|
|
1594
1594
|
{
|
|
1595
|
-
pos:
|
|
1595
|
+
pos: b["p2-1"],
|
|
1596
1596
|
fill: "white",
|
|
1597
1597
|
fontsize: .7,
|
|
1598
1598
|
text: "30-15"
|
|
1599
1599
|
},
|
|
1600
1600
|
{
|
|
1601
|
-
pos:
|
|
1601
|
+
pos: b["p2-0"],
|
|
1602
1602
|
fill: "white",
|
|
1603
1603
|
fontsize: .7,
|
|
1604
1604
|
text: "30-0"
|
|
1605
1605
|
},
|
|
1606
1606
|
{
|
|
1607
|
-
pos:
|
|
1607
|
+
pos: b["p3-2"],
|
|
1608
1608
|
fill: "white",
|
|
1609
1609
|
fontsize: .7,
|
|
1610
1610
|
text: "40-30"
|
|
1611
1611
|
},
|
|
1612
1612
|
{
|
|
1613
|
-
pos:
|
|
1613
|
+
pos: b["p3-1"],
|
|
1614
1614
|
fill: "white",
|
|
1615
1615
|
fontsize: .7,
|
|
1616
1616
|
text: "40-15"
|
|
1617
1617
|
},
|
|
1618
1618
|
{
|
|
1619
|
-
pos:
|
|
1619
|
+
pos: b["p3-0"],
|
|
1620
1620
|
fill: "white",
|
|
1621
1621
|
fontsize: .7,
|
|
1622
1622
|
text: "40-0"
|
|
1623
1623
|
},
|
|
1624
1624
|
{
|
|
1625
|
-
pos:
|
|
1625
|
+
pos: b["p3-4"],
|
|
1626
1626
|
fill: "white",
|
|
1627
1627
|
fontsize: .7,
|
|
1628
1628
|
text: "A-40"
|
|
1629
1629
|
}
|
|
1630
|
-
],
|
|
1630
|
+
], E = [
|
|
1631
1631
|
{
|
|
1632
|
-
pos:
|
|
1632
|
+
pos: b.tPlyr,
|
|
1633
1633
|
fill: "black",
|
|
1634
1634
|
fontsize: .9,
|
|
1635
1635
|
id: "Player",
|
|
@@ -1637,7 +1637,7 @@ function Oe() {
|
|
|
1637
1637
|
baseline: "hanging"
|
|
1638
1638
|
},
|
|
1639
1639
|
{
|
|
1640
|
-
pos:
|
|
1640
|
+
pos: b.tOpp,
|
|
1641
1641
|
fill: "black",
|
|
1642
1642
|
fontsize: .9,
|
|
1643
1643
|
id: "Opponent",
|
|
@@ -1645,22 +1645,22 @@ function Oe() {
|
|
|
1645
1645
|
baseline: "hanging"
|
|
1646
1646
|
},
|
|
1647
1647
|
{
|
|
1648
|
-
pos:
|
|
1648
|
+
pos: b.GAME,
|
|
1649
1649
|
fill: "#555555",
|
|
1650
1650
|
fontsize: .9,
|
|
1651
1651
|
id: "Game",
|
|
1652
1652
|
anchor: "middle",
|
|
1653
1653
|
baseline: "central"
|
|
1654
1654
|
}
|
|
1655
|
-
],
|
|
1655
|
+
], D = [{
|
|
1656
1656
|
id: "Player",
|
|
1657
|
-
pos:
|
|
1657
|
+
pos: b.sPlyr,
|
|
1658
1658
|
r_pct: .4,
|
|
1659
1659
|
opacity: 1,
|
|
1660
1660
|
status: "none"
|
|
1661
1661
|
}, {
|
|
1662
1662
|
id: "Opponent",
|
|
1663
|
-
pos:
|
|
1663
|
+
pos: b.sOpp,
|
|
1664
1664
|
r_pct: .4,
|
|
1665
1665
|
opacity: .4,
|
|
1666
1666
|
status: "none"
|