fumetto 1col & 2col
This commit is contained in:
1 parent
937c5908d2
commit
531b4c0dc9
34 files changed
+809
-673
No files matched your search
@@ -61,6 +61,10 @@ class EventResource extends Resource
|
||||
->with('event_user_star')
|
||||
->where('sport_id', auth()->user()->sport_id);
|
||||
|
||||
if (auth()->user()->stars) {
|
||||
$query->whereHas('event_user_star');
|
||||
}
|
||||
|
||||
if (in_array('odds_2ways', EventsTable::$bettype_settings)) {
|
||||
$query->with('odds_2ways.bookmaker');
|
||||
}
|
||||
|
||||
@@ -283,70 +283,65 @@ class EventsTable
|
||||
->live(),
|
||||
])
|
||||
->query(function (Builder $query, array $data): Builder {
|
||||
return $query
|
||||
->when(
|
||||
self::$user->stars,
|
||||
fn (Builder $query) => $query->whereHas('event_user_star')
|
||||
)
|
||||
->when(
|
||||
$data['country_id'],
|
||||
fn (Builder $query, $country_id) => $query->where('country_id', $country_id)
|
||||
)->when(
|
||||
$data['group_id'],
|
||||
fn (Builder $query, $group_id) => $query->whereIn('group_id', $group_id)
|
||||
)->when(
|
||||
$data['competition_group_id'],
|
||||
fn (Builder $query, $competition_group_id) => $query->whereIn('competition_group_id', $competition_group_id)
|
||||
)->when(
|
||||
$data['starttime_period'],
|
||||
function (Builder $query, $starttime_period) {
|
||||
if (isset($starttime_period['start']) && isset($starttime_period['end'])) {
|
||||
$from = Carbon::createFromDate($starttime_period['start']);
|
||||
$end = Carbon::createFromDate($starttime_period['end']);
|
||||
return $query->when(
|
||||
$data['country_id'],
|
||||
fn (Builder $query, $country_id) => $query->where('country_id', $country_id)
|
||||
)->when(
|
||||
$data['group_id'],
|
||||
fn (Builder $query, $group_id) => $query->whereIn('group_id', $group_id)
|
||||
)->when(
|
||||
$data['competition_group_id'],
|
||||
fn (Builder $query, $competition_group_id) => $query->whereIn('competition_group_id', $competition_group_id)
|
||||
)->when(
|
||||
$data['starttime_period'],
|
||||
function (Builder $query, $starttime_period) {
|
||||
if (isset($starttime_period['start']) && isset($starttime_period['end'])) {
|
||||
$from = Carbon::createFromDate($starttime_period['start']);
|
||||
$end = Carbon::createFromDate($starttime_period['end']);
|
||||
|
||||
return $query
|
||||
->whereDate('starttime', '>=', $from->format('Y-m-d 00:00:00'))
|
||||
->whereDate('starttime', '<=', $end->format('Y-m-d 00:00:00'));
|
||||
} elseif (isset($starttime_period['start'])) {
|
||||
$from = Carbon::createFromDate($starttime_period['start']);
|
||||
return $query
|
||||
->whereDate('starttime', '>=', $from->format('Y-m-d 00:00:00'))
|
||||
->whereDate('starttime', '<=', $end->format('Y-m-d 00:00:00'));
|
||||
} elseif (isset($starttime_period['start'])) {
|
||||
$from = Carbon::createFromDate($starttime_period['start']);
|
||||
|
||||
return $query
|
||||
->whereDate('starttime', '>=', $from->format('Y-m-d 00:00:00'));
|
||||
} elseif (isset($starttime_period['end'])) {
|
||||
$end = Carbon::createFromDate($starttime_period['end']);
|
||||
return $query
|
||||
->whereDate('starttime', '>=', $from->format('Y-m-d 00:00:00'));
|
||||
} elseif (isset($starttime_period['end'])) {
|
||||
$end = Carbon::createFromDate($starttime_period['end']);
|
||||
|
||||
return $query
|
||||
->whereDate('starttime', '<=', $end->format('Y-m-d 00:00:00'));
|
||||
}
|
||||
return $query
|
||||
->whereDate('starttime', '<=', $end->format('Y-m-d 00:00:00'));
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
})->indicateUsing(function (array $data): array {
|
||||
$indicators = [];
|
||||
|
||||
if ($data['country_id'] ?? null) {
|
||||
$countries = Country::whereIn('id', $data['country_id'])->pluck('name')->toArray();
|
||||
if (count($countries) > 1) {
|
||||
$indicators[] = Indicator::make('Countries: '.implode(', ', $countries))->removeField('country_id');
|
||||
$indicators[] = Indicator::make('Countries: '.implode(', ', $countries))->removeField('country_id')->color('info');
|
||||
} else {
|
||||
$indicators[] = Indicator::make('Country: '.$countries[0])->removeField('country_id');
|
||||
$indicators[] = Indicator::make('Country: '.$countries[0])->removeField('country_id')->color('info');
|
||||
}
|
||||
}
|
||||
|
||||
if ($data['group_id'] ?? null) {
|
||||
$group_ids = Group::whereIn('id', $data['group_id'])->pluck('name')->toArray();
|
||||
if (count($group_ids) > 1) {
|
||||
$indicators[] = Indicator::make('Tournament: '.implode(', ', $group_ids))->removeField('group_id');
|
||||
$indicators[] = Indicator::make('Tournament: '.implode(', ', $group_ids))->removeField('group_id')->color('info');
|
||||
} else {
|
||||
$indicators[] = Indicator::make('Tournaments: '.$group_ids[0])->removeField('group_id');
|
||||
$indicators[] = Indicator::make('Tournaments: '.$group_ids[0])->removeField('group_id')->color('info');
|
||||
}
|
||||
}
|
||||
|
||||
if ($data['competition_group_id'] ?? null) {
|
||||
$competition_groups = CompetitionGroup::whereIn('id', $data['competition_group_id'])->pluck('name')->toArray();
|
||||
if (count($competition_groups) > 1) {
|
||||
$indicators[] = Indicator::make('Leagues: '.implode(', ', $competition_groups))->removeField('competition_group_id');
|
||||
$indicators[] = Indicator::make('Leagues: '.implode(', ', $competition_groups))->removeField('competition_group_id')->color('info');
|
||||
} else {
|
||||
$indicators[] = Indicator::make('League: '.$competition_groups[0])->removeField('competition_group_id');
|
||||
$indicators[] = Indicator::make('League: '.$competition_groups[0])->removeField('competition_group_id')->color('info')->color('info');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -360,12 +355,12 @@ class EventsTable
|
||||
$text .= ' To '.Carbon::parse($span['end'])->toFormattedDateString();
|
||||
}
|
||||
if ($text) {
|
||||
$indicators[] = Indicator::make($text)->removeField('starttime_period.start');
|
||||
$indicators[] = Indicator::make($text)->removeField('starttime_period.start')->color('info');
|
||||
}
|
||||
}
|
||||
|
||||
if ($data['stars_status'] ?? null) {
|
||||
$indicators[] = Indicator::make('Favorits')->removeField('stars_status');
|
||||
$indicators[] = Indicator::make('Favorits')->removeField('stars_status')->color('info');
|
||||
}
|
||||
|
||||
return $indicators;
|
||||
@@ -381,8 +376,6 @@ class EventsTable
|
||||
if (isset($record->event_user_star->id)) {
|
||||
return 'phosphor-star-fill';
|
||||
} else {
|
||||
// dd($record->event_user_stars);
|
||||
|
||||
return 'phosphor-star';
|
||||
}
|
||||
})
|
||||
|
||||
@@ -16,7 +16,7 @@ class Column3way extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class Column3way extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_3ways) ? true : false;
|
||||
$this->has_data = count($record->odds_3ways);
|
||||
|
||||
$this->act = $record->odds_3ways->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class Column3wayHt extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class Column3wayHt extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_3ways_ht) ? true : false;
|
||||
$this->has_data = count($record->odds_3ways_ht);
|
||||
|
||||
$this->act = $record->odds_3ways_ht->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnDc extends Column
|
||||
|
||||
protected ?array $bookmakers;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnDc extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_dc) ? true : false;
|
||||
$this->has_data = count($record->odds_dc);
|
||||
|
||||
$this->act = $record->odds_dc->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnDnb extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnDnb extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_dnb) ? true : false;
|
||||
$this->has_data = count($record->odds_dnb);
|
||||
|
||||
$this->act = $record->odds_dnb->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnGgng extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnGgng extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_ggng) ? true : false;
|
||||
$this->has_data = count($record->odds_ggng);
|
||||
|
||||
$this->act = $record->odds_ggng->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnMl extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnMl extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_2ways) ? true : false;
|
||||
$this->has_data = count($record->odds_2ways);
|
||||
|
||||
$this->act = $record->odds_2ways->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnMlS1 extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnMlS1 extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_2ways_s1) ? true : false;
|
||||
$this->has_data = count($record->odds_2ways_s1);
|
||||
|
||||
$this->act = $record->odds_2ways->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnPoint extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnPoint extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_points) ? true : false;
|
||||
$this->has_data = count($record->odds_points);
|
||||
|
||||
$this->act = $record->odds_points->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnPointQ1 extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnPointQ1 extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_points_q1) ? true : false;
|
||||
$this->has_data = count($record->odds_points_q1);
|
||||
|
||||
$this->act = $record->odds_points_q1->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTotal extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTotal extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_totals) ? true : false;
|
||||
$this->has_data = count($record->odds_totals);
|
||||
|
||||
$this->act = $record->odds_totals->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTotalHt extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTotalHt extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_totals_ht) ? true : false;
|
||||
$this->has_data = count($record->odds_totals_ht);
|
||||
|
||||
$this->act = $record->odds_totals_ht->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTotalQ1 extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTotalQ1 extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_totals_q1) ? true : false;
|
||||
$this->has_data = count($record->odds_totals_q1);
|
||||
|
||||
$this->act = $record->odds_totals_q1->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTq extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTq extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_tq) ? true : false;
|
||||
$this->has_data = count($record->odds_tq);
|
||||
|
||||
$this->act = $record->odds_tq->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class FilterOdds
|
||||
$checked_at = Carbon::createFromDate($model->checked_at)->timestamp;
|
||||
|
||||
if (! isset($filter['margin'])) {
|
||||
dd($model->bookmaker_id);
|
||||
Bookmakers::updateOrCreate(['id' => (int) $model->bookmaker_id], ['need_check' => 1]);
|
||||
}
|
||||
|
||||
if ($model->margin <= $filter['margin'] && $checked_at > time() - $filter['time_lastcheck']) {
|
||||
|
||||
Generated
+20
-20
@@ -902,16 +902,16 @@
|
||||
},
|
||||
{
|
||||
"name": "codewithkyrian/filament-date-range",
|
||||
"version": "2.1.0",
|
||||
"version": "2.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/CodeWithKyrian/filament-date-range.git",
|
||||
"reference": "1b573bf0fdcc0271d47cc71d21d6c6027783cccd"
|
||||
"reference": "a745e24e6155e32a23779ce5a194c486d3a9408e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/CodeWithKyrian/filament-date-range/zipball/1b573bf0fdcc0271d47cc71d21d6c6027783cccd",
|
||||
"reference": "1b573bf0fdcc0271d47cc71d21d6c6027783cccd",
|
||||
"url": "https://api.github.com/repos/CodeWithKyrian/filament-date-range/zipball/a745e24e6155e32a23779ce5a194c486d3a9408e",
|
||||
"reference": "a745e24e6155e32a23779ce5a194c486d3a9408e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -945,9 +945,9 @@
|
||||
"description": "A date range field and filter for Filament v3.",
|
||||
"support": {
|
||||
"issues": "https://github.com/CodeWithKyrian/filament-date-range/issues",
|
||||
"source": "https://github.com/CodeWithKyrian/filament-date-range/tree/2.1.0"
|
||||
"source": "https://github.com/CodeWithKyrian/filament-date-range/tree/2.2.0"
|
||||
},
|
||||
"time": "2026-01-20T09:16:19+00:00"
|
||||
"time": "2026-01-21T12:59:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "danharrin/date-format-converter",
|
||||
@@ -10971,11 +10971,11 @@
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "2.1.34",
|
||||
"version": "2.1.36",
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/070ba754a949fcade788e16e8dc5a5935b7cf2ee",
|
||||
"reference": "070ba754a949fcade788e16e8dc5a5935b7cf2ee",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/2132e5e2361d11d40af4c17faa16f043269a4cf3",
|
||||
"reference": "2132e5e2361d11d40af4c17faa16f043269a4cf3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -11020,7 +11020,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2026-01-19T19:52:16+00:00"
|
||||
"time": "2026-01-21T13:58:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
@@ -11468,21 +11468,21 @@
|
||||
},
|
||||
{
|
||||
"name": "rector/rector",
|
||||
"version": "2.3.3",
|
||||
"version": "2.3.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/rectorphp/rector.git",
|
||||
"reference": "7d09105f868491828891239462eb5b13ffdf2643"
|
||||
"reference": "9227d7a24b0f23ae941057509364f948d5da9ab2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/7d09105f868491828891239462eb5b13ffdf2643",
|
||||
"reference": "7d09105f868491828891239462eb5b13ffdf2643",
|
||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/9227d7a24b0f23ae941057509364f948d5da9ab2",
|
||||
"reference": "9227d7a24b0f23ae941057509364f948d5da9ab2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.4|^8.0",
|
||||
"phpstan/phpstan": "2.1.34"
|
||||
"phpstan/phpstan": "^2.1.36"
|
||||
},
|
||||
"conflict": {
|
||||
"rector/rector-doctrine": "*",
|
||||
@@ -11516,7 +11516,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/rectorphp/rector/issues",
|
||||
"source": "https://github.com/rectorphp/rector/tree/2.3.3"
|
||||
"source": "https://github.com/rectorphp/rector/tree/2.3.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -11524,7 +11524,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2026-01-21T10:54:49+00:00"
|
||||
"time": "2026-01-21T14:49:03+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sebastian/cli-parser",
|
||||
@@ -12814,12 +12814,12 @@
|
||||
],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"stability-flags": {},
|
||||
"prefer-stable": true,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"php": "^8.3"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.6.0"
|
||||
"platform-dev": {},
|
||||
"plugin-api-version": "2.9.0"
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
||||
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-space-x-reverse:0}}}:root,:host{--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-800:oklch(42.4% .199 265.638);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.ml-1{margin-left:calc(var(--spacing)*1)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-full{height:100%}.h-screen{height:100vh}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-40{width:calc(var(--spacing)*40)}.w-full{width:100%}.w-screen{width:100vw}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-gray-300{border-color:var(--color-gray-300)}.border-transparent{border-color:#0000}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-blue-800{background-color:var(--color-blue-800)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.text-center{text-align:center}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weighLine truncated
|
||||
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-space-x-reverse:0}}}:root,:host{--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-800:oklch(42.4% .199 265.638);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.ml-1{margin-left:calc(var(--spacing)*1)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-full{height:100%}.h-screen{height:100vh}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-40{width:calc(var(--spacing)*40)}.w-full{width:100%}.w-screen{width:100vw}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-gray-300{border-color:var(--color-gray-300)}.border-transparent{border-color:#0000}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-blue-800{background-color:var(--color-blue-800)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.text-center{text-align:center}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weighLine truncated
|
||||
@@ -1 +1 @@
|
||||
var Oa=Object.create;var yn=Object.defineProperty;var Aa=Object.getOwnPropertyDescriptor;var Ea=Object.getOwnPropertyNames;var za=Object.getPrototypeOf,Ia=Object.prototype.hasOwnProperty;var O=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var xa=(n,e,i,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of Ea(e))!Ia.call(n,t)&&t!==i&&yn(n,t,{get:()=>e[t],enumerable:!(a=Aa(e,t))||a.enumerable});return n};var rt=(n,e,i)=>(i=n!=null?Oa(za(n)):{},xa(e||!n||!n.__esModule?yn(i,"default",{value:n,enumerable:!0}):i,n));var $n=O((Tt,Ht)=>{(function(n,e){typeof Tt=="object"&&typeof Ht<"u"?Ht.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_advancedFormat=e()})(Tt,function(){"use strict";return function(n,e){var i=e.prototype,a=i.format;i.format=function(t){var s=this,d=this.$locale();if(!this.isValid())return a.bind(this)(t);var u=this.$utils(),f=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(o){switch(o){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return d.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return d.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),o==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),o==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),o==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return o}});return a.bind(this)(f)}}})});var Cn=O((jt,wt)=>{(function(n,e){typeof jt=="object"&&typeof wt<"u"?wt.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=e()})(jt,function(){"use strict";var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,a=/\d\d/,t=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,d={},u=function(c){return(c=+c)+(c>68?1900:2e3)},f=function(c){return function(v){this[c]=+v}},o=[/[+-]\d\d:?(\d\d)?|Z/,function(c){(this.zone||(this.zone={})).offset=function(v){if(!v||v==="Z")return 0;var w=v.match(/([+-]|\d\d)/g),T=60*w[1]+(+w[2]||0);return T===0?0:w[0]==="+"?-T:T}(c)}],l=function(c){var v=d[c];return v&&(v.indexOf?v:v.s.concat(v.f))},L=function(c,v){var w,T=d.meridiem;if(T){for(var H=1;H<=24;H+=1)if(c.indexOf(T(H,0,v))>-1){w=H>12;break}}else w=c===(v?"pm":"PM");return w},m={A:[s,function(c){this.afternoon=L(c,!1)}],a:[s,function(c){this.afternoon=L(c,!0)}],Q:[i,function(c){this.month=3*(c-1)+1}],S:[i,function(c){this.milliseconds=100*+c}],SS:[a,function(c){this.milliseconds=10*+c}],SSS:[/\d{3}/,function(c){this.milliseconds=+c}],s:[t,f("seconds")],ss:[t,f("seconds")],m:[t,f("minutes")],mm:[t,f("minutes")],H:[t,f("hours")],h:[t,f("hours")],HH:[t,f("hours")],hh:[t,f("hours")],D:[t,f("day")],DD:[a,f("day")],Do:[s,function(c){var v=d.ordinal,w=c.match(/\d+/);if(this.day=w[0],v)for(var T=1;T<=31;T+=1)v(T).replace(/\[|\]/g,"")===c&&(this.day=T)}],w:[t,f("week")],ww:[a,f("week")],M:[t,f("month")],MM:[a,f("month")],MMM:[s,function(c){var v=l("months"),w=(l("monthsShort")||v.map(function(T){return T.slice(0,3)})).indexOf(c)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[s,function(c){var v=l("months").indexOf(c)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,f("year")],YY:[a,function(c){this.year=u(c)}],YYYY:[/\d{4}/,f("year")],Z:o,ZZ:o};function h(c){var v,w;v=c,w=d&&d.formats;for(var T=(c=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(S,k,N){var F=N&&N.toUpperCase();return k||w[N]||n[N]||w[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,Y,y){return Y||y.slice(1)})})).match(e),H=T.length,r=0;r<H;r+=1){var _=T[r],M=m[_],D=M&&M[0],$=M&&M[1];T[r]=$?{regex:D,parser:$}:_.replace(/^\[|\]$/g,"")}return function(S){for(var k={},N=0,F=0;N<H;N+=1){var b=T[N];if(typeof b=="string")F+=b.length;else{var Y=b.regex,y=b.parser,g=S.slice(F),p=Y.exec(g)[0];y.call(k,p),S=S.replace(p,"")}}return function(j){var C=j.afternoon;if(C!==void 0){var A=j.hours;C?A<12&&(j.hours+=12):A===12&&(j.hours=0),delete j.afternoon}}(k),k}}return function(c,v,w){w.p.customParseFormat=!0,c&&c.parseTwoDigitYear&&(u=c.parseTwoDigitYear);var T=v.prototype,H=T.parse;T.parse=function(r){var _=r.date,M=r.utc,D=r.args;this.$u=M;var $=D[1];if(typeof $=="string"){var S=D[2]===!0,k=D[3]===!0,N=S||k,F=D[2];k&&(F=D[2]),d=this.$locale(),!S&&F&&(d=w.Ls[F]),this.$d=function(g,p,j,C){try{if(["x","X"].indexOf(p)>-1)return new Date((p==="X"?1e3:1)*g);var A=h(p)(g),x=A.year,q=A.month,P=A.day,U=A.hours,X=A.minutes,K=A.seconds,st=A.milliseconds,B=A.zone,J=A.week,Z=new Date,Q=P||(x||q?1:Z.getDate()),tt=x||Z.getFullYear(),ft=0;x&&!q||(ft=q>0?q-1:Z.getMonth());var ht,Yt=U||0,Dt=X||0,vt=K||0,Lt=st||0;return B?new Date(Date.UTC(tt,Line truncated
|
||||
var Oi=Object.create;var yn=Object.defineProperty;var Ai=Object.getOwnPropertyDescriptor;var Ei=Object.getOwnPropertyNames;var zi=Object.getPrototypeOf,Ii=Object.prototype.hasOwnProperty;var C=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var xi=(n,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of Ei(e))!Ii.call(n,t)&&t!==a&&yn(n,t,{get:()=>e[t],enumerable:!(i=Ai(e,t))||i.enumerable});return n};var rt=(n,e,a)=>(a=n!=null?Oi(zi(n)):{},xi(e||!n||!n.__esModule?yn(a,"default",{value:n,enumerable:!0}):a,n));var $n=C((Tt,Ht)=>{(function(n,e){typeof Tt=="object"&&typeof Ht<"u"?Ht.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_advancedFormat=e()})(Tt,function(){"use strict";return function(n,e){var a=e.prototype,i=a.format;a.format=function(t){var s=this,r=this.$locale();if(!this.isValid())return i.bind(this)(t);var u=this.$utils(),_=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(o){switch(o){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return r.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return r.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),o==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),o==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),o==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return o}});return i.bind(this)(_)}}})});var Cn=C((jt,wt)=>{(function(n,e){typeof jt=="object"&&typeof wt<"u"?wt.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=e()})(jt,function(){"use strict";var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,t=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,r={},u=function(c){return(c=+c)+(c>68?1900:2e3)},_=function(c){return function(g){this[c]=+g}},o=[/[+-]\d\d:?(\d\d)?|Z/,function(c){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var j=g.match(/([+-]|\d\d)/g),H=60*j[1]+(+j[2]||0);return H===0?0:j[0]==="+"?-H:H}(c)}],l=function(c){var g=r[c];return g&&(g.indexOf?g:g.s.concat(g.f))},b=function(c,g){var j,H=r.meridiem;if(H){for(var E=1;E<=24;E+=1)if(c.indexOf(H(E,0,g))>-1){j=E>12;break}}else j=c===(g?"pm":"PM");return j},m={A:[s,function(c){this.afternoon=b(c,!1)}],a:[s,function(c){this.afternoon=b(c,!0)}],Q:[a,function(c){this.month=3*(c-1)+1}],S:[a,function(c){this.milliseconds=100*+c}],SS:[i,function(c){this.milliseconds=10*+c}],SSS:[/\d{3}/,function(c){this.milliseconds=+c}],s:[t,_("seconds")],ss:[t,_("seconds")],m:[t,_("minutes")],mm:[t,_("minutes")],H:[t,_("hours")],h:[t,_("hours")],HH:[t,_("hours")],hh:[t,_("hours")],D:[t,_("day")],DD:[i,_("day")],Do:[s,function(c){var g=r.ordinal,j=c.match(/\d+/);if(this.day=j[0],g)for(var H=1;H<=31;H+=1)g(H).replace(/\[|\]/g,"")===c&&(this.day=H)}],w:[t,_("week")],ww:[i,_("week")],M:[t,_("month")],MM:[i,_("month")],MMM:[s,function(c){var g=l("months"),j=(l("monthsShort")||g.map(function(H){return H.slice(0,3)})).indexOf(c)+1;if(j<1)throw new Error;this.month=j%12||j}],MMMM:[s,function(c){var g=l("months").indexOf(c)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,_("year")],YY:[i,function(c){this.year=u(c)}],YYYY:[/\d{4}/,_("year")],Z:o,ZZ:o};function h(c){var g,j;g=c,j=r&&r.formats;for(var H=(c=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(S,L,I){var F=I&&I.toUpperCase();return L||j[I]||n[I]||j[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,p,y){return p||y.slice(1)})})).match(e),E=H.length,v=0;v<E;v+=1){var d=H[v],f=m[d],M=f&&f[0],D=f&&f[1];H[v]=D?{regex:M,parser:D}:d.replace(/^\[|\]$/g,"")}return function(S){for(var L={},I=0,F=0;I<E;I+=1){var T=H[I];if(typeof T=="string")F+=T.length;else{var p=T.regex,y=T.parser,k=S.slice(F),Y=p.exec(k)[0];y.call(L,Y),S=S.replace(Y,"")}}return function($){var w=$.afternoon;if(w!==void 0){var O=$.hours;w?O<12&&($.hours+=12):O===12&&($.hours=0),delete $.afternoon}}(L),L}}return function(c,g,j){j.p.customParseFormat=!0,c&&c.parseTwoDigitYear&&(u=c.parseTwoDigitYear);var H=g.prototype,E=H.parse;H.parse=function(v){var d=v.date,f=v.utc,M=v.args;this.$u=f;var D=M[1];if(typeof D=="string"){var S=M[2]===!0,L=M[3]===!0,I=S||L,F=M[2];L&&(F=M[2]),r=this.$locale(),!S&&F&&(r=j.Ls[F]),this.$d=function(k,Y,$,w){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*k);var O=h(Y)(k),q=O.year,N=O.month,P=O.day,U=O.hours,X=O.minutes,K=O.seconds,st=O.milliseconds,B=O.zone,J=O.week,Z=new Date,Q=P||(q||N?1:Z.getDate()),tt=q||Z.getFullYear(),ft=0;q&&!N||(ft=N>0?N-1:Z.getMonth());var ht,Yt=U||0,Dt=X||0,vt=K||0,Lt=st||0;return B?new Date(Date.UTC(tt,Line truncated
|
||||
@@ -3,11 +3,16 @@
|
||||
<div>{{ $label }}</div>
|
||||
@endforeach
|
||||
<div>Margin</div>
|
||||
<div >Lastcheck</div>
|
||||
<div>Lastcheck</div>
|
||||
|
||||
@if($twice)
|
||||
|
||||
<div></div>
|
||||
<div>Book</div>
|
||||
@foreach ($labels as $label)
|
||||
<div>{{ $label }}</div>
|
||||
@endforeach
|
||||
<div >Margin</div>
|
||||
<div >Lastcheck</div>
|
||||
<div>Margin</div>
|
||||
<div>Lastcheck</div>
|
||||
|
||||
@endif
|
||||
@@ -1,60 +1,72 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_1x2_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1', 'X', '2'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1', 'X', '2'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@foreach ($record->odds_3ways as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h3w >= $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w <= $min['h3w'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->d3w >= $max['d3w'] ? 1 : 0,
|
||||
'min' => $item->d3w <= $min['d3w'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_3ways as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a3w >= $max['a3w'] ? 1 : 0,
|
||||
'min' => $item->a3w <= $min['a3w'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h3w >= $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w <= $min['h3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->d3w >= $max['d3w'] ? 1 : 0,
|
||||
'min' => $item->d3w <= $min['d3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a3w >= $max['a3w'] ? 1 : 0,
|
||||
'min' => $item->a3w <= $min['a3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_1x2_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,60 +1,71 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_1x2_ht_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['1', 'X', '2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_3ways_ht as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1', 'X', '2'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1', 'X', '2'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h3w >= $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w <= $min['h3w'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->d3w >= $max['d3w'] ? 1 : 0,
|
||||
'min' => $item->d3w <= $min['d3w'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_3ways_ht as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a3w >= $max['a3w'] ? 1 : 0,
|
||||
'min' => $item->a3w <= $min['a3w'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h3w >= $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w <= $min['h3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->d3w >= $max['d3w'] ? 1 : 0,
|
||||
'min' => $item->d3w <= $min['d3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a3w >= $max['a3w'] ? 1 : 0,
|
||||
'min' => $item->a3w <= $min['a3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_1x2_ht_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,63 +1,73 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_dc_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['1X', '12', 'X2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_dc as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1X', '12', 'X2'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1X', '12', 'X2'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dc1x,
|
||||
'dec' => 2,
|
||||
'max' => $item->dc1x >= $max['dc1x'] ? 1 : 0,
|
||||
'min' => $item->dc1x <= $min['dc1x'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'dec' => 2,
|
||||
'max' => $item->dc12 >= $max['dc12'] ? 1 : 0,
|
||||
'min' => $item->dc12 <= $min['dc12'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'dec' => 2,
|
||||
'max' => $item->dcx2 >= $max['dcx2'] ? 1 : 0,
|
||||
'min' => $item->dcx2 <= $min['dcx2'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_dc as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dc1x,
|
||||
'dec' => 2,
|
||||
'max' => $item->dc1x >= $max['dc1x'] ? 1 : 0,
|
||||
'min' => $item->dc1x <= $min['dc1x'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dc12,
|
||||
'dec' => 2,
|
||||
'max' => $item->dc12 >= $max['dc12'] ? 1 : 0,
|
||||
'min' => $item->dc12 <= $min['dc12'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dcx2,
|
||||
'dec' => 2,
|
||||
'max' => $item->dcx2 >= $max['dcx2'] ? 1 : 0,
|
||||
'min' => $item->dcx2 <= $min['dcx2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_dc_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,53 +1,64 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_dnb_{{ $record->id }}">
|
||||
<div class="grid grid-cols-11 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['DNB1', 'DNB2']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_dnb as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-11 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['DNB1', 'DNB2'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-5 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['DNB1', 'DNB2'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'dec' => 2,
|
||||
'max' => $item->dnb1 == $max['dnb1'] ? 1 : 0,
|
||||
'min' => $item->dnb1 == $min['dnb1'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'dec' => 2,
|
||||
'max' => $item->dnb2 == $max['dnb2'] ? 1 : 0,
|
||||
'min' => $item->dnb2 == $min['dnb2'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_dnb as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dnb1,
|
||||
'dec' => 2,
|
||||
'max' => $item->dnb1 == $max['dnb1'] ? 1 : 0,
|
||||
'min' => $item->dnb1 == $min['dnb1'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->dnb2,
|
||||
'dec' => 2,
|
||||
'max' => $item->dnb2 == $max['dnb2'] ? 1 : 0,
|
||||
'min' => $item->dnb2 == $min['dnb2'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_dnb_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,53 +1,62 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_gg_{{ $record->id }}">
|
||||
<div class="grid grid-cols-11 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['GG', 'NG']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_ggng as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-11 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['GG', 'NG'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-5 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['GG', 'NG'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->gg,
|
||||
'dec' => 2,
|
||||
'max' => $item->gg == $max['gg'] ? 1 : 0,
|
||||
'min' => $item->gg == $min['gg'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_ggng as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'dec' => 2,
|
||||
'max' => $item->ng == $max['ng'] ? 1 : 0,
|
||||
'min' => $item->ng == $min['ng'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->gg,
|
||||
'dec' => 2,
|
||||
'max' => $item->gg == $max['gg'] ? 1 : 0,
|
||||
'min' => $item->gg == $min['gg'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->ng,
|
||||
'dec' => 2,
|
||||
'max' => $item->ng == $max['ng'] ? 1 : 0,
|
||||
'min' => $item->ng == $min['ng'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_gg_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,53 +1,65 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_2way_{{ $record->id }}">
|
||||
<div class="grid grid-cols-11 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Home', 'Away']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_2ways as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Home', 'Away']])
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-11 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-5 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h2w == $max['h2w'] ? 1 : 0,
|
||||
'min' => $item->h2w == $min['h2w'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a2w == $max['a2w'] ? 1 : 0,
|
||||
'min' => $item->a2w == $min['a2w'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_2ways as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h2w == $max['h2w'] ? 1 : 0,
|
||||
'min' => $item->h2w == $min['h2w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a2w == $max['a2w'] ? 1 : 0,
|
||||
'min' => $item->a2w == $min['a2w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_2way_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,53 +1,64 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_2way_s1_{{ $record->id }}">
|
||||
<div class="grid grid-cols-11 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Home', 'Away']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_2ways_s1 as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Home', 'Away']])
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-11 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-5 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h2w == $max['h2w'] ? 1 : 0,
|
||||
'min' => $item->h2w == $min['h2w'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_2ways_s1 as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a2w == $max['a2w'] ? 1 : 0,
|
||||
'min' => $item->a2w == $min['a2w'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h2w == $max['h2w'] ? 1 : 0,
|
||||
'min' => $item->h2w == $min['h2w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a2w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a2w == $max['a2w'] ? 1 : 0,
|
||||
'min' => $item->a2w == $min['a2w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_2way_s1_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,60 +1,70 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_point_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Home', 'Away', 'Handicap']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_points as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away', 'Handicap'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away', 'Handicap'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->home,
|
||||
'dec' => 2,
|
||||
'max' => $item->home == $max['home'] ? 1 : 0,
|
||||
'min' => $item->home == $min['home'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->away,
|
||||
'dec' => 2,
|
||||
'max' => $item->away == $max['away'] ? 1 : 0,
|
||||
'min' => $item->away == $min['away'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_points as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->handicap,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->home,
|
||||
'dec' => 2,
|
||||
'max' => $item->home == $max['home'] ? 1 : 0,
|
||||
'min' => $item->home == $min['home'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->away,
|
||||
'dec' => 2,
|
||||
'max' => $item->away == $max['away'] ? 1 : 0,
|
||||
'min' => $item->away == $min['away'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->handicap,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_point_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,60 +1,71 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_point_q1_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Home', 'Away', 'Handicap']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_points_q1 as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away', 'Handicap'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Home', 'Away', 'Handicap'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->home,
|
||||
'dec' => 2,
|
||||
'max' => $item->home == $max['home'] ? 1 : 0,
|
||||
'min' => $item->home == $min['home'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->away,
|
||||
'dec' => 2,
|
||||
'max' => $item->away == $max['away'] ? 1 : 0,
|
||||
'min' => $item->away == $min['away'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_points_q1 as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->handicap,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->home,
|
||||
'dec' => 2,
|
||||
'max' => $item->home == $max['home'] ? 1 : 0,
|
||||
'min' => $item->home == $min['home'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->away,
|
||||
'dec' => 2,
|
||||
'max' => $item->away == $max['away'] ? 1 : 0,
|
||||
'min' => $item->away == $min['away'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->handicap,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_point_q1_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,60 +1,69 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_total_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Over', 'Under', 'Total']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_totals as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Over', 'Under', 'Total'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Over', 'Under', 'Total'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_totals as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_total_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,60 +1,69 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_total_ht_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Over', 'Under', 'Total']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_totals_ht as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Over', 'Under', 'Total'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Over', 'Under', 'Total'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_totals_ht as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_total_ht_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,60 +1,69 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_total_q1_{{ $record->id }}">
|
||||
<div class="grid grid-cols-13 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['Over', 'Under', 'Total']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_totals_q1 as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Over', 'Under', 'Total'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['Over', 'Under', 'Total'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
@foreach ($record->odds_totals_q1 as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->over,
|
||||
'dec' => 2,
|
||||
'max' => $item->over == $max['over'] ? 1 : 0,
|
||||
'min' => $item->over == $min['over'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->under,
|
||||
'dec' => 2,
|
||||
'max' => $item->under == $max['under'] ? 1 : 0,
|
||||
'min' => $item->under == $min['under'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->total,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_total_q1_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -1,53 +1,64 @@
|
||||
@if ($hasData())
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_tq_{{ $record->id }}">
|
||||
<div class="grid grid-cols-11 grid-rows-5 gap-1 m-5 z-10 text-xs text-center">
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.label', ['labels' => ['H', 'A']])
|
||||
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@foreach ($record->odds_tq as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-11 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['H', 'A'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-5 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['H', 'A'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'dec' => 2,
|
||||
'max' => $item->htq == $max['htq'] ? 1 : 0,
|
||||
'min' => $item->htq == $min['htq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'dec' => 2,
|
||||
'max' => $item->atq == $max['atq'] ? 1 : 0,
|
||||
'min' => $item->atq == $min['atq'] ? 1 : 0,
|
||||
])
|
||||
@php
|
||||
$max = $getMax();
|
||||
$min = $getMin();
|
||||
@endphp
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if($i %2 == 0)
|
||||
@foreach ($record->odds_tq as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->htq,
|
||||
'dec' => 2,
|
||||
'max' => $item->htq == $max['htq'] ? 1 : 0,
|
||||
'min' => $item->htq == $min['htq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->atq,
|
||||
'dec' => 2,
|
||||
'max' => $item->atq == $max['atq'] ? 1 : 0,
|
||||
'min' => $item->atq == $min['atq'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_tq_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
|
||||
@@ -13,6 +13,7 @@ case "$1" in
|
||||
php artisan filament:assets
|
||||
php artisan optimize
|
||||
php artisan db:seed --force
|
||||
php artisan nuh --d --f 53
|
||||
;;
|
||||
"3")
|
||||
php artisan filament:optimize-clear
|
||||
@@ -64,7 +65,6 @@ case "$1" in
|
||||
php artisan nuh --d --f 17
|
||||
php artisan nuh --d --f 18
|
||||
php artisan nuh --d --f 19
|
||||
php artisan nuh --d --f 53
|
||||
;;
|
||||
"10")
|
||||
php artisan nuh --d --t --f 1
|
||||
@@ -88,7 +88,6 @@ case "$1" in
|
||||
php artisan nuh --d --f --p 17
|
||||
php artisan nuh --d --f --p 18
|
||||
php artisan nuh --d --f --p 19
|
||||
php artisan nuh --d --f 53
|
||||
;;
|
||||
*)
|
||||
echo ""
|
||||
|
||||
Reference in new issue
Block a user