diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php
index 1e691c85..152bdcf9 100644
--- a/app/Filament/Pages/Statistic.php
+++ b/app/Filament/Pages/Statistic.php
@@ -18,6 +18,7 @@ use Filament\Schemas\Components\Grid;
use Filament\Schemas\Components\Utilities\Get;
use Filament\Schemas\Components\Utilities\Set;
use Filament\Schemas\Schema;
+use Filament\Support\RawJs;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Support\HtmlString;
use PhpOption\None;
@@ -203,8 +204,7 @@ class Statistic extends BaseDashboard
->hiddenLabel()
->placeholder('Similar Past Matches')
->prefixIconColor('primary')
- // ->prefixIcon('phosphor-approximate-equals')
- ->suffix(fn (Get $get): string|HtmlString => $get('similar_past_matches') != 'none' ? new HtmlString(''.$get('accuracy').'') : '')
+ ->suffix(fn (Get $get): string|HtmlString => $get('similar_past_matches') != 'none' ? new HtmlString('
'.$get('accuracy').'
') : '')
->columnSpan([
'default' => 1,
'xl' => 2,
@@ -230,18 +230,21 @@ class Statistic extends BaseDashboard
// ->label('Accuracy min: 0, max: 0.25, steps: 0.025')
->hiddenLabel()
->hidden(fn (Get $get) => $get('similar_past_matches') == 'none')
- // ->fillTrack()
- ->range(minValue: 0, maxValue: 0.25)
+ ->fillTrack()
+ ->minValue(0)
+ ->maxValue(0.25)
+ ->default(0.125)
->step(0.025)
- ->default(5)
- ->decimalPlaces(1)
->decimalPlaces(3)
// ->tooltips()
- // ->columnSpan([
- // 'default' => 1,
- // 'xl' => 2,
- // ])
+ ->columnSpan([
+ 'default' => 1,
+ 'xl' => 2,
+ ])
->pips()
+ ->pipsFormatter(RawJs::make(<<<'JS'
+ `${$value.toFixed(2)}`
+ JS))
->live(),
Select::make('tm_player_id')
->hiddenLabel()
diff --git a/app/Filament/Widgets/StatsMedianAverage.php b/app/Filament/Widgets/StatsMedianAverage.php
index 01f4b61d..e0e139d9 100644
--- a/app/Filament/Widgets/StatsMedianAverage.php
+++ b/app/Filament/Widgets/StatsMedianAverage.php
@@ -33,7 +33,7 @@ class StatsMedianAverage extends StatsOverviewWidget
'default' => 1,
'sm' => 2,
'md' => 3,
- 'md' => 6,
+ 'lg' => 6,
];
$statistic_type = ucfirst(HelperStatisticType::get($this->filters));
@@ -63,7 +63,6 @@ class StatsMedianAverage extends StatsOverviewWidget
Stat::make('stat1', 'stat1')->view('filament.resources.events.widgets.statistic-regular', [
'titel' => 'Number of events',
'value' => '0',
- 'hidden' => false,
]),
Stat::make('stat2', 'stat2')->view('filament.resources.events.widgets.statistic-average', [
'titel' => 'Average '.$statistic_type,
@@ -82,17 +81,14 @@ class StatsMedianAverage extends StatsOverviewWidget
Stat::make('stat4', 'stat4')->view('filament.resources.events.widgets.statistic-regular', [
'titel' => 'Win',
'value' => 0,
- 'hidden' => false,
]),
Stat::make('stat5', 'stat5')->view('filament.resources.events.widgets.statistic-regular', [
'titel' => 'Draw',
'value' => 0,
- 'hidden' => false,
]),
Stat::make('stat6', 'stat6')->view('filament.resources.events.widgets.statistic-regular', [
'titel' => 'Lost',
'value' => 0,
- 'hidden' => false,
]),
];
}
@@ -122,15 +118,20 @@ class StatsMedianAverage extends StatsOverviewWidget
$median_away = $arr_away[$m];
}
- $win = $data['results']['w'] ? number_format(Round::odd($total_home / $data['results']['w']), 2) : 0;
- $draw = $data['results']['d'] ? number_format(Round::odd($total_home / $data['results']['d']), 2) : 0;
- $lost = $data['results']['l'] ? number_format(Round::odd($total_home / $data['results']['l']), 2) : 0;
+ if ($data['similar_past_matches'] == 'none') {
+ $win = $data['results']['w'] ? number_format(Round::odd($total_home / $data['results']['w']), 2) : 0;
+ $draw = $data['results']['d'] ? number_format(Round::odd($total_home / $data['results']['d']), 2) : 0;
+ $lost = $data['results']['l'] ? number_format(Round::odd($total_home / $data['results']['l']), 2) : 0;
+ } else {
+ $win = 0;
+ $draw = 0;
+ $lost = 0;
+ }
return [
Stat::make('stat1', 'stat1')->view('filament.resources.events.widgets.statistic-regular', [
'titel' => 'Number of events',
'value' => $total_home,
- 'hidden' => false,
]),
Stat::make('stat2', 'stat2')->view('filament.resources.events.widgets.statistic-average', [
'titel' => 'Average '.$statistic_type,
@@ -146,21 +147,17 @@ class StatsMedianAverage extends StatsOverviewWidget
'home' => $home_team,
'away' => $away_team,
]),
-
Stat::make('stat4', 'stat4')->view('filament.resources.events.widgets.statistic-regular', [
- 'titel' => 'Win: '.$data['results']['w'],
+ 'titel' => ($data['similar_past_matches'] != 'none') ? 'Win' : 'Win: '.$data['results']['w'],
'value' => $win,
- 'hidden' => $data['similar_past_matches'] == 'none' ? false : true,
]),
Stat::make('stat5', 'stat5')->view('filament.resources.events.widgets.statistic-regular', [
- 'titel' => 'Draw: '.$data['results']['d'],
+ 'titel' => ($data['similar_past_matches'] != 'none') ? 'Draw' : 'Draw: '.$data['results']['d'],
'value' => $draw,
- 'hidden' => $data['similar_past_matches'] == 'none' ? false : true,
]),
Stat::make('stat6', 'stat6')->view('filament.resources.events.widgets.statistic-regular', [
- 'titel' => 'Lost: '.$data['results']['l'],
+ 'titel' => ($data['similar_past_matches'] != 'none') ? 'Lost' : 'Lost: '.$data['results']['l'],
'value' => $lost,
- 'hidden' => $data['similar_past_matches'] == 'none' ? false : true,
]),
];
}
diff --git a/example2.json b/example2.json
new file mode 100644
index 00000000..b322013b
--- /dev/null
+++ b/example2.json
@@ -0,0 +1,440 @@
+{
+ "event": {
+ "eventState": {},
+ "tournament": {
+ "name": "Liga DIMAYOR, Apertura, Playoffs",
+ "slug": "primera-a-apertura-playoffs",
+ "category": {
+ "name": "Colombia",
+ "slug": "colombia",
+ "sport": {
+ "name": "Football",
+ "slug": "football",
+ "id": 1
+ },
+ "priority": 0,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 274,
+ "flag": "colombia",
+ "alpha2": "CO",
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0643\u0648\u0644\u0648\u0645\u0628\u064a\u0627",
+ "ru": "\u041a\u043e\u043b\u0443\u043c\u0431\u0438\u044f"
+ },
+ "shortNameTranslation": {}
+ }
+ },
+ "uniqueTournament": {
+ "name": "Primera A, Apertura",
+ "slug": "primera-a-apertura",
+ "primaryColorHex": "#002c6d",
+ "secondaryColorHex": "#00afcf",
+ "category": {
+ "name": "Colombia",
+ "slug": "colombia",
+ "sport": {
+ "name": "Football",
+ "slug": "football",
+ "id": 1
+ },
+ "priority": 0,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 274,
+ "flag": "colombia",
+ "alpha2": "CO",
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0643\u0648\u0644\u0648\u0645\u0628\u064a\u0627",
+ "ru": "\u041a\u043e\u043b\u0443\u043c\u0431\u0438\u044f"
+ },
+ "shortNameTranslation": {}
+ }
+ },
+ "userCount": 24442,
+ "hasRounds": true,
+ "hasPerformanceGraphFeature": false,
+ "country": {},
+ "id": 11539,
+ "hasEventPlayerStatistics": true,
+ "displayInverseHomeAwayTeams": false,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0627\u0644\u062f\u0648\u0631\u064a \u0627\u0644\u0623\u0648\u0644\u060c \u0645\u0631\u062d\u0644\u0629 \u0627\u0644\u0630\u0647\u0627\u0628",
+ "bn": "\u09aa\u09cd\u09b0\u09be\u0987\u09ae\u09c7\u09b0\u09be \u098f, \u0985\u09cd\u09af\u09be\u09aa\u09be\u09b0\u09cd\u09a4\u09c1\u09b0\u09be",
+ "hi": "\u092a\u094d\u0930\u093e\u0907\u092e\u0947\u0930\u093e \u090f, \u090f\u092a\u0930\u094d\u091f\u0941\u0930\u093e"
+ },
+ "shortNameTranslation": {}
+ }
+ },
+ "priority": 285,
+ "isGroup": false,
+ "competitionType": 2,
+ "isLive": false,
+ "id": 19235,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0627\u0644\u062f\u0648\u0631\u064a \u0627\u0644\u0643\u0648\u0644\u0648\u0645\u0628\u064a\u060c \u0645\u0631\u062d\u0644\u0629 \u0627\u0644\u0630\u0647\u0627\u0628\u060c \u0627\u0644\u062a\u0635\u0641\u064a\u0627\u062a",
+ "bn": "\u09aa\u09cd\u09b0\u09be\u0987\u09ae\u09c7\u09b0\u09be \u098f, \u0985\u09cd\u09af\u09be\u09aa\u09be\u09b0\u09cd\u099f\u09c1\u09b0\u09be, \u09aa\u09cd\u09b2\u09c7\u0985\u09ab",
+ "hi": "\u092a\u094d\u0930\u093e\u0907\u092e\u0947\u0930\u093e \u090f, \u090f\u092a\u0930\u094d\u091f\u0941\u0930\u093e, \u092a\u094d\u0932\u0947\u0911\u092b\u094d\u0938"
+ },
+ "shortNameTranslation": {}
+ }
+ },
+ "season": {
+ "name": "Liga DIMAYOR 2026",
+ "year": "2026",
+ "editor": false,
+ "id": 88503
+ },
+ "roundInfo": {
+ "round": 29,
+ "name": "Final",
+ "slug": "final",
+ "cupRoundType": 1
+ },
+ "customId": "fxcsgxc",
+ "status": {
+ "code": 100,
+ "description": "Ended",
+ "type": "finished"
+ },
+ "winnerCode": 1,
+ "venue": {
+ "city": {
+ "name": "Barranquilla",
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 18864
+ },
+ "venueCoordinates": {
+ "latitude": 10.926955,
+ "longitude": -74.800511
+ },
+ "hidden": true,
+ "slug": "estadio-metropolitano-roberto-melendez",
+ "name": "Estadio Metropolitano Roberto Melendez",
+ "capacity": 46692,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 1594,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0645\u0644\u0639\u0628 \u0645\u062a\u0631\u0648\u0628\u0648\u0644\u064a\u062a\u0627\u0646\u0648 \u0631\u0648\u0628\u0631\u062a\u0648 \u0645\u064a\u0644\u064a\u0646\u062f\u064a\u0632",
+ "hi": "\u090f\u0938\u094d\u091f\u0947\u0921\u093f\u092f\u094b \u092e\u0947\u091f\u094d\u0930\u094b\u092a\u094b\u0932\u093f\u091f\u093e\u0928\u094b \u0930\u0949\u092c\u0930\u094d\u091f\u094b \u092e\u0947\u0932\u0947\u0902\u0921\u0947\u091c\u093c",
+ "bn": "\u098f\u09b8\u09cd\u09a4\u09be\u09a6\u09bf\u0993 \u09ae\u09c7\u099f\u09cd\u09b0\u09cb\u09aa\u09b2\u09bf\u099f\u09be\u09a8\u09cb \u09b0\u09ac\u09be\u09b0\u09cd\u09a4\u09cb \u09ae\u09c7\u09b2\u09be\u09a8\u09cd\u09a6\u09c7\u099c"
+ },
+ "shortNameTranslation": {}
+ },
+ "stadium": {
+ "name": "Estadio Metropolitano Roberto Melendez",
+ "capacity": 46692
+ }
+ },
+ "referee": {
+ "name": "Carlos Ortega",
+ "slug": "ortega-carlos",
+ "yellowCards": 1524,
+ "redCards": 45,
+ "yellowRedCards": 48,
+ "games": 257,
+ "sport": {
+ "id": 1,
+ "slug": "football",
+ "name": "Football"
+ },
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 786569,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0643\u0627\u0631\u0644\u0648\u0633 \u0623\u0648\u0631\u062a\u064a\u063a\u0627"
+ },
+ "shortNameTranslation": {}
+ }
+ },
+ "homeTeam": {
+ "name": "Junior Barranquilla",
+ "slug": "junior-barranquilla",
+ "shortName": "Junior Barranquilla",
+ "gender": "M",
+ "sport": {
+ "name": "Football",
+ "slug": "football",
+ "id": 1
+ },
+ "userCount": 72286,
+ "manager": {
+ "name": "Alfredo Arias",
+ "slug": "alfredo-arias",
+ "shortName": "A. Arias",
+ "country": {
+ "alpha2": "UY",
+ "alpha3": "URY",
+ "name": "Uruguay",
+ "slug": "uruguay"
+ },
+ "id": 340049,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0623\u0644\u0641\u0631\u064a\u062f\u0648 \u0623\u0631\u064a\u0627\u0633"
+ },
+ "shortNameTranslation": {
+ "ar": "\u0623. \u0623\u0631\u064a\u0627\u0633"
+ }
+ }
+ },
+ "venue": {
+ "city": {
+ "name": "Barranquilla",
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 18864
+ },
+ "venueCoordinates": {
+ "latitude": 10.926955,
+ "longitude": -74.800511
+ },
+ "hidden": true,
+ "slug": "estadio-metropolitano-roberto-melendez",
+ "name": "Estadio Metropolitano Roberto Melendez",
+ "capacity": 46692,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 1594,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0645\u0644\u0639\u0628 \u0645\u062a\u0631\u0648\u0628\u0648\u0644\u064a\u062a\u0627\u0646\u0648 \u0631\u0648\u0628\u0631\u062a\u0648 \u0645\u064a\u0644\u064a\u0646\u062f\u064a\u0632",
+ "hi": "\u090f\u0938\u094d\u091f\u0947\u0921\u093f\u092f\u094b \u092e\u0947\u091f\u094d\u0930\u094b\u092a\u094b\u0932\u093f\u091f\u093e\u0928\u094b \u0930\u0949\u092c\u0930\u094d\u091f\u094b \u092e\u0947\u0932\u0947\u0902\u0921\u0947\u091c\u093c",
+ "bn": "\u098f\u09b8\u09cd\u09a4\u09be\u09a6\u09bf\u0993 \u09ae\u09c7\u099f\u09cd\u09b0\u09cb\u09aa\u09b2\u09bf\u099f\u09be\u09a8\u09cb \u09b0\u09ac\u09be\u09b0\u09cd\u09a4\u09cb \u09ae\u09c7\u09b2\u09be\u09a8\u09cd\u09a6\u09c7\u099c"
+ },
+ "shortNameTranslation": {}
+ },
+ "stadium": {
+ "name": "Estadio Metropolitano Roberto Melendez",
+ "capacity": 46692
+ }
+ },
+ "nameCode": "JUN",
+ "class": 1,
+ "disabled": false,
+ "national": false,
+ "type": 0,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 6105,
+ "fullName": "Junior Barranquilla",
+ "subTeams": [],
+ "teamColors": {
+ "primary": "#cc0000",
+ "secondary": "#ffffff",
+ "text": "#ffffff"
+ },
+ "foundationDateTimestamp": -1432771200,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u062e\u0648\u0646\u064a\u0648 \u0628\u0627\u0631\u0627\u0646\u0643\u0648\u064a\u0644\u0627",
+ "ru": "\u0410\u0442\u043b\u0435\u0442\u0438\u043a\u043e \u0414\u0436\u0443\u043d\u0438\u043e\u0440"
+ },
+ "shortNameTranslation": {
+ "ar": "\u062e\u0648\u0646\u064a\u0648 \u0628\u0627\u0631\u0627\u0646\u0643\u0648\u064a\u0644\u0627"
+ }
+ },
+ "timeActive": []
+ },
+ "awayTeam": {
+ "name": "Atl\u00e9tico Nacional",
+ "slug": "atletico-nacional",
+ "shortName": "Atl. Nacional",
+ "gender": "M",
+ "sport": {
+ "name": "Football",
+ "slug": "football",
+ "id": 1
+ },
+ "userCount": 122307,
+ "manager": {
+ "name": "Diego Arias",
+ "slug": "diego-arias",
+ "shortName": "D. Arias",
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 801358,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u062f\u064a\u064a\u063a\u0648 \u0623\u0631\u064a\u0627\u0633"
+ },
+ "shortNameTranslation": {
+ "ar": "\u062f. \u0623\u0631\u064a\u0627\u0633"
+ }
+ }
+ },
+ "venue": {
+ "city": {
+ "name": "Medellin",
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 19386
+ },
+ "venueCoordinates": {
+ "latitude": 6.256827,
+ "longitude": -75.590147
+ },
+ "hidden": true,
+ "slug": "estadio-atanasio-girardot",
+ "name": "Estadio Atanasio Girardot",
+ "capacity": 44739,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 1010,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0645\u0644\u0639\u0628 \u0623\u062a\u0627\u0646\u0627\u0633\u064a\u0648 \u063a\u064a\u0631\u0627\u0631\u062f\u0648\u062a",
+ "hi": "\u090f\u0938\u094d\u091f\u0947\u0921\u093f\u092f\u094b \u0905\u091f\u093e\u0928\u093e\u0938\u093f\u092f\u094b \u0917\u093f\u0930\u093e\u0930\u0921\u0949\u091f",
+ "bn": "\u098f\u09b8\u09cd\u09a4\u09be\u09a6\u09bf\u0993 \u0986\u09a4\u09be\u09a8\u09be\u09b8\u09bf\u0993 \u0997\u09bf\u09b0\u09be\u09a1\u099f"
+ },
+ "shortNameTranslation": {}
+ },
+ "stadium": {
+ "name": "Estadio Atanasio Girardot",
+ "capacity": 44739
+ }
+ },
+ "nameCode": "CAN",
+ "class": 1,
+ "disabled": false,
+ "national": false,
+ "type": 0,
+ "country": {
+ "alpha2": "CO",
+ "alpha3": "COL",
+ "name": "Colombia",
+ "slug": "colombia"
+ },
+ "id": 6106,
+ "fullName": "Atl\u00e9tico Nacional",
+ "subTeams": [],
+ "teamColors": {
+ "primary": "#339933",
+ "secondary": "#ffffff",
+ "text": "#ffffff"
+ },
+ "foundationDateTimestamp": -720230400,
+ "fieldTranslations": {
+ "nameTranslation": {
+ "ar": "\u0623\u062a\u0644\u062a\u064a\u0643\u0648 \u0646\u0627\u0633\u064a\u0648\u0646\u0627\u0644",
+ "ru": "\u0410\u0442\u043b\u0435\u0442\u0438\u043a\u043e \u041d\u0430\u0441\u044c\u043e\u043d\u0430\u043b\u044c \u041c\u0435\u0434\u0435\u043b\u044c\u0438\u043d"
+ },
+ "shortNameTranslation": {
+ "ar": "\u0623\u062a\u0644. \u0646\u0627\u0633\u064a\u0648\u0646\u0627\u0644"
+ }
+ },
+ "timeActive": []
+ },
+ "homeScore": {
+ "current": 3,
+ "display": 3,
+ "period1": 2,
+ "period2": 1,
+ "normaltime": 3
+ },
+ "awayScore": {
+ "current": 0,
+ "display": 0,
+ "period1": 0,
+ "period2": 0,
+ "normaltime": 0
+ },
+ "time": {
+ "injuryTime1": 7,
+ "injuryTime2": 6,
+ "currentPeriodStartTimestamp": 1780450982
+ },
+ "changes": {
+ "changes": [
+ "status.code",
+ "status.description",
+ "status.type"
+ ],
+ "changeTimestamp": 1780454080
+ },
+ "hasGlobalHighlights": true,
+ "hasXg": true,
+ "hasEventPlayerStatistics": true,
+ "hasEventPlayerHeatMap": true,
+ "detailId": 1,
+ "crowdsourcingDataDisplayEnabled": false,
+ "correctAiInsight": true,
+ "correctHalftimeAiInsight": true,
+ "id": 16231268,
+ "defaultPeriodCount": 2,
+ "defaultPeriodLength": 45,
+ "defaultOvertimeLength": 15,
+ "slug": "atletico-nacional-junior-barranquilla",
+ "currentPeriodStartTimestamp": 1780450982,
+ "startTimestamp": 1780446600,
+ "finalResultOnly": false,
+ "feedLocked": true,
+ "cupMatchesInRound": 2,
+ "seasonStatisticsType": "overall",
+ "showTotoPromo": true,
+ "isEditor": false,
+ "eventFilters": {
+ "category": [
+ "club"
+ ],
+ "level": [
+ "pro"
+ ],
+ "gender": [
+ "M"
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/example_results.json b/example_results.json
new file mode 100644
index 00000000..5e4c1c08
--- /dev/null
+++ b/example_results.json
@@ -0,0 +1,1612 @@
+{
+ "statistics": [
+ {
+ "period": "ALL",
+ "groups": [
+ {
+ "groupName": "Match overview",
+ "statisticsItems": [
+ {
+ "name": "Ball possession",
+ "home": "42%",
+ "away": "58%",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 42,
+ "awayValue": 58,
+ "renderType": 2,
+ "key": "ballPossession"
+ },
+ {
+ "name": "Expected goals",
+ "home": "1.76",
+ "away": "0.56",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1.76,
+ "awayValue": 0.56,
+ "renderType": 1,
+ "key": "expectedGoals"
+ },
+ {
+ "name": "Big chances",
+ "home": "1",
+ "away": "2",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "bigChanceCreated"
+ },
+ {
+ "name": "Total shots",
+ "home": "21",
+ "away": "9",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 21,
+ "awayValue": 9,
+ "renderType": 1,
+ "key": "totalShotsOnGoal"
+ },
+ {
+ "name": "Goalkeeper saves",
+ "home": "3",
+ "away": "5",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "goalkeeperSaves"
+ },
+ {
+ "name": "Corner kicks",
+ "home": "6",
+ "away": "3",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 6,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "cornerKicks"
+ },
+ {
+ "name": "Fouls",
+ "home": "13",
+ "away": "13",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 13,
+ "awayValue": 13,
+ "renderType": 1,
+ "key": "fouls"
+ },
+ {
+ "name": "Passes",
+ "home": "278",
+ "away": "388",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 278,
+ "awayValue": 388,
+ "renderType": 1,
+ "key": "passes"
+ },
+ {
+ "name": "Tackles",
+ "home": "15",
+ "away": "15",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 15,
+ "awayValue": 15,
+ "renderType": 1,
+ "key": "totalTackle"
+ },
+ {
+ "name": "Free kicks",
+ "home": "12",
+ "away": "13",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 12,
+ "awayValue": 13,
+ "renderType": 1,
+ "key": "freeKicks"
+ },
+ {
+ "name": "Yellow cards",
+ "home": "3",
+ "away": "5",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "yellowCards"
+ }
+ ]
+ },
+ {
+ "groupName": "Shots",
+ "statisticsItems": [
+ {
+ "name": "Total shots",
+ "home": "21",
+ "away": "9",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 21,
+ "awayValue": 9,
+ "renderType": 1,
+ "key": "totalShotsOnGoal"
+ },
+ {
+ "name": "Shots on target",
+ "home": "8",
+ "away": "3",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "shotsOnGoal"
+ },
+ {
+ "name": "Hit woodwork",
+ "home": "0",
+ "away": "0",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "hitWoodwork"
+ },
+ {
+ "name": "Shots off target",
+ "home": "6",
+ "away": "5",
+ "compareCode": 1,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 6,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "shotsOffGoal"
+ },
+ {
+ "name": "Blocked shots",
+ "home": "7",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "blockedScoringAttempt"
+ },
+ {
+ "name": "Shots inside box",
+ "home": "8",
+ "away": "4",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 4,
+ "renderType": 1,
+ "key": "totalShotsInsideBox"
+ },
+ {
+ "name": "Shots outside box",
+ "home": "13",
+ "away": "5",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 13,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "totalShotsOutsideBox"
+ }
+ ]
+ },
+ {
+ "groupName": "Attack",
+ "statisticsItems": [
+ {
+ "name": "Big chances scored",
+ "home": "1",
+ "away": "0",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "bigChanceScored"
+ },
+ {
+ "name": "Big chances missed",
+ "home": "0",
+ "away": "2",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "bigChanceMissed"
+ },
+ {
+ "name": "Touches in penalty area",
+ "home": "19",
+ "away": "18",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 19,
+ "awayValue": 18,
+ "renderType": 1,
+ "key": "touchesInOppBox"
+ },
+ {
+ "name": "Fouled in final third",
+ "home": "3",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "fouledFinalThird"
+ },
+ {
+ "name": "Offsides",
+ "home": "1",
+ "away": "1",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "offsides"
+ }
+ ]
+ },
+ {
+ "groupName": "Passes",
+ "statisticsItems": [
+ {
+ "name": "Accurate passes",
+ "home": "222",
+ "away": "329",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 222,
+ "awayValue": 329,
+ "renderType": 1,
+ "key": "accuratePasses"
+ },
+ {
+ "name": "Throw-ins",
+ "home": "14",
+ "away": "16",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 14,
+ "awayValue": 16,
+ "renderType": 1,
+ "key": "throwIns"
+ },
+ {
+ "name": "Final third entries",
+ "home": "43",
+ "away": "66",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 43,
+ "awayValue": 66,
+ "renderType": 1,
+ "key": "finalThirdEntries"
+ },
+ {
+ "name": "Final third phase",
+ "home": "67\/95 (71%)",
+ "away": "81\/123 (66%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 67,
+ "awayValue": 81,
+ "homeTotal": 95,
+ "awayTotal": 123,
+ "renderType": 3,
+ "key": "finalThirdPhaseStatistic"
+ },
+ {
+ "name": "Long balls",
+ "home": "35\/58 (60%)",
+ "away": "26\/48 (54%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 35,
+ "awayValue": 26,
+ "homeTotal": 58,
+ "awayTotal": 48,
+ "renderType": 3,
+ "key": "accurateLongBalls"
+ },
+ {
+ "name": "Crosses",
+ "home": "0\/8 (0%)",
+ "away": "3\/10 (30%)",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 0,
+ "awayValue": 3,
+ "homeTotal": 8,
+ "awayTotal": 10,
+ "renderType": 3,
+ "key": "accurateCross"
+ }
+ ]
+ },
+ {
+ "groupName": "Duels",
+ "statisticsItems": [
+ {
+ "name": "Duels",
+ "home": "54%",
+ "away": "46%",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 54,
+ "awayValue": 46,
+ "renderType": 2,
+ "key": "duelWonPercent"
+ },
+ {
+ "name": "Dispossessed",
+ "home": "4",
+ "away": "6",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 4,
+ "awayValue": 6,
+ "renderType": 1,
+ "key": "dispossessed"
+ },
+ {
+ "name": "Ground duels",
+ "home": "31\/58 (53%)",
+ "away": "27\/58 (47%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 31,
+ "awayValue": 27,
+ "homeTotal": 58,
+ "awayTotal": 58,
+ "renderType": 3,
+ "key": "groundDuelsPercentage"
+ },
+ {
+ "name": "Aerial duels",
+ "home": "2\/3 (67%)",
+ "away": "1\/3 (33%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 2,
+ "awayValue": 1,
+ "homeTotal": 3,
+ "awayTotal": 3,
+ "renderType": 3,
+ "key": "aerialDuelsPercentage"
+ },
+ {
+ "name": "Dribbles",
+ "home": "5\/16 (31%)",
+ "away": "0\/9 (0%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 5,
+ "awayValue": 0,
+ "homeTotal": 16,
+ "awayTotal": 9,
+ "renderType": 3,
+ "key": "dribblesPercentage"
+ }
+ ]
+ },
+ {
+ "groupName": "Defending",
+ "statisticsItems": [
+ {
+ "name": "Tackles won",
+ "home": "80%",
+ "away": "87%",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 12,
+ "awayValue": 13,
+ "homeTotal": 15,
+ "awayTotal": 15,
+ "renderType": 4,
+ "key": "wonTacklePercent"
+ },
+ {
+ "name": "Total tackles",
+ "home": "15",
+ "away": "15",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 15,
+ "awayValue": 15,
+ "renderType": 1,
+ "key": "totalTackle"
+ },
+ {
+ "name": "Interceptions",
+ "home": "2",
+ "away": "6",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 6,
+ "renderType": 1,
+ "key": "interceptionWon"
+ },
+ {
+ "name": "Recoveries",
+ "home": "42",
+ "away": "45",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 42,
+ "awayValue": 45,
+ "renderType": 1,
+ "key": "ballRecovery"
+ },
+ {
+ "name": "Clearances",
+ "home": "16",
+ "away": "17",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 16,
+ "awayValue": 17,
+ "renderType": 1,
+ "key": "totalClearance"
+ }
+ ]
+ },
+ {
+ "groupName": "Goalkeeping",
+ "statisticsItems": [
+ {
+ "name": "Total saves",
+ "home": "3",
+ "away": "5",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "goalkeeperSaves"
+ },
+ {
+ "name": "Goals prevented",
+ "home": "0.07",
+ "away": "-1.21",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 0.0704,
+ "awayValue": -1.2093,
+ "renderType": 1,
+ "key": "goalsPrevented"
+ },
+ {
+ "name": "High claims",
+ "home": "1",
+ "away": "1",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "highClaims"
+ },
+ {
+ "name": "Punches",
+ "home": "1",
+ "away": "0",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "punches"
+ },
+ {
+ "name": "Goal kicks",
+ "home": "10",
+ "away": "7",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 10,
+ "awayValue": 7,
+ "renderType": 1,
+ "key": "goalKicks"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "period": "1ST",
+ "groups": [
+ {
+ "groupName": "Match overview",
+ "statisticsItems": [
+ {
+ "name": "Ball possession",
+ "home": "40%",
+ "away": "60%",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 40,
+ "awayValue": 60,
+ "renderType": 2,
+ "key": "ballPossession"
+ },
+ {
+ "name": "Expected goals",
+ "home": "0.70",
+ "away": "0.16",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 0.7,
+ "awayValue": 0.16,
+ "renderType": 1,
+ "key": "expectedGoals"
+ },
+ {
+ "name": "Big chances",
+ "home": "0",
+ "away": "1",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "bigChanceCreated"
+ },
+ {
+ "name": "Total shots",
+ "home": "13",
+ "away": "2",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 13,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "totalShotsOnGoal"
+ },
+ {
+ "name": "Goalkeeper saves",
+ "home": "1",
+ "away": "3",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "goalkeeperSaves"
+ },
+ {
+ "name": "Corner kicks",
+ "home": "4",
+ "away": "2",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 4,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "cornerKicks"
+ },
+ {
+ "name": "Fouls",
+ "home": "5",
+ "away": "5",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 5,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "fouls"
+ },
+ {
+ "name": "Passes",
+ "home": "140",
+ "away": "220",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 140,
+ "awayValue": 220,
+ "renderType": 1,
+ "key": "passes"
+ },
+ {
+ "name": "Tackles",
+ "home": "7",
+ "away": "7",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 7,
+ "renderType": 1,
+ "key": "totalTackle"
+ },
+ {
+ "name": "Free kicks",
+ "home": "5",
+ "away": "5",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 5,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "freeKicks"
+ },
+ {
+ "name": "Yellow cards",
+ "home": "1",
+ "away": "2",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "yellowCards"
+ }
+ ]
+ },
+ {
+ "groupName": "Shots",
+ "statisticsItems": [
+ {
+ "name": "Total shots",
+ "home": "13",
+ "away": "2",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 13,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "totalShotsOnGoal"
+ },
+ {
+ "name": "Shots on target",
+ "home": "5",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 5,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "shotsOnGoal"
+ },
+ {
+ "name": "Hit woodwork",
+ "home": "0",
+ "away": "0",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "hitWoodwork"
+ },
+ {
+ "name": "Shots off target",
+ "home": "5",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 5,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "shotsOffGoal"
+ },
+ {
+ "name": "Blocked shots",
+ "home": "3",
+ "away": "0",
+ "compareCode": 1,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "blockedScoringAttempt"
+ },
+ {
+ "name": "Shots inside box",
+ "home": "6",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 6,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "totalShotsInsideBox"
+ },
+ {
+ "name": "Shots outside box",
+ "home": "7",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "totalShotsOutsideBox"
+ }
+ ]
+ },
+ {
+ "groupName": "Attack",
+ "statisticsItems": [
+ {
+ "name": "Big chances scored",
+ "home": "0",
+ "away": "0",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "bigChanceScored"
+ },
+ {
+ "name": "Big chances missed",
+ "home": "0",
+ "away": "1",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "bigChanceMissed"
+ },
+ {
+ "name": "Fouled in final third",
+ "home": "0",
+ "away": "0",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "fouledFinalThird"
+ },
+ {
+ "name": "Offsides",
+ "home": "1",
+ "away": "1",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "offsides"
+ }
+ ]
+ },
+ {
+ "groupName": "Passes",
+ "statisticsItems": [
+ {
+ "name": "Accurate passes",
+ "home": "112",
+ "away": "191",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 112,
+ "awayValue": 191,
+ "renderType": 1,
+ "key": "accuratePasses"
+ },
+ {
+ "name": "Throw-ins",
+ "home": "7",
+ "away": "6",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 6,
+ "renderType": 1,
+ "key": "throwIns"
+ },
+ {
+ "name": "Final third entries",
+ "home": "20",
+ "away": "36",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 20,
+ "awayValue": 36,
+ "renderType": 1,
+ "key": "finalThirdEntries"
+ },
+ {
+ "name": "Long balls",
+ "home": "14\/27 (52%)",
+ "away": "18\/27 (67%)",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 14,
+ "awayValue": 18,
+ "homeTotal": 27,
+ "awayTotal": 27,
+ "renderType": 3,
+ "key": "accurateLongBalls"
+ },
+ {
+ "name": "Crosses",
+ "home": "0\/6 (0%)",
+ "away": "2\/5 (40%)",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 0,
+ "awayValue": 2,
+ "homeTotal": 6,
+ "awayTotal": 5,
+ "renderType": 3,
+ "key": "accurateCross"
+ }
+ ]
+ },
+ {
+ "groupName": "Duels",
+ "statisticsItems": [
+ {
+ "name": "Duels",
+ "home": "52%",
+ "away": "48%",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 52,
+ "awayValue": 48,
+ "renderType": 2,
+ "key": "duelWonPercent"
+ },
+ {
+ "name": "Dispossessed",
+ "home": "3",
+ "away": "2",
+ "compareCode": 1,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "dispossessed"
+ },
+ {
+ "name": "Ground duels",
+ "home": "13\/25 (52%)",
+ "away": "12\/25 (48%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 13,
+ "awayValue": 12,
+ "homeTotal": 25,
+ "awayTotal": 25,
+ "renderType": 3,
+ "key": "groundDuelsPercentage"
+ },
+ {
+ "name": "Dribbles",
+ "home": "3\/7 (43%)",
+ "away": "0\/5 (0%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 3,
+ "awayValue": 0,
+ "homeTotal": 7,
+ "awayTotal": 5,
+ "renderType": 3,
+ "key": "dribblesPercentage"
+ }
+ ]
+ },
+ {
+ "groupName": "Defending",
+ "statisticsItems": [
+ {
+ "name": "Tackles won",
+ "home": "100%",
+ "away": "100%",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 7,
+ "awayValue": 7,
+ "homeTotal": 7,
+ "awayTotal": 7,
+ "renderType": 4,
+ "key": "wonTacklePercent"
+ },
+ {
+ "name": "Total tackles",
+ "home": "7",
+ "away": "7",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 7,
+ "renderType": 1,
+ "key": "totalTackle"
+ },
+ {
+ "name": "Interceptions",
+ "home": "2",
+ "away": "5",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "interceptionWon"
+ },
+ {
+ "name": "Recoveries",
+ "home": "22",
+ "away": "20",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 22,
+ "awayValue": 20,
+ "renderType": 1,
+ "key": "ballRecovery"
+ },
+ {
+ "name": "Clearances",
+ "home": "8",
+ "away": "14",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 14,
+ "renderType": 1,
+ "key": "totalClearance"
+ }
+ ]
+ },
+ {
+ "groupName": "Goalkeeping",
+ "statisticsItems": [
+ {
+ "name": "Total saves",
+ "home": "1",
+ "away": "3",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "goalkeeperSaves"
+ },
+ {
+ "name": "Goal kicks",
+ "home": "1",
+ "away": "5",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 5,
+ "renderType": 1,
+ "key": "goalKicks"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "period": "2ND",
+ "groups": [
+ {
+ "groupName": "Match overview",
+ "statisticsItems": [
+ {
+ "name": "Ball possession",
+ "home": "45%",
+ "away": "55%",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 45,
+ "awayValue": 55,
+ "renderType": 2,
+ "key": "ballPossession"
+ },
+ {
+ "name": "Expected goals",
+ "home": "1.05",
+ "away": "0.41",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1.05,
+ "awayValue": 0.41,
+ "renderType": 1,
+ "key": "expectedGoals"
+ },
+ {
+ "name": "Big chances",
+ "home": "1",
+ "away": "1",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "bigChanceCreated"
+ },
+ {
+ "name": "Total shots",
+ "home": "8",
+ "away": "7",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 7,
+ "renderType": 1,
+ "key": "totalShotsOnGoal"
+ },
+ {
+ "name": "Goalkeeper saves",
+ "home": "2",
+ "away": "2",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "goalkeeperSaves"
+ },
+ {
+ "name": "Corner kicks",
+ "home": "2",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "cornerKicks"
+ },
+ {
+ "name": "Fouls",
+ "home": "8",
+ "away": "8",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 8,
+ "renderType": 1,
+ "key": "fouls"
+ },
+ {
+ "name": "Passes",
+ "home": "138",
+ "away": "168",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 138,
+ "awayValue": 168,
+ "renderType": 1,
+ "key": "passes"
+ },
+ {
+ "name": "Tackles",
+ "home": "8",
+ "away": "8",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 8,
+ "renderType": 1,
+ "key": "totalTackle"
+ },
+ {
+ "name": "Free kicks",
+ "home": "7",
+ "away": "8",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 8,
+ "renderType": 1,
+ "key": "freeKicks"
+ },
+ {
+ "name": "Yellow cards",
+ "home": "2",
+ "away": "3",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "yellowCards"
+ }
+ ]
+ },
+ {
+ "groupName": "Shots",
+ "statisticsItems": [
+ {
+ "name": "Total shots",
+ "home": "8",
+ "away": "7",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 7,
+ "renderType": 1,
+ "key": "totalShotsOnGoal"
+ },
+ {
+ "name": "Shots on target",
+ "home": "3",
+ "away": "2",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "shotsOnGoal"
+ },
+ {
+ "name": "Hit woodwork",
+ "home": "0",
+ "away": "0",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "hitWoodwork"
+ },
+ {
+ "name": "Shots off target",
+ "home": "1",
+ "away": "4",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 4,
+ "renderType": 1,
+ "key": "shotsOffGoal"
+ },
+ {
+ "name": "Blocked shots",
+ "home": "4",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 4,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "blockedScoringAttempt"
+ },
+ {
+ "name": "Shots inside box",
+ "home": "2",
+ "away": "3",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "totalShotsInsideBox"
+ },
+ {
+ "name": "Shots outside box",
+ "home": "6",
+ "away": "4",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 6,
+ "awayValue": 4,
+ "renderType": 1,
+ "key": "totalShotsOutsideBox"
+ }
+ ]
+ },
+ {
+ "groupName": "Attack",
+ "statisticsItems": [
+ {
+ "name": "Big chances scored",
+ "home": "1",
+ "away": "0",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "bigChanceScored"
+ },
+ {
+ "name": "Big chances missed",
+ "home": "0",
+ "away": "1",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "bigChanceMissed"
+ },
+ {
+ "name": "Fouled in final third",
+ "home": "3",
+ "away": "1",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 3,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "fouledFinalThird"
+ },
+ {
+ "name": "Offsides",
+ "home": "0",
+ "away": "0",
+ "compareCode": 3,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 0,
+ "renderType": 1,
+ "key": "offsides"
+ }
+ ]
+ },
+ {
+ "groupName": "Passes",
+ "statisticsItems": [
+ {
+ "name": "Accurate passes",
+ "home": "110",
+ "away": "138",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 110,
+ "awayValue": 138,
+ "renderType": 1,
+ "key": "accuratePasses"
+ },
+ {
+ "name": "Throw-ins",
+ "home": "7",
+ "away": "10",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 7,
+ "awayValue": 10,
+ "renderType": 1,
+ "key": "throwIns"
+ },
+ {
+ "name": "Final third entries",
+ "home": "23",
+ "away": "30",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 23,
+ "awayValue": 30,
+ "renderType": 1,
+ "key": "finalThirdEntries"
+ },
+ {
+ "name": "Long balls",
+ "home": "21\/31 (68%)",
+ "away": "8\/21 (38%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 21,
+ "awayValue": 8,
+ "homeTotal": 31,
+ "awayTotal": 21,
+ "renderType": 3,
+ "key": "accurateLongBalls"
+ },
+ {
+ "name": "Crosses",
+ "home": "0\/2 (0%)",
+ "away": "1\/5 (20%)",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 0,
+ "awayValue": 1,
+ "homeTotal": 2,
+ "awayTotal": 5,
+ "renderType": 3,
+ "key": "accurateCross"
+ }
+ ]
+ },
+ {
+ "groupName": "Duels",
+ "statisticsItems": [
+ {
+ "name": "Duels",
+ "home": "56%",
+ "away": "44%",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 56,
+ "awayValue": 44,
+ "renderType": 2,
+ "key": "duelWonPercent"
+ },
+ {
+ "name": "Dispossessed",
+ "home": "1",
+ "away": "4",
+ "compareCode": 2,
+ "statisticsType": "negative",
+ "valueType": "event",
+ "homeValue": 1,
+ "awayValue": 4,
+ "renderType": 1,
+ "key": "dispossessed"
+ },
+ {
+ "name": "Ground duels",
+ "home": "18\/33 (55%)",
+ "away": "15\/33 (45%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 18,
+ "awayValue": 15,
+ "homeTotal": 33,
+ "awayTotal": 33,
+ "renderType": 3,
+ "key": "groundDuelsPercentage"
+ },
+ {
+ "name": "Aerial duels",
+ "home": "2\/3 (67%)",
+ "away": "1\/3 (33%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 2,
+ "awayValue": 1,
+ "homeTotal": 3,
+ "awayTotal": 3,
+ "renderType": 3,
+ "key": "aerialDuelsPercentage"
+ },
+ {
+ "name": "Dribbles",
+ "home": "2\/9 (22%)",
+ "away": "0\/4 (0%)",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 2,
+ "awayValue": 0,
+ "homeTotal": 9,
+ "awayTotal": 4,
+ "renderType": 3,
+ "key": "dribblesPercentage"
+ }
+ ]
+ },
+ {
+ "groupName": "Defending",
+ "statisticsItems": [
+ {
+ "name": "Tackles won",
+ "home": "63%",
+ "away": "75%",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "team",
+ "homeValue": 5,
+ "awayValue": 6,
+ "homeTotal": 8,
+ "awayTotal": 8,
+ "renderType": 4,
+ "key": "wonTacklePercent"
+ },
+ {
+ "name": "Total tackles",
+ "home": "8",
+ "away": "8",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 8,
+ "renderType": 1,
+ "key": "totalTackle"
+ },
+ {
+ "name": "Interceptions",
+ "home": "0",
+ "away": "1",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 0,
+ "awayValue": 1,
+ "renderType": 1,
+ "key": "interceptionWon"
+ },
+ {
+ "name": "Recoveries",
+ "home": "20",
+ "away": "25",
+ "compareCode": 2,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 20,
+ "awayValue": 25,
+ "renderType": 1,
+ "key": "ballRecovery"
+ },
+ {
+ "name": "Clearances",
+ "home": "8",
+ "away": "3",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 8,
+ "awayValue": 3,
+ "renderType": 1,
+ "key": "totalClearance"
+ }
+ ]
+ },
+ {
+ "groupName": "Goalkeeping",
+ "statisticsItems": [
+ {
+ "name": "Total saves",
+ "home": "2",
+ "away": "2",
+ "compareCode": 3,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 2,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "goalkeeperSaves"
+ },
+ {
+ "name": "Goal kicks",
+ "home": "9",
+ "away": "2",
+ "compareCode": 1,
+ "statisticsType": "positive",
+ "valueType": "event",
+ "homeValue": 9,
+ "awayValue": 2,
+ "renderType": 1,
+ "key": "goalKicks"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/resources/views/filament/resources/events/widgets/statistic-regular.blade.php b/resources/views/filament/resources/events/widgets/statistic-regular.blade.php
index 18d1b38f..e0441a6f 100644
--- a/resources/views/filament/resources/events/widgets/statistic-regular.blade.php
+++ b/resources/views/filament/resources/events/widgets/statistic-regular.blade.php
@@ -1,7 +1,5 @@
-@if (!$hidden)
-
- {{ $titel }}
- {{ $value }}
-
-@endif
+
+ {{ $titel }}
+ {{ $value }}
+