From c30e1c197369509fd7a9ff28b5f9faca41d48b6f Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 19 Mar 2023 10:39:40 +0100 Subject: [PATCH 01/21] Better accuracy for database. Does not affect current users. --- .../2016_06_16_000002_create_main_tables.php | 22 +++++++++---------- .../2016_12_22_150431_changes_for_v430.php | 2 +- .../2017_04_13_163623_changes_for_v440.php | 4 ++-- .../2017_06_02_105232_changes_for_v450.php | 2 +- .../2018_06_08_200526_changes_for_v475.php | 4 ++-- ...2019_12_28_191351_make_locations_table.php | 4 ++-- .../2020_03_13_201950_changes_for_v520.php | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/database/migrations/2016_06_16_000002_create_main_tables.php b/database/migrations/2016_06_16_000002_create_main_tables.php index 6b06669502..7f364d2cf8 100644 --- a/database/migrations/2016_06_16_000002_create_main_tables.php +++ b/database/migrations/2016_06_16_000002_create_main_tables.php @@ -99,7 +99,7 @@ class CreateMainTables extends Migration $table->integer('user_id', false, true); $table->integer('account_type_id', false, true); $table->string('name', 1024); - $table->decimal('virtual_balance', 36, 24)->nullable(); + $table->decimal('virtual_balance', 32, 12)->nullable(); $table->string('iban', 255)->nullable(); $table->boolean('active')->default(1); $table->boolean('encrypted')->default(0); @@ -135,7 +135,7 @@ class CreateMainTables extends Migration $table->softDeletes(); $table->integer('account_id', false, true); $table->string('name', 1024); - $table->decimal('targetamount', 36, 24); + $table->decimal('targetamount', 32, 12); $table->date('startdate')->nullable(); $table->date('targetdate')->nullable(); $table->integer('order', false, true)->default(0); @@ -155,7 +155,7 @@ class CreateMainTables extends Migration $table->integer('piggy_bank_id', false, true); $table->date('startdate')->nullable(); $table->date('targetdate')->nullable(); - $table->decimal('currentamount', 36, 24); + $table->decimal('currentamount', 32, 12); $table->foreign('piggy_bank_id')->references('id')->on('piggy_banks')->onDelete('cascade'); } ); @@ -202,8 +202,8 @@ class CreateMainTables extends Migration $table->integer('user_id', false, true); $table->string('name', 1024); $table->string('match', 1024); - $table->decimal('amount_min', 36, 24); - $table->decimal('amount_max', 36, 24); + $table->decimal('amount_min', 32, 12); + $table->decimal('amount_max', 32, 12); $table->date('date'); $table->string('repeat_freq', 30); $table->smallInteger('skip', false, true)->default(0); @@ -247,7 +247,7 @@ class CreateMainTables extends Migration $table->timestamps(); $table->integer('budget_id', false, true); $table->date('startdate'); - $table->decimal('amount', 36, 24); + $table->decimal('amount', 32, 12); $table->string('repeat_freq', 30); $table->boolean('repeats')->default(0); $table->foreign('budget_id')->references('id')->on('budgets')->onDelete('cascade'); @@ -263,7 +263,7 @@ class CreateMainTables extends Migration $table->integer('budget_limit_id', false, true); $table->date('startdate'); $table->date('enddate'); - $table->decimal('amount', 36, 24); + $table->decimal('amount', 32, 12); $table->foreign('budget_limit_id')->references('id')->on('budget_limits')->onDelete('cascade'); } ); @@ -463,8 +463,8 @@ class CreateMainTables extends Migration $table->string('tagMode', 1024); $table->date('date')->nullable(); $table->text('description')->nullable(); - $table->decimal('latitude', 36, 24)->nullable(); - $table->decimal('longitude', 36, 24)->nullable(); + $table->decimal('latitude', 12, 8)->nullable(); + $table->decimal('longitude', 12, 8)->nullable(); $table->smallInteger('zoomLevel', false, true)->nullable(); // link user id to users table @@ -575,7 +575,7 @@ class CreateMainTables extends Migration $table->integer('piggy_bank_id', false, true); $table->integer('transaction_journal_id', false, true)->nullable(); $table->date('date'); - $table->decimal('amount', 36, 24); + $table->decimal('amount', 32, 12); $table->foreign('piggy_bank_id')->references('id')->on('piggy_banks')->onDelete('cascade'); $table->foreign('transaction_journal_id')->references('id')->on('transaction_journals')->onDelete('set null'); @@ -593,7 +593,7 @@ class CreateMainTables extends Migration $table->integer('account_id', false, true); $table->integer('transaction_journal_id', false, true); $table->string('description', 1024)->nullable(); - $table->decimal('amount', 36, 24); + $table->decimal('amount', 32, 12); $table->foreign('account_id')->references('id')->on('accounts')->onDelete('cascade'); $table->foreign('transaction_journal_id')->references('id')->on('transaction_journals')->onDelete('cascade'); diff --git a/database/migrations/2016_12_22_150431_changes_for_v430.php b/database/migrations/2016_12_22_150431_changes_for_v430.php index 579001ebc6..f478647289 100644 --- a/database/migrations/2016_12_22_150431_changes_for_v430.php +++ b/database/migrations/2016_12_22_150431_changes_for_v430.php @@ -54,7 +54,7 @@ class ChangesForV430 extends Migration $table->softDeletes(); $table->integer('user_id', false, true); $table->integer('transaction_currency_id', false, true); - $table->decimal('amount', 36, 24); + $table->decimal('amount', 32, 12); $table->date('start_date'); $table->date('end_date'); diff --git a/database/migrations/2017_04_13_163623_changes_for_v440.php b/database/migrations/2017_04_13_163623_changes_for_v440.php index 9d62b05037..79204d198b 100644 --- a/database/migrations/2017_04_13_163623_changes_for_v440.php +++ b/database/migrations/2017_04_13_163623_changes_for_v440.php @@ -72,8 +72,8 @@ class ChangesForV440 extends Migration $table->integer('from_currency_id', false, true); $table->integer('to_currency_id', false, true); $table->date('date'); - $table->decimal('rate', 36, 24); - $table->decimal('user_rate', 36, 24)->nullable(); + $table->decimal('rate', 32, 12); + $table->decimal('user_rate', 32, 12)->nullable(); $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); $table->foreign('from_currency_id')->references('id')->on('transaction_currencies')->onDelete('cascade'); diff --git a/database/migrations/2017_06_02_105232_changes_for_v450.php b/database/migrations/2017_06_02_105232_changes_for_v450.php index 1caf09aa77..706a75fe39 100644 --- a/database/migrations/2017_06_02_105232_changes_for_v450.php +++ b/database/migrations/2017_06_02_105232_changes_for_v450.php @@ -73,7 +73,7 @@ class ChangesForV450 extends Migration Schema::table( 'transactions', static function (Blueprint $table) { - $table->decimal('foreign_amount', 36, 24)->nullable()->after('amount'); + $table->decimal('foreign_amount', 32, 12)->nullable()->after('amount'); } ); diff --git a/database/migrations/2018_06_08_200526_changes_for_v475.php b/database/migrations/2018_06_08_200526_changes_for_v475.php index 6e7053056e..17c6f86898 100644 --- a/database/migrations/2018_06_08_200526_changes_for_v475.php +++ b/database/migrations/2018_06_08_200526_changes_for_v475.php @@ -92,8 +92,8 @@ class ChangesForV475 extends Migration $table->integer('source_id', false, true); $table->integer('destination_id', false, true); - $table->decimal('amount', 36, 24); - $table->decimal('foreign_amount', 36, 24)->nullable(); + $table->decimal('amount', 32, 12); + $table->decimal('foreign_amount', 32, 12)->nullable(); $table->string('description', 1024); $table->foreign('recurrence_id')->references('id')->on('recurrences')->onDelete('cascade'); diff --git a/database/migrations/2019_12_28_191351_make_locations_table.php b/database/migrations/2019_12_28_191351_make_locations_table.php index 65c6dc91b0..ff945896e7 100644 --- a/database/migrations/2019_12_28_191351_make_locations_table.php +++ b/database/migrations/2019_12_28_191351_make_locations_table.php @@ -60,8 +60,8 @@ class MakeLocationsTable extends Migration $table->integer('locatable_id', false, true); $table->string('locatable_type', 255); - $table->decimal('latitude', 36, 24)->nullable(); - $table->decimal('longitude', 36, 24)->nullable(); + $table->decimal('latitude', 12, 8)->nullable(); + $table->decimal('longitude', 12, 8)->nullable(); $table->smallInteger('zoom_level', false, true)->nullable(); } ); diff --git a/database/migrations/2020_03_13_201950_changes_for_v520.php b/database/migrations/2020_03_13_201950_changes_for_v520.php index 1ee987937a..cf864c4c12 100644 --- a/database/migrations/2020_03_13_201950_changes_for_v520.php +++ b/database/migrations/2020_03_13_201950_changes_for_v520.php @@ -59,7 +59,7 @@ class ChangesForV520 extends Migration $table->integer('budget_id', false, true); $table->integer('transaction_currency_id', false, true); $table->tinyInteger('auto_budget_type', false, true)->default(1); - $table->decimal('amount', 36, 24); + $table->decimal('amount', 32, 12); $table->string('period', 50); $table->foreign('transaction_currency_id')->references('id')->on('transaction_currencies')->onDelete('cascade'); From c926d85c8b0d6441206247dc216dacf6af87d4b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Mar 2023 03:56:27 +0000 Subject: [PATCH 02/21] Bump phpstan/phpstan from 1.10.6 to 1.10.7 Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.6 to 1.10.7. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/1.10.6...1.10.7) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index c5fe215cba..4afc3382c3 100644 --- a/composer.lock +++ b/composer.lock @@ -9797,16 +9797,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.6", + "version": "1.10.7", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "50d089a3e0904b0fe7e2cf2d4fd37d427d64235a" + "reference": "b10ceb526d9607903c5b2673f1fc8775dbe48975" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/50d089a3e0904b0fe7e2cf2d4fd37d427d64235a", - "reference": "50d089a3e0904b0fe7e2cf2d4fd37d427d64235a", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b10ceb526d9607903c5b2673f1fc8775dbe48975", + "reference": "b10ceb526d9607903c5b2673f1fc8775dbe48975", "shasum": "" }, "require": { @@ -9835,8 +9835,11 @@ "static analysis" ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.10.6" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -9852,7 +9855,7 @@ "type": "tidelift" } ], - "time": "2023-03-09T16:55:12+00:00" + "time": "2023-03-16T15:24:20+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", From 420a765295053a6b2865c5c2432aac1a2d1e42f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Mar 2023 03:56:46 +0000 Subject: [PATCH 03/21] Bump laravel/framework from 10.3.3 to 10.4.1 Bumps [laravel/framework](https://github.com/laravel/framework) from 10.3.3 to 10.4.1. - [Release notes](https://github.com/laravel/framework/releases) - [Changelog](https://github.com/laravel/framework/blob/10.x/CHANGELOG.md) - [Commits](https://github.com/laravel/framework/compare/v10.3.3...v10.4.1) --- updated-dependencies: - dependency-name: laravel/framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index c5fe215cba..1f04882817 100644 --- a/composer.lock +++ b/composer.lock @@ -1944,16 +1944,16 @@ }, { "name": "laravel/framework", - "version": "v10.3.3", + "version": "v10.4.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "90f24d9e2860ecf6b5492e966956270ceb98c03d" + "reference": "7d15f7eef442633cff108f83d9fe43d8c3b8b76f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/90f24d9e2860ecf6b5492e966956270ceb98c03d", - "reference": "90f24d9e2860ecf6b5492e966956270ceb98c03d", + "url": "https://api.github.com/repos/laravel/framework/zipball/7d15f7eef442633cff108f83d9fe43d8c3b8b76f", + "reference": "7d15f7eef442633cff108f83d9fe43d8c3b8b76f", "shasum": "" }, "require": { @@ -2052,7 +2052,7 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.0", + "orchestra/testbench-core": "^8.1", "pda/pheanstalk": "^4.0", "phpstan/phpdoc-parser": "^1.15", "phpstan/phpstan": "^1.4.7", @@ -2140,7 +2140,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-03-09T14:00:53+00:00" + "time": "2023-03-18T11:34:02+00:00" }, { "name": "laravel/passport", From 8641cbd6194af8861a315b793f22d821734db595 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Mar 2023 05:09:25 +0000 Subject: [PATCH 04/21] Bump phpstan/phpstan-deprecation-rules from 1.1.2 to 1.1.3 Bumps [phpstan/phpstan-deprecation-rules](https://github.com/phpstan/phpstan-deprecation-rules) from 1.1.2 to 1.1.3. - [Release notes](https://github.com/phpstan/phpstan-deprecation-rules/releases) - [Commits](https://github.com/phpstan/phpstan-deprecation-rules/compare/1.1.2...1.1.3) --- updated-dependencies: - dependency-name: phpstan/phpstan-deprecation-rules dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 21187d1850..529c7b5b3e 100644 --- a/composer.json +++ b/composer.json @@ -116,7 +116,7 @@ "mockery/mockery": "1.*", "nunomaduro/larastan": "^2.5", "phpstan/phpstan": "^1.10", - "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.1", "phpstan/phpstan-strict-rules": "^1.4", "phpunit/phpunit": "^10", "thecodingmachine/phpstan-strict-rules": "^1.0" diff --git a/composer.lock b/composer.lock index 4afc3382c3..e8a2d78ffe 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d039ac062900b9cf70e12f1e7a6cacd9", + "content-hash": "ac90c0382ca1d0cb597ee1418a066866", "packages": [ { "name": "bacon/bacon-qr-code", @@ -9859,16 +9859,16 @@ }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "bcc1e8cdf81c3da1a2ba9188ee94cd7e2a62e865" + "reference": "a22b36b955a2e9a3d39fe533b6c1bb5359f9c319" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/bcc1e8cdf81c3da1a2ba9188ee94cd7e2a62e865", - "reference": "bcc1e8cdf81c3da1a2ba9188ee94cd7e2a62e865", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/a22b36b955a2e9a3d39fe533b6c1bb5359f9c319", + "reference": "a22b36b955a2e9a3d39fe533b6c1bb5359f9c319", "shasum": "" }, "require": { @@ -9901,9 +9901,9 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.2" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.3" }, - "time": "2023-01-17T16:14:21+00:00" + "time": "2023-03-17T07:50:08+00:00" }, { "name": "phpstan/phpstan-strict-rules", From 0386d5e09f65477137cdf58c50e63b2270165814 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 25 Mar 2023 11:32:33 +0100 Subject: [PATCH 05/21] Partial implementation of administration aware account auto complete --- .../Autocomplete/AccountController.php | 95 ++++++ app/Api/V2/Controllers/Controller.php | 2 +- .../Autocomplete/AutocompleteRequest.php | 98 ++++++ app/Models/UserGroup.php | 10 + app/Providers/AccountServiceProvider.php | 18 + .../Account/AccountRepository.php | 61 ++++ .../Account/AccountRepositoryInterface.php | 39 +++ .../Administration/AdministrationTrait.php | 82 +++++ frontend/src/api/v2/autocomplete/accounts.js | 35 ++ frontend/src/boot/axios.js | 2 +- .../src/components/transactions/Split.vue | 316 ++++++++++++++++++ .../transactions/form/SourceAccount.vue | 145 ++++++++ .../form/TransactionDescription.vue | 70 ++++ frontend/src/pages/transactions/Create.vue | 213 +++--------- 14 files changed, 1025 insertions(+), 161 deletions(-) create mode 100644 app/Api/V2/Request/Autocomplete/AutocompleteRequest.php create mode 100644 app/Repositories/Administration/Account/AccountRepository.php create mode 100644 app/Repositories/Administration/Account/AccountRepositoryInterface.php create mode 100644 app/Support/Repositories/Administration/AdministrationTrait.php create mode 100644 frontend/src/api/v2/autocomplete/accounts.js create mode 100644 frontend/src/components/transactions/Split.vue create mode 100644 frontend/src/components/transactions/form/SourceAccount.vue create mode 100644 frontend/src/components/transactions/form/TransactionDescription.vue diff --git a/app/Api/V2/Controllers/Autocomplete/AccountController.php b/app/Api/V2/Controllers/Autocomplete/AccountController.php index eac0044f95..b05425a549 100644 --- a/app/Api/V2/Controllers/Autocomplete/AccountController.php +++ b/app/Api/V2/Controllers/Autocomplete/AccountController.php @@ -25,10 +25,105 @@ declare(strict_types=1); namespace FireflyIII\Api\V2\Controllers\Autocomplete; use FireflyIII\Api\V2\Controllers\Controller; +use FireflyIII\Api\V2\Request\Autocomplete\AutocompleteRequest; +use FireflyIII\Exceptions\FireflyException; +use FireflyIII\Models\Account; +use FireflyIII\Models\AccountType; +use FireflyIII\Repositories\Administration\Account\AccountRepositoryInterface as AdminAccountRepositoryInterface; +use FireflyIII\Repositories\Account\AccountRepositoryInterface; +use FireflyIII\Support\Http\Api\AccountFilter; +use FireflyIII\User; +use Illuminate\Http\JsonResponse; +use JsonException; /** * Class AccountController */ class AccountController extends Controller { + use AccountFilter; + + private array $balanceTypes; + private AdminAccountRepositoryInterface $adminRepository; + private AccountRepositoryInterface $repository; + + /** + * AccountController constructor. + */ + public function __construct() + { + parent::__construct(); + $this->middleware( + function ($request, $next) { + /** @var User $user */ + $user = auth()->user(); + $this->repository = app(AccountRepositoryInterface::class); + $this->adminRepository = app(AdminAccountRepositoryInterface::class); + + return $next($request); + } + ); + $this->balanceTypes = [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE,]; + } + + /** + * Documentation for this endpoint: + * TODO endpoint is not documented. + * + * @param AutocompleteRequest $request + * + * @return JsonResponse + * @throws JsonException + * @throws FireflyException + * @throws FireflyException + */ + public function accounts(AutocompleteRequest $request): JsonResponse + { + $data = $request->getData(); + $types = $data['types']; + $query = $data['query']; + $date = $data['date'] ?? today(config('app.timezone')); + $this->adminRepository->setAdministrationId($data['administration_id']); + + $return = []; + $result = $this->adminRepository->searchAccount((string)$query, $types, $data['limit']); + $defaultCurrency = app('amount')->getDefaultCurrency(); + + /** @var Account $account */ + foreach ($result as $account) { + $nameWithBalance = $account->name; + $currency = $this->repository->getAccountCurrency($account) ?? $defaultCurrency; + + if (in_array($account->accountType->type, $this->balanceTypes, true)) { + $balance = app('steam')->balance($account, $date); + $nameWithBalance = sprintf('%s (%s)', $account->name, app('amount')->formatAnything($currency, $balance, false)); + } + + $return[] = [ + 'id' => (string)$account->id, + 'name' => $account->name, + 'name_with_balance' => $nameWithBalance, + 'type' => $account->accountType->type, + 'currency_id' => $currency->id, + 'currency_name' => $currency->name, + 'currency_code' => $currency->code, + 'currency_symbol' => $currency->symbol, + 'currency_decimal_places' => $currency->decimal_places, + ]; + } + + // custom order. + $order = [AccountType::ASSET, AccountType::REVENUE, AccountType::EXPENSE]; + usort( + $return, + function ($a, $b) use ($order) { + $pos_a = array_search($a['type'], $order, true); + $pos_b = array_search($b['type'], $order, true); + + return $pos_a - $pos_b; + } + ); + + return response()->json($return); + } } diff --git a/app/Api/V2/Controllers/Controller.php b/app/Api/V2/Controllers/Controller.php index d34d2c3c0b..e36a16f263 100644 --- a/app/Api/V2/Controllers/Controller.php +++ b/app/Api/V2/Controllers/Controller.php @@ -79,7 +79,7 @@ class Controller extends BaseController $page = 1; } - $integers = ['limit']; + $integers = ['limit', 'administration']; $dates = ['start', 'end', 'date']; if ($page < 1) { diff --git a/app/Api/V2/Request/Autocomplete/AutocompleteRequest.php b/app/Api/V2/Request/Autocomplete/AutocompleteRequest.php new file mode 100644 index 0000000000..8a382c6792 --- /dev/null +++ b/app/Api/V2/Request/Autocomplete/AutocompleteRequest.php @@ -0,0 +1,98 @@ +. + */ + +declare(strict_types=1); + +namespace FireflyIII\Api\V2\Request\Autocomplete; + +use FireflyIII\Exceptions\FireflyException; +use FireflyIII\Models\AccountType; +use FireflyIII\Models\UserRole; +use FireflyIII\Support\Request\ChecksLogin; +use FireflyIII\Support\Request\ConvertsDataTypes; +use FireflyIII\User; +use FireflyIII\Validation\Administration\ValidatesAdministrationAccess; +use Illuminate\Foundation\Http\FormRequest; +use Illuminate\Validation\Validator; + +/** + * Class AutocompleteRequest + */ +class AutocompleteRequest extends FormRequest +{ + use ConvertsDataTypes; + use ChecksLogin; + use ValidatesAdministrationAccess; + + /** + * @return array + * @throws FireflyException + */ + public function getData(): array + { + $types = $this->convertString('types'); + $array = []; + if ('' !== $types) { + $array = explode(',', $types); + } + $limit = $this->convertInteger('limit'); + $limit = 0 === $limit ? 10 : $limit; + + // remove 'initial balance' and another from allowed types. its internal + $array = array_diff($array, [AccountType::INITIAL_BALANCE, AccountType::RECONCILIATION]); + /** @var User $user */ + $user = auth()->user(); + return [ + 'types' => $array, + 'query' => $this->convertString('query'), + 'date' => $this->getCarbonDate('date'), + 'limit' => $limit, + 'administration_id' => (int)($this->get('administration_id', null) ?? $user->getAdministrationId()), + ]; + } + + /** + * @return array + */ + public function rules(): array + { + return [ + 'limit' => 'min:0|max:1337', + ]; + } + + /** + * Configure the validator instance with special rules for after the basic validation rules. + * + * @param Validator $validator + * + * @return void + */ + public function withValidator(Validator $validator): void + { + $validator->after( + function (Validator $validator) { + // validate if the account can access this administration + $this->validateAdministration($validator, [UserRole::CHANGE_TRANSACTIONS]); + } + ); + } +} diff --git a/app/Models/UserGroup.php b/app/Models/UserGroup.php index a5e36294d2..2852213961 100644 --- a/app/Models/UserGroup.php +++ b/app/Models/UserGroup.php @@ -63,4 +63,14 @@ class UserGroup extends Model { return $this->hasMany(GroupMembership::class); } + + /** + * Link to accounts. + * + * @return HasMany + */ + public function accounts(): HasMany + { + return $this->hasMany(Account::class); + } } diff --git a/app/Providers/AccountServiceProvider.php b/app/Providers/AccountServiceProvider.php index a6539fe8d8..d7fb61298e 100644 --- a/app/Providers/AccountServiceProvider.php +++ b/app/Providers/AccountServiceProvider.php @@ -25,6 +25,8 @@ namespace FireflyIII\Providers; use FireflyIII\Repositories\Account\AccountRepository; use FireflyIII\Repositories\Account\AccountRepositoryInterface; +use FireflyIII\Repositories\Administration\Account\AccountRepository as AdminAccountRepository; +use FireflyIII\Repositories\Administration\Account\AccountRepositoryInterface as AdminAccountRepositoryInterface; use FireflyIII\Repositories\Account\AccountTasker; use FireflyIII\Repositories\Account\AccountTaskerInterface; use FireflyIII\Repositories\Account\OperationsRepository; @@ -73,6 +75,22 @@ class AccountServiceProvider extends ServiceProvider } ); + $this->app->bind( + AdminAccountRepositoryInterface::class, + function (Application $app) { + /** @var AdminAccountRepositoryInterface $repository */ + $repository = app(AdminAccountRepository::class); + + // phpstan thinks auth does not exist. + if ($app->auth->check()) { // @phpstan-ignore-line + $repository->setUser(auth()->user()); + $repository->setAdministrationId((int) auth()->user()->user_group_id); + } + + return $repository; + } + ); + $this->app->bind( OperationsRepositoryInterface::class, static function (Application $app) { diff --git a/app/Repositories/Administration/Account/AccountRepository.php b/app/Repositories/Administration/Account/AccountRepository.php new file mode 100644 index 0000000000..1976d97b49 --- /dev/null +++ b/app/Repositories/Administration/Account/AccountRepository.php @@ -0,0 +1,61 @@ +. + */ + +namespace FireflyIII\Repositories\Administration\Account; + +use FireflyIII\Support\Repositories\Administration\AdministrationTrait; +use Illuminate\Support\Collection; + +/** + * Class AccountRepository + */ +class AccountRepository implements AccountRepositoryInterface +{ + use AdministrationTrait; + + /** + * @inheritDoc + */ + public function searchAccount(string $query, array $types, int $limit): Collection + { + // search by group, not by user + $dbQuery = $this->userGroup->accounts() + ->where('active', true) + ->orderBy('accounts.order', 'ASC') + ->orderBy('accounts.account_type_id', 'ASC') + ->orderBy('accounts.name', 'ASC') + ->with(['accountType']); + if ('' !== $query) { + // split query on spaces just in case: + $parts = explode(' ', $query); + foreach ($parts as $part) { + $search = sprintf('%%%s%%', $part); + $dbQuery->where('name', 'LIKE', $search); + } + } + if (0 !== count($types)) { + $dbQuery->leftJoin('account_types', 'accounts.account_type_id', '=', 'account_types.id'); + $dbQuery->whereIn('account_types.type', $types); + } + + return $dbQuery->take($limit)->get(['accounts.*']); + } +} diff --git a/app/Repositories/Administration/Account/AccountRepositoryInterface.php b/app/Repositories/Administration/Account/AccountRepositoryInterface.php new file mode 100644 index 0000000000..fbdf6c81a3 --- /dev/null +++ b/app/Repositories/Administration/Account/AccountRepositoryInterface.php @@ -0,0 +1,39 @@ +. + */ + +namespace FireflyIII\Repositories\Administration\Account; + +use Illuminate\Support\Collection; + +/** + * Interface AccountRepositoryInterface + */ +interface AccountRepositoryInterface +{ + /** + * @param string $query + * @param array $types + * @param int $limit + * + * @return Collection + */ + public function searchAccount(string $query, array $types, int $limit): Collection; +} diff --git a/app/Support/Repositories/Administration/AdministrationTrait.php b/app/Support/Repositories/Administration/AdministrationTrait.php new file mode 100644 index 0000000000..4028304522 --- /dev/null +++ b/app/Support/Repositories/Administration/AdministrationTrait.php @@ -0,0 +1,82 @@ +. + */ + +namespace FireflyIII\Support\Repositories\Administration; + +use FireflyIII\Exceptions\FireflyException; +use FireflyIII\Models\GroupMembership; +use FireflyIII\Models\UserGroup; +use FireflyIII\User; +use Illuminate\Contracts\Auth\Authenticatable; + +/** + * Trait AdministrationTrait + */ +trait AdministrationTrait +{ + protected User $user; + protected ?int $administrationId = null; + protected ?UserGroup $userGroup = null; + + /** + * @return int + */ + public function getAdministrationId(): int + { + return $this->administrationId; + } + + /** + * @param int $administrationId + * @throws FireflyException + */ + public function setAdministrationId(int $administrationId): void + { + $this->administrationId = $administrationId; + $this->refreshAdministration(); + } + + /** + * @return void + */ + private function refreshAdministration(): void + { + if (null !== $this->administrationId) { + $memberships = GroupMembership::where('user_id', $this->user->id) + ->where('user_group_id', $this->administrationId) + ->count(); + if (0 === $memberships) { + throw new FireflyException(sprintf('User #%d has no access to administration #%d', $this->user->id, $this->administrationId)); + } + $this->userGroup = UserGroup::find($this->administrationId); + return; + } + throw new FireflyException(sprintf('Cannot validate administration for user #%d', $this->user->id)); + } + + + public function setUser(Authenticatable|User|null $user): void + { + if(null !== $user) { + $this->user = $user; + } + } +} diff --git a/frontend/src/api/v2/autocomplete/accounts.js b/frontend/src/api/v2/autocomplete/accounts.js new file mode 100644 index 0000000000..24ac46a96c --- /dev/null +++ b/frontend/src/api/v2/autocomplete/accounts.js @@ -0,0 +1,35 @@ +/* + * get.js + * Copyright (c) 2022 james@firefly-iii.org + * + * This file is part of Firefly III (https://github.com/firefly-iii). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import {api} from "boot/axios"; + +export default class Accounts { + + /** + * + * @param types + * @returns {Promise>} + */ + get(types) { + let url = 'api/v2/autocomplete/accounts'; + return api.get(url, {params: {types: types}}) + } + +} diff --git a/frontend/src/boot/axios.js b/frontend/src/boot/axios.js index 6cc571832e..40bb2c27dc 100644 --- a/frontend/src/boot/axios.js +++ b/frontend/src/boot/axios.js @@ -34,7 +34,7 @@ const cache = setupCache({ // "export default () => {}" function below (which runs individually // for each client) -const url = process.env.DEBUGGING ? 'https://firefly.sd.home' : '/'; +const url = process.env.DEBUGGING ? 'https://firefly.sd.local' : '/'; const api = axios.create({baseURL: url, withCredentials: true, adapter: cache.adapter}); export default boot(({app}) => { diff --git a/frontend/src/components/transactions/Split.vue b/frontend/src/components/transactions/Split.vue new file mode 100644 index 0000000000..c224df3a38 --- /dev/null +++ b/frontend/src/components/transactions/Split.vue @@ -0,0 +1,316 @@ + + + + + + + diff --git a/frontend/src/components/transactions/form/SourceAccount.vue b/frontend/src/components/transactions/form/SourceAccount.vue new file mode 100644 index 0000000000..8d8af6da5f --- /dev/null +++ b/frontend/src/components/transactions/form/SourceAccount.vue @@ -0,0 +1,145 @@ + + + + + + + + + diff --git a/frontend/src/components/transactions/form/TransactionDescription.vue b/frontend/src/components/transactions/form/TransactionDescription.vue new file mode 100644 index 0000000000..1529ef9462 --- /dev/null +++ b/frontend/src/components/transactions/form/TransactionDescription.vue @@ -0,0 +1,70 @@ + + + + + + + + + diff --git a/frontend/src/pages/transactions/Create.vue b/frontend/src/pages/transactions/Create.vue index b89a581e0c..23a89b2147 100644 --- a/frontend/src/pages/transactions/Create.vue +++ b/frontend/src/pages/transactions/Create.vue @@ -30,7 +30,6 @@ -
- - -
Info for {{ $route.params.type }} {{ index }}
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
- -
-
-
- - +
@@ -87,7 +88,8 @@ export default { }, transactionType: { type: String, - required: false + required: false, + default: 'unknown' }, disabledInput: { type: Boolean, @@ -105,16 +107,18 @@ export default { } }, mounted() { - console.log('Mounted'); - //this.options.value = this.stringOptions this.getAccounts(''); + this.model = this.name; + }, methods: { getAccounts: function (query) { this.loading = true; - console.log('getAccounts("'+query+'")'); // default set of account types, will later be set by the transaction type. let types = 'Asset account,Revenue account,Loan,Debt,Mortgage'; + if('deposit' === this.transactionType) { + console.log('NOW DEPOSIT'); + } (new Accounts).get(types, query).then(response => { this.stringOptions = []; for (let i in response.data) { @@ -122,46 +126,31 @@ export default { let current = { label: entry.name, value: entry.id, - description: entry.type + type: entry.type } this.stringOptions.push(current); } //this.stringOptions = response.data.data; - this.options = this.stringOptions; + this.options = this.stringOptions; this.loading = false; - console.log('getAccounts done!'); }); }, filterFn(val, update, abort) { - console.log('filterFn(' + val + ')'); - if (val === '') { - update(() => { - this.getAccounts(''); - //this.options = stringOptions - - // here you have access to "ref" which - // is the Vue reference of the QSelect - }) - return - } update(() => { this.getAccounts(val); - //const needle = val.toLowerCase() - //this.options = this.options.filter(v => v.label.toLowerCase().indexOf(needle) > -1) }) - // console.log('filterFn(' + val + ')'); - // if (this.loading) { - // console.log('return'); - // return - // } - // const needle = val.toLowerCase() - // this.options = this.stringOptions.filter(v => v.label.toLowerCase().indexOf(needle) > -1); + } + }, + watch: { + model: { + handler: function (newVal) { + if(newVal !== undefined) { + this.$emit('update:source', newVal); + } + }, + deep: true } } } - - diff --git a/frontend/src/pages/transactions/Create.vue b/frontend/src/pages/transactions/Create.vue index 23a89b2147..cfd7bdb62f 100644 --- a/frontend/src/pages/transactions/Create.vue +++ b/frontend/src/pages/transactions/Create.vue @@ -59,6 +59,7 @@ 0) { @@ -196,10 +199,9 @@ export default { }, updateTransaction: function (obj) { const index = obj.index; - const transaction = obj.transaction; - console.log('Update transaction ' + index); - console.log(transaction); - this.transactions[index] = transaction; + this.transactions[index] = obj.transaction; + // TODO needs to update all splits if necessary and warn user about it. + this.transactionType = (new CalculateType()).calculateType(this.transactions[0].source, this.transactions[0].destination); }, processSuccess: function (response) { console.log('process success'); diff --git a/frontend/src/support/transactions/calculate-type.js b/frontend/src/support/transactions/calculate-type.js new file mode 100644 index 0000000000..7fbd2f7d15 --- /dev/null +++ b/frontend/src/support/transactions/calculate-type.js @@ -0,0 +1,69 @@ +/* + * calculate-type.js + * Copyright (c) 2023 james@firefly-iii.org + * + * This file is part of Firefly III (https://github.com/firefly-iii). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +export default class CalculateType { + calculateType(source, destination) { + const srcEmpty = this.empty(source); + const dstEmpty = this.empty(destination); + // both are null or '' + if (srcEmpty && dstEmpty) { + return 'unknown'; + } + + // source has data, dest has not + if (typeof source === 'object' && null !== source && dstEmpty) { + if (source.type === 'Asset account' || source.type === 'Loan' || source.type === 'Debt' || source.type === 'Mortgage') { + return 'withdrawal'; + } + if (source.type === 'Revenue account') { + return 'deposit'; + } + } + // dst has data, source has not + if (typeof destination === 'object' && null !== destination && srcEmpty) { + if (destination.type === 'Asset account') { + return 'deposit'; + } + } + // both have data: + if (!srcEmpty && !dstEmpty) { + if (source.type === 'Asset account' && destination.type === 'Expense account') { + return 'withdrawal'; + } + if (source.type === destination.type) { + return 'transfer'; + } + } + + console.error('Cannot handle'); + console.log(source); + console.log(destination); + } + + empty(value) { + if (null === value || '' === value) { + return true; + } + if (null !== value && typeof value === 'object') { + return false; + } + return true; + } +} From ed00d97ff9f83e946bfa723ca516e38ad5d96f12 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 31 Mar 2023 19:21:09 +0200 Subject: [PATCH 15/21] Fix #7299 --- app/Api/V1/Requests/Models/PiggyBank/UpdateRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Api/V1/Requests/Models/PiggyBank/UpdateRequest.php b/app/Api/V1/Requests/Models/PiggyBank/UpdateRequest.php index f5f2b6b096..fdbd8e8e47 100644 --- a/app/Api/V1/Requests/Models/PiggyBank/UpdateRequest.php +++ b/app/Api/V1/Requests/Models/PiggyBank/UpdateRequest.php @@ -76,7 +76,7 @@ class UpdateRequest extends FormRequest return [ 'name' => 'between:1,255|uniquePiggyBankForUser:'.$piggyBank->id, 'current_amount' => ['numeric', 'gte:0', new LessThanPiggyTarget()], - 'target_amount' => 'numeric|gt:0', + 'target_amount' => 'numeric|gte:0', 'start_date' => 'date|nullable', 'target_date' => 'date|nullable|after:start_date', 'notes' => 'max:65000', From c903b82b7b280a1a3bb8c14d3fc5249ab98380ad Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 31 Mar 2023 19:21:29 +0200 Subject: [PATCH 16/21] Less dramatic mail error --- app/Jobs/MailError.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.php index 4d3cedadee..6e7730990d 100644 --- a/app/Jobs/MailError.php +++ b/app/Jobs/MailError.php @@ -100,7 +100,8 @@ class MailError extends Job implements ShouldQueue Log::warning('[RFC] Could not email or log the error. Please validate your email settings, use the .env.example file as a guide.'); return; } - throw new FireflyException($e->getMessage(), 0, $e); + Log::error($e->getMessage()); + Log::error($e->getTraceAsString()); } } } From 259bad448741a3bee20373671064c3d02a949902 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 1 Apr 2023 07:02:51 +0200 Subject: [PATCH 17/21] Fix issue with opposing account creation --- .../Internal/Support/JournalServiceTrait.php | 33 ++++++++++++++++--- config/firefly.php | 1 + 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/app/Services/Internal/Support/JournalServiceTrait.php b/app/Services/Internal/Support/JournalServiceTrait.php index a57d16487f..70a9668b0c 100644 --- a/app/Services/Internal/Support/JournalServiceTrait.php +++ b/app/Services/Internal/Support/JournalServiceTrait.php @@ -35,7 +35,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use FireflyIII\Repositories\Category\CategoryRepositoryInterface; use FireflyIII\Support\NullArrayObject; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait JournalServiceTrait @@ -86,9 +86,14 @@ trait JournalServiceTrait Log::debug(sprintf('Search again using the new name, "%s".', $data['name'])); $result = $this->findAccountByName(null, $data, $expectedTypes[$transactionType]); } + + // the account that Firefly III creates must be "creatable", aka select the one we can create from the list just in case + $creatableType = $this->getCreatableType($expectedTypes[$transactionType]); + + // if the result is NULL but the ID is set, an account could exist of the wrong type. // that data can be used to create a new account of the right type. - if (null === $result && null !== $data['id']) { + if (null === $result && null !== $data['id'] && null !== $creatableType) { Log::debug(sprintf('Account #%d may exist and be of the wrong type, use data to create one of the right type.', $data['id'])); $temp = $this->findAccountById(['id' => $data['id']], []); if (null !== $temp) { @@ -98,12 +103,12 @@ trait JournalServiceTrait 'number' => null, 'bic' => null, ]; - $result = $this->createAccount(null, $tempData, $expectedTypes[$transactionType][0]); + $result = $this->createAccount(null, $tempData, $creatableType); } } - if (null === $result) { + if (null === $result && null !== $creatableType) { Log::debug('If nothing is found, create it.'); - $result = $this->createAccount($result, $data, $expectedTypes[$transactionType][0]); + $result = $this->createAccount($result, $data, $creatableType); } if (null === $result) { Log::debug('If cant be created, return cash account.'); @@ -237,6 +242,24 @@ trait JournalServiceTrait return null; } + /** + * @param array $types + * @return null|string + */ + private function getCreatableType(array $types): ?string + { + $result = null; + $list = config('firefly.dynamic_creation_allowed'); + /** @var string $type */ + foreach ($types as $type) { + if (true === in_array($type, $list, true)) { + $result = $type; + break; + } + } + return $result; + } + /** * @param Account|null $account * @param array $data diff --git a/config/firefly.php b/config/firefly.php index 442db08ccc..e5e44b3822 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -877,6 +877,7 @@ return [ ], 'can_have_virtual_amounts' => [AccountType::ASSET], 'can_have_opening_balance' => [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE], + 'dynamic_creation_allowed' => [AccountType::EXPENSE, AccountType::REVENUE, AccountType::INITIAL_BALANCE, AccountType::RECONCILIATION], 'valid_asset_fields' => ['account_role', 'account_number', 'currency_id', 'BIC', 'include_net_worth'], 'valid_cc_fields' => ['account_role', 'cc_monthly_payment_date', 'cc_type', 'account_number', 'currency_id', 'BIC', 'include_net_worth'], 'valid_account_fields' => ['account_number', 'currency_id', 'BIC', 'interest', 'interest_period', 'include_net_worth', 'liability_direction'], From c7d9ca9a612beba39dcc1b173682c167c1e8a216 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 1 Apr 2023 07:04:42 +0200 Subject: [PATCH 18/21] Use another facade --- .../Controllers/Models/Account/UpdateController.php | 2 +- .../Models/Attachment/StoreController.php | 2 +- .../Models/Transaction/DestroyController.php | 2 +- .../Models/Transaction/StoreController.php | 2 +- .../Models/Transaction/UpdateController.php | 2 +- app/Api/V1/Controllers/Search/AccountController.php | 2 +- .../Controllers/System/ConfigurationController.php | 2 +- app/Api/V1/Controllers/System/CronController.php | 2 +- app/Api/V1/Requests/Data/Bulk/TransactionRequest.php | 2 +- app/Api/V1/Requests/Models/Account/UpdateRequest.php | 2 +- app/Api/V1/Requests/Models/Bill/StoreRequest.php | 2 +- .../V1/Requests/Models/Transaction/StoreRequest.php | 2 +- .../Correction/CorrectOpeningBalanceCurrencies.php | 2 +- .../Commands/Correction/DeleteEmptyGroups.php | 2 +- .../Commands/Correction/DeleteEmptyJournals.php | 2 +- .../Correction/DeleteOrphanedTransactions.php | 2 +- app/Console/Commands/Correction/EnableCurrencies.php | 2 +- app/Console/Commands/Correction/FixAccountTypes.php | 2 +- app/Console/Commands/Correction/FixUnevenAmount.php | 2 +- app/Console/Commands/Correction/TransferBudgets.php | 2 +- app/Console/Commands/DecryptDatabase.php | 2 +- app/Console/Commands/Export/ExportData.php | 2 +- .../Commands/Integrity/CreateGroupMemberships.php | 2 +- app/Console/Commands/Integrity/RestoreOAuthKeys.php | 2 +- app/Console/Commands/ScanAttachments.php | 2 +- app/Console/Commands/Tools/ApplyRules.php | 2 +- app/Console/Commands/Tools/Cron.php | 2 +- app/Console/Commands/Upgrade/AccountCurrencies.php | 2 +- .../Commands/Upgrade/AppendBudgetLimitPeriods.php | 2 +- app/Console/Commands/Upgrade/BackToJournals.php | 2 +- app/Console/Commands/Upgrade/MigrateAttachments.php | 2 +- app/Console/Commands/Upgrade/MigrateJournalNotes.php | 2 +- app/Console/Commands/Upgrade/MigrateToGroups.php | 2 +- .../Commands/Upgrade/TransactionIdentifier.php | 2 +- .../Upgrade/TransferCurrenciesCorrections.php | 2 +- app/Console/Commands/Upgrade/UpgradeLiabilities.php | 2 +- app/Console/Commands/VerifiesAccessToken.php | 2 +- app/Console/Commands/VerifySecurityAlerts.php | 2 +- app/Console/Kernel.php | 2 +- app/Events/AdminRequestedTestMessage.php | 2 +- app/Events/RequestedReportOnJournals.php | 2 +- app/Exceptions/GracefulNotFoundHandler.php | 2 +- app/Factory/AccountFactory.php | 2 +- app/Factory/AccountMetaFactory.php | 2 +- app/Factory/BillFactory.php | 2 +- app/Factory/CategoryFactory.php | 2 +- app/Factory/PiggyBankEventFactory.php | 2 +- app/Factory/RecurrenceFactory.php | 2 +- app/Factory/TagFactory.php | 2 +- app/Factory/TransactionCurrencyFactory.php | 2 +- app/Factory/TransactionFactory.php | 2 +- app/Factory/TransactionGroupFactory.php | 2 +- app/Factory/TransactionJournalFactory.php | 2 +- app/Factory/TransactionJournalMetaFactory.php | 2 +- .../Report/Account/MonthReportGenerator.php | 2 +- app/Generator/Report/Audit/MonthReportGenerator.php | 2 +- app/Generator/Report/Budget/MonthReportGenerator.php | 2 +- .../Report/Category/MonthReportGenerator.php | 2 +- .../Report/Standard/MonthReportGenerator.php | 2 +- .../Report/Standard/MultiYearReportGenerator.php | 2 +- .../Report/Standard/YearReportGenerator.php | 2 +- app/Generator/Report/Tag/MonthReportGenerator.php | 2 +- app/Generator/Webhook/StandardMessageGenerator.php | 2 +- app/Handlers/Events/APIEventHandler.php | 2 +- app/Handlers/Events/AutomationHandler.php | 2 +- app/Handlers/Events/DestroyedGroupEventHandler.php | 2 +- app/Handlers/Events/StoredGroupEventHandler.php | 2 +- app/Handlers/Events/UpdatedGroupEventHandler.php | 2 +- app/Handlers/Events/UserEventHandler.php | 2 +- app/Handlers/Events/VersionCheckEventHandler.php | 2 +- app/Handlers/Events/WebhookEventHandler.php | 2 +- app/Helpers/Attachments/AttachmentHelper.php | 2 +- .../Collector/Extensions/AttachmentCollection.php | 2 +- app/Helpers/Collector/GroupCollector.php | 2 +- app/Helpers/Fiscal/FiscalHelper.php | 2 +- app/Helpers/Update/UpdateTrait.php | 2 +- app/Helpers/Webhook/Sha3SignatureGenerator.php | 2 +- app/Http/Controllers/Account/CreateController.php | 2 +- app/Http/Controllers/Account/IndexController.php | 2 +- app/Http/Controllers/Account/ReconcileController.php | 2 +- .../Controllers/Admin/ConfigurationController.php | 2 +- app/Http/Controllers/Admin/HomeController.php | 2 +- app/Http/Controllers/Admin/LinkController.php | 2 +- app/Http/Controllers/Admin/UserController.php | 2 +- .../Controllers/Auth/ForgotPasswordController.php | 2 +- app/Http/Controllers/Auth/LoginController.php | 2 +- app/Http/Controllers/Auth/RegisterController.php | 2 +- app/Http/Controllers/Bill/CreateController.php | 2 +- app/Http/Controllers/Bill/IndexController.php | 2 +- .../Controllers/Budget/BudgetLimitController.php | 2 +- app/Http/Controllers/Budget/IndexController.php | 2 +- .../Controllers/Category/NoCategoryController.php | 2 +- app/Http/Controllers/Chart/AccountController.php | 2 +- app/Http/Controllers/Chart/ReportController.php | 2 +- app/Http/Controllers/CurrencyController.php | 2 +- app/Http/Controllers/DebugController.php | 2 +- app/Http/Controllers/HomeController.php | 2 +- app/Http/Controllers/Json/BoxController.php | 2 +- app/Http/Controllers/Json/FrontpageController.php | 2 +- app/Http/Controllers/Json/IntroController.php | 2 +- app/Http/Controllers/Json/ReconcileController.php | 2 +- app/Http/Controllers/Json/RecurrenceController.php | 2 +- app/Http/Controllers/Json/RuleController.php | 2 +- app/Http/Controllers/ObjectGroup/IndexController.php | 2 +- app/Http/Controllers/PiggyBank/AmountController.php | 2 +- app/Http/Controllers/PreferencesController.php | 2 +- app/Http/Controllers/ProfileController.php | 2 +- app/Http/Controllers/Report/AccountController.php | 2 +- app/Http/Controllers/Report/BalanceController.php | 2 +- app/Http/Controllers/Report/BillController.php | 2 +- app/Http/Controllers/Report/BudgetController.php | 2 +- app/Http/Controllers/Report/CategoryController.php | 2 +- app/Http/Controllers/Report/DoubleController.php | 2 +- app/Http/Controllers/Report/OperationsController.php | 2 +- app/Http/Controllers/Report/TagController.php | 2 +- app/Http/Controllers/ReportController.php | 2 +- app/Http/Controllers/Rule/EditController.php | 2 +- app/Http/Controllers/Rule/SelectController.php | 2 +- app/Http/Controllers/SearchController.php | 2 +- app/Http/Controllers/System/CronController.php | 2 +- app/Http/Controllers/System/InstallController.php | 2 +- app/Http/Controllers/TagController.php | 2 +- app/Http/Controllers/Transaction/BulkController.php | 2 +- .../Controllers/Transaction/ConvertController.php | 2 +- .../Controllers/Transaction/DeleteController.php | 2 +- app/Http/Controllers/Transaction/LinkController.php | 2 +- app/Http/Controllers/Transaction/MassController.php | 2 +- app/Http/Middleware/Authenticate.php | 2 +- app/Http/Middleware/Installer.php | 2 +- app/Http/Middleware/IsDemoUser.php | 2 +- app/Http/Middleware/Range.php | 2 +- app/Http/Requests/ReconciliationStoreRequest.php | 2 +- app/Http/Requests/RecurrenceFormRequest.php | 2 +- app/Http/Requests/ReportFormRequest.php | 2 +- app/Jobs/CreateAutoBudgetLimits.php | 2 +- app/Jobs/CreateRecurringTransactions.php | 2 +- app/Jobs/DownloadExchangeRates.php | 2 +- app/Jobs/MailError.php | 2 +- app/Jobs/SendWebhookMessage.php | 2 +- app/Jobs/WarnAboutBills.php | 2 +- app/Mail/NewIPAddressWarningMail.php | 2 +- app/Providers/EventServiceProvider.php | 2 +- app/Repositories/Account/AccountRepository.php | 2 +- app/Repositories/Account/AccountTasker.php | 2 +- app/Repositories/Attachment/AttachmentRepository.php | 2 +- app/Repositories/Bill/BillRepository.php | 2 +- app/Repositories/Budget/BudgetLimitRepository.php | 2 +- app/Repositories/Budget/BudgetRepository.php | 2 +- app/Repositories/Budget/OperationsRepository.php | 2 +- app/Repositories/Category/CategoryRepository.php | 2 +- app/Repositories/Currency/CurrencyRepository.php | 2 +- app/Repositories/LinkType/LinkTypeRepository.php | 2 +- .../ObjectGroup/ObjectGroupRepository.php | 2 +- app/Repositories/PiggyBank/PiggyBankRepository.php | 2 +- app/Repositories/Recurring/RecurringRepository.php | 2 +- app/Repositories/Rule/RuleRepository.php | 2 +- app/Repositories/RuleGroup/RuleGroupRepository.php | 2 +- app/Repositories/Tag/TagRepository.php | 2 +- .../TransactionGroup/TransactionGroupRepository.php | 2 +- .../TransactionType/TransactionTypeRepository.php | 2 +- app/Repositories/User/UserRepository.php | 2 +- app/Rules/BelongsUser.php | 2 +- app/Rules/IsDateOrTime.php | 2 +- app/Rules/IsTransferAccount.php | 2 +- app/Rules/IsValidAttachmentModel.php | 2 +- app/Rules/UniqueAccountNumber.php | 2 +- app/Rules/UniqueIban.php | 2 +- app/Rules/ValidJournals.php | 2 +- app/Rules/ValidRecurrenceRepetitionValue.php | 2 +- app/Services/FireflyIIIOrg/Update/UpdateRequest.php | 2 +- .../Internal/Destroy/AccountDestroyService.php | 2 +- .../Internal/Destroy/JournalDestroyService.php | 2 +- .../Internal/Support/AccountServiceTrait.php | 2 +- app/Services/Internal/Support/BillServiceTrait.php | 2 +- .../Internal/Support/CreditRecalculateService.php | 2 +- .../Internal/Support/JournalServiceTrait.php | 2 +- .../Internal/Support/RecurringTransactionTrait.php | 2 +- .../Internal/Support/TransactionTypeTrait.php | 2 +- .../Internal/Update/AccountUpdateService.php | 2 +- app/Services/Internal/Update/BillUpdateService.php | 2 +- .../Internal/Update/CategoryUpdateService.php | 2 +- app/Services/Internal/Update/GroupUpdateService.php | 2 +- .../Internal/Update/JournalUpdateService.php | 12 ++++++------ .../Internal/Update/RecurrenceUpdateService.php | 2 +- app/Services/Password/PwndVerifierV2.php | 2 +- app/Services/Webhook/StandardWebhookSender.php | 2 +- app/Support/Authentication/RemoteUserGuard.php | 2 +- app/Support/Authentication/RemoteUserProvider.php | 2 +- app/Support/Binder/AccountList.php | 2 +- app/Support/Binder/CLIToken.php | 2 +- app/Support/Binder/Date.php | 2 +- app/Support/Binder/TagList.php | 2 +- app/Support/Binder/TagOrId.php | 2 +- app/Support/Cronjobs/AutoBudgetCronjob.php | 2 +- app/Support/Cronjobs/BillWarningCronjob.php | 2 +- app/Support/Cronjobs/ExchangeRatesCronjob.php | 2 +- app/Support/Cronjobs/RecurringCronjob.php | 2 +- app/Support/ExpandedForm.php | 2 +- app/Support/FireflyConfig.php | 2 +- app/Support/Form/AccountForm.php | 2 +- app/Support/Form/CurrencyForm.php | 2 +- app/Support/Form/FormSupport.php | 2 +- app/Support/Http/Api/ConvertsExchangeRates.php | 2 +- app/Support/Http/Controllers/ChartGeneration.php | 2 +- app/Support/Http/Controllers/CreateStuff.php | 2 +- .../Http/Controllers/GetConfigurationData.php | 2 +- app/Support/Http/Controllers/ModelInformation.php | 2 +- app/Support/Http/Controllers/PeriodOverview.php | 2 +- app/Support/Http/Controllers/RenderPartialViews.php | 2 +- app/Support/Http/Controllers/RequestInformation.php | 2 +- app/Support/Http/Controllers/RuleManagement.php | 2 +- app/Support/Http/Controllers/UserNavigation.php | 2 +- app/Support/Navigation.php | 2 +- app/Support/ParseDateString.php | 2 +- .../Recurring/CalculateXOccurrencesSince.php | 2 +- app/Support/Request/AppendsLocationData.php | 2 +- app/Support/Request/ConvertsDataTypes.php | 2 +- app/Support/Search/OperatorQuerySearch.php | 2 +- app/Support/Steam.php | 2 +- app/Support/System/GeneratesInstallationId.php | 2 +- app/Support/System/OAuthKeys.php | 2 +- app/TransactionRules/Actions/AddTag.php | 2 +- app/TransactionRules/Actions/AppendNotes.php | 2 +- app/TransactionRules/Actions/ClearBudget.php | 2 +- app/TransactionRules/Actions/ClearCategory.php | 2 +- app/TransactionRules/Actions/ClearNotes.php | 2 +- app/TransactionRules/Actions/ConvertToDeposit.php | 2 +- app/TransactionRules/Actions/ConvertToTransfer.php | 2 +- app/TransactionRules/Actions/ConvertToWithdrawal.php | 2 +- app/TransactionRules/Actions/DeleteTransaction.php | 2 +- app/TransactionRules/Actions/LinkToBill.php | 2 +- app/TransactionRules/Actions/PrependNotes.php | 2 +- app/TransactionRules/Actions/RemoveAllTags.php | 2 +- app/TransactionRules/Actions/RemoveTag.php | 2 +- app/TransactionRules/Actions/SetBudget.php | 2 +- app/TransactionRules/Actions/SetCategory.php | 2 +- app/TransactionRules/Actions/SetDescription.php | 2 +- .../Actions/SetDestinationAccount.php | 2 +- app/TransactionRules/Actions/SetNotes.php | 2 +- app/TransactionRules/Actions/SetSourceAccount.php | 2 +- app/TransactionRules/Actions/UpdatePiggybank.php | 2 +- app/TransactionRules/Engine/SearchRuleEngine.php | 2 +- app/TransactionRules/Factory/ActionFactory.php | 2 +- app/Transformers/RecurrenceTransformer.php | 2 +- app/Transformers/TransactionGroupTransformer.php | 2 +- app/Transformers/WebhookMessageTransformer.php | 2 +- app/Validation/Account/DepositValidation.php | 2 +- app/Validation/Account/LiabilityValidation.php | 2 +- app/Validation/Account/OBValidation.php | 2 +- app/Validation/Account/ReconciliationValidation.php | 2 +- app/Validation/Account/TransferValidation.php | 2 +- app/Validation/Account/WithdrawalValidation.php | 2 +- app/Validation/AccountValidator.php | 2 +- app/Validation/CurrencyValidation.php | 2 +- app/Validation/FireflyValidator.php | 2 +- app/Validation/GroupValidation.php | 2 +- app/Validation/RecurrenceValidation.php | 2 +- app/Validation/TransactionValidation.php | 2 +- 258 files changed, 263 insertions(+), 263 deletions(-) diff --git a/app/Api/V1/Controllers/Models/Account/UpdateController.php b/app/Api/V1/Controllers/Models/Account/UpdateController.php index 93df5e9444..f897d9d04b 100644 --- a/app/Api/V1/Controllers/Models/Account/UpdateController.php +++ b/app/Api/V1/Controllers/Models/Account/UpdateController.php @@ -30,7 +30,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Transformers\AccountTransformer; use Illuminate\Http\JsonResponse; use League\Fractal\Resource\Item; -use Log; +use Illuminate\Support\Facades\Log; use Preferences; /** diff --git a/app/Api/V1/Controllers/Models/Attachment/StoreController.php b/app/Api/V1/Controllers/Models/Attachment/StoreController.php index ff509254ac..a1b8338449 100644 --- a/app/Api/V1/Controllers/Models/Attachment/StoreController.php +++ b/app/Api/V1/Controllers/Models/Attachment/StoreController.php @@ -35,7 +35,7 @@ use FireflyIII\User; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use League\Fractal\Resource\Item; -use Log; +use Illuminate\Support\Facades\Log; /** * Class StoreController diff --git a/app/Api/V1/Controllers/Models/Transaction/DestroyController.php b/app/Api/V1/Controllers/Models/Transaction/DestroyController.php index 3076ac2c7b..884c8e7e1c 100644 --- a/app/Api/V1/Controllers/Models/Transaction/DestroyController.php +++ b/app/Api/V1/Controllers/Models/Transaction/DestroyController.php @@ -33,7 +33,7 @@ use FireflyIII\Repositories\Journal\JournalRepositoryInterface; use FireflyIII\Repositories\TransactionGroup\TransactionGroupRepository; use FireflyIII\User; use Illuminate\Http\JsonResponse; -use Log; +use Illuminate\Support\Facades\Log; /** * Class DestroyController diff --git a/app/Api/V1/Controllers/Models/Transaction/StoreController.php b/app/Api/V1/Controllers/Models/Transaction/StoreController.php index 295ff6fe6c..fcf0c9a52e 100644 --- a/app/Api/V1/Controllers/Models/Transaction/StoreController.php +++ b/app/Api/V1/Controllers/Models/Transaction/StoreController.php @@ -37,7 +37,7 @@ use FireflyIII\User; use Illuminate\Http\JsonResponse; use Illuminate\Validation\ValidationException; use League\Fractal\Resource\Item; -use Log; +use Illuminate\Support\Facades\Log; use Validator; /** diff --git a/app/Api/V1/Controllers/Models/Transaction/UpdateController.php b/app/Api/V1/Controllers/Models/Transaction/UpdateController.php index 5b37799b90..d5d6720573 100644 --- a/app/Api/V1/Controllers/Models/Transaction/UpdateController.php +++ b/app/Api/V1/Controllers/Models/Transaction/UpdateController.php @@ -33,7 +33,7 @@ use FireflyIII\Transformers\TransactionGroupTransformer; use FireflyIII\User; use Illuminate\Http\JsonResponse; use League\Fractal\Resource\Item; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Api/V1/Controllers/Search/AccountController.php b/app/Api/V1/Controllers/Search/AccountController.php index 6db73f9a0e..ef636a3029 100644 --- a/app/Api/V1/Controllers/Search/AccountController.php +++ b/app/Api/V1/Controllers/Search/AccountController.php @@ -35,7 +35,7 @@ use Illuminate\Pagination\LengthAwarePaginator; use JsonException; use League\Fractal\Pagination\IlluminatePaginatorAdapter; use League\Fractal\Resource\Collection as FractalCollection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AccountController diff --git a/app/Api/V1/Controllers/System/ConfigurationController.php b/app/Api/V1/Controllers/System/ConfigurationController.php index 3d450f9cf3..daca5c4dbd 100644 --- a/app/Api/V1/Controllers/System/ConfigurationController.php +++ b/app/Api/V1/Controllers/System/ConfigurationController.php @@ -29,7 +29,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Repositories\User\UserRepositoryInterface; use FireflyIII\Support\Binder\EitherConfigKey; use Illuminate\Http\JsonResponse; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use Validator; diff --git a/app/Api/V1/Controllers/System/CronController.php b/app/Api/V1/Controllers/System/CronController.php index 23e129ec81..e944a80c4e 100644 --- a/app/Api/V1/Controllers/System/CronController.php +++ b/app/Api/V1/Controllers/System/CronController.php @@ -27,7 +27,7 @@ use FireflyIII\Api\V1\Controllers\Controller; use FireflyIII\Api\V1\Requests\System\CronRequest; use FireflyIII\Support\Http\Controllers\CronRunner; use Illuminate\Http\JsonResponse; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CronController diff --git a/app/Api/V1/Requests/Data/Bulk/TransactionRequest.php b/app/Api/V1/Requests/Data/Bulk/TransactionRequest.php index df540c26db..50599ab848 100644 --- a/app/Api/V1/Requests/Data/Bulk/TransactionRequest.php +++ b/app/Api/V1/Requests/Data/Bulk/TransactionRequest.php @@ -32,7 +32,7 @@ use FireflyIII\Validation\Api\Data\Bulk\ValidatesBulkTransactionQuery; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Validator; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionRequest diff --git a/app/Api/V1/Requests/Models/Account/UpdateRequest.php b/app/Api/V1/Requests/Models/Account/UpdateRequest.php index 227e8adbfc..0341e52346 100644 --- a/app/Api/V1/Requests/Models/Account/UpdateRequest.php +++ b/app/Api/V1/Requests/Models/Account/UpdateRequest.php @@ -33,7 +33,7 @@ use FireflyIII\Support\Request\AppendsLocationData; use FireflyIII\Support\Request\ChecksLogin; use FireflyIII\Support\Request\ConvertsDataTypes; use Illuminate\Foundation\Http\FormRequest; -use Log; +use Illuminate\Support\Facades\Log; /** * Class UpdateRequest diff --git a/app/Api/V1/Requests/Models/Bill/StoreRequest.php b/app/Api/V1/Requests/Models/Bill/StoreRequest.php index 15d6e401ac..61ce2be480 100644 --- a/app/Api/V1/Requests/Models/Bill/StoreRequest.php +++ b/app/Api/V1/Requests/Models/Bill/StoreRequest.php @@ -29,7 +29,7 @@ use FireflyIII\Support\Request\ChecksLogin; use FireflyIII\Support\Request\ConvertsDataTypes; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; /** * Class StoreRequest diff --git a/app/Api/V1/Requests/Models/Transaction/StoreRequest.php b/app/Api/V1/Requests/Models/Transaction/StoreRequest.php index 20d5e6de13..8f864dbf72 100644 --- a/app/Api/V1/Requests/Models/Transaction/StoreRequest.php +++ b/app/Api/V1/Requests/Models/Transaction/StoreRequest.php @@ -36,7 +36,7 @@ use FireflyIII\Validation\GroupValidation; use FireflyIII\Validation\TransactionValidation; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; /** * Class StoreRequest diff --git a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php index d8fc818203..7685e71bf1 100644 --- a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php +++ b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php @@ -34,7 +34,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use Illuminate\Console\Command; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CorrectOpeningBalanceCurrencies diff --git a/app/Console/Commands/Correction/DeleteEmptyGroups.php b/app/Console/Commands/Correction/DeleteEmptyGroups.php index 1b88164f6d..6d16b1766b 100644 --- a/app/Console/Commands/Correction/DeleteEmptyGroups.php +++ b/app/Console/Commands/Correction/DeleteEmptyGroups.php @@ -26,7 +26,7 @@ namespace FireflyIII\Console\Commands\Correction; use Exception; use FireflyIII\Models\TransactionGroup; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; /** * Class DeleteEmptyGroups diff --git a/app/Console/Commands/Correction/DeleteEmptyJournals.php b/app/Console/Commands/Correction/DeleteEmptyJournals.php index 5a1ff07926..45c3ce7aa7 100644 --- a/app/Console/Commands/Correction/DeleteEmptyJournals.php +++ b/app/Console/Commands/Correction/DeleteEmptyJournals.php @@ -28,7 +28,7 @@ use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use Illuminate\Console\Command; use Illuminate\Database\QueryException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class DeleteEmptyJournals diff --git a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php index 2a21b39283..461dd0bda9 100644 --- a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php +++ b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php @@ -27,7 +27,7 @@ use Exception; use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use stdClass; /** diff --git a/app/Console/Commands/Correction/EnableCurrencies.php b/app/Console/Commands/Correction/EnableCurrencies.php index 16957c4ff6..b037435a81 100644 --- a/app/Console/Commands/Correction/EnableCurrencies.php +++ b/app/Console/Commands/Correction/EnableCurrencies.php @@ -30,7 +30,7 @@ use FireflyIII\Models\TransactionCurrency; use FireflyIII\Models\TransactionJournal; use Illuminate\Console\Command; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class EnableCurrencies diff --git a/app/Console/Commands/Correction/FixAccountTypes.php b/app/Console/Commands/Correction/FixAccountTypes.php index 58ae566710..1dac4a558d 100644 --- a/app/Console/Commands/Correction/FixAccountTypes.php +++ b/app/Console/Commands/Correction/FixAccountTypes.php @@ -31,7 +31,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use Illuminate\Console\Command; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class FixAccountTypes diff --git a/app/Console/Commands/Correction/FixUnevenAmount.php b/app/Console/Commands/Correction/FixUnevenAmount.php index 7013a3fd4d..fdfc75ad8e 100644 --- a/app/Console/Commands/Correction/FixUnevenAmount.php +++ b/app/Console/Commands/Correction/FixUnevenAmount.php @@ -27,7 +27,7 @@ use DB; use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use stdClass; /** diff --git a/app/Console/Commands/Correction/TransferBudgets.php b/app/Console/Commands/Correction/TransferBudgets.php index 173b010e1a..99848de290 100644 --- a/app/Console/Commands/Correction/TransferBudgets.php +++ b/app/Console/Commands/Correction/TransferBudgets.php @@ -26,7 +26,7 @@ namespace FireflyIII\Console\Commands\Correction; use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransferBudgets diff --git a/app/Console/Commands/DecryptDatabase.php b/app/Console/Commands/DecryptDatabase.php index 74b784debf..d933dc922c 100644 --- a/app/Console/Commands/DecryptDatabase.php +++ b/app/Console/Commands/DecryptDatabase.php @@ -31,7 +31,7 @@ use FireflyIII\Models\Preference; use Illuminate\Console\Command; use Illuminate\Contracts\Encryption\DecryptException; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use stdClass; diff --git a/app/Console/Commands/Export/ExportData.php b/app/Console/Commands/Export/ExportData.php index 6aac72da36..262768ae91 100644 --- a/app/Console/Commands/Export/ExportData.php +++ b/app/Console/Commands/Export/ExportData.php @@ -36,7 +36,7 @@ use FireflyIII\Support\Export\ExportDataGenerator; use Illuminate\Console\Command; use Illuminate\Support\Collection; use InvalidArgumentException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ExportData diff --git a/app/Console/Commands/Integrity/CreateGroupMemberships.php b/app/Console/Commands/Integrity/CreateGroupMemberships.php index eadee46f80..d83d8cfca7 100644 --- a/app/Console/Commands/Integrity/CreateGroupMemberships.php +++ b/app/Console/Commands/Integrity/CreateGroupMemberships.php @@ -30,7 +30,7 @@ use FireflyIII\Models\UserGroup; use FireflyIII\Models\UserRole; use FireflyIII\User; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CreateGroupMemberships diff --git a/app/Console/Commands/Integrity/RestoreOAuthKeys.php b/app/Console/Commands/Integrity/RestoreOAuthKeys.php index 29104ed079..e92d6b827a 100644 --- a/app/Console/Commands/Integrity/RestoreOAuthKeys.php +++ b/app/Console/Commands/Integrity/RestoreOAuthKeys.php @@ -26,7 +26,7 @@ namespace FireflyIII\Console\Commands\Integrity; use FireflyIII\Support\System\OAuthKeys; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RestoreOAuthKeys diff --git a/app/Console/Commands/ScanAttachments.php b/app/Console/Commands/ScanAttachments.php index 4df28bf92b..747c25f0e3 100644 --- a/app/Console/Commands/ScanAttachments.php +++ b/app/Console/Commands/ScanAttachments.php @@ -27,7 +27,7 @@ use Crypt; use FireflyIII\Models\Attachment; use Illuminate\Console\Command; use Illuminate\Contracts\Encryption\DecryptException; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Console/Commands/Tools/ApplyRules.php b/app/Console/Commands/Tools/ApplyRules.php index 88e706daf3..fc1ef53f2b 100644 --- a/app/Console/Commands/Tools/ApplyRules.php +++ b/app/Console/Commands/Tools/ApplyRules.php @@ -36,7 +36,7 @@ use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface; use FireflyIII\TransactionRules\Engine\RuleEngineInterface; use Illuminate\Console\Command; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ApplyRules diff --git a/app/Console/Commands/Tools/Cron.php b/app/Console/Commands/Tools/Cron.php index 5059e43ffa..83c00a8f59 100644 --- a/app/Console/Commands/Tools/Cron.php +++ b/app/Console/Commands/Tools/Cron.php @@ -32,7 +32,7 @@ use FireflyIII\Support\Cronjobs\ExchangeRatesCronjob; use FireflyIII\Support\Cronjobs\RecurringCronjob; use Illuminate\Console\Command; use InvalidArgumentException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/AccountCurrencies.php b/app/Console/Commands/Upgrade/AccountCurrencies.php index 5f6c2ecbfe..e53f934603 100644 --- a/app/Console/Commands/Upgrade/AccountCurrencies.php +++ b/app/Console/Commands/Upgrade/AccountCurrencies.php @@ -33,7 +33,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Repositories\User\UserRepositoryInterface; use FireflyIII\User; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php index e2f811c4b3..54aa905772 100644 --- a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php +++ b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php @@ -26,7 +26,7 @@ namespace FireflyIII\Console\Commands\Upgrade; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\BudgetLimit; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/BackToJournals.php b/app/Console/Commands/Upgrade/BackToJournals.php index b0da223015..537a1d3966 100644 --- a/app/Console/Commands/Upgrade/BackToJournals.php +++ b/app/Console/Commands/Upgrade/BackToJournals.php @@ -31,7 +31,7 @@ use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use Illuminate\Console\Command; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/MigrateAttachments.php b/app/Console/Commands/Upgrade/MigrateAttachments.php index ee81654dc9..7bcbc90d92 100644 --- a/app/Console/Commands/Upgrade/MigrateAttachments.php +++ b/app/Console/Commands/Upgrade/MigrateAttachments.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\Attachment; use FireflyIII\Models\Note; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/MigrateJournalNotes.php b/app/Console/Commands/Upgrade/MigrateJournalNotes.php index 140f5f0222..125a06fd36 100644 --- a/app/Console/Commands/Upgrade/MigrateJournalNotes.php +++ b/app/Console/Commands/Upgrade/MigrateJournalNotes.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\Note; use FireflyIII\Models\TransactionJournalMeta; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/MigrateToGroups.php b/app/Console/Commands/Upgrade/MigrateToGroups.php index 9a2e7cc288..e6ae2caf03 100644 --- a/app/Console/Commands/Upgrade/MigrateToGroups.php +++ b/app/Console/Commands/Upgrade/MigrateToGroups.php @@ -36,7 +36,7 @@ use FireflyIII\Repositories\Journal\JournalRepositoryInterface; use FireflyIII\Services\Internal\Destroy\JournalDestroyService; use Illuminate\Console\Command; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/TransactionIdentifier.php b/app/Console/Commands/Upgrade/TransactionIdentifier.php index 3ce7f97a73..6500ec8170 100644 --- a/app/Console/Commands/Upgrade/TransactionIdentifier.php +++ b/app/Console/Commands/Upgrade/TransactionIdentifier.php @@ -29,7 +29,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Repositories\Journal\JournalCLIRepositoryInterface; use Illuminate\Console\Command; use Illuminate\Database\QueryException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use Schema; diff --git a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php index 7c95bdc594..99331d9159 100644 --- a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php +++ b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php @@ -32,7 +32,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Repositories\Journal\JournalCLIRepositoryInterface; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/Upgrade/UpgradeLiabilities.php b/app/Console/Commands/Upgrade/UpgradeLiabilities.php index d17f1c6394..2890298b92 100644 --- a/app/Console/Commands/Upgrade/UpgradeLiabilities.php +++ b/app/Console/Commands/Upgrade/UpgradeLiabilities.php @@ -33,7 +33,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Services\Internal\Support\CreditRecalculateService; use FireflyIII\User; use Illuminate\Console\Command; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Console/Commands/VerifiesAccessToken.php b/app/Console/Commands/VerifiesAccessToken.php index a9a302a30a..dfcc1ce2f2 100644 --- a/app/Console/Commands/VerifiesAccessToken.php +++ b/app/Console/Commands/VerifiesAccessToken.php @@ -26,7 +26,7 @@ namespace FireflyIII\Console\Commands; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Repositories\User\UserRepositoryInterface; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait VerifiesAccessToken. diff --git a/app/Console/Commands/VerifySecurityAlerts.php b/app/Console/Commands/VerifySecurityAlerts.php index 2b18fcd82d..bbca6a8f54 100644 --- a/app/Console/Commands/VerifySecurityAlerts.php +++ b/app/Console/Commands/VerifySecurityAlerts.php @@ -27,7 +27,7 @@ namespace FireflyIII\Console\Commands; use Illuminate\Console\Command; use Illuminate\Database\QueryException; use League\Flysystem\FilesystemException; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index b0dda017fe..42c0151d67 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -26,7 +26,7 @@ namespace FireflyIII\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; -use Log; +use Illuminate\Support\Facades\Log; /** * File to make sure commands work. diff --git a/app/Events/AdminRequestedTestMessage.php b/app/Events/AdminRequestedTestMessage.php index b320518fc0..23e03750f4 100644 --- a/app/Events/AdminRequestedTestMessage.php +++ b/app/Events/AdminRequestedTestMessage.php @@ -26,7 +26,7 @@ namespace FireflyIII\Events; use FireflyIII\User; use Illuminate\Queue\SerializesModels; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AdminRequestedTestMessage. diff --git a/app/Events/RequestedReportOnJournals.php b/app/Events/RequestedReportOnJournals.php index 10e8af5af4..1ff2a620fc 100644 --- a/app/Events/RequestedReportOnJournals.php +++ b/app/Events/RequestedReportOnJournals.php @@ -29,7 +29,7 @@ use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RequestedReportOnJournals diff --git a/app/Exceptions/GracefulNotFoundHandler.php b/app/Exceptions/GracefulNotFoundHandler.php index 33bbf0cf17..3d2c97bbc9 100644 --- a/app/Exceptions/GracefulNotFoundHandler.php +++ b/app/Exceptions/GracefulNotFoundHandler.php @@ -36,7 +36,7 @@ use Illuminate\Http\JsonResponse; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpFoundation\Response; use Throwable; diff --git a/app/Factory/AccountFactory.php b/app/Factory/AccountFactory.php index 5959134cc7..63a12229de 100644 --- a/app/Factory/AccountFactory.php +++ b/app/Factory/AccountFactory.php @@ -34,7 +34,7 @@ use FireflyIII\Services\Internal\Support\LocationServiceTrait; use FireflyIII\Services\Internal\Update\AccountUpdateService; use FireflyIII\User; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Factory to create or return accounts. diff --git a/app/Factory/AccountMetaFactory.php b/app/Factory/AccountMetaFactory.php index 1a927edb24..82341b9050 100644 --- a/app/Factory/AccountMetaFactory.php +++ b/app/Factory/AccountMetaFactory.php @@ -26,7 +26,7 @@ namespace FireflyIII\Factory; use FireflyIII\Models\Account; use FireflyIII\Models\AccountMeta; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AccountMetaFactory diff --git a/app/Factory/BillFactory.php b/app/Factory/BillFactory.php index 2f1582db76..efc1f366a5 100644 --- a/app/Factory/BillFactory.php +++ b/app/Factory/BillFactory.php @@ -31,7 +31,7 @@ use FireflyIII\Services\Internal\Support\BillServiceTrait; use FireflyIII\User; use Illuminate\Database\QueryException; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class BillFactory diff --git a/app/Factory/CategoryFactory.php b/app/Factory/CategoryFactory.php index 3e4caf335a..d7c2b63bb0 100644 --- a/app/Factory/CategoryFactory.php +++ b/app/Factory/CategoryFactory.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\Category; use FireflyIII\User; use Illuminate\Database\QueryException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CategoryFactory diff --git a/app/Factory/PiggyBankEventFactory.php b/app/Factory/PiggyBankEventFactory.php index 1dca07b8ab..3cfe576a91 100644 --- a/app/Factory/PiggyBankEventFactory.php +++ b/app/Factory/PiggyBankEventFactory.php @@ -27,7 +27,7 @@ use FireflyIII\Models\PiggyBank; use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface; -use Log; +use Illuminate\Support\Facades\Log; /** * Create piggy bank events. diff --git a/app/Factory/RecurrenceFactory.php b/app/Factory/RecurrenceFactory.php index 4a0afce717..981c9c78b3 100644 --- a/app/Factory/RecurrenceFactory.php +++ b/app/Factory/RecurrenceFactory.php @@ -31,7 +31,7 @@ use FireflyIII\Services\Internal\Support\TransactionTypeTrait; use FireflyIII\User; use Illuminate\Support\MessageBag; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RecurrenceFactory diff --git a/app/Factory/TagFactory.php b/app/Factory/TagFactory.php index b7dab2d4a3..a4e6a5d871 100644 --- a/app/Factory/TagFactory.php +++ b/app/Factory/TagFactory.php @@ -26,7 +26,7 @@ namespace FireflyIII\Factory; use FireflyIII\Models\Location; use FireflyIII\Models\Tag; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TagFactory diff --git a/app/Factory/TransactionCurrencyFactory.php b/app/Factory/TransactionCurrencyFactory.php index 9cc9c9f265..5a9b54d470 100644 --- a/app/Factory/TransactionCurrencyFactory.php +++ b/app/Factory/TransactionCurrencyFactory.php @@ -26,7 +26,7 @@ namespace FireflyIII\Factory; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\TransactionCurrency; use Illuminate\Database\QueryException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionCurrencyFactory diff --git a/app/Factory/TransactionFactory.php b/app/Factory/TransactionFactory.php index f2a2627795..d01c67aa6e 100644 --- a/app/Factory/TransactionFactory.php +++ b/app/Factory/TransactionFactory.php @@ -33,7 +33,7 @@ use FireflyIII\Rules\UniqueIban; use FireflyIII\Services\Internal\Update\AccountUpdateService; use FireflyIII\User; use Illuminate\Database\QueryException; -use Log; +use Illuminate\Support\Facades\Log; use Validator; /** diff --git a/app/Factory/TransactionGroupFactory.php b/app/Factory/TransactionGroupFactory.php index 45b366531e..7d04ba566c 100644 --- a/app/Factory/TransactionGroupFactory.php +++ b/app/Factory/TransactionGroupFactory.php @@ -28,7 +28,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\TransactionGroup; use FireflyIII\User; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionGroupFactory diff --git a/app/Factory/TransactionJournalFactory.php b/app/Factory/TransactionJournalFactory.php index 5293f2443d..d5eb723a6e 100644 --- a/app/Factory/TransactionJournalFactory.php +++ b/app/Factory/TransactionJournalFactory.php @@ -49,7 +49,7 @@ use FireflyIII\User; use FireflyIII\Validation\AccountValidator; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionJournalFactory diff --git a/app/Factory/TransactionJournalMetaFactory.php b/app/Factory/TransactionJournalMetaFactory.php index d84a7e0f44..9c4ca07d63 100644 --- a/app/Factory/TransactionJournalMetaFactory.php +++ b/app/Factory/TransactionJournalMetaFactory.php @@ -25,7 +25,7 @@ namespace FireflyIII\Factory; use Carbon\Carbon; use FireflyIII\Models\TransactionJournalMeta; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionJournalMetaFactory diff --git a/app/Generator/Report/Account/MonthReportGenerator.php b/app/Generator/Report/Account/MonthReportGenerator.php index e8a5ffdaa8..0973044a41 100644 --- a/app/Generator/Report/Account/MonthReportGenerator.php +++ b/app/Generator/Report/Account/MonthReportGenerator.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Generator\Report\ReportGeneratorInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Audit/MonthReportGenerator.php b/app/Generator/Report/Audit/MonthReportGenerator.php index 5b9bb87ca8..fcfdc37cdc 100644 --- a/app/Generator/Report/Audit/MonthReportGenerator.php +++ b/app/Generator/Report/Audit/MonthReportGenerator.php @@ -32,7 +32,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Repositories\Journal\JournalRepositoryInterface; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Budget/MonthReportGenerator.php b/app/Generator/Report/Budget/MonthReportGenerator.php index 717e6b7a91..70479207ba 100644 --- a/app/Generator/Report/Budget/MonthReportGenerator.php +++ b/app/Generator/Report/Budget/MonthReportGenerator.php @@ -29,7 +29,7 @@ use FireflyIII\Generator\Report\ReportGeneratorInterface; use FireflyIII\Helpers\Collector\GroupCollectorInterface; use FireflyIII\Models\TransactionType; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Category/MonthReportGenerator.php b/app/Generator/Report/Category/MonthReportGenerator.php index b1fc078873..f480dc913c 100644 --- a/app/Generator/Report/Category/MonthReportGenerator.php +++ b/app/Generator/Report/Category/MonthReportGenerator.php @@ -29,7 +29,7 @@ use FireflyIII\Generator\Report\ReportGeneratorInterface; use FireflyIII\Helpers\Collector\GroupCollectorInterface; use FireflyIII\Models\TransactionType; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Standard/MonthReportGenerator.php b/app/Generator/Report/Standard/MonthReportGenerator.php index 4c4dbe914e..2b4d0cde41 100644 --- a/app/Generator/Report/Standard/MonthReportGenerator.php +++ b/app/Generator/Report/Standard/MonthReportGenerator.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Generator\Report\ReportGeneratorInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Standard/MultiYearReportGenerator.php b/app/Generator/Report/Standard/MultiYearReportGenerator.php index 6cac024b12..23430c0904 100644 --- a/app/Generator/Report/Standard/MultiYearReportGenerator.php +++ b/app/Generator/Report/Standard/MultiYearReportGenerator.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Generator\Report\ReportGeneratorInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Standard/YearReportGenerator.php b/app/Generator/Report/Standard/YearReportGenerator.php index 14d4d7ac65..9a6a22b59e 100644 --- a/app/Generator/Report/Standard/YearReportGenerator.php +++ b/app/Generator/Report/Standard/YearReportGenerator.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Generator\Report\ReportGeneratorInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Report/Tag/MonthReportGenerator.php b/app/Generator/Report/Tag/MonthReportGenerator.php index 72c057362d..201343e83e 100644 --- a/app/Generator/Report/Tag/MonthReportGenerator.php +++ b/app/Generator/Report/Tag/MonthReportGenerator.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Generator\Report\ReportGeneratorInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Generator/Webhook/StandardMessageGenerator.php b/app/Generator/Webhook/StandardMessageGenerator.php index a0e28589a6..35560f040f 100644 --- a/app/Generator/Webhook/StandardMessageGenerator.php +++ b/app/Generator/Webhook/StandardMessageGenerator.php @@ -38,7 +38,7 @@ use FireflyIII\User; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Ramsey\Uuid\Uuid; use Symfony\Component\HttpFoundation\ParameterBag; diff --git a/app/Handlers/Events/APIEventHandler.php b/app/Handlers/Events/APIEventHandler.php index 8dcef4bc8f..fe45a84574 100644 --- a/app/Handlers/Events/APIEventHandler.php +++ b/app/Handlers/Events/APIEventHandler.php @@ -28,7 +28,7 @@ use FireflyIII\Notifications\User\NewAccessToken; use FireflyIII\Repositories\User\UserRepositoryInterface; use Illuminate\Support\Facades\Notification; use Laravel\Passport\Events\AccessTokenCreated; -use Log; +use Illuminate\Support\Facades\Log; /** * Class APIEventHandler diff --git a/app/Handlers/Events/AutomationHandler.php b/app/Handlers/Events/AutomationHandler.php index 98b2b5f7b1..a8c4043b38 100644 --- a/app/Handlers/Events/AutomationHandler.php +++ b/app/Handlers/Events/AutomationHandler.php @@ -30,7 +30,7 @@ use FireflyIII\Notifications\User\TransactionCreation; use FireflyIII\Repositories\User\UserRepositoryInterface; use FireflyIII\Transformers\TransactionGroupTransformer; use Illuminate\Support\Facades\Notification; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AutomationHandler diff --git a/app/Handlers/Events/DestroyedGroupEventHandler.php b/app/Handlers/Events/DestroyedGroupEventHandler.php index 093f3e48d8..fbcf786fce 100644 --- a/app/Handlers/Events/DestroyedGroupEventHandler.php +++ b/app/Handlers/Events/DestroyedGroupEventHandler.php @@ -28,7 +28,7 @@ use FireflyIII\Events\DestroyedTransactionGroup; use FireflyIII\Events\RequestedSendWebhookMessages; use FireflyIII\Generator\Webhook\MessageGeneratorInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class DestroyedGroupEventHandler diff --git a/app/Handlers/Events/StoredGroupEventHandler.php b/app/Handlers/Events/StoredGroupEventHandler.php index 4b6e549dc4..44de4c78da 100644 --- a/app/Handlers/Events/StoredGroupEventHandler.php +++ b/app/Handlers/Events/StoredGroupEventHandler.php @@ -32,7 +32,7 @@ use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface; use FireflyIII\Services\Internal\Support\CreditRecalculateService; use FireflyIII\TransactionRules\Engine\RuleEngineInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class StoredGroupEventHandler diff --git a/app/Handlers/Events/UpdatedGroupEventHandler.php b/app/Handlers/Events/UpdatedGroupEventHandler.php index af1882d7b0..99e0046079 100644 --- a/app/Handlers/Events/UpdatedGroupEventHandler.php +++ b/app/Handlers/Events/UpdatedGroupEventHandler.php @@ -35,7 +35,7 @@ use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface; use FireflyIII\Services\Internal\Support\CreditRecalculateService; use FireflyIII\TransactionRules\Engine\RuleEngineInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class UpdatedGroupEventHandler diff --git a/app/Handlers/Events/UserEventHandler.php b/app/Handlers/Events/UserEventHandler.php index 2d14a8dc30..005ffd4918 100644 --- a/app/Handlers/Events/UserEventHandler.php +++ b/app/Handlers/Events/UserEventHandler.php @@ -48,7 +48,7 @@ use FireflyIII\Support\Facades\FireflyConfig; use FireflyIII\User; use Illuminate\Auth\Events\Login; use Illuminate\Support\Facades\Notification; -use Log; +use Illuminate\Support\Facades\Log; use Mail; /** diff --git a/app/Handlers/Events/VersionCheckEventHandler.php b/app/Handlers/Events/VersionCheckEventHandler.php index 55794f6e5a..923c1a1930 100644 --- a/app/Handlers/Events/VersionCheckEventHandler.php +++ b/app/Handlers/Events/VersionCheckEventHandler.php @@ -28,7 +28,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Helpers\Update\UpdateTrait; use FireflyIII\Models\Configuration; use FireflyIII\Repositories\User\UserRepositoryInterface; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Handlers/Events/WebhookEventHandler.php b/app/Handlers/Events/WebhookEventHandler.php index 54c1bfa48e..c678510606 100644 --- a/app/Handlers/Events/WebhookEventHandler.php +++ b/app/Handlers/Events/WebhookEventHandler.php @@ -25,7 +25,7 @@ namespace FireflyIII\Handlers\Events; use FireflyIII\Jobs\SendWebhookMessage; use FireflyIII\Models\WebhookMessage; -use Log; +use Illuminate\Support\Facades\Log; /** * Class WebhookEventHandler diff --git a/app/Helpers/Attachments/AttachmentHelper.php b/app/Helpers/Attachments/AttachmentHelper.php index 997028f8ab..7280be2037 100644 --- a/app/Helpers/Attachments/AttachmentHelper.php +++ b/app/Helpers/Attachments/AttachmentHelper.php @@ -34,7 +34,7 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Storage; use Illuminate\Support\MessageBag; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpFoundation\File\UploadedFile; /** diff --git a/app/Helpers/Collector/Extensions/AttachmentCollection.php b/app/Helpers/Collector/Extensions/AttachmentCollection.php index bc6b36f002..86386947f8 100644 --- a/app/Helpers/Collector/Extensions/AttachmentCollection.php +++ b/app/Helpers/Collector/Extensions/AttachmentCollection.php @@ -29,7 +29,7 @@ use FireflyIII\Models\Attachment; use FireflyIII\Models\TransactionJournal; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Builder as EloquentBuilder; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait AttachmentCollection diff --git a/app/Helpers/Collector/GroupCollector.php b/app/Helpers/Collector/GroupCollector.php index bcd87724a5..8e4b83808d 100644 --- a/app/Helpers/Collector/GroupCollector.php +++ b/app/Helpers/Collector/GroupCollector.php @@ -43,7 +43,7 @@ use Illuminate\Database\Eloquent\Builder as EloquentBuilder; use Illuminate\Database\Query\JoinClause; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class GroupCollector diff --git a/app/Helpers/Fiscal/FiscalHelper.php b/app/Helpers/Fiscal/FiscalHelper.php index 73874b7eeb..3275c83960 100644 --- a/app/Helpers/Fiscal/FiscalHelper.php +++ b/app/Helpers/Fiscal/FiscalHelper.php @@ -25,7 +25,7 @@ namespace FireflyIII\Helpers\Fiscal; use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Helpers/Update/UpdateTrait.php b/app/Helpers/Update/UpdateTrait.php index bb20a06df6..b089a8e2f3 100644 --- a/app/Helpers/Update/UpdateTrait.php +++ b/app/Helpers/Update/UpdateTrait.php @@ -25,7 +25,7 @@ namespace FireflyIII\Helpers\Update; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Services\FireflyIIIOrg\Update\UpdateRequestInterface; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Helpers/Webhook/Sha3SignatureGenerator.php b/app/Helpers/Webhook/Sha3SignatureGenerator.php index 06d38701b8..931914b3ac 100644 --- a/app/Helpers/Webhook/Sha3SignatureGenerator.php +++ b/app/Helpers/Webhook/Sha3SignatureGenerator.php @@ -26,7 +26,7 @@ namespace FireflyIII\Helpers\Webhook; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\WebhookMessage; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class Sha3SignatureGenerator diff --git a/app/Http/Controllers/Account/CreateController.php b/app/Http/Controllers/Account/CreateController.php index abb79eca3a..44c8bc8370 100644 --- a/app/Http/Controllers/Account/CreateController.php +++ b/app/Http/Controllers/Account/CreateController.php @@ -35,7 +35,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Account/IndexController.php b/app/Http/Controllers/Account/IndexController.php index 6d52d29b25..c8014aac7c 100644 --- a/app/Http/Controllers/Account/IndexController.php +++ b/app/Http/Controllers/Account/IndexController.php @@ -34,7 +34,7 @@ use Illuminate\Http\Request; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\View\View; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Account/ReconcileController.php b/app/Http/Controllers/Account/ReconcileController.php index 45e2badfbb..a1131de344 100644 --- a/app/Http/Controllers/Account/ReconcileController.php +++ b/app/Http/Controllers/Account/ReconcileController.php @@ -40,7 +40,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; use Illuminate\View\View; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Admin/ConfigurationController.php b/app/Http/Controllers/Admin/ConfigurationController.php index a5c03deff9..8b13529d5a 100644 --- a/app/Http/Controllers/Admin/ConfigurationController.php +++ b/app/Http/Controllers/Admin/ConfigurationController.php @@ -30,7 +30,7 @@ use FireflyIII\Http\Requests\ConfigurationRequest; use Illuminate\Contracts\View\Factory; use Illuminate\Http\RedirectResponse; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Admin/HomeController.php b/app/Http/Controllers/Admin/HomeController.php index ee64b72401..5bfd8d9102 100644 --- a/app/Http/Controllers/Admin/HomeController.php +++ b/app/Http/Controllers/Admin/HomeController.php @@ -34,7 +34,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Admin/LinkController.php b/app/Http/Controllers/Admin/LinkController.php index 5be62d08a8..e89254c06d 100644 --- a/app/Http/Controllers/Admin/LinkController.php +++ b/app/Http/Controllers/Admin/LinkController.php @@ -33,7 +33,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; /** * Class LinkController. diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 8cf4a02824..728c906527 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -37,7 +37,7 @@ use Illuminate\Http\JsonResponse; use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index 70d2db78ac..de43be4208 100644 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -32,7 +32,7 @@ use Illuminate\Foundation\Auth\SendsPasswordResetEmails; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index aa5ac49521..cdb49b73a9 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -39,7 +39,7 @@ use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Redirector; use Illuminate\Validation\ValidationException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index c7e6cbc1df..f658a03b26 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -37,7 +37,7 @@ use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\Validation\ValidationException; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Bill/CreateController.php b/app/Http/Controllers/Bill/CreateController.php index da116f6936..6504dce7ac 100644 --- a/app/Http/Controllers/Bill/CreateController.php +++ b/app/Http/Controllers/Bill/CreateController.php @@ -33,7 +33,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Contracts\View\View; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CreateController diff --git a/app/Http/Controllers/Bill/IndexController.php b/app/Http/Controllers/Bill/IndexController.php index f8d43ca274..390f6ac419 100644 --- a/app/Http/Controllers/Bill/IndexController.php +++ b/app/Http/Controllers/Bill/IndexController.php @@ -32,7 +32,7 @@ use FireflyIII\Repositories\ObjectGroup\OrganisesObjectGroups; use FireflyIII\Transformers\BillTransformer; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use Symfony\Component\HttpFoundation\ParameterBag; diff --git a/app/Http/Controllers/Budget/BudgetLimitController.php b/app/Http/Controllers/Budget/BudgetLimitController.php index 67df3abb32..b69b5e4c1d 100644 --- a/app/Http/Controllers/Budget/BudgetLimitController.php +++ b/app/Http/Controllers/Budget/BudgetLimitController.php @@ -42,7 +42,7 @@ use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/Http/Controllers/Budget/IndexController.php b/app/Http/Controllers/Budget/IndexController.php index 30556efee9..aa6b6bd26d 100644 --- a/app/Http/Controllers/Budget/IndexController.php +++ b/app/Http/Controllers/Budget/IndexController.php @@ -42,7 +42,7 @@ use Illuminate\Http\Request; use Illuminate\Support\Collection; use Illuminate\View\View; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Category/NoCategoryController.php b/app/Http/Controllers/Category/NoCategoryController.php index 9194cf1790..d77c5df7fd 100644 --- a/app/Http/Controllers/Category/NoCategoryController.php +++ b/app/Http/Controllers/Category/NoCategoryController.php @@ -35,7 +35,7 @@ use Illuminate\Http\Request; use Illuminate\Support\Collection; use Illuminate\View\View; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Chart/AccountController.php b/app/Http/Controllers/Chart/AccountController.php index 0e726c999b..86af022265 100644 --- a/app/Http/Controllers/Chart/AccountController.php +++ b/app/Http/Controllers/Chart/AccountController.php @@ -41,7 +41,7 @@ use FireflyIII\Support\Http\Controllers\DateCalculation; use Illuminate\Http\JsonResponse; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Chart/ReportController.php b/app/Http/Controllers/Chart/ReportController.php index fc35edf437..a762f22e27 100644 --- a/app/Http/Controllers/Chart/ReportController.php +++ b/app/Http/Controllers/Chart/ReportController.php @@ -38,7 +38,7 @@ use FireflyIII\Support\Http\Controllers\ChartGeneration; use Illuminate\Http\JsonResponse; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ReportController. diff --git a/app/Http/Controllers/CurrencyController.php b/app/Http/Controllers/CurrencyController.php index 5987e12dd6..2715d916d5 100644 --- a/app/Http/Controllers/CurrencyController.php +++ b/app/Http/Controllers/CurrencyController.php @@ -36,7 +36,7 @@ use Illuminate\Http\Request; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php index 27bb83334a..deac77a499 100644 --- a/app/Http/Controllers/DebugController.php +++ b/app/Http/Controllers/DebugController.php @@ -35,7 +35,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Monolog\Handler\RotatingFileHandler; /** diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 0405ba75a7..8c268535fa 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -36,7 +36,7 @@ use FireflyIII\User; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class HomeController. diff --git a/app/Http/Controllers/Json/BoxController.php b/app/Http/Controllers/Json/BoxController.php index ff1fd77bd1..1b905307fc 100644 --- a/app/Http/Controllers/Json/BoxController.php +++ b/app/Http/Controllers/Json/BoxController.php @@ -38,7 +38,7 @@ use FireflyIII\Repositories\Budget\OperationsRepositoryInterface; use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface; use FireflyIII\Support\CacheProperties; use Illuminate\Http\JsonResponse; -use Log; +use Illuminate\Support\Facades\Log; /** * Class BoxController. diff --git a/app/Http/Controllers/Json/FrontpageController.php b/app/Http/Controllers/Json/FrontpageController.php index a676e8c138..db0e2f10c0 100644 --- a/app/Http/Controllers/Json/FrontpageController.php +++ b/app/Http/Controllers/Json/FrontpageController.php @@ -28,7 +28,7 @@ use FireflyIII\Http\Controllers\Controller; use FireflyIII\Models\PiggyBank; use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface; use Illuminate\Http\JsonResponse; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Json/IntroController.php b/app/Http/Controllers/Json/IntroController.php index 500c0291c9..8f0b7b2c24 100644 --- a/app/Http/Controllers/Json/IntroController.php +++ b/app/Http/Controllers/Json/IntroController.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Http\Controllers\Controller; use FireflyIII\Support\Http\Controllers\GetConfigurationData; use Illuminate\Http\JsonResponse; -use Log; +use Illuminate\Support\Facades\Log; /** * Class IntroController. diff --git a/app/Http/Controllers/Json/ReconcileController.php b/app/Http/Controllers/Json/ReconcileController.php index 59ee86bc8b..fbe8ac5419 100644 --- a/app/Http/Controllers/Json/ReconcileController.php +++ b/app/Http/Controllers/Json/ReconcileController.php @@ -35,7 +35,7 @@ use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Json/RecurrenceController.php b/app/Http/Controllers/Json/RecurrenceController.php index ff0037f633..44d742a373 100644 --- a/app/Http/Controllers/Json/RecurrenceController.php +++ b/app/Http/Controllers/Json/RecurrenceController.php @@ -30,7 +30,7 @@ use FireflyIII\Models\RecurrenceRepetition; use FireflyIII\Repositories\Recurring\RecurringRepositoryInterface; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Json/RuleController.php b/app/Http/Controllers/Json/RuleController.php index f66fe0b604..3360fca391 100644 --- a/app/Http/Controllers/Json/RuleController.php +++ b/app/Http/Controllers/Json/RuleController.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Http\Controllers\Controller; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/ObjectGroup/IndexController.php b/app/Http/Controllers/ObjectGroup/IndexController.php index c970054544..27071864a8 100644 --- a/app/Http/Controllers/ObjectGroup/IndexController.php +++ b/app/Http/Controllers/ObjectGroup/IndexController.php @@ -31,7 +31,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Contracts\View\View; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Class IndexController diff --git a/app/Http/Controllers/PiggyBank/AmountController.php b/app/Http/Controllers/PiggyBank/AmountController.php index 3a0b2aab4b..586ba632c3 100644 --- a/app/Http/Controllers/PiggyBank/AmountController.php +++ b/app/Http/Controllers/PiggyBank/AmountController.php @@ -33,7 +33,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AmountController diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.php index 0eb0eaf471..f695d16920 100644 --- a/app/Http/Controllers/PreferencesController.php +++ b/app/Http/Controllers/PreferencesController.php @@ -34,7 +34,7 @@ use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index edbef0bce3..2ecf0b661b 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -51,7 +51,7 @@ use Illuminate\Routing\Redirector; use Illuminate\Support\Collection; use Illuminate\View\View; use Laravel\Passport\ClientRepository; -use Log; +use Illuminate\Support\Facades\Log; use PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException; use PragmaRX\Google2FA\Exceptions\InvalidCharactersException; use PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException; diff --git a/app/Http/Controllers/Report/AccountController.php b/app/Http/Controllers/Report/AccountController.php index 79bc1b0db7..60e240b7e2 100644 --- a/app/Http/Controllers/Report/AccountController.php +++ b/app/Http/Controllers/Report/AccountController.php @@ -29,7 +29,7 @@ use FireflyIII\Http\Controllers\Controller; use FireflyIII\Repositories\Account\AccountTaskerInterface; use FireflyIII\Support\CacheProperties; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/BalanceController.php b/app/Http/Controllers/Report/BalanceController.php index 751a05aff2..7909be8e9a 100644 --- a/app/Http/Controllers/Report/BalanceController.php +++ b/app/Http/Controllers/Report/BalanceController.php @@ -32,7 +32,7 @@ use FireflyIII\Models\Budget; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/BillController.php b/app/Http/Controllers/Report/BillController.php index eb5105e93f..f8b87d3b8c 100644 --- a/app/Http/Controllers/Report/BillController.php +++ b/app/Http/Controllers/Report/BillController.php @@ -29,7 +29,7 @@ use FireflyIII\Helpers\Report\ReportHelperInterface; use FireflyIII\Http\Controllers\Controller; use FireflyIII\Support\CacheProperties; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/BudgetController.php b/app/Http/Controllers/Report/BudgetController.php index 71c609b0e9..809f93e51e 100644 --- a/app/Http/Controllers/Report/BudgetController.php +++ b/app/Http/Controllers/Report/BudgetController.php @@ -36,7 +36,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Support\Collection; use Illuminate\View\View; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/CategoryController.php b/app/Http/Controllers/Report/CategoryController.php index 595a3639a7..58ab80f5af 100644 --- a/app/Http/Controllers/Report/CategoryController.php +++ b/app/Http/Controllers/Report/CategoryController.php @@ -36,7 +36,7 @@ use FireflyIII\Support\Report\Category\CategoryReportGenerator; use Illuminate\Contracts\View\Factory; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/DoubleController.php b/app/Http/Controllers/Report/DoubleController.php index bfa6a0b62a..75f2ab43ce 100644 --- a/app/Http/Controllers/Report/DoubleController.php +++ b/app/Http/Controllers/Report/DoubleController.php @@ -33,7 +33,7 @@ use FireflyIII\Support\Http\Controllers\AugumentData; use Illuminate\Contracts\View\Factory; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/OperationsController.php b/app/Http/Controllers/Report/OperationsController.php index f73e2cf7bf..7d833b2d09 100644 --- a/app/Http/Controllers/Report/OperationsController.php +++ b/app/Http/Controllers/Report/OperationsController.php @@ -29,7 +29,7 @@ use FireflyIII\Http\Controllers\Controller; use FireflyIII\Repositories\Account\AccountTaskerInterface; use FireflyIII\Support\CacheProperties; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Report/TagController.php b/app/Http/Controllers/Report/TagController.php index c9c599be49..fa375a05cb 100644 --- a/app/Http/Controllers/Report/TagController.php +++ b/app/Http/Controllers/Report/TagController.php @@ -32,7 +32,7 @@ use FireflyIII\Repositories\Tag\OperationsRepositoryInterface; use Illuminate\Contracts\View\Factory; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index b3d0dd854a..63b8e4d6c1 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -39,7 +39,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Rule/EditController.php b/app/Http/Controllers/Rule/EditController.php index 1e23675610..2e9eecd758 100644 --- a/app/Http/Controllers/Rule/EditController.php +++ b/app/Http/Controllers/Rule/EditController.php @@ -37,7 +37,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/Rule/SelectController.php b/app/Http/Controllers/Rule/SelectController.php index fbaebc00cc..bed7e662ea 100644 --- a/app/Http/Controllers/Rule/SelectController.php +++ b/app/Http/Controllers/Rule/SelectController.php @@ -39,7 +39,7 @@ use Illuminate\Http\JsonResponse; use Illuminate\Http\RedirectResponse; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 2274d1bcd8..5563500c27 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -30,7 +30,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Http/Controllers/System/CronController.php b/app/Http/Controllers/System/CronController.php index fe711c5844..1e9c80f9dd 100644 --- a/app/Http/Controllers/System/CronController.php +++ b/app/Http/Controllers/System/CronController.php @@ -26,7 +26,7 @@ namespace FireflyIII\Http\Controllers\System; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Http\Response; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CronController diff --git a/app/Http/Controllers/System/InstallController.php b/app/Http/Controllers/System/InstallController.php index d8153ba008..7a8d53f6c3 100644 --- a/app/Http/Controllers/System/InstallController.php +++ b/app/Http/Controllers/System/InstallController.php @@ -35,7 +35,7 @@ use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\View\View; use Laravel\Passport\Passport; -use Log; +use Illuminate\Support\Facades\Log; use phpseclib3\Crypt\RSA; /** diff --git a/app/Http/Controllers/TagController.php b/app/Http/Controllers/TagController.php index 2307edc31e..fc35f29ee4 100644 --- a/app/Http/Controllers/TagController.php +++ b/app/Http/Controllers/TagController.php @@ -35,7 +35,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Http/Controllers/Transaction/BulkController.php b/app/Http/Controllers/Transaction/BulkController.php index 02fa8b4175..e9129d4f48 100644 --- a/app/Http/Controllers/Transaction/BulkController.php +++ b/app/Http/Controllers/Transaction/BulkController.php @@ -35,7 +35,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; use Illuminate\Support\Collection; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; /** * Class BulkController diff --git a/app/Http/Controllers/Transaction/ConvertController.php b/app/Http/Controllers/Transaction/ConvertController.php index f0a29ea83e..fa0ddc9ab4 100644 --- a/app/Http/Controllers/Transaction/ConvertController.php +++ b/app/Http/Controllers/Transaction/ConvertController.php @@ -43,7 +43,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ConvertController. diff --git a/app/Http/Controllers/Transaction/DeleteController.php b/app/Http/Controllers/Transaction/DeleteController.php index ed0c7c3e12..421f4b7ac5 100644 --- a/app/Http/Controllers/Transaction/DeleteController.php +++ b/app/Http/Controllers/Transaction/DeleteController.php @@ -34,7 +34,7 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Contracts\View\View; use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Http/Controllers/Transaction/LinkController.php b/app/Http/Controllers/Transaction/LinkController.php index 41bf3ce9f7..168c316af1 100644 --- a/app/Http/Controllers/Transaction/LinkController.php +++ b/app/Http/Controllers/Transaction/LinkController.php @@ -34,7 +34,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; use Illuminate\View\View; -use Log; +use Illuminate\Support\Facades\Log; /** * Class LinkController. diff --git a/app/Http/Controllers/Transaction/MassController.php b/app/Http/Controllers/Transaction/MassController.php index f4c1345c67..42df90c845 100644 --- a/app/Http/Controllers/Transaction/MassController.php +++ b/app/Http/Controllers/Transaction/MassController.php @@ -41,7 +41,7 @@ use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; use Illuminate\View\View as IlluminateView; use InvalidArgumentException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class MassController. diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index 998a9ffd82..584ee3d018 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -30,7 +30,7 @@ use FireflyIII\User; use Illuminate\Auth\AuthenticationException; use Illuminate\Contracts\Auth\Factory as Auth; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Class Authenticate diff --git a/app/Http/Middleware/Installer.php b/app/Http/Middleware/Installer.php index c9c922eed1..3207fbc5a4 100644 --- a/app/Http/Middleware/Installer.php +++ b/app/Http/Middleware/Installer.php @@ -30,7 +30,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Support\System\OAuthKeys; use Illuminate\Database\QueryException; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Class Installer diff --git a/app/Http/Middleware/IsDemoUser.php b/app/Http/Middleware/IsDemoUser.php index 6ce1d912e2..9d1211aff0 100644 --- a/app/Http/Middleware/IsDemoUser.php +++ b/app/Http/Middleware/IsDemoUser.php @@ -27,7 +27,7 @@ use Closure; use FireflyIII\Repositories\User\UserRepositoryInterface; use FireflyIII\User; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Class IsDemoUser. diff --git a/app/Http/Middleware/Range.php b/app/Http/Middleware/Range.php index 5fb60e1c94..8487d084a3 100644 --- a/app/Http/Middleware/Range.php +++ b/app/Http/Middleware/Range.php @@ -29,7 +29,7 @@ use Closure; use FireflyIII\Repositories\Journal\JournalRepositoryInterface; use FireflyIII\Support\Http\Controllers\RequestInformation; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SessionFilter. diff --git a/app/Http/Requests/ReconciliationStoreRequest.php b/app/Http/Requests/ReconciliationStoreRequest.php index a6f03ae9eb..c9a1613f20 100644 --- a/app/Http/Requests/ReconciliationStoreRequest.php +++ b/app/Http/Requests/ReconciliationStoreRequest.php @@ -27,7 +27,7 @@ use FireflyIII\Rules\ValidJournals; use FireflyIII\Support\Request\ChecksLogin; use FireflyIII\Support\Request\ConvertsDataTypes; use Illuminate\Foundation\Http\FormRequest; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ReconciliationStoreRequest diff --git a/app/Http/Requests/RecurrenceFormRequest.php b/app/Http/Requests/RecurrenceFormRequest.php index 83e2b09eba..274aec607d 100644 --- a/app/Http/Requests/RecurrenceFormRequest.php +++ b/app/Http/Requests/RecurrenceFormRequest.php @@ -34,7 +34,7 @@ use FireflyIII\Support\Request\ConvertsDataTypes; use FireflyIII\Validation\AccountValidator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RecurrenceFormRequest diff --git a/app/Http/Requests/ReportFormRequest.php b/app/Http/Requests/ReportFormRequest.php index 499de9f21d..0ad6760f87 100644 --- a/app/Http/Requests/ReportFormRequest.php +++ b/app/Http/Requests/ReportFormRequest.php @@ -33,7 +33,7 @@ use FireflyIII\Repositories\Tag\TagRepositoryInterface; use FireflyIII\Support\Request\ChecksLogin; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CategoryFormRequest. diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.php index a1e8eddcbd..e308384e04 100644 --- a/app/Jobs/CreateAutoBudgetLimits.php +++ b/app/Jobs/CreateAutoBudgetLimits.php @@ -36,7 +36,7 @@ use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CreateAutoBudgetLimits diff --git a/app/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.php index 07ed219409..187bb4f604 100644 --- a/app/Jobs/CreateRecurringTransactions.php +++ b/app/Jobs/CreateRecurringTransactions.php @@ -42,7 +42,7 @@ use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CreateRecurringTransactions. diff --git a/app/Jobs/DownloadExchangeRates.php b/app/Jobs/DownloadExchangeRates.php index ccd07559d7..b7d014069f 100644 --- a/app/Jobs/DownloadExchangeRates.php +++ b/app/Jobs/DownloadExchangeRates.php @@ -37,7 +37,7 @@ use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class DownloadExchangeRates diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.php index 6e7730990d..777601b3b6 100644 --- a/app/Jobs/MailError.php +++ b/app/Jobs/MailError.php @@ -29,7 +29,7 @@ use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Message; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; -use Log; +use Illuminate\Support\Facades\Log; use Mail; /** diff --git a/app/Jobs/SendWebhookMessage.php b/app/Jobs/SendWebhookMessage.php index 05efaeb8a2..c557ec61c4 100644 --- a/app/Jobs/SendWebhookMessage.php +++ b/app/Jobs/SendWebhookMessage.php @@ -31,7 +31,7 @@ use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SendWebhookMessage diff --git a/app/Jobs/WarnAboutBills.php b/app/Jobs/WarnAboutBills.php index 2aee67ce18..e339194bc6 100644 --- a/app/Jobs/WarnAboutBills.php +++ b/app/Jobs/WarnAboutBills.php @@ -32,7 +32,7 @@ use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; -use Log; +use Illuminate\Support\Facades\Log; /** * Class WarnAboutBills diff --git a/app/Mail/NewIPAddressWarningMail.php b/app/Mail/NewIPAddressWarningMail.php index c40eed2d28..472c6274b5 100644 --- a/app/Mail/NewIPAddressWarningMail.php +++ b/app/Mail/NewIPAddressWarningMail.php @@ -28,7 +28,7 @@ use FireflyIII\Exceptions\FireflyException; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; -use Log; +use Illuminate\Support\Facades\Log; /** * Class NewIPAddressWarningMail diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index f4f533f7ac..5588d32550 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -50,7 +50,7 @@ use FireflyIII\Repositories\Budget\BudgetLimitRepositoryInterface; use Illuminate\Auth\Events\Login; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Laravel\Passport\Events\AccessTokenCreated; -use Log; +use Illuminate\Support\Facades\Log; /** * Class EventServiceProvider. diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php index ec4a4514fa..ed47edd520 100644 --- a/app/Repositories/Account/AccountRepository.php +++ b/app/Repositories/Account/AccountRepository.php @@ -43,7 +43,7 @@ use Illuminate\Database\Eloquent\Builder as EloquentBuilder; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Repositories/Account/AccountTasker.php b/app/Repositories/Account/AccountTasker.php index 17891d2ba8..6a10a73080 100644 --- a/app/Repositories/Account/AccountTasker.php +++ b/app/Repositories/Account/AccountTasker.php @@ -33,7 +33,7 @@ use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AccountTasker. diff --git a/app/Repositories/Attachment/AttachmentRepository.php b/app/Repositories/Attachment/AttachmentRepository.php index b28fc55814..18f6427d01 100644 --- a/app/Repositories/Attachment/AttachmentRepository.php +++ b/app/Repositories/Attachment/AttachmentRepository.php @@ -36,7 +36,7 @@ use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Storage; use League\Flysystem\UnableToDeleteFile; -use Log; +use Illuminate\Support\Facades\Log; use LogicException; /** diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.php index d8855734cd..874cc92ff5 100644 --- a/app/Repositories/Bill/BillRepository.php +++ b/app/Repositories/Bill/BillRepository.php @@ -44,7 +44,7 @@ use Illuminate\Database\Query\JoinClause; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Repositories/Budget/BudgetLimitRepository.php b/app/Repositories/Budget/BudgetLimitRepository.php index 2080c21f3e..74422c6ef6 100644 --- a/app/Repositories/Budget/BudgetLimitRepository.php +++ b/app/Repositories/Budget/BudgetLimitRepository.php @@ -34,7 +34,7 @@ use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/Repositories/Budget/BudgetRepository.php b/app/Repositories/Budget/BudgetRepository.php index 9122c374a5..75213a621f 100644 --- a/app/Repositories/Budget/BudgetRepository.php +++ b/app/Repositories/Budget/BudgetRepository.php @@ -45,7 +45,7 @@ use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\QueryException; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Repositories/Budget/OperationsRepository.php b/app/Repositories/Budget/OperationsRepository.php index 93d80b6329..07a10a4e95 100644 --- a/app/Repositories/Budget/OperationsRepository.php +++ b/app/Repositories/Budget/OperationsRepository.php @@ -33,7 +33,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/Repositories/Category/CategoryRepository.php b/app/Repositories/Category/CategoryRepository.php index 26fa5ee630..6b9024c82d 100644 --- a/app/Repositories/Category/CategoryRepository.php +++ b/app/Repositories/Category/CategoryRepository.php @@ -38,7 +38,7 @@ use FireflyIII\Services\Internal\Update\CategoryUpdateService; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Repositories/Currency/CurrencyRepository.php b/app/Repositories/Currency/CurrencyRepository.php index 82379071a1..a414936728 100644 --- a/app/Repositories/Currency/CurrencyRepository.php +++ b/app/Repositories/Currency/CurrencyRepository.php @@ -42,7 +42,7 @@ use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CurrencyRepository. diff --git a/app/Repositories/LinkType/LinkTypeRepository.php b/app/Repositories/LinkType/LinkTypeRepository.php index a933f2630c..c068e453c9 100644 --- a/app/Repositories/LinkType/LinkTypeRepository.php +++ b/app/Repositories/LinkType/LinkTypeRepository.php @@ -32,7 +32,7 @@ use FireflyIII\Models\TransactionJournalLink; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class LinkTypeRepository. diff --git a/app/Repositories/ObjectGroup/ObjectGroupRepository.php b/app/Repositories/ObjectGroup/ObjectGroupRepository.php index 84005207da..6971b4d79a 100644 --- a/app/Repositories/ObjectGroup/ObjectGroupRepository.php +++ b/app/Repositories/ObjectGroup/ObjectGroupRepository.php @@ -30,7 +30,7 @@ use FireflyIII\Models\PiggyBank; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ObjectGroupRepository diff --git a/app/Repositories/PiggyBank/PiggyBankRepository.php b/app/Repositories/PiggyBank/PiggyBankRepository.php index 861c823906..9f03677c6a 100644 --- a/app/Repositories/PiggyBank/PiggyBankRepository.php +++ b/app/Repositories/PiggyBank/PiggyBankRepository.php @@ -37,7 +37,7 @@ use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Repositories/Recurring/RecurringRepository.php b/app/Repositories/Recurring/RecurringRepository.php index 091a036568..1948b9ece4 100644 --- a/app/Repositories/Recurring/RecurringRepository.php +++ b/app/Repositories/Recurring/RecurringRepository.php @@ -48,7 +48,7 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RecurringRepository diff --git a/app/Repositories/Rule/RuleRepository.php b/app/Repositories/Rule/RuleRepository.php index 0fffd52bec..badfc08c47 100644 --- a/app/Repositories/Rule/RuleRepository.php +++ b/app/Repositories/Rule/RuleRepository.php @@ -34,7 +34,7 @@ use FireflyIII\Support\Search\OperatorQuerySearch; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RuleRepository. diff --git a/app/Repositories/RuleGroup/RuleGroupRepository.php b/app/Repositories/RuleGroup/RuleGroupRepository.php index 377130f719..91d38404f1 100644 --- a/app/Repositories/RuleGroup/RuleGroupRepository.php +++ b/app/Repositories/RuleGroup/RuleGroupRepository.php @@ -32,7 +32,7 @@ use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RuleGroupRepository. diff --git a/app/Repositories/Tag/TagRepository.php b/app/Repositories/Tag/TagRepository.php index a6763bb3f9..e63c512b18 100644 --- a/app/Repositories/Tag/TagRepository.php +++ b/app/Repositories/Tag/TagRepository.php @@ -36,7 +36,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Storage; /** diff --git a/app/Repositories/TransactionGroup/TransactionGroupRepository.php b/app/Repositories/TransactionGroup/TransactionGroupRepository.php index 00eadc2740..33308d004b 100644 --- a/app/Repositories/TransactionGroup/TransactionGroupRepository.php +++ b/app/Repositories/TransactionGroup/TransactionGroupRepository.php @@ -49,7 +49,7 @@ use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionGroupRepository diff --git a/app/Repositories/TransactionType/TransactionTypeRepository.php b/app/Repositories/TransactionType/TransactionTypeRepository.php index 40f8edb19b..3b2aacce20 100644 --- a/app/Repositories/TransactionType/TransactionTypeRepository.php +++ b/app/Repositories/TransactionType/TransactionTypeRepository.php @@ -25,7 +25,7 @@ namespace FireflyIII\Repositories\TransactionType; use FireflyIII\Models\TransactionType; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionTypeRepository diff --git a/app/Repositories/User/UserRepository.php b/app/Repositories/User/UserRepository.php index 570cf7c105..cc7972ba5b 100644 --- a/app/Repositories/User/UserRepository.php +++ b/app/Repositories/User/UserRepository.php @@ -34,7 +34,7 @@ use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\QueryException; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Str; /** diff --git a/app/Rules/BelongsUser.php b/app/Rules/BelongsUser.php index e157dad67f..f951b92d06 100644 --- a/app/Rules/BelongsUser.php +++ b/app/Rules/BelongsUser.php @@ -32,7 +32,7 @@ use FireflyIII\Models\Category; use FireflyIII\Models\PiggyBank; use FireflyIII\Models\TransactionJournal; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class BelongsUser diff --git a/app/Rules/IsDateOrTime.php b/app/Rules/IsDateOrTime.php index f79a1287a0..4acdaf9362 100644 --- a/app/Rules/IsDateOrTime.php +++ b/app/Rules/IsDateOrTime.php @@ -28,7 +28,7 @@ use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; use Carbon\Exceptions\InvalidFormatException; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class IsDateOrTime diff --git a/app/Rules/IsTransferAccount.php b/app/Rules/IsTransferAccount.php index 7cf7f00e0d..2451c5f7fd 100644 --- a/app/Rules/IsTransferAccount.php +++ b/app/Rules/IsTransferAccount.php @@ -27,7 +27,7 @@ namespace FireflyIII\Rules; use FireflyIII\Models\TransactionType; use FireflyIII\Validation\AccountValidator; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class IsTransferAccount diff --git a/app/Rules/IsValidAttachmentModel.php b/app/Rules/IsValidAttachmentModel.php index 9eb88777a9..5b4cf7af9d 100644 --- a/app/Rules/IsValidAttachmentModel.php +++ b/app/Rules/IsValidAttachmentModel.php @@ -40,7 +40,7 @@ use FireflyIII\Repositories\Journal\JournalRepositoryInterface; use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface; use FireflyIII\Repositories\Tag\TagRepositoryInterface; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class IsValidAttachmentModel diff --git a/app/Rules/UniqueAccountNumber.php b/app/Rules/UniqueAccountNumber.php index 6bfd71f42d..925fa23f4c 100644 --- a/app/Rules/UniqueAccountNumber.php +++ b/app/Rules/UniqueAccountNumber.php @@ -27,7 +27,7 @@ use FireflyIII\Models\Account; use FireflyIII\Models\AccountMeta; use FireflyIII\Models\AccountType; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class UniqueAccountNumber diff --git a/app/Rules/UniqueIban.php b/app/Rules/UniqueIban.php index 84afd3494a..75c247d82d 100644 --- a/app/Rules/UniqueIban.php +++ b/app/Rules/UniqueIban.php @@ -26,7 +26,7 @@ namespace FireflyIII\Rules; use FireflyIII\Models\Account; use FireflyIII\Models\AccountType; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class UniqueIban diff --git a/app/Rules/ValidJournals.php b/app/Rules/ValidJournals.php index b7f387d7c7..d10785f2d0 100644 --- a/app/Rules/ValidJournals.php +++ b/app/Rules/ValidJournals.php @@ -26,7 +26,7 @@ namespace FireflyIII\Rules; use FireflyIII\Models\TransactionJournal; use Illuminate\Contracts\Validation\Rule; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ValidJournals diff --git a/app/Rules/ValidRecurrenceRepetitionValue.php b/app/Rules/ValidRecurrenceRepetitionValue.php index 19087da65e..247b5d715e 100644 --- a/app/Rules/ValidRecurrenceRepetitionValue.php +++ b/app/Rules/ValidRecurrenceRepetitionValue.php @@ -26,7 +26,7 @@ namespace FireflyIII\Rules; use Carbon\Carbon; use Illuminate\Contracts\Validation\Rule; use InvalidArgumentException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ValidRecurrenceRepetitionValue diff --git a/app/Services/FireflyIIIOrg/Update/UpdateRequest.php b/app/Services/FireflyIIIOrg/Update/UpdateRequest.php index 58615fb06b..c0dfc41884 100644 --- a/app/Services/FireflyIIIOrg/Update/UpdateRequest.php +++ b/app/Services/FireflyIIIOrg/Update/UpdateRequest.php @@ -29,7 +29,7 @@ use FireflyIII\Events\NewVersionAvailable; use GuzzleHttp\Client; use GuzzleHttp\Exception\GuzzleException; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class UpdateRequest diff --git a/app/Services/Internal/Destroy/AccountDestroyService.php b/app/Services/Internal/Destroy/AccountDestroyService.php index a579ee0783..683077ee06 100644 --- a/app/Services/Internal/Destroy/AccountDestroyService.php +++ b/app/Services/Internal/Destroy/AccountDestroyService.php @@ -31,7 +31,7 @@ use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use Illuminate\Database\Eloquent\Builder; -use Log; +use Illuminate\Support\Facades\Log; use stdClass; /** diff --git a/app/Services/Internal/Destroy/JournalDestroyService.php b/app/Services/Internal/Destroy/JournalDestroyService.php index b25f27e458..a8a0d79b80 100644 --- a/app/Services/Internal/Destroy/JournalDestroyService.php +++ b/app/Services/Internal/Destroy/JournalDestroyService.php @@ -29,7 +29,7 @@ use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionJournalLink; use FireflyIII\Models\TransactionJournalMeta; -use Log; +use Illuminate\Support\Facades\Log; /** * Class JournalDestroyService diff --git a/app/Services/Internal/Support/AccountServiceTrait.php b/app/Services/Internal/Support/AccountServiceTrait.php index 3c0832a356..244dd60c98 100644 --- a/app/Services/Internal/Support/AccountServiceTrait.php +++ b/app/Services/Internal/Support/AccountServiceTrait.php @@ -39,7 +39,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Services\Internal\Destroy\TransactionGroupDestroyService; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Validator; /** diff --git a/app/Services/Internal/Support/BillServiceTrait.php b/app/Services/Internal/Support/BillServiceTrait.php index 5e0f17ec35..bfe6e37299 100644 --- a/app/Services/Internal/Support/BillServiceTrait.php +++ b/app/Services/Internal/Support/BillServiceTrait.php @@ -26,7 +26,7 @@ namespace FireflyIII\Services\Internal\Support; use FireflyIII\Models\Bill; use FireflyIII\Models\Note; use FireflyIII\Models\RuleAction; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait BillServiceTrait diff --git a/app/Services/Internal/Support/CreditRecalculateService.php b/app/Services/Internal/Support/CreditRecalculateService.php index a1dd1ee691..758e49900c 100644 --- a/app/Services/Internal/Support/CreditRecalculateService.php +++ b/app/Services/Internal/Support/CreditRecalculateService.php @@ -32,7 +32,7 @@ use FireflyIII\Models\TransactionGroup; use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; -use Log; +use Illuminate\Support\Facades\Log; class CreditRecalculateService { diff --git a/app/Services/Internal/Support/JournalServiceTrait.php b/app/Services/Internal/Support/JournalServiceTrait.php index a57d16487f..27e029293c 100644 --- a/app/Services/Internal/Support/JournalServiceTrait.php +++ b/app/Services/Internal/Support/JournalServiceTrait.php @@ -35,7 +35,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use FireflyIII\Repositories\Category\CategoryRepositoryInterface; use FireflyIII\Support\NullArrayObject; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait JournalServiceTrait diff --git a/app/Services/Internal/Support/RecurringTransactionTrait.php b/app/Services/Internal/Support/RecurringTransactionTrait.php index 1510e5ecff..f5d131ede0 100644 --- a/app/Services/Internal/Support/RecurringTransactionTrait.php +++ b/app/Services/Internal/Support/RecurringTransactionTrait.php @@ -41,7 +41,7 @@ use FireflyIII\Models\RecurrenceTransactionMeta; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Validation\AccountValidator; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait RecurringTransactionTrait diff --git a/app/Services/Internal/Support/TransactionTypeTrait.php b/app/Services/Internal/Support/TransactionTypeTrait.php index 518f06a327..1e5c0457da 100644 --- a/app/Services/Internal/Support/TransactionTypeTrait.php +++ b/app/Services/Internal/Support/TransactionTypeTrait.php @@ -26,7 +26,7 @@ namespace FireflyIII\Services\Internal\Support; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Factory\TransactionTypeFactory; use FireflyIII\Models\TransactionType; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait TransactionTypeTrait diff --git a/app/Services/Internal/Update/AccountUpdateService.php b/app/Services/Internal/Update/AccountUpdateService.php index 1ba8182121..020cffdbee 100644 --- a/app/Services/Internal/Update/AccountUpdateService.php +++ b/app/Services/Internal/Update/AccountUpdateService.php @@ -32,7 +32,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Services\Internal\Support\AccountServiceTrait; use FireflyIII\User; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AccountUpdateService diff --git a/app/Services/Internal/Update/BillUpdateService.php b/app/Services/Internal/Update/BillUpdateService.php index 0980eece73..841cec3473 100644 --- a/app/Services/Internal/Update/BillUpdateService.php +++ b/app/Services/Internal/Update/BillUpdateService.php @@ -34,7 +34,7 @@ use FireflyIII\Services\Internal\Support\BillServiceTrait; use FireflyIII\User; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class BillUpdateService diff --git a/app/Services/Internal/Update/CategoryUpdateService.php b/app/Services/Internal/Update/CategoryUpdateService.php index 16eea5e01c..569ebbc3bb 100644 --- a/app/Services/Internal/Update/CategoryUpdateService.php +++ b/app/Services/Internal/Update/CategoryUpdateService.php @@ -29,7 +29,7 @@ use FireflyIII\Models\Note; use FireflyIII\Models\RecurrenceTransactionMeta; use FireflyIII\Models\RuleAction; use FireflyIII\Models\RuleTrigger; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CategoryUpdateService diff --git a/app/Services/Internal/Update/GroupUpdateService.php b/app/Services/Internal/Update/GroupUpdateService.php index cd16f6f828..997d5d5351 100644 --- a/app/Services/Internal/Update/GroupUpdateService.php +++ b/app/Services/Internal/Update/GroupUpdateService.php @@ -30,7 +30,7 @@ use FireflyIII\Models\TransactionGroup; use FireflyIII\Models\TransactionJournal; use FireflyIII\Services\Internal\Destroy\JournalDestroyService; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class GroupUpdateService diff --git a/app/Services/Internal/Update/JournalUpdateService.php b/app/Services/Internal/Update/JournalUpdateService.php index acc3735fd7..10002c0dc5 100644 --- a/app/Services/Internal/Update/JournalUpdateService.php +++ b/app/Services/Internal/Update/JournalUpdateService.php @@ -42,7 +42,7 @@ use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface; use FireflyIII\Services\Internal\Support\JournalServiceTrait; use FireflyIII\Support\NullArrayObject; use FireflyIII\Validation\AccountValidator; -use Log; +use Illuminate\Support\Facades\Log; /** * Class to centralise code that updates a journal given the input by system. @@ -322,7 +322,7 @@ class JournalUpdateService $validator->setTransactionType($expectedType); $validator->setUser($this->transactionJournal->user); $validator->source = $this->getValidSourceAccount(); - $result = $validator->validateDestination(['id' => $destId, 'name' => $destName]); + $result = $validator->validateDestination(['id' => $destId, 'name' => $destName]); Log::debug(sprintf('hasValidDestinationAccount(%d, "%s") will return %s', $destId, $destName, var_export($result, true))); // TODO typeOverrule: the account validator may have another opinion on the transaction type. @@ -497,10 +497,10 @@ class JournalUpdateService { $type = $this->transactionJournal->transactionType->type; if (( - array_key_exists('bill_id', $this->data) - || array_key_exists('bill_name', $this->data) - ) - && TransactionType::WITHDRAWAL === $type + array_key_exists('bill_id', $this->data) + || array_key_exists('bill_name', $this->data) + ) + && TransactionType::WITHDRAWAL === $type ) { $billId = (int)($this->data['bill_id'] ?? 0); $billName = (string)($this->data['bill_name'] ?? ''); diff --git a/app/Services/Internal/Update/RecurrenceUpdateService.php b/app/Services/Internal/Update/RecurrenceUpdateService.php index 5d3ddd44bb..d6c0de05a9 100644 --- a/app/Services/Internal/Update/RecurrenceUpdateService.php +++ b/app/Services/Internal/Update/RecurrenceUpdateService.php @@ -33,7 +33,7 @@ use FireflyIII\Services\Internal\Support\RecurringTransactionTrait; use FireflyIII\Services\Internal\Support\TransactionTypeTrait; use FireflyIII\User; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RecurrenceUpdateService diff --git a/app/Services/Password/PwndVerifierV2.php b/app/Services/Password/PwndVerifierV2.php index 14853e1d1c..492519d753 100644 --- a/app/Services/Password/PwndVerifierV2.php +++ b/app/Services/Password/PwndVerifierV2.php @@ -26,7 +26,7 @@ namespace FireflyIII\Services\Password; use GuzzleHttp\Client; use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\Exception\RequestException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class PwndVerifierV2. diff --git a/app/Services/Webhook/StandardWebhookSender.php b/app/Services/Webhook/StandardWebhookSender.php index ecb11a3b4f..2258742362 100644 --- a/app/Services/Webhook/StandardWebhookSender.php +++ b/app/Services/Webhook/StandardWebhookSender.php @@ -31,7 +31,7 @@ use GuzzleHttp\Client; use GuzzleHttp\Exception\ConnectException; use GuzzleHttp\Exception\RequestException; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class StandardWebhookSender diff --git a/app/Support/Authentication/RemoteUserGuard.php b/app/Support/Authentication/RemoteUserGuard.php index 736bc68df3..a2de3578fa 100644 --- a/app/Support/Authentication/RemoteUserGuard.php +++ b/app/Support/Authentication/RemoteUserGuard.php @@ -31,7 +31,7 @@ use Illuminate\Contracts\Auth\Guard; use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Contracts\Foundation\Application; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Support/Authentication/RemoteUserProvider.php b/app/Support/Authentication/RemoteUserProvider.php index 5c62f9bdf8..73499a7679 100644 --- a/app/Support/Authentication/RemoteUserProvider.php +++ b/app/Support/Authentication/RemoteUserProvider.php @@ -30,7 +30,7 @@ use FireflyIII\Models\Role; use FireflyIII\User; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Contracts\Auth\UserProvider; -use Log; +use Illuminate\Support\Facades\Log; use Str; /** diff --git a/app/Support/Binder/AccountList.php b/app/Support/Binder/AccountList.php index 4d2c2b9e43..828b72aa51 100644 --- a/app/Support/Binder/AccountList.php +++ b/app/Support/Binder/AccountList.php @@ -26,7 +26,7 @@ namespace FireflyIII\Support\Binder; use FireflyIII\Models\AccountType; use Illuminate\Routing\Route; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Support/Binder/CLIToken.php b/app/Support/Binder/CLIToken.php index e26a775aae..cffa4e4ffd 100644 --- a/app/Support/Binder/CLIToken.php +++ b/app/Support/Binder/CLIToken.php @@ -26,7 +26,7 @@ namespace FireflyIII\Support\Binder; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Repositories\User\UserRepositoryInterface; use Illuminate\Routing\Route; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Support/Binder/Date.php b/app/Support/Binder/Date.php index 26a60f0bc1..367b4406bc 100644 --- a/app/Support/Binder/Date.php +++ b/app/Support/Binder/Date.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; use FireflyIII\Helpers\Fiscal\FiscalHelperInterface; use Illuminate\Routing\Route; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Support/Binder/TagList.php b/app/Support/Binder/TagList.php index 8b432a07d0..efd0adad48 100644 --- a/app/Support/Binder/TagList.php +++ b/app/Support/Binder/TagList.php @@ -27,7 +27,7 @@ use FireflyIII\Models\Tag; use FireflyIII\Repositories\Tag\TagRepositoryInterface; use Illuminate\Routing\Route; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Support/Binder/TagOrId.php b/app/Support/Binder/TagOrId.php index 12ecd26c0f..4cb54de2ad 100644 --- a/app/Support/Binder/TagOrId.php +++ b/app/Support/Binder/TagOrId.php @@ -26,7 +26,7 @@ namespace FireflyIII\Support\Binder; use FireflyIII\Models\Tag; use FireflyIII\Repositories\Tag\TagRepositoryInterface; use Illuminate\Routing\Route; -use Log; +use Illuminate\Support\Facades\Log; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** diff --git a/app/Support/Cronjobs/AutoBudgetCronjob.php b/app/Support/Cronjobs/AutoBudgetCronjob.php index 0aaba15929..6ac950a1f8 100644 --- a/app/Support/Cronjobs/AutoBudgetCronjob.php +++ b/app/Support/Cronjobs/AutoBudgetCronjob.php @@ -27,7 +27,7 @@ namespace FireflyIII\Support\Cronjobs; use Carbon\Carbon; use FireflyIII\Jobs\CreateAutoBudgetLimits; use FireflyIII\Models\Configuration; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AutoBudgetCronjob diff --git a/app/Support/Cronjobs/BillWarningCronjob.php b/app/Support/Cronjobs/BillWarningCronjob.php index bf069c3031..2b3c03f512 100644 --- a/app/Support/Cronjobs/BillWarningCronjob.php +++ b/app/Support/Cronjobs/BillWarningCronjob.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Jobs\WarnAboutBills; use FireflyIII\Models\Configuration; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Support/Cronjobs/ExchangeRatesCronjob.php b/app/Support/Cronjobs/ExchangeRatesCronjob.php index 55911154a2..c76131777a 100644 --- a/app/Support/Cronjobs/ExchangeRatesCronjob.php +++ b/app/Support/Cronjobs/ExchangeRatesCronjob.php @@ -27,7 +27,7 @@ namespace FireflyIII\Support\Cronjobs; use Carbon\Carbon; use FireflyIII\Jobs\DownloadExchangeRates; use FireflyIII\Models\Configuration; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ExchangeRatesCronjob diff --git a/app/Support/Cronjobs/RecurringCronjob.php b/app/Support/Cronjobs/RecurringCronjob.php index b1107e7a22..cdb2b989ff 100644 --- a/app/Support/Cronjobs/RecurringCronjob.php +++ b/app/Support/Cronjobs/RecurringCronjob.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Jobs\CreateRecurringTransactions; use FireflyIII\Models\Configuration; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Support/ExpandedForm.php b/app/Support/ExpandedForm.php index 6c361b920d..c097984579 100644 --- a/app/Support/ExpandedForm.php +++ b/app/Support/ExpandedForm.php @@ -28,7 +28,7 @@ use Eloquent; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Support\Form\FormSupport; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/FireflyConfig.php b/app/Support/FireflyConfig.php index 57abb7e45b..3796b89a0e 100644 --- a/app/Support/FireflyConfig.php +++ b/app/Support/FireflyConfig.php @@ -28,7 +28,7 @@ use Exception; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\Configuration; use Illuminate\Database\QueryException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class FireflyConfig. diff --git a/app/Support/Form/AccountForm.php b/app/Support/Form/AccountForm.php index 2e244dc812..6134ded1cd 100644 --- a/app/Support/Form/AccountForm.php +++ b/app/Support/Form/AccountForm.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\Account; use FireflyIII\Models\AccountType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/Form/CurrencyForm.php b/app/Support/Form/CurrencyForm.php index 56e95cc055..67302a613e 100644 --- a/app/Support/Form/CurrencyForm.php +++ b/app/Support/Form/CurrencyForm.php @@ -28,7 +28,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\TransactionCurrency; use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/Form/FormSupport.php b/app/Support/Form/FormSupport.php index cfcb34f661..b1c3e35c5f 100644 --- a/app/Support/Form/FormSupport.php +++ b/app/Support/Form/FormSupport.php @@ -27,7 +27,7 @@ use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use Illuminate\Support\MessageBag; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/Http/Api/ConvertsExchangeRates.php b/app/Support/Http/Api/ConvertsExchangeRates.php index 2da58e4abe..85b6bb83ce 100644 --- a/app/Support/Http/Api/ConvertsExchangeRates.php +++ b/app/Support/Http/Api/ConvertsExchangeRates.php @@ -28,7 +28,7 @@ use Carbon\Carbon; use DateTimeInterface; use FireflyIII\Models\CurrencyExchangeRate; use FireflyIII\Models\TransactionCurrency; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait ConvertsExchangeRates diff --git a/app/Support/Http/Controllers/ChartGeneration.php b/app/Support/Http/Controllers/ChartGeneration.php index ce5518e8d3..6a5165e76d 100644 --- a/app/Support/Http/Controllers/ChartGeneration.php +++ b/app/Support/Http/Controllers/ChartGeneration.php @@ -32,7 +32,7 @@ use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface; use FireflyIII\Support\CacheProperties; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait ChartGeneration diff --git a/app/Support/Http/Controllers/CreateStuff.php b/app/Support/Http/Controllers/CreateStuff.php index df8cdf4af0..ebb5c186c1 100644 --- a/app/Support/Http/Controllers/CreateStuff.php +++ b/app/Support/Http/Controllers/CreateStuff.php @@ -29,7 +29,7 @@ use FireflyIII\Models\TransactionCurrency; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; use Laravel\Passport\Passport; -use Log; +use Illuminate\Support\Facades\Log; use phpseclib3\Crypt\RSA; /** diff --git a/app/Support/Http/Controllers/GetConfigurationData.php b/app/Support/Http/Controllers/GetConfigurationData.php index fd06294bfb..315262c88d 100644 --- a/app/Support/Http/Controllers/GetConfigurationData.php +++ b/app/Support/Http/Controllers/GetConfigurationData.php @@ -25,7 +25,7 @@ namespace FireflyIII\Support\Http\Controllers; use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Support/Http/Controllers/ModelInformation.php b/app/Support/Http/Controllers/ModelInformation.php index ecdacf06bf..15242561f2 100644 --- a/app/Support/Http/Controllers/ModelInformation.php +++ b/app/Support/Http/Controllers/ModelInformation.php @@ -30,7 +30,7 @@ use FireflyIII\Models\Tag; use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use FireflyIII\Repositories\Account\AccountRepositoryInterface; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/Http/Controllers/PeriodOverview.php b/app/Support/Http/Controllers/PeriodOverview.php index ed6973a058..8630365ae7 100644 --- a/app/Support/Http/Controllers/PeriodOverview.php +++ b/app/Support/Http/Controllers/PeriodOverview.php @@ -33,7 +33,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Journal\JournalRepositoryInterface; use FireflyIII\Support\CacheProperties; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Support/Http/Controllers/RenderPartialViews.php b/app/Support/Http/Controllers/RenderPartialViews.php index 568af28212..84dfd9546a 100644 --- a/app/Support/Http/Controllers/RenderPartialViews.php +++ b/app/Support/Http/Controllers/RenderPartialViews.php @@ -36,7 +36,7 @@ use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use FireflyIII\Repositories\Category\CategoryRepositoryInterface; use FireflyIII\Repositories\Tag\TagRepositoryInterface; use FireflyIII\Support\Search\OperatorQuerySearch; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/Http/Controllers/RequestInformation.php b/app/Support/Http/Controllers/RequestInformation.php index 824975c4ed..53091d7bfc 100644 --- a/app/Support/Http/Controllers/RequestInformation.php +++ b/app/Support/Http/Controllers/RequestInformation.php @@ -35,7 +35,7 @@ use Illuminate\Contracts\Validation\Validator as ValidatorContract; use Illuminate\Routing\Route; use Illuminate\Support\Facades\Validator; use InvalidArgumentException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use Route as RouteFacade; diff --git a/app/Support/Http/Controllers/RuleManagement.php b/app/Support/Http/Controllers/RuleManagement.php index 42865ab1ce..f3068e7b0c 100644 --- a/app/Support/Http/Controllers/RuleManagement.php +++ b/app/Support/Http/Controllers/RuleManagement.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface; use FireflyIII\Support\Search\OperatorQuerySearch; use Illuminate\Http\Request; -use Log; +use Illuminate\Support\Facades\Log; use Throwable; /** diff --git a/app/Support/Http/Controllers/UserNavigation.php b/app/Support/Http/Controllers/UserNavigation.php index 84cf46b458..3ccdfc1d4c 100644 --- a/app/Support/Http/Controllers/UserNavigation.php +++ b/app/Support/Http/Controllers/UserNavigation.php @@ -31,7 +31,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait UserNavigation diff --git a/app/Support/Navigation.php b/app/Support/Navigation.php index 3aa6d81fbb..aab44e3d24 100644 --- a/app/Support/Navigation.php +++ b/app/Support/Navigation.php @@ -26,7 +26,7 @@ namespace FireflyIII\Support; use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Helpers\Fiscal\FiscalHelperInterface; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/Support/ParseDateString.php b/app/Support/ParseDateString.php index d85fde5830..02b5c8d227 100644 --- a/app/Support/ParseDateString.php +++ b/app/Support/ParseDateString.php @@ -26,7 +26,7 @@ namespace FireflyIII\Support; use Carbon\Carbon; use FireflyIII\Exceptions\FireflyException; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ParseDateString diff --git a/app/Support/Repositories/Recurring/CalculateXOccurrencesSince.php b/app/Support/Repositories/Recurring/CalculateXOccurrencesSince.php index c9b505c25a..950c2ec5d2 100644 --- a/app/Support/Repositories/Recurring/CalculateXOccurrencesSince.php +++ b/app/Support/Repositories/Recurring/CalculateXOccurrencesSince.php @@ -25,7 +25,7 @@ declare(strict_types=1); namespace FireflyIII\Support\Repositories\Recurring; use Carbon\Carbon; -use Log; +use Illuminate\Support\Facades\Log; /** * Class CalculateXOccurrencesSince diff --git a/app/Support/Request/AppendsLocationData.php b/app/Support/Request/AppendsLocationData.php index 0bd76b8143..d37584b759 100644 --- a/app/Support/Request/AppendsLocationData.php +++ b/app/Support/Request/AppendsLocationData.php @@ -23,7 +23,7 @@ declare(strict_types=1); namespace FireflyIII\Support\Request; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait AppendsLocationData diff --git a/app/Support/Request/ConvertsDataTypes.php b/app/Support/Request/ConvertsDataTypes.php index f1a3ebcf09..67f0417db8 100644 --- a/app/Support/Request/ConvertsDataTypes.php +++ b/app/Support/Request/ConvertsDataTypes.php @@ -25,7 +25,7 @@ namespace FireflyIII\Support\Request; use Carbon\Carbon; use Carbon\Exceptions\InvalidFormatException; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait ConvertsDataTypes diff --git a/app/Support/Search/OperatorQuerySearch.php b/app/Support/Search/OperatorQuerySearch.php index 1ac3dd3b4b..7c83ceb91d 100644 --- a/app/Support/Search/OperatorQuerySearch.php +++ b/app/Support/Search/OperatorQuerySearch.php @@ -54,7 +54,7 @@ use Gdbots\QueryParser\Node\Word; use Gdbots\QueryParser\QueryParser; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; use LogicException; use TypeError; diff --git a/app/Support/Steam.php b/app/Support/Steam.php index ab882b2ac0..5e8459b3ef 100644 --- a/app/Support/Steam.php +++ b/app/Support/Steam.php @@ -33,7 +33,7 @@ use FireflyIII\Models\TransactionCurrency; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use Illuminate\Support\Collection; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use stdClass; diff --git a/app/Support/System/GeneratesInstallationId.php b/app/Support/System/GeneratesInstallationId.php index 8ac9d8dd3e..beccdaafab 100644 --- a/app/Support/System/GeneratesInstallationId.php +++ b/app/Support/System/GeneratesInstallationId.php @@ -25,7 +25,7 @@ declare(strict_types=1); namespace FireflyIII\Support\System; use FireflyIII\Exceptions\FireflyException; -use Log; +use Illuminate\Support\Facades\Log; use Ramsey\Uuid\Uuid; /** diff --git a/app/Support/System/OAuthKeys.php b/app/Support/System/OAuthKeys.php index 0266cb5feb..abb8cc036d 100644 --- a/app/Support/System/OAuthKeys.php +++ b/app/Support/System/OAuthKeys.php @@ -29,7 +29,7 @@ use Crypt; use FireflyIII\Exceptions\FireflyException; use Illuminate\Contracts\Encryption\DecryptException; use Laravel\Passport\Console\KeysCommand; -use Log; +use Illuminate\Support\Facades\Log; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; diff --git a/app/TransactionRules/Actions/AddTag.php b/app/TransactionRules/Actions/AddTag.php index ff80c70a02..e865abb117 100644 --- a/app/TransactionRules/Actions/AddTag.php +++ b/app/TransactionRules/Actions/AddTag.php @@ -29,7 +29,7 @@ use FireflyIII\Factory\TagFactory; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AddTag. diff --git a/app/TransactionRules/Actions/AppendNotes.php b/app/TransactionRules/Actions/AppendNotes.php index f55d6dc358..c0595a9e31 100644 --- a/app/TransactionRules/Actions/AppendNotes.php +++ b/app/TransactionRules/Actions/AppendNotes.php @@ -27,7 +27,7 @@ use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\Note; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AppendNotes. diff --git a/app/TransactionRules/Actions/ClearBudget.php b/app/TransactionRules/Actions/ClearBudget.php index 2bef3a4fe4..d2915f8e5f 100644 --- a/app/TransactionRules/Actions/ClearBudget.php +++ b/app/TransactionRules/Actions/ClearBudget.php @@ -27,7 +27,7 @@ use DB; use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ClearBudget. diff --git a/app/TransactionRules/Actions/ClearCategory.php b/app/TransactionRules/Actions/ClearCategory.php index 43874d063c..158b5b212d 100644 --- a/app/TransactionRules/Actions/ClearCategory.php +++ b/app/TransactionRules/Actions/ClearCategory.php @@ -27,7 +27,7 @@ use DB; use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ClearCategory. diff --git a/app/TransactionRules/Actions/ClearNotes.php b/app/TransactionRules/Actions/ClearNotes.php index e14fe32b95..bdac946b25 100644 --- a/app/TransactionRules/Actions/ClearNotes.php +++ b/app/TransactionRules/Actions/ClearNotes.php @@ -27,7 +27,7 @@ use DB; use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ClearNotes. diff --git a/app/TransactionRules/Actions/ConvertToDeposit.php b/app/TransactionRules/Actions/ConvertToDeposit.php index d81e8f57c0..99dd4d3e83 100644 --- a/app/TransactionRules/Actions/ConvertToDeposit.php +++ b/app/TransactionRules/Actions/ConvertToDeposit.php @@ -34,7 +34,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/TransactionRules/Actions/ConvertToTransfer.php b/app/TransactionRules/Actions/ConvertToTransfer.php index b9e2013ef2..30baedc4d1 100644 --- a/app/TransactionRules/Actions/ConvertToTransfer.php +++ b/app/TransactionRules/Actions/ConvertToTransfer.php @@ -31,7 +31,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/TransactionRules/Actions/ConvertToWithdrawal.php b/app/TransactionRules/Actions/ConvertToWithdrawal.php index fd9f352a9d..9b0a79672f 100644 --- a/app/TransactionRules/Actions/ConvertToWithdrawal.php +++ b/app/TransactionRules/Actions/ConvertToWithdrawal.php @@ -34,7 +34,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; use JsonException; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/TransactionRules/Actions/DeleteTransaction.php b/app/TransactionRules/Actions/DeleteTransaction.php index 35be86196a..3f357b2e6c 100644 --- a/app/TransactionRules/Actions/DeleteTransaction.php +++ b/app/TransactionRules/Actions/DeleteTransaction.php @@ -29,7 +29,7 @@ use FireflyIII\Models\TransactionGroup; use FireflyIII\Models\TransactionJournal; use FireflyIII\Services\Internal\Destroy\JournalDestroyService; use FireflyIII\Services\Internal\Destroy\TransactionGroupDestroyService; -use Log; +use Illuminate\Support\Facades\Log; /** * Class DeleteTransaction. diff --git a/app/TransactionRules/Actions/LinkToBill.php b/app/TransactionRules/Actions/LinkToBill.php index bbff66dfb3..b1f6b463cb 100644 --- a/app/TransactionRules/Actions/LinkToBill.php +++ b/app/TransactionRules/Actions/LinkToBill.php @@ -30,7 +30,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Bill\BillRepositoryInterface; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class LinkToBill. diff --git a/app/TransactionRules/Actions/PrependNotes.php b/app/TransactionRules/Actions/PrependNotes.php index cff973022c..c98d18688d 100644 --- a/app/TransactionRules/Actions/PrependNotes.php +++ b/app/TransactionRules/Actions/PrependNotes.php @@ -27,7 +27,7 @@ use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\Note; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class PrependNotes. diff --git a/app/TransactionRules/Actions/RemoveAllTags.php b/app/TransactionRules/Actions/RemoveAllTags.php index 54c9d06e2f..b819c44406 100644 --- a/app/TransactionRules/Actions/RemoveAllTags.php +++ b/app/TransactionRules/Actions/RemoveAllTags.php @@ -27,7 +27,7 @@ use DB; use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RemoveAllTags. diff --git a/app/TransactionRules/Actions/RemoveTag.php b/app/TransactionRules/Actions/RemoveTag.php index f2b14aa109..1a5b3be1d9 100644 --- a/app/TransactionRules/Actions/RemoveTag.php +++ b/app/TransactionRules/Actions/RemoveTag.php @@ -28,7 +28,7 @@ use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class RemoveTag. diff --git a/app/TransactionRules/Actions/SetBudget.php b/app/TransactionRules/Actions/SetBudget.php index 35714bd276..b9ed8c6171 100644 --- a/app/TransactionRules/Actions/SetBudget.php +++ b/app/TransactionRules/Actions/SetBudget.php @@ -29,7 +29,7 @@ use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SetBudget. diff --git a/app/TransactionRules/Actions/SetCategory.php b/app/TransactionRules/Actions/SetCategory.php index ed4cdc34c6..44669cc05a 100644 --- a/app/TransactionRules/Actions/SetCategory.php +++ b/app/TransactionRules/Actions/SetCategory.php @@ -29,7 +29,7 @@ use FireflyIII\Factory\CategoryFactory; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SetCategory. diff --git a/app/TransactionRules/Actions/SetDescription.php b/app/TransactionRules/Actions/SetDescription.php index 17eaedce95..2c74f756b9 100644 --- a/app/TransactionRules/Actions/SetDescription.php +++ b/app/TransactionRules/Actions/SetDescription.php @@ -27,7 +27,7 @@ use DB; use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SetDescription. diff --git a/app/TransactionRules/Actions/SetDestinationAccount.php b/app/TransactionRules/Actions/SetDestinationAccount.php index 0bf9b4f187..239b7b61fe 100644 --- a/app/TransactionRules/Actions/SetDestinationAccount.php +++ b/app/TransactionRules/Actions/SetDestinationAccount.php @@ -32,7 +32,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SetDestinationAccount. diff --git a/app/TransactionRules/Actions/SetNotes.php b/app/TransactionRules/Actions/SetNotes.php index 0979fd8e48..840a9f9c93 100644 --- a/app/TransactionRules/Actions/SetNotes.php +++ b/app/TransactionRules/Actions/SetNotes.php @@ -27,7 +27,7 @@ use FireflyIII\Events\TriggeredAuditLog; use FireflyIII\Models\Note; use FireflyIII\Models\RuleAction; use FireflyIII\Models\TransactionJournal; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SetNotes. diff --git a/app/TransactionRules/Actions/SetSourceAccount.php b/app/TransactionRules/Actions/SetSourceAccount.php index f79650e8ea..9e95c80bb5 100644 --- a/app/TransactionRules/Actions/SetSourceAccount.php +++ b/app/TransactionRules/Actions/SetSourceAccount.php @@ -32,7 +32,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SetSourceAccount. diff --git a/app/TransactionRules/Actions/UpdatePiggybank.php b/app/TransactionRules/Actions/UpdatePiggybank.php index 173306ac3a..2f13ca31b0 100644 --- a/app/TransactionRules/Actions/UpdatePiggybank.php +++ b/app/TransactionRules/Actions/UpdatePiggybank.php @@ -32,7 +32,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface; use FireflyIII\User; -use Log; +use Illuminate\Support\Facades\Log; /** * Class UpdatePiggybank diff --git a/app/TransactionRules/Engine/SearchRuleEngine.php b/app/TransactionRules/Engine/SearchRuleEngine.php index bf22a98065..11bc21d75c 100644 --- a/app/TransactionRules/Engine/SearchRuleEngine.php +++ b/app/TransactionRules/Engine/SearchRuleEngine.php @@ -35,7 +35,7 @@ use FireflyIII\Support\Search\SearchInterface; use FireflyIII\TransactionRules\Factory\ActionFactory; use FireflyIII\User; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class SearchRuleEngine diff --git a/app/TransactionRules/Factory/ActionFactory.php b/app/TransactionRules/Factory/ActionFactory.php index ebcb35dd1c..cfc04ecb86 100644 --- a/app/TransactionRules/Factory/ActionFactory.php +++ b/app/TransactionRules/Factory/ActionFactory.php @@ -27,7 +27,7 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\RuleAction; use FireflyIII\Support\Domain; use FireflyIII\TransactionRules\Actions\ActionInterface; -use Log; +use Illuminate\Support\Facades\Log; /** * Class ActionFactory can create actions. diff --git a/app/Transformers/RecurrenceTransformer.php b/app/Transformers/RecurrenceTransformer.php index e4b205ac0c..5869664f0c 100644 --- a/app/Transformers/RecurrenceTransformer.php +++ b/app/Transformers/RecurrenceTransformer.php @@ -34,7 +34,7 @@ use FireflyIII\Repositories\Bill\BillRepositoryInterface; use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface; use FireflyIII\Repositories\Recurring\RecurringRepositoryInterface; -use Log; +use Illuminate\Support\Facades\Log; /** * diff --git a/app/Transformers/TransactionGroupTransformer.php b/app/Transformers/TransactionGroupTransformer.php index 98ace4a7fd..780192094e 100644 --- a/app/Transformers/TransactionGroupTransformer.php +++ b/app/Transformers/TransactionGroupTransformer.php @@ -36,7 +36,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\TransactionGroup\TransactionGroupRepositoryInterface; use FireflyIII\Support\NullArrayObject; use Illuminate\Support\Collection; -use Log; +use Illuminate\Support\Facades\Log; /** * Class TransactionGroupTransformer diff --git a/app/Transformers/WebhookMessageTransformer.php b/app/Transformers/WebhookMessageTransformer.php index 599738e2de..f62761964a 100644 --- a/app/Transformers/WebhookMessageTransformer.php +++ b/app/Transformers/WebhookMessageTransformer.php @@ -25,7 +25,7 @@ namespace FireflyIII\Transformers; use FireflyIII\Models\WebhookMessage; use Jsonexception; -use Log; +use Illuminate\Support\Facades\Log; /** * Class WebhookMessageTransformer diff --git a/app/Validation/Account/DepositValidation.php b/app/Validation/Account/DepositValidation.php index f78f74dfae..2c009e5ab6 100644 --- a/app/Validation/Account/DepositValidation.php +++ b/app/Validation/Account/DepositValidation.php @@ -25,7 +25,7 @@ namespace FireflyIII\Validation\Account; use FireflyIII\Models\Account; use FireflyIII\Models\AccountType; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait DepositValidation diff --git a/app/Validation/Account/LiabilityValidation.php b/app/Validation/Account/LiabilityValidation.php index 805271f1ba..909b7e6f26 100644 --- a/app/Validation/Account/LiabilityValidation.php +++ b/app/Validation/Account/LiabilityValidation.php @@ -26,7 +26,7 @@ namespace FireflyIII\Validation\Account; use FireflyIII\Models\Account; use FireflyIII\Models\AccountType; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait LiabilityValidation diff --git a/app/Validation/Account/OBValidation.php b/app/Validation/Account/OBValidation.php index 1f1e349b27..655259a321 100644 --- a/app/Validation/Account/OBValidation.php +++ b/app/Validation/Account/OBValidation.php @@ -26,7 +26,7 @@ namespace FireflyIII\Validation\Account; use FireflyIII\Models\Account; use FireflyIII\Models\AccountType; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait OBValidation diff --git a/app/Validation/Account/ReconciliationValidation.php b/app/Validation/Account/ReconciliationValidation.php index 1277b76fa3..f6439c303f 100644 --- a/app/Validation/Account/ReconciliationValidation.php +++ b/app/Validation/Account/ReconciliationValidation.php @@ -25,7 +25,7 @@ declare(strict_types=1); namespace FireflyIII\Validation\Account; use FireflyIII\Models\Account; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait ReconciliationValidation diff --git a/app/Validation/Account/TransferValidation.php b/app/Validation/Account/TransferValidation.php index e8032e7428..7cee3f8731 100644 --- a/app/Validation/Account/TransferValidation.php +++ b/app/Validation/Account/TransferValidation.php @@ -24,7 +24,7 @@ declare(strict_types=1); namespace FireflyIII\Validation\Account; use FireflyIII\Models\Account; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait TransferValidation diff --git a/app/Validation/Account/WithdrawalValidation.php b/app/Validation/Account/WithdrawalValidation.php index 54af2768ee..dd0e262d3d 100644 --- a/app/Validation/Account/WithdrawalValidation.php +++ b/app/Validation/Account/WithdrawalValidation.php @@ -25,7 +25,7 @@ namespace FireflyIII\Validation\Account; use FireflyIII\Models\Account; use FireflyIII\Models\AccountType; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait WithdrawalValidation diff --git a/app/Validation/AccountValidator.php b/app/Validation/AccountValidator.php index 3d15b236e0..de4133b41c 100644 --- a/app/Validation/AccountValidator.php +++ b/app/Validation/AccountValidator.php @@ -35,7 +35,7 @@ use FireflyIII\Validation\Account\OBValidation; use FireflyIII\Validation\Account\ReconciliationValidation; use FireflyIII\Validation\Account\TransferValidation; use FireflyIII\Validation\Account\WithdrawalValidation; -use Log; +use Illuminate\Support\Facades\Log; /** * Class AccountValidator diff --git a/app/Validation/CurrencyValidation.php b/app/Validation/CurrencyValidation.php index f52d5d714f..f454c3bd15 100644 --- a/app/Validation/CurrencyValidation.php +++ b/app/Validation/CurrencyValidation.php @@ -25,7 +25,7 @@ declare(strict_types=1); namespace FireflyIII\Validation; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait CurrencyValidation diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.php index 3181cd4ac1..14a4169835 100644 --- a/app/Validation/FireflyValidator.php +++ b/app/Validation/FireflyValidator.php @@ -43,7 +43,7 @@ use FireflyIII\User; use Google2FA; use Illuminate\Support\Collection; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; use PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException; use PragmaRX\Google2FA\Exceptions\InvalidCharactersException; use PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException; diff --git a/app/Validation/GroupValidation.php b/app/Validation/GroupValidation.php index bf00a593ac..2d25f966f2 100644 --- a/app/Validation/GroupValidation.php +++ b/app/Validation/GroupValidation.php @@ -26,7 +26,7 @@ namespace FireflyIII\Validation; use FireflyIII\Models\TransactionGroup; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait GroupValidation. diff --git a/app/Validation/RecurrenceValidation.php b/app/Validation/RecurrenceValidation.php index 81b437fac1..fb7669603d 100644 --- a/app/Validation/RecurrenceValidation.php +++ b/app/Validation/RecurrenceValidation.php @@ -28,7 +28,7 @@ use FireflyIII\Models\Recurrence; use FireflyIII\Models\RecurrenceTransaction; use Illuminate\Validation\Validator; use InvalidArgumentException; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait RecurrenceValidation diff --git a/app/Validation/TransactionValidation.php b/app/Validation/TransactionValidation.php index 71adc328ef..0f28ccedb9 100644 --- a/app/Validation/TransactionValidation.php +++ b/app/Validation/TransactionValidation.php @@ -31,7 +31,7 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use Illuminate\Validation\Validator; -use Log; +use Illuminate\Support\Facades\Log; /** * Trait TransactionValidation From 664e9fe8dacf1c5bdcfb0940455eda635a8252c9 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 1 Apr 2023 07:09:20 +0200 Subject: [PATCH 19/21] Fix #7261 --- resources/views/partials/menu-sidebar.twig | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/resources/views/partials/menu-sidebar.twig b/resources/views/partials/menu-sidebar.twig index 1d2644e396..bf27162d48 100644 --- a/resources/views/partials/menu-sidebar.twig +++ b/resources/views/partials/menu-sidebar.twig @@ -1,7 +1,7 @@
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},l.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var s=o[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(n){var i=this.$element.data();for(var o in i)i.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete i[o];return(n=t.extend({},this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},l.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,i){n[t]!=i&&(e[t]=i)})),e},l.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,u=a.test(s);u&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),p=o[0].offsetWidth,f=o[0].offsetHeight;if(u){var d=s,h=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+f>h.bottom?"top":"top"==s&&c.top-fh.width?"left":"left"==s&&c.left-ps.top+s.height&&(o.top=s.top+s.height-l)}else{var u=e.left-r,c=e.left+r+n;us.right&&(o.left=s.left+s.width-c)}return o},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var u=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new l(this,o)),"string"==typeof e&&i[e]())}))},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=u,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.popover",o=new e(this,r)),"string"==typeof n&&o[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e=o[t]&&(void 0===o[t+1]||e .active"),s=o&&t.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),r.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i);var o=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof n&&n;o||i.data("bs.affix",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return o=t-i&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var a=this.getState(s,n,o,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-r})}};var i=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),i=e.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(e,i)}))}))}(jQuery)},9755:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";var r=[],s=Object.getPrototypeOf,a=r.slice,l=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},u=r.push,c=r.indexOf,p={},f=p.toString,d=p.hasOwnProperty,h=d.toString,g=h.call(Object),v={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=i.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var i,o,r=(n=n||b).createElement("script");if(r.text=t,e)for(i in x)(o=e[i]||e.getAttribute&&e.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function T(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?p[f.call(t)]||"object":typeof t}var C="3.6.4",E=function(t,e){return new E.fn.init(t,e)};function S(t){var e=!!t&&"length"in t&&t.length,n=T(t);return!m(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}E.fn=E.prototype={jquery:C,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|"+H+")"+H+"*"),z=new RegExp(H+"|>"),V=new RegExp(M),Q=new RegExp("^"+P+"$"),X={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){f()},st=xt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{I.apply(N=L.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(t){I={apply:N.length?function(t,e){O.apply(t,L.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function at(t,e,i,o){var r,a,u,c,p,h,m,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return i;if(!o&&(f(e),e=e||d,g)){if(11!==w&&(p=Z.exec(t)))if(r=p[1]){if(9===w){if(!(u=e.getElementById(r)))return i;if(u.id===r)return i.push(u),i}else if(y&&(u=y.getElementById(r))&&b(e,u)&&u.id===r)return i.push(u),i}else{if(p[2])return I.apply(i,e.getElementsByTagName(t)),i;if((r=p[3])&&n.getElementsByClassName&&e.getElementsByClassName)return I.apply(i,e.getElementsByClassName(r)),i}if(n.qsa&&!k[t+" "]&&(!v||!v.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(m=t,y=e,1===w&&(z.test(t)||_.test(t))){for((y=tt.test(t)&&mt(e.parentNode)||e)===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(it,ot):e.setAttribute("id",c=x)),a=(h=s(t)).length;a--;)h[a]=(c?"#"+c:":scope")+" "+bt(h[a]);m=h.join(",")}try{return I.apply(i,y.querySelectorAll(m)),i}catch(e){k(t,!0)}finally{c===x&&e.removeAttribute("id")}}}return l(t.replace(B,"$1"),e,i,o)}function lt(){var t=[];return function e(n,o){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function ut(t){return t[x]=!0,t}function ct(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function pt(t,e){for(var n=t.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=e}function ft(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function vt(t){return ut((function(e){return e=+e,ut((function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))}))}))}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=at.support={},r=at.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},f=at.setDocument=function(t){var e,o,s=t?t.ownerDocument||t:w;return s!=d&&9===s.nodeType&&s.documentElement?(h=(d=s).documentElement,g=!r(d),w!=d&&(o=d.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",rt,!1):o.attachEvent&&o.attachEvent("onunload",rt)),n.scope=ct((function(t){return h.appendChild(t).appendChild(d.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.cssHas=ct((function(){try{return d.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),n.attributes=ct((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ct((function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ct((function(t){return h.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length})),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,i,o,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=K.test(d.querySelectorAll))&&(ct((function(t){var e;h.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+H+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+H+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+x+"-]").length||v.push("~="),(e=d.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||v.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]"),t.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ct((function(t){t.innerHTML="";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+H+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ct((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",M)})),n.cssHas||v.push(":has"),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=K.test(h.compareDocumentPosition),b=e||K.test(h.contains)?function(t,e){var n=9===t.nodeType&&t.documentElement||t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return p=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==d||t.ownerDocument==w&&b(w,t)?-1:e==d||e.ownerDocument==w&&b(w,e)?1:c?R(c,t)-R(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return p=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t==d?-1:e==d?1:o?-1:r?1:c?R(c,t)-R(c,e):0;if(o===r)return ft(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ft(s[i],a[i]):s[i]==w?-1:a[i]==w?1:0},d):d},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(f(t),n.matchesSelector&&g&&!k[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){k(e,!0)}return at(e,d,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=d&&f(t),b(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=d&&f(t);var o=i.attrHandle[e.toLowerCase()],r=o&&D.call(i.attrHandle,e.toLowerCase())?o(t,e,!g):void 0;return void 0!==r?r:n.attributes||!g?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},at.escape=function(t){return(t+"").replace(it,ot)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],o=0,r=0;if(p=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(A),p){for(;e=t[r++];)e===t[r]&&(o=i.push(r));for(;o--;)t.splice(i[o],1)}return c=null,t},o=at.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=o(e);return n},i=at.selectors={cacheLength:50,createPseudo:ut,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return X.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+H+")"+t+"("+H+"|$)"))&&E(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var o=at.attr(i,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(W," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var u,c,p,f,d,h,g=r!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(v){if(r){for(;g;){for(f=e;f=f[g];)if(a?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;h=g="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?v.firstChild:v.lastChild],s&&y){for(b=(d=(u=(c=(p=(f=v)[x]||(f[x]={}))[f.uniqueID]||(p[f.uniqueID]={}))[t]||[])[0]===T&&u[1])&&u[2],f=d&&v.childNodes[d];f=++d&&f&&f[g]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===e){c[t]=[T,d,b];break}}else if(y&&(b=d=(u=(c=(p=(f=e)[x]||(f[x]={}))[f.uniqueID]||(p[f.uniqueID]={}))[t]||[])[0]===T&&u[1]),!1===b)for(;(f=++d&&f&&f[g]||(b=d=0)||h.pop())&&((a?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++b||(y&&((c=(p=f[x]||(f[x]={}))[f.uniqueID]||(p[f.uniqueID]={}))[t]=[T,b]),f!==e)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,o=i.pseudos[t]||i.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return o[x]?o(e):o.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ut((function(t,n){for(var i,r=o(t,e),s=r.length;s--;)t[i=R(t,r[s])]=!(n[i]=r[s])})):function(t){return o(t,0,n)}):o}},pseudos:{not:ut((function(t){var e=[],n=[],i=a(t.replace(B,"$1"));return i[x]?ut((function(t,e,n,o){for(var r,s=i(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,o,r){return e[0]=t,i(e,null,r,n),e[0]=null,!n.pop()}})),has:ut((function(t){return function(e){return at(t,e).length>0}})),contains:ut((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||o(e)).indexOf(t)>-1}})),lang:ut((function(t){return Q.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:vt((function(){return[0]})),last:vt((function(t,e){return[e-1]})),eq:vt((function(t,e,n){return[n<0?n+e:n]})),even:vt((function(t,e){for(var n=0;ne?e:n;--i>=0;)t.push(i);return t})),gt:vt((function(t,e,n){for(var i=n<0?n+e:n;++i1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function Tt(t,e,n,i,o){for(var r,s=[],a=0,l=t.length,u=null!=e;a-1&&(r[u]=!(s[u]=p))}}else m=Tt(m===s?m.splice(h,m.length):m),o?o(null,s,m,l):I.apply(s,m)}))}function Et(t){for(var e,n,o,r=t.length,s=i.relative[t[0].type],a=s||i.relative[" "],l=s?1:0,c=xt((function(t){return t===e}),a,!0),p=xt((function(t){return R(e,t)>-1}),a,!0),f=[function(t,n,i){var o=!s&&(i||n!==u)||((e=n).nodeType?c(t,n,i):p(t,n,i));return e=null,o}];l1&&wt(f),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(B,"$1"),n,l0,o=t.length>0,r=function(r,s,a,l,c){var p,h,v,m=0,y="0",b=r&&[],x=[],w=u,C=r||o&&i.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,S=C.length;for(c&&(u=s==d||s||c);y!==S&&null!=(p=C[y]);y++){if(o&&p){for(h=0,s||p.ownerDocument==d||(f(p),a=!g);v=t[h++];)if(v(p,s||d,a)){l.push(p);break}c&&(T=E)}n&&((p=!v&&p)&&m--,r&&b.push(p))}if(m+=y,n&&y!==m){for(h=0;v=e[h++];)v(b,x,s,a);if(r){if(m>0)for(;y--;)b[y]||x[y]||(x[y]=j.call(l));x=Tt(x)}I.apply(l,x),c&&!r&&x.length>0&&m+e.length>1&&at.uniqueSort(l)}return c&&(T=E,u=w),b};return n?ut(r):r}(r,o)),a.selector=t}return a},l=at.select=function(t,e,n,o){var r,l,u,c,p,f="function"==typeof t&&t,d=!o&&s(t=f.selector||t);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&g&&i.relative[l[1].type]){if(!(e=(i.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=X.needsContext.test(t)?0:l.length;r--&&(u=l[r],!i.relative[c=u.type]);)if((p=i.find[c])&&(o=p(u.matches[0].replace(et,nt),tt.test(l[0].type)&&mt(e.parentNode)||e))){if(l.splice(r,1),!(t=o.length&&bt(l)))return I.apply(n,o),n;break}}return(f||a(t,d))(o,e,!g,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!p,f(),n.sortDetached=ct((function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))})),ct((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||pt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ct((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||pt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ct((function(t){return null==t.getAttribute("disabled")}))||pt(q,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),at}(i);E.find=$,E.expr=$.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=$.uniqueSort,E.text=$.getText,E.isXMLDoc=$.isXML,E.contains=$.contains,E.escapeSelector=$.escape;var k=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&E(t).is(n))break;i.push(t)}return i},A=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},D=E.expr.match.needsContext;function N(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(t,e,n){return m(e)?E.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?E.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?E.grep(t,(function(t){return c.call(e,t)>-1!==n})):E.filter(e,t,n)}E.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?E.find.matchesSelector(i,t)?[i]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e1?E.uniqueSort(n):n},filter:function(t){return this.pushStack(O(this,t||[],!1))},not:function(t){return this.pushStack(O(this,t||[],!0))},is:function(t){return!!O(this,"string"==typeof t&&D.test(t)?E(t):t||[],!1).length}});var I,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||I,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),j.test(i[1])&&E.isPlainObject(e))for(i in e)m(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=b.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,I=E(b);var R=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function H(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),n=e.length;return this.filter((function(){for(var t=0;t-1:1===n.nodeType&&E.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?E.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?c.call(E(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return H(t,"nextSibling")},prev:function(t){return H(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return A((t.parentNode||{}).firstChild,t)},children:function(t){return A(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(N(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(n,i){var o=E.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=E.filter(i,o)),this.length>1&&(q[t]||E.uniqueSort(o),R.test(t)&&o.reverse()),this.pushStack(o)}}));var P=/[^\x20\t\r\n\f]+/g;function F(t){return t}function M(t){throw t}function W(t,e,n,i){var o;try{t&&m(o=t.promise)?o.call(t).done(e).fail(n):t&&m(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match(P)||[],(function(t,n){e[n]=!0})),e}(t):E.extend({},t);var e,n,i,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a-1;)r.splice(n,1),n<=a&&a--})),this},has:function(t){return t?E.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(n){E.each(e,(function(e,i){var o=m(t[i[4]])&&t[i[4]];r[i[1]]((function(){var t=o&&o.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var r=0;function s(t,e,n,o){return function(){var a=this,l=arguments,u=function(){var i,u;if(!(t=r&&(n!==M&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(E.Deferred.getStackHook&&(c.stackTrace=E.Deferred.getStackHook()),i.setTimeout(c))}}return E.Deferred((function(i){e[0][3].add(s(0,i,m(o)?o:F,i.notifyWith)),e[1][3].add(s(0,i,m(t)?t:F)),e[2][3].add(s(0,i,m(n)?n:M))})).promise()},promise:function(t){return null!=t?E.extend(t,o):o}},r={};return E.each(e,(function(t,i){var s=i[2],a=i[5];o[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=s.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),o=a.call(arguments),r=E.Deferred(),s=function(t){return function(n){i[t]=this,o[t]=arguments.length>1?a.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(W(t,r.done(s(n)).resolve,r.reject,!e),"pending"===r.state()||m(o[n]&&o[n].then)))return r.then();for(;n--;)W(o[n],s(n),r.reject);return r.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&B.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){i.setTimeout((function(){throw t}))};var U=E.Deferred();function _(){b.removeEventListener("DOMContentLoaded",_),i.removeEventListener("load",_),E.ready()}E.fn.ready=function(t){return U.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||U.resolveWith(b,[E]))}}),E.ready.then=U.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",_),i.addEventListener("load",_));var z=function(t,e,n,i,o,r,s){var a=0,l=t.length,u=null==n;if("object"===T(n))for(a in o=!0,n)z(t,e,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,m(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(E(t),n)})),e))for(;a1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),E.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=K.get(t,e),n&&(!i||Array.isArray(n)?i=K.access(t,e,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=E.queue(t,e),i=n.length,o=n.shift(),r=E._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,(function(){E.dequeue(t,e)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K.get(t,n)||K.access(t,n,{empty:E.Callbacks("once memory").add((function(){K.remove(t,[e+"queue",n])}))})}}),E.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,yt=/^$|^module$|\/(?:java|ecma)script/i;ht=b.createDocumentFragment().appendChild(b.createElement("div")),(gt=b.createElement("input")).setAttribute("type","radio"),gt.setAttribute("checked","checked"),gt.setAttribute("name","t"),ht.appendChild(gt),v.checkClone=ht.cloneNode(!0).cloneNode(!0).lastChild.checked,ht.innerHTML="",v.noCloneChecked=!!ht.cloneNode(!0).lastChild.defaultValue,ht.innerHTML="",v.option=!!ht.lastChild;var bt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function xt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&N(t,e)?E.merge([t],n):n}function wt(t,e){for(var n=0,i=t.length;n",""]);var Tt=/<|&#?\w+;/;function Ct(t,e,n,i,o){for(var r,s,a,l,u,c,p=e.createDocumentFragment(),f=[],d=0,h=t.length;d-1)o&&o.push(r);else if(u=at(r),s=xt(p.appendChild(r),"script"),u&&wt(s),n)for(c=0;r=s[c++];)yt.test(r.type||"")&&n.push(r);return p}var Et=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function $t(){return!1}function kt(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function At(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)At(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=$t;else if(!o)return t;return 1===r&&(s=o,o=function(t){return E().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=E.guid++)),t.each((function(){E.event.add(this,e,o,i,n)}))}function Dt(t,e,n){n?(K.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var i,o,r=K.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),K.set(this,e,r),i=n(this,e),this[e](),r!==(o=K.get(this,e))||i?K.set(this,e,!1):o={},r!==o)return t.stopImmediatePropagation(),t.preventDefault(),o&&o.value}else r.length&&(K.set(this,e,{value:E.event.trigger(E.extend(r[0],E.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,e)&&E.event.add(t,e,St)}E.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,u,c,p,f,d,h,g,v=K.get(t);if(Y(t))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&E.find.matchesSelector(st,o),n.guid||(n.guid=E.guid++),(l=v.events)||(l=v.events=Object.create(null)),(s=v.handle)||(s=v.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)d=g=(a=Et.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),d&&(p=E.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=E.event.special[d]||{},c=E.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},r),(f=l[d])||((f=l[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,i,h,s)||t.addEventListener&&t.addEventListener(d,s)),p.add&&(p.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),E.event.global[d]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,u,c,p,f,d,h,g,v=K.hasData(t)&&K.get(t);if(v&&(l=v.events)){for(u=(e=(e||"").match(P)||[""]).length;u--;)if(d=g=(a=Et.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),d){for(p=E.event.special[d]||{},f=l[d=(i?p.delegateType:p.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=f.length;r--;)c=f[r],!o&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(r,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(t,c));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(t,h,v.handle)||E.removeEvent(t,d,v.handle),delete l[d])}else for(d in l)E.event.remove(t,d+e[u],n,i,!0);E.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=new Array(arguments.length),l=E.event.fix(t),u=(K.get(this,"events")||Object.create(null))[l.type]||[],c=E.event.special[l.type]||{};for(a[0]=l,e=1;e=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(r=[],s={},n=0;n-1:E.find(o,this,null,[u]).length),s[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return u=this,l\s*$/g;function It(t,e){return N(t,"table")&&N(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Lt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function qt(t,e){var n,i,o,r,s,a;if(1===e.nodeType){if(K.hasData(t)&&(a=K.get(t).events))for(o in K.remove(e,"handle events"),a)for(n=0,i=a[o].length;n1&&"string"==typeof h&&!v.checkClone&&jt.test(h))return t.each((function(o){var r=t.eq(o);g&&(e[0]=h.call(this,o,r.html())),Pt(r,e,n,i)}));if(f&&(r=(o=Ct(e,t[0].ownerDocument,!1,t,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(a=(s=E.map(xt(o,"script"),Lt)).length;p0&&wt(s,!l&&xt(t,"script")),a},cleanData:function(t){for(var e,n,i,o=E.event.special,r=0;void 0!==(n=t[r]);r++)if(Y(n)){if(e=n[K.expando]){if(e.events)for(i in e.events)o[i]?E.event.remove(n,i):E.removeEvent(n,i,e.handle);n[K.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),E.fn.extend({detach:function(t){return Ft(this,t,!0)},remove:function(t){return Ft(this,t)},text:function(t){return z(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Pt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)}))},prepend:function(){return Pt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Pt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Pt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(xt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return z(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!bt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function oe(t,e,n){var i=Bt(t),o=(!v.boxSizingReliable()||n)&&"border-box"===E.css(t,"boxSizing",!1,i),r=o,s=Qt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(Mt.test(s)){if(!n)return s;s="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&N(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===E.css(t,"display",!1,i))&&t.getClientRects().length&&(o="border-box"===E.css(t,"boxSizing",!1,i),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ie(t,e,n||(o?"border":"content"),r,i,s)+"px"}function re(t,e,n,i,o){return new re.prototype.init(t,e,n,i,o)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Qt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=G(e),l=Wt.test(e),u=t.style;if(l||(e=Kt(a)),s=E.cssHooks[e]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:u[e];"string"===(r=typeof n)&&(o=ot.exec(n))&&o[1]&&(n=ct(t,e,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(E.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var o,r,s,a=G(e);return Wt.test(e)||(e=Kt(a)),(s=E.cssHooks[e]||E.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=Qt(t,e,i)),"normal"===o&&e in ee&&(o=ee[e]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,n,i){if(n)return!Zt.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,i):Ut(t,te,(function(){return oe(t,e,i)}))},set:function(t,n,i){var o,r=Bt(t),s=!v.scrollboxSize()&&"absolute"===r.position,a=(s||i)&&"border-box"===E.css(t,"boxSizing",!1,r),l=i?ie(t,e,i,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-ie(t,e,"border",!1,r)-.5)),l&&(o=ot.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=E.css(t,e)),ne(0,n,l)}}})),E.cssHooks.marginLeft=Xt(v.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Qt(t,"marginLeft"))||t.getBoundingClientRect().left-Ut(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+rt[i]+e]=r[i]||r[i-2]||r[0];return o}},"margin"!==t&&(E.cssHooks[t+e].set=ne)})),E.fn.extend({css:function(t,e){return z(this,(function(t,e,n){var i,o,r={},s=0;if(Array.isArray(e)){for(i=Bt(t),o=e.length;s1)}}),E.Tween=re,re.prototype={constructor:re,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(E.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=re.prototype.init,E.fx.step={};var se,ae,le=/^(?:toggle|show|hide)$/,ue=/queueHooks$/;function ce(){ae&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ce):i.setTimeout(ce,E.fx.interval),E.fx.tick())}function pe(){return i.setTimeout((function(){se=void 0})),se=Date.now()}function fe(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=rt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function de(t,e,n){for(var i,o=(he.tweeners[e]||[]).concat(he.tweeners["*"]),r=0,s=o.length;r1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?E.prop(t,e,n):(1===r&&E.isXMLDoc(t)||(o=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?ge:void 0)),void 0!==n?null===n?void E.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=E.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&N(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(P);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ge={set:function(t,e,n){return!1===e?E.removeAttr(t,n):t.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ve[e]||E.find.attr;ve[e]=function(t,e,i){var o,r,s=e.toLowerCase();return i||(r=ve[s],ve[s]=o,o=null!=n(t,e,i)?s:null,ve[s]=r),o}}));var me=/^(?:input|select|textarea|button)$/i,ye=/^(?:a|area)$/i;function be(t){return(t.match(P)||[]).join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function we(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(P)||[]}E.fn.extend({prop:function(t,e){return z(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&E.isXMLDoc(t)||(e=E.propFix[e]||e,o=E.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ye.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,n,i,o,r,s;return m(t)?this.each((function(e){E(this).addClass(t.call(this,e,xe(this)))})):(e=we(t)).length?this.each((function(){if(i=xe(this),n=1===this.nodeType&&" "+be(i)+" "){for(r=0;r-1;)n=n.replace(" "+o+" "," ");s=be(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,i,o,r,s=typeof t,a="string"===s||Array.isArray(t);return m(t)?this.each((function(n){E(this).toggleClass(t.call(this,n,xe(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=we(t),this.each((function(){if(a)for(r=E(this),o=0;o-1)return!0;return!1}});var Te=/\r/g;E.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=m(t),this.each((function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,E(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=E.map(o,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=E.valHooks[o.type]||E.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Te,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:be(E.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},v.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),v.focusin="onfocusin"in i;var Ce=/^(?:focusinfocus|focusoutblur)$/,Ee=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,n,o){var r,s,a,l,u,c,p,f,h=[n||b],g=d.call(t,"type")?t.type:t,v=d.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ce.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),u=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:E.makeArray(e,[t]),p=E.event.special[g]||{},o||!p.trigger||!1!==p.trigger.apply(n,e))){if(!o&&!p.noBubble&&!y(n)){for(l=p.delegateType||g,Ce.test(l+g)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(n.ownerDocument||b)&&h.push(a.defaultView||a.parentWindow||i)}for(r=0;(s=h[r++])&&!t.isPropagationStopped();)f=s,t.type=r>1?l:p.bindType||g,(c=(K.get(s,"events")||Object.create(null))[t.type]&&K.get(s,"handle"))&&c.apply(s,e),(c=u&&s[u])&&c.apply&&Y(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),e)||!Y(n)||u&&m(n[g])&&!y(n)&&((a=n[u])&&(n[u]=null),E.event.triggered=g,t.isPropagationStopped()&&f.addEventListener(g,Ee),n[g](),t.isPropagationStopped()&&f.removeEventListener(g,Ee),E.event.triggered=void 0,a&&(n[u]=a)),t.result}},simulate:function(t,e,n){var i=E.extend(new E.Event,n,{type:t,isSimulated:!0});E.event.trigger(i,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return E.event.trigger(t,e,n,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){E.event.simulate(e,t.target,E.event.fix(t))};E.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,o=K.access(i,e);o||i.addEventListener(t,n,!0),K.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=K.access(i,e)-1;o?K.access(i,e,o):(i.removeEventListener(t,n,!0),K.remove(i,e))}}}));var Se=i.location,$e={guid:Date.now()},ke=/\?/;E.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Ae=/\[\]$/,De=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,je=/^(?:input|select|textarea|keygen)/i;function Oe(t,e,n,i){var o;if(Array.isArray(e))E.each(e,(function(e,o){n||Ae.test(t)?i(t,o):Oe(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)}));else if(n||"object"!==T(e))i(t,e);else for(o in e)Oe(t+"["+o+"]",e[o],n,i)}E.param=function(t,e){var n,i=[],o=function(t,e){var n=m(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){o(this.name,this.value)}));else for(n in t)Oe(n,t[n],e,o);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&je.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!vt.test(t))})).map((function(t,e){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(t){return{name:e.name,value:t.replace(De,"\r\n")}})):{name:e.name,value:n.replace(De,"\r\n")}})).get()}});var Ie=/%20/g,Le=/#.*$/,Re=/([?&])_=[^&]*/,qe=/^(.*?):[ \t]*([^\r\n]*)$/gm,He=/^(?:GET|HEAD)$/,Pe=/^\/\//,Fe={},Me={},We="*/".concat("*"),Be=b.createElement("a");function Ue(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(P)||[];if(m(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function _e(t,e,n,i){var o={},r=t===Me;function s(a){var l;return o[a]=!0,E.each(t[a]||[],(function(t,a){var u=a(e,n,i);return"string"!=typeof u||r||o[u]?r?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)})),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function ze(t,e){var n,i,o=E.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&E.extend(!0,t,i),t}Be.href=Se.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,E.ajaxSettings),e):ze(E.ajaxSettings,t)},ajaxPrefilter:Ue(Fe),ajaxTransport:Ue(Me),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,r,s,a,l,u,c,p,f,d=E.ajaxSetup({},e),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?E(h):E.event,v=E.Deferred(),m=E.Callbacks("once memory"),y=d.statusCode||{},x={},w={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=qe.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==u&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||T;return n&&n.abort(e),S(0,e),this}};if(v.promise(C),d.url=((t||d.url||Se.href)+"").replace(Pe,Se.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(P)||[""],null==d.crossDomain){l=b.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Be.protocol+"//"+Be.host!=l.protocol+"//"+l.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=E.param(d.data,d.traditional)),_e(Fe,d,e,C),u)return C;for(p in(c=E.event&&d.global)&&0==E.active++&&E.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!He.test(d.type),o=d.url.replace(Le,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ie,"+")):(f=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(ke.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(Re,"$1"),f=(ke.test(o)?"&":"?")+"_="+$e.guid+++f),d.url=o+f),d.ifModified&&(E.lastModified[o]&&C.setRequestHeader("If-Modified-Since",E.lastModified[o]),E.etag[o]&&C.setRequestHeader("If-None-Match",E.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+We+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(h,C,d)||u))return C.abort();if(T="abort",m.add(d.complete),C.done(d.success),C.fail(d.error),n=_e(Me,d,e,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,d]),u)return C;d.async&&d.timeout>0&&(a=i.setTimeout((function(){C.abort("timeout")}),d.timeout));try{u=!1,n.send(x,S)}catch(t){if(u)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,s,l){var p,f,b,x,w,T=e;u||(u=!0,a&&i.clearTimeout(a),n=void 0,r=l||"",C.readyState=t>0?4:0,p=t>=200&&t<300||304===t,s&&(x=function(t,e,n){for(var i,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(d,C,s)),!p&&E.inArray("script",d.dataTypes)>-1&&E.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),x=function(t,e,n,i){var o,r,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=u[l+" "+r]||u["* "+r]))for(o in u)if((a=o.split(" "))[1]===r&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[o]:!0!==u[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(d,x,C,p),p?(d.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(E.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(E.etag[o]=w)),204===t||"HEAD"===d.type?T="nocontent":304===t?T="notmodified":(T=x.state,f=x.data,p=!(b=x.error))):(b=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(e||T)+"",p?v.resolveWith(h,[f,T,C]):v.rejectWith(h,[C,T,b]),C.statusCode(y),y=void 0,c&&g.trigger(p?"ajaxSuccess":"ajaxError",[C,d,p?f:b]),m.fireWith(h,[C,T]),c&&(g.trigger("ajaxComplete",[C,d]),--E.active||E.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return E.get(t,e,n,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,n,i,o){return m(n)&&(o=o||i,i=n,n=void 0),E.ajax(E.extend({url:t,type:e,dataType:o,data:n,success:i},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,n){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,n)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return m(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=m(t);return this.each((function(n){E(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Qe=E.ajaxSettings.xhr();v.cors=!!Qe&&"withCredentials"in Qe,v.ajax=Qe=!!Qe,E.ajaxTransport((function(t){var e,n;if(v.cors||Qe&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ve[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,o){e=E("
\ No newline at end of file +Firefly III
\ No newline at end of file diff --git a/public/v3/js/1221.bb21f046.js b/public/v3/js/1221.bb21f046.js deleted file mode 100644 index 5d8064fa20..0000000000 --- a/public/v3/js/1221.bb21f046.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1221],{8921:(s,e,t)=>{t.r(e),t.d(e,{default:()=>A});var r=t(9835),a=t(6970);const o={class:"row q-mx-md"},i={class:"col-12"},n={class:"row"},l={class:"col-12"},d={class:"text-h6"},u={class:"row"},c={class:"col-12 q-mb-xs"},m={class:"row"},b={class:"col-4 q-mb-xs q-pr-xs"},p={class:"col-4 q-px-xs"},h={class:"col-4 q-pl-xs"},f={class:"row"},g={class:"col-4"},_={class:"row"},w={class:"col"},E={class:"col"},V={class:"row q-mx-md"},v={class:"col-12"},y={class:"row"},S={class:"col-12 text-right"},k={class:"row"},q={class:"col-12 text-right"},x=(0,r._)("br",null,null,-1);function I(s,e,t,I,U,W){const T=(0,r.up)("q-btn"),Z=(0,r.up)("q-banner"),Q=(0,r.up)("q-card-section"),$=(0,r.up)("q-input"),C=(0,r.up)("q-card"),R=(0,r.up)("q-tab-panel"),D=(0,r.up)("q-tab-panels"),M=(0,r.up)("q-checkbox"),H=(0,r.up)("q-page");return(0,r.wg)(),(0,r.j4)(H,null,{default:(0,r.w5)((()=>[(0,r._)("div",o,[(0,r._)("div",i,[""!==U.errorMessage?((0,r.wg)(),(0,r.j4)(Z,{key:0,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,r.w5)((()=>[(0,r.Wm)(T,{flat:"",label:"Dismiss",onClick:W.dismissBanner},null,8,["onClick"])])),default:(0,r.w5)((()=>[(0,r.Uk)((0,a.zw)(U.errorMessage)+" ",1)])),_:1})):(0,r.kq)("",!0)])]),(0,r._)("div",n,[(0,r._)("div",l,[(0,r.Wm)(D,{modelValue:U.tab,"onUpdate:modelValue":e[0]||(e[0]=s=>U.tab=s),animated:""},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(U.transactions,((e,t)=>((0,r.wg)(),(0,r.j4)(R,{key:t,name:"split-"+t},{default:(0,r.w5)((()=>[(0,r.Wm)(C,{bordered:""},{default:(0,r.w5)((()=>[(0,r.Wm)(Q,null,{default:(0,r.w5)((()=>[(0,r._)("div",d,"Info for "+(0,a.zw)(s.$route.params.type)+" "+(0,a.zw)(t),1)])),_:2},1024),(0,r.Wm)(Q,null,{default:(0,r.w5)((()=>[(0,r._)("div",u,[(0,r._)("div",c,[(0,r.Wm)($,{modelValue:e.description,"onUpdate:modelValue":s=>e.description=s,disable:W.disabledInput,error:U.hasSubmissionErrors[t].description,"error-message":U.submissionErrors[t].description,label:s.$t("firefly.description"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","onUpdate:modelValue","disable","error","error-message","label"])])]),(0,r._)("div",m,[(0,r._)("div",b,[(0,r.Wm)($,{modelValue:e.source,"onUpdate:modelValue":s=>e.source=s,disable:W.disabledInput,error:U.hasSubmissionErrors[t].source,"error-message":U.submissionErrors[t].source,label:s.$t("firefly.source_account"),"bottom-slots":"",clearable:"",outlined:""},null,8,["modelValue","onUpdate:modelValue","disable","error","error-message","label"])]),(0,r._)("div",p,[(0,r.Wm)($,{modelValue:e.amount,"onUpdate:modelValue":s=>e.amount=s,disable:W.disabledInput,error:U.hasSubmissionErrors[t].amount,"error-message":U.submissionErrors[t].amount,label:s.$t("firefly.amount"),"bottom-slots":"",clearable:"","fill-mask":"0",hint:"Expects #.##",mask:"#.##",outlined:"","reverse-fill-mask":""},null,8,["modelValue","onUpdate:modelValue","disable","error","error-message","label"])]),(0,r._)("div",h,[(0,r.Wm)($,{modelValue:e.destination,"onUpdate:modelValue":s=>e.destination=s,disable:W.disabledInput,error:U.hasSubmissionErrors[t].destination,"error-message":U.submissionErrors[t].destination,label:s.$t("firefly.destination_account"),"bottom-slots":"",clearable:"",outlined:""},null,8,["modelValue","onUpdate:modelValue","disable","error","error-message","label"])])]),(0,r._)("div",f,[(0,r._)("div",g,[(0,r._)("div",_,[(0,r._)("div",w,[(0,r.Wm)($,{modelValue:e.date,"onUpdate:modelValue":s=>e.date=s,disable:W.disabledInput,error:U.hasSubmissionErrors[t].date,"error-message":U.submissionErrors[t].date,hint:s.$t("firefly.date"),"bottom-slots":"",outlined:"",type:"date"},null,8,["modelValue","onUpdate:modelValue","disable","error","error-message","hint"])]),(0,r._)("div",E,[(0,r.Wm)($,{modelValue:e.time,"onUpdate:modelValue":s=>e.time=s,disable:W.disabledInput,hint:s.$t("firefly.time"),"bottom-slots":"",outlined:"",type:"time"},null,8,["modelValue","onUpdate:modelValue","disable","hint"])])])])])])),_:2},1024)])),_:2},1024)])),_:2},1032,["name"])))),128))])),_:1},8,["modelValue"])])]),(0,r._)("div",V,[(0,r._)("div",v,[(0,r.Wm)(C,{class:"q-mt-xs"},{default:(0,r.w5)((()=>[(0,r.Wm)(Q,null,{default:(0,r.w5)((()=>[(0,r._)("div",y,[(0,r._)("div",S,[(0,r.Wm)(T,{disable:W.disabledInput,color:"primary",label:"Submit",onClick:W.submitTransaction},null,8,["disable","onClick"])])]),(0,r._)("div",k,[(0,r._)("div",q,[(0,r.Wm)(M,{modelValue:U.doReturnHere,"onUpdate:modelValue":e[1]||(e[1]=s=>U.doReturnHere=s),disable:W.disabledInput,label:"Return here to create another one","left-label":""},null,8,["modelValue","disable"]),x,(0,r.Wm)(M,{modelValue:U.doResetForm,"onUpdate:modelValue":e[2]||(e[2]=s=>U.doResetForm=s),disable:!U.doReturnHere||W.disabledInput,label:"Reset form after submission","left-label":""},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var U=t(8898),W=t(5115),T=t(1569);class Z{post(s){let e="/api/v1/transactions";return T.api.post(e,s)}}const Q={name:"Create",data(){return{tab:"split-0",transactions:[],submissionErrors:[],hasSubmissionErrors:[],submitting:!1,doReturnHere:!1,doResetForm:!1,group_title:"",errorMessage:""}},computed:{disabledInput:function(){return this.submitting}},created(){this.resetForm()},methods:{resetForm:function(){this.transactions=[];const s=this.getDefaultTransaction();this.transactions.push(s.transaction),this.submissionErrors.push(s.submissionError),this.hasSubmissionErrors.push(s.hasSubmissionError)},addTransaction:function(){const s=this.getDefaultTransaction();this.transactions.push(s),this.tab="split-"+(parseInt(this.transactions.length)-1)},getSplitLabel:function(s){return this.transactions.hasOwnProperty(s)&&null!==this.transactions[s].description&&this.transactions[s].description.length>0?this.transactions[s].description:this.$t("firefly.single_split")+" "+(s+1)},dismissBanner:function(){this.errorMessage=""},submitTransaction:function(){this.submitting=!0,this.errorMessage="",this.resetErrors();const s=this.buildTransaction();let e=new Z;e.post(s).catch(this.processErrors).then(this.processSuccess)},processSuccess:function(s){this.submitting=!1;let e={level:"success",text:"I am text",show:!0,action:{show:!0,text:"Go to transaction",link:{name:"transactions.show",params:{id:parseInt(s.data.data.id)}}}};this.$q.localStorage.set("flash",e),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},resetErrors:function(){let s=this.transactions.length,e=this.getDefaultTransaction();for(let t=0;t{let t=(0,W.Z)(new Date(e.date+" "+e.time)),r={type:this.$route.params.type,description:e.description,source_name:e.source,destination_name:e.destination,amount:e.amount,date:t};s.transactions.push(r)})),s},getDefaultTransaction:function(){let s="",e="00:00";return 0===this.transactions.length&&(s=(0,U.Z)(new Date,"yyyy-MM-dd")),{submissionError:{description:"",amount:"",date:"",source:"",destination:""},hasSubmissionError:{description:!1,amount:!1,date:!1,source:!1,destination:!1},transaction:{description:"",date:s,time:e,amount:0,source:"",destination:"",budget:"",category:"",subscription:"",interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:""}}}},preFetch(){}};var $=t(1639),C=t(9885),R=t(7128),D=t(8879),M=t(4458),H=t(3190),F=t(7817),P=t(900),B=t(9800),j=t(4106),z=t(6611),O=t(7887),G=t(1221),K=t(9984),L=t.n(K);const Y=(0,$.Z)(Q,[["render",I]]),A=Y;L()(Q,"components",{QPage:C.Z,QBanner:R.Z,QBtn:D.Z,QCard:M.Z,QCardSection:H.Z,QTabs:F.Z,QTab:P.Z,QTabPanels:B.Z,QTabPanel:j.Z,QInput:z.Z,QSelect:O.Z,QCheckbox:G.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/6317.6569585a.js b/public/v3/js/6317.6569585a.js new file mode 100644 index 0000000000..a7fbe1ff89 --- /dev/null +++ b/public/v3/js/6317.6569585a.js @@ -0,0 +1 @@ +"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[6317],{6317:(e,t,s)=>{s.r(t),s.d(t,{default:()=>He});var o=s(9835),n=s(6970);const a={class:"row q-mx-md"},i={class:"col-12"},r={class:"row q-ma-md"},l={class:"col-12"},u={class:"row"},d={class:"row"},c={class:"col-12"},m={class:"row q-mx-md"},p={class:"col-12"},b={class:"row"},h={class:"col-12 text-right"},g={class:"row"},f={class:"col-12 text-right"},w=(0,o._)("br",null,null,-1);function y(e,t,s,y,_,q){const v=(0,o.up)("q-btn"),S=(0,o.up)("q-banner"),E=(0,o.up)("q-tab"),W=(0,o.up)("q-tabs"),V=(0,o.up)("q-card-section"),x=(0,o.up)("q-card"),T=(0,o.up)("Split"),k=(0,o.up)("q-tab-panel"),I=(0,o.up)("q-tab-panels"),Z=(0,o.up)("q-checkbox"),U=(0,o.up)("q-page");return(0,o.wg)(),(0,o.j4)(U,null,{default:(0,o.w5)((()=>[(0,o._)("div",a,[(0,o._)("div",i,[""!==_.errorMessage?((0,o.wg)(),(0,o.j4)(S,{key:0,class:"bg-orange text-white","inline-actions":"",rounded:""},{action:(0,o.w5)((()=>[(0,o.Wm)(v,{flat:"",label:"Dismiss",onClick:q.dismissBanner},null,8,["onClick"])])),default:(0,o.w5)((()=>[(0,o.Uk)((0,n.zw)(_.errorMessage)+" ",1)])),_:1})):(0,o.kq)("",!0)])]),(0,o._)("div",r,[(0,o._)("div",l,[(0,o.Wm)(x,null,{default:(0,o.w5)((()=>[(0,o.Wm)(V,null,{default:(0,o.w5)((()=>[(0,o._)("div",u,[(0,o.Wm)(W,{modelValue:_.tab,"onUpdate:modelValue":t[0]||(t[0]=e=>_.tab=e),"inline-label":"",dense:"",align:"left",class:"text-teal col"},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(_.transactions,((e,t)=>((0,o.wg)(),(0,o.j4)(E,{name:"split-"+t,label:q.getSplitLabel(t)},null,8,["name","label"])))),256)),(0,o.Wm)(v,{onClick:q.addTransaction,flat:"",label:"Add split",icon:"fas fa-plus-circle",class:"text-orange"},null,8,["onClick"])])),_:1},8,["modelValue"])])])),_:1})])),_:1})])]),(0,o._)("div",d,[(0,o._)("div",c,[(0,o.Wm)(I,{modelValue:_.tab,"onUpdate:modelValue":t[1]||(t[1]=e=>_.tab=e),animated:""},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(_.transactions,((e,t)=>((0,o.wg)(),(0,o.j4)(k,{key:t,name:"split-"+t},{default:(0,o.w5)((()=>[(0,o.Wm)(T,{transaction:e,index:t,"transaction-type":_.transactionType,"disabled-input":q.disabledInput,"has-submission-errors":_.hasSubmissionErrors[t],"submission-errors":_.submissionErrors[t],"onUpdate:transaction":q.updateTransaction},null,8,["transaction","index","transaction-type","disabled-input","has-submission-errors","submission-errors","onUpdate:transaction"])])),_:2},1032,["name"])))),128))])),_:1},8,["modelValue"])])]),(0,o._)("div",m,[(0,o._)("div",p,[(0,o.Wm)(x,{class:"q-mt-xs",bordered:"",flat:""},{default:(0,o.w5)((()=>[(0,o.Wm)(V,null,{default:(0,o.w5)((()=>[(0,o._)("div",b,[(0,o._)("div",h,[(0,o.Wm)(v,{disable:q.disabledInput,color:"primary",label:"Submit",onClick:q.submitTransaction},null,8,["disable","onClick"])])]),(0,o._)("div",g,[(0,o._)("div",f,[(0,o.Wm)(Z,{modelValue:_.doReturnHere,"onUpdate:modelValue":t[2]||(t[2]=e=>_.doReturnHere=e),disable:q.disabledInput,label:"Return here to create another one","left-label":""},null,8,["modelValue","disable"]),w,(0,o.Wm)(Z,{modelValue:_.doResetForm,"onUpdate:modelValue":t[3]||(t[3]=e=>_.doResetForm=e),disable:!_.doReturnHere||q.disabledInput,label:"Reset form after submission","left-label":""},null,8,["modelValue","disable"])])])])),_:1})])),_:1})])])])),_:1})}var _=s(8898),q=s(5115),v=s(1569);class S{post(e){let t="/api/v1/transactions";return v.api.post(t,e)}}const E={class:"row"},W={class:"col"},V={class:"text-h6"},x={class:"row"},T={class:"col q-mb-xs q-pr-sm"},k=(0,o._)("strong",null,"Main info",-1),I={class:"row"},Z={class:"col q-mb-md"},U={class:"row"},D={class:"col-4 q-mb-xs q-pr-xs"},Q={class:"col-4 q-px-xs"},$={class:"col-4 q-pl-xs"},A=(0,o._)("div",{class:"row"},[(0,o._)("div",{class:"col-4 q-pl-xs"}," Optional "),(0,o._)("div",{class:"col-4 q-pl-xs"}," Foreign amount ")],-1),F={class:"col q-mb-xs q-pl-sm"},C=(0,o._)("strong",null,"More meta info",-1),M={class:"row"},O={class:"col q-mb-md"},R={class:"col"},j={class:"row"},B={class:"col q-mb-md"},H={class:"col"},L={class:"row"},P={class:"col q-mb-md"},z={class:"col"},N={class:"row"},K={class:"col"},Y={class:"row"},G={class:"col q-mb-xs q-pl-sm"},J=(0,o._)("strong",null,"More meta info",-1),X=(0,o.Uk)(" Extra opts "),ee={class:"col q-mb-xs q-pl-sm"},te=(0,o._)("strong",null,"Date info",-1),se=(0,o.Uk)(" Date fields ");function oe(e,t,s,a,i,r){const l=(0,o.up)("q-item-label"),u=(0,o.up)("q-item-section"),d=(0,o.up)("q-item"),c=(0,o.up)("q-separator"),m=(0,o.up)("TransactionDescription"),p=(0,o.up)("SourceAccount"),b=(0,o.up)("q-input"),h=(0,o.up)("DestinationAccount"),g=(0,o.up)("q-card-section"),f=(0,o.up)("q-card"),w=(0,o.up)("q-select");return(0,o.wg)(),(0,o.iD)("div",null,[(0,o._)("div",E,[(0,o._)("div",W,[(0,o._)("div",V,"Info for "+(0,n.zw)(e.$route.params.type)+" "+(0,n.zw)(s.index),1)])]),(0,o._)("div",x,[(0,o._)("div",T,[(0,o.Wm)(f,{bordered:"",flat:""},{default:(0,o.w5)((()=>[(0,o.Wm)(d,null,{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[k])),_:1})])),_:1})])),_:1}),(0,o.Wm)(c),(0,o.Wm)(g,null,{default:(0,o.w5)((()=>[(0,o._)("div",I,[(0,o._)("div",Z,[(0,o.Wm)(m,{"submission-error":s.submissionErrors.description,"has-submission-error":s.hasSubmissionErrors.description,"disabled-input":s.disabledInput,description:s.transaction.description,"onUpdate:description":r.updateDescription},null,8,["submission-error","has-submission-error","disabled-input","description","onUpdate:description"])])]),(0,o._)("div",U,[(0,o._)("div",D,[(0,o.Wm)(p,{name:"","onUpdate:source":r.updateSource,"disabled-input":!1,"submission-error":"","transaction-type":s.transactionType,"has-submission-error":!1},null,8,["onUpdate:source","transaction-type"])]),(0,o._)("div",Q,[(0,o.Wm)(b,{modelValue:s.transaction.amount,"onUpdate:modelValue":t[0]||(t[0]=e=>s.transaction.amount=e),disable:s.disabledInput,dense:"",error:s.hasSubmissionErrors.amount,"error-message":s.submissionErrors.amount,label:e.$t("firefly.amount"),"bottom-slots":"",clearable:"","fill-mask":"0",hint:"Expects #.##",mask:"#.##",outlined:"","reverse-fill-mask":""},null,8,["modelValue","disable","error","error-message","label"])]),(0,o._)("div",$,[(0,o.Wm)(h,{name:"","onUpdate:destination":r.updateDestination,"disabled-input":!1,"submission-error":"","transaction-type":s.transactionType,"has-submission-error":!1},null,8,["onUpdate:destination","transaction-type"])])]),A])),_:1})])),_:1})]),(0,o._)("div",F,[(0,o.Wm)(f,{bordered:"",flat:""},{default:(0,o.w5)((()=>[(0,o.Wm)(d,null,{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[C])),_:1})])),_:1})])),_:1}),(0,o.Wm)(c),(0,o.Wm)(g,null,{default:(0,o.w5)((()=>[(0,o._)("div",M,[(0,o._)("div",O,[(0,o.Wm)(b,{modelValue:s.transaction.date,"onUpdate:modelValue":t[1]||(t[1]=e=>s.transaction.date=e),dense:"",disable:s.disabledInput,error:s.hasSubmissionErrors.date,"error-message":s.submissionErrors.date,hint:e.$t("firefly.date"),"bottom-slots":"",outlined:"",type:"date"},null,8,["modelValue","disable","error","error-message","hint"])]),(0,o._)("div",R,[(0,o.Wm)(b,{modelValue:s.transaction.time,"onUpdate:modelValue":t[2]||(t[2]=e=>s.transaction.time=e),disable:s.disabledInput,hint:e.$t("firefly.time"),"bottom-slots":"",outlined:"",dense:"",type:"time"},null,8,["modelValue","disable","hint"])])]),(0,o._)("div",j,[(0,o._)("div",B,[(0,o.Wm)(b,{modelValue:s.transaction.category,"onUpdate:modelValue":t[3]||(t[3]=e=>s.transaction.category=e),disable:s.disabledInput,dense:"",error:s.hasSubmissionErrors.category,"error-message":s.submissionErrors.category,label:e.$t("firefly.category"),"bottom-slots":"",hint:"category",clearable:"",outlined:""},null,8,["modelValue","disable","error","error-message","label"])]),(0,o._)("div",H,[(0,o.Wm)(w,{dense:"",modelValue:s.transaction.budget,"onUpdate:modelValue":t[4]||(t[4]=e=>s.transaction.budget=e),clearable:"",outlined:"",hint:"Budget"},null,8,["modelValue"])])]),(0,o._)("div",L,[(0,o._)("div",P,[(0,o.Wm)(w,{modelValue:s.transaction.bill,"onUpdate:modelValue":t[5]||(t[5]=e=>s.transaction.bill=e),disable:s.disabledInput,dense:"",error:s.hasSubmissionErrors.category,"error-message":s.submissionErrors.category,label:e.$t("firefly.bill"),"bottom-slots":"",hint:"bill",clearable:"",outlined:""},null,8,["modelValue","disable","error","error-message","label"])]),(0,o._)("div",z,[(0,o.Wm)(w,{modelValue:s.transaction.piggy,"onUpdate:modelValue":t[6]||(t[6]=e=>s.transaction.piggy=e),disable:s.disabledInput,dense:"",error:s.hasSubmissionErrors.category,"error-message":s.submissionErrors.category,label:e.$t("firefly.piggy"),"bottom-slots":"",hint:"bill",clearable:"",outlined:""},null,8,["modelValue","disable","error","error-message","label"])])]),(0,o._)("div",N,[(0,o._)("div",K,[(0,o.Wm)(b,{modelValue:s.transaction.tags,"onUpdate:modelValue":t[7]||(t[7]=e=>s.transaction.tags=e),disable:s.disabledInput,dense:"",error:s.hasSubmissionErrors.tags,"error-message":s.submissionErrors.category,label:e.$t("firefly.tags"),"bottom-slots":"",hint:"Tags",clearable:"",outlined:""},null,8,["modelValue","disable","error","error-message","label"])])])])),_:1})])),_:1})])]),(0,o._)("div",Y,[(0,o._)("div",G,[(0,o.Wm)(f,{bordered:"",flat:""},{default:(0,o.w5)((()=>[(0,o.Wm)(d,null,{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[J])),_:1})])),_:1})])),_:1}),(0,o.Wm)(c),(0,o.Wm)(g,null,{default:(0,o.w5)((()=>[X])),_:1})])),_:1})]),(0,o._)("div",ee,[(0,o.Wm)(f,{bordered:"",flat:""},{default:(0,o.w5)((()=>[(0,o.Wm)(d,null,{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[te])),_:1})])),_:1})])),_:1}),(0,o.Wm)(c),(0,o.Wm)(g,null,{default:(0,o.w5)((()=>[se])),_:1})])),_:1})])])])}function ne(e,t,s,n,a,i){const r=(0,o.up)("q-input");return(0,o.wg)(),(0,o.j4)(r,{modelValue:s.description,"onUpdate:modelValue":t[0]||(t[0]=e=>s.description=e),hint:" ",dense:"",disable:s.disabledInput,error:s.hasSubmissionError,"error-message":s.submissionError,label:e.$t("firefly.description"),"bottom-slots":"",clearable:"",outlined:"",type:"text"},null,8,["modelValue","disable","error","error-message","label"])}const ae={name:"TransactionDescription",props:{description:{type:String,required:!0},disabledInput:{type:Boolean,default:!1,required:!0},hasSubmissionError:{type:Boolean,default:!1,required:!0},submissionError:{type:String,required:!0}},watch:{description:{handler:function(e){this.$emit("update:description",e)},deep:!0}}};var ie=s(1639),re=s(6611),le=s(9984),ue=s.n(le);const de=(0,ie.Z)(ae,[["render",ne]]),ce=de;ue()(ae,"components",{QInput:re.Z});const me=(0,o.Uk)(" No results ");function pe(e,t,s,a,i,r){const l=(0,o.up)("q-item-label"),u=(0,o.up)("q-item-section"),d=(0,o.up)("q-item"),c=(0,o.up)("q-select");return(0,o.wg)(),(0,o.j4)(c,{modelValue:i.model,"onUpdate:modelValue":t[0]||(t[0]=e=>i.model=e),"use-input":"",options:i.options,onFilter:r.filterFn,dense:"",loading:i.loading,outlined:"","new-value-mode":"add-unique",disable:s.disabledInput,error:s.hasSubmissionError,label:e.$t("firefly.source_account"),"error-message":s.submissionError,"bottom-slots":"",clearable:""},{option:(0,o.w5)((e=>[(0,o.Wm)(d,(0,n.vs)((0,o.F4)(e.itemProps)),{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[(0,o.Uk)((0,n.zw)(e.opt.label),1)])),_:2},1024),(0,o.Wm)(l,{caption:""},{default:(0,o.w5)((()=>[(0,o.Uk)((0,n.zw)(e.opt.type),1)])),_:2},1024)])),_:2},1024)])),_:2},1040)])),"no-option":(0,o.w5)((()=>[(0,o.Wm)(d,null,{default:(0,o.w5)((()=>[(0,o.Wm)(u,{class:"text-grey"},{default:(0,o.w5)((()=>[me])),_:1})])),_:1})])),_:1},8,["modelValue","options","onFilter","loading","disable","error","label","error-message"])}class be{get(e,t){let s="api/v2/autocomplete/accounts";return v.api.get(s,{params:{types:e,query:t,limit:25}})}}const he={name:"SourceAccount",data(){return{model:null,transactionTypeString:"",options:[],loading:!0}},props:{name:{type:String,required:!0},transactionType:{type:String,required:!1,default:"unknown"},disabledInput:{type:Boolean,default:!1,required:!0},hasSubmissionError:{type:Boolean,default:!1,required:!0},submissionError:{type:String,required:!0}},mounted(){this.getAccounts(""),this.model=this.name},methods:{getAccounts:function(e){this.loading=!0;let t="Asset account,Revenue account,Loan,Debt,Mortgage";"deposit"===this.transactionType&&console.log("NOW DEPOSIT"),(new be).get(t,e).then((e=>{this.stringOptions=[];for(let t in e.data){let s=e.data[t],o={label:s.name,value:s.id,type:s.type};this.stringOptions.push(o)}this.options=this.stringOptions,this.loading=!1}))},filterFn(e,t,s){t((()=>{this.getAccounts(e)}))}},watch:{model:{handler:function(e){void 0!==e&&this.$emit("update:source",e)},deep:!0}}};var ge=s(7887),fe=s(490),we=s(1233),ye=s(3115);const _e=(0,ie.Z)(he,[["render",pe]]),qe=_e;ue()(he,"components",{QSelect:ge.Z,QItem:fe.Z,QItemSection:we.Z,QItemLabel:ye.Z});const ve=(0,o.Uk)(" No results ");function Se(e,t,s,a,i,r){const l=(0,o.up)("q-item-label"),u=(0,o.up)("q-item-section"),d=(0,o.up)("q-item"),c=(0,o.up)("q-select");return(0,o.wg)(),(0,o.j4)(c,{modelValue:i.model,"onUpdate:modelValue":t[0]||(t[0]=e=>i.model=e),"use-input":"",options:i.options,onFilter:r.filterFn,dense:"",loading:i.loading,outlined:"","new-value-mode":"add-unique",disable:s.disabledInput,error:s.hasSubmissionError,label:e.$t("firefly.destination_account"),"error-message":s.submissionError,"bottom-slots":"",clearable:""},{option:(0,o.w5)((e=>[(0,o.Wm)(d,(0,n.vs)((0,o.F4)(e.itemProps)),{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[(0,o.Uk)((0,n.zw)(e.opt.label),1)])),_:2},1024),(0,o.Wm)(l,{caption:""},{default:(0,o.w5)((()=>[(0,o.Uk)((0,n.zw)(e.opt.type),1)])),_:2},1024)])),_:2},1024)])),_:2},1040)])),"no-option":(0,o.w5)((()=>[(0,o.Wm)(d,null,{default:(0,o.w5)((()=>[(0,o.Wm)(u,{class:"text-grey"},{default:(0,o.w5)((()=>[ve])),_:1})])),_:1})])),_:1},8,["modelValue","options","onFilter","loading","disable","error","label","error-message"])}const Ee={name:"DestinationAccount",data(){return{model:null,transactionTypeString:"",options:[],loading:!0}},props:{name:{type:String,required:!0},transactionType:{type:String,required:!1,default:"unknown"},disabledInput:{type:Boolean,default:!1,required:!0},hasSubmissionError:{type:Boolean,default:!1,required:!0},submissionError:{type:String,required:!0}},mounted(){this.getAccounts(""),this.model=this.name},methods:{getAccounts:function(e){this.loading=!0;let t="Expense account, Loan, Debt, Mortgage";if("deposit"===this.transactionType){}(new be).get(t,e).then((e=>{this.stringOptions=[];for(let t in e.data){let s=e.data[t],o={label:s.name,value:s.id,type:s.type};this.stringOptions.push(o)}this.options=this.stringOptions,this.loading=!1}))},filterFn(e,t,s){t((()=>{this.getAccounts(e)}))}},watch:{model:{handler:function(e){void 0!==e&&this.$emit("update:destination",e)},deep:!0}}},We=(0,ie.Z)(Ee,[["render",Se]]),Ve=We;ue()(Ee,"components",{QSelect:ge.Z,QItem:fe.Z,QItemSection:we.Z,QItemLabel:ye.Z});const xe={name:"Split",components:{DestinationAccount:Ve,SourceAccount:qe,TransactionDescription:ce},props:{index:{type:Number,required:!0},transactionType:{type:String,default:"unknown",required:!0},disabledInput:{type:Boolean,required:!0},hasSubmissionErrors:{type:Object,required:!0},submissionErrors:{type:Object,required:!0},transaction:{type:Object,required:!0}},methods:{updateDescription(e){this.transaction.description=e,console.log('Description is now "'+e+'"')},updateSource(e){this.transaction.source=e,console.log("Source is now:"),console.log(e)},updateDestination(e){this.transaction.destination=e,console.log("Destination is now:"),console.log(e)}},watch:{transaction:{handler:function(e){const t={index:this.index,transaction:e};this.$emit("update:transaction",t)},deep:!0}}};var Te=s(4458),ke=s(926),Ie=s(3190);const Ze=(0,ie.Z)(xe,[["render",oe]]),Ue=Ze;ue()(xe,"components",{QCard:Te.Z,QItem:fe.Z,QItemSection:we.Z,QItemLabel:ye.Z,QSeparator:ke.Z,QCardSection:Ie.Z,QInput:re.Z,QSelect:ge.Z});class De{calculateType(e,t){const s=this.empty(e),o=this.empty(t);if(s&&o)return"unknown";if("object"===typeof e&&null!==e&&o){if("Asset account"===e.type||"Loan"===e.type||"Debt"===e.type||"Mortgage"===e.type)return"withdrawal";if("Revenue account"===e.type)return"deposit"}if("object"===typeof t&&null!==t&&s&&"Asset account"===t.type)return"deposit";if(!s&&!o){if("Asset account"===e.type&&"Expense account"===t.type)return"withdrawal";if(e.type===t.type)return"transfer"}console.error("Cannot handle"),console.log(e),console.log(t)}empty(e){return null===e||""===e||(null===e||"object"!==typeof e)}}const Qe={name:"Create",components:{Split:Ue},data(){return{tab:"split-0",transactionType:"unknown",transactions:[],submissionErrors:[],hasSubmissionErrors:[],submitting:!1,doReturnHere:!1,doResetForm:!1,group_title:"",errorMessage:""}},computed:{disabledInput:function(){return this.submitting??!1}},created(){console.log("Created"),this.resetForm()},methods:{resetForm:function(){console.log("ResetForm"),this.transactions=[],this.addTransaction()},addTransaction:function(){const e=this.getDefaultTransaction();this.transactions.push(e.transaction),this.submissionErrors.push(e.submissionError),this.hasSubmissionErrors.push(e.hasSubmissionError);const t=String(this.transactions.length-1);console.log("AddTransaction "+t),this.tab="split-"+t},getSplitLabel:function(e){return this.transactions.hasOwnProperty(e)&&null!==this.transactions[e].description&&this.transactions[e].description.length>0?this.transactions[e].description:this.$t("firefly.single_split")+" "+(e+1)},dismissBanner:function(){console.log("Dismiss banner"),this.errorMessage=""},submitTransaction:function(){console.log("submit transaction"),this.submitting=!0,this.errorMessage="",this.resetErrors();const e=this.buildTransaction();let t=new S;t.post(e).catch(this.processErrors).then(this.processSuccess)},updateTransaction:function(e){const t=e.index;this.transactions[t]=e.transaction,this.transactionType=(new De).calculateType(this.transactions[0].source,this.transactions[0].destination)},processSuccess:function(e){console.log("process success"),this.submitting=!1;let t={level:"success",text:"I am text",show:!0,action:{show:!0,text:"Go to transaction",link:{name:"transactions.show",params:{id:parseInt(e.data.data.id)}}}};this.$q.localStorage.set("flash",t),this.doReturnHere&&window.dispatchEvent(new CustomEvent("flash",{detail:{flash:this.$q.localStorage.getItem("flash")}})),this.doReturnHere||this.$router.go(-1)},resetErrors:function(){console.log("reset errors");let e=this.transactions.length,t=this.getDefaultTransaction();for(let s=0;s{let s=(0,q.Z)(new Date(t.date+" "+t.time)),o={type:this.$route.params.type,description:t.description,source_name:t.source,destination_name:t.destination,amount:t.amount,date:s};e.transactions.push(o)})),e},getDefaultTransaction:function(){console.log("get default transaction");let e="",t="00:00";return 0===this.transactions.length&&(e=(0,_.Z)(new Date,"yyyy-MM-dd")),{submissionError:{description:"",amount:"",date:"",source:"",destination:""},hasSubmissionError:{description:!1,amount:!1,date:!1,source:!1,destination:!1},transaction:{description:"",date:e,time:t,amount:0,source:"",destination:"",budget:"",category:"",subscription:"",interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:""}}}},preFetch(){}};var $e=s(9885),Ae=s(7128),Fe=s(8879),Ce=s(7817),Me=s(900),Oe=s(9800),Re=s(4106),je=s(1221);const Be=(0,ie.Z)(Qe,[["render",y]]),He=Be;ue()(Qe,"components",{QPage:$e.Z,QBanner:Ae.Z,QBtn:Fe.Z,QCard:Te.Z,QCardSection:Ie.Z,QTabs:Ce.Z,QTab:Me.Z,QTabPanels:Oe.Z,QTabPanel:Re.Z,QCheckbox:je.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/7138.70fac414.js b/public/v3/js/8855.fdd82ede.js similarity index 99% rename from public/v3/js/7138.70fac414.js rename to public/v3/js/8855.fdd82ede.js index 740e96fdc6..c1f41b9419 100644 --- a/public/v3/js/7138.70fac414.js +++ b/public/v3/js/8855.fdd82ede.js @@ -1 +1 @@ -"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[7138],{7138:(e,a,t)=>{t.r(a),t.d(a,{default:()=>He});var l=t(9835),n=t(6970);const s=(0,l._)("img",{alt:"Firefly III Logo",src:"maskable-icon.svg",title:"Firefly III"},null,-1),o=(0,l.Uk)(" Firefly III "),i=(0,l._)("img",{src:"https://cdn.quasar.dev/img/layout-gallery/img-github-search-key-slash.svg"},null,-1),r=(0,l.Uk)((0,n.zw)("Jump to")+" "),u={class:"row items-center no-wrap"},c={class:"row items-center no-wrap"},d=(0,l.Uk)("Webhooks"),m=(0,l.Uk)("Currencies"),w=(0,l.Uk)("System settings"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Administration management"),k=(0,l.Uk)("Preferences"),h=(0,l.Uk)("Export data"),W=(0,l.Uk)("Logout"),b={class:"q-pt-md"},x=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),v=(0,l.Uk)(" Subscriptions "),q=(0,l.Uk)(" Piggy banks "),Z=(0,l.Uk)(" Withdrawals "),U=(0,l.Uk)(" Deposits "),Q=(0,l.Uk)(" Transfers "),D=(0,l.Uk)(" All transactions "),R=(0,l.Uk)(" Rules "),j=(0,l.Uk)(" Recurring transactions "),A=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),M=(0,l.Uk)(" Revenue accounts "),I=(0,l.Uk)(" Liabilities "),L=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),T=(0,l.Uk)(" Groups "),z=(0,l.Uk)(" Reports "),V={class:"q-ma-md"},S={class:"row"},B={class:"col-6"},H={class:"q-ma-none q-pa-none"},F=(0,l._)("em",{class:"fa-solid fa-fire"},null,-1),P={class:"col-6"},Y=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v v6.0.5 © James Cole, AGPL-3.0-or-later.")],-1);function E(e,a,t,E,O,G){const J=(0,l.up)("q-btn"),K=(0,l.up)("q-avatar"),N=(0,l.up)("q-toolbar-title"),X=(0,l.up)("q-icon"),ee=(0,l.up)("q-item-section"),ae=(0,l.up)("q-item-label"),te=(0,l.up)("q-item"),le=(0,l.up)("q-select"),ne=(0,l.up)("q-separator"),se=(0,l.up)("DateRange"),oe=(0,l.up)("q-menu"),ie=(0,l.up)("q-list"),re=(0,l.up)("q-toolbar"),ue=(0,l.up)("q-header"),ce=(0,l.up)("q-expansion-item"),de=(0,l.up)("q-scroll-area"),me=(0,l.up)("q-drawer"),we=(0,l.up)("Alert"),fe=(0,l.up)("q-breadcrumbs-el"),pe=(0,l.up)("q-breadcrumbs"),ge=(0,l.up)("router-view"),_e=(0,l.up)("q-page-container"),ke=(0,l.up)("q-footer"),he=(0,l.up)("q-layout"),We=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(he,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ue,{reveal:"",class:"bg-primary text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[(0,l.Wm)(J,{flat:"",icon:"fas fa-bars",round:"",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(N,null,{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[s])),_:1}),o])),_:1}),(0,l.Wm)(le,{ref:"search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),"stack-label":!1,class:"q-mx-xs",color:"black",dark:"",dense:"","hide-selected":"",label:"Search",standout:"",style:{width:"250px"},"use-input":""},{append:(0,l.w5)((()=>[i])),option:(0,l.w5)((e=>[(0,l.Wm)(te,(0,l.dG)({class:""},e.itemProps),{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ae,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(ee,{class:"default-type",side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{class:"bg-grey-1 q-px-sm",dense:"","no-caps":"",outline:"",size:"12px","text-color":"blue-grey-5"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(X,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{to:{name:"development.index"},class:"q-mx-xs",flat:"",icon:"fas fa-skull-crossbones"},null,8,["to"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{class:"q-mx-xs",flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox},null,8,["onClick"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(J,{key:0,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(X,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(se)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ne,{key:1,dark:"",inset:"",vertical:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:2,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(X,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"webhooks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"currencies.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"admin.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:3,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(X,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"profile.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"profile.data"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"administration.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"preferences.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"export.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ne),(0,l.Wm)(te,{to:{name:"logout"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[W])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(me,{"show-if-above":"",modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),side:"left",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",b,[(0,l.Wm)(ie,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1})),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"budgets.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"subscriptions.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"piggy-banks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.Wm)(ce,{"default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name,"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"withdrawal"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"all"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-microchip",label:"Automation"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"rules.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"recurring.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.Wm)(ce,{"default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name,"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"asset"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"expense"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-tags",label:"Classification"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"categories.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"tags.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"groups.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[T])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"reports.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[z])),_:1})])),_:1},8,["to"])),[[We]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(_e,null,{default:(0,l.w5)((()=>[(0,l.Wm)(we),(0,l._)("div",V,[(0,l._)("div",S,[(0,l._)("div",B,[(0,l._)("h4",H,[F,(0,l.Uk)(" "+(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)])]),(0,l._)("div",P,[(0,l.Wm)(pe,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(fe,{to:{name:"index"},label:"Home"}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(fe,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(ge)])),_:1}),(0,l.Wm)(ke,{class:"bg-grey-8 text-white",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[Y])),_:1})])),_:1})])),_:1})}var O=t(499);const G={class:"q-pa-xs"},J={class:"q-mt-xs"},K={class:"q-mr-xs"};function N(e,a,t,s,o,i){const r=(0,l.up)("q-date"),u=(0,l.up)("q-btn"),c=(0,l.up)("q-item-section"),d=(0,l.up)("q-item"),m=(0,l.up)("q-list"),w=(0,l.up)("q-menu"),f=(0,l.Q2)("close-popup");return(0,l.wg)(),(0,l.iD)("div",G,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:o.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>o.localRange=e),mask:"YYYY-MM-DD",minimal:"",range:""},null,8,["modelValue"])]),(0,l._)("div",J,[(0,l._)("span",K,[(0,l.Wm)(u,{color:"primary",label:"Reset",size:"sm",onClick:i.resetRange},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary","icon-right":"fas fa-caret-down",label:"Change range",size:"sm",title:"More options in preferences"},{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{style:{"min-width":"100px"}},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(o.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>i.setViewRange(a)},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.$t("firefly.pref_"+a.value)),1)])),_:2},1024)])),_:2},1032,["onClick"])),[[f]]))),256))])),_:1})])),_:1})])),_:1})])])}var X=t(9302),ee=t(9167),ae=t(8898),te=t(3555);const le={name:"DateRange",computed:{},data(){return{rangeChoices:[{value:"last30"},{value:"last7"},{value:"MTD"},{value:"1M"},{value:"3M"},{value:"6M"}],darkMode:!1,range:{start:new Date,end:new Date},localRange:{start:new Date,end:new Date},modelConfig:{start:{timeAdjust:"00:00:00"},end:{timeAdjust:"23:59:59"}},store:null}},created(){this.store=(0,te.S)();const e=(0,X.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}},watch:{localRange:function(e){if(null!==e){const a={start:Date.parse(e.from),end:Date.parse(e.to)};this.store.setRange(a)}}},mounted(){},methods:{resetRange:function(){this.store.resetRange().then((()=>{this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new ee.Z;t.postByName("viewRange",a),this.store.updateViewRange(a),this.store.setDatesFromViewRange()},updateViewRange:function(){}},components:{}};var ne=t(1639),se=t(4939),oe=t(8879),ie=t(5290),re=t(3246),ue=t(490),ce=t(1233),de=t(2146),me=t(9984),we=t.n(me);const fe=(0,ne.Z)(le,[["render",N]]),pe=fe;we()(le,"components",{QDate:se.Z,QBtn:oe.Z,QMenu:ie.Z,QList:re.Z,QItem:ue.Z,QItemSection:ce.Z}),we()(le,"directives",{ClosePopup:de.Z});const ge={key:0,class:"q-ma-md"},_e={class:"row"},ke={class:"col-12"};function he(e,a,t,s,o,i){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return o.showAlert?((0,l.wg)(),(0,l.iD)("div",ge,[(0,l._)("div",_e,[(0,l._)("div",ke,[(0,l.Wm)(u,{class:(0,n.C_)(o.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{color:"white",flat:"",label:"Dismiss",onClick:i.dismissBanner},null,8,["onClick"]),o.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,label:o.actionText,to:o.actionLink,color:"white",flat:""},null,8,["label","to"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(o.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const We={name:"Alert",data(){return{showAlert:!1,alertClass:"bg-green text-white",message:"",showAction:!1,actionText:"",actionLink:{}}},watch:{$route:function(){this.checkAlert()}},mounted(){this.checkAlert(),window.addEventListener("flash",(e=>{this.renderAlert(e.detail.flash)}))},methods:{checkAlert:function(){let e=this.$q.localStorage.getItem("flash");e&&this.renderAlert(e),!1===e&&(this.showAlert=!1)},renderAlert:function(e){this.showAlert=e.show??!1;let a=e.level??"unknown";this.alertClass="bg-green text-white","warning"===a&&(this.alertClass="bg-orange text-white"),this.message=e.text??"";let t=e.action??{};!0===t.show&&(this.showAction=!0,this.actionText=t.text,this.actionLink=t.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var be=t(7128);const xe=(0,ne.Z)(We,[["render",he]]),ye=xe;we()(We,"components",{QBanner:be.Z,QBtn:oe.Z});const ve=(0,l.aZ)({name:"MainLayout",components:{DateRange:pe,Alert:ye},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)(""),t=(0,X.Z)();return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){t.dialog({title:"Help",message:"The relevant help page will open in a new screen. Doesn't work yet.",cancel:!0,persistent:!1}).onOk((()=>{})).onCancel((()=>{})).onDismiss((()=>{}))}}}});var qe=t(249),Ze=t(6602),Ue=t(1663),Qe=t(1973),De=t(1357),Re=t(7887),je=t(2857),Ae=t(3115),Ce=t(926),Me=t(906),Ie=t(6663),Le=t(651),$e=t(2133),Te=t(2605),ze=t(8052),Ve=t(1378),Se=t(1136);const Be=(0,ne.Z)(ve,[["render",E]]),He=Be;we()(ve,"components",{QLayout:qe.Z,QHeader:Ze.Z,QToolbar:Ue.Z,QBtn:oe.Z,QToolbarTitle:Qe.Z,QAvatar:De.Z,QSelect:Re.Z,QItem:ue.Z,QItemSection:ce.Z,QIcon:je.Z,QItemLabel:Ae.Z,QSeparator:Ce.Z,QMenu:ie.Z,QList:re.Z,QDrawer:Me.Z,QScrollArea:Ie.Z,QExpansionItem:Le.Z,QPageContainer:$e.Z,QBreadcrumbs:Te.Z,QBreadcrumbsEl:ze.Z,QFooter:Ve.Z}),we()(ve,"directives",{Ripple:Se.Z})}}]); \ No newline at end of file +"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[8855],{8855:(e,a,t)=>{t.r(a),t.d(a,{default:()=>He});var l=t(9835),n=t(6970);const s=(0,l._)("img",{alt:"Firefly III Logo",src:"maskable-icon.svg",title:"Firefly III"},null,-1),o=(0,l.Uk)(" Firefly III "),i=(0,l._)("img",{src:"https://cdn.quasar.dev/img/layout-gallery/img-github-search-key-slash.svg"},null,-1),r=(0,l.Uk)((0,n.zw)("Jump to")+" "),u={class:"row items-center no-wrap"},c={class:"row items-center no-wrap"},d=(0,l.Uk)("Webhooks"),m=(0,l.Uk)("Currencies"),w=(0,l.Uk)("System settings"),f={class:"row items-center no-wrap"},p=(0,l.Uk)(" Profile"),g=(0,l.Uk)(" Data management"),_=(0,l.Uk)("Administration management"),k=(0,l.Uk)("Preferences"),h=(0,l.Uk)("Export data"),W=(0,l.Uk)("Logout"),b={class:"q-pt-md"},x=(0,l.Uk)(" Dashboard "),y=(0,l.Uk)(" Budgets "),v=(0,l.Uk)(" Subscriptions "),q=(0,l.Uk)(" Piggy banks "),Z=(0,l.Uk)(" Withdrawals "),U=(0,l.Uk)(" Deposits "),Q=(0,l.Uk)(" Transfers "),D=(0,l.Uk)(" All transactions "),R=(0,l.Uk)(" Rules "),j=(0,l.Uk)(" Recurring transactions "),A=(0,l.Uk)(" Asset accounts "),C=(0,l.Uk)(" Expense accounts "),M=(0,l.Uk)(" Revenue accounts "),I=(0,l.Uk)(" Liabilities "),L=(0,l.Uk)(" Categories "),$=(0,l.Uk)(" Tags "),T=(0,l.Uk)(" Groups "),z=(0,l.Uk)(" Reports "),V={class:"q-ma-md"},S={class:"row"},B={class:"col-6"},H={class:"q-ma-none q-pa-none"},F=(0,l._)("em",{class:"fa-solid fa-fire"},null,-1),P={class:"col-6"},Y=(0,l._)("div",null,[(0,l._)("small",null,"Firefly III v v6.0.6 © James Cole, AGPL-3.0-or-later.")],-1);function E(e,a,t,E,O,G){const J=(0,l.up)("q-btn"),K=(0,l.up)("q-avatar"),N=(0,l.up)("q-toolbar-title"),X=(0,l.up)("q-icon"),ee=(0,l.up)("q-item-section"),ae=(0,l.up)("q-item-label"),te=(0,l.up)("q-item"),le=(0,l.up)("q-select"),ne=(0,l.up)("q-separator"),se=(0,l.up)("DateRange"),oe=(0,l.up)("q-menu"),ie=(0,l.up)("q-list"),re=(0,l.up)("q-toolbar"),ue=(0,l.up)("q-header"),ce=(0,l.up)("q-expansion-item"),de=(0,l.up)("q-scroll-area"),me=(0,l.up)("q-drawer"),we=(0,l.up)("Alert"),fe=(0,l.up)("q-breadcrumbs-el"),pe=(0,l.up)("q-breadcrumbs"),ge=(0,l.up)("router-view"),_e=(0,l.up)("q-page-container"),ke=(0,l.up)("q-footer"),he=(0,l.up)("q-layout"),We=(0,l.Q2)("ripple");return(0,l.wg)(),(0,l.j4)(he,{view:"hHh lpR fFf"},{default:(0,l.w5)((()=>[(0,l.Wm)(ue,{reveal:"",class:"bg-primary text-white"},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[(0,l.Wm)(J,{flat:"",icon:"fas fa-bars",round:"",onClick:e.toggleLeftDrawer},null,8,["onClick"]),(0,l.Wm)(N,null,{default:(0,l.w5)((()=>[(0,l.Wm)(K,null,{default:(0,l.w5)((()=>[s])),_:1}),o])),_:1}),(0,l.Wm)(le,{ref:"search",modelValue:e.search,"onUpdate:modelValue":a[0]||(a[0]=a=>e.search=a),"stack-label":!1,class:"q-mx-xs",color:"black",dark:"",dense:"","hide-selected":"",label:"Search",standout:"",style:{width:"250px"},"use-input":""},{append:(0,l.w5)((()=>[i])),option:(0,l.w5)((e=>[(0,l.Wm)(te,(0,l.dG)({class:""},e.itemProps),{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"collections_bookmark"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[(0,l.Wm)(ae,{innerHTML:e.opt.label},null,8,["innerHTML"])])),_:2},1024),(0,l.Wm)(ee,{class:"default-type",side:""},{default:(0,l.w5)((()=>[(0,l.Wm)(J,{class:"bg-grey-1 q-px-sm",dense:"","no-caps":"",outline:"",size:"12px","text-color":"blue-grey-5"},{default:(0,l.w5)((()=>[r,(0,l.Wm)(X,{name:"subdirectory_arrow_left",size:"14px"})])),_:1})])),_:1})])),_:2},1040)])),_:1},8,["modelValue"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{to:{name:"development.index"},class:"q-mx-xs",flat:"",icon:"fas fa-skull-crossbones"},null,8,["to"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),(0,l.Wm)(J,{class:"q-mx-xs",flat:"",icon:"fas fa-question-circle",onClick:e.showHelpBox},null,8,["onClick"]),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs&&e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(J,{key:0,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",u,[(0,l.Wm)(X,{name:"fas fa-calendar",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,null,{default:(0,l.w5)((()=>[(0,l.Wm)(se)])),_:1})])),_:1})):(0,l.kq)("",!0),e.$route.meta.dateSelector?((0,l.wg)(),(0,l.j4)(ne,{key:1,dark:"",inset:"",vertical:""})):(0,l.kq)("",!0),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:2,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",c,[(0,l.Wm)(X,{name:"fas fa-dragon",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"webhooks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[d])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"currencies.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[m])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"admin.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[w])),_:1})])),_:1},8,["to"])])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(ne,{dark:"",inset:"",vertical:""}),e.$q.screen.gt.xs?((0,l.wg)(),(0,l.j4)(J,{key:3,class:"q-mx-xs",flat:""},{default:(0,l.w5)((()=>[(0,l._)("div",f,[(0,l.Wm)(X,{name:"fas fa-user-circle",size:"20px"}),(0,l.Wm)(X,{name:"fas fa-caret-down",right:"",size:"12px"})]),(0,l.Wm)(oe,{"auto-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(ie,{style:{"min-width":"180px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(te,{to:{name:"profile.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[p])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"profile.data"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[g])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"administration.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[_])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"preferences.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[k])),_:1})])),_:1},8,["to"]),(0,l.Wm)(te,{to:{name:"export.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[h])),_:1})])),_:1},8,["to"]),(0,l.Wm)(ne),(0,l.Wm)(te,{to:{name:"logout"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[W])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.kq)("",!0)])),_:1})])),_:1}),(0,l.Wm)(me,{"show-if-above":"",modelValue:e.leftDrawerOpen,"onUpdate:modelValue":a[1]||(a[1]=a=>e.leftDrawerOpen=a),side:"left",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(de,{class:"fit"},{default:(0,l.w5)((()=>[(0,l._)("div",b,[(0,l.Wm)(ie,null,{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-tachometer-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[x])),_:1})])),_:1})),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"budgets.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-chart-pie"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[y])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"subscriptions.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-calendar-alt"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[v])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"piggy-banks.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"fas fa-piggy-bank"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.Wm)(ce,{"default-opened":"transactions.index"===this.$route.name||"transactions.show"===this.$route.name,"expand-separator":"",icon:"fas fa-exchange-alt",label:"Transactions"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"withdrawal"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Z])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"deposit"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[U])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"transfers"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[Q])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"transactions.index",params:{type:"all"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[D])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-microchip",label:"Automation"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"rules.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[R])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"recurring.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[j])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.Wm)(ce,{"default-opened":"accounts.index"===this.$route.name||"accounts.show"===this.$route.name,"expand-separator":"",icon:"fas fa-credit-card",label:"Accounts"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"asset"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[A])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"expense"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[C])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"revenue"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[M])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"accounts.index",params:{type:"liabilities"}},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[I])),_:1})])),_:1},8,["to"])),[[We]])])),_:1},8,["default-opened"]),(0,l.Wm)(ce,{"default-unopened":"","expand-separator":"",icon:"fas fa-tags",label:"Classification"},{default:(0,l.w5)((()=>[(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"categories.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[L])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"tags.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[$])),_:1})])),_:1},8,["to"])),[[We]]),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{"inset-level":1,to:{name:"groups.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[T])),_:1})])),_:1},8,["to"])),[[We]])])),_:1}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(te,{to:{name:"reports.index"},clickable:""},{default:(0,l.w5)((()=>[(0,l.Wm)(ee,{avatar:""},{default:(0,l.w5)((()=>[(0,l.Wm)(X,{name:"far fa-chart-bar"})])),_:1}),(0,l.Wm)(ee,null,{default:(0,l.w5)((()=>[z])),_:1})])),_:1},8,["to"])),[[We]])])),_:1})])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(_e,null,{default:(0,l.w5)((()=>[(0,l.Wm)(we),(0,l._)("div",V,[(0,l._)("div",S,[(0,l._)("div",B,[(0,l._)("h4",H,[F,(0,l.Uk)(" "+(0,n.zw)(e.$t(e.$route.meta.pageTitle||"firefly.welcome_back")),1)])]),(0,l._)("div",P,[(0,l.Wm)(pe,{align:"right"},{default:(0,l.w5)((()=>[(0,l.Wm)(fe,{to:{name:"index"},label:"Home"}),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(e.$route.meta.breadcrumbs,(a=>((0,l.wg)(),(0,l.j4)(fe,{label:e.$t("breadcrumbs."+a.title),to:a.route?{name:a.route,params:a.params}:""},null,8,["label","to"])))),256))])),_:1})])])]),(0,l.Wm)(ge)])),_:1}),(0,l.Wm)(ke,{class:"bg-grey-8 text-white",bordered:""},{default:(0,l.w5)((()=>[(0,l.Wm)(re,null,{default:(0,l.w5)((()=>[Y])),_:1})])),_:1})])),_:1})}var O=t(499);const G={class:"q-pa-xs"},J={class:"q-mt-xs"},K={class:"q-mr-xs"};function N(e,a,t,s,o,i){const r=(0,l.up)("q-date"),u=(0,l.up)("q-btn"),c=(0,l.up)("q-item-section"),d=(0,l.up)("q-item"),m=(0,l.up)("q-list"),w=(0,l.up)("q-menu"),f=(0,l.Q2)("close-popup");return(0,l.wg)(),(0,l.iD)("div",G,[(0,l._)("div",null,[(0,l.Wm)(r,{modelValue:o.localRange,"onUpdate:modelValue":a[0]||(a[0]=e=>o.localRange=e),mask:"YYYY-MM-DD",minimal:"",range:""},null,8,["modelValue"])]),(0,l._)("div",J,[(0,l._)("span",K,[(0,l.Wm)(u,{color:"primary",label:"Reset",size:"sm",onClick:i.resetRange},null,8,["onClick"])]),(0,l.Wm)(u,{color:"primary","icon-right":"fas fa-caret-down",label:"Change range",size:"sm",title:"More options in preferences"},{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(m,{style:{"min-width":"100px"}},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(o.rangeChoices,(a=>(0,l.wy)(((0,l.wg)(),(0,l.j4)(d,{clickable:"",onClick:e=>i.setViewRange(a)},{default:(0,l.w5)((()=>[(0,l.Wm)(c,null,{default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(e.$t("firefly.pref_"+a.value)),1)])),_:2},1024)])),_:2},1032,["onClick"])),[[f]]))),256))])),_:1})])),_:1})])),_:1})])])}var X=t(9302),ee=t(9167),ae=t(8898),te=t(3555);const le={name:"DateRange",computed:{},data(){return{rangeChoices:[{value:"last30"},{value:"last7"},{value:"MTD"},{value:"1M"},{value:"3M"},{value:"6M"}],darkMode:!1,range:{start:new Date,end:new Date},localRange:{start:new Date,end:new Date},modelConfig:{start:{timeAdjust:"00:00:00"},end:{timeAdjust:"23:59:59"}},store:null}},created(){this.store=(0,te.S)();const e=(0,X.Z)();this.darkMode=e.dark.isActive,this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}},watch:{localRange:function(e){if(null!==e){const a={start:Date.parse(e.from),end:Date.parse(e.to)};this.store.setRange(a)}}},mounted(){},methods:{resetRange:function(){this.store.resetRange().then((()=>{this.localRange={from:(0,ae.Z)(this.store.getRange.start,"yyyy-MM-dd"),to:(0,ae.Z)(this.store.getRange.end,"yyyy-MM-dd")}}))},setViewRange:function(e){let a=e.value,t=new ee.Z;t.postByName("viewRange",a),this.store.updateViewRange(a),this.store.setDatesFromViewRange()},updateViewRange:function(){}},components:{}};var ne=t(1639),se=t(4939),oe=t(8879),ie=t(5290),re=t(3246),ue=t(490),ce=t(1233),de=t(2146),me=t(9984),we=t.n(me);const fe=(0,ne.Z)(le,[["render",N]]),pe=fe;we()(le,"components",{QDate:se.Z,QBtn:oe.Z,QMenu:ie.Z,QList:re.Z,QItem:ue.Z,QItemSection:ce.Z}),we()(le,"directives",{ClosePopup:de.Z});const ge={key:0,class:"q-ma-md"},_e={class:"row"},ke={class:"col-12"};function he(e,a,t,s,o,i){const r=(0,l.up)("q-btn"),u=(0,l.up)("q-banner");return o.showAlert?((0,l.wg)(),(0,l.iD)("div",ge,[(0,l._)("div",_e,[(0,l._)("div",ke,[(0,l.Wm)(u,{class:(0,n.C_)(o.alertClass),"inline-actions":""},{action:(0,l.w5)((()=>[(0,l.Wm)(r,{color:"white",flat:"",label:"Dismiss",onClick:i.dismissBanner},null,8,["onClick"]),o.showAction?((0,l.wg)(),(0,l.j4)(r,{key:0,label:o.actionText,to:o.actionLink,color:"white",flat:""},null,8,["label","to"])):(0,l.kq)("",!0)])),default:(0,l.w5)((()=>[(0,l.Uk)((0,n.zw)(o.message)+" ",1)])),_:1},8,["class"])])])])):(0,l.kq)("",!0)}const We={name:"Alert",data(){return{showAlert:!1,alertClass:"bg-green text-white",message:"",showAction:!1,actionText:"",actionLink:{}}},watch:{$route:function(){this.checkAlert()}},mounted(){this.checkAlert(),window.addEventListener("flash",(e=>{this.renderAlert(e.detail.flash)}))},methods:{checkAlert:function(){let e=this.$q.localStorage.getItem("flash");e&&this.renderAlert(e),!1===e&&(this.showAlert=!1)},renderAlert:function(e){this.showAlert=e.show??!1;let a=e.level??"unknown";this.alertClass="bg-green text-white","warning"===a&&(this.alertClass="bg-orange text-white"),this.message=e.text??"";let t=e.action??{};!0===t.show&&(this.showAction=!0,this.actionText=t.text,this.actionLink=t.link),this.$q.localStorage.set("flash",!1)},dismissBanner:function(){this.showAlert=!1}}};var be=t(7128);const xe=(0,ne.Z)(We,[["render",he]]),ye=xe;we()(We,"components",{QBanner:be.Z,QBtn:oe.Z});const ve=(0,l.aZ)({name:"MainLayout",components:{DateRange:pe,Alert:ye},setup(){const e=(0,O.iH)(!0),a=(0,O.iH)(""),t=(0,X.Z)();return{search:a,leftDrawerOpen:e,toggleLeftDrawer(){e.value=!e.value},showHelpBox(){t.dialog({title:"Help",message:"The relevant help page will open in a new screen. Doesn't work yet.",cancel:!0,persistent:!1}).onOk((()=>{})).onCancel((()=>{})).onDismiss((()=>{}))}}}});var qe=t(249),Ze=t(6602),Ue=t(1663),Qe=t(1973),De=t(1357),Re=t(7887),je=t(2857),Ae=t(3115),Ce=t(926),Me=t(906),Ie=t(6663),Le=t(651),$e=t(2133),Te=t(2605),ze=t(8052),Ve=t(1378),Se=t(1136);const Be=(0,ne.Z)(ve,[["render",E]]),He=Be;we()(ve,"components",{QLayout:qe.Z,QHeader:Ze.Z,QToolbar:Ue.Z,QBtn:oe.Z,QToolbarTitle:Qe.Z,QAvatar:De.Z,QSelect:Re.Z,QItem:ue.Z,QItemSection:ce.Z,QIcon:je.Z,QItemLabel:Ae.Z,QSeparator:Ce.Z,QMenu:ie.Z,QList:re.Z,QDrawer:Me.Z,QScrollArea:Ie.Z,QExpansionItem:Le.Z,QPageContainer:$e.Z,QBreadcrumbs:Te.Z,QBreadcrumbsEl:ze.Z,QFooter:Ve.Z}),we()(ve,"directives",{Ripple:Se.Z})}}]); \ No newline at end of file diff --git a/public/v3/js/app.efb2a0ed.js b/public/v3/js/app.6c5caed8.js similarity index 84% rename from public/v3/js/app.efb2a0ed.js rename to public/v3/js/app.6c5caed8.js index be1e42e321..9ad5ee7e22 100644 --- a/public/v3/js/app.efb2a0ed.js +++ b/public/v3/js/app.6c5caed8.js @@ -1 +1 @@ -(()=>{"use strict";var e={9894:(e,t,n)=>{var a=n(1957),r=n(1947),o=n(499),i=n(9835);function c(e,t,n,a,r,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var s=n(9167),l=n(1746),d=n(1569);class p{async authenticate(){return await d.api.get("/sanctum/csrf-cookie")}}class u{default(){let e=new p;return e.authenticate().then((()=>d.api.get("/api/v1/currencies/default")))}}var h=n(3555);const m=(0,i.aZ)({name:"App",preFetch({store:e}){const t=(0,h.S)(e);t.refreshCacheKey();const n=function(){let e=new s.Z;return e.getByName("viewRange").then((e=>{const n=e.data.data.attributes.data;t.updateViewRange(n),t.setDatesFromViewRange()})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},a=function(){let e=new s.Z;return e.getByName("listPageSize").then((e=>{const n=e.data.data.attributes.data;t.updateListPageSize(n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),a=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(a)})).catch((e=>{console.error("Could not load preferences."),console.log(e)}))},o=function(){return(new l.Z).get("locale").then((e=>{const n=e.data.data.attributes.data.replace("_","-");t.setLocale(n)})).catch((e=>{console.error("Could not load locale."),console.log(e)}))};r().then((()=>{n(),a(),o()}))}});var _=n(1639);const g=(0,_.Z)(m,[["render",c]]),b=g;var f=n(3340),y=n(7363);const w=(0,f.h)((()=>{const e=(0,y.WB)();return e}));var P=n(8910);const v=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2306)]).then(n.bind(n,2306)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7676)]).then(n.bind(n,7676)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8493)]).then(n.bind(n,8493)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(159)]).then(n.bind(n,159)),name:"budgets.index",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"budgets",route:"budgets.index",params:[]}]}}]},{path:"/budgets/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(753)]).then(n.bind(n,753)),name:"budgets.show",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7916)]).then(n.bind(n,7916)),name:"budgets.edit",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4670)]).then(n.bind(n,4670)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5529)]).then(n.bind(n,5529)),name:"subscriptions.index",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index",params:[]}]}}]},{path:"/subscriptions/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1198)]).then(n.bind(n,1198)),name:"subscriptions.show",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8490)]).then(n.bind(n,8490)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9378)]).then(n.bind(n,9378)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6254)]).then(n.bind(n,6254)),name:"piggy-banks.index",meta:{pageTitle:"firefly.piggyBanks",breadcrumbs:[{title:"piggy-banks",route:"piggy-banks.index",params:[]}]}}]},{path:"/piggy-banks/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7073)]).then(n.bind(n,7073)),name:"piggy-banks.create",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.create",params:[]}]}}]},{path:"/piggy-banks/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3576)]).then(n.bind(n,3576)),name:"piggy-banks.show",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/piggy-banks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4216)]).then(n.bind(n,4216)),name:"piggy-banks.edit",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/transactions/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8659)]).then(n.bind(n,8659)),name:"transactions.show",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/transactions/create/:type",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1221)]).then(n.bind(n,8921)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1341)]).then(n.bind(n,1341)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9376)]).then(n.bind(n,9376)),name:"transactions.edit",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9729)]).then(n.bind(n,9729)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7222)]).then(n.bind(n,7222)),name:"rules.show",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3726)]).then(n.bind(n,3726)),name:"rules.create",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rules/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7450)]).then(n.bind(n,7450)),name:"rules.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"rules.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1019)]).then(n.bind(n,1019)),name:"rule-groups.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1800)]).then(n.bind(n,1800)),name:"rule-groups.create",meta:{pageTitle:"firefly.rule-groups",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/recurring",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4036)]).then(n.bind(n,4036)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4355)]).then(n.bind(n,4355)),name:"recurring.create",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.create",params:[]}]}}]},{path:"/recurring/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7697)]).then(n.bind(n,7697)),name:"recurring.show",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/recurring/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9412)]).then(n.bind(n,9412)),name:"recurring.edit",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/accounts/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4575)]).then(n.bind(n,4575)),name:"accounts.show",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.show",params:[]}]}}]},{path:"/accounts/reconcile/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4918)]).then(n.bind(n,3953)),name:"accounts.reconcile",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.reconcile",params:[]}]}}]},{path:"/accounts/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9253)]).then(n.bind(n,9253)),name:"accounts.edit",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.edit",params:[]}]}}]},{path:"/accounts/:type",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9173)]).then(n.bind(n,9173)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9432)]).then(n.bind(n,9432)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9053)]).then(n.bind(n,9053)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7039)]).then(n.bind(n,7039)),name:"categories.show",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8561)]).then(n.bind(n,8561)),name:"categories.edit",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9052)]).then(n.bind(n,9052)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6745)]).then(n.bind(n,6745)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3611)]).then(n.bind(n,9286)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4647)]).then(n.bind(n,4647)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2372)]).then(n.bind(n,2372)),name:"groups.show",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7493)]).then(n.bind(n,7493)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8006)]).then(n.bind(n,8006)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(990)]).then(n.bind(n,3694)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5114)]).then(n.bind(n,5114)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9381)]).then(n.bind(n,9381)),name:"webhooks.show",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9814)]).then(n.bind(n,9814)),name:"webhooks.edit",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7232)]).then(n.bind(n,7232)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9158)]).then(n.bind(n,9158)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1238)]).then(n.bind(n,1238)),name:"currencies.show",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/edit/:code",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(607)]).then(n.bind(n,607)),name:"currencies.edit",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/create",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3912)]).then(n.bind(n,3912)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/administrations",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2255)]).then(n.bind(n,2255)),name:"administration.index",meta:{pageTitle:"firefly.administration_index"}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4799)]).then(n.bind(n,4799)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5724)]).then(n.bind(n,5724)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7341)]).then(n.bind(n,7341)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/system",component:()=>Promise.all([n.e(4736),n.e(7138)]).then(n.bind(n,7138)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1872)]).then(n.bind(n,1872)),name:"system.index",meta:{pageTitle:"firefly.system"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2769)]).then(n.bind(n,2769))}],T=v,x=(0,f.BC)((function(){const e=P.r5,t=(0,P.p7)({scrollBehavior:()=>({left:0,top:0}),routes:T,history:e("/v3/")});return t}));async function k(e,t){const n=e(b);n.use(r.Z,t);const a="function"===typeof w?await w({}):w;n.use(a);const i=(0,o.Xl)("function"===typeof x?await x({store:a}):x);return a.use((({store:e})=>{e.router=i})),{app:n,store:a,router:i}}var D=n(9527),S=n(214),Z=n(4462),R=n(3703);const C={config:{dark:"auto"},lang:D.Z,iconSet:S.Z,plugins:{Dialog:Z.Z,LocalStorage:R.Z}};let A="function"===typeof b.preFetch?b.preFetch:void 0!==b.__c&&"function"===typeof b.__c.preFetch&&b.__c.preFetch;function O(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!n)return[];const a=n.matched.filter((e=>void 0!==e.components));return 0===a.length?[]:Array.prototype.concat.apply([],a.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}})))))}function N({router:e,store:t,publicPath:n}){e.beforeResolve(((a,r,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(a,e),s=O(r,e);let l=!1;const d=c.filter(((e,t)=>l||(l=!s[t]||s[t].c!==e.c||e.path.indexOf("/:")>-1))).filter((e=>void 0!==e.c&&("function"===typeof e.c.preFetch||void 0!==e.c.__c&&"function"===typeof e.c.__c.preFetch))).map((e=>void 0!==e.c.__c?e.c.__c.preFetch:e.c.preFetch));if(!1!==A&&(d.unshift(A),A=!1),0===d.length)return o();let p=!1;const u=e=>{p=!0,o(e)},h=()=>{!1===p&&o()};d.reduce(((e,o)=>e.then((()=>!1===p&&o({store:t,currentRoute:a,previousRoute:r,redirect:u,urlPath:i,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const M="/v3/",B=/\/\//,j=e=>(M+e).replace(B,"/");async function I({app:e,router:t,store:n},a){let r=!1;const o=e=>{try{return j(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=o(e);null!==t&&(window.location.href=t,window.location.reload())},c=window.location.href.replace(window.location.origin,"");for(let l=0;!1===r&&l{const[t,a]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=a(t).filter((e=>"function"===typeof e));I(e,n)}))}))},9167:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{getByName(e){return a.api.get("/api/v1/preferences/"+e)}postByName(e,t){return a.api.post("/api/v1/preferences",{name:e,data:t})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{get(e){return a.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var a=n(3340),r=n(9981),o=n.n(r),i=n(8268);const c=(0,i.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=o().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,a.xr)((({app:e})=>{o().defaults.withCredentials=!0,o().defaults.baseURL=s,e.config.globalProperties.$axios=o(),e.config.globalProperties.$api=l}))},7030:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(3340),r=n(9991);const o={config:{html_language:"en",month_and_day_fns:"MMMM d, y"},form:{name:"Name",amount_min:"Minimum amount",amount_max:"Maximum amount",url:"URL",title:"Title",first_date:"First date",repetitions:"Repetitions",description:"Description",iban:"IBAN",skip:"Skip",date:"Date"},list:{name:"Name",account_number:"Account number",currentBalance:"Current balance",lastActivity:"Last activity",active:"Is active?"},breadcrumbs:{placeholder:"[Placeholder]",budgets:"Budgets",subscriptions:"Subscriptions",transactions:"Transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",revenue_accounts:"Revenue accounts",liabilities_accounts:"Liabilities"},firefly:{administration_index:"Financial administration",actions:"Actions",edit:"Edit",delete:"Delete",reconcile:"Reconcile",create_new_asset:"Create new asset account",confirm_action:"Confirm action",new_budget:"New budget",new_asset_account:"New asset account",newTransfer:"New transfer",submission_options:"Submission options",apply_rules_checkbox:"Apply rules",fire_webhooks_checkbox:"Fire webhooks",newDeposit:"New deposit",newWithdrawal:"New expense",bills_paid:"Bills paid",left_to_spend:"Left to spend",no_budget:"(no budget)",budgeted:"Budgeted",spent:"Spent",no_bill:"(no bill)",rule_trigger_source_account_starts_choice:"Source account name starts with..",rule_trigger_source_account_ends_choice:"Source account name ends with..",rule_trigger_source_account_is_choice:"Source account name is..",rule_trigger_source_account_contains_choice:"Source account name contains..",rule_trigger_account_id_choice:"Either account ID is exactly..",rule_trigger_source_account_id_choice:"Source account ID is exactly..",rule_trigger_destination_account_id_choice:"Destination account ID is exactly..",rule_trigger_account_is_cash_choice:"Either account is cash",rule_trigger_source_is_cash_choice:"Source account is (cash) account",rule_trigger_destination_is_cash_choice:"Destination account is (cash) account",rule_trigger_source_account_nr_starts_choice:"Source account number / IBAN starts with..",rule_trigger_source_account_nr_ends_choice:"Source account number / IBAN ends with..",rule_trigger_source_account_nr_is_choice:"Source account number / IBAN is..",rule_trigger_source_account_nr_contains_choice:"Source account number / IBAN contains..",rule_trigger_destination_account_starts_choice:"Destination account name starts with..",rule_trigger_destination_account_ends_choice:"Destination account name ends with..",rule_trigger_destination_account_is_choice:"Destination account name is..",rule_trigger_destination_account_contains_choice:"Destination account name contains..",rule_trigger_destination_account_nr_starts_choice:"Destination account number / IBAN starts with..",rule_trigger_destination_account_nr_ends_choice:"Destination account number / IBAN ends with..",rule_trigger_destination_account_nr_is_choice:"Destination account number / IBAN is..",rule_trigger_destination_account_nr_contains_choice:"Destination account number / IBAN contains..",rule_trigger_transaction_type_choice:"Transaction is of type..",rule_trigger_category_is_choice:"Category is..",rule_trigger_amount_less_choice:"Amount is less than..",rule_trigger_amount_is_choice:"Amount is..",rule_trigger_amount_more_choice:"Amount is more than..",rule_trigger_description_starts_choice:"Description starts with..",rule_trigger_description_ends_choice:"Description ends with..",rule_trigger_description_contains_choice:"Description contains..",rule_trigger_description_is_choice:"Description is..",rule_trigger_date_on_choice:"Transaction date is..",rule_trigger_date_before_choice:"Transaction date is before..",rule_trigger_date_after_choice:"Transaction date is after..",rule_trigger_created_at_on_choice:"Transaction was made on..",rule_trigger_updated_at_on_choice:"Transaction was last edited on..",rule_trigger_budget_is_choice:"Budget is..",rule_trigger_tag_is_choice:"Any tag is..",rule_trigger_currency_is_choice:"Transaction currency is..",rule_trigger_foreign_currency_is_choice:"Transaction foreign currency is..",rule_trigger_has_attachments_choice:"Has at least this many attachments",rule_trigger_has_no_category_choice:"Has no category",rule_trigger_has_any_category_choice:"Has a (any) category",rule_trigger_has_no_budget_choice:"Has no budget",rule_trigger_has_any_budget_choice:"Has a (any) budget",rule_trigger_has_no_bill_choice:"Has no bill",rule_trigger_has_any_bill_choice:"Has a (any) bill",rule_trigger_has_no_tag_choice:"Has no tag(s)",rule_trigger_has_any_tag_choice:"Has one or more (any) tags",rule_trigger_any_notes_choice:"Has (any) notes",rule_trigger_no_notes_choice:"Has no notes",rule_trigger_notes_is_choice:"Notes are..",rule_trigger_notes_contains_choice:"Notes contain..",rule_trigger_notes_starts_choice:"Notes start with..",rule_trigger_notes_ends_choice:"Notes end with..",rule_trigger_bill_is_choice:"Bill is..",rule_trigger_external_id_is_choice:"External ID is..",rule_trigger_internal_reference_is_choice:"Internal reference is..",rule_trigger_journal_id_choice:"Transaction journal ID is..",rule_trigger_any_external_url_choice:"Transaction has an external URL",rule_trigger_no_external_url_choice:"Transaction has no external URL",rule_trigger_id_choice:"Transaction ID is..",rule_action_delete_transaction_choice:"DELETE transaction(!)",rule_action_set_category_choice:"Set category to ..",rule_action_clear_category_choice:"Clear any category",rule_action_set_budget_choice:"Set budget to ..",rule_action_clear_budget_choice:"Clear any budget",rule_action_add_tag_choice:"Add tag ..",rule_action_remove_tag_choice:"Remove tag ..",rule_action_remove_all_tags_choice:"Remove all tags",rule_action_set_description_choice:"Set description to ..",rule_action_update_piggy_choice:"Add / remove transaction amount in piggy bank ..",rule_action_append_description_choice:"Append description with ..",rule_action_prepend_description_choice:"Prepend description with ..",rule_action_set_source_account_choice:"Set source account to ..",rule_action_set_destination_account_choice:"Set destination account to ..",rule_action_append_notes_choice:"Append notes with ..",rule_action_prepend_notes_choice:"Prepend notes with ..",rule_action_clear_notes_choice:"Remove any notes",rule_action_set_notes_choice:"Set notes to ..",rule_action_link_to_bill_choice:"Link to a bill ..",rule_action_convert_deposit_choice:"Convert the transaction to a deposit",rule_action_convert_withdrawal_choice:"Convert the transaction to a withdrawal",rule_action_convert_transfer_choice:"Convert the transaction to a transfer",placeholder:"[Placeholder]",recurrences:"Recurring transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",pref_1D:"One day",pref_1W:"One week",pref_1M:"One month",pref_3M:"Three months (quarter)",pref_6M:"Six months",pref_1Y:"One year",repeat_freq_yearly:"yearly","repeat_freq_half-year":"every half-year",repeat_freq_quarterly:"quarterly",repeat_freq_monthly:"monthly",repeat_freq_weekly:"weekly",single_split:"Split",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",liabilities_accounts:"Liabilities",undefined_accounts:"Accounts",name:"Name",revenue_accounts:"Revenue accounts",description:"Description",category:"Category",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",piggyBanks:"Piggy banks",rules:"Rules",accounts:"Accounts",categories:"Categories",tags:"Tags",object_groups_page_title:"Groups",reports:"Reports",webhooks:"Webhooks",currencies:"Currencies",administration:"Administration",profile:"Profile",source_account:"Source account",destination_account:"Destination account",amount:"Amount",date:"Date",time:"Time",preferences:"Preferences",transactions:"Transactions",balance:"Balance",budgets:"Budgets",subscriptions:"Subscriptions",welcome_back:"What's playing?",bills_to_pay:"Bills to pay",net_worth:"Net worth",pref_last365:"Last year",pref_last90:"Last 90 days",pref_last30:"Last 30 days",pref_last7:"Last 7 days",pref_YTD:"Year to date",pref_QTD:"Quarter to date",pref_MTD:"Month to date"}},i={"en-US":o},c=(0,a.xr)((({app:e})=>{const t=(0,r.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var a=n(7363),r=n(1776),o=n(7104),i=n(3637),c=n(444),s=n(6490),l=n(7164),d=n(3611),p=n(9739),u=n(5057),h=n(4453);const m=(0,a.Q_)("firefly-iii",{state:()=>({drawerState:!0,viewRange:"1M",listPageSize:10,locale:"en-US",range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}),getters:{getViewRange(e){return e.viewRange},getLocale(e){return e.locale},getListPageSize(e){return e.listPageSize},getCurrencyCode(e){return e.currencyCode},getCurrencyId(e){return e.currencyId},getRange(e){return e.range},getDefaultRange(e){return e.defaultRange},getCacheKey(e){return e.cacheKey}},actions:{refreshCacheKey(){let e=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,8);this.setCacheKey(e)},resetRange(){let e=this.defaultRange;this.setRange(e)},setDatesFromViewRange(){let e,t,n=this.viewRange,a=new Date;switch(n){case"last365":e=(0,r.Z)((0,o.Z)(a,365)),t=(0,i.Z)(a);break;case"last90":e=(0,r.Z)((0,o.Z)(a,90)),t=(0,i.Z)(a);break;case"last30":e=(0,r.Z)((0,o.Z)(a,30)),t=(0,i.Z)(a);break;case"last7":e=(0,r.Z)((0,o.Z)(a,7)),t=(0,i.Z)(a);break;case"YTD":e=(0,c.Z)(a),t=(0,i.Z)(a);break;case"QTD":e=(0,s.Z)(a),t=(0,i.Z)(a);break;case"MTD":e=(0,l.Z)(a),t=(0,i.Z)(a);break;case"1D":e=(0,r.Z)(a),t=(0,i.Z)(a);break;case"1W":e=(0,r.Z)((0,d.Z)(a,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(a,{weekStartsOn:1}));break;case"1M":e=(0,r.Z)((0,l.Z)(a)),t=(0,i.Z)((0,u.Z)(a));break;case"3M":e=(0,r.Z)((0,s.Z)(a)),t=(0,i.Z)((0,h.Z)(a));break;case"6M":a.getMonth()<=5&&(e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),a.getMonth()>5&&(e=new Date(a),e.setMonth(6),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(t);break}this.setRange({start:e,end:t}),this.setDefaultRange({start:e,end:t})},updateViewRange(e){this.viewRange=e},updateListPageSize(e){this.listPageSize=e},setLocale(e){this.locale=e},setRange(e){return this.range=e,e},setDefaultRange(e){this.defaultRange=e},setCurrencyCode(e){this.currencyCode=e},setCurrencyId(e){this.currencyId=e},setCacheKey(e){this.cacheKey=e}}})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](a[s])))?a.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{159:"849b2e88",607:"a7330a8c",753:"c47e29ea",936:"308ce395",990:"9f80994c",1019:"ebc4d223",1198:"cbaca816",1221:"bb21f046",1238:"744a7b52",1341:"e6d35593",1800:"73a958f8",1872:"235df0c5",2255:"106372da",2306:"accc86fe",2372:"0c493e6d",2382:"a6898a70",2769:"435f626d",3064:"2a30b5d5",3576:"5e70097a",3611:"d383e2f1",3726:"efae2175",3912:"55920040",3922:"0d52278f",4036:"46dc453b",4216:"13049863",4355:"044e2646",4575:"6117a3b3",4647:"eb08255c",4670:"83bf8b86",4777:"315d9cdb",4799:"53ec814f",4918:"ac68d296",5114:"96732a35",5389:"83172589",5529:"dbcd5e10",5724:"a11c8347",6254:"16279dd8",6745:"426b85d7",7039:"7e8ac025",7073:"d2bf4ce4",7138:"70fac414",7222:"f318969b",7232:"c2628686",7341:"eb42d75a",7450:"f34e8691",7493:"f0265108",7676:"a2a73fd6",7697:"84e1e5ec",7700:"8a677dfa",7889:"197b7788",7916:"085f15b4",8006:"ed33c726",8135:"8ac09b69",8490:"88c1c928",8493:"d667b5ff",8561:"1097efea",8659:"6dbd3a99",9052:"436e16fe",9053:"8c7cb7c1",9158:"887ce7fc",9173:"44a0bd7d",9253:"d541f5eb",9376:"b2fa7b33",9378:"81ba39c5",9381:"936c3132",9412:"a953a672",9432:"7c03632b",9729:"a64217d1",9814:"61040ecb"}[e]+".js"})(),(()=>{n.miniCssF=e=>{}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="firefly-iii:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var c,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d{c.onerror=c.onload=null,clearTimeout(h);var r=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.p="/v3/"})(),(()=>{var e={2143:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),c=new Error,s=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,c,s]=a,l=0;if(i.some((t=>0!==e[t]))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(s)var d=s(n)}for(t&&t(a);ln(9894)));a=n.O(a)})(); \ No newline at end of file +(()=>{"use strict";var e={9894:(e,t,n)=>{var a=n(1957),r=n(1947),o=n(499),i=n(9835);function c(e,t,n,a,r,o){const c=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(c)}var s=n(9167),l=n(1746),d=n(1569);class p{async authenticate(){return await d.api.get("/sanctum/csrf-cookie")}}class u{default(){let e=new p;return e.authenticate().then((()=>d.api.get("/api/v1/currencies/default")))}}var h=n(3555);const m=(0,i.aZ)({name:"App",preFetch({store:e}){const t=(0,h.S)(e);t.refreshCacheKey();const n=function(){let e=new s.Z;return e.getByName("viewRange").then((e=>{const n=e.data.data.attributes.data;t.updateViewRange(n),t.setDatesFromViewRange()})).catch((e=>{console.error("Could not load view range."),console.log(e)}))},a=function(){let e=new s.Z;return e.getByName("listPageSize").then((e=>{const n=e.data.data.attributes.data;t.updateListPageSize(n)})).catch((e=>{console.error("Could not load listPageSize."),console.log(e)}))},r=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),a=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(a)})).catch((e=>{console.error("Could not load preferences."),console.log(e)}))},o=function(){return(new l.Z).get("locale").then((e=>{const n=e.data.data.attributes.data.replace("_","-");t.setLocale(n)})).catch((e=>{console.error("Could not load locale."),console.log(e)}))};r().then((()=>{n(),a(),o()}))}});var _=n(1639);const g=(0,_.Z)(m,[["render",c]]),b=g;var f=n(3340),y=n(7363);const w=(0,f.h)((()=>{const e=(0,y.WB)();return e}));var P=n(8910);const v=[{path:"/",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2306)]).then(n.bind(n,2306)),name:"index",meta:{dateSelector:!0,pageTitle:"firefly.welcome_back"}}]},{path:"/development",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7676)]).then(n.bind(n,7676)),name:"development.index",meta:{pageTitle:"firefly.development"}}]},{path:"/export",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(8493)]).then(n.bind(n,8493)),name:"export.index",meta:{pageTitle:"firefly.export"}}]},{path:"/budgets",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(159)]).then(n.bind(n,159)),name:"budgets.index",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"budgets",route:"budgets.index",params:[]}]}}]},{path:"/budgets/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(753)]).then(n.bind(n,753)),name:"budgets.show",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7916)]).then(n.bind(n,7916)),name:"budgets.edit",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/budgets/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4670)]).then(n.bind(n,4670)),name:"budgets.create",meta:{pageTitle:"firefly.budgets",breadcrumbs:[{title:"placeholder",route:"budgets.show",params:[]}]}}]},{path:"/subscriptions",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5529)]).then(n.bind(n,5529)),name:"subscriptions.index",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index",params:[]}]}}]},{path:"/subscriptions/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1198)]).then(n.bind(n,1198)),name:"subscriptions.show",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8490)]).then(n.bind(n,8490)),name:"subscriptions.edit",meta:{pageTitle:"firefly.subscriptions",breadcrumbs:[{title:"placeholder",route:"subscriptions.index"}]}}]},{path:"/subscriptions/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9378)]).then(n.bind(n,9378)),name:"subscriptions.create",meta:{dateSelector:!1,pageTitle:"firefly.subscriptions"}}]},{path:"/piggy-banks",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(6254)]).then(n.bind(n,6254)),name:"piggy-banks.index",meta:{pageTitle:"firefly.piggyBanks",breadcrumbs:[{title:"piggy-banks",route:"piggy-banks.index",params:[]}]}}]},{path:"/piggy-banks/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7073)]).then(n.bind(n,7073)),name:"piggy-banks.create",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.create",params:[]}]}}]},{path:"/piggy-banks/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3576)]).then(n.bind(n,3576)),name:"piggy-banks.show",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/piggy-banks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4216)]).then(n.bind(n,4216)),name:"piggy-banks.edit",meta:{pageTitle:"firefly.piggy-banks",breadcrumbs:[{title:"placeholder",route:"piggy-banks.index"}]}}]},{path:"/transactions/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8659)]).then(n.bind(n,8659)),name:"transactions.show",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/transactions/create/:type",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6317)]).then(n.bind(n,6317)),name:"transactions.create",meta:{dateSelector:!1,pageTitle:"firefly.transactions"}}]},{path:"/transactions/:type",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1341)]).then(n.bind(n,1341)),name:"transactions.index",meta:{dateSelector:!1,pageTitle:"firefly.transactions",breadcrumbs:[{title:"transactions"}]}}]},{path:"/transactions/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9376)]).then(n.bind(n,9376)),name:"transactions.edit",meta:{pageTitle:"firefly.transactions",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9729)]).then(n.bind(n,9729)),name:"rules.index",meta:{pageTitle:"firefly.rules"}}]},{path:"/rules/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7222)]).then(n.bind(n,7222)),name:"rules.show",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}},{title:"placeholder",route:"transactions.show",params:[]}]}}]},{path:"/rules/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3726)]).then(n.bind(n,3726)),name:"rules.create",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rules/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7450)]).then(n.bind(n,7450)),name:"rules.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"rules.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1019)]).then(n.bind(n,1019)),name:"rule-groups.edit",meta:{pageTitle:"firefly.rules",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/rule-groups/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(1800)]).then(n.bind(n,1800)),name:"rule-groups.create",meta:{pageTitle:"firefly.rule-groups",breadcrumbs:[{title:"placeholder",route:"transactions.index",params:{type:"todo"}}]}}]},{path:"/recurring",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4036)]).then(n.bind(n,4036)),name:"recurring.index",meta:{pageTitle:"firefly.recurrences"}}]},{path:"/recurring/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4355)]).then(n.bind(n,4355)),name:"recurring.create",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.create",params:[]}]}}]},{path:"/recurring/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7697)]).then(n.bind(n,7697)),name:"recurring.show",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/recurring/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9412)]).then(n.bind(n,9412)),name:"recurring.edit",meta:{pageTitle:"firefly.recurrences",breadcrumbs:[{title:"placeholder",route:"recurrences.index"}]}}]},{path:"/accounts/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4575)]).then(n.bind(n,4575)),name:"accounts.show",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.show",params:[]}]}}]},{path:"/accounts/reconcile/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4918)]).then(n.bind(n,3953)),name:"accounts.reconcile",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.reconcile",params:[]}]}}]},{path:"/accounts/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9253)]).then(n.bind(n,9253)),name:"accounts.edit",meta:{pageTitle:"firefly.accounts",breadcrumbs:[{title:"placeholder",route:"accounts.index",params:{type:"todo"}},{title:"placeholder",route:"accounts.edit",params:[]}]}}]},{path:"/accounts/:type",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9173)]).then(n.bind(n,9173)),name:"accounts.index",meta:{pageTitle:"firefly.accounts"}}]},{path:"/accounts/create/:type",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9432)]).then(n.bind(n,9432)),name:"accounts.create",meta:{pageTitle:"firefly.accounts"}}]},{path:"/categories",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9053)]).then(n.bind(n,9053)),name:"categories.index",meta:{pageTitle:"firefly.categories"}}]},{path:"/categories/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7039)]).then(n.bind(n,7039)),name:"categories.show",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8561)]).then(n.bind(n,8561)),name:"categories.edit",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/categories/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(9052)]).then(n.bind(n,9052)),name:"categories.create",meta:{pageTitle:"firefly.categories",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/tags",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(6745)]).then(n.bind(n,6745)),name:"tags.index",meta:{pageTitle:"firefly.tags"}}]},{path:"/tags/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3611)]).then(n.bind(n,9286)),name:"tags.show",meta:{pageTitle:"firefly.tags",breadcrumbs:[{title:"placeholder",route:"tags.show",params:[]}]}}]},{path:"/groups",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(4647)]).then(n.bind(n,4647)),name:"groups.index",meta:{pageTitle:"firefly.object_groups_page_title"}}]},{path:"/groups/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(2372)]).then(n.bind(n,2372)),name:"groups.show",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/groups/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7493)]).then(n.bind(n,7493)),name:"groups.edit",meta:{pageTitle:"firefly.groups",breadcrumbs:[{title:"placeholder",route:"categories.show",params:[]}]}}]},{path:"/reports",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(8006)]).then(n.bind(n,8006)),name:"reports.index",meta:{pageTitle:"firefly.reports"}}]},{path:"/report/default/:accounts/:start/:end",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(990)]).then(n.bind(n,3694)),name:"reports.default",meta:{pageTitle:"firefly.reports"}}]},{path:"/webhooks",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(5114)]).then(n.bind(n,5114)),name:"webhooks.index",meta:{pageTitle:"firefly.webhooks"}}]},{path:"/webhooks/show/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9381)]).then(n.bind(n,9381)),name:"webhooks.show",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/edit/:id",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9814)]).then(n.bind(n,9814)),name:"webhooks.edit",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"groups.show",params:[]}]}}]},{path:"/webhooks/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(7232)]).then(n.bind(n,7232)),name:"webhooks.create",meta:{pageTitle:"firefly.webhooks",breadcrumbs:[{title:"placeholder",route:"webhooks.show",params:[]}]}}]},{path:"/currencies",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(9158)]).then(n.bind(n,9158)),name:"currencies.index",meta:{pageTitle:"firefly.currencies"}}]},{path:"/currencies/show/:code",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1238)]).then(n.bind(n,1238)),name:"currencies.show",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/edit/:code",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(607)]).then(n.bind(n,607)),name:"currencies.edit",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.show",params:[]}]}}]},{path:"/currencies/create",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(3912)]).then(n.bind(n,3912)),name:"currencies.create",meta:{pageTitle:"firefly.currencies",breadcrumbs:[{title:"placeholder",route:"currencies.create",params:[]}]}}]},{path:"/administrations",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(2255)]).then(n.bind(n,2255)),name:"administration.index",meta:{pageTitle:"firefly.administration_index"}}]},{path:"/profile",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(4799)]).then(n.bind(n,4799)),name:"profile.index",meta:{pageTitle:"firefly.profile"}}]},{path:"/profile/data",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(5724)]).then(n.bind(n,5724)),name:"profile.data",meta:{pageTitle:"firefly.profile_data"}}]},{path:"/preferences",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(7341)]).then(n.bind(n,7341)),name:"preferences.index",meta:{pageTitle:"firefly.preferences"}}]},{path:"/system",component:()=>Promise.all([n.e(4736),n.e(8855)]).then(n.bind(n,8855)),children:[{path:"",component:()=>Promise.all([n.e(4736),n.e(3064),n.e(1872)]).then(n.bind(n,1872)),name:"system.index",meta:{pageTitle:"firefly.system"}}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([n.e(4736),n.e(2769)]).then(n.bind(n,2769))}],T=v,x=(0,f.BC)((function(){const e=P.r5,t=(0,P.p7)({scrollBehavior:()=>({left:0,top:0}),routes:T,history:e("/v3/")});return t}));async function k(e,t){const n=e(b);n.use(r.Z,t);const a="function"===typeof w?await w({}):w;n.use(a);const i=(0,o.Xl)("function"===typeof x?await x({store:a}):x);return a.use((({store:e})=>{e.router=i})),{app:n,store:a,router:i}}var D=n(9527),S=n(214),Z=n(4462),R=n(3703);const C={config:{dark:"auto"},lang:D.Z,iconSet:S.Z,plugins:{Dialog:Z.Z,LocalStorage:R.Z}};let A="function"===typeof b.preFetch?b.preFetch:void 0!==b.__c&&"function"===typeof b.__c.preFetch&&b.__c.preFetch;function O(e,t){const n=e?e.matched?e:t.resolve(e).route:t.currentRoute.value;if(!n)return[];const a=n.matched.filter((e=>void 0!==e.components));return 0===a.length?[]:Array.prototype.concat.apply([],a.map((e=>Object.keys(e.components).map((t=>{const n=e.components[t];return{path:e.path,c:n}})))))}function N({router:e,store:t,publicPath:n}){e.beforeResolve(((a,r,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(a,e),s=O(r,e);let l=!1;const d=c.filter(((e,t)=>l||(l=!s[t]||s[t].c!==e.c||e.path.indexOf("/:")>-1))).filter((e=>void 0!==e.c&&("function"===typeof e.c.preFetch||void 0!==e.c.__c&&"function"===typeof e.c.__c.preFetch))).map((e=>void 0!==e.c.__c?e.c.__c.preFetch:e.c.preFetch));if(!1!==A&&(d.unshift(A),A=!1),0===d.length)return o();let p=!1;const u=e=>{p=!0,o(e)},h=()=>{!1===p&&o()};d.reduce(((e,o)=>e.then((()=>!1===p&&o({store:t,currentRoute:a,previousRoute:r,redirect:u,urlPath:i,publicPath:n})))),Promise.resolve()).then(h).catch((e=>{console.error(e),h()}))}))}const M="/v3/",B=/\/\//,j=e=>(M+e).replace(B,"/");async function I({app:e,router:t,store:n},a){let r=!1;const o=e=>{try{return j(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(r=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=o(e);null!==t&&(window.location.href=t,window.location.reload())},c=window.location.href.replace(window.location.origin,"");for(let l=0;!1===r&&l{const[t,a]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(n.bind(n,7030)),Promise.resolve().then(n.bind(n,1569))]).then((t=>{const n=a(t).filter((e=>"function"===typeof e));I(e,n)}))}))},9167:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{getByName(e){return a.api.get("/api/v1/preferences/"+e)}postByName(e,t){return a.api.post("/api/v1/preferences",{name:e,data:t})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(1569);class r{get(e){return a.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var a=n(3340),r=n(9981),o=n.n(r),i=n(8268);const c=(0,i.setupCache)({maxAge:9e5,exclude:{query:!1}}),s="/",l=o().create({baseURL:s,withCredentials:!0,adapter:c.adapter}),d=(0,a.xr)((({app:e})=>{o().defaults.withCredentials=!0,o().defaults.baseURL=s,e.config.globalProperties.$axios=o(),e.config.globalProperties.$api=l}))},7030:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(3340),r=n(9991);const o={config:{html_language:"en",month_and_day_fns:"MMMM d, y"},form:{name:"Name",amount_min:"Minimum amount",amount_max:"Maximum amount",url:"URL",title:"Title",first_date:"First date",repetitions:"Repetitions",description:"Description",iban:"IBAN",skip:"Skip",date:"Date"},list:{name:"Name",account_number:"Account number",currentBalance:"Current balance",lastActivity:"Last activity",active:"Is active?"},breadcrumbs:{placeholder:"[Placeholder]",budgets:"Budgets",subscriptions:"Subscriptions",transactions:"Transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",revenue_accounts:"Revenue accounts",liabilities_accounts:"Liabilities"},firefly:{administration_index:"Financial administration",actions:"Actions",edit:"Edit",delete:"Delete",reconcile:"Reconcile",create_new_asset:"Create new asset account",confirm_action:"Confirm action",new_budget:"New budget",new_asset_account:"New asset account",newTransfer:"New transfer",submission_options:"Submission options",apply_rules_checkbox:"Apply rules",fire_webhooks_checkbox:"Fire webhooks",newDeposit:"New deposit",newWithdrawal:"New expense",bills_paid:"Bills paid",left_to_spend:"Left to spend",no_budget:"(no budget)",budgeted:"Budgeted",spent:"Spent",no_bill:"(no bill)",rule_trigger_source_account_starts_choice:"Source account name starts with..",rule_trigger_source_account_ends_choice:"Source account name ends with..",rule_trigger_source_account_is_choice:"Source account name is..",rule_trigger_source_account_contains_choice:"Source account name contains..",rule_trigger_account_id_choice:"Either account ID is exactly..",rule_trigger_source_account_id_choice:"Source account ID is exactly..",rule_trigger_destination_account_id_choice:"Destination account ID is exactly..",rule_trigger_account_is_cash_choice:"Either account is cash",rule_trigger_source_is_cash_choice:"Source account is (cash) account",rule_trigger_destination_is_cash_choice:"Destination account is (cash) account",rule_trigger_source_account_nr_starts_choice:"Source account number / IBAN starts with..",rule_trigger_source_account_nr_ends_choice:"Source account number / IBAN ends with..",rule_trigger_source_account_nr_is_choice:"Source account number / IBAN is..",rule_trigger_source_account_nr_contains_choice:"Source account number / IBAN contains..",rule_trigger_destination_account_starts_choice:"Destination account name starts with..",rule_trigger_destination_account_ends_choice:"Destination account name ends with..",rule_trigger_destination_account_is_choice:"Destination account name is..",rule_trigger_destination_account_contains_choice:"Destination account name contains..",rule_trigger_destination_account_nr_starts_choice:"Destination account number / IBAN starts with..",rule_trigger_destination_account_nr_ends_choice:"Destination account number / IBAN ends with..",rule_trigger_destination_account_nr_is_choice:"Destination account number / IBAN is..",rule_trigger_destination_account_nr_contains_choice:"Destination account number / IBAN contains..",rule_trigger_transaction_type_choice:"Transaction is of type..",rule_trigger_category_is_choice:"Category is..",rule_trigger_amount_less_choice:"Amount is less than..",rule_trigger_amount_is_choice:"Amount is..",rule_trigger_amount_more_choice:"Amount is more than..",rule_trigger_description_starts_choice:"Description starts with..",rule_trigger_description_ends_choice:"Description ends with..",rule_trigger_description_contains_choice:"Description contains..",rule_trigger_description_is_choice:"Description is..",rule_trigger_date_on_choice:"Transaction date is..",rule_trigger_date_before_choice:"Transaction date is before..",rule_trigger_date_after_choice:"Transaction date is after..",rule_trigger_created_at_on_choice:"Transaction was made on..",rule_trigger_updated_at_on_choice:"Transaction was last edited on..",rule_trigger_budget_is_choice:"Budget is..",rule_trigger_tag_is_choice:"Any tag is..",rule_trigger_currency_is_choice:"Transaction currency is..",rule_trigger_foreign_currency_is_choice:"Transaction foreign currency is..",rule_trigger_has_attachments_choice:"Has at least this many attachments",rule_trigger_has_no_category_choice:"Has no category",rule_trigger_has_any_category_choice:"Has a (any) category",rule_trigger_has_no_budget_choice:"Has no budget",rule_trigger_has_any_budget_choice:"Has a (any) budget",rule_trigger_has_no_bill_choice:"Has no bill",rule_trigger_has_any_bill_choice:"Has a (any) bill",rule_trigger_has_no_tag_choice:"Has no tag(s)",rule_trigger_has_any_tag_choice:"Has one or more (any) tags",rule_trigger_any_notes_choice:"Has (any) notes",rule_trigger_no_notes_choice:"Has no notes",rule_trigger_notes_is_choice:"Notes are..",rule_trigger_notes_contains_choice:"Notes contain..",rule_trigger_notes_starts_choice:"Notes start with..",rule_trigger_notes_ends_choice:"Notes end with..",rule_trigger_bill_is_choice:"Bill is..",rule_trigger_external_id_is_choice:"External ID is..",rule_trigger_internal_reference_is_choice:"Internal reference is..",rule_trigger_journal_id_choice:"Transaction journal ID is..",rule_trigger_any_external_url_choice:"Transaction has an external URL",rule_trigger_no_external_url_choice:"Transaction has no external URL",rule_trigger_id_choice:"Transaction ID is..",rule_action_delete_transaction_choice:"DELETE transaction(!)",rule_action_set_category_choice:"Set category to ..",rule_action_clear_category_choice:"Clear any category",rule_action_set_budget_choice:"Set budget to ..",rule_action_clear_budget_choice:"Clear any budget",rule_action_add_tag_choice:"Add tag ..",rule_action_remove_tag_choice:"Remove tag ..",rule_action_remove_all_tags_choice:"Remove all tags",rule_action_set_description_choice:"Set description to ..",rule_action_update_piggy_choice:"Add / remove transaction amount in piggy bank ..",rule_action_append_description_choice:"Append description with ..",rule_action_prepend_description_choice:"Prepend description with ..",rule_action_set_source_account_choice:"Set source account to ..",rule_action_set_destination_account_choice:"Set destination account to ..",rule_action_append_notes_choice:"Append notes with ..",rule_action_prepend_notes_choice:"Prepend notes with ..",rule_action_clear_notes_choice:"Remove any notes",rule_action_set_notes_choice:"Set notes to ..",rule_action_link_to_bill_choice:"Link to a bill ..",rule_action_convert_deposit_choice:"Convert the transaction to a deposit",rule_action_convert_withdrawal_choice:"Convert the transaction to a withdrawal",rule_action_convert_transfer_choice:"Convert the transaction to a transfer",placeholder:"[Placeholder]",recurrences:"Recurring transactions",title_expenses:"Expenses",title_withdrawal:"Expenses",title_revenue:"Revenue / income",pref_1D:"One day",pref_1W:"One week",pref_1M:"One month",pref_3M:"Three months (quarter)",pref_6M:"Six months",pref_1Y:"One year",repeat_freq_yearly:"yearly","repeat_freq_half-year":"every half-year",repeat_freq_quarterly:"quarterly",repeat_freq_monthly:"monthly",repeat_freq_weekly:"weekly",single_split:"Split",asset_accounts:"Asset accounts",expense_accounts:"Expense accounts",liabilities_accounts:"Liabilities",undefined_accounts:"Accounts",name:"Name",revenue_accounts:"Revenue accounts",description:"Description",category:"Category",title_deposit:"Revenue / income",title_transfer:"Transfers",title_transfers:"Transfers",piggyBanks:"Piggy banks",rules:"Rules",accounts:"Accounts",categories:"Categories",tags:"Tags",object_groups_page_title:"Groups",reports:"Reports",webhooks:"Webhooks",currencies:"Currencies",administration:"Administration",profile:"Profile",source_account:"Source account",destination_account:"Destination account",amount:"Amount",date:"Date",time:"Time",preferences:"Preferences",transactions:"Transactions",balance:"Balance",budgets:"Budgets",subscriptions:"Subscriptions",welcome_back:"What's playing?",bills_to_pay:"Bills to pay",net_worth:"Net worth",pref_last365:"Last year",pref_last90:"Last 90 days",pref_last30:"Last 30 days",pref_last7:"Last 7 days",pref_YTD:"Year to date",pref_QTD:"Quarter to date",pref_MTD:"Month to date"}},i={"en-US":o},c=(0,a.xr)((({app:e})=>{const t=(0,r.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var a=n(7363),r=n(1776),o=n(7104),i=n(3637),c=n(444),s=n(6490),l=n(7164),d=n(3611),p=n(9739),u=n(5057),h=n(4453);const m=(0,a.Q_)("firefly-iii",{state:()=>({drawerState:!0,viewRange:"1M",listPageSize:10,locale:"en-US",range:{start:null,end:null},defaultRange:{start:null,end:null},currencyCode:"AAA",currencyId:"0",cacheKey:"initial"}),getters:{getViewRange(e){return e.viewRange},getLocale(e){return e.locale},getListPageSize(e){return e.listPageSize},getCurrencyCode(e){return e.currencyCode},getCurrencyId(e){return e.currencyId},getRange(e){return e.range},getDefaultRange(e){return e.defaultRange},getCacheKey(e){return e.cacheKey}},actions:{refreshCacheKey(){let e=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,8);this.setCacheKey(e)},resetRange(){let e=this.defaultRange;this.setRange(e)},setDatesFromViewRange(){let e,t,n=this.viewRange,a=new Date;switch(n){case"last365":e=(0,r.Z)((0,o.Z)(a,365)),t=(0,i.Z)(a);break;case"last90":e=(0,r.Z)((0,o.Z)(a,90)),t=(0,i.Z)(a);break;case"last30":e=(0,r.Z)((0,o.Z)(a,30)),t=(0,i.Z)(a);break;case"last7":e=(0,r.Z)((0,o.Z)(a,7)),t=(0,i.Z)(a);break;case"YTD":e=(0,c.Z)(a),t=(0,i.Z)(a);break;case"QTD":e=(0,s.Z)(a),t=(0,i.Z)(a);break;case"MTD":e=(0,l.Z)(a),t=(0,i.Z)(a);break;case"1D":e=(0,r.Z)(a),t=(0,i.Z)(a);break;case"1W":e=(0,r.Z)((0,d.Z)(a,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(a,{weekStartsOn:1}));break;case"1M":e=(0,r.Z)((0,l.Z)(a)),t=(0,i.Z)((0,u.Z)(a));break;case"3M":e=(0,r.Z)((0,s.Z)(a)),t=(0,i.Z)((0,h.Z)(a));break;case"6M":a.getMonth()<=5&&(e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),a.getMonth()>5&&(e=new Date(a),e.setMonth(6),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(a),e.setMonth(0),e.setDate(1),e=(0,r.Z)(e),t=new Date(a),t.setMonth(11),t.setDate(31),t=(0,i.Z)(t);break}this.setRange({start:e,end:t}),this.setDefaultRange({start:e,end:t})},updateViewRange(e){this.viewRange=e},updateListPageSize(e){this.listPageSize=e},setLocale(e){this.locale=e},setRange(e){return this.range=e,e},setDefaultRange(e){this.defaultRange=e},setCurrencyCode(e){this.currencyCode=e},setCurrencyId(e){this.currencyId=e},setCacheKey(e){this.cacheKey=e}}})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](a[s])))?a.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{159:"849b2e88",607:"a7330a8c",753:"c47e29ea",936:"308ce395",990:"9f80994c",1019:"ebc4d223",1198:"cbaca816",1238:"744a7b52",1341:"e6d35593",1800:"73a958f8",1872:"235df0c5",2255:"106372da",2306:"accc86fe",2372:"0c493e6d",2382:"a6898a70",2769:"435f626d",3064:"2a30b5d5",3576:"5e70097a",3611:"d383e2f1",3726:"efae2175",3912:"55920040",3922:"0d52278f",4036:"46dc453b",4216:"13049863",4355:"044e2646",4575:"6117a3b3",4647:"eb08255c",4670:"83bf8b86",4777:"315d9cdb",4799:"53ec814f",4918:"ac68d296",5114:"96732a35",5389:"83172589",5529:"dbcd5e10",5724:"a11c8347",6254:"16279dd8",6317:"6569585a",6745:"426b85d7",7039:"7e8ac025",7073:"d2bf4ce4",7222:"f318969b",7232:"c2628686",7341:"eb42d75a",7450:"f34e8691",7493:"f0265108",7676:"a2a73fd6",7697:"84e1e5ec",7700:"8a677dfa",7889:"197b7788",7916:"085f15b4",8006:"ed33c726",8135:"8ac09b69",8490:"88c1c928",8493:"d667b5ff",8561:"1097efea",8659:"6dbd3a99",8855:"fdd82ede",9052:"436e16fe",9053:"8c7cb7c1",9158:"887ce7fc",9173:"44a0bd7d",9253:"d541f5eb",9376:"b2fa7b33",9378:"81ba39c5",9381:"936c3132",9412:"a953a672",9432:"7c03632b",9729:"a64217d1",9814:"61040ecb"}[e]+".js"})(),(()=>{n.miniCssF=e=>{}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="firefly-iii:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var c,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d{c.onerror=c.onload=null,clearTimeout(h);var r=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),r&&r.forEach((e=>e(n))),t)return t(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&document.head.appendChild(c)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.p="/v3/"})(),(()=>{var e={2143:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),c=new Error,s=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,c,s]=a,l=0;if(i.some((t=>0!==e[t]))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(s)var d=s(n)}for(t&&t(a);ln(9894)));a=n.O(a)})(); \ No newline at end of file diff --git a/public/v3/js/vendor.26d94302.js b/public/v3/js/vendor.95aafae2.js similarity index 78% rename from public/v3/js/vendor.26d94302.js rename to public/v3/js/vendor.95aafae2.js index 8b33e64ca4..3e5c17be15 100644 --- a/public/v3/js/vendor.26d94302.js +++ b/public/v3/js/vendor.95aafae2.js @@ -430,7 +430,7 @@ e.exports=function(e){return null!=e&&(n(e)||o(e)||!!e._isBuffer)}},"./node_modu /*!*************************************************************************************!*\ !*** external {"umd":"axios","amd":"axios","commonjs":"axios","commonjs2":"axios"} ***! \*************************************************************************************/ -/*! no static exports found */function(t,n){t.exports=e}})}))},9981:(e,t,n)=>{e.exports=n(6148)},6857:(e,t,n)=>{"use strict";var o=n(6031),i=n(8117),a=n(6139),r=n(9395),s=n(7187),l=n(7758),c=n(4908),u=n(7381);e.exports=function(e){return new Promise((function(t,n){var d=e.data,h=e.headers,f=e.responseType;o.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(g+":"+v)}var m=s(e.baseURL,e.url);function b(){if(p){var o="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,a=f&&"text"!==f&&"json"!==f?p.response:p.responseText,r={data:a,status:p.status,statusText:p.statusText,headers:o,config:e,request:p};i(t,n,r),p=null}}if(p.open(e.method.toUpperCase(),r(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=b:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(b)},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},o.isStandardBrowserEnv()){var x=(e.withCredentials||c(m))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in p&&o.forEach(h,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),f&&"json"!==f&&(p.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},6148:(e,t,n)=>{"use strict";var o=n(6031),i=n(4009),a=n(7237),r=n(8342),s=n(9860);function l(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var c=l(s);c.Axios=a,c.create=function(e){return l(r(c.defaults,e))},c.Cancel=n(5838),c.CancelToken=n(5e3),c.isCancel=n(2649),c.all=function(e){return Promise.all(e)},c.spread=n(7615),c.isAxiosError=n(6794),e.exports=c,e.exports["default"]=c},5838:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},5e3:(e,t,n)=>{"use strict";var o=n(5838);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},2649:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},7237:(e,t,n)=>{"use strict";var o=n(6031),i=n(9395),a=n(7332),r=n(1014),s=n(8342),l=n(9206),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!o){var u=[r,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);while(u.length)i=i.then(u.shift(),u.shift());return i}var d=e;while(n.length){var h=n.shift(),f=n.shift();try{d=h(d)}catch(p){f(p);break}}try{i=r(d)}catch(p){return Promise.reject(p)}while(a.length)i=i.then(a.shift(),a.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,o){return this.request(s(o||{},{method:e,url:t,data:n}))}})),e.exports=u},7332:(e,t,n)=>{"use strict";var o=n(6031);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},7187:(e,t,n)=>{"use strict";var o=n(6847),i=n(6560);e.exports=function(e,t){return e&&!o(t)?i(e,t):t}},7381:(e,t,n)=>{"use strict";var o=n(4918);e.exports=function(e,t,n,i,a){var r=new Error(e);return o(r,t,n,i,a)}},1014:(e,t,n)=>{"use strict";var o=n(6031),i=n(2297),a=n(2649),r=n(9860);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||r.adapter;return t(e).then((function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4918:e=>{"use strict";e.exports=function(e,t,n,o,i){return e.config=t,n&&(e.code=n),e.request=o,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},8342:(e,t,n)=>{"use strict";var o=n(6031);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],r=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function c(i){o.isUndefined(t[i])?o.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(e[i],t[i])}o.forEach(i,(function(e){o.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),o.forEach(a,c),o.forEach(r,(function(i){o.isUndefined(t[i])?o.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(void 0,t[i])})),o.forEach(s,(function(o){o in t?n[o]=l(e[o],t[o]):o in e&&(n[o]=l(void 0,e[o]))}));var u=i.concat(a).concat(r).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return o.forEach(d,c),n}},8117:(e,t,n)=>{"use strict";var o=n(7381);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2297:(e,t,n)=>{"use strict";var o=n(6031),i=n(9860);e.exports=function(e,t,n){var a=this||i;return o.forEach(n,(function(n){e=n.call(a,e,t)})),e}},9860:(e,t,n)=>{"use strict";var o=n(6031),i=n(4129),a=n(4918),r={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(6857)),e}function c(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||i&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(r){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){u.headers[e]=o.merge(r)})),e.exports=u},4009:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o{"use strict";var o=n(6031);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(o.isURLSearchParams(t))a=t.toString();else{var r=[];o.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),r.push(i(t)+"="+i(e))})))})),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},6560:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},6139:(e,t,n)=>{"use strict";var o=n(6031);e.exports=o.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(i)&&s.push("path="+i),o.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},6847:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6794:e=>{"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},4908:(e,t,n)=>{"use strict";var o=n(6031);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=o.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},4129:(e,t,n)=>{"use strict";var o=n(6031);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},7758:(e,t,n)=>{"use strict";var o=n(6031),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,r={};return e?(o.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=o.trim(e.substr(0,a)).toLowerCase(),n=o.trim(e.substr(a+1)),t){if(r[t]&&i.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},7615:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},9206:(e,t,n)=>{"use strict";var o=n(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={},r=o.version.split(".");function s(e,t){for(var n=t?t.split("."):r,o=e.split("."),i=0;i<3;i++){if(n[i]>o[i])return!0;if(n[i]0){var a=o[i],r=t[a];if(r){var s=e[a],l=void 0===s||r(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}}i.transitional=function(e,t,n){var i=t&&s(t);function r(e,t){return"[Axios v"+o.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,s){if(!1===e)throw new Error(r(o," has been removed in "+t));return i&&!a[o]&&(a[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,s)}},e.exports={isOlderVersion:s,assertOptions:l,validators:i}},6031:(e,t,n)=>{"use strict";var o=n(4009),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function r(e){return"undefined"===typeof e}function s(e){return null!==e&&!r(e)&&null!==e.constructor&&!r(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===i.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function h(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function g(e){return"[object Date]"===i.call(e)}function v(e){return"[object File]"===i.call(e)}function m(e){return"[object Blob]"===i.call(e)}function b(e){return"[object Function]"===i.call(e)}function x(e){return f(e)&&b(e.pipe)}function y(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,o=e.length;n{function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},1357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(499),i=n(9835),a=n(2857),r=n(244),s=n(5987),l=n(2026);const c=(0,s.L)({name:"QAvatar",props:{...r.LU,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=(0,r.ZP)(e),s=(0,o.Fl)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),c=(0,o.Fl)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const o=void 0!==e.icon?[(0,i.h)(a.Z,{name:e.icon})]:void 0;return(0,i.h)("div",{class:s.value,style:n.value},[(0,i.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:c.value},(0,l.pf)(t.default,o))])}}})},990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=["top","middle","bottom"],l=(0,a.L)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>s.includes(e)}},setup(e,{slots:t}){const n=(0,o.Fl)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),a=(0,o.Fl)((()=>{const t=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,i.h)("div",{class:a.value,style:n.value,role:"status","aria-label":e.label},(0,r.vs)(t.default,void 0!==e.label?[e.label]:[]))}})},7128:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(8234),s=n(2026);const l=(0,a.L)({name:"QBanner",props:{...r.S,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),a=(0,r.Z)(e,n),l=(0,i.Fl)((()=>"q-banner row items-center"+(!0===e.dense?" q-banner--dense":"")+(!0===a.value?" q-banner--dark q-dark":"")+(!0===e.rounded?" rounded-borders":""))),c=(0,i.Fl)((()=>"q-banner__actions row items-center justify-end col-"+(!0===e.inlineActions?"auto":"all")));return()=>{const n=[(0,o.h)("div",{class:"q-banner__avatar col-auto row items-center self-start"},(0,s.KR)(t.avatar)),(0,o.h)("div",{class:"q-banner__content col text-body2"},(0,s.KR)(t.default))],i=(0,s.KR)(t.action);return void 0!==i&&n.push((0,o.h)("div",{class:c.value},i)),(0,o.h)("div",{class:l.value+(!1===e.inlineActions&&void 0!==i?" q-banner--top-padding":""),role:"alert"},n)}}})},2605:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(499),i=n(9835),a=n(5065),r=n(5987),s=n(2026),l=n(2046);const c=["",!0],u=(0,r.L)({name:"QBreadcrumbs",props:{...a.jO,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){const n=(0,a.ZP)(e),r=(0,o.Fl)((()=>`flex items-center ${n.value}${"none"===e.gutter?"":` q-gutter-${e.gutter}`}`)),u=(0,o.Fl)((()=>e.separatorColor?` text-${e.separatorColor}`:"")),d=(0,o.Fl)((()=>` text-${e.activeColor}`));return()=>{const n=(0,l.Pf)((0,s.KR)(t.default));if(0===n.length)return;let o=1;const a=[],h=n.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,f=void 0!==t.separator?t.separator:()=>e.separator;return n.forEach((e=>{if(void 0!==e.type&&"QBreadcrumbsEl"===e.type.name){const t=o{"use strict";n.d(t,{Z:()=>c});var o=n(499),i=n(9835),a=n(2857),r=n(5987),s=n(2026),l=n(945);const c=(0,r.L)({name:"QBreadcrumbsEl",props:{...l.$,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){const{linkTag:n,linkAttrs:r,linkClass:c,navigateOnClick:u}=(0,l.Z)(),d=(0,o.Fl)((()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==e.disable?"q-link--focusable"+c.value:"q-breadcrumbs__el--disable"),...r.value,onClick:u}))),h=(0,o.Fl)((()=>"q-breadcrumbs__el-icon"+(void 0!==e.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const o=[];return void 0!==e.icon&&o.push((0,i.h)(a.Z,{class:h.value,name:e.icon})),void 0!==e.label&&o.push(e.label),(0,i.h)(n.value,{...d.value},(0,s.vs)(t.default,o))}}})},2045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(9835),i=n(499),a=n(2857),r=n(8879),s=n(7236),l=n(5290),c=n(6073),u=n(431),d=n(5987),h=n(1384),f=n(796),p=n(2026);const g=Object.keys(c.b7),v=e=>g.reduce(((t,n)=>{const o=e[n];return void 0!==o&&(t[n]=o),t}),{}),m=(0,d.L)({name:"QBtnDropdown",props:{...c.b7,...u.D,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),d=(0,i.iH)(e.modelValue),g=(0,i.iH)(null),m=(0,f.Z)(),b=(0,i.Fl)((()=>{const t={"aria-expanded":!0===d.value?"true":"false","aria-haspopup":"true","aria-controls":m,"aria-label":e.toggleAriaLabel||u.$q.lang.label[!0===d.value?"collapse":"expand"](e.label)};return(!0===e.disable||!1===e.split&&!0===e.disableMainBtn||!0===e.disableDropdown)&&(t["aria-disabled"]="true"),t})),x=(0,i.Fl)((()=>"q-btn-dropdown__arrow"+(!0===d.value&&!1===e.noIconAnimation?" rotate-180":"")+(!1===e.split?" q-btn-dropdown__arrow-container":""))),y=(0,i.Fl)((()=>(0,c._V)(e))),w=(0,i.Fl)((()=>v(e)));function k(e){d.value=!0,n("beforeShow",e)}function S(e){n("show",e),n("update:modelValue",!0)}function C(e){d.value=!1,n("beforeHide",e)}function _(e){n("hide",e),n("update:modelValue",!1)}function A(e){n("click",e)}function P(e){(0,h.sT)(e),T(),n("click",e)}function L(e){null!==g.value&&g.value.toggle(e)}function j(e){null!==g.value&&g.value.show(e)}function T(e){null!==g.value&&g.value.hide(e)}return(0,o.YP)((()=>e.modelValue),(e=>{null!==g.value&&g.value[e?"show":"hide"]()})),(0,o.YP)((()=>e.split),T),Object.assign(u,{show:j,hide:T,toggle:L}),(0,o.bv)((()=>{!0===e.modelValue&&j()})),()=>{const n=[(0,o.h)(a.Z,{class:x.value,name:e.dropdownIcon||u.$q.iconSet.arrow.dropdown})];return!0!==e.disableDropdown&&n.push((0,o.h)(l.Z,{ref:g,id:m,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:k,onShow:S,onBeforeHide:C,onHide:_},t.default)),!1===e.split?(0,o.h)(r.Z,{class:"q-btn-dropdown q-btn-dropdown--simple",...w.value,...b.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:A},{default:()=>(0,p.KR)(t.label,[]).concat(n),loading:t.loading}):(0,o.h)(s.Z,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...y.value,glossy:e.glossy,stretch:e.stretch},(()=>[(0,o.h)(r.Z,{class:"q-btn-dropdown--current",...w.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:P},{default:t.label,loading:t.loading}),(0,o.h)(r.Z,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...b.value,...y.value,disable:!0===e.disable||!0===e.disableDropdown,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},(()=>n))]))}}})},7236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>{const t=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter((t=>!0===e[t])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(t.length>0?" "+t:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,i.h)("div",{class:n.value},(0,r.KR)(t.default))}})},8879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(9835),i=n(499),a=n(1957),r=n(2857),s=n(3940),l=n(1136),c=n(6073),u=n(5987),d=n(2026),h=n(1384),f=n(1705);const{passiveCapture:p}=h.rU;let g=null,v=null,m=null;const b=(0,u.L)({name:"QBtn",props:{...c.b7,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),{classes:b,style:x,innerClasses:y,attributes:w,hasLink:k,linkTag:S,navigateOnClick:C,isActionable:_}=(0,c.ZP)(e),A=(0,i.iH)(null),P=(0,i.iH)(null);let L,j=null,T=null;const F=(0,i.Fl)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),E=(0,i.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&{keyCodes:!0===k.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),M=(0,i.Fl)((()=>({center:e.round}))),O=(0,i.Fl)((()=>{const t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}:{}})),R=(0,i.Fl)((()=>{if(!0===e.loading)return{onMousedown:Y,onTouchstart:Y,onClick:Y,onKeydown:Y,onKeyup:Y};if(!0===_.value){const t={onClick:z,onKeydown:H,onMousedown:N};if(!0===u.$q.platform.has.touch){const n=void 0!==e.onTouchstart?"":"Passive";t[`onTouchstart${n}`]=q}return t}return{onClick:h.NS}})),I=(0,i.Fl)((()=>({ref:A,class:"q-btn q-btn-item non-selectable no-outline "+b.value,style:x.value,...w.value,...R.value})));function z(t){if(null!==A.value){if(void 0!==t){if(!0===t.defaultPrevented)return;const n=document.activeElement;if("submit"===e.type&&n!==document.body&&!1===A.value.contains(n)&&!1===n.contains(A.value)){A.value.focus();const e=()=>{document.removeEventListener("keydown",h.NS,!0),document.removeEventListener("keyup",e,p),null!==A.value&&A.value.removeEventListener("blur",e,p)};document.addEventListener("keydown",h.NS,!0),document.addEventListener("keyup",e,p),A.value.addEventListener("blur",e,p)}}C(t)}}function H(e){null!==A.value&&(n("keydown",e),!0===(0,f.So)(e,[13,32])&&v!==A.value&&(null!==v&&B(),!0!==e.defaultPrevented&&(A.value.focus(),v=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),A.value.addEventListener("blur",D,p)),(0,h.NS)(e)))}function q(e){null!==A.value&&(n("touchstart",e),!0!==e.defaultPrevented&&(g!==A.value&&(null!==g&&B(),g=A.value,j=e.target,j.addEventListener("touchcancel",D,p),j.addEventListener("touchend",D,p)),L=!0,null!==T&&clearTimeout(T),T=setTimeout((()=>{T=null,L=!1}),200)))}function N(e){null!==A.value&&(e.qSkipRipple=!0===L,n("mousedown",e),!0!==e.defaultPrevented&&m!==A.value&&(null!==m&&B(),m=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,p)))}function D(e){if(null!==A.value&&(void 0===e||"blur"!==e.type||document.activeElement!==A.value)){if(void 0!==e&&"keyup"===e.type){if(v===A.value&&!0===(0,f.So)(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&(0,h.X$)(t),!0===e.cancelBubble&&(0,h.sT)(t),A.value.dispatchEvent(t),(0,h.NS)(e),e.qKeyEvent=!0}n("keyup",e)}B()}}function B(e){const t=P.value;!0===e||g!==A.value&&m!==A.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),g===A.value&&(null!==j&&(j.removeEventListener("touchcancel",D,p),j.removeEventListener("touchend",D,p)),g=j=null),m===A.value&&(document.removeEventListener("mouseup",D,p),m=null),v===A.value&&(document.removeEventListener("keyup",D,!0),null!==A.value&&A.value.removeEventListener("blur",D,p),v=null),null!==A.value&&A.value.classList.remove("q-btn--active")}function Y(e){(0,h.NS)(e),e.qSkipRipple=!0}return(0,o.Jd)((()=>{B(!0)})),Object.assign(u,{click:z}),()=>{let n=[];void 0!==e.icon&&n.push((0,o.h)(r.Z,{name:e.icon,left:!1===e.stack&&!0===F.value,role:"img","aria-hidden":"true"})),!0===F.value&&n.push((0,o.h)("span",{class:"block"},[e.label])),n=(0,d.vs)(t.default,n),void 0!==e.iconRight&&!1===e.round&&n.push((0,o.h)(r.Z,{name:e.iconRight,right:!1===e.stack&&!0===F.value,role:"img","aria-hidden":"true"}));const i=[(0,o.h)("span",{class:"q-focus-helper",ref:P})];return!0===e.loading&&void 0!==e.percentage&&i.push((0,o.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"+(!0===e.darkPercentage?" q-btn__progress--dark":"")},[(0,o.h)("span",{class:"q-btn__progress-indicator fit block",style:O.value})])),i.push((0,o.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+y.value},n)),null!==e.loading&&i.push((0,o.h)(a.uT,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,o.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==t.loading?t.loading():[(0,o.h)(s.Z)])]:null))),(0,o.wy)((0,o.h)(S.value,I.value,i),[[l.Z,E.value,void 0,M.value]])}}})},6073:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g,_V:()=>f,b7:()=>p});var o=n(499),i=n(5065),a=n(244),r=n(945);const s={none:0,xs:4,sm:8,md:16,lg:24,xl:32},l={xs:8,sm:10,md:14,lg:20,xl:24},c=["button","submit","reset"],u=/[^\s]\/[^\s]/,d=["flat","outline","push","unelevated"],h=(e,t)=>!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":t,f=e=>{const t=h(e);return void 0!==t?{[t]:!0}:{}},p={...a.LU,...r.$,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...d.reduce(((e,t)=>(e[t]=Boolean)&&e),{}),square:Boolean,round:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...i.jO.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function g(e){const t=(0,a.ZP)(e,l),n=(0,i.ZP)(e),{hasRouterLink:d,hasLink:f,linkTag:p,linkAttrs:g,navigateOnClick:v}=(0,r.Z)({fallbackTag:"button"}),m=(0,o.Fl)((()=>{const n=!1===e.fab&&!1===e.fabMini?t.value:{};return void 0!==e.padding?Object.assign({},n,{padding:e.padding.split(/\s+/).map((e=>e in s?s[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):n})),b=(0,o.Fl)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),x=(0,o.Fl)((()=>!0!==e.disable&&!0!==e.loading)),y=(0,o.Fl)((()=>!0===x.value?e.tabindex||0:-1)),w=(0,o.Fl)((()=>h(e,"standard"))),k=(0,o.Fl)((()=>{const t={tabindex:y.value};return!0===f.value?Object.assign(t,g.value):!0===c.includes(e.type)&&(t.type=e.type),"a"===p.value?(!0===e.disable?t["aria-disabled"]="true":void 0===t.href&&(t.role="button"),!0!==d.value&&!0===u.test(e.type)&&(t.type=e.type)):!0===e.disable&&(t.disabled="",t["aria-disabled"]="true"),!0===e.loading&&void 0!==e.percentage&&Object.assign(t,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t})),S=(0,o.Fl)((()=>{let t;void 0!==e.color?t=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(t=`text-${e.textColor}`);const n=!0===e.round?"round":"rectangle"+(!0===b.value?" q-btn--rounded":!0===e.square?" q-btn--square":"");return`q-btn--${w.value} q-btn--${n}`+(void 0!==t?" "+t:"")+(!0===x.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")+(e.square?" q-btn--square":"")})),C=(0,o.Fl)((()=>n.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":"")));return{classes:S,style:m,innerClasses:C,attributes:k,hasLink:f,linkTag:p,navigateOnClick:v,isActionable:x}}},4458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(8234),r=n(5987),s=n(2026);const l=(0,r.L)({name:"QCard",props:{...a.S,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),r=(0,a.Z)(e,n),l=(0,i.Fl)((()=>"q-card"+(!0===r.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,o.h)(e.tag,{class:l.value},(0,s.KR)(t.default))}})},1821:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(499),i=n(9835),a=n(5065),r=n(5987),s=n(2026);const l=(0,r.L)({name:"QCardActions",props:{...a.jO,vertical:Boolean},setup(e,{slots:t}){const n=(0,a.ZP)(e),r=(0,o.Fl)((()=>`q-card__actions ${n.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,i.h)("div",{class:r.value},(0,s.KR)(t.default))}})},3190:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,i.h)(e.tag,{class:n.value},(0,r.KR)(t.default))}})},1221:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(2857),r=n(5987),s=n(1926);const l=(0,o.h)("div",{key:"svg",class:"q-checkbox__bg absolute"},[(0,o.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[(0,o.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,o.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),c=(0,r.L)({name:"QCheckbox",props:s.Fz,emits:s.ZB,setup(e){function t(t,n){const r=(0,i.Fl)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||null));return()=>null!==r.value?[(0,o.h)("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[(0,o.h)(a.Z,{class:"q-checkbox__icon",name:r.value})])]:[l]}return(0,s.ZP)("checkbox",t)}})},1926:(e,t,n)=>{"use strict";n.d(t,{Fz:()=>h,ZB:()=>f,ZP:()=>p});var o=n(9835),i=n(499),a=n(8234),r=n(244),s=n(5917),l=n(9256),c=n(9480),u=n(1384),d=n(2026);const h={...a.S,...r.LU,...l.Fz,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},f=["update:modelValue"];function p(e,t){const{props:n,slots:h,emit:f,proxy:p}=(0,o.FN)(),{$q:g}=p,v=(0,a.Z)(n,g),m=(0,i.iH)(null),{refocusTargetEl:b,refocusTarget:x}=(0,s.Z)(n,m),y=(0,r.ZP)(n,c.Z),w=(0,i.Fl)((()=>void 0!==n.val&&Array.isArray(n.modelValue))),k=(0,i.Fl)((()=>{const e=(0,i.IU)(n.val);return!0===w.value?n.modelValue.findIndex((t=>(0,i.IU)(t)===e)):-1})),S=(0,i.Fl)((()=>!0===w.value?k.value>-1:(0,i.IU)(n.modelValue)===(0,i.IU)(n.trueValue))),C=(0,i.Fl)((()=>!0===w.value?-1===k.value:(0,i.IU)(n.modelValue)===(0,i.IU)(n.falseValue))),_=(0,i.Fl)((()=>!1===S.value&&!1===C.value)),A=(0,i.Fl)((()=>!0===n.disable?-1:n.tabindex||0)),P=(0,i.Fl)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===n.disable?" disabled":"")+(!0===v.value?` q-${e}--dark`:"")+(!0===n.dense?` q-${e}--dense`:"")+(!0===n.leftLabel?" reverse":""))),L=(0,i.Fl)((()=>{const t=!0===S.value?"truthy":!0===C.value?"falsy":"indet",o=void 0===n.color||!0!==n.keepColor&&("toggle"===e?!0!==S.value:!0===C.value)?"":` text-${n.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${t}${o}`})),j=(0,i.Fl)((()=>{const e={type:"checkbox"};return void 0!==n.name&&Object.assign(e,{".checked":S.value,"^checked":!0===S.value?"checked":void 0,name:n.name,value:!0===w.value?n.val:n.trueValue}),e})),T=(0,l.eX)(j),F=(0,i.Fl)((()=>{const t={tabindex:A.value,role:"toggle"===e?"switch":"checkbox","aria-label":n.label,"aria-checked":!0===_.value?"mixed":!0===S.value?"true":"false"};return!0===n.disable&&(t["aria-disabled"]="true"),t}));function E(e){void 0!==e&&((0,u.NS)(e),x(e)),!0!==n.disable&&f("update:modelValue",M(),e)}function M(){if(!0===w.value){if(!0===S.value){const e=n.modelValue.slice();return e.splice(k.value,1),e}return n.modelValue.concat([n.val])}if(!0===S.value){if("ft"!==n.toggleOrder||!1===n.toggleIndeterminate)return n.falseValue}else{if(!0!==C.value)return"ft"!==n.toggleOrder?n.trueValue:n.falseValue;if("ft"===n.toggleOrder||!1===n.toggleIndeterminate)return n.trueValue}return n.indeterminateValue}function O(e){13!==e.keyCode&&32!==e.keyCode||(0,u.NS)(e)}function R(e){13!==e.keyCode&&32!==e.keyCode||E(e)}const I=t(S,_);return Object.assign(p,{toggle:E}),()=>{const t=I();!0!==n.disable&&T(t,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const i=[(0,o.h)("div",{class:L.value,style:y.value,"aria-hidden":"true"},t)];null!==b.value&&i.push(b.value);const a=void 0!==n.label?(0,d.vs)(h.default,[n.label]):(0,d.KR)(h.default);return void 0!==a&&i.push((0,o.h)("div",{class:`q-${e}__label q-anchor--skip`},a)),(0,o.h)("div",{ref:m,class:P.value,...F.value,onClick:E,onKeydown:O,onKeyup:R},i)}}},3302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(9835),i=n(499),a=n(244);const r={...a.LU,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var s=n(5987),l=n(2026),c=n(321);const u=50,d=2*u,h=d*Math.PI,f=Math.round(1e3*h)/1e3,p=(0,s.L)({name:"QCircularProgress",props:{...r,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),r=(0,a.ZP)(e),s=(0,i.Fl)((()=>{const t=(!0===n.lang.rtl?-1:1)*e.angle;return{transform:e.reverse!==(!0===n.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`:`rotate3d(0, 0, 1, ${t-90}deg)`}})),p=(0,i.Fl)((()=>!0!==e.instantFeedback&&!0!==e.indeterminate?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:"")),g=(0,i.Fl)((()=>d/(1-e.thickness/2))),v=(0,i.Fl)((()=>`${g.value/2} ${g.value/2} ${g.value} ${g.value}`)),m=(0,i.Fl)((()=>(0,c.vX)(e.value,e.min,e.max))),b=(0,i.Fl)((()=>h*(1-(m.value-e.min)/(e.max-e.min)))),x=(0,i.Fl)((()=>e.thickness/2*g.value));function y({thickness:e,offset:t,color:n,cls:i,rounded:a}){return(0,o.h)("circle",{class:"q-circular-progress__"+i+(void 0!==n?` text-${n}`:""),style:p.value,fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":f,"stroke-dashoffset":t,"stroke-linecap":a,cx:g.value,cy:g.value,r:u})}return()=>{const n=[];void 0!==e.centerColor&&"transparent"!==e.centerColor&&n.push((0,o.h)("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:u-x.value/2,cx:g.value,cy:g.value})),void 0!==e.trackColor&&"transparent"!==e.trackColor&&n.push(y({cls:"track",thickness:x.value,offset:0,color:e.trackColor})),n.push(y({cls:"circle",thickness:x.value,offset:b.value,color:e.color,rounded:!0===e.rounded?"round":void 0}));const i=[(0,o.h)("svg",{class:"q-circular-progress__svg",style:s.value,viewBox:v.value,"aria-hidden":"true"},n)];return!0===e.showValue&&i.push((0,o.h)("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},void 0!==t.default?t.default():[(0,o.h)("div",m.value)])),(0,o.h)("div",{class:`q-circular-progress q-circular-progress--${!0===e.indeterminate?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":!0===e.indeterminate?void 0:m.value},(0,l.pf)(t.internal,i))}}})},4939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ie});var o=n(9835),i=n(499),a=n(1957),r=n(8879),s=n(8234),l=n(3978),c=n(9256);n(6822);const u=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function d(e,t,n){return"[object Date]"===Object.prototype.toString.call(e)&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),b(x(e,t,n))}function h(e,t,n){return y(m(e,t,n))}function f(e){return 0===g(e)}function p(e,t){return t<=6?31:t<=11||f(e)?30:29}function g(e){const t=u.length;let n,o,i,a,r,s=u[0];if(e=u[t-1])throw new Error("Invalid Jalaali year "+e);for(r=1;r=u[n-1])throw new Error("Invalid Jalaali year "+e);for(l=1;l=0){if(i<=185)return o=1+w(i,31),n=k(i,31)+1,{jy:a,jm:o,jd:n};i-=186}else a-=1,i+=179,1===r.leap&&(i+=1);return o=7+w(i,30),n=k(i,30)+1,{jy:a,jm:o,jd:n}}function x(e,t,n){let o=w(1461*(e+w(t-8,6)+100100),4)+w(153*k(t+9,12)+2,5)+n-34840408;return o=o-w(3*w(e+100100+w(t-8,6),100),4)+752,o}function y(e){let t=4*e+139361631;t=t+4*w(3*w(4*e+183187720,146097),4)-3908;const n=5*w(k(t,1461),4)+308,o=w(k(n,153),5)+1,i=k(w(n,153),12)+1,a=w(t,1461)-100100+w(8-i,6);return{gy:a,gm:i,gd:o}}function w(e,t){return~~(e/t)}function k(e,t){return e-~~(e/t)*t}var S=n(321);const C=["gregorian","persian"],_={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>C.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},A=["update:modelValue"];function P(e){return e.year+"/"+(0,S.vk)(e.month)+"/"+(0,S.vk)(e.day)}function L(e,t){const n=(0,i.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),o=(0,i.Fl)((()=>!0===n.value?0:-1)),a=(0,i.Fl)((()=>{const t=[];return void 0!==e.color&&t.push(`bg-${e.color}`),void 0!==e.textColor&&t.push(`text-${e.textColor}`),t.join(" ")}));function r(){return void 0!==e.locale?{...t.lang.date,...e.locale}:t.lang.date}function s(t){const n=new Date,o=!0===t?null:0;if("persian"===e.calendar){const e=d(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:o,minute:o,second:o,millisecond:o}}return{editable:n,tabindex:o,headerClass:a,getLocale:r,getCurrentDate:s}}var j=n(5987),T=n(2026),F=n(4680),E=n(892);const M=864e5,O=36e5,R=6e4,I="YYYY-MM-DDTHH:mm:ss.SSSZ",z=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,H=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,q={};function N(e,t){const n="("+t.days.join("|")+")",o=e+n;if(void 0!==q[o])return q[o];const i="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",r="("+t.monthsShort.join("|")+")",s={};let l=0;const c=e.replace(H,(e=>{switch(l++,e){case"YY":return s.YY=l,"(-?\\d{1,2})";case"YYYY":return s.YYYY=l,"(-?\\d{1,4})";case"M":return s.M=l,"(\\d{1,2})";case"MM":return s.M=l,"(\\d{2})";case"MMM":return s.MMM=l,r;case"MMMM":return s.MMMM=l,a;case"D":return s.D=l,"(\\d{1,2})";case"Do":return s.D=l++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=l,"(\\d{2})";case"H":return s.H=l,"(\\d{1,2})";case"HH":return s.H=l,"(\\d{2})";case"h":return s.h=l,"(\\d{1,2})";case"hh":return s.h=l,"(\\d{2})";case"m":return s.m=l,"(\\d{1,2})";case"mm":return s.m=l,"(\\d{2})";case"s":return s.s=l,"(\\d{1,2})";case"ss":return s.s=l,"(\\d{2})";case"S":return s.S=l,"(\\d{1})";case"SS":return s.S=l,"(\\d{2})";case"SSS":return s.S=l,"(\\d{3})";case"A":return s.A=l,"(AM|PM)";case"a":return s.a=l,"(am|pm)";case"aa":return s.aa=l,"(a\\.m\\.|p\\.m\\.)";case"ddd":return i;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return s.Z=l,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=l,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=l,"(-?\\d+)";case"x":return s.x=l,"(-?\\d{4,})";default:return l--,"["===e[0]&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),u={map:s,regex:new RegExp("^"+c)};return q[o]=u,u}function D(e,t){return void 0!==e?e:void 0!==t?t.date:E.F.date}function B(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),i=Math.floor(o/60),a=o%60;return n+(0,S.vk)(i)+t+(0,S.vk)(a)}function Y(e,t,n,o,i){const a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==i&&Object.assign(a,i),void 0===e||null===e||""===e||"string"!==typeof e)return a;void 0===t&&(t=I);const r=D(n,E.Z.props),s=r.months,l=r.monthsShort,{regex:c,map:u}=N(t,r),d=e.match(c);if(null===d)return a;let h="";if(void 0!==u.X||void 0!==u.x){const e=parseInt(d[void 0!==u.X?u.X:u.x],10);if(!0===isNaN(e)||e<0)return a;const t=new Date(e*(void 0!==u.X?1e3:1));a.year=t.getFullYear(),a.month=t.getMonth()+1,a.day=t.getDate(),a.hour=t.getHours(),a.minute=t.getMinutes(),a.second=t.getSeconds(),a.millisecond=t.getMilliseconds()}else{if(void 0!==u.YYYY)a.year=parseInt(d[u.YYYY],10);else if(void 0!==u.YY){const e=parseInt(d[u.YY],10);a.year=e<0?e:2e3+e}if(void 0!==u.M){if(a.month=parseInt(d[u.M],10),a.month<1||a.month>12)return a}else void 0!==u.MMM?a.month=l.indexOf(d[u.MMM])+1:void 0!==u.MMMM&&(a.month=s.indexOf(d[u.MMMM])+1);if(void 0!==u.D){if(a.day=parseInt(d[u.D],10),null===a.year||null===a.month||a.day<1)return a;const e="persian"!==o?new Date(a.year,a.month,0).getDate():p(a.year,a.month);if(a.day>e)return a}void 0!==u.H?a.hour=parseInt(d[u.H],10)%24:void 0!==u.h&&(a.hour=parseInt(d[u.h],10)%12,(u.A&&"PM"===d[u.A]||u.a&&"pm"===d[u.a]||u.aa&&"p.m."===d[u.aa])&&(a.hour+=12),a.hour=a.hour%24),void 0!==u.m&&(a.minute=parseInt(d[u.m],10)%60),void 0!==u.s&&(a.second=parseInt(d[u.s],10)%60),void 0!==u.S&&(a.millisecond=parseInt(d[u.S],10)*10**(3-d[u.S].length)),void 0===u.Z&&void 0===u.ZZ||(h=void 0!==u.Z?d[u.Z].replace(":",""):d[u.ZZ],a.timezoneOffset=("+"===h[0]?-1:1)*(60*h.slice(1,3)+1*h.slice(3,5)))}return a.dateHash=(0,S.vk)(a.year,6)+"/"+(0,S.vk)(a.month)+"/"+(0,S.vk)(a.day),a.timeHash=(0,S.vk)(a.hour)+":"+(0,S.vk)(a.minute)+":"+(0,S.vk)(a.second)+h,a}function X(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const i=(t-n)/(7*M);return 1+Math.floor(i)}function W(e,t,n){const o=new Date(e),i="set"+(!0===n?"UTC":"");switch(t){case"year":case"years":o[`${i}Month`](0);case"month":case"months":o[`${i}Date`](1);case"day":case"days":case"date":o[`${i}Hours`](0);case"hour":case"hours":o[`${i}Minutes`](0);case"minute":case"minutes":o[`${i}Seconds`](0);case"second":case"seconds":o[`${i}Milliseconds`](0)}return o}function V(e,t,n){return(e.getTime()-e.getTimezoneOffset()*R-(t.getTime()-t.getTimezoneOffset()*R))/n}function $(e,t,n="days"){const o=new Date(e),i=new Date(t);switch(n){case"years":case"year":return o.getFullYear()-i.getFullYear();case"months":case"month":return 12*(o.getFullYear()-i.getFullYear())+o.getMonth()-i.getMonth();case"days":case"day":case"date":return V(W(o,"day"),W(i,"day"),M);case"hours":case"hour":return V(W(o,"hour"),W(i,"hour"),O);case"minutes":case"minute":return V(W(o,"minute"),W(i,"minute"),R);case"seconds":case"second":return V(W(o,"second"),W(i,"second"),1e3)}}function Z(e){return $(e,W(e,"year"),"days")+1}function U(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const G={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>=0?(0,S.vk)(o):"-"+(0,S.vk)(Math.abs(o))},YYYY(e,t,n){return void 0!==n&&null!==n?n:e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return(0,S.vk)(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return U(this.Q(e))},D(e){return e.getDate()},Do(e){return U(e.getDate())},DD(e){return(0,S.vk)(e.getDate())},DDD(e){return Z(e)},DDDD(e){return(0,S.vk)(Z(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return X(e)},ww(e){return(0,S.vk)(X(e))},H(e){return e.getHours()},HH(e){return(0,S.vk)(e.getHours())},h(e){const t=e.getHours();return 0===t?12:t>12?t%12:t},hh(e){return(0,S.vk)(this.h(e))},m(e){return e.getMinutes()},mm(e){return(0,S.vk)(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return(0,S.vk)(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return(0,S.vk)(Math.floor(e.getMilliseconds()/10))},SSS(e){return(0,S.vk)(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,n,o){const i=void 0===o||null===o?e.getTimezoneOffset():o;return B(i,":")},ZZ(e,t,n,o){const i=void 0===o||null===o?e.getTimezoneOffset():o;return B(i)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function K(e,t,n,o,i){if(0!==e&&!e||e===1/0||e===-1/0)return;const a=new Date(e);if(isNaN(a))return;void 0===t&&(t=I);const r=D(n,E.Z.props);return t.replace(z,((e,t)=>e in G?G[e](a,r,o,i):void 0===t?e:t.split("\\]").join("]")))}const J=20,Q=["Calendar","Years","Months"],ee=e=>Q.includes(e),te=e=>/^-?[\d]+\/[0-1]\d$/.test(e),ne=" — ";function oe(e){return e.year+"/"+(0,S.vk)(e.month)}const ie=(0,j.L)({name:"QDate",props:{..._,...c.Fz,...s.S,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:te},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:te},navigationMaxYearMonth:{type:String,validator:te},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:ee}},emits:[...A,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),{$q:d}=u,f=(0,s.Z)(e,d),{getCache:g}=(0,l.Z)(),{tabindex:v,headerClass:m,getLocale:b,getCurrentDate:x}=L(e,d);let y;const w=(0,c.Vt)(e),k=(0,c.eX)(w),C=(0,i.iH)(null),_=(0,i.iH)(Fe()),A=(0,i.iH)(b()),j=(0,i.Fl)((()=>Fe())),E=(0,i.Fl)((()=>b())),M=(0,i.Fl)((()=>x())),O=(0,i.iH)(Me(_.value,A.value)),R=(0,i.iH)(e.defaultView),I=!0===d.lang.rtl?"right":"left",z=(0,i.iH)(I.value),H=(0,i.iH)(I.value),q=O.value.year,N=(0,i.iH)(q-q%J-(q<0?J:0)),D=(0,i.iH)(null),B=(0,i.Fl)((()=>{const t=!0===e.landscape?"landscape":"portrait";return`q-date q-date--${t} q-date--${t}-${!0===e.minimal?"minimal":"standard"}`+(!0===f.value?" q-date--dark q-dark":"")+(!0===e.bordered?" q-date--bordered":"")+(!0===e.square?" q-date--square no-border-radius":"")+(!0===e.flat?" q-date--flat no-shadow":"")+(!0===e.disable?" disabled":!0===e.readonly?" q-date--readonly":"")})),X=(0,i.Fl)((()=>e.color||"primary")),W=(0,i.Fl)((()=>e.textColor||"white")),V=(0,i.Fl)((()=>!0===e.emitImmediately&&!0!==e.multiple&&!0!==e.range)),Z=(0,i.Fl)((()=>!0===Array.isArray(e.modelValue)?e.modelValue:null!==e.modelValue&&void 0!==e.modelValue?[e.modelValue]:[])),U=(0,i.Fl)((()=>Z.value.filter((e=>"string"===typeof e)).map((e=>Ee(e,_.value,A.value))).filter((e=>null!==e.dateHash&&null!==e.day&&null!==e.month&&null!==e.year)))),G=(0,i.Fl)((()=>{const e=e=>Ee(e,_.value,A.value);return Z.value.filter((e=>!0===(0,F.Kn)(e)&&void 0!==e.from&&void 0!==e.to)).map((t=>({from:e(t.from),to:e(t.to)}))).filter((e=>null!==e.from.dateHash&&null!==e.to.dateHash&&e.from.dateHash"persian"!==e.calendar?e=>new Date(e.year,e.month-1,e.day):e=>{const t=h(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)})),te=(0,i.Fl)((()=>"persian"===e.calendar?P:(e,t,n)=>K(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),void 0===t?_.value:t,void 0===n?A.value:n,e.year,e.timezoneOffset))),ie=(0,i.Fl)((()=>U.value.length+G.value.reduce(((e,t)=>e+1+$(Q.value(t.to),Q.value(t.from))),0))),ae=(0,i.Fl)((()=>{if(void 0!==e.title&&null!==e.title&&e.title.length>0)return e.title;if(null!==D.value){const e=D.value.init,t=Q.value(e);return A.value.daysShort[t.getDay()]+", "+A.value.monthsShort[e.month-1]+" "+e.day+ne+"?"}if(0===ie.value)return ne;if(ie.value>1)return`${ie.value} ${A.value.pluralDay}`;const t=U.value[0],n=Q.value(t);return!0===isNaN(n.valueOf())?ne:void 0!==A.value.headerTitle?A.value.headerTitle(n,t):A.value.daysShort[n.getDay()]+", "+A.value.monthsShort[t.month-1]+" "+t.day})),re=(0,i.Fl)((()=>{const e=U.value.concat(G.value.map((e=>e.from))).sort(((e,t)=>e.year-t.year||e.month-t.month));return e[0]})),se=(0,i.Fl)((()=>{const e=U.value.concat(G.value.map((e=>e.to))).sort(((e,t)=>t.year-e.year||t.month-e.month));return e[0]})),le=(0,i.Fl)((()=>{if(void 0!==e.subtitle&&null!==e.subtitle&&e.subtitle.length>0)return e.subtitle;if(0===ie.value)return ne;if(ie.value>1){const e=re.value,t=se.value,n=A.value.monthsShort;return n[e.month-1]+(e.year!==t.year?" "+e.year+ne+n[t.month-1]+" ":e.month!==t.month?ne+n[t.month-1]:"")+" "+t.year}return U.value[0].year})),ce=(0,i.Fl)((()=>{const e=[d.iconSet.datetime.arrowLeft,d.iconSet.datetime.arrowRight];return!0===d.lang.rtl?e.reverse():e})),ue=(0,i.Fl)((()=>void 0!==e.firstDayOfWeek?Number(e.firstDayOfWeek):A.value.firstDayOfWeek)),de=(0,i.Fl)((()=>{const e=A.value.daysShort,t=ue.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e})),he=(0,i.Fl)((()=>{const t=O.value;return"persian"!==e.calendar?new Date(t.year,t.month,0).getDate():p(t.year,t.month)})),fe=(0,i.Fl)((()=>"function"===typeof e.eventColor?e.eventColor:()=>e.eventColor)),pe=(0,i.Fl)((()=>{if(void 0===e.navigationMinYearMonth)return null;const t=e.navigationMinYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),ge=(0,i.Fl)((()=>{if(void 0===e.navigationMaxYearMonth)return null;const t=e.navigationMaxYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),ve=(0,i.Fl)((()=>{const e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return null!==pe.value&&pe.value.year>=O.value.year&&(e.year.prev=!1,pe.value.year===O.value.year&&pe.value.month>=O.value.month&&(e.month.prev=!1)),null!==ge.value&&ge.value.year<=O.value.year&&(e.year.next=!1,ge.value.year===O.value.year&&ge.value.month<=O.value.month&&(e.month.next=!1)),e})),me=(0,i.Fl)((()=>{const e={};return U.value.forEach((t=>{const n=oe(t);void 0===e[n]&&(e[n]=[]),e[n].push(t.day)})),e})),be=(0,i.Fl)((()=>{const e={};return G.value.forEach((t=>{const n=oe(t.from),o=oe(t.to);if(void 0===e[n]&&(e[n]=[]),e[n].push({from:t.from.day,to:n===o?t.to.day:void 0,range:t}),n12&&(r.year++,r.month=1)}})),e})),xe=(0,i.Fl)((()=>{if(null===D.value)return;const{init:e,initHash:t,final:n,finalHash:o}=D.value,[i,a]=t<=o?[e,n]:[n,e],r=oe(i),s=oe(a);if(r!==ye.value&&s!==ye.value)return;const l={};return r===ye.value?(l.from=i.day,l.includeFrom=!0):l.from=1,s===ye.value?(l.to=a.day,l.includeTo=!0):l.to=he.value,l})),ye=(0,i.Fl)((()=>oe(O.value))),we=(0,i.Fl)((()=>{const t={};if(void 0===e.options){for(let e=1;e<=he.value;e++)t[e]=!0;return t}const n="function"===typeof e.options?e.options:t=>e.options.includes(t);for(let e=1;e<=he.value;e++){const o=ye.value+"/"+(0,S.vk)(e);t[e]=n(o)}return t})),ke=(0,i.Fl)((()=>{const t={};if(void 0===e.events)for(let e=1;e<=he.value;e++)t[e]=!1;else{const n="function"===typeof e.events?e.events:t=>e.events.includes(t);for(let e=1;e<=he.value;e++){const o=ye.value+"/"+(0,S.vk)(e);t[e]=!0===n(o)&&fe.value(o)}}return t})),Se=(0,i.Fl)((()=>{let t,n;const{year:o,month:i}=O.value;if("persian"!==e.calendar)t=new Date(o,i-1,1),n=new Date(o,i-1,0).getDate();else{const e=h(o,i,1);t=new Date(e.gy,e.gm-1,e.gd);let a=i-1,r=o;0===a&&(a=12,r--),n=p(r,a)}return{days:t.getDay()-ue.value-1,endDay:n}})),Ce=(0,i.Fl)((()=>{const e=[],{days:t,endDay:n}=Se.value,o=t<0?t+7:t;if(o<6)for(let r=n-o;r<=n;r++)e.push({i:r,fill:!0});const i=e.length;for(let r=1;r<=he.value;r++){const t={i:r,event:ke.value[r],classes:[]};!0===we.value[r]&&(t.in=!0,t.flat=!0),e.push(t)}if(void 0!==me.value[ye.value]&&me.value[ye.value].forEach((t=>{const n=i+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:X.value,textColor:W.value})})),void 0!==be.value[ye.value]&&be.value[ye.value].forEach((t=>{if(void 0!==t.from){const n=i+t.from-1,o=i+(t.to||he.value)-1;for(let i=n;i<=o;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:X.value,textColor:W.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),void 0!==t.to&&Object.assign(e[o],{rangeTo:!0,flat:!1})}else if(void 0!==t.to){const n=i+t.to-1;for(let o=i;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:X.value,textColor:W.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{const n=i+he.value-1;for(let o=i;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:X.value,textColor:W.value})}})),void 0!==xe.value){const t=i+xe.value.from-1,n=i+xe.value.to-1;for(let o=t;o<=n;o++)e[o].color=X.value,e[o].editRange=!0;!0===xe.value.includeFrom&&(e[t].editRangeFrom=!0),!0===xe.value.includeTo&&(e[n].editRangeTo=!0)}O.value.year===M.value.year&&O.value.month===M.value.month&&(e[i+M.value.day-1].today=!0);const a=e.length%7;if(a>0){const t=7-a;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach((e=>{let t="q-date__calendar-item ";!0===e.fill?t+="q-date__calendar-item--fill":(t+="q-date__calendar-item--"+(!0===e.in?"in":"out"),void 0!==e.range&&(t+=" q-date__range"+(!0===e.rangeTo?"-to":!0===e.rangeFrom?"-from":"")),!0===e.editRange&&(t+=` q-date__edit-range${!0===e.editRangeFrom?"-from":""}${!0===e.editRangeTo?"-to":""}`),void 0===e.range&&!0!==e.editRange||(t+=` text-${e.color}`)),e.classes=t})),e})),_e=(0,i.Fl)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function Ae(){const e=M.value,t=me.value[oe(e)];void 0!==t&&!1!==t.includes(e.day)||Ve(e),je(e.year,e.month)}function Pe(e){!0===ee(e)&&(R.value=e)}function Le(e,t){if(["month","year"].includes(e)){const n="month"===e?Re:Ie;n(!0===t?-1:1)}}function je(e,t){R.value="Calendar",De(e,t)}function Te(t,n){if(!1===e.range||!t)return void(D.value=null);const o=Object.assign({...O.value},t),i=void 0!==n?Object.assign({...O.value},n):o;D.value={init:o,initHash:P(o),final:i,finalHash:P(i)},je(o.year,o.month)}function Fe(){return"persian"===e.calendar?"YYYY/MM/DD":e.mask}function Ee(t,n,o){return Y(t,n,o,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Me(t,n){const o=!0===Array.isArray(e.modelValue)?e.modelValue:e.modelValue?[e.modelValue]:[];if(0===o.length)return Oe();const i=o[o.length-1],a=Ee(void 0!==i.from?i.from:i,t,n);return null===a.dateHash?Oe():a}function Oe(){let t,n;if(void 0!==e.defaultYearMonth){const o=e.defaultYearMonth.split("/");t=parseInt(o[0],10),n=parseInt(o[1],10)}else{const e=void 0!==M.value?M.value:x();t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+"/"+(0,S.vk)(n)+"/01"}}function Re(e){let t=O.value.year,n=Number(O.value.month)+e;13===n?(n=1,t++):0===n&&(n=12,t--),De(t,n),!0===V.value&&Ye("month")}function Ie(e){const t=Number(O.value.year)+e;De(t,O.value.month),!0===V.value&&Ye("year")}function ze(t){De(t,O.value.month),R.value="Years"===e.defaultView?"Months":"Calendar",!0===V.value&&Ye("year")}function He(e){De(O.value.year,e),R.value="Calendar",!0===V.value&&Ye("month")}function qe(e,t){const n=me.value[t],o=void 0!==n&&!0===n.includes(e.day)?$e:Ve;o(e)}function Ne(e){return{year:e.year,month:e.month,day:e.day}}function De(e,t,n){if(null!==pe.value&&e<=pe.value.year&&(e=pe.value.year,t=ge.value.year&&(e=ge.value.year,t>ge.value.month&&(t=ge.value.month)),void 0!==n){const{hour:e,minute:t,second:o,millisecond:i,timezoneOffset:a,timeHash:r}=n;Object.assign(O.value,{hour:e,minute:t,second:o,millisecond:i,timezoneOffset:a,timeHash:r})}const i=e+"/"+(0,S.vk)(t)+"/01";i!==O.value.dateHash&&(z.value=O.value.dateHash{N.value=e-e%J-(e<0?J:0),Object.assign(O.value,{year:e,month:t,day:1,dateHash:i})})))}function Be(t,o,i){const a=null!==t&&1===t.length&&!1===e.multiple?t[0]:t;y=a;const{reason:r,details:s}=Xe(o,i);n("update:modelValue",a,r,s)}function Ye(t){const i=void 0!==U.value[0]&&null!==U.value[0].dateHash?{...U.value[0]}:{...O.value};(0,o.Y3)((()=>{i.year=O.value.year,i.month=O.value.month;const o="persian"!==e.calendar?new Date(i.year,i.month,0).getDate():p(i.year,i.month);i.day=Math.min(Math.max(1,i.day),o);const a=We(i);y=a;const{details:r}=Xe("",i);n("update:modelValue",a,t,r)}))}function Xe(e,t){return void 0!==t.from?{reason:`${e}-range`,details:{...Ne(t.target),from:Ne(t.from),to:Ne(t.to)}}:{reason:`${e}-day`,details:Ne(t)}}function We(e,t,n){return void 0!==e.from?{from:te.value(e.from,t,n),to:te.value(e.to,t,n)}:te.value(e,t,n)}function Ve(t){let n;if(!0===e.multiple)if(void 0!==t.from){const e=P(t.from),o=P(t.to),i=U.value.filter((t=>t.dateHasho)),a=G.value.filter((({from:t,to:n})=>n.dateHasho));n=i.concat(a).concat(t).map((e=>We(e)))}else{const e=Z.value.slice();e.push(We(t)),n=e}else n=We(t);Be(n,"add",t)}function $e(t){if(!0===e.noUnset)return;let n=null;if(!0===e.multiple&&!0===Array.isArray(e.modelValue)){const o=We(t);n=void 0!==t.from?e.modelValue.filter((e=>void 0===e.from||e.from!==o.from&&e.to!==o.to)):e.modelValue.filter((e=>e!==o)),0===n.length&&(n=null)}Be(n,"remove",t)}function Ze(t,o,i){const a=U.value.concat(G.value).map((e=>We(e,t,o))).filter((e=>void 0!==e.from?null!==e.from.dateHash&&null!==e.to.dateHash:null!==e.dateHash));n("update:modelValue",(!0===e.multiple?a:a[0])||null,i)}function Ue(){if(!0!==e.minimal)return(0,o.h)("div",{class:"q-date__header "+m.value},[(0,o.h)("div",{class:"relative-position"},[(0,o.h)(a.uT,{name:"q-transition--fade"},(()=>(0,o.h)("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+("Years"===R.value?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vY",{onClick(){R.value="Years"},onKeyup(e){13===e.keyCode&&(R.value="Years")}})},[le.value])))]),(0,o.h)("div",{class:"q-date__header-title relative-position flex no-wrap"},[(0,o.h)("div",{class:"relative-position col"},[(0,o.h)(a.uT,{name:"q-transition--fade"},(()=>(0,o.h)("div",{key:"h-sub"+ae.value,class:"q-date__header-title-label q-date__header-link "+("Calendar"===R.value?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vC",{onClick(){R.value="Calendar"},onKeyup(e){13===e.keyCode&&(R.value="Calendar")}})},[ae.value])))]),!0===e.todayBtn?(0,o.h)(r.Z,{class:"q-date__header-today self-start",icon:d.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:v.value,onClick:Ae}):null])])}function Ge({label:e,type:t,key:n,dir:i,goTo:s,boundaries:l,cls:c}){return[(0,o.h)("div",{class:"row items-center q-date__arrow"},[(0,o.h)(r.Z,{round:!0,dense:!0,size:"sm",flat:!0,icon:ce.value[0],tabindex:v.value,disable:!1===l.prev,...g("go-#"+t,{onClick(){s(-1)}})})]),(0,o.h)("div",{class:"relative-position overflow-hidden flex flex-center"+c},[(0,o.h)(a.uT,{name:"q-transition--jump-"+i},(()=>(0,o.h)("div",{key:n},[(0,o.h)(r.Z,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:v.value,...g("view#"+t,{onClick:()=>{R.value=t}})})])))]),(0,o.h)("div",{class:"row items-center q-date__arrow"},[(0,o.h)(r.Z,{round:!0,dense:!0,size:"sm",flat:!0,icon:ce.value[1],tabindex:v.value,disable:!1===l.next,...g("go+#"+t,{onClick(){s(1)}})})])]}(0,o.YP)((()=>e.modelValue),(e=>{if(y===e)y=0;else{const e=Me(_.value,A.value);De(e.year,e.month,e)}})),(0,o.YP)(R,(()=>{null!==C.value&&!0===u.$el.contains(document.activeElement)&&C.value.focus()})),(0,o.YP)((()=>O.value.year+"|"+O.value.month),(()=>{n("navigation",{year:O.value.year,month:O.value.month})})),(0,o.YP)(j,(e=>{Ze(e,A.value,"mask"),_.value=e})),(0,o.YP)(E,(e=>{Ze(_.value,e,"locale"),A.value=e}));const Ke={Calendar:()=>[(0,o.h)("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[(0,o.h)("div",{class:"q-date__navigation row items-center no-wrap"},Ge({label:A.value.months[O.value.month-1],type:"Months",key:O.value.month,dir:z.value,goTo:Re,boundaries:ve.value.month,cls:" col"}).concat(Ge({label:O.value.year,type:"Years",key:O.value.year,dir:H.value,goTo:Ie,boundaries:ve.value.year,cls:""}))),(0,o.h)("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},de.value.map((e=>(0,o.h)("div",{class:"q-date__calendar-item"},[(0,o.h)("div",e)])))),(0,o.h)("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[(0,o.h)(a.uT,{name:"q-transition--slide-"+z.value},(()=>(0,o.h)("div",{key:ye.value,class:"q-date__calendar-days fit"},Ce.value.map((e=>(0,o.h)("div",{class:e.classes},[!0===e.in?(0,o.h)(r.Z,{class:!0===e.today?"q-date__today":"",dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:v.value,...g("day#"+e.i,{onClick:()=>{Je(e.i)},onMouseover:()=>{Qe(e.i)}})},!1!==e.event?()=>(0,o.h)("div",{class:"q-date__event bg-"+e.event}):null):(0,o.h)("div",""+e.i)]))))))])])],Months(){const t=O.value.year===M.value.year,n=e=>null!==pe.value&&O.value.year===pe.value.year&&pe.value.month>e||null!==ge.value&&O.value.year===ge.value.year&&ge.value.month{const a=O.value.month===i+1;return(0,o.h)("div",{class:"q-date__months-item flex flex-center"},[(0,o.h)(r.Z,{class:!0===t&&M.value.month===i+1?"q-date__today":null,flat:!0!==a,label:e,unelevated:a,color:!0===a?X.value:null,textColor:!0===a?W.value:null,tabindex:v.value,disable:n(i+1),...g("month#"+i,{onClick:()=>{He(i+1)}})})])}));return!0===e.yearsInMonthView&&i.unshift((0,o.h)("div",{class:"row no-wrap full-width"},[Ge({label:O.value.year,type:"Years",key:O.value.year,dir:H.value,goTo:Ie,boundaries:ve.value.year,cls:" col"})])),(0,o.h)("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},i)},Years(){const e=N.value,t=e+J,n=[],i=e=>null!==pe.value&&pe.value.year>e||null!==ge.value&&ge.value.year{ze(a)}})})]))}return(0,o.h)("div",{class:"q-date__view q-date__years flex flex-center"},[(0,o.h)("div",{class:"col-auto"},[(0,o.h)(r.Z,{round:!0,dense:!0,flat:!0,icon:ce.value[0],tabindex:v.value,disable:i(e),...g("y-",{onClick:()=>{N.value-=J}})})]),(0,o.h)("div",{class:"q-date__years-content col self-stretch row items-center"},n),(0,o.h)("div",{class:"col-auto"},[(0,o.h)(r.Z,{round:!0,dense:!0,flat:!0,icon:ce.value[1],tabindex:v.value,disable:i(t),...g("y+",{onClick:()=>{N.value+=J}})})])])}};function Je(t){const o={...O.value,day:t};if(!1!==e.range)if(null===D.value){const i=Ce.value.find((e=>!0!==e.fill&&e.i===t));if(!0!==e.noUnset&&void 0!==i.range)return void $e({target:o,from:i.range.from,to:i.range.to});if(!0===i.selected)return void $e(o);const a=P(o);D.value={init:o,initHash:a,final:o,finalHash:a},n("rangeStart",Ne(o))}else{const e=D.value.initHash,t=P(o),i=e<=t?{from:D.value.init,to:o}:{from:o,to:D.value.init};D.value=null,Ve(e===t?o:{target:o,...i}),n("rangeEnd",{from:Ne(i.from),to:Ne(i.to)})}else qe(o,ye.value)}function Qe(e){if(null!==D.value){const t={...O.value,day:e};Object.assign(D.value,{final:t,finalHash:P(t)})}}return Object.assign(u,{setToday:Ae,setView:Pe,offsetCalendar:Le,setCalendarTo:je,setEditingRange:Te}),()=>{const n=[(0,o.h)("div",{class:"q-date__content col relative-position"},[(0,o.h)(a.uT,{name:"q-transition--fade"},Ke[R.value])])],i=(0,T.KR)(t.default);return void 0!==i&&n.push((0,o.h)("div",{class:"q-date__actions"},i)),void 0!==e.name&&!0!==e.disable&&k(n,"push"),(0,o.h)("div",{class:B.value,..._e.value},[Ue(),(0,o.h)("div",{ref:C,class:"q-date__main col column",tabindex:-1},n)])}}})},2074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var o=n(9835),i=n(499),a=n(1957),r=n(4953),s=n(2695),l=n(6916),c=n(3842),u=n(431),d=n(1518),h=n(9754),f=n(5987),p=n(223),g=n(2026),v=n(6532),m=n(4173),b=n(7026);let x=0;const y={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},w={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},k=(0,f.L)({name:"QDialog",inheritAttrs:!1,props:{...c.vr,...u.D,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...c.gH,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:f}){const k=(0,o.FN)(),S=(0,i.iH)(null),C=(0,i.iH)(!1),_=(0,i.iH)(!1);let A,P,L=null,j=null;const T=(0,i.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:F}=(0,h.Z)(),{registerTimeout:E}=(0,s.Z)(),{registerTick:M,removeTick:O}=(0,l.Z)(),{transitionProps:R,transitionStyle:I}=(0,u.Z)(e,(()=>w[e.position][0]),(()=>w[e.position][1])),{showPortal:z,hidePortal:H,portalIsAccessible:q,renderPortal:N}=(0,d.Z)(k,S,ie,"dialog"),{hide:D}=(0,c.ZP)({showing:C,hideOnRouteChange:T,handleShow:Z,handleHide:U,processOnMount:!0}),{addToHistory:B,removeFromHistory:Y}=(0,r.Z)(C,D,T),X=(0,i.Fl)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${y[e.position]}`+(!0===_.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),W=(0,i.Fl)((()=>!0===C.value&&!0!==e.seamless)),V=(0,i.Fl)((()=>!0===e.autoClose?{onClick:te}:{})),$=(0,i.Fl)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===W.value?"modal":"seamless"),f.class]));function Z(t){B(),j=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,ee(e.maximized),z(),_.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),M(G)):O(),E((()=>{if(!0===k.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,o=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>o/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-o,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-o/2))),document.activeElement.scrollIntoView()}P=!0,S.value.click(),P=!1}z(!0),_.value=!1,n("show",t)}),e.transitionDuration)}function U(t){O(),Y(),Q(!0),_.value=!0,H(),null!==j&&(((t&&0===t.type.indexOf("key")?j.closest('[tabindex]:not([tabindex^="-"])'):void 0)||j).focus(),j=null),E((()=>{H(!0),_.value=!1,n("hide",t)}),e.transitionDuration)}function G(e){(0,b.jd)((()=>{let t=S.value;null!==t&&!0!==t.contains(document.activeElement)&&(t=(""!==e?t.querySelector(e):null)||t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}))}function K(e){e&&"function"===typeof e.focus?e.focus({preventScroll:!0}):G(),n("shake");const t=S.value;null!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),null!==L&&clearTimeout(L),L=setTimeout((()=>{L=null,null!==S.value&&(t.classList.remove("q-animate--scale"),G())}),170))}function J(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&K():(n("escapeKey"),D()))}function Q(t){null!==L&&(clearTimeout(L),L=null),!0!==t&&!0!==C.value||(ee(!1),!0!==e.seamless&&(F(!1),(0,m.H)(oe),(0,v.k)(J))),!0!==t&&(j=null)}function ee(e){!0===e?!0!==A&&(x<1&&document.body.classList.add("q-body--dialog"),x++,A=!0):!0===A&&(x<2&&document.body.classList.remove("q-body--dialog"),x--,A=!1)}function te(e){!0!==P&&(D(e),n("click",e))}function ne(t){!0!==e.persistent&&!0!==e.noBackdropDismiss?D(t):!0!==e.noShake&&K()}function oe(t){!0!==e.allowFocusOutside&&!0===q.value&&!0!==(0,p.mY)(S.value,t.target)&&G('[tabindex]:not([tabindex="-1"])')}function ie(){return(0,o.h)("div",{role:"dialog","aria-modal":!0===W.value?"true":"false",...f,class:$.value},[(0,o.h)(a.uT,{name:"q-transition--fade",appear:!0},(()=>!0===W.value?(0,o.h)("div",{class:"q-dialog__backdrop fixed-full",style:I.value,"aria-hidden":"true",tabindex:-1,onClick:ne}):null)),(0,o.h)(a.uT,R.value,(()=>!0===C.value?(0,o.h)("div",{ref:S,class:X.value,style:I.value,tabindex:-1,...V.value},(0,g.KR)(t.default)):null))])}return(0,o.YP)((()=>e.maximized),(e=>{!0===C.value&&ee(e)})),(0,o.YP)(W,(e=>{F(e),!0===e?((0,m.i)(oe),(0,v.c)(J)):((0,m.H)(oe),(0,v.k)(J))})),Object.assign(k.proxy,{focus:G,shake:K,__updateRefocusTarget(e){j=e||null}}),(0,o.Jd)(Q),N}})},906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var o=n(9835),i=n(499),a=n(4953),r=n(3842),s=n(9754),l=n(2695),c=n(8234),u=n(2873),d=n(5987),h=n(321),f=n(2026),p=n(5439);const g=150,v=(0,d.L)({name:"QDrawer",inheritAttrs:!1,props:{...r.vr,...c.S,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...r.gH,"onLayout","miniState"],setup(e,{slots:t,emit:n,attrs:d}){const v=(0,o.FN)(),{proxy:{$q:m}}=v,b=(0,c.Z)(e,m),{preventBodyScroll:x}=(0,s.Z)(),{registerTimeout:y,removeTimeout:w}=(0,l.Z)(),k=(0,o.f3)(p.YE,p.qO);if(k===p.qO)return console.error("QDrawer needs to be child of QLayout"),p.qO;let S,C,_=null;const A=(0,i.iH)("mobile"===e.behavior||"desktop"!==e.behavior&&k.totalWidth.value<=e.breakpoint),P=(0,i.Fl)((()=>!0===e.mini&&!0!==A.value)),L=(0,i.Fl)((()=>!0===P.value?e.miniWidth:e.width)),j=(0,i.iH)(!0===e.showIfAbove&&!1===A.value||!0===e.modelValue),T=(0,i.Fl)((()=>!0!==e.persistent&&(!0===A.value||!0===Z.value)));function F(e,t){if(R(),!1!==e&&k.animate(),se(0),!0===A.value){const e=k.instances[X.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),le(1),!0!==k.isContainer.value&&x(!0)}else le(0),!1!==e&&ce(!1);y((()=>{!1!==e&&ce(!0),!0!==t&&n("show",e)}),g)}function E(e,t){I(),!1!==e&&k.animate(),le(0),se(q.value*L.value),fe(),!0!==t?y((()=>{n("hide",e)}),g):w()}const{show:M,hide:O}=(0,r.ZP)({showing:j,hideOnRouteChange:T,handleShow:F,handleHide:E}),{addToHistory:R,removeFromHistory:I}=(0,a.Z)(j,O,T),z={belowBreakpoint:A,hide:O},H=(0,i.Fl)((()=>"right"===e.side)),q=(0,i.Fl)((()=>(!0===m.lang.rtl?-1:1)*(!0===H.value?1:-1))),N=(0,i.iH)(0),D=(0,i.iH)(!1),B=(0,i.iH)(!1),Y=(0,i.iH)(L.value*q.value),X=(0,i.Fl)((()=>!0===H.value?"left":"right")),W=(0,i.Fl)((()=>!0===j.value&&!1===A.value&&!1===e.overlay?!0===e.miniToOverlay?e.miniWidth:L.value:0)),V=(0,i.Fl)((()=>!0===e.overlay||!0===e.miniToOverlay||k.view.value.indexOf(H.value?"R":"L")>-1||!0===m.platform.is.ios&&!0===k.isContainer.value)),$=(0,i.Fl)((()=>!1===e.overlay&&!0===j.value&&!1===A.value)),Z=(0,i.Fl)((()=>!0===e.overlay&&!0===j.value&&!1===A.value)),U=(0,i.Fl)((()=>"fullscreen q-drawer__backdrop"+(!1===j.value&&!1===D.value?" hidden":""))),G=(0,i.Fl)((()=>({backgroundColor:`rgba(0,0,0,${.4*N.value})`}))),K=(0,i.Fl)((()=>!0===H.value?"r"===k.rows.value.top[2]:"l"===k.rows.value.top[0])),J=(0,i.Fl)((()=>!0===H.value?"r"===k.rows.value.bottom[2]:"l"===k.rows.value.bottom[0])),Q=(0,i.Fl)((()=>{const e={};return!0===k.header.space&&!1===K.value&&(!0===V.value?e.top=`${k.header.offset}px`:!0===k.header.space&&(e.top=`${k.header.size}px`)),!0===k.footer.space&&!1===J.value&&(!0===V.value?e.bottom=`${k.footer.offset}px`:!0===k.footer.space&&(e.bottom=`${k.footer.size}px`)),e})),ee=(0,i.Fl)((()=>{const e={width:`${L.value}px`,transform:`translateX(${Y.value}px)`};return!0===A.value?e:Object.assign(e,Q.value)})),te=(0,i.Fl)((()=>"q-drawer__content fit "+(!0!==k.isContainer.value?"scroll":"overflow-auto"))),ne=(0,i.Fl)((()=>`q-drawer q-drawer--${e.side}`+(!0===B.value?" q-drawer--mini-animate":"")+(!0===e.bordered?" q-drawer--bordered":"")+(!0===b.value?" q-drawer--dark q-dark":"")+(!0===D.value?" no-transition":!0===j.value?"":" q-layout--prevent-focus")+(!0===A.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===P.value?"mini":"standard")+(!0===V.value||!0!==$.value?" fixed":"")+(!0===e.overlay||!0===e.miniToOverlay?" q-drawer--on-top":"")+(!0===K.value?" q-drawer--top-padding":"")))),oe=(0,i.Fl)((()=>{const t=!0===m.lang.rtl?e.side:X.value;return[[u.Z,de,void 0,{[t]:!0,mouse:!0}]]})),ie=(0,i.Fl)((()=>{const t=!0===m.lang.rtl?X.value:e.side;return[[u.Z,he,void 0,{[t]:!0,mouse:!0}]]})),ae=(0,i.Fl)((()=>{const t=!0===m.lang.rtl?X.value:e.side;return[[u.Z,he,void 0,{[t]:!0,mouse:!0,mouseAllDir:!0}]]}));function re(){ge(A,"mobile"===e.behavior||"desktop"!==e.behavior&&k.totalWidth.value<=e.breakpoint)}function se(e){void 0===e?(0,o.Y3)((()=>{e=!0===j.value?0:L.value,se(q.value*e)})):(!0!==k.isContainer.value||!0!==H.value||!0!==A.value&&Math.abs(e)!==L.value||(e+=q.value*k.scrollbarWidth.value),Y.value=e)}function le(e){N.value=e}function ce(e){const t=!0===e?"remove":!0!==k.isContainer.value?"add":"";""!==t&&document.body.classList[t]("q-body--drawer-toggle")}function ue(){null!==_&&clearTimeout(_),v.proxy&&v.proxy.$el&&v.proxy.$el.classList.add("q-drawer--mini-animate"),B.value=!0,_=setTimeout((()=>{_=null,B.value=!1,v&&v.proxy&&v.proxy.$el&&v.proxy.$el.classList.remove("q-drawer--mini-animate")}),150)}function de(e){if(!1!==j.value)return;const t=L.value,n=(0,h.vX)(e.distance.x,0,t);if(!0===e.isFinal){const e=n>=Math.min(75,t);return!0===e?M():(k.animate(),le(0),se(q.value*t)),void(D.value=!1)}se((!0===m.lang.rtl?!0!==H.value:H.value)?Math.max(t-n,0):Math.min(0,n-t)),le((0,h.vX)(n/t,0,1)),!0===e.isFirst&&(D.value=!0)}function he(t){if(!0!==j.value)return;const n=L.value,o=t.direction===e.side,i=(!0===m.lang.rtl?!0!==o:o)?(0,h.vX)(t.distance.x,0,n):0;if(!0===t.isFinal){const e=Math.abs(i){!0===t?(S=j.value,!0===j.value&&O(!1)):!1===e.overlay&&"mobile"!==e.behavior&&!1!==S&&(!0===j.value?(se(0),le(0),fe()):M(!1))})),(0,o.YP)((()=>e.side),((e,t)=>{k.instances[t]===z&&(k.instances[t]=void 0,k[t].space=!1,k[t].offset=0),k.instances[e]=z,k[e].size=L.value,k[e].space=$.value,k[e].offset=W.value})),(0,o.YP)(k.totalWidth,(()=>{!0!==k.isContainer.value&&!0===document.qScrollPrevented||re()})),(0,o.YP)((()=>e.behavior+e.breakpoint),re),(0,o.YP)(k.isContainer,(e=>{!0===j.value&&x(!0!==e),!0===e&&re()})),(0,o.YP)(k.scrollbarWidth,(()=>{se(!0===j.value?0:void 0)})),(0,o.YP)(W,(e=>{pe("offset",e)})),(0,o.YP)($,(e=>{n("onLayout",e),pe("space",e)})),(0,o.YP)(H,(()=>{se()})),(0,o.YP)(L,(t=>{se(),ve(e.miniToOverlay,t)})),(0,o.YP)((()=>e.miniToOverlay),(e=>{ve(e,L.value)})),(0,o.YP)((()=>m.lang.rtl),(()=>{se()})),(0,o.YP)((()=>e.mini),(()=>{!0===e.modelValue&&(ue(),k.animate())})),(0,o.YP)(P,(e=>{n("miniState",e)})),k.instances[e.side]=z,ve(e.miniToOverlay,L.value),pe("space",$.value),pe("offset",W.value),!0===e.showIfAbove&&!0!==e.modelValue&&!0===j.value&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",!0),(0,o.bv)((()=>{n("onLayout",$.value),n("miniState",P.value),S=!0===e.showIfAbove;const t=()=>{const e=!0===j.value?F:E;e(!1,!0)};0===k.totalWidth.value?C=(0,o.YP)(k.totalWidth,(()=>{C(),C=void 0,!1===j.value&&!0===e.showIfAbove&&!1===A.value?M(!1):t()})):(0,o.Y3)(t)})),(0,o.Jd)((()=>{void 0!==C&&C(),null!==_&&(clearTimeout(_),_=null),!0===j.value&&fe(),k.instances[e.side]===z&&(k.instances[e.side]=void 0,pe("size",0),pe("offset",0),pe("space",!1))})),()=>{const n=[];!0===A.value&&(!1===e.noSwipeOpen&&n.push((0,o.wy)((0,o.h)("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),oe.value)),n.push((0,f.Jl)("div",{ref:"backdrop",class:U.value,style:G.value,"aria-hidden":"true",onClick:O},void 0,"backdrop",!0!==e.noSwipeBackdrop&&!0===j.value,(()=>ae.value))));const i=!0===P.value&&void 0!==t.mini,a=[(0,o.h)("div",{...d,key:""+i,class:[te.value,d.class]},!0===i?t.mini():(0,f.KR)(t.default))];return!0===e.elevated&&!0===j.value&&a.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,f.Jl)("aside",{ref:"content",class:ne.value,style:ee.value},a,"contentclose",!0!==e.noSwipeClose&&!0===A.value,(()=>ie.value))),(0,o.h)("div",{class:"q-drawer-container"},n)}}})},651:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(499),i=n(9835),a=n(1957),r=n(490),s=n(1233),l=n(3115),c=n(2857),u=n(9003),d=n(926),h=n(8234),f=n(945),p=n(3842),g=n(5987),v=n(1384),m=n(2026),b=n(796);const x=(0,o.Um)({}),y=Object.keys(f.$),w=(0,g.L)({name:"QExpansionItem",props:{...f.$,...p.vr,...h.S,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...p.gH,"click","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:{$q:f}}=(0,i.FN)(),g=(0,h.Z)(e,f),w=(0,o.iH)(null!==e.modelValue?e.modelValue:e.defaultOpened),k=(0,o.iH)(null),S=(0,b.Z)(),{show:C,hide:_,toggle:A}=(0,p.ZP)({showing:w});let P,L;const j=(0,o.Fl)((()=>"q-expansion-item q-item-type q-expansion-item--"+(!0===w.value?"expanded":"collapsed")+" q-expansion-item--"+(!0===e.popup?"popup":"standard"))),T=(0,o.Fl)((()=>{if(void 0===e.contentInsetLevel)return null;const t=!0===f.lang.rtl?"Right":"Left";return{["padding"+t]:56*e.contentInsetLevel+"px"}})),F=(0,o.Fl)((()=>!0!==e.disable&&(void 0!==e.href||void 0!==e.to&&null!==e.to&&""!==e.to))),E=(0,o.Fl)((()=>{const t={};return y.forEach((n=>{t[n]=e[n]})),t})),M=(0,o.Fl)((()=>!0===F.value||!0!==e.expandIconToggle)),O=(0,o.Fl)((()=>void 0!==e.expandedIcon&&!0===w.value?e.expandedIcon:e.expandIcon||f.iconSet.expansionItem[!0===e.denseToggle?"denseIcon":"icon"])),R=(0,o.Fl)((()=>!0!==e.disable&&(!0===F.value||!0===e.expandIconToggle))),I=(0,o.Fl)((()=>({expanded:!0===w.value,detailsId:e.targetUid,toggle:A,show:C,hide:_}))),z=(0,o.Fl)((()=>{const t=void 0!==e.toggleAriaLabel?e.toggleAriaLabel:f.lang.label[!0===w.value?"collapse":"expand"](e.label);return{role:"button","aria-expanded":!0===w.value?"true":"false","aria-controls":S,"aria-label":t}}));function H(e){!0!==F.value&&A(e),n("click",e)}function q(e){13===e.keyCode&&N(e,!0)}function N(e,t){!0!==t&&null!==k.value&&k.value.focus(),A(e),(0,v.NS)(e)}function D(){n("afterShow")}function B(){n("afterHide")}function Y(){void 0===P&&(P=(0,b.Z)()),!0===w.value&&(x[e.group]=P);const t=(0,i.YP)(w,(t=>{!0===t?x[e.group]=P:x[e.group]===P&&delete x[e.group]})),n=(0,i.YP)((()=>x[e.group]),((e,t)=>{t===P&&void 0!==e&&e!==P&&_()}));L=()=>{t(),n(),x[e.group]===P&&delete x[e.group],L=void 0}}function X(){const t={class:["q-focusable relative-position cursor-pointer"+(!0===e.denseToggle&&!0===e.switchToggleSide?" items-end":""),e.expandIconClass],side:!0!==e.switchToggleSide,avatar:e.switchToggleSide},n=[(0,i.h)(c.Z,{class:"q-expansion-item__toggle-icon"+(void 0===e.expandedIcon&&!0===w.value?" q-expansion-item__toggle-icon--rotated":""),name:O.value})];return!0===R.value&&(Object.assign(t,{tabindex:0,...z.value,onClick:N,onKeyup:q}),n.unshift((0,i.h)("div",{ref:k,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),(0,i.h)(s.Z,t,(()=>n))}function W(){let n;return void 0!==t.header?n=[].concat(t.header(I.value)):(n=[(0,i.h)(s.Z,(()=>[(0,i.h)(l.Z,{lines:e.labelLines},(()=>e.label||"")),e.caption?(0,i.h)(l.Z,{lines:e.captionLines,caption:!0},(()=>e.caption)):null]))],e.icon&&n[!0===e.switchToggleSide?"push":"unshift"]((0,i.h)(s.Z,{side:!0===e.switchToggleSide,avatar:!0!==e.switchToggleSide},(()=>(0,i.h)(c.Z,{name:e.icon}))))),!0!==e.disable&&!0!==e.hideExpandIcon&&n[!0===e.switchToggleSide?"unshift":"push"](X()),n}function V(){const t={ref:"item",style:e.headerStyle,class:e.headerClass,dark:g.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return!0===M.value&&(t.clickable=!0,t.onClick=H,Object.assign(t,!0===F.value?E.value:z.value)),(0,i.h)(r.Z,t,W)}function $(){return(0,i.wy)((0,i.h)("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:T.value,id:S},(0,m.KR)(t.default)),[[a.F8,w.value]])}function Z(){const t=[V(),(0,i.h)(u.Z,{duration:e.duration,onShow:D,onHide:B},$)];return!0===e.expandSeparator&&t.push((0,i.h)(d.Z,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:g.value}),(0,i.h)(d.Z,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:g.value})),t}return(0,i.YP)((()=>e.group),(e=>{void 0!==L&&L(),void 0!==e&&Y()})),void 0!==e.group&&Y(),(0,i.Jd)((()=>{void 0!==L&&L()})),()=>(0,i.h)("div",{class:j.value},[(0,i.h)("div",{class:"q-expansion-item__container relative-position"},Z())])}})},9361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var o=n(499),i=n(9835),a=n(8879),r=n(2857),s=n(647),l=n(3842),c=n(5987),u=n(2026),d=n(5439),h=n(796);const f=["up","right","down","left"],p=["left","center","right"],g=(0,c.L)({name:"QFab",props:{...s.$,...l.vr,icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:e=>f.includes(e)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:e=>p.includes(e)}},emits:l.gH,setup(e,{slots:t}){const n=(0,o.iH)(null),c=(0,o.iH)(!0===e.modelValue),f=(0,h.Z)(),{proxy:{$q:p}}=(0,i.FN)(),{formClass:g,labelProps:v}=(0,s.Z)(e,c),m=(0,o.Fl)((()=>!0!==e.persistent)),{hide:b,toggle:x}=(0,l.ZP)({showing:c,hideOnRouteChange:m}),y=(0,o.Fl)((()=>({opened:c.value}))),w=(0,o.Fl)((()=>`q-fab z-fab row inline justify-center q-fab--align-${e.verticalActionsAlign} ${g.value}`+(!0===c.value?" q-fab--opened":" q-fab--closed"))),k=(0,o.Fl)((()=>`q-fab__actions flex no-wrap inline q-fab__actions--${e.direction} q-fab__actions--`+(!0===c.value?"opened":"closed"))),S=(0,o.Fl)((()=>{const e={id:f,role:"menu"};return!0!==c.value&&(e["aria-hidden"]="true"),e})),C=(0,o.Fl)((()=>"q-fab__icon-holder q-fab__icon-holder--"+(!0===c.value?"opened":"closed")));function _(n,o){const a=t[n],s=`q-fab__${n} absolute-full`;return void 0===a?(0,i.h)(r.Z,{class:s,name:e[o]||p.iconSet.fab[o]}):(0,i.h)("div",{class:s},a(y.value))}function A(){const n=[];return!0!==e.hideIcon&&n.push((0,i.h)("div",{class:C.value},[_("icon","icon"),_("active-icon","activeIcon")])),""===e.label&&void 0===t.label||n[v.value.action]((0,i.h)("div",v.value.data,void 0!==t.label?t.label(y.value):[e.label])),(0,u.vs)(t.tooltip,n)}return(0,i.JJ)(d.Lr,{showing:c,onChildClick(e){b(e),null!==n.value&&n.value.$el.focus()}}),()=>(0,i.h)("div",{class:w.value},[(0,i.h)(a.Z,{ref:n,class:g.value,...e,noWrap:!0,stack:e.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0,"aria-expanded":!0===c.value?"true":"false","aria-haspopup":"true","aria-controls":f,onClick:x},A),(0,i.h)("div",{class:k.value,...S.value},(0,u.KR)(t.default))])}})},935:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(9835),i=n(499),a=n(8879),r=n(2857),s=n(647),l=n(5987),c=n(5439),u=n(2026),d=n(1384);const h={start:"self-end",center:"self-center",end:"self-start"},f=Object.keys(h),p=(0,l.L)({name:"QFabAction",props:{...s.$,icon:{type:String,default:""},anchor:{type:String,validator:e=>f.includes(e)},to:[String,Object],replace:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const l=(0,o.f3)(c.Lr,(()=>({showing:{value:!0},onChildClick:d.ZT}))),{formClass:f,labelProps:p}=(0,s.Z)(e,l.showing),g=(0,i.Fl)((()=>{const t=h[e.anchor];return f.value+(void 0!==t?` ${t}`:"")})),v=(0,i.Fl)((()=>!0===e.disable||!0!==l.showing.value));function m(e){l.onChildClick(e),n("click",e)}function b(){const n=[];return void 0!==t.icon?n.push(t.icon()):""!==e.icon&&n.push((0,o.h)(r.Z,{name:e.icon})),""===e.label&&void 0===t.label||n[p.value.action]((0,o.h)("div",p.value.data,void 0!==t.label?t.label():[e.label])),(0,u.vs)(t.default,n)}const x=(0,o.FN)();return Object.assign(x.proxy,{click:m}),()=>(0,o.h)(a.Z,{class:g.value,...e,noWrap:!0,stack:e.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:v.value,onClick:m},b)}})},647:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,Z:()=>r});var o=n(499);const i=["top","right","bottom","left"],a={type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:e=>i.includes(e)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]};function r(e,t){return{formClass:(0,o.Fl)((()=>"q-fab--form-"+(!0===e.square?"square":"rounded"))),stacked:(0,o.Fl)((()=>!1===e.externalLabel&&["top","bottom"].includes(e.labelPosition))),labelProps:(0,o.Fl)((()=>{if(!0===e.externalLabel){const n=null===e.hideLabel?!1===t.value:e.hideLabel;return{action:"push",data:{class:[e.labelClass,`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${e.labelPosition}`+(!0===n?" q-fab__label--external-hidden":"")],style:e.labelStyle}}}return{action:["left","top"].includes(e.labelPosition)?"unshift":"push",data:{class:[e.labelClass,`q-fab__label q-fab__label--internal q-fab__label--internal-${e.labelPosition}`+(!0===e.hideLabel?" q-fab__label--internal-hidden":"")],style:e.labelStyle}}}))}}},1378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(9835),i=n(499),a=n(7506),r=n(883),s=n(5987),l=n(2026),c=n(5439);const u=(0,s.L)({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,o.FN)(),u=(0,o.f3)(c.YE,c.qO);if(u===c.qO)return console.error("QFooter needs to be child of QLayout"),c.qO;const d=(0,i.iH)(parseInt(e.heightHint,10)),h=(0,i.iH)(!0),f=(0,i.iH)(!0===a.uX.value||!0===u.isContainer.value?0:window.innerHeight),p=(0,i.Fl)((()=>!0===e.reveal||u.view.value.indexOf("F")>-1||s.platform.is.ios&&!0===u.isContainer.value)),g=(0,i.Fl)((()=>!0===u.isContainer.value?u.containerHeight.value:f.value)),v=(0,i.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===p.value)return!0===h.value?d.value:0;const t=u.scroll.value.position+g.value+d.value-u.height.value;return t>0?t:0})),m=(0,i.Fl)((()=>!0!==e.modelValue||!0===p.value&&!0!==h.value)),b=(0,i.Fl)((()=>!0===e.modelValue&&!0===m.value&&!0===e.reveal)),x=(0,i.Fl)((()=>"q-footer q-layout__section--marginal "+(!0===p.value?"fixed":"absolute")+"-bottom"+(!0===e.bordered?" q-footer--bordered":"")+(!0===m.value?" q-footer--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus"+(!0!==p.value?" hidden":""):""))),y=(0,i.Fl)((()=>{const e=u.rows.value.bottom,t={};return"l"===e[0]&&!0===u.left.space&&(t[!0===s.lang.rtl?"right":"left"]=`${u.left.size}px`),"r"===e[2]&&!0===u.right.space&&(t[!0===s.lang.rtl?"left":"right"]=`${u.right.size}px`),t}));function w(e,t){u.update("footer",e,t)}function k(e,t){e.value!==t&&(e.value=t)}function S({height:e}){k(d,e),w("size",e)}function C(){if(!0!==e.reveal)return;const{direction:t,position:n,inflectionPoint:o}=u.scroll.value;k(h,"up"===t||n-o<100||u.height.value-g.value-n-d.value<300)}function _(e){!0===b.value&&k(h,!0),n("focusin",e)}(0,o.YP)((()=>e.modelValue),(e=>{w("space",e),k(h,!0),u.animate()})),(0,o.YP)(v,(e=>{w("offset",e)})),(0,o.YP)((()=>e.reveal),(t=>{!1===t&&k(h,e.modelValue)})),(0,o.YP)(h,(e=>{u.animate(),n("reveal",e)})),(0,o.YP)([d,u.scroll,u.height],C),(0,o.YP)((()=>s.screen.height),(e=>{!0!==u.isContainer.value&&k(f,e)}));const A={};return u.instances.footer=A,!0===e.modelValue&&w("size",d.value),w("space",e.modelValue),w("offset",v.value),(0,o.Jd)((()=>{u.instances.footer===A&&(u.instances.footer=void 0,w("size",0),w("offset",0),w("space",!1))})),()=>{const n=(0,l.vs)(t.default,[(0,o.h)(r.Z,{debounce:0,onResize:S})]);return!0===e.elevated&&n.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),(0,o.h)("footer",{class:x.value,style:y.value,onFocusin:_},n)}}})},6602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(883),r=n(5987),s=n(2026),l=n(5439);const c=(0,r.L)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.FN)(),c=(0,o.f3)(l.YE,l.qO);if(c===l.qO)return console.error("QHeader needs to be child of QLayout"),l.qO;const u=(0,i.iH)(parseInt(e.heightHint,10)),d=(0,i.iH)(!0),h=(0,i.Fl)((()=>!0===e.reveal||c.view.value.indexOf("H")>-1||r.platform.is.ios&&!0===c.isContainer.value)),f=(0,i.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===h.value)return!0===d.value?u.value:0;const t=u.value-c.scroll.value.position;return t>0?t:0})),p=(0,i.Fl)((()=>!0!==e.modelValue||!0===h.value&&!0!==d.value)),g=(0,i.Fl)((()=>!0===e.modelValue&&!0===p.value&&!0===e.reveal)),v=(0,i.Fl)((()=>"q-header q-layout__section--marginal "+(!0===h.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===p.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),m=(0,i.Fl)((()=>{const e=c.rows.value.top,t={};return"l"===e[0]&&!0===c.left.space&&(t[!0===r.lang.rtl?"right":"left"]=`${c.left.size}px`),"r"===e[2]&&!0===c.right.space&&(t[!0===r.lang.rtl?"left":"right"]=`${c.right.size}px`),t}));function b(e,t){c.update("header",e,t)}function x(e,t){e.value!==t&&(e.value=t)}function y({height:e}){x(u,e),b("size",e)}function w(e){!0===g.value&&x(d,!0),n("focusin",e)}(0,o.YP)((()=>e.modelValue),(e=>{b("space",e),x(d,!0),c.animate()})),(0,o.YP)(f,(e=>{b("offset",e)})),(0,o.YP)((()=>e.reveal),(t=>{!1===t&&x(d,e.modelValue)})),(0,o.YP)(d,(e=>{c.animate(),n("reveal",e)})),(0,o.YP)(c.scroll,(t=>{!0===e.reveal&&x(d,"up"===t.direction||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)}));const k={};return c.instances.header=k,!0===e.modelValue&&b("size",u.value),b("space",e.modelValue),b("offset",f.value),(0,o.Jd)((()=>{c.instances.header===k&&(c.instances.header=void 0,b("size",0),b("offset",0),b("space",!1))})),()=>{const n=(0,s.Bl)(t.default,[]);return!0===e.elevated&&n.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,o.h)(a.Z,{debounce:0,onResize:y})),(0,o.h)("header",{class:v.value,style:m.value,onFocusin:w},n)}}})},2857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var o=n(9835),i=n(499),a=n(244),r=n(5987),s=n(2026);const l="0 0 24 24",c=e=>e,u=e=>`ionicons ${e}`,d={"mdi-":e=>`mdi ${e}`,"icon-":c,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":u,"ion-ios":u,"ion-logo":u,"iconfont ":c,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},h={o_:"-outlined",r_:"-round",s_:"-sharp"},f={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},p=new RegExp("^("+Object.keys(d).join("|")+")"),g=new RegExp("^("+Object.keys(h).join("|")+")"),v=new RegExp("^("+Object.keys(f).join("|")+")"),m=/^[Mm]\s?[-+]?\.?\d/,b=/^img:/,x=/^svguse:/,y=/^ion-/,w=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,k=(0,r.L)({name:"QIcon",props:{...a.LU,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),r=(0,a.ZP)(e),c=(0,i.Fl)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),u=(0,i.Fl)((()=>{let t,i=e.name;if("none"===i||!i)return{none:!0};if(null!==n.iconMapFn){const e=n.iconMapFn(i);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(i=e.icon,"none"===i||!i)return{none:!0}}}if(!0===m.test(i)){const[e,t=l]=i.split("|");return{svg:!0,viewBox:t,nodes:e.split("&&").map((e=>{const[t,n,i]=e.split("@@");return(0,o.h)("path",{style:n,d:t,transform:i})}))}}if(!0===b.test(i))return{img:!0,src:i.substring(4)};if(!0===x.test(i)){const[e,t=l]=i.split("|");return{svguse:!0,src:e.substring(7),viewBox:t}}let a=" ";const r=i.match(p);if(null!==r)t=d[r[1]](i);else if(!0===w.test(i))t=i;else if(!0===y.test(i))t=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${i.substring(3)}`;else if(!0===v.test(i)){t="notranslate material-symbols";const e=i.match(v);null!==e&&(i=i.substring(6),t+=f[e[1]]),a=i}else{t="notranslate material-icons";const e=i.match(g);null!==e&&(i=i.substring(2),t+=h[e[1]]),a=i}return{cls:t,content:a}}));return()=>{const n={class:c.value,style:r.value,"aria-hidden":"true",role:"presentation"};return!0===u.value.none?(0,o.h)(e.tag,n,(0,s.KR)(t.default)):!0===u.value.img?(0,o.h)("span",n,(0,s.vs)(t.default,[(0,o.h)("img",{src:u.value.src})])):!0===u.value.svg?(0,o.h)("span",n,(0,s.vs)(t.default,[(0,o.h)("svg",{viewBox:u.value.viewBox||"0 0 24 24"},u.value.nodes)])):!0===u.value.svguse?(0,o.h)("span",n,(0,s.vs)(t.default,[(0,o.h)("svg",{viewBox:u.value.viewBox},[(0,o.h)("use",{"xlink:href":u.value.src})])])):(void 0!==u.value.cls&&(n.class+=" "+u.value.cls),(0,o.h)(e.tag,n,(0,s.vs)(t.default,[u.value.content])))}}})},6611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var o=n(9835),i=n(499),a=n(6169),r=n(1705);const s={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},l={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},c=Object.keys(l);c.forEach((e=>{l[e].regex=new RegExp(l[e].pattern)}));const u=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),d=/[.*+?^${}()|[\]\\]/g,h=String.fromCharCode(1),f={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function p(e,t,n,a){let c,f,p,g,v,m;const b=(0,i.iH)(null),x=(0,i.iH)(w());function y(){return!0===e.autogrow||["textarea","text","search","url","tel","password"].includes(e.type)}function w(){if(S(),!0===b.value){const t=j(F(e.modelValue));return!1!==e.fillMask?E(t):t}return e.modelValue}function k(e){if(e-1){for(let o=e-n.length;o>0;o--)t+=h;n=n.slice(0,o)+t+n.slice(o)}return n}function S(){if(b.value=void 0!==e.mask&&e.mask.length>0&&y(),!1===b.value)return g=void 0,c="",void(f="");const t=void 0===s[e.mask]?e.mask:s[e.mask],n="string"===typeof e.fillMask&&e.fillMask.length>0?e.fillMask.slice(0,1):"_",o=n.replace(d,"\\$&"),i=[],a=[],r=[];let v=!0===e.reverseFillMask,m="",x="";t.replace(u,((e,t,n,o,s)=>{if(void 0!==o){const e=l[o];r.push(e),x=e.negate,!0===v&&(a.push("(?:"+x+"+)?("+e.pattern+"+)?(?:"+x+"+)?("+e.pattern+"+)?"),v=!1),a.push("(?:"+x+"+)?("+e.pattern+")?")}else if(void 0!==n)m="\\"+("\\"===n?"":n),r.push(n),i.push("([^"+m+"]+)?"+m+"?");else{const e=void 0!==t?t:s;m="\\"===e?"\\\\\\\\":e.replace(d,"\\\\$&"),r.push(e),i.push("([^"+m+"]+)?"+m+"?")}}));const w=new RegExp("^"+i.join("")+"("+(""===m?".":"[^"+m+"]")+"+)?"+(""===m?"":"["+m+"]*")+"$"),k=a.length-1,S=a.map(((t,n)=>0===n&&!0===e.reverseFillMask?new RegExp("^"+o+"*"+t):n===k?new RegExp("^"+t+"("+(""===x?".":x)+"+)?"+(!0===e.reverseFillMask?"$":o+"*")):new RegExp("^"+t)));p=r,g=t=>{const n=w.exec(!0===e.reverseFillMask?t:t.slice(0,r.length+1));null!==n&&(t=n.slice(1).join(""));const o=[],i=S.length;for(let e=0,a=t;e0?o.join(""):t},c=r.map((e=>"string"===typeof e?e:h)).join(""),f=c.split(h).join(n)}function C(t,i,r){const s=a.value,l=s.selectionEnd,u=s.value.length-l,d=F(t);!0===i&&S();const p=j(d),g=!1!==e.fillMask?E(p):p,m=x.value!==g;s.value!==g&&(s.value=g),!0===m&&(x.value=g),document.activeElement===s&&(0,o.Y3)((()=>{if(g!==f)if("insertFromPaste"!==r||!0===e.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(r)>-1){const t=!0===e.reverseFillMask?0===l?g.length>p.length?1:0:Math.max(0,g.length-(g===f?0:Math.min(p.length,u)+1))+1:l;s.setSelectionRange(t,t,"forward")}else if(!0===e.reverseFillMask)if(!0===m){const e=Math.max(0,g.length-(g===f?0:Math.min(p.length,u+1)));1===e&&1===l?s.setSelectionRange(e,e,"forward"):A.rightReverse(s,e)}else{const e=g.length-u;s.setSelectionRange(e,e,"backward")}else if(!0===m){const e=Math.max(0,c.indexOf(h),Math.min(p.length,l)-1);A.right(s,e)}else{const e=l-1;A.right(s,e)}else{const e=s.selectionEnd;let t=l-1;for(let n=v;n<=t&&ne.type+e.autogrow),S),(0,o.YP)((()=>e.mask),(n=>{if(void 0!==n)C(x.value,!0);else{const n=F(x.value);S(),e.modelValue!==n&&t("update:modelValue",n)}})),(0,o.YP)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===b.value&&C(x.value,!0)})),(0,o.YP)((()=>e.unmaskedValue),(()=>{!0===b.value&&C(x.value)}));const A={left(e,t){const n=-1===c.slice(t-1).indexOf(h);let o=Math.max(0,t-1);for(;o>=0;o--)if(c[o]===h){t=o,!0===n&&t++;break}if(o<0&&void 0!==c[t]&&c[t]!==h)return A.right(e,0);t>=0&&e.setSelectionRange(t,t,"backward")},right(e,t){const n=e.value.length;let o=Math.min(n,t+1);for(;o<=n;o++){if(c[o]===h){t=o;break}c[o-1]===h&&(t=o)}if(o>n&&void 0!==c[t-1]&&c[t-1]!==h)return A.left(e,n);e.setSelectionRange(t,t,"forward")},leftReverse(e,t){const n=k(e.value.length);let o=Math.max(0,t-1);for(;o>=0;o--){if(n[o-1]===h){t=o;break}if(n[o]===h&&(t=o,0===o))break}if(o<0&&void 0!==n[t]&&n[t]!==h)return A.rightReverse(e,0);t>=0&&e.setSelectionRange(t,t,"backward")},rightReverse(e,t){const n=e.value.length,o=k(n),i=-1===o.slice(0,t+1).indexOf(h);let a=Math.min(n,t+1);for(;a<=n;a++)if(o[a-1]===h){t=a,t>0&&!0===i&&t--;break}if(a>n&&void 0!==o[t-1]&&o[t-1]!==h)return A.leftReverse(e,n);e.setSelectionRange(t,t,"forward")}};function P(e){t("click",e),m=void 0}function L(n){if(t("keydown",n),!0===(0,r.Wm)(n))return;const o=a.value,i=o.selectionStart,s=o.selectionEnd;if(n.shiftKey||(m=void 0),37===n.keyCode||39===n.keyCode){n.shiftKey&&void 0===m&&(m="forward"===o.selectionDirection?i:s);const t=A[(39===n.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];if(n.preventDefault(),t(o,m===i?s:i),n.shiftKey){const e=o.selectionStart;o.setSelectionRange(Math.min(m,e),Math.max(m,e),"forward")}}else 8===n.keyCode&&!0!==e.reverseFillMask&&i===s?A.left(o,i):46===n.keyCode&&!0===e.reverseFillMask&&i===s&&A.rightReverse(o,s)}function j(t){if(void 0===t||null===t||""===t)return"";if(!0===e.reverseFillMask)return T(t);const n=p;let o=0,i="";for(let e=0;e=0&&o>-1;a--){const r=t[a];let s=e[o];if("string"===typeof r)i=r+i,s===r&&o--;else{if(void 0===s||!r.regex.test(s))return i;do{i=(void 0!==r.transform?r.transform(s):s)+i,o--,s=e[o]}while(n===a&&void 0!==s&&r.regex.test(s))}}return i}function F(e){return"string"!==typeof e||void 0===g?"number"===typeof e?g(""+e):e:g(e)}function E(t){return f.length-t.length<=0?t:!0===e.reverseFillMask&&t.length>0?f.slice(0,-t.length)+t:t+f.slice(t.length)}return{innerValue:x,hasMask:b,moveCursorForPaste:_,updateMaskValue:C,onMaskedKeydown:L,onMaskedClick:P}}var g=n(9256);function v(e,t){function n(){const t=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(t)===t&&("length"in t?Array.from(t):[t]).forEach((t=>{e.items.add(t)})),{files:e.files}}catch(n){return{files:void 0}}}return!0===t?(0,i.Fl)((()=>{if("file"===e.type)return n()})):(0,i.Fl)(n)}var m=n(2802),b=n(5987),x=n(1384),y=n(7026),w=n(3251);const k=(0,b.L)({name:"QInput",inheritAttrs:!1,props:{...a.Cl,...f,...g.Fz,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...a.HJ,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:r}=(0,o.FN)(),{$q:s}=r,l={};let c,u,d,h=NaN,f=null;const b=(0,i.iH)(null),k=(0,g.Do)(e),{innerValue:S,hasMask:C,moveCursorForPaste:_,updateMaskValue:A,onMaskedKeydown:P,onMaskedClick:L}=p(e,t,B,b),j=v(e,!0),T=(0,i.Fl)((()=>(0,a.yV)(S.value))),F=(0,m.Z)(N),E=(0,a.tL)(),M=(0,i.Fl)((()=>"textarea"===e.type||!0===e.autogrow)),O=(0,i.Fl)((()=>!0===M.value||["text","search","url","tel","password"].includes(e.type))),R=(0,i.Fl)((()=>{const t={...E.splitAttrs.listeners.value,onInput:N,onPaste:q,onChange:X,onBlur:W,onFocus:x.sT};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=F,!0===C.value&&(t.onKeydown=P,t.onClick=L),!0===e.autogrow&&(t.onAnimationend=D),t})),I=(0,i.Fl)((()=>{const t={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:k.value,...E.splitAttrs.attributes.value,id:E.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===M.value&&(t.type=e.type),!0===e.autogrow&&(t.rows=1),t}));function z(){(0,y.jd)((()=>{const e=document.activeElement;null===b.value||b.value===e||null!==e&&e.id===E.targetUid.value||b.value.focus({preventScroll:!0})}))}function H(){null!==b.value&&b.value.select()}function q(n){if(!0===C.value&&!0!==e.reverseFillMask){const e=n.target;_(e,e.selectionStart,e.selectionEnd)}t("paste",n)}function N(n){if(!n||!n.target)return;if("file"===e.type)return void t("update:modelValue",n.target.files);const i=n.target.value;if(!0!==n.target.qComposing){if(!0===C.value)A(i,!1,n.inputType);else if(B(i),!0===O.value&&n.target===document.activeElement){const{selectionStart:e,selectionEnd:t}=n.target;void 0!==e&&void 0!==t&&(0,o.Y3)((()=>{n.target===document.activeElement&&0===i.indexOf(n.target.value)&&n.target.setSelectionRange(e,t)}))}!0===e.autogrow&&Y()}else l.value=i}function D(e){t("animationend",e),Y()}function B(n,i){d=()=>{f=null,"number"!==e.type&&!0===l.hasOwnProperty("value")&&delete l.value,e.modelValue!==n&&h!==n&&(h=n,!0===i&&(u=!0),t("update:modelValue",n),(0,o.Y3)((()=>{h===n&&(h=NaN)}))),d=void 0},"number"===e.type&&(c=!0,l.value=n),void 0!==e.debounce?(null!==f&&clearTimeout(f),l.value=n,f=setTimeout(d,e.debounce)):d()}function Y(){requestAnimationFrame((()=>{const e=b.value;if(null!==e){const t=e.parentNode.style,{scrollTop:n}=e,{overflowY:o,maxHeight:i}=!0===s.platform.is.firefox?{}:window.getComputedStyle(e),a=void 0!==o&&"scroll"!==o;!0===a&&(e.style.overflowY="hidden"),t.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",!0===a&&(e.style.overflowY=parseInt(i,10){null!==b.value&&(b.value.value=void 0!==S.value?S.value:"")}))}function V(){return!0===l.hasOwnProperty("value")?l.value:void 0!==S.value?S.value:""}(0,o.YP)((()=>e.type),(()=>{b.value&&(b.value.value=e.modelValue)})),(0,o.YP)((()=>e.modelValue),(t=>{if(!0===C.value){if(!0===u&&(u=!1,String(t)===h))return;A(t)}else S.value!==t&&(S.value=t,"number"===e.type&&!0===l.hasOwnProperty("value")&&(!0===c?c=!1:delete l.value));!0===e.autogrow&&(0,o.Y3)(Y)})),(0,o.YP)((()=>e.autogrow),(e=>{!0===e?(0,o.Y3)(Y):null!==b.value&&n.rows>0&&(b.value.style.height="auto")})),(0,o.YP)((()=>e.dense),(()=>{!0===e.autogrow&&(0,o.Y3)(Y)})),(0,o.Jd)((()=>{W()})),(0,o.bv)((()=>{!0===e.autogrow&&Y()})),Object.assign(E,{innerValue:S,fieldClass:(0,i.Fl)((()=>"q-"+(!0===M.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,i.Fl)((()=>"file"!==e.type&&"string"===typeof e.shadowText&&e.shadowText.length>0)),inputRef:b,emitValue:B,hasValue:T,floatingLabel:(0,i.Fl)((()=>!0===T.value&&("number"!==e.type||!1===isNaN(S.value))||(0,a.yV)(e.displayValue))),getControl:()=>(0,o.h)(!0===M.value?"textarea":"input",{ref:b,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...I.value,...R.value,..."file"!==e.type?{value:V()}:j.value}),getShadowControl:()=>(0,o.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===M.value?"":" text-no-wrap")},[(0,o.h)("span",{class:"invisible"},V()),(0,o.h)("span",e.shadowText)])});const $=(0,a.ZP)(E);return Object.assign(r,{focus:z,select:H,getNativeElement:()=>b.value}),(0,w.g)(r,"nativeEl",(()=>b.value)),$}})},490:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(8234),r=n(945),s=n(5987),l=n(2026),c=n(1384),u=n(1705);const d=(0,s.L)({name:"QItem",props:{...a.S,...r.$,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,o.FN)(),d=(0,a.Z)(e,s),{hasLink:h,linkAttrs:f,linkClass:p,linkTag:g,navigateOnClick:v}=(0,r.Z)(),m=(0,i.iH)(null),b=(0,i.iH)(null),x=(0,i.Fl)((()=>!0===e.clickable||!0===h.value||"label"===e.tag)),y=(0,i.Fl)((()=>!0!==e.disable&&!0===x.value)),w=(0,i.Fl)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===d.value?" q-item--dark":"")+(!0===h.value&&null===e.active?p.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===y.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),k=(0,i.Fl)((()=>{if(void 0===e.insetLevel)return null;const t=!0===s.lang.rtl?"Right":"Left";return{["padding"+t]:16+56*e.insetLevel+"px"}}));function S(e){!0===y.value&&(null!==b.value&&(!0!==e.qKeyEvent&&document.activeElement===m.value?b.value.focus():document.activeElement===b.value&&m.value.focus()),v(e))}function C(e){if(!0===y.value&&!0===(0,u.So)(e,13)){(0,c.NS)(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,m.value.dispatchEvent(t)}n("keyup",e)}function _(){const e=(0,l.Bl)(t.default,[]);return!0===y.value&&e.unshift((0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:b})),e}return()=>{const t={ref:m,class:w.value,style:k.value,role:"listitem",onClick:S,onKeyup:C};return!0===y.value?(t.tabindex=e.tabindex||"0",Object.assign(t,f.value)):!0===x.value&&(t["aria-disabled"]="true"),(0,o.h)(g.value,t,_())}}})},3115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=(0,o.Fl)((()=>parseInt(e.lines,10))),a=(0,o.Fl)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===n.value?" ellipsis":""))),s=(0,o.Fl)((()=>void 0!==e.lines&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null));return()=>(0,i.h)("div",{style:s.value,class:a.value},(0,r.KR)(t.default))}})},1233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,i.h)("div",{class:n.value},(0,r.KR)(t.default))}})},3246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(8234),s=n(2026);const l=(0,a.L)({name:"QList",props:{...r.S,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=(0,o.FN)(),a=(0,r.Z)(e,n.proxy.$q),l=(0,i.Fl)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===a.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,o.h)(e.tag,{class:l.value},(0,s.KR)(t.default))}})},249:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(9835),i=n(499),a=n(7506),r=n(1868),s=n(883),l=n(5987),c=n(3701),u=n(2026),d=n(5439);const h=(0,l.L)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,o.FN)(),h=(0,i.iH)(null),f=(0,i.iH)(l.screen.height),p=(0,i.iH)(!0===e.container?0:l.screen.width),g=(0,i.iH)({position:0,direction:"down",inflectionPoint:0}),v=(0,i.iH)(0),m=(0,i.iH)(!0===a.uX.value?0:(0,c.np)()),b=(0,i.Fl)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),x=(0,i.Fl)((()=>!1===e.container?{minHeight:l.screen.height+"px"}:null)),y=(0,i.Fl)((()=>0!==m.value?{[!0===l.lang.rtl?"left":"right"]:`${m.value}px`}:null)),w=(0,i.Fl)((()=>0!==m.value?{[!0===l.lang.rtl?"right":"left"]:0,[!0===l.lang.rtl?"left":"right"]:`-${m.value}px`,width:`calc(100% + ${m.value}px)`}:null));function k(t){if(!0===e.container||!0!==document.qScrollPrevented){const o={position:t.position.top,direction:t.direction,directionChanged:t.directionChanged,inflectionPoint:t.inflectionPoint.top,delta:t.delta.top};g.value=o,void 0!==e.onScroll&&n("scroll",o)}}function S(t){const{height:o,width:i}=t;let a=!1;f.value!==o&&(a=!0,f.value=o,void 0!==e.onScrollHeight&&n("scrollHeight",o),_()),p.value!==i&&(a=!0,p.value=i),!0===a&&void 0!==e.onResize&&n("resize",t)}function C({height:e}){v.value!==e&&(v.value=e,_())}function _(){if(!0===e.container){const e=f.value>v.value?(0,c.np)():0;m.value!==e&&(m.value=e)}}let A=null;const P={instances:{},view:(0,i.Fl)((()=>e.view)),isContainer:(0,i.Fl)((()=>e.container)),rootRef:h,height:f,containerHeight:v,scrollbarWidth:m,totalWidth:(0,i.Fl)((()=>p.value+m.value)),rows:(0,i.Fl)((()=>{const t=e.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}})),header:(0,i.qj)({size:0,offset:0,space:!1}),right:(0,i.qj)({size:300,offset:0,space:!1}),footer:(0,i.qj)({size:0,offset:0,space:!1}),left:(0,i.qj)({size:300,offset:0,space:!1}),scroll:g,animate(){null!==A?clearTimeout(A):document.body.classList.add("q-body--layout-animate"),A=setTimeout((()=>{A=null,document.body.classList.remove("q-body--layout-animate")}),155)},update(e,t,n){P[e][t]=n}};if((0,o.JJ)(d.YE,P),(0,c.np)()>0){let L=null;const j=document.body;function T(){L=null,j.classList.remove("hide-scrollbar")}function F(){if(null===L){if(j.scrollHeight>l.screen.height)return;j.classList.add("hide-scrollbar")}else clearTimeout(L);L=setTimeout(T,300)}function E(e){null!==L&&"remove"===e&&(clearTimeout(L),T()),window[`${e}EventListener`]("resize",F)}(0,o.YP)((()=>!0!==e.container?"add":"remove"),E),!0!==e.container&&E("add"),(0,o.Ah)((()=>{E("remove")}))}return()=>{const n=(0,u.vs)(t.default,[(0,o.h)(r.Z,{onScroll:k}),(0,o.h)(s.Z,{onResize:S})]),i=(0,o.h)("div",{class:b.value,style:x.value,ref:!0===e.container?void 0:h,tabindex:-1},n);return!0===e.container?(0,o.h)("div",{class:"q-layout-container overflow-hidden",ref:h},[(0,o.h)(s.Z,{onResize:C}),(0,o.h)("div",{class:"absolute-full",style:y.value},[(0,o.h)("div",{class:"scroll",style:w.value},[i])])]):i}}})},8289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(8234),r=n(244),s=n(5987),l=n(2026);const c={xs:2,sm:4,md:6,lg:10,xl:14};function u(e,t,n){return{transform:!0===t?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const d=(0,s.L)({name:"QLinearProgress",props:{...a.S,...r.LU,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=(0,o.FN)(),s=(0,a.Z)(e,n.$q),d=(0,r.ZP)(e,c),h=(0,i.Fl)((()=>!0===e.indeterminate||!0===e.query)),f=(0,i.Fl)((()=>e.reverse!==e.query)),p=(0,i.Fl)((()=>({...null!==d.value?d.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`}))),g=(0,i.Fl)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),v=(0,i.Fl)((()=>u(void 0!==e.buffer?e.buffer:1,f.value,n.$q))),m=(0,i.Fl)((()=>`with${!0===e.instantFeedback?"out":""}-transition`)),b=(0,i.Fl)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--${m.value} q-linear-progress__track--`+(!0===s.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),x=(0,i.Fl)((()=>u(!0===h.value?1:e.value,f.value,n.$q))),y=(0,i.Fl)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--${m.value} q-linear-progress__model--${!0===h.value?"in":""}determinate`)),w=(0,i.Fl)((()=>({width:100*e.value+"%"}))),k=(0,i.Fl)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")+` q-linear-progress__stripe--${m.value}`));return()=>{const n=[(0,o.h)("div",{class:b.value,style:v.value}),(0,o.h)("div",{class:y.value,style:x.value})];return!0===e.stripe&&!1===h.value&&n.push((0,o.h)("div",{class:k.value,style:w.value})),(0,o.h)("div",{class:g.value,style:p.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},(0,l.vs)(t.default,n))}}})},6933:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(8234),r=n(5987),s=n(2026);const l=["horizontal","vertical","cell","none"],c=(0,r.L)({name:"QMarkupTable",props:{...a.S,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>l.includes(e)}},setup(e,{slots:t}){const n=(0,o.FN)(),r=(0,a.Z)(e,n.proxy.$q),l=(0,i.Fl)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===r.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,o.h)("div",{class:l.value},[(0,o.h)("table",{class:"q-table"},(0,s.KR)(t.default))])}})},5290:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var o=n(9835),i=n(499),a=n(1957),r=n(2589),s=n(1384),l=n(1705);const c={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function u({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:a,proxy:c,emit:u}=(0,o.FN)(),d=(0,i.iH)(null);let h=null;function f(e){return null!==d.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const p={};function g(){(0,s.ul)(p,"anchor")}function v(e){d.value=e;while(d.value.classList.contains("q-anchor--skip"))d.value=d.value.parentNode;n()}function m(){if(!1===a.target||""===a.target||null===c.$el.parentNode)d.value=null;else if(!0===a.target)v(c.$el.parentNode);else{let t=a.target;if("string"===typeof a.target)try{t=document.querySelector(a.target)}catch(e){t=void 0}void 0!==t&&null!==t?(d.value=t.$el||t,n()):(d.value=null,console.error(`Anchor: target "${a.target}" not found`))}}return void 0===n&&(Object.assign(p,{hide(e){c.hide(e)},toggle(e){c.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===(0,l.So)(e,13)&&p.toggle(e)},contextClick(e){c.hide(e),(0,s.X$)(e),(0,o.Y3)((()=>{c.show(e),e.qAnchorHandled=!0}))},prevent:s.X$,mobileTouch(e){if(p.mobileCleanup(e),!0!==f(e))return;c.hide(e),d.value.classList.add("non-selectable");const t=e.target;(0,s.M0)(p,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[d.value,"contextmenu","prevent","notPassive"]]),h=setTimeout((()=>{h=null,c.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(t){d.value.classList.remove("non-selectable"),null!==h&&(clearTimeout(h),h=null),!0===e.value&&void 0!==t&&(0,r.M)()}}),n=function(e=a.contextMenu){if(!0===a.noParentEvent||null===d.value)return;let t;t=!0===e?!0===c.$q.platform.is.mobile?[[d.value,"touchstart","mobileTouch","passive"]]:[[d.value,"mousedown","hide","passive"],[d.value,"contextmenu","contextClick","notPassive"]]:[[d.value,"click","toggle","passive"],[d.value,"keyup","toggleKey","passive"]],(0,s.M0)(p,"anchor",t)}),(0,o.YP)((()=>a.contextMenu),(e=>{null!==d.value&&(g(),n(e))})),(0,o.YP)((()=>a.target),(()=>{null!==d.value&&g(),m()})),(0,o.YP)((()=>a.noParentEvent),(e=>{null!==d.value&&(!0===e?g():n())})),(0,o.bv)((()=>{m(),!0!==t&&!0===a.modelValue&&null===d.value&&u("update:modelValue",!1)})),(0,o.Jd)((()=>{null!==h&&clearTimeout(h),g()})),{anchorEl:d,canShow:f,anchorEvents:p}}function d(e,t){const n=(0,i.iH)(null);let a;function r(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",o=void 0!==t?t:a;e!==window&&e[n]("scroll",o,s.rU.passive),window[n]("scroll",o,s.rU.passive),a=t}function l(){null!==n.value&&(r(n.value),n.value=null)}const c=(0,o.YP)((()=>e.noParentEvent),(()=>{null!==n.value&&(l(),t())}));return(0,o.Jd)(c),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:r}}var h=n(3842),f=n(8234),p=n(1518),g=n(431),v=n(6916),m=n(2695),b=n(5987),x=n(2909),y=n(3701),w=n(2026),k=n(6532),S=n(4173),C=n(223);let _=null;const{notPassiveCapture:A}=s.rU,P=[];function L(e){null!==_&&(clearTimeout(_),_=null);const t=e.target;if(void 0===t||8===t.nodeType||!0===t.classList.contains("no-pointer-events"))return;let n=x.Q$.length-1;while(n>=0){const e=x.Q$[n].$;if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;n--}for(let o=P.length-1;o>=0;o--){const n=P[o];if(null!==n.anchorEl.value&&!1!==n.anchorEl.value.contains(t)||t!==document.body&&(null===n.innerRef.value||!1!==n.innerRef.value.contains(t)))return;e.qClickOutside=!0,n.onClickOutside(e)}}function j(e){P.push(e),1===P.length&&(document.addEventListener("mousedown",L,A),document.addEventListener("touchstart",L,A))}function T(e){const t=P.findIndex((t=>t===e));t>-1&&(P.splice(t,1),0===P.length&&(null!==_&&(clearTimeout(_),_=null),document.removeEventListener("mousedown",L,A),document.removeEventListener("touchstart",L,A)))}var F=n(7026),E=n(7506);let M,O;function R(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function I(e){return!e||2===e.length&&("number"===typeof e[0]&&"number"===typeof e[1])}const z={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function H(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:z[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function q(e,t){let{top:n,left:o,right:i,bottom:a,width:r,height:s}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],o-=t[0],a+=t[1],i+=t[0],r+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:o,right:i,width:r,middle:o+(i-o)/2,center:n+(a-n)/2}}function N(e,t,n){let{top:o,left:i}=e.getBoundingClientRect();return o+=t.top,i+=t.left,void 0!==n&&(o+=n[1],i+=n[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function D(e){return{top:0,center:e.offsetHeight/2,bottom:e.offsetHeight,left:0,middle:e.offsetWidth/2,right:e.offsetWidth}}function B(e,t,n){return{top:e[n.anchorOrigin.vertical]-t[n.selfOrigin.vertical],left:e[n.anchorOrigin.horizontal]-t[n.selfOrigin.horizontal]}}function Y(e){if(!0===E.Lp.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==M&&(e.setProperty("--q-pe-left",t+"px"),M=t),n!==O&&(e.setProperty("--q-pe-top",n+"px"),O=n)}const{scrollLeft:t,scrollTop:n}=e.el,o=void 0===e.absoluteOffset?q(e.anchorEl,!0===e.cover?[0,0]:e.offset):N(e.anchorEl,e.absoluteOffset,e.offset);let i={maxHeight:e.maxHeight,maxWidth:e.maxWidth,visibility:"visible"};!0!==e.fit&&!0!==e.cover||(i.minWidth=o.width+"px",!0===e.cover&&(i.minHeight=o.height+"px")),Object.assign(e.el.style,i);const a=D(e.el);let r=B(o,a,e);if(void 0===e.absoluteOffset||void 0===e.offset)X(r,o,a,e.anchorOrigin,e.selfOrigin);else{const{top:t,left:n}=r;X(r,o,a,e.anchorOrigin,e.selfOrigin);let i=!1;if(r.top!==t){i=!0;const t=2*e.offset[1];o.center=o.top-=t,o.bottom-=t+2}if(r.left!==n){i=!0;const t=2*e.offset[0];o.middle=o.left-=t,o.right-=t+2}!0===i&&(r=B(o,a,e),X(r,o,a,e.anchorOrigin,e.selfOrigin))}i={top:r.top+"px",left:r.left+"px"},void 0!==r.maxHeight&&(i.maxHeight=r.maxHeight+"px",o.height>r.maxHeight&&(i.minHeight=i.maxHeight)),void 0!==r.maxWidth&&(i.maxWidth=r.maxWidth+"px",o.width>r.maxWidth&&(i.minWidth=i.maxWidth)),Object.assign(e.el.style,i),e.el.scrollTop!==n&&(e.el.scrollTop=n),e.el.scrollLeft!==t&&(e.el.scrollLeft=t)}function X(e,t,n,o,i){const a=n.bottom,r=n.right,s=(0,y.np)(),l=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+a>l)if("center"===i.vertical)e.top=t[o.vertical]>l/2?Math.max(0,l-a):0,e.maxHeight=Math.min(a,l);else if(t[o.vertical]>l/2){const n=Math.min(l,"center"===o.vertical?t.center:o.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,"center"===o.vertical?t.center:o.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,l-e.top);if(e.left<0||e.left+r>c)if(e.maxWidth=Math.min(r,c),"middle"===i.horizontal)e.left=t[o.horizontal]>c/2?Math.max(0,c-r):0;else if(t[o.horizontal]>c/2){const n=Math.min(c,"middle"===o.horizontal?t.middle:o.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(r,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===o.horizontal?t.middle:o.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(r,c-e.left)}["left","middle","right"].forEach((e=>{z[`${e}#ltr`]=e,z[`${e}#rtl`]=e}));const W=(0,b.L)({name:"QMenu",inheritAttrs:!1,props:{...c,...h.vr,...f.S,...g.D,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:R},self:{type:String,validator:R},offset:{type:Array,validator:I},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...h.gH,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){let l,c,b,_=null;const A=(0,o.FN)(),{proxy:P}=A,{$q:L}=P,E=(0,i.iH)(null),M=(0,i.iH)(!1),O=(0,i.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),R=(0,f.Z)(e,L),{registerTick:I,removeTick:z}=(0,v.Z)(),{registerTimeout:q}=(0,m.Z)(),{transitionProps:N,transitionStyle:D}=(0,g.Z)(e),{localScrollTarget:B,changeScrollEvent:X,unconfigureScrollTarget:W}=d(e,le),{anchorEl:V,canShow:$}=u({showing:M}),{hide:Z}=(0,h.ZP)({showing:M,canShow:$,handleShow:ae,handleHide:re,hideOnRouteChange:O,processOnMount:!0}),{showPortal:U,hidePortal:G,renderPortal:K}=(0,p.Z)(A,E,fe,"menu"),J={anchorEl:V,innerRef:E,onClickOutside(t){if(!0!==e.persistent&&!0===M.value)return Z(t),("touchstart"===t.type||t.target.classList.contains("q-dialog__backdrop"))&&(0,s.NS)(t),!0}},Q=(0,i.Fl)((()=>H(e.anchor||(!0===e.cover?"center middle":"bottom start"),L.lang.rtl))),ee=(0,i.Fl)((()=>!0===e.cover?Q.value:H(e.self||"top start",L.lang.rtl))),te=(0,i.Fl)((()=>(!0===e.square?" q-menu--square":"")+(!0===R.value?" q-menu--dark q-dark":""))),ne=(0,i.Fl)((()=>!0===e.autoClose?{onClick:ce}:{})),oe=(0,i.Fl)((()=>!0===M.value&&!0!==e.persistent));function ie(){(0,F.jd)((()=>{let e=E.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function ae(t){if(_=!1===e.noRefocus?document.activeElement:null,(0,S.i)(ue),U(),le(),l=void 0,void 0!==t&&(e.touchPosition||e.contextMenu)){const e=(0,s.FK)(t);if(void 0!==e.left){const{top:t,left:n}=V.value.getBoundingClientRect();l={left:e.left-n,top:e.top-t}}}void 0===c&&(c=(0,o.YP)((()=>L.screen.width+"|"+L.screen.height+"|"+e.self+"|"+e.anchor+"|"+L.lang.rtl),he)),!0!==e.noFocus&&document.activeElement.blur(),I((()=>{he(),!0!==e.noFocus&&ie()})),q((()=>{!0===L.platform.is.ios&&(b=e.autoClose,E.value.click()),he(),U(!0),n("show",t)}),e.transitionDuration)}function re(t){z(),G(),se(!0),null===_||void 0!==t&&!0===t.qClickOutside||(((t&&0===t.type.indexOf("key")?_.closest('[tabindex]:not([tabindex^="-"])'):void 0)||_).focus(),_=null),q((()=>{G(!0),n("hide",t)}),e.transitionDuration)}function se(e){l=void 0,void 0!==c&&(c(),c=void 0),!0!==e&&!0!==M.value||((0,S.H)(ue),W(),T(J),(0,k.k)(de)),!0!==e&&(_=null)}function le(){null===V.value&&void 0===e.scrollTarget||(B.value=(0,y.b0)(V.value,e.scrollTarget),X(B.value,he))}function ce(e){!0!==b?((0,x.AH)(P,e),n("click",e)):b=!1}function ue(t){!0===oe.value&&!0!==e.noFocus&&!0!==(0,C.mY)(E.value,t.target)&&ie()}function de(e){n("escapeKey"),Z(e)}function he(){const t=E.value;null!==t&&null!==V.value&&Y({el:t,offset:e.offset,anchorEl:V.value,anchorOrigin:Q.value,selfOrigin:ee.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function fe(){return(0,o.h)(a.uT,N.value,(()=>!0===M.value?(0,o.h)("div",{role:"menu",...r,ref:E,tabindex:-1,class:["q-menu q-position-engine scroll"+te.value,r.class],style:[r.style,D.value],...ne.value},(0,w.KR)(t.default)):null))}return(0,o.YP)(oe,(e=>{!0===e?((0,k.c)(de),j(J)):((0,k.k)(de),T(J))})),(0,o.Jd)(se),Object.assign(P,{focus:ie,updatePosition:he}),K}})},5429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(9835),i=n(499),a=n(2857),r=n(8234),s=n(244),l=n(5917),c=n(9256),u=n(5987),d=n(9480),h=n(1384),f=n(2026);const p=(0,o.h)("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[(0,o.h)("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),(0,o.h)("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),g=(0,u.L)({name:"QRadio",props:{...r.S,...s.LU,...c.Fz,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),g=(0,r.Z)(e,u.$q),v=(0,s.ZP)(e,d.Z),m=(0,i.iH)(null),{refocusTargetEl:b,refocusTarget:x}=(0,l.Z)(e,m),y=(0,i.Fl)((()=>(0,i.IU)(e.modelValue)===(0,i.IU)(e.val))),w=(0,i.Fl)((()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===e.disable?" disabled":"")+(!0===g.value?" q-radio--dark":"")+(!0===e.dense?" q-radio--dense":"")+(!0===e.leftLabel?" reverse":""))),k=(0,i.Fl)((()=>{const t=void 0===e.color||!0!==e.keepColor&&!0!==y.value?"":` text-${e.color}`;return`q-radio__inner relative-position q-radio__inner--${!0===y.value?"truthy":"falsy"}${t}`})),S=(0,i.Fl)((()=>(!0===y.value?e.checkedIcon:e.uncheckedIcon)||null)),C=(0,i.Fl)((()=>!0===e.disable?-1:e.tabindex||0)),_=(0,i.Fl)((()=>{const t={type:"radio"};return void 0!==e.name&&Object.assign(t,{".checked":!0===y.value,"^checked":!0===y.value?"checked":void 0,name:e.name,value:e.val}),t})),A=(0,c.eX)(_);function P(t){void 0!==t&&((0,h.NS)(t),x(t)),!0!==e.disable&&!0!==y.value&&n("update:modelValue",e.val,t)}function L(e){13!==e.keyCode&&32!==e.keyCode||(0,h.NS)(e)}function j(e){13!==e.keyCode&&32!==e.keyCode||P(e)}return Object.assign(u,{set:P}),()=>{const n=null!==S.value?[(0,o.h)("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[(0,o.h)(a.Z,{class:"q-radio__icon",name:S.value})])]:[p];!0!==e.disable&&A(n,"unshift"," q-radio__native q-ma-none q-pa-none");const i=[(0,o.h)("div",{class:k.value,style:v.value,"aria-hidden":"true"},n)];null!==b.value&&i.push(b.value);const r=void 0!==e.label?(0,f.vs)(t.default,[e.label]):(0,f.KR)(t.default);return void 0!==r&&i.push((0,o.h)("div",{class:"q-radio__label q-anchor--skip"},r)),(0,o.h)("div",{ref:m,class:w.value,tabindex:C.value,role:"radio","aria-label":e.label,"aria-checked":!0===y.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:P,onKeydown:L,onKeyup:j},i)}}});var v=n(1221),m=n(1926);const b=(0,u.L)({name:"QToggle",props:{...m.Fz,icon:String,iconColor:String},emits:m.ZB,setup(e){function t(t,n){const r=(0,i.Fl)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),s=(0,i.Fl)((()=>!0===t.value?e.iconColor:null));return()=>[(0,o.h)("div",{class:"q-toggle__track"}),(0,o.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==r.value?[(0,o.h)(a.Z,{name:r.value,color:s.value})]:void 0)]}return(0,m.ZP)("toggle",t)}}),x={radio:g,checkbox:v.Z,toggle:b},y=Object.keys(x),w=(0,u.L)({name:"QOptionGroup",props:{...r.S,modelValue:{required:!0},options:{type:Array,validator:e=>e.every((e=>"value"in e&&"label"in e))},name:String,type:{default:"radio",validator:e=>y.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:a}}=(0,o.FN)(),s=Array.isArray(e.modelValue);"radio"===e.type?!0===s&&console.error("q-option-group: model should not be array"):!1===s&&console.error("q-option-group: model should be array in your case");const l=(0,r.Z)(e,a),c=(0,i.Fl)((()=>x[e.type])),u=(0,i.Fl)((()=>"q-option-group q-gutter-x-sm"+(!0===e.inline?" q-option-group--inline":""))),d=(0,i.Fl)((()=>{const t={role:"group"};return"radio"===e.type&&(t.role="radiogroup",!0===e.disable&&(t["aria-disabled"]="true")),t}));function h(e){t("update:modelValue",e)}return()=>(0,o.h)("div",{class:u.value,...d.value},e.options.map(((t,i)=>{const a=void 0!==n["label-"+i]?()=>n["label-"+i](t):void 0!==n.label?()=>n.label(t):void 0;return(0,o.h)("div",[(0,o.h)(c.value,{modelValue:e.modelValue,val:t.value,name:void 0===t.name?e.name:t.name,disable:e.disable||t.disable,label:void 0===a?t.label:null,leftLabel:void 0===t.leftLabel?e.leftLabel:t.leftLabel,color:void 0===t.color?e.color:t.color,checkedIcon:t.checkedIcon,uncheckedIcon:t.uncheckedIcon,dark:t.dark||l.value,size:void 0===t.size?e.size:t.size,dense:e.dense,keepColor:void 0===t.keepColor?e.keepColor:t.keepColor,"onUpdate:modelValue":h},a)])})))}})},1237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(1957),r=n(7532),s=n(3701),l=n(5987);const c=(0,l.L)({name:"QPageScroller",props:{...r.M,scrollOffset:{type:Number,default:1e3},reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},emits:["click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,o.FN)(),{$layout:c,getStickyContent:u}=(0,r.Z)(),d=(0,i.iH)(null);let h;const f=(0,i.Fl)((()=>c.height.value-(!0===c.isContainer.value?c.containerHeight.value:l.screen.height)));function p(){return!0===e.reverse?f.value-c.scroll.value.position>e.scrollOffset:c.scroll.value.position>e.scrollOffset}const g=(0,i.iH)(p());function v(){const e=p();g.value!==e&&(g.value=e)}function m(){!0===e.reverse?void 0===h&&(h=(0,o.YP)(f,v)):b()}function b(){void 0!==h&&(h(),h=void 0)}function x(t){const o=(0,s.b0)(!0===c.isContainer.value?d.value:c.rootRef.value);(0,s.f3)(o,!0===e.reverse?c.height.value:0,e.duration),n("click",t)}function y(){return!0===g.value?(0,o.h)("div",{ref:d,class:"q-page-scroller",onClick:x},u(t)):null}return(0,o.YP)(c.scroll,v),(0,o.YP)((()=>e.reverse),m),m(),(0,o.Jd)(b),()=>(0,o.h)(a.uT,{name:"q-transition--fade"},y)}})},3388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(5987),i=n(7532);const a=(0,o.L)({name:"QPageSticky",props:i.M,setup(e,{slots:t}){const{getStickyContent:n}=(0,i.Z)();return()=>n(t)}})},7532:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,Z:()=>l});var o=n(9835),i=n(499),a=n(2026),r=n(5439);const s={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function l(){const{props:e,proxy:{$q:t}}=(0,o.FN)(),n=(0,o.f3)(r.YE,r.qO);if(n===r.qO)return console.error("QPageSticky needs to be child of QLayout"),r.qO;const s=(0,i.Fl)((()=>{const t=e.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}})),l=(0,i.Fl)((()=>n.header.offset)),c=(0,i.Fl)((()=>n.right.offset)),u=(0,i.Fl)((()=>n.footer.offset)),d=(0,i.Fl)((()=>n.left.offset)),h=(0,i.Fl)((()=>{let n=0,o=0;const i=s.value,a=!0===t.lang.rtl?-1:1;!0===i.top&&0!==l.value?o=`${l.value}px`:!0===i.bottom&&0!==u.value&&(o=-u.value+"px"),!0===i.left&&0!==d.value?n=a*d.value+"px":!0===i.right&&0!==c.value&&(n=-a*c.value+"px");const r={transform:`translate(${n}, ${o})`};return e.offset&&(r.margin=`${e.offset[1]}px ${e.offset[0]}px`),!0===i.vertical?(0!==d.value&&(r[!0===t.lang.rtl?"right":"left"]=`${d.value}px`),0!==c.value&&(r[!0===t.lang.rtl?"left":"right"]=`${c.value}px`)):!0===i.horizontal&&(0!==l.value&&(r.top=`${l.value}px`),0!==u.value&&(r.bottom=`${u.value}px`)),r})),f=(0,i.Fl)((()=>`q-page-sticky row flex-center fixed-${e.position} q-page-sticky--`+(!0===e.expand?"expand":"shrink")));function p(t){const n=(0,a.KR)(t.default);return(0,o.h)("div",{class:f.value,style:h.value},!0===e.expand?n:[(0,o.h)("div",n)])}return{$layout:n,getStickyContent:p}}},9885:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(2026),s=n(5439);const l=(0,a.L)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),a=(0,o.f3)(s.YE,s.qO);if(a===s.qO)return console.error("QPage needs to be a deep child of QLayout"),s.qO;const l=(0,o.f3)(s.Mw,s.qO);if(l===s.qO)return console.error("QPage needs to be child of QPageContainer"),s.qO;const c=(0,i.Fl)((()=>{const t=(!0===a.header.space?a.header.size:0)+(!0===a.footer.space?a.footer.size:0);if("function"===typeof e.styleFn){const o=!0===a.isContainer.value?a.containerHeight.value:n.screen.height;return e.styleFn(t,o)}return{minHeight:!0===a.isContainer.value?a.containerHeight.value-t+"px":0===n.screen.height?0!==t?`calc(100vh - ${t}px)`:"100vh":n.screen.height-t+"px"}})),u=(0,i.Fl)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,o.h)("main",{class:u.value,style:c.value},(0,r.KR)(t.default))}})},2133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(2026),s=n(5439);const l=(0,a.L)({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),a=(0,o.f3)(s.YE,s.qO);if(a===s.qO)return console.error("QPageContainer needs to be child of QLayout"),s.qO;(0,o.JJ)(s.Mw,!0);const l=(0,i.Fl)((()=>{const e={};return!0===a.header.space&&(e.paddingTop=`${a.header.size}px`),!0===a.right.space&&(e["padding"+(!0===n.lang.rtl?"Left":"Right")]=`${a.right.size}px`),!0===a.footer.space&&(e.paddingBottom=`${a.footer.size}px`),!0===a.left.space&&(e["padding"+(!0===n.lang.rtl?"Right":"Left")]=`${a.left.size}px`),e}));return()=>(0,o.h)("div",{class:"q-page-container",style:l.value},(0,r.KR)(t.default))}})},5863:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(5290),r=n(8879),s=n(5987);function l(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:"function"!==typeof e.constructor?Object.create(null):void 0!==e.prototype&&"function"===typeof e.prototype.constructor?e:new e.constructor;if("function"===typeof e.constructor&&"function"===typeof e.valueOf){const n=e.valueOf();if(Object(n)!==n){const o=new e.constructor(n);return t.set(e,o),o}}return t.set(e,n),e instanceof Set?e.forEach((e=>{n.add(l(e,t))})):e instanceof Map&&e.forEach(((e,o)=>{n.set(o,l(e,t))})),Object.assign(n,...Object.keys(e).map((n=>({[n]:l(e[n],t)}))))}var c=n(4680),u=n(3251);const d=(0,s.L)({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:s}=(0,o.FN)(),{$q:d}=s,h=(0,i.iH)(null),f=(0,i.iH)(""),p=(0,i.iH)("");let g=!1;const v=(0,i.Fl)((()=>(0,u.g)({initialValue:f.value,validate:e.validate,set:m,cancel:b,updatePosition:x},"value",(()=>p.value),(e=>{p.value=e}))));function m(){!1!==e.validate(p.value)&&(!0===y()&&(n("save",p.value,f.value),n("update:modelValue",p.value)),w())}function b(){!0===y()&&n("cancel",p.value,f.value),w()}function x(){(0,o.Y3)((()=>{h.value.updatePosition()}))}function y(){return!1===(0,c.xb)(p.value,f.value)}function w(){g=!0,h.value.hide()}function k(){g=!1,f.value=l(e.modelValue),p.value=l(e.modelValue),n("beforeShow")}function S(){n("show")}function C(){!1===g&&!0===y()&&(!0===e.autoSave&&!0===e.validate(p.value)?(n("save",p.value,f.value),n("update:modelValue",p.value)):n("cancel",p.value,f.value)),n("beforeHide")}function _(){n("hide")}function A(){const n=void 0!==t.default?[].concat(t.default(v.value)):[];return e.title&&n.unshift((0,o.h)("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),!0===e.buttons&&n.push((0,o.h)("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[(0,o.h)(r.Z,{flat:!0,color:e.color,label:e.labelCancel||d.lang.label.cancel,onClick:b}),(0,o.h)(r.Z,{flat:!0,color:e.color,label:e.labelSet||d.lang.label.set,onClick:m})])),n}return Object.assign(s,{set:m,cancel:b,show(e){null!==h.value&&h.value.show(e)},hide(e){null!==h.value&&h.value.hide(e)},updatePosition:x}),()=>{if(!0!==e.disable)return(0,o.h)(a.Z,{ref:h,class:"q-popup-edit",cover:e.cover,onBeforeShow:k,onShow:S,onBeforeHide:C,onHide:_,onEscapeKey:b},A)}}})},883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(7506);function r(){const e=(0,i.iH)(!a.uX.value);return!1===e.value&&(0,o.bv)((()=>{e.value=!0})),e}var s=n(5987),l=n(1384);const c="undefined"!==typeof ResizeObserver,u=!0===c?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},d=(0,s.L)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n,i=null,a={width:-1,height:-1};function s(t){!0===t||0===e.debounce||"0"===e.debounce?d():null===i&&(i=setTimeout(d,e.debounce))}function d(){if(null!==i&&(clearTimeout(i),i=null),n){const{offsetWidth:e,offsetHeight:o}=n;e===a.width&&o===a.height||(a={width:e,height:o},t("resize",a))}}const{proxy:h}=(0,o.FN)();if(!0===c){let f;const p=e=>{n=h.$el.parentNode,n?(f=new ResizeObserver(s),f.observe(n),d()):!0!==e&&(0,o.Y3)((()=>{p(!0)}))};return(0,o.bv)((()=>{p()})),(0,o.Jd)((()=>{null!==i&&clearTimeout(i),void 0!==f&&(void 0!==f.disconnect?f.disconnect():n&&f.unobserve(n))})),l.ZT}{const g=r();let v;function m(){null!==i&&(clearTimeout(i),i=null),void 0!==v&&(void 0!==v.removeEventListener&&v.removeEventListener("resize",s,l.rU.passive),v=void 0)}function b(){m(),n&&n.contentDocument&&(v=n.contentDocument.defaultView,v.addEventListener("resize",s,l.rU.passive),d())}return(0,o.bv)((()=>{(0,o.Y3)((()=>{n=h.$el,n&&b()}))})),(0,o.Jd)(m),h.trigger=s,()=>{if(!0===g.value)return(0,o.h)("object",{style:u.style,tabindex:-1,type:"text/html",data:u.url,"aria-hidden":"true",onLoad:b})}}}})},6663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(499),i=n(9835),a=n(8234),r=n(883),s=n(1868),l=n(2873),c=n(5987),u=n(321),d=n(3701),h=n(2026),f=n(899);const p=["vertical","horizontal"],g={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},v={prevent:!0,mouse:!0,mouseAllDir:!0},m=e=>e>=250?50:Math.ceil(e/5),b=(0,c.L)({name:"QScrollArea",props:{...a.S,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:t,emit:n}){const c=(0,o.iH)(!1),b=(0,o.iH)(!1),x=(0,o.iH)(!1),y={vertical:(0,o.iH)(0),horizontal:(0,o.iH)(0)},w={vertical:{ref:(0,o.iH)(null),position:(0,o.iH)(0),size:(0,o.iH)(0)},horizontal:{ref:(0,o.iH)(null),position:(0,o.iH)(0),size:(0,o.iH)(0)}},{proxy:k}=(0,i.FN)(),S=(0,a.Z)(e,k.$q);let C,_=null;const A=(0,o.iH)(null),P=(0,o.Fl)((()=>"q-scrollarea"+(!0===S.value?" q-scrollarea--dark":"")));w.vertical.percentage=(0,o.Fl)((()=>{const e=w.vertical.size.value-y.vertical.value;if(e<=0)return 0;const t=(0,u.vX)(w.vertical.position.value/e,0,1);return Math.round(1e4*t)/1e4})),w.vertical.thumbHidden=(0,o.Fl)((()=>!0!==(null===e.visible?x.value:e.visible)&&!1===c.value&&!1===b.value||w.vertical.size.value<=y.vertical.value+1)),w.vertical.thumbStart=(0,o.Fl)((()=>w.vertical.percentage.value*(y.vertical.value-w.vertical.thumbSize.value))),w.vertical.thumbSize=(0,o.Fl)((()=>Math.round((0,u.vX)(y.vertical.value*y.vertical.value/w.vertical.size.value,m(y.vertical.value),y.vertical.value)))),w.vertical.style=(0,o.Fl)((()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${w.vertical.thumbStart.value}px`,height:`${w.vertical.thumbSize.value}px`}))),w.vertical.thumbClass=(0,o.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.vertical.barClass=(0,o.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),w.horizontal.percentage=(0,o.Fl)((()=>{const e=w.horizontal.size.value-y.horizontal.value;if(e<=0)return 0;const t=(0,u.vX)(Math.abs(w.horizontal.position.value)/e,0,1);return Math.round(1e4*t)/1e4})),w.horizontal.thumbHidden=(0,o.Fl)((()=>!0!==(null===e.visible?x.value:e.visible)&&!1===c.value&&!1===b.value||w.horizontal.size.value<=y.horizontal.value+1)),w.horizontal.thumbStart=(0,o.Fl)((()=>w.horizontal.percentage.value*(y.horizontal.value-w.horizontal.thumbSize.value))),w.horizontal.thumbSize=(0,o.Fl)((()=>Math.round((0,u.vX)(y.horizontal.value*y.horizontal.value/w.horizontal.size.value,m(y.horizontal.value),y.horizontal.value)))),w.horizontal.style=(0,o.Fl)((()=>({...e.thumbStyle,...e.horizontalThumbStyle,[!0===k.$q.lang.rtl?"right":"left"]:`${w.horizontal.thumbStart.value}px`,width:`${w.horizontal.thumbSize.value}px`}))),w.horizontal.thumbClass=(0,o.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.horizontal.barClass=(0,o.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const L=(0,o.Fl)((()=>!0===w.vertical.thumbHidden.value&&!0===w.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle)),j=[[l.Z,e=>{z(e,"vertical")},void 0,{vertical:!0,...v}]],T=[[l.Z,e=>{z(e,"horizontal")},void 0,{horizontal:!0,...v}]];function F(){const e={};return p.forEach((t=>{const n=w[t];e[t+"Position"]=n.position.value,e[t+"Percentage"]=n.percentage.value,e[t+"Size"]=n.size.value,e[t+"ContainerSize"]=y[t].value})),e}const E=(0,f.Z)((()=>{const e=F();e.ref=k,n("scroll",e)}),0);function M(e,t,n){if(!1===p.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");const o="vertical"===e?d.f3:d.ik;o(A.value,t,n)}function O({height:e,width:t}){let n=!1;y.vertical.value!==e&&(y.vertical.value=e,n=!0),y.horizontal.value!==t&&(y.horizontal.value=t,n=!0),!0===n&&D()}function R({position:e}){let t=!1;w.vertical.position.value!==e.top&&(w.vertical.position.value=e.top,t=!0),w.horizontal.position.value!==e.left&&(w.horizontal.position.value=e.left,t=!0),!0===t&&D()}function I({height:e,width:t}){w.horizontal.size.value!==t&&(w.horizontal.size.value=t,D()),w.vertical.size.value!==e&&(w.vertical.size.value=e,D())}function z(e,t){const n=w[t];if(!0===e.isFirst){if(!0===n.thumbHidden.value)return;C=n.position.value,b.value=!0}else if(!0!==b.value)return;!0===e.isFinal&&(b.value=!1);const o=g[t],i=y[t].value,a=(n.size.value-i)/(i-n.thumbSize.value),r=e.distance[o.dist],s=C+(e.direction===o.dir?1:-1)*r*a;B(s,t)}function H(e,t){const n=w[t];if(!0!==n.thumbHidden.value){const o=e[g[t].offset];if(on.thumbStart.value+n.thumbSize.value){const e=o-n.thumbSize.value/2;B(e/y[t].value*n.size.value,t)}null!==n.ref.value&&n.ref.value.dispatchEvent(new MouseEvent(e.type,e))}}function q(e){H(e,"vertical")}function N(e){H(e,"horizontal")}function D(){c.value=!0,null!==_&&clearTimeout(_),_=setTimeout((()=>{_=null,c.value=!1}),e.delay),void 0!==e.onScroll&&E()}function B(e,t){A.value[g[t].scroll]=e}function Y(){x.value=!0}function X(){x.value=!1}let W=null;return(0,i.YP)((()=>k.$q.lang.rtl),(e=>{null!==A.value&&(0,d.ik)(A.value,Math.abs(w.horizontal.position.value)*(!0===e?-1:1))})),(0,i.se)((()=>{W={top:w.vertical.position.value,left:w.horizontal.position.value}})),(0,i.dl)((()=>{if(null===W)return;const e=A.value;null!==e&&((0,d.ik)(e,W.left),(0,d.f3)(e,W.top))})),(0,i.Jd)(E.cancel),Object.assign(k,{getScrollTarget:()=>A.value,getScroll:F,getScrollPosition:()=>({top:w.vertical.position.value,left:w.horizontal.position.value}),getScrollPercentage:()=>({top:w.vertical.percentage.value,left:w.horizontal.percentage.value}),setScrollPosition:M,setScrollPercentage(e,t,n){M(e,t*(w[e].size.value-y[e].value)*("horizontal"===e&&!0===k.$q.lang.rtl?-1:1),n)}}),()=>(0,i.h)("div",{class:P.value,onMouseenter:Y,onMouseleave:X},[(0,i.h)("div",{ref:A,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,i.h)("div",{class:"q-scrollarea__content absolute",style:L.value},(0,h.vs)(t.default,[(0,i.h)(r.Z,{debounce:0,onResize:I})])),(0,i.h)(s.Z,{axis:"both",onScroll:R})]),(0,i.h)(r.Z,{debounce:0,onResize:O}),(0,i.h)("div",{class:w.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:q}),(0,i.h)("div",{class:w.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:N}),(0,i.wy)((0,i.h)("div",{ref:w.vertical.ref,class:w.vertical.thumbClass.value,style:w.vertical.style.value,"aria-hidden":"true"}),j),(0,i.wy)((0,i.h)("div",{ref:w.horizontal.ref,class:w.horizontal.thumbClass.value,style:w.horizontal.style.value,"aria-hidden":"true"}),T)])}})},1868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(5987),a=n(3701),r=n(1384);const{passive:s}=r.rU,l=["both","horizontal","vertical"],c=(0,i.L)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>l.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let i,l,c=null;function u(){null!==c&&c();const o=Math.max(0,(0,a.u3)(i)),r=(0,a.OI)(i),s={top:o-n.position.top,left:r-n.position.left};if("vertical"===e.axis&&0===s.top||"horizontal"===e.axis&&0===s.left)return;const l=Math.abs(s.top)>=Math.abs(s.left)?s.top<0?"up":"down":s.left<0?"left":"right";n.position={top:o,left:r},n.directionChanged=n.direction!==l,n.delta=s,!0===n.directionChanged&&(n.direction=l,n.inflectionPoint=n.position),t("scroll",{...n})}function d(){i=(0,a.b0)(l,e.scrollTarget),i.addEventListener("scroll",f,s),f(!0)}function h(){void 0!==i&&(i.removeEventListener("scroll",f,s),i=void 0)}function f(t){if(!0===t||0===e.debounce||"0"===e.debounce)u();else if(null===c){const[t,n]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];c=()=>{n(t),c=null}}}(0,o.YP)((()=>e.scrollTarget),(()=>{h(),d()}));const{proxy:p}=(0,o.FN)();return(0,o.YP)((()=>p.$q.lang.rtl),u),(0,o.bv)((()=>{l=p.$el.parentNode,d()})),(0,o.Jd)((()=>{null!==c&&c(),h()})),Object.assign(p,{trigger:f,getPosition:()=>n}),r.ZT}})},7887:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var o=n(9835),i=n(499),a=n(6169),r=n(5987);const s=(0,r.L)({name:"QField",inheritAttrs:!1,props:a.Cl,emits:a.HJ,setup(){return(0,a.ZP)((0,a.tL)())}});var l=n(2857),c=n(1136),u=n(8234),d=n(244),h=n(1384),f=n(2026);const p={xs:8,sm:10,md:14,lg:20,xl:24},g=(0,r.L)({name:"QChip",props:{...u.S,...d.LU,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:a}}=(0,o.FN)(),r=(0,u.Z)(e,a),s=(0,d.ZP)(e,p),g=(0,i.Fl)((()=>!0===e.selected||void 0!==e.icon)),v=(0,i.Fl)((()=>!0===e.selected?e.iconSelected||a.iconSet.chip.selected:e.icon)),m=(0,i.Fl)((()=>e.iconRemove||a.iconSet.chip.remove)),b=(0,i.Fl)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),x=(0,i.Fl)((()=>{const t=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===b.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===r.value?" q-chip--dark q-dark":"")})),y=(0,i.Fl)((()=>{const t=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},n={...t,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||a.lang.label.remove};return{chip:t,remove:n}}));function w(e){13===e.keyCode&&k(e)}function k(t){e.disable||(n("update:selected",!e.selected),n("click",t))}function S(t){void 0!==t.keyCode&&13!==t.keyCode||((0,h.NS)(t),!1===e.disable&&(n("update:modelValue",!1),n("remove")))}function C(){const n=[];!0===b.value&&n.push((0,o.h)("div",{class:"q-focus-helper"})),!0===g.value&&n.push((0,o.h)(l.Z,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const i=void 0!==e.label?[(0,o.h)("div",{class:"ellipsis"},[e.label])]:void 0;return n.push((0,o.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(0,f.pf)(t.default,i))),e.iconRight&&n.push((0,o.h)(l.Z,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&n.push((0,o.h)(l.Z,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:m.value,...y.value.remove,onClick:S,onKeyup:S})),n}return()=>{if(!1===e.modelValue)return;const t={class:x.value,style:s.value};return!0===b.value&&Object.assign(t,y.value.chip,{onClick:k,onKeyup:w}),(0,f.Jl)("div",t,C(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[c.Z,e.ripple]]))}}});var v=n(490),m=n(1233),b=n(3115),x=n(5290),y=n(2074),w=n(2043),k=n(9256),S=n(2802),C=n(4680),_=n(321),A=n(1705);const P=e=>["add","add-unique","toggle"].includes(e),L=".*+?^${}()|[]\\",j=Object.keys(a.Cl),T=(0,r.L)({name:"QSelect",inheritAttrs:!1,props:{...w.t9,...k.Fz,...a.Cl,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:P},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...a.HJ,"add","remove","inputValue","newValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.FN)(),{$q:c}=r,u=(0,i.iH)(!1),d=(0,i.iH)(!1),p=(0,i.iH)(-1),T=(0,i.iH)(""),F=(0,i.iH)(!1),E=(0,i.iH)(!1);let M,O,R,I,z,H,q,N=null,D=null;const B=(0,i.iH)(null),Y=(0,i.iH)(null),X=(0,i.iH)(null),W=(0,i.iH)(null),V=(0,i.iH)(null),$=(0,k.Do)(e),Z=(0,S.Z)(Ue),U=(0,i.Fl)((()=>Array.isArray(e.options)?e.options.length:0)),G=(0,i.Fl)((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:K,virtualScrollSliceSizeComputed:J,localResetVirtualScroll:Q,padVirtualScroll:ee,onVirtualScrollEvt:te,scrollTo:ne,setVirtualScrollSize:oe}=(0,w.vp)({virtualScrollLength:U,getVirtualScrollTarget:We,getVirtualScrollEl:Xe,virtualScrollItemSizeComputed:G}),ie=(0,a.tL)(),ae=(0,i.Fl)((()=>{const t=!0===e.mapOptions&&!0!==e.multiple,n=void 0===e.modelValue||null===e.modelValue&&!0!==t?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const o=!0===e.mapOptions&&void 0!==M?M:[],i=n.map((e=>Ie(e,o)));return null===e.modelValue&&!0===t?i.filter((e=>null!==e)):i}return n})),re=(0,i.Fl)((()=>{const t={};return j.forEach((n=>{const o=e[n];void 0!==o&&(t[n]=o)})),t})),se=(0,i.Fl)((()=>null===e.optionsDark?ie.isDark.value:e.optionsDark)),le=(0,i.Fl)((()=>(0,a.yV)(ae.value))),ce=(0,i.Fl)((()=>{let t="q-field__input q-placeholder col";return!0===e.hideSelected||0===ae.value.length?[t,e.inputClass]:(t+=" q-field__input--padding",void 0===e.inputClass?t:[t,e.inputClass])})),ue=(0,i.Fl)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),de=(0,i.Fl)((()=>0===U.value)),he=(0,i.Fl)((()=>ae.value.map((e=>_e.value(e))).join(", "))),fe=(0,i.Fl)((()=>void 0!==e.displayValue?e.displayValue:he.value)),pe=(0,i.Fl)((()=>!0===e.optionsHtml?()=>!0:e=>void 0!==e&&null!==e&&!0===e.html)),ge=(0,i.Fl)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||ae.value.some(pe.value)))),ve=(0,i.Fl)((()=>!0===ie.focused.value?e.tabindex:-1)),me=(0,i.Fl)((()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===u.value?"true":"false","aria-controls":`${ie.targetUid.value}_lb`};return p.value>=0&&(t["aria-activedescendant"]=`${ie.targetUid.value}_${p.value}`),t})),be=(0,i.Fl)((()=>({id:`${ie.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),xe=(0,i.Fl)((()=>ae.value.map(((e,t)=>({index:t,opt:e,html:pe.value(e),selected:!0,removeAtIndex:Fe,toggleOption:Me,tabindex:ve.value}))))),ye=(0,i.Fl)((()=>{if(0===U.value)return[];const{from:t,to:n}=K.value;return e.options.slice(t,n).map(((n,o)=>{const i=!0===Ae.value(n),a=t+o,r={clickable:!0,active:!1,activeClass:Se.value,manualFocus:!0,focused:!1,disable:i,tabindex:-1,dense:e.optionsDense,dark:se.value,role:"option",id:`${ie.targetUid.value}_${a}`,onClick:()=>{Me(n)}};return!0!==i&&(!0===He(n)&&(r.active=!0),p.value===a&&(r.focused=!0),r["aria-selected"]=!0===r.active?"true":"false",!0===c.platform.is.desktop&&(r.onMousemove=()=>{!0===u.value&&Oe(a)})),{index:a,opt:n,html:pe.value(n),label:_e.value(n),selected:r.active,focused:r.focused,toggleOption:Me,setOptionIndex:Oe,itemProps:r}}))})),we=(0,i.Fl)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:c.iconSet.arrow.dropdown)),ke=(0,i.Fl)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),Se=(0,i.Fl)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),Ce=(0,i.Fl)((()=>ze(e.optionValue,"value"))),_e=(0,i.Fl)((()=>ze(e.optionLabel,"label"))),Ae=(0,i.Fl)((()=>ze(e.optionDisable,"disable"))),Pe=(0,i.Fl)((()=>ae.value.map((e=>Ce.value(e))))),Le=(0,i.Fl)((()=>{const e={onInput:Ue,onChange:Z,onKeydown:Ye,onKeyup:De,onKeypress:Be,onFocus:qe,onClick(e){!0===O&&(0,h.sT)(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=Z,e}));function je(t){return!0===e.emitValue?Ce.value(t):t}function Te(t){if(t>-1&&t=e.maxValues)return;const a=e.modelValue.slice();n("add",{index:a.length,value:i}),a.push(i),n("update:modelValue",a)}function Me(t,o){if(!0!==ie.editable.value||void 0===t||!0===Ae.value(t))return;const i=Ce.value(t);if(!0!==e.multiple)return!0!==o&&(Ke(!0===e.fillInput?_e.value(t):"",!0,!0),ut()),null!==Y.value&&Y.value.focus(),void(0!==ae.value.length&&!0===(0,C.xb)(Ce.value(ae.value[0]),i)||n("update:modelValue",!0===e.emitValue?i:t));if((!0!==O||!0===F.value)&&ie.focus(),qe(),0===ae.value.length){const o=!0===e.emitValue?i:t;return n("add",{index:0,value:o}),void n("update:modelValue",!0===e.multiple?[o]:o)}const a=e.modelValue.slice(),r=Pe.value.findIndex((e=>(0,C.xb)(e,i)));if(r>-1)n("remove",{index:r,value:a.splice(r,1)[0]});else{if(void 0!==e.maxValues&&a.length>=e.maxValues)return;const o=!0===e.emitValue?i:t;n("add",{index:a.length,value:o}),a.push(o)}n("update:modelValue",a)}function Oe(e){if(!0!==c.platform.is.desktop)return;const t=e>-1&&e=0?_e.value(e.options[o]):I))}}function Ie(t,n){const o=e=>(0,C.xb)(Ce.value(e),t);return e.options.find(o)||n.find(o)||t}function ze(e,t){const n=void 0!==e?e:t;return"function"===typeof n?n:e=>null!==e&&"object"===typeof e&&n in e?e[n]:e}function He(e){const t=Ce.value(e);return void 0!==Pe.value.find((e=>(0,C.xb)(e,t)))}function qe(t){!0===e.useInput&&null!==Y.value&&(void 0===t||Y.value===t.target&&t.target.value===he.value)&&Y.value.select()}function Ne(e){!0===(0,A.So)(e,27)&&!0===u.value&&((0,h.sT)(e),ut(),dt()),n("keyup",e)}function De(t){const{value:n}=t.target;if(void 0===t.keyCode)if(t.target.value="",null!==N&&(clearTimeout(N),N=null),dt(),"string"===typeof n&&n.length>0){const t=n.toLocaleLowerCase(),o=n=>{const o=e.options.find((e=>n.value(e).toLocaleLowerCase()===t));return void 0!==o&&(-1===ae.value.indexOf(o)?Me(o):ut(),!0)},i=e=>{!0!==o(Ce)&&!0!==o(_e)&&!0!==e&&Je(n,!0,(()=>i(!0)))};i()}else ie.clearValue(t);else Ne(t)}function Be(e){n("keypress",e)}function Ye(t){if(n("keydown",t),!0===(0,A.Wm)(t))return;const i=T.value.length>0&&(void 0!==e.newValueMode||void 0!==e.onNewValue),a=!0!==t.shiftKey&&!0!==e.multiple&&(p.value>-1||!0===i);if(27===t.keyCode)return void(0,h.X$)(t);if(9===t.keyCode&&!1===a)return void lt();if(void 0===t.target||t.target.id!==ie.targetUid.value)return;if(40===t.keyCode&&!0!==ie.innerLoading.value&&!1===u.value)return(0,h.NS)(t),void ct();if(8===t.keyCode&&!0!==e.hideSelected&&0===T.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?Te(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&n("update:modelValue",null));35!==t.keyCode&&36!==t.keyCode||"string"===typeof T.value&&0!==T.value.length||((0,h.NS)(t),p.value=-1,Re(36===t.keyCode?1:-1,e.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===J.value||((0,h.NS)(t),p.value=Math.max(-1,Math.min(U.value,p.value+(33===t.keyCode?-1:1)*J.value.view)),Re(33===t.keyCode?1:-1,e.multiple)),38!==t.keyCode&&40!==t.keyCode||((0,h.NS)(t),Re(38===t.keyCode?-1:1,e.multiple));const r=U.value;if((void 0===H||q0&&!0!==e.useInput&&void 0!==t.key&&1===t.key.length&&!1===t.altKey&&!1===t.ctrlKey&&!1===t.metaKey&&(32!==t.keyCode||H.length>0)){!0!==u.value&&ct(t);const n=t.key.toLocaleLowerCase(),i=1===H.length&&H[0]===n;q=Date.now()+1500,!1===i&&((0,h.NS)(t),H+=n);const a=new RegExp("^"+H.split("").map((e=>L.indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let s=p.value;if(!0===i||s<0||!0!==a.test(_e.value(e.options[s])))do{s=(0,_.Uz)(s+1,-1,r-1)}while(s!==p.value&&(!0===Ae.value(e.options[s])||!0!==a.test(_e.value(e.options[s]))));p.value!==s&&(0,o.Y3)((()=>{Oe(s),ne(s),s>=0&&!0===e.useInput&&!0===e.fillInput&&Ge(_e.value(e.options[s]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==e.useInput&&""===H||9===t.keyCode&&!1!==a)if(9!==t.keyCode&&(0,h.NS)(t),p.value>-1&&p.value{if(n){if(!0!==P(n))return}else n=e.newValueMode;if(void 0===t||null===t)return;Ke("",!0!==e.multiple,!0);const o="toggle"===n?Me:Ee;o(t,"add-unique"===n),!0!==e.multiple&&(null!==Y.value&&Y.value.focus(),ut())};if(void 0!==e.onNewValue?n("newValue",T.value,t):t(T.value),!0!==e.multiple)return}!0===u.value?lt():!0!==ie.innerLoading.value&&ct()}}function Xe(){return!0===O?V.value:null!==X.value&&null!==X.value.contentEl?X.value.contentEl:void 0}function We(){return Xe()}function Ve(){return!0===e.hideSelected?[]:void 0!==t["selected-item"]?xe.value.map((e=>t["selected-item"](e))).slice():void 0!==t.selected?[].concat(t.selected()):!0===e.useChips?xe.value.map(((t,n)=>(0,o.h)(g,{key:"option-"+n,removable:!0===ie.editable.value&&!0!==Ae.value(t.opt),dense:!0,textColor:e.color,tabindex:ve.value,onRemove(){t.removeAtIndex(n)}},(()=>(0,o.h)("span",{class:"ellipsis",[!0===t.html?"innerHTML":"textContent"]:_e.value(t.opt)}))))):[(0,o.h)("span",{[!0===ge.value?"innerHTML":"textContent"]:fe.value})]}function $e(){if(!0===de.value)return void 0!==t["no-option"]?t["no-option"]({inputValue:T.value}):void 0;const e=void 0!==t.option?t.option:e=>(0,o.h)(v.Z,{key:e.index,...e.itemProps},(()=>(0,o.h)(m.Z,(()=>(0,o.h)(b.Z,(()=>(0,o.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let n=ee("div",ye.value.map(e));return void 0!==t["before-options"]&&(n=t["before-options"]().concat(n)),(0,f.vs)(t["after-options"],n)}function Ze(t,n){const i=!0===n?{...me.value,...ie.splitAttrs.attributes.value}:void 0,a={ref:!0===n?Y:void 0,key:"i_t",class:ce.value,style:e.inputStyle,value:void 0!==T.value?T.value:"",type:"search",...i,id:!0===n?ie.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===t||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...Le.value};return!0!==t&&!0===O&&(!0===Array.isArray(a.class)?a.class=[...a.class,"no-pointer-events"]:a.class+=" no-pointer-events"),(0,o.h)("input",a)}function Ue(t){null!==N&&(clearTimeout(N),N=null),t&&t.target&&!0===t.target.qComposing||(Ge(t.target.value||""),R=!0,I=T.value,!0===ie.focused.value||!0===O&&!0!==F.value||ie.focus(),void 0!==e.onFilter&&(N=setTimeout((()=>{N=null,Je(T.value)}),e.inputDebounce)))}function Ge(e){T.value!==e&&(T.value=e,n("inputValue",e))}function Ke(t,n,o){R=!0!==o,!0===e.useInput&&(Ge(t),!0!==n&&!0===o||(I=t),!0!==n&&Je(t))}function Je(t,i,a){if(void 0===e.onFilter||!0!==i&&!0!==ie.focused.value)return;!0===ie.innerLoading.value?n("filterAbort"):(ie.innerLoading.value=!0,E.value=!0),""!==t&&!0!==e.multiple&&ae.value.length>0&&!0!==R&&t===_e.value(ae.value[0])&&(t="");const s=setTimeout((()=>{!0===u.value&&(u.value=!1)}),10);null!==D&&clearTimeout(D),D=s,n("filter",t,((e,t)=>{!0!==i&&!0!==ie.focused.value||D!==s||(clearTimeout(D),"function"===typeof e&&e(),E.value=!1,(0,o.Y3)((()=>{ie.innerLoading.value=!1,!0===ie.editable.value&&(!0===i?!0===u.value&&ut():!0===u.value?ht(!0):u.value=!0),"function"===typeof t&&(0,o.Y3)((()=>{t(r)})),"function"===typeof a&&(0,o.Y3)((()=>{a(r)}))})))}),(()=>{!0===ie.focused.value&&D===s&&(clearTimeout(D),ie.innerLoading.value=!1,E.value=!1),!0===u.value&&(u.value=!1)}))}function Qe(){return(0,o.h)(x.Z,{ref:X,class:ue.value,style:e.popupContentStyle,modelValue:u.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==de.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:se.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:ke.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...be.value,onScrollPassive:te,onBeforeShow:gt,onBeforeHide:et,onShow:tt},$e)}function et(e){vt(e),lt()}function tt(){oe()}function nt(e){(0,h.sT)(e),null!==Y.value&&Y.value.focus(),F.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function ot(e){(0,h.sT)(e),(0,o.Y3)((()=>{F.value=!1}))}function it(){const n=[(0,o.h)(s,{class:`col-auto ${ie.fieldClass.value}`,...re.value,for:ie.targetUid.value,dark:se.value,square:!0,loading:E.value,itemAligned:!1,filled:!0,stackLabel:T.value.length>0,...ie.splitAttrs.listeners.value,onFocus:nt,onBlur:ot},{...t,rawControl:()=>ie.getControl(!0),before:void 0,after:void 0})];return!0===u.value&&n.push((0,o.h)("div",{ref:V,class:ue.value+" scroll",style:e.popupContentStyle,...be.value,onClick:h.X$,onScrollPassive:te},$e())),(0,o.h)(y.Z,{ref:W,modelValue:d.value,position:!0===e.useInput?"top":void 0,transitionShow:z,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:gt,onBeforeHide:at,onHide:rt,onShow:st},(()=>(0,o.h)("div",{class:"q-select__dialog"+(!0===se.value?" q-select__dialog--dark q-dark":"")+(!0===F.value?" q-select__dialog--focused":"")},n)))}function at(e){vt(e),null!==W.value&&W.value.__updateRefocusTarget(ie.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),ie.focused.value=!1}function rt(e){ut(),!1===ie.focused.value&&n("blur",e),dt()}function st(){const e=document.activeElement;null!==e&&e.id===ie.targetUid.value||null===Y.value||Y.value===e||Y.value.focus(),oe()}function lt(){!0!==d.value&&(p.value=-1,!0===u.value&&(u.value=!1),!1===ie.focused.value&&(null!==D&&(clearTimeout(D),D=null),!0===ie.innerLoading.value&&(n("filterAbort"),ie.innerLoading.value=!1,E.value=!1)))}function ct(n){!0===ie.editable.value&&(!0===O?(ie.onControlFocusin(n),d.value=!0,(0,o.Y3)((()=>{ie.focus()}))):ie.focus(),void 0!==e.onFilter?Je(T.value):!0===de.value&&void 0===t["no-option"]||(u.value=!0))}function ut(){d.value=!1,lt()}function dt(){!0===e.useInput&&Ke(!0!==e.multiple&&!0===e.fillInput&&ae.value.length>0&&_e.value(ae.value[0])||"",!0,!0)}function ht(t){let n=-1;if(!0===t){if(ae.value.length>0){const t=Ce.value(ae.value[0]);n=e.options.findIndex((e=>(0,C.xb)(Ce.value(e),t)))}Q(n)}Oe(n)}function ft(e,t){!0===u.value&&!1===ie.innerLoading.value&&(Q(-1,!0),(0,o.Y3)((()=>{!0===u.value&&!1===ie.innerLoading.value&&(e>t?Q():ht(!0))})))}function pt(){!1===d.value&&null!==X.value&&X.value.updatePosition()}function gt(e){void 0!==e&&(0,h.sT)(e),n("popupShow",e),ie.hasPopupOpen=!0,ie.onControlFocusin(e)}function vt(e){void 0!==e&&(0,h.sT)(e),n("popupHide",e),ie.hasPopupOpen=!1,ie.onControlFocusout(e)}function mt(){O=(!0===c.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==t["no-option"]||void 0!==e.onFilter||!1===de.value))),z=!0===c.platform.is.ios&&!0===O&&!0===e.useInput?"fade":e.transitionShow}return(0,o.YP)(ae,(t=>{M=t,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==ie.innerLoading.value&&(!0!==d.value&&!0!==u.value||!0!==le.value)&&(!0!==R&&dt(),!0!==d.value&&!0!==u.value||Je(""))}),{immediate:!0}),(0,o.YP)((()=>e.fillInput),dt),(0,o.YP)(u,ht),(0,o.YP)(U,ft),(0,o.Xn)(mt),(0,o.ic)(pt),mt(),(0,o.Jd)((()=>{null!==N&&clearTimeout(N)})),Object.assign(r,{showPopup:ct,hidePopup:ut,removeAtIndex:Te,add:Ee,toggleOption:Me,getOptionIndex:()=>p.value,setOptionIndex:Oe,moveOptionSelection:Re,filter:Je,updateMenuPosition:pt,updateInputValue:Ke,isOptionSelected:He,getEmittingOptionValue:je,isOptionDisabled:(...e)=>!0===Ae.value.apply(null,e),getOptionValue:(...e)=>Ce.value.apply(null,e),getOptionLabel:(...e)=>_e.value.apply(null,e)}),Object.assign(ie,{innerValue:ae,fieldClass:(0,i.Fl)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:B,targetRef:Y,hasValue:le,showPopup:ct,floatingLabel:(0,i.Fl)((()=>!0!==e.hideSelected&&!0===le.value||"number"===typeof T.value||T.value.length>0||(0,a.yV)(e.displayValue))),getControlChild:()=>{if(!1!==ie.editable.value&&(!0===d.value||!0!==de.value||void 0!==t["no-option"]))return!0===O?it():Qe();!0===ie.hasPopupOpen&&(ie.hasPopupOpen=!1)},controlEvents:{onFocusin(e){ie.onControlFocusin(e)},onFocusout(e){ie.onControlFocusout(e,(()=>{dt(),lt()}))},onClick(e){if((0,h.X$)(e),!0!==O&&!0===u.value)return lt(),void(null!==Y.value&&Y.value.focus());ct(e)}},getControl:t=>{const n=Ve(),i=!0===t||!0!==d.value||!0!==O;if(!0===e.useInput)n.push(Ze(t,i));else if(!0===ie.editable.value){const a=!0===i?me.value:void 0;n.push((0,o.h)("input",{ref:!0===i?Y:void 0,key:"d_t",class:"q-select__focus-target",id:!0===i?ie.targetUid.value:void 0,value:fe.value,readonly:!0,"data-autofocus":!0===t||!0===e.autofocus||void 0,...a,onKeydown:Ye,onKeyup:Ne,onKeypress:Be})),!0===i&&"string"===typeof e.autocomplete&&e.autocomplete.length>0&&n.push((0,o.h)("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:De}))}if(void 0!==$.value&&!0!==e.disable&&Pe.value.length>0){const t=Pe.value.map((e=>(0,o.h)("option",{value:e,selected:!0})));n.push((0,o.h)("select",{class:"hidden",name:$.value,multiple:e.multiple},t))}const a=!0===e.useInput||!0!==i?void 0:ie.splitAttrs.attributes.value;return(0,o.h)("div",{class:"q-field__native row items-center",...a,...ie.splitAttrs.listeners.value},n)},getInnerAppend:()=>!0!==e.loading&&!0!==E.value&&!0!==e.hideDropdownIcon?[(0,o.h)(l.Z,{class:"q-select__dropdown-icon"+(!0===u.value?" rotate-180":""),name:we.value})]:null}),(0,a.ZP)(ie)}})},926:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(8234),r=n(5987);const s={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},l={xs:2,sm:4,md:8,lg:16,xl:24},c=(0,r.L)({name:"QSeparator",props:{...a.S,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=(0,o.FN)(),n=(0,a.Z)(e,t.proxy.$q),r=(0,i.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),c=(0,i.Fl)((()=>` q-separator--${r.value}`)),u=(0,i.Fl)((()=>!1!==e.inset?`${c.value}-${s[e.inset]}`:"")),d=(0,i.Fl)((()=>`q-separator${c.value}${u.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===n.value?" q-separator--dark":""))),h=(0,i.Fl)((()=>{const t={};if(void 0!==e.size&&(t[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const n=!0===e.spaced?`${l.md}px`:e.spaced in l?`${l[e.spaced]}px`:e.spaced,o=!0===e.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${o[0]}`]=t[`margin${o[1]}`]=n}return t}));return()=>(0,o.h)("hr",{class:d.value,style:h.value,"aria-orientation":r.value})}})},9003:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(9835),i=n(1957),a=n(5987);const r=(0,a.L)({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let a,r,s,l,c=!1,u=null,d=null;function h(){a&&a(),a=null,c=!1,null!==u&&(clearTimeout(u),u=null),null!==d&&(clearTimeout(d),d=null),void 0!==r&&r.removeEventListener("transitionend",s),s=null}function f(t,n,o){void 0!==n&&(t.style.height=`${n}px`),t.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,c=!0,a=o}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,h(),t!==l&&n(t)}function g(t,n){let o=0;r=t,!0===c?(h(),o=t.offsetHeight===t.scrollHeight?0:void 0):(l="hide",t.style.overflowY="hidden"),f(t,o,n),u=setTimeout((()=>{u=null,t.style.height=`${t.scrollHeight}px`,s=e=>{d=null,Object(e)===e&&e.target!==t||p(t,"show")},t.addEventListener("transitionend",s),d=setTimeout(s,1.1*e.duration)}),100)}function v(t,n){let o;r=t,!0===c?h():(l="show",t.style.overflowY="hidden",o=t.scrollHeight),f(t,o,n),u=setTimeout((()=>{u=null,t.style.height=0,s=e=>{d=null,Object(e)===e&&e.target!==t||p(t,"hide")},t.addEventListener("transitionend",s),d=setTimeout(s,1.1*e.duration)}),100)}return(0,o.Jd)((()=>{!0===c&&h()})),()=>(0,o.h)(i.uT,{css:!1,appear:e.appear,onEnter:g,onLeave:v},t.default)}})},3940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(244);const r={size:{type:[Number,String],default:"1em"},color:String};function s(e){return{cSize:(0,i.Fl)((()=>e.size in a.Ok?`${a.Ok[e.size]}px`:e.size)),classes:(0,i.Fl)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}var l=n(5987);const c=(0,l.L)({name:"QSpinner",props:{...r,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=s(e);return()=>(0,o.h)("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[(0,o.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}})},4106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(9835),i=n(5475),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTabPanel",props:i.vZ,setup(e,{slots:t}){return()=>(0,o.h)("div",{class:"q-tab-panel",role:"tabpanel"},(0,r.KR)(t.default))}})},9800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(8234),r=n(5475),s=n(5987),l=n(2026);const c=(0,s.L)({name:"QTabPanels",props:{...r.t6,...a.S},emits:r.K6,setup(e,{slots:t}){const n=(0,o.FN)(),s=(0,a.Z)(e,n.proxy.$q),{updatePanelsList:c,getPanelContent:u,panelDirectives:d}=(0,r.ZP)(),h=(0,i.Fl)((()=>"q-tab-panels q-panel-parent"+(!0===s.value?" q-tab-panels--dark q-dark":"")));return()=>(c(t),(0,l.Jl)("div",{class:h.value},u(),"pan",e.swipeable,(()=>d.value)))}})},2429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Q});var o=n(9835),i=n(499),a=n(1682),r=n(926),s=n(2857),l=n(3246),c=n(6933);function u(e,t){return(0,o.h)("div",e,[(0,o.h)("table",{class:"q-table"},t)])}var d=n(2043),h=n(5987),f=n(3701),p=n(1384),g=n(2026);const v={list:l.Z,table:c.Z},m=["list","table","__qtable"],b=(0,h.L)({name:"QVirtualScroll",props:{...d.t9,type:{type:String,default:"list",validator:e=>m.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(e,{slots:t,attrs:n}){let a;const r=(0,i.iH)(null),s=(0,i.Fl)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:l,localResetVirtualScroll:c,padVirtualScroll:h,onVirtualScrollEvt:m}=(0,d.vp)({virtualScrollLength:s,getVirtualScrollTarget:k,getVirtualScrollEl:w}),b=(0,i.Fl)((()=>{if(0===s.value)return[];const t=(e,t)=>({index:l.value.from+t,item:e});return void 0===e.itemsFn?e.items.slice(l.value.from,l.value.to).map(t):e.itemsFn(l.value.from,l.value.to-l.value.from).map(t)})),x=(0,i.Fl)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),y=(0,i.Fl)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function w(){return r.value.$el||r.value}function k(){return a}function S(){a=(0,f.b0)(w(),e.scrollTarget),a.addEventListener("scroll",m,p.rU.passive)}function C(){void 0!==a&&(a.removeEventListener("scroll",m,p.rU.passive),a=void 0)}function _(){let n=h("list"===e.type?"div":"tbody",b.value.map(t.default));return void 0!==t.before&&(n=t.before().concat(n)),(0,g.vs)(t.after,n)}return(0,o.YP)(s,(()=>{c()})),(0,o.YP)((()=>e.scrollTarget),(()=>{C(),S()})),(0,o.wF)((()=>{c()})),(0,o.bv)((()=>{S()})),(0,o.dl)((()=>{S()})),(0,o.se)((()=>{C()})),(0,o.Jd)((()=>{C()})),()=>{if(void 0!==t.default)return"__qtable"===e.type?u({ref:r,class:"q-table__middle "+x.value},_()):(0,o.h)(v[e.type],{...n,ref:r,class:[n.class,x.value],...y.value},_);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});var x=n(7887),y=n(8289),w=n(1221),k=n(8879),S=n(8234),C=n(5310),_=n(2046);let A=0;const P={fullscreen:Boolean,noRouteFullscreenExit:Boolean},L=["update:fullscreen","fullscreen"];function j(){const e=(0,o.FN)(),{props:t,emit:n,proxy:a}=e;let r,s,l;const c=(0,i.iH)(!1);function u(){!0===c.value?h():d()}function d(){!0!==c.value&&(c.value=!0,l=a.$el.parentNode,l.replaceChild(s,a.$el),document.body.appendChild(a.$el),A++,1===A&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:h},C.Z.add(r))}function h(){!0===c.value&&(void 0!==r&&(C.Z.remove(r),r=void 0),l.replaceChild(a.$el,s),c.value=!1,A=Math.max(0,A-1),0===A&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==a.$el.scrollIntoView&&setTimeout((()=>{a.$el.scrollIntoView()}))))}return!0===(0,_.Rb)(e)&&(0,o.YP)((()=>a.$route.fullPath),(()=>{!0!==t.noRouteFullscreenExit&&h()})),(0,o.YP)((()=>t.fullscreen),(e=>{c.value!==e&&u()})),(0,o.YP)(c,(e=>{n("update:fullscreen",e),n("fullscreen",e)})),(0,o.wF)((()=>{s=document.createElement("span")})),(0,o.bv)((()=>{!0===t.fullscreen&&d()})),(0,o.Jd)(h),Object.assign(a,{toggleFullscreen:u,setFullscreen:d,exitFullscreen:h}),{inFullscreen:c,toggleFullscreen:u}}function T(e,t){return new Date(e)-new Date(t)}var F=n(4680);const E={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function M(e,t,n,o){const a=(0,i.Fl)((()=>{const{sortBy:e}=t.value;return e&&n.value.find((t=>t.name===e))||null})),r=(0,i.Fl)((()=>void 0!==e.sortMethod?e.sortMethod:(e,t,o)=>{const i=n.value.find((e=>e.name===t));if(void 0===i||void 0===i.field)return e;const a=!0===o?-1:1,r="function"===typeof i.field?e=>i.field(e):e=>e[i.field];return e.sort(((e,t)=>{let n=r(e),o=r(t);return null===n||void 0===n?-1*a:null===o||void 0===o?1*a:void 0!==i.sort?i.sort(n,o,e,t)*a:!0===(0,F.hj)(n)&&!0===(0,F.hj)(o)?(n-o)*a:!0===(0,F.J_)(n)&&!0===(0,F.J_)(o)?T(n,o)*a:"boolean"===typeof n&&"boolean"===typeof o?(n-o)*a:([n,o]=[n,o].map((e=>(e+"").toLocaleString().toLowerCase())),ne.name===i));void 0!==e&&e.sortOrder&&(a=e.sortOrder)}let{sortBy:r,descending:s}=t.value;r!==i?(r=i,s="da"===a):!0===e.binaryStateSort?s=!s:!0===s?"ad"===a?r=null:s=!1:"ad"===a?s=!0:r=null,o({sortBy:r,descending:s,page:1})}return{columnToSort:a,computedSortMethod:r,sort:s}}const O={filter:[String,Object],filterMethod:Function};function R(e,t){const n=(0,i.Fl)((()=>void 0!==e.filterMethod?e.filterMethod:(e,t,n,o)=>{const i=t?t.toLowerCase():"";return e.filter((e=>n.some((t=>{const n=o(t,e)+"",a="undefined"===n||"null"===n?"":n.toLowerCase();return-1!==a.indexOf(i)}))))}));return(0,o.YP)((()=>e.filter),(()=>{(0,o.Y3)((()=>{t({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:n}}function I(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function z(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const H={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function q(e,t){const{props:n,emit:a}=e,r=(0,i.iH)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length>0?n.rowsPerPageOptions[0]:5},n.pagination)),s=(0,i.Fl)((()=>{const e=void 0!==n["onUpdate:pagination"]?{...r.value,...n.pagination}:r.value;return z(e)})),l=(0,i.Fl)((()=>void 0!==s.value.rowsNumber));function c(e){u({pagination:e,filter:n.filter})}function u(e={}){(0,o.Y3)((()=>{a("request",{pagination:e.pagination||s.value,filter:e.filter||n.filter,getCellValue:t})}))}function d(e,t){const o=z({...s.value,...e});!0!==I(s.value,o)?!0!==l.value?void 0!==n.pagination&&void 0!==n["onUpdate:pagination"]?a("update:pagination",o):r.value=o:c(o):!0===l.value&&!0===t&&c(o)}return{innerPagination:r,computedPagination:s,isServerSide:l,requestServerInteraction:u,setPagination:d}}function N(e,t,n,a,r,s){const{props:l,emit:c,proxy:{$q:u}}=e,d=(0,i.Fl)((()=>!0===a.value?n.value.rowsNumber||0:s.value)),h=(0,i.Fl)((()=>{const{page:e,rowsPerPage:t}=n.value;return(e-1)*t})),f=(0,i.Fl)((()=>{const{page:e,rowsPerPage:t}=n.value;return e*t})),p=(0,i.Fl)((()=>1===n.value.page)),g=(0,i.Fl)((()=>0===n.value.rowsPerPage?1:Math.max(1,Math.ceil(d.value/n.value.rowsPerPage)))),v=(0,i.Fl)((()=>0===f.value||n.value.page>=g.value)),m=(0,i.Fl)((()=>{const e=l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions);return e.map((e=>({label:0===e?u.lang.table.allRows:""+e,value:e})))}));function b(){r({page:1})}function x(){const{page:e}=n.value;e>1&&r({page:e-1})}function y(){const{page:e,rowsPerPage:t}=n.value;f.value>0&&e*t{if(e===t)return;const o=n.value.page;e&&!o?r({page:1}):e["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},B=["update:selected","selection"];function Y(e,t,n,o){const a=(0,i.Fl)((()=>{const t={};return e.selected.map(o.value).forEach((e=>{t[e]=!0})),t})),r=(0,i.Fl)((()=>"none"!==e.selection)),s=(0,i.Fl)((()=>"single"===e.selection)),l=(0,i.Fl)((()=>"multiple"===e.selection)),c=(0,i.Fl)((()=>n.value.length>0&&n.value.every((e=>!0===a.value[o.value(e)])))),u=(0,i.Fl)((()=>!0!==c.value&&n.value.some((e=>!0===a.value[o.value(e)])))),d=(0,i.Fl)((()=>e.selected.length));function h(e){return!0===a.value[e]}function f(){t("update:selected",[])}function p(n,i,a,r){t("selection",{rows:i,added:a,keys:n,evt:r});const l=!0===s.value?!0===a?i:[]:!0===a?e.selected.concat(i):e.selected.filter((e=>!1===n.includes(o.value(e))));t("update:selected",l)}return{hasSelectionMode:r,singleSelection:s,multipleSelection:l,allRowsSelected:c,someRowsSelected:u,rowsSelectedNumber:d,isRowSelected:h,clearSelection:f,updateSelection:p}}function X(e){return Array.isArray(e)?e.slice():[]}const W={expanded:Array},V=["update:expanded"];function $(e,t){const n=(0,i.iH)(X(e.expanded));function a(e){return n.value.includes(e)}function r(o){void 0!==e.expanded?t("update:expanded",o):n.value=o}function s(e,t){const o=n.value.slice(),i=o.indexOf(e);!0===t?-1===i&&(o.push(e),r(o)):-1!==i&&(o.splice(i,1),r(o))}return(0,o.YP)((()=>e.expanded),(e=>{n.value=X(e)})),{isRowExpanded:a,setExpanded:r,updateExpanded:s}}const Z={visibleColumns:Array};function U(e,t,n){const o=(0,i.Fl)((()=>{if(void 0!==e.columns)return e.columns;const t=e.rows[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:(0,F.hj)(t[e])?"right":"left",sortable:!0}))):[]})),a=(0,i.Fl)((()=>{const{sortBy:n,descending:i}=t.value,a=void 0!==e.visibleColumns?o.value.filter((t=>!0===t.required||!0===e.visibleColumns.includes(t.name))):o.value;return a.map((e=>{const t=e.align||"right",o=`text-${t}`;return{...e,align:t,__iconClass:`q-table__sort-icon q-table__sort-icon--${t}`,__thClass:o+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===n?" sorted "+(!0===i?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!==typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!==typeof e.classes?()=>o+" "+e.classes:t=>o+" "+e.classes(t):()=>o}}))})),r=(0,i.Fl)((()=>{const e={};return a.value.forEach((t=>{e[t.name]=t})),e})),s=(0,i.Fl)((()=>void 0!==e.tableColspan?e.tableColspan:a.value.length+(!0===n.value?1:0)));return{colList:o,computedCols:a,computedColsMap:r,computedColspan:s}}var G=n(3251);const K="q-table__bottom row items-center",J={};d.If.forEach((e=>{J[e]={}}));const Q=(0,h.L)({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{default:void 0},...J,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...S.S,...P,...Z,...O,...H,...W,...D,...E},emits:["request","virtualScroll",...L,...V,...B],setup(e,{slots:t,emit:n}){const l=(0,o.FN)(),{proxy:{$q:c}}=l,h=(0,S.Z)(e,c),{inFullscreen:f,toggleFullscreen:p}=j(),g=(0,i.Fl)((()=>"function"===typeof e.rowKey?e.rowKey:t=>t[e.rowKey])),v=(0,i.iH)(null),m=(0,i.iH)(null),C=(0,i.Fl)((()=>!0!==e.grid&&!0===e.virtualScroll)),_=(0,i.Fl)((()=>" q-table__card"+(!0===h.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),A=(0,i.Fl)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.grid?" q-table--grid":_.value)+(!0===h.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===f.value?" fullscreen scroll":""))),P=(0,i.Fl)((()=>A.value+(!0===e.loading?" q-table--loading":"")));(0,o.YP)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+A.value),(()=>{!0===C.value&&null!==m.value&&m.value.reset()}));const{innerPagination:L,computedPagination:T,isServerSide:F,requestServerInteraction:E,setPagination:O}=q(l,Ie),{computedFilterMethod:I}=R(e,O),{isRowExpanded:z,setExpanded:H,updateExpanded:D}=$(e,n),B=(0,i.Fl)((()=>{let t=e.rows;if(!0===F.value||0===t.length)return t;const{sortBy:n,descending:o}=T.value;return e.filter&&(t=I.value(t,e.filter,re.value,Ie)),null!==ce.value&&(t=ue.value(e.rows===t?t.slice():t,n,o)),t})),X=(0,i.Fl)((()=>B.value.length)),W=(0,i.Fl)((()=>{let t=B.value;if(!0===F.value)return t;const{rowsPerPage:n}=T.value;return 0!==n&&(0===he.value&&e.rows!==t?t.length>fe.value&&(t=t.slice(0,fe.value)):t=t.slice(he.value,fe.value)),t})),{hasSelectionMode:V,singleSelection:Z,multipleSelection:J,allRowsSelected:Q,someRowsSelected:ee,rowsSelectedNumber:te,isRowSelected:ne,clearSelection:oe,updateSelection:ie}=Y(e,n,W,g),{colList:ae,computedCols:re,computedColsMap:se,computedColspan:le}=U(e,T,V),{columnToSort:ce,computedSortMethod:ue,sort:de}=M(e,T,ae,O),{firstRowIndex:he,lastRowIndex:fe,isFirstPage:pe,isLastPage:ge,pagesNumber:ve,computedRowsPerPageOptions:me,computedRowsNumber:be,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke}=N(l,L,T,F,O,X),Se=(0,i.Fl)((()=>0===W.value.length)),Ce=(0,i.Fl)((()=>{const t={};return d.If.forEach((n=>{t[n]=e[n]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===e.dense?28:48),t}));function _e(){!0===C.value&&m.value.reset()}function Ae(){if(!0===e.grid)return Ue();const n=!0!==e.hideHeader?Ne:null;if(!0===C.value){const i=t["top-row"],a=t["bottom-row"],r={default:e=>Te(e.item,t.body,e.index)};if(void 0!==i){const e=(0,o.h)("tbody",i({cols:re.value}));r.before=null===n?()=>e:()=>[n()].concat(e)}else null!==n&&(r.before=n);return void 0!==a&&(r.after=()=>(0,o.h)("tbody",a({cols:re.value}))),(0,o.h)(b,{ref:m,class:e.tableClass,style:e.tableStyle,...Ce.value,scrollTarget:e.virtualScrollTarget,items:W.value,type:"__qtable",tableColspan:le.value,onVirtualScroll:Le},r)}const i=[Fe()];return null!==n&&i.unshift(n()),u({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},i)}function Pe(t,o){if(null!==m.value)return void m.value.scrollTo(t,o);t=parseInt(t,10);const i=v.value.querySelector(`tbody tr:nth-of-type(${t+1})`);if(null!==i){const o=v.value.querySelector(".q-table__middle.scroll"),a=i.offsetTop-e.virtualScrollStickySizeStart,r=a{const n=t[`body-cell-${e.name}`],a=void 0!==n?n:c;return void 0!==a?a(Me({key:s,row:i,pageIndex:r,col:e})):(0,o.h)("td",{class:e.__tdClass(i),style:e.__tdStyle(i)},Ie(e,i))}));if(!0===V.value){const n=t["body-selection"],a=void 0!==n?n(Oe({key:s,row:i,pageIndex:r})):[(0,o.h)(w.Z,{modelValue:l,color:e.color,dark:h.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{ie([s],[i],e,t)}})];u.unshift((0,o.h)("td",{class:"q-table--col-auto-width"},a))}const d={key:s,class:{selected:l}};return void 0!==e.onRowClick&&(d.class["cursor-pointer"]=!0,d.onClick=e=>{n("RowClick",e,i,r)}),void 0!==e.onRowDblclick&&(d.class["cursor-pointer"]=!0,d.onDblclick=e=>{n("RowDblclick",e,i,r)}),void 0!==e.onRowContextmenu&&(d.class["cursor-pointer"]=!0,d.onContextmenu=e=>{n("RowContextmenu",e,i,r)}),(0,o.h)("tr",d,u)}function Fe(){const e=t.body,n=t["top-row"],i=t["bottom-row"];let a=W.value.map(((t,n)=>Te(t,e,n)));return void 0!==n&&(a=n({cols:re.value}).concat(a)),void 0!==i&&(a=a.concat(i({cols:re.value}))),(0,o.h)("tbody",a)}function Ee(e){return Re(e),e.cols=e.cols.map((t=>(0,G.g)({...t},"value",(()=>Ie(t,e.row))))),e}function Me(e){return Re(e),(0,G.g)(e,"value",(()=>Ie(e.col,e.row))),e}function Oe(e){return Re(e),e}function Re(t){Object.assign(t,{cols:re.value,colsMap:se.value,sort:de,rowIndex:he.value+t.pageIndex,color:e.color,dark:h.value,dense:e.dense}),!0===V.value&&(0,G.g)(t,"selected",(()=>ne(t.key)),((e,n)=>{ie([t.key],[t.row],e,n)})),(0,G.g)(t,"expand",(()=>z(t.key)),(e=>{D(t.key,e)}))}function Ie(e,t){const n="function"===typeof e.field?e.field(t):t[e.field];return void 0!==e.format?e.format(n,t):n}const ze=(0,i.Fl)((()=>({pagination:T.value,pagesNumber:ve.value,isFirstPage:pe.value,isLastPage:ge.value,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke,inFullscreen:f.value,toggleFullscreen:p})));function He(){const n=t.top,i=t["top-left"],a=t["top-right"],r=t["top-selection"],s=!0===V.value&&void 0!==r&&te.value>0,l="q-table__top relative-position row items-center";if(void 0!==n)return(0,o.h)("div",{class:l},[n(ze.value)]);let c;return!0===s?c=r(ze.value).slice():(c=[],void 0!==i?c.push((0,o.h)("div",{class:"q-table__control"},[i(ze.value)])):e.title&&c.push((0,o.h)("div",{class:"q-table__control"},[(0,o.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==a&&(c.push((0,o.h)("div",{class:"q-table__separator col"})),c.push((0,o.h)("div",{class:"q-table__control"},[a(ze.value)]))),0!==c.length?(0,o.h)("div",{class:l},c):void 0}const qe=(0,i.Fl)((()=>!0===ee.value?null:Q.value));function Ne(){const n=De();return!0===e.loading&&void 0===t.loading&&n.push((0,o.h)("tr",{class:"q-table__progress"},[(0,o.h)("th",{class:"relative-position",colspan:le.value},je())])),(0,o.h)("thead",n)}function De(){const n=t.header,i=t["header-cell"];if(void 0!==n)return n(Be({header:!0})).slice();const r=re.value.map((e=>{const n=t[`header-cell-${e.name}`],r=void 0!==n?n:i,s=Be({col:e});return void 0!==r?r(s):(0,o.h)(a.Z,{key:e.name,props:s},(()=>e.label))}));if(!0===Z.value&&!0!==e.grid)r.unshift((0,o.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===J.value){const n=t["header-selection"],i=void 0!==n?n(Be({})):[(0,o.h)(w.Z,{color:e.color,modelValue:qe.value,dark:h.value,dense:e.dense,"onUpdate:modelValue":Ye})];r.unshift((0,o.h)("th",{class:"q-table--col-auto-width"},i))}return[(0,o.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},r)]}function Be(t){return Object.assign(t,{cols:re.value,sort:de,colsMap:se.value,color:e.color,dark:h.value,dense:e.dense}),!0===J.value&&(0,G.g)(t,"selected",(()=>qe.value),Ye),t}function Ye(e){!0===ee.value&&(e=!1),ie(W.value.map(g.value),W.value,e)}const Xe=(0,i.Fl)((()=>{const t=[e.iconFirstPage||c.iconSet.table.firstPage,e.iconPrevPage||c.iconSet.table.prevPage,e.iconNextPage||c.iconSet.table.nextPage,e.iconLastPage||c.iconSet.table.lastPage];return!0===c.lang.rtl?t.reverse():t}));function We(){if(!0===e.hideBottom)return;if(!0===Se.value){if(!0===e.hideNoData)return;const n=!0===e.loading?e.loadingLabel||c.lang.table.loading:e.filter?e.noResultsLabel||c.lang.table.noResults:e.noDataLabel||c.lang.table.noData,i=t["no-data"],a=void 0!==i?[i({message:n,icon:c.iconSet.table.warning,filter:e.filter})]:[(0,o.h)(s.Z,{class:"q-table__bottom-nodata-icon",name:c.iconSet.table.warning}),n];return(0,o.h)("div",{class:K+" q-table__bottom--nodata"},a)}const n=t.bottom;if(void 0!==n)return(0,o.h)("div",{class:K},[n(ze.value)]);const i=!0!==e.hideSelectedBanner&&!0===V.value&&te.value>0?[(0,o.h)("div",{class:"q-table__control"},[(0,o.h)("div",[(e.selectedRowsLabel||c.lang.table.selectedRecords)(te.value)])])]:[];return!0!==e.hidePagination?(0,o.h)("div",{class:K+" justify-end"},$e(i)):i.length>0?(0,o.h)("div",{class:K},i):void 0}function Ve(e){O({page:1,rowsPerPage:e.value})}function $e(n){let i;const{rowsPerPage:a}=T.value,r=e.paginationLabel||c.lang.table.pagination,s=t.pagination,l=e.rowsPerPageOptions.length>1;if(n.push((0,o.h)("div",{class:"q-table__separator col"})),!0===l&&n.push((0,o.h)("div",{class:"q-table__control"},[(0,o.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||c.lang.table.recordsPerPage]),(0,o.h)(x.Z,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:a,options:me.value,displayValue:0===a?c.lang.table.allRows:a,dark:h.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Ve})])),void 0!==s)i=s(ze.value);else if(i=[(0,o.h)("span",0!==a?{class:"q-table__bottom-item"}:{},[a?r(he.value+1,Math.min(fe.value,be.value),be.value):r(1,X.value,be.value)])],0!==a&&ve.value>1){const t={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(t.size="sm"),ve.value>2&&i.push((0,o.h)(k.Z,{key:"pgFirst",...t,icon:Xe.value[0],disable:pe.value,onClick:xe})),i.push((0,o.h)(k.Z,{key:"pgPrev",...t,icon:Xe.value[1],disable:pe.value,onClick:ye}),(0,o.h)(k.Z,{key:"pgNext",...t,icon:Xe.value[2],disable:ge.value,onClick:we})),ve.value>2&&i.push((0,o.h)(k.Z,{key:"pgLast",...t,icon:Xe.value[3],disable:ge.value,onClick:ke}))}return n.push((0,o.h)("div",{class:"q-table__control"},i)),n}function Ze(){const n=!0===e.gridHeader?[(0,o.h)("table",{class:"q-table"},[Ne(o.h)])]:!0===e.loading&&void 0===t.loading?je(o.h):void 0;return(0,o.h)("div",{class:"q-table__middle"},n)}function Ue(){const i=void 0!==t.item?t.item:i=>{const a=i.cols.map((e=>(0,o.h)("div",{class:"q-table__grid-item-row"},[(0,o.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,o.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===V.value){const n=t["body-selection"],s=void 0!==n?n(i):[(0,o.h)(w.Z,{modelValue:i.selected,color:e.color,dark:h.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{ie([i.key],[i.row],e,t)}})];a.unshift((0,o.h)("div",{class:"q-table__grid-item-row"},s),(0,o.h)(r.Z,{dark:h.value}))}const s={class:["q-table__grid-item-card"+_.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(s.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(s.onClick=e=>{n("RowClick",e,i.row,i.pageIndex)}),void 0!==e.onRowDblclick&&(s.onDblclick=e=>{n("RowDblclick",e,i.row,i.pageIndex)})),(0,o.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===i.selected?" q-table__grid-item--selected":"")},[(0,o.h)("div",s,a)])};return(0,o.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},W.value.map(((e,t)=>i(Ee({key:g.value(e),row:e,pageIndex:t})))))}return Object.assign(l.proxy,{requestServerInteraction:E,setPagination:O,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke,isRowSelected:ne,clearSelection:oe,isRowExpanded:z,setExpanded:H,sort:de,resetVirtualScroll:_e,scrollTo:Pe,getCellValue:Ie}),(0,G.K)(l.proxy,{filteredSortedRows:()=>B.value,computedRows:()=>W.value,computedRowsNumber:()=>be.value}),()=>{const n=[He()],i={ref:v,class:P.value};return!0===e.grid?n.push(Ze()):Object.assign(i,{class:[i.class,e.cardClass],style:e.cardStyle}),n.push(Ae(),We()),!0===e.loading&&void 0!==t.loading&&n.push(t.loading()),(0,o.h)("div",i,n)}}})},7220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(9835),i=n(499),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=(0,o.FN)(),a=(0,i.Fl)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,o.h)("td",{class:a.value},(0,r.KR)(t.default));const i=n.vnode.key,s=(void 0!==e.props.colsMap?e.props.colsMap[i]:null)||e.props.col;if(void 0===s)return;const{row:l}=e.props;return(0,o.h)("td",{class:a.value+s.__tdClass(l),style:s.__tdStyle(l)},(0,r.KR)(t.default))}}})},1682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(9835),i=n(2857),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const a=(0,o.FN)(),{proxy:{$q:s}}=a,l=e=>{n("click",e)};return()=>{if(void 0===e.props)return(0,o.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":"",onClick:l},(0,r.KR)(t.default));let n,c;const u=a.vnode.key;if(u){if(n=e.props.colsMap[u],void 0===n)return}else n=e.props.col;if(!0===n.sortable){const e="right"===n.align?"unshift":"push";c=(0,r.Bl)(t.default,[]),c[e]((0,o.h)(i.Z,{class:n.__iconClass,name:s.iconSet.table.arrowUp}))}else c=(0,r.KR)(t.default);const d={class:n.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:n.headerStyle,onClick:t=>{!0===n.sortable&&e.props.sort(n),l(t)}};return(0,o.h)("th",d,c)}}})},3532:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-tr"+(void 0===e.props||!0===e.props.header?"":" "+e.props.__trClass)+(!0===e.noHover?" q-tr--no-hover":"")));return()=>(0,i.h)("tr",{class:n.value},(0,r.KR)(t.default))}})},900:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(9835),i=n(499),a=n(2857),r=n(1136),s=n(2026),l=n(1705),c=n(5439),u=n(1384),d=n(796),h=n(4680);let f=0;const p=["click","keydown"],g={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+f++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function v(e,t,n,f){const p=(0,o.f3)(c.Nd,c.qO);if(p===c.qO)return console.error("QTab/QRouteTab component needs to be child of QTabs"),c.qO;const{proxy:g}=(0,o.FN)(),v=(0,i.iH)(null),m=(0,i.iH)(null),b=(0,i.iH)(null),x=(0,i.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===e.ripple?{}:e.ripple))),y=(0,i.Fl)((()=>p.currentModel.value===e.name)),w=(0,i.Fl)((()=>"q-tab relative-position self-stretch flex flex-center text-center"+(!0===y.value?" q-tab--active"+(p.tabProps.value.activeClass?" "+p.tabProps.value.activeClass:"")+(p.tabProps.value.activeColor?` text-${p.tabProps.value.activeColor}`:"")+(p.tabProps.value.activeBgColor?` bg-${p.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&!1===p.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===p.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==f?f.linkClass.value:""))),k=(0,i.Fl)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===p.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),S=(0,i.Fl)((()=>!0===e.disable||!0===p.hasFocus.value||!1===y.value&&!0===p.hasActiveTab.value?-1:e.tabindex||0));function C(t,o){if(!0!==o&&null!==v.value&&v.value.focus(),!0!==e.disable){if(void 0===f)return p.updateModel({name:e.name}),void n("click",t);if(!0===f.hasRouterLink.value){const o=(n={})=>{let o;const i=void 0===n.to||!0===(0,h.xb)(n.to,e.to)?p.avoidRouteWatcher=(0,d.Z)():null;return f.navigateToRouterLink(t,{...n,returnRouterError:!0}).catch((e=>{o=e})).then((t=>{if(i===p.avoidRouteWatcher&&(p.avoidRouteWatcher=!1,void 0!==o||void 0!==t&&!0!==t.message.startsWith("Avoided redundant navigation")||p.updateModel({name:e.name})),!0===n.returnRouterError)return void 0!==o?Promise.reject(o):t}))};return n("click",t,o),void(!0!==t.defaultPrevented&&o())}n("click",t)}else void 0!==f&&!0===f.hasRouterLink.value&&(0,u.NS)(t)}function _(e){(0,l.So)(e,[13,32])?C(e,!0):!0!==(0,l.Wm)(e)&&e.keyCode>=35&&e.keyCode<=40&&!0!==e.altKey&&!0!==e.metaKey&&!0===p.onKbdNavigate(e.keyCode,g.$el)&&(0,u.NS)(e),n("keydown",e)}function A(){const n=p.tabProps.value.narrowIndicator,i=[],r=(0,o.h)("div",{ref:b,class:["q-tab__indicator",p.tabProps.value.indicatorClass]});void 0!==e.icon&&i.push((0,o.h)(a.Z,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&i.push((0,o.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&i.push(void 0!==e.alertIcon?(0,o.h)(a.Z,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,o.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===n&&i.push(r);const l=[(0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:v}),(0,o.h)("div",{class:k.value},(0,s.vs)(t.default,i))];return!1===n&&l.push(r),l}const P={name:(0,i.Fl)((()=>e.name)),rootRef:m,tabIndicatorRef:b,routeData:f};function L(t,n){const i={ref:m,class:w.value,tabindex:S.value,role:"tab","aria-selected":!0===y.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:C,onKeydown:_,...n};return(0,o.wy)((0,o.h)(t,i,A()),[[r.Z,x.value]])}return(0,o.Jd)((()=>{p.unregisterTab(P)})),(0,o.bv)((()=>{p.registerTab(P)})),{renderTab:L,$tabs:p}}var m=n(5987);const b=(0,m.L)({name:"QTab",props:g,emits:p,setup(e,{slots:t,emit:n}){const{renderTab:o}=v(e,t,n);return()=>o("div")}})},7817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var o=n(9835),i=n(499),a=n(2857),r=n(883),s=n(6916),l=n(2695),c=n(5987),u=n(2026),d=n(5439),h=n(8383);function f(e,t,n){const o=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===t?o[0]:o[1]}${e?` text-${e}`:""}`}const p=["left","center","right","justify"],g=(0,c.L)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>p.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:n}){const{proxy:c}=(0,o.FN)(),{$q:p}=c,{registerTick:g}=(0,s.Z)(),{registerTick:v}=(0,s.Z)(),{registerTick:m}=(0,s.Z)(),{registerTimeout:b,removeTimeout:x}=(0,l.Z)(),{registerTimeout:y,removeTimeout:w}=(0,l.Z)(),k=(0,i.iH)(null),S=(0,i.iH)(null),C=(0,i.iH)(e.modelValue),_=(0,i.iH)(!1),A=(0,i.iH)(!0),P=(0,i.iH)(!1),L=(0,i.iH)(!1),j=[],T=(0,i.iH)(0),F=(0,i.iH)(!1);let E,M=null,O=null;const R=(0,i.Fl)((()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:f(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),I=(0,i.Fl)((()=>{const e=T.value,t=C.value;for(let n=0;n{const t=!0===_.value?"left":!0===L.value?"justify":e.align;return`q-tabs__content--align-${t}`})),H=(0,i.Fl)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===_.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===e.outsideArrows?"outside":"inside")+` q-tabs--mobile-with${!0===e.mobileArrows?"":"out"}-arrows`+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),q=(0,i.Fl)((()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+z.value+(void 0!==e.contentClass?` ${e.contentClass}`:""))),N=(0,i.Fl)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"})),D=(0,i.Fl)((()=>!0!==e.vertical&&!0===p.lang.rtl)),B=(0,i.Fl)((()=>!1===h.e&&!0===D.value));function Y({name:t,setCurrent:o,skipEmit:i}){C.value!==t&&(!0!==i&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",t),!0!==o&&void 0!==e["onUpdate:modelValue"]||(V(C.value,t),C.value=t))}function X(){g((()=>{W({width:k.value.offsetWidth,height:k.value.offsetHeight})}))}function W(t){if(void 0===N.value||null===S.value)return;const n=t[N.value.container],o=Math.min(S.value[N.value.scroll],Array.prototype.reduce.call(S.value.children,((e,t)=>e+(t[N.value.content]||0)),0)),i=n>0&&o>n;_.value=i,!0===i&&v(Z),L.value=ne.name.value===t)):null,i=void 0!==n&&null!==n&&""!==n?j.find((e=>e.name.value===n)):null;if(o&&i){const t=o.tabIndicatorRef.value,n=i.tabIndicatorRef.value;null!==M&&(clearTimeout(M),M=null),t.style.transition="none",t.style.transform="none",n.style.transition="none",n.style.transform="none";const a=t.getBoundingClientRect(),r=n.getBoundingClientRect();n.style.transform=!0===e.vertical?`translate3d(0,${a.top-r.top}px,0) scale3d(1,${r.height?a.height/r.height:1},1)`:`translate3d(${a.left-r.left}px,0,0) scale3d(${r.width?a.width/r.width:1},1,1)`,m((()=>{M=setTimeout((()=>{M=null,n.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",n.style.transform="none"}),70)}))}i&&!0===_.value&&$(i.rootRef.value)}function $(t){const{left:n,width:o,top:i,height:a}=S.value.getBoundingClientRect(),r=t.getBoundingClientRect();let s=!0===e.vertical?r.top-i:r.left-n;if(s<0)return S.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(s),void Z();s+=!0===e.vertical?r.height-a:r.width-o,s>0&&(S.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(s),Z())}function Z(){const t=S.value;if(null===t)return;const n=t.getBoundingClientRect(),o=!0===e.vertical?t.scrollTop:Math.abs(t.scrollLeft);!0===D.value?(A.value=Math.ceil(o+n.width)0):(A.value=o>0,P.value=!0===e.vertical?Math.ceil(o+n.height){!0===te(e)&&J()}),5)}function G(){U(!0===B.value?Number.MAX_SAFE_INTEGER:0)}function K(){U(!0===B.value?0:Number.MAX_SAFE_INTEGER)}function J(){null!==O&&(clearInterval(O),O=null)}function Q(t,n){const o=Array.prototype.filter.call(S.value.children,(e=>e===n||e.matches&&!0===e.matches(".q-tab.q-focusable"))),i=o.length;if(0===i)return;if(36===t)return $(o[0]),o[0].focus(),!0;if(35===t)return $(o[i-1]),o[i-1].focus(),!0;const a=t===(!0===e.vertical?38:37),r=t===(!0===e.vertical?40:39),s=!0===a?-1:!0===r?1:void 0;if(void 0!==s){const e=!0===D.value?-1:1,t=o.indexOf(n)+s*e;return t>=0&&te.modelValue),(e=>{Y({name:e,setCurrent:!0,skipEmit:!0})})),(0,o.YP)((()=>e.outsideArrows),X);const ee=(0,i.Fl)((()=>!0===B.value?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:!0===e.vertical?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}}));function te(e){const t=S.value,{get:n,set:o}=ee.value;let i=!1,a=n(t);const r=e=e)&&(i=!0,a=e),o(t,a),Z(),i}function ne(e,t){for(const n in e)if(e[n]!==t[n])return!1;return!0}function oe(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0};const n=j.filter((e=>void 0!==e.routeData&&!0===e.routeData.hasRouterLink.value)),{hash:o,query:i}=c.$route,a=Object.keys(i).length;for(const r of n){const n=!0===r.routeData.exact.value;if(!0!==r.routeData[!0===n?"linkIsExactActive":"linkIsActive"].value)continue;const{hash:s,query:l,matched:c,href:u}=r.routeData.resolvedLink.value,d=Object.keys(l).length;if(!0===n){if(s!==o)continue;if(d!==a||!1===ne(i,l))continue;e=r.name.value;break}if(""!==s&&s!==o)continue;if(0!==d&&!1===ne(l,i))continue;const h={matchedLen:c.length,queryDiff:a-d,hrefLen:u.length-s.length};if(h.matchedLen>t.matchedLen)e=r.name.value,t=h;else if(h.matchedLen===t.matchedLen){if(h.queryDifft.hrefLen&&(e=r.name.value,t=h)}}null===e&&!0===j.some((e=>void 0===e.routeData&&e.name.value===C.value))||Y({name:e,setCurrent:!0})}function ie(e){if(x(),!0!==F.value&&null!==k.value&&e.target&&"function"===typeof e.target.closest){const t=e.target.closest(".q-tab");t&&!0===k.value.contains(t)&&(F.value=!0,!0===_.value&&$(t))}}function ae(){b((()=>{F.value=!1}),30)}function re(){!1===ue.avoidRouteWatcher?y(oe):w()}function se(){if(void 0===E){const e=(0,o.YP)((()=>c.$route.fullPath),re);E=()=>{e(),E=void 0}}}function le(e){j.push(e),T.value++,X(),void 0===e.routeData||void 0===c.$route?y((()=>{if(!0===_.value){const e=C.value,t=void 0!==e&&null!==e&&""!==e?j.find((t=>t.name.value===e)):null;t&&$(t.rootRef.value)}})):(se(),!0===e.routeData.hasRouterLink.value&&re())}function ce(e){j.splice(j.indexOf(e),1),T.value--,X(),void 0!==E&&void 0!==e.routeData&&(!0===j.every((e=>void 0===e.routeData))&&E(),re())}const ue={currentModel:C,tabProps:R,hasFocus:F,hasActiveTab:I,registerTab:le,unregisterTab:ce,verifyRouteModel:re,updateModel:Y,onKbdNavigate:Q,avoidRouteWatcher:!1};function de(){null!==M&&clearTimeout(M),J(),void 0!==E&&E()}let he;return(0,o.JJ)(d.Nd,ue),(0,o.Jd)(de),(0,o.se)((()=>{he=void 0!==E,de()})),(0,o.dl)((()=>{!0===he&&se(),X()})),()=>(0,o.h)("div",{ref:k,class:H.value,role:"tablist",onFocusin:ie,onFocusout:ae},[(0,o.h)(r.Z,{onResize:W}),(0,o.h)("div",{ref:S,class:q.value,onScroll:Z},(0,u.KR)(t.default)),(0,o.h)(a.Z,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===A.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||p.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedownPassive:G,onTouchstartPassive:G,onMouseupPassive:J,onMouseleavePassive:J,onTouchendPassive:J}),(0,o.h)(a.Z,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===P.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||p.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedownPassive:K,onTouchstartPassive:K,onMouseupPassive:J,onMouseleavePassive:J,onTouchendPassive:J})])}})},1663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,i.h)("div",{class:n.value,role:"toolbar"},(0,r.KR)(t.default))}})},1973:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-toolbar__title ellipsis"+(!0===e.shrink?" col-shrink":"")));return()=>(0,i.h)("div",{class:n.value},(0,r.KR)(t.default))}})},2043:(e,t,n)=>{"use strict";n.d(t,{If:()=>m,t9:()=>b,vp:()=>x});var o=n(9835),i=n(499),a=n(899),r=n(1384),s=n(8383);const l=1e3,c=["start","center","end","start-force","center-force","end-force"],u=Array.prototype.filter,d=void 0===window.getComputedStyle(document.body).overflowAnchor?r.ZT:function(e,t){null!==e&&(void 0!==e._qOverflowAnimationFrame&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];u.call(n,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")})))};function h(e,t){return e+t}function f(e,t,n,o,i,a,r,l){const c=e===window?document.scrollingElement||document.documentElement:e,u=!0===i?"offsetWidth":"offsetHeight",d={scrollStart:0,scrollViewSize:-r-l,scrollMaxSize:0,offsetStart:-r,offsetEnd:-l};if(!0===i?(e===window?(d.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,d.scrollViewSize+=document.documentElement.clientWidth):(d.scrollStart=c.scrollLeft,d.scrollViewSize+=c.clientWidth),d.scrollMaxSize=c.scrollWidth,!0===a&&(d.scrollStart=(!0===s.e?d.scrollMaxSize-d.scrollViewSize:0)-d.scrollStart)):(e===window?(d.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,d.scrollViewSize+=document.documentElement.clientHeight):(d.scrollStart=c.scrollTop,d.scrollViewSize+=c.clientHeight),d.scrollMaxSize=c.scrollHeight),null!==n)for(let s=n.previousElementSibling;null!==s;s=s.previousElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetStart+=s[u]);if(null!==o)for(let s=o.nextElementSibling;null!==s;s=s.nextElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetEnd+=s[u]);if(t!==e){const n=c.getBoundingClientRect(),o=t.getBoundingClientRect();!0===i?(d.offsetStart+=o.left-n.left,d.offsetEnd-=o.width):(d.offsetStart+=o.top-n.top,d.offsetEnd-=o.height),e!==window&&(d.offsetStart+=d.scrollStart),d.offsetEnd+=d.scrollMaxSize-d.offsetStart}return d}function p(e,t,n,o){"end"===t&&(t=(e===window?document.body:e)[!0===n?"scrollWidth":"scrollHeight"]),e===window?!0===n?(!0===o&&(t=(!0===s.e?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===o&&(t=(!0===s.e?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function g(e,t,n,o){if(n>=o)return 0;const i=t.length,a=Math.floor(n/l),r=Math.floor((o-1)/l)+1;let s=e.slice(a,r).reduce(h,0);return n%l!==0&&(s-=t.slice(a*l,n).reduce(h,0)),o%l!==0&&o!==i&&(s-=t.slice(o,r*l).reduce(h,0)),s}const v={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},m=Object.keys(v),b={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...v};function x({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:r}){const s=(0,o.FN)(),{props:v,emit:m,proxy:b}=s,{$q:x}=b;let y,w,k,S,C=[];const _=(0,i.iH)(0),A=(0,i.iH)(0),P=(0,i.iH)({}),L=(0,i.iH)(null),j=(0,i.iH)(null),T=(0,i.iH)(null),F=(0,i.iH)({from:0,to:0}),E=(0,i.Fl)((()=>void 0!==v.tableColspan?v.tableColspan:100));void 0===r&&(r=(0,i.Fl)((()=>v.virtualScrollItemSize)));const M=(0,i.Fl)((()=>r.value+";"+v.virtualScrollHorizontal)),O=(0,i.Fl)((()=>M.value+";"+v.virtualScrollSliceRatioBefore+";"+v.virtualScrollSliceRatioAfter));function R(){B(w,!0)}function I(e){B(void 0===e?w:e)}function z(o,i){const a=t();if(void 0===a||null===a||8===a.nodeType)return;const r=f(a,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd);k!==r.scrollViewSize&&Y(r.scrollViewSize),q(a,r,Math.min(e.value-1,Math.max(0,parseInt(o,10)||0)),0,c.indexOf(i)>-1?i:w>-1&&o>w?"end":"start")}function H(){const o=t();if(void 0===o||null===o||8===o.nodeType)return;const i=f(o,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd),a=e.value-1,r=i.scrollMaxSize-i.offsetStart-i.offsetEnd-A.value;if(y===i.scrollStart)return;if(i.scrollMaxSize<=0)return void q(o,i,0,0);k!==i.scrollViewSize&&Y(i.scrollViewSize),N(F.value.from);const s=Math.floor(i.scrollMaxSize-Math.max(i.scrollViewSize,i.offsetEnd)-Math.min(S[a],i.scrollViewSize/2));if(s>0&&Math.ceil(i.scrollStart)>=s)return void q(o,i,a,i.scrollMaxSize-i.offsetEnd-C.reduce(h,0));let c=0,u=i.scrollStart-i.offsetStart,d=u;if(u<=r&&u+i.scrollViewSize>=_.value)u-=_.value,c=F.value.from,d=u;else for(let e=0;u>=C[e]&&c0&&c-i.scrollViewSize?(c++,d=u):d=S[c]+u;q(o,i,c,d)}function q(t,n,o,i,a){const r="string"===typeof a&&a.indexOf("-force")>-1,s=!0===r?a.replace("-force",""):a,l=void 0!==s?s:"start";let c=Math.max(0,o-P.value[l]),u=c+P.value.total;u>e.value&&(u=e.value,c=Math.max(0,u-P.value.total)),y=n.scrollStart;const f=c!==F.value.from||u!==F.value.to;if(!1===f&&void 0===s)return void W(o);const{activeElement:m}=document,b=T.value;!0===f&&null!==b&&b!==m&&!0===b.contains(m)&&(b.addEventListener("focusout",D),setTimeout((()=>{null!==b&&b.removeEventListener("focusout",D)}))),d(b,o-c);const w=void 0!==s?S.slice(c,o).reduce(h,0):0;if(!0===f){const t=u>=F.value.from&&c<=F.value.to?F.value.to:u;F.value={from:c,to:t},_.value=g(C,S,0,c),A.value=g(C,S,u,e.value),requestAnimationFrame((()=>{F.value.to!==u&&y===n.scrollStart&&(F.value={from:F.value.from,to:u},A.value=g(C,S,u,e.value))}))}requestAnimationFrame((()=>{if(y!==n.scrollStart)return;!0===f&&N(c);const e=S.slice(c,o).reduce(h,0),a=e+n.offsetStart+_.value,l=a+S[o];let u=a+i;if(void 0!==s){const t=e-w,i=n.scrollStart+t;u=!0!==r&&ie.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),o=n.length,i=!0===v.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let a,r,s=e;for(let e=0;e=a;o--)S[o]=i;const s=Math.floor((e.value-1)/l);C=[];for(let o=0;o<=s;o++){let t=0;const n=Math.min((o+1)*l,e.value);for(let e=o*l;e=0?(N(F.value.from),(0,o.Y3)((()=>{z(t)}))):V()}function Y(e){if(void 0===e&&"undefined"!==typeof window){const o=t();void 0!==o&&null!==o&&8!==o.nodeType&&(e=f(o,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd).scrollViewSize)}k=e;const o=parseFloat(v.virtualScrollSliceRatioBefore)||0,i=parseFloat(v.virtualScrollSliceRatioAfter)||0,a=1+o+i,s=void 0===e||e<=0?1:Math.ceil(e/r.value),l=Math.max(1,s,Math.ceil((v.virtualScrollSliceSize>0?v.virtualScrollSliceSize:10)/a));P.value={total:Math.ceil(l*a),start:Math.ceil(l*o),center:Math.ceil(l*(.5+o)),end:Math.ceil(l*(1+o)),view:s}}function X(e,t){const n=!0===v.virtualScrollHorizontal?"width":"height",i={["--q-virtual-scroll-item-"+n]:r.value+"px"};return["tbody"===e?(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:L},[(0,o.h)("tr",[(0,o.h)("td",{style:{[n]:`${_.value}px`,...i},colspan:E.value})])]):(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:L,style:{[n]:`${_.value}px`,...i}}),(0,o.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:T,tabindex:-1},t.flat()),"tbody"===e?(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:j},[(0,o.h)("tr",[(0,o.h)("td",{style:{[n]:`${A.value}px`,...i},colspan:E.value})])]):(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:j,style:{[n]:`${A.value}px`,...i}})]}function W(e){w!==e&&(void 0!==v.onVirtualScroll&&m("virtualScroll",{index:e,from:F.value.from,to:F.value.to-1,direction:e{Y()})),(0,o.YP)(M,R),Y();const V=(0,a.Z)(H,!0===x.platform.is.ios?120:35);(0,o.wF)((()=>{Y()}));let $=!1;return(0,o.se)((()=>{$=!0})),(0,o.dl)((()=>{if(!0!==$)return;const e=t();void 0!==y&&void 0!==e&&null!==e&&8!==e.nodeType?p(e,y,v.virtualScrollHorizontal,x.lang.rtl):z(w)})),(0,o.Jd)((()=>{V.cancel()})),Object.assign(b,{scrollTo:z,reset:R,refresh:I}),{virtualScrollSliceRange:F,virtualScrollSliceSizeComputed:P,setVirtualScrollSize:Y,onVirtualScrollEvt:V,localResetVirtualScroll:B,padVirtualScroll:X,scrollTo:z,reset:R,refresh:I}}},5065:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,jO:()=>r});var o=n(499);const i={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},a=Object.keys(i),r={align:{type:String,validator:e=>a.includes(e)}};function s(e){return(0,o.Fl)((()=>{const t=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${i[t]}`}))}},3978:(e,t,n)=>{"use strict";function o(){const e=new Map;return{getCache:function(t,n){return void 0===e[t]?e[t]=n:e[t]},getCacheWithFn:function(t,n){return void 0===e[t]?e[t]=n():e[t]}}}n.d(t,{Z:()=>o})},8234:(e,t,n)=>{"use strict";n.d(t,{S:()=>i,Z:()=>a});var o=n(499);const i={dark:{type:Boolean,default:null}};function a(e,t){return(0,o.Fl)((()=>null===e.dark?t.dark.isActive:e.dark))}},6169:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>O,yV:()=>T,HJ:()=>E,Cl:()=>F,tL:()=>M});var o=n(9835),i=n(499),a=n(1957),r=n(7506),s=n(2857),l=n(3940),c=n(8234),u=n(5439);function d({validate:e,resetValidation:t,requiresQForm:n}){const i=(0,o.f3)(u.vh,!1);if(!1!==i){const{props:n,proxy:a}=(0,o.FN)();Object.assign(a,{validate:e,resetValidation:t}),(0,o.YP)((()=>n.disable),(e=>{!0===e?("function"===typeof t&&t(),i.unbindComponent(a)):i.bindComponent(a)})),(0,o.bv)((()=>{!0!==n.disable&&i.bindComponent(a)})),(0,o.Jd)((()=>{!0!==n.disable&&i.unbindComponent(a)}))}else!0===n&&console.error("Parent QForm not found on useFormChild()!")}const h=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,f=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,p=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,g=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,v=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,m={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>h.test(e),hexaColor:e=>f.test(e),hexOrHexaColor:e=>p.test(e),rgbColor:e=>g.test(e),rgbaColor:e=>v.test(e),rgbOrRgbaColor:e=>g.test(e)||v.test(e),hexOrRgbColor:e=>h.test(e)||g.test(e),hexaOrRgbaColor:e=>f.test(e)||v.test(e),anyColor:e=>p.test(e)||g.test(e)||v.test(e)};var b=n(899),x=n(3251);const y=[!0,!1,"ondemand"],w={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>y.includes(e)}};function k(e,t){const{props:n,proxy:a}=(0,o.FN)(),r=(0,i.iH)(!1),s=(0,i.iH)(null),l=(0,i.iH)(null);d({validate:y,resetValidation:v});let c,u=0;const h=(0,i.Fl)((()=>void 0!==n.rules&&null!==n.rules&&n.rules.length>0)),f=(0,i.Fl)((()=>!0!==n.disable&&!0===h.value)),p=(0,i.Fl)((()=>!0===n.error||!0===r.value)),g=(0,i.Fl)((()=>"string"===typeof n.errorMessage&&n.errorMessage.length>0?n.errorMessage:s.value));function v(){u++,t.value=!1,l.value=null,r.value=!1,s.value=null,k.cancel()}function y(e=n.modelValue){if(!0!==f.value)return!0;const o=++u,i=!0!==t.value?()=>{l.value=!0}:()=>{},a=(e,n)=>{!0===e&&i(),r.value=e,s.value=n||null,t.value=!1},c=[];for(let t=0;t{if(void 0===e||!1===Array.isArray(e)||0===e.length)return o===u&&a(!1),!0;const t=e.find((e=>!1===e||"string"===typeof e));return o===u&&a(void 0!==t,t),void 0===t}),(e=>(o===u&&(console.error(e),a(!0)),!1))))}function w(e){!0===f.value&&"ondemand"!==n.lazyRules&&(!0===l.value||!0!==n.lazyRules&&!0!==e)&&k()}(0,o.YP)((()=>n.modelValue),(()=>{w()})),(0,o.YP)((()=>n.reactiveRules),(e=>{!0===e?void 0===c&&(c=(0,o.YP)((()=>n.rules),(()=>{w(!0)}))):void 0!==c&&(c(),c=void 0)}),{immediate:!0}),(0,o.YP)(e,(e=>{!0===e?null===l.value&&(l.value=!1):!1===l.value&&(l.value=!0,!0===f.value&&"ondemand"!==n.lazyRules&&!1===t.value&&k())}));const k=(0,b.Z)(y,0);return(0,o.Jd)((()=>{void 0!==c&&c(),k.cancel()})),Object.assign(a,{resetValidation:v,validate:y}),(0,x.g)(a,"hasError",(()=>p.value)),{isDirtyModel:l,hasRules:h,hasError:p,errorMessage:g,validate:y,resetValidation:v}}const S=/^on[A-Z]/;function C(e,t){const n={listeners:(0,i.iH)({}),attributes:(0,i.iH)({})};function a(){const o={},i={};for(const t in e)"class"!==t&&"style"!==t&&!1===S.test(t)&&(o[t]=e[t]);for(const e in t.props)!0===S.test(e)&&(i[e]=t.props[e]);n.attributes.value=o,n.listeners.value=i}return(0,o.Xn)(a),a(),n}var _=n(2026),A=n(796),P=n(1384),L=n(7026);function j(e){return void 0===e?`f_${(0,A.Z)()}`:e}function T(e){return void 0!==e&&null!==e&&(""+e).length>0}const F={...c.S,...w,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},E=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function M(){const{props:e,attrs:t,proxy:n,vnode:a}=(0,o.FN)(),r=(0,c.Z)(e,n.$q);return{isDark:r,editable:(0,i.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:(0,i.iH)(!1),focused:(0,i.iH)(!1),hasPopupOpen:!1,splitAttrs:C(t,a),targetUid:(0,i.iH)(j(e.for)),rootRef:(0,i.iH)(null),targetRef:(0,i.iH)(null),controlRef:(0,i.iH)(null)}}function O(e){const{props:t,emit:n,slots:c,attrs:u,proxy:d}=(0,o.FN)(),{$q:h}=d;let f=null;void 0===e.hasValue&&(e.hasValue=(0,i.Fl)((()=>T(t.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{n("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:z,onFocusout:H}),Object.assign(e,{clearValue:q,onControlFocusin:z,onControlFocusout:H,focus:R}),void 0===e.computedCounter&&(e.computedCounter=(0,i.Fl)((()=>{if(!1!==t.counter){const e="string"===typeof t.modelValue||"number"===typeof t.modelValue?(""+t.modelValue).length:!0===Array.isArray(t.modelValue)?t.modelValue.length:0,n=void 0!==t.maxlength?t.maxlength:t.maxValues;return e+(void 0!==n?" / "+n:"")}})));const{isDirtyModel:p,hasRules:g,hasError:v,errorMessage:m,resetValidation:b}=k(e.focused,e.innerLoading),x=void 0!==e.floatingLabel?(0,i.Fl)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,i.Fl)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),y=(0,i.Fl)((()=>!0===t.bottomSlots||void 0!==t.hint||!0===g.value||!0===t.counter||null!==t.error)),w=(0,i.Fl)((()=>!0===t.filled?"filled":!0===t.outlined?"outlined":!0===t.borderless?"borderless":t.standout?"standout":"standard")),S=(0,i.Fl)((()=>`q-field row no-wrap items-start q-field--${w.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===t.rounded?" q-field--rounded":"")+(!0===t.square?" q-field--square":"")+(!0===x.value?" q-field--float":"")+(!0===A.value?" q-field--labeled":"")+(!0===t.dense?" q-field--dense":"")+(!0===t.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===v.value?" q-field--error":"")+(!0===v.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==t.hideBottomSpace&&!0===y.value?" q-field--with-bottom":"")+(!0===t.disable?" q-field--disabled":!0===t.readonly?" q-field--readonly":""))),C=(0,i.Fl)((()=>"q-field__control relative-position row no-wrap"+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")+(!0===v.value?" text-negative":"string"===typeof t.standout&&t.standout.length>0&&!0===e.focused.value?` ${t.standout}`:void 0!==t.color?` text-${t.color}`:""))),A=(0,i.Fl)((()=>!0===t.labelSlot||void 0!==t.label)),F=(0,i.Fl)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==t.labelColor&&!0!==v.value?` text-${t.labelColor}`:""))),E=(0,i.Fl)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:x.value,modelValue:t.modelValue,emitValue:e.emitValue}))),M=(0,i.Fl)((()=>{const n={for:e.targetUid.value};return!0===t.disable?n["aria-disabled"]="true":!0===t.readonly&&(n["aria-readonly"]="true"),n}));function O(){const t=document.activeElement;let n=void 0!==e.targetRef&&e.targetRef.value;!n||null!==t&&t.id===e.targetUid.value||(!0===n.hasAttribute("tabindex")||(n=n.querySelector("[tabindex]")),n&&n!==t&&n.focus({preventScroll:!0}))}function R(){(0,L.jd)(O)}function I(){(0,L.fP)(O);const t=document.activeElement;null!==t&&e.rootRef.value.contains(t)&&t.blur()}function z(t){null!==f&&(clearTimeout(f),f=null),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,n("focus",t))}function H(t,o){null!==f&&clearTimeout(f),f=setTimeout((()=>{f=null,(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,n("blur",t)),void 0!==o&&o())}))}function q(i){if((0,P.NS)(i),!0!==h.platform.is.mobile){const t=void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value;t.focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===t.type&&(e.inputRef.value.value=null),n("update:modelValue",null),n("clear",t.modelValue),(0,o.Y3)((()=>{b(),!0!==h.platform.is.mobile&&(p.value=!1)}))}function N(){const n=[];return void 0!==c.prepend&&n.push((0,o.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:P.X$},c.prepend())),n.push((0,o.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},D())),!0===v.value&&!1===t.noErrorIcon&&n.push(Y("error",[(0,o.h)(s.Z,{name:h.iconSet.field.error,color:"negative"})])),!0===t.loading||!0===e.innerLoading.value?n.push(Y("inner-loading-append",void 0!==c.loading?c.loading():[(0,o.h)(l.Z,{color:t.color})])):!0===t.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&n.push(Y("inner-clearable-append",[(0,o.h)(s.Z,{class:"q-field__focusable-action",tag:"button",name:t.clearIcon||h.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:q})])),void 0!==c.append&&n.push((0,o.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:P.X$},c.append())),void 0!==e.getInnerAppend&&n.push(Y("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&n.push(e.getControlChild()),n}function D(){const n=[];return void 0!==t.prefix&&null!==t.prefix&&n.push((0,o.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&n.push(e.getShadowControl()),void 0!==e.getControl?n.push(e.getControl()):void 0!==c.rawControl?n.push(c.rawControl()):void 0!==c.control&&n.push((0,o.h)("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0},c.control(E.value))),!0===A.value&&n.push((0,o.h)("div",{class:F.value},(0,_.KR)(c.label,t.label))),void 0!==t.suffix&&null!==t.suffix&&n.push((0,o.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),n.concat((0,_.KR)(c.default))}function B(){let n,i;!0===v.value?null!==m.value?(n=[(0,o.h)("div",{role:"alert"},m.value)],i=`q--slot-error-${m.value}`):(n=(0,_.KR)(c.error),i="q--slot-error"):!0===t.hideHint&&!0!==e.focused.value||(void 0!==t.hint?(n=[(0,o.h)("div",t.hint)],i=`q--slot-hint-${t.hint}`):(n=(0,_.KR)(c.hint),i="q--slot-hint"));const r=!0===t.counter||void 0!==c.counter;if(!0===t.hideBottomSpace&&!1===r&&void 0===n)return;const s=(0,o.h)("div",{key:i,class:"q-field__messages col"},n);return(0,o.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==t.hideBottomSpace?"animated":"stale"),onClick:P.X$},[!0===t.hideBottomSpace?s:(0,o.h)(a.uT,{name:"q-transition--field-message"},(()=>s)),!0===r?(0,o.h)("div",{class:"q-field__counter"},void 0!==c.counter?c.counter():e.computedCounter.value):null])}function Y(e,t){return null===t?null:(0,o.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},t)}(0,o.YP)((()=>t.for),(t=>{e.targetUid.value=j(t)}));let X=!1;return(0,o.se)((()=>{X=!0})),(0,o.dl)((()=>{!0===X&&!0===t.autofocus&&d.focus()})),(0,o.bv)((()=>{!0===r.uX.value&&void 0===t.for&&(e.targetUid.value=j()),!0===t.autofocus&&d.focus()})),(0,o.Jd)((()=>{null!==f&&clearTimeout(f)})),Object.assign(d,{focus:R,blur:I}),function(){const n=void 0===e.getControl&&void 0===c.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0,...M.value}:M.value;return(0,o.h)("label",{ref:e.rootRef,class:[S.value,u.class],style:u.style,...n},[void 0!==c.before?(0,o.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:P.X$},c.before()):null,(0,o.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,o.h)("div",{ref:e.controlRef,class:C.value,tabindex:-1,...e.controlEvents},N()),!0===y.value?B():null]),void 0!==c.after?(0,o.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:P.X$},c.after()):null])}}},9256:(e,t,n)=>{"use strict";n.d(t,{Do:()=>l,Fz:()=>a,Vt:()=>r,eX:()=>s});var o=n(499),i=n(9835);const a={name:String};function r(e){return(0,o.Fl)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function s(e={}){return(t,n,o)=>{t[n]((0,i.h)("input",{class:"hidden"+(o||""),...e.value}))}}function l(e){return(0,o.Fl)((()=>e.name||e.for))}},4953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(5310);function a(e,t,n){let a;function r(){void 0!==a&&(i.Z.remove(a),a=void 0)}return(0,o.Jd)((()=>{!0===e.value&&r()})),{removeFromHistory:r,addToHistory(){a={condition:()=>!0===n.value,handler:t},i.Z.add(a)}}}},2802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(7506);const i=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,a=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,r=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,s=/[a-z0-9_ -]$/i;function l(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,e(t)}else if("compositionupdate"===t.type&&!0!==t.target.qComposing&&"string"===typeof t.data){const e=!0===o.Lp.is.firefox?!1===s.test(t.data):!0===i.test(t.data)||!0===a.test(t.data)||!0===r.test(t.data);!0===e&&(t.target.qComposing=!0)}}}},3842:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,gH:()=>r,vr:()=>a});var o=n(9835),i=n(2046);const a={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},r=["beforeShow","show","beforeHide","hide"];function s({showing:e,canShow:t,hideOnRouteChange:n,handleShow:a,handleHide:r,processOnMount:s}){const l=(0,o.FN)(),{props:c,emit:u,proxy:d}=l;let h;function f(t){!0===e.value?v(t):p(t)}function p(e){if(!0===c.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==t&&!0!==t(e))return;const n=void 0!==c["onUpdate:modelValue"];!0===n&&(u("update:modelValue",!0),h=e,(0,o.Y3)((()=>{h===e&&(h=void 0)}))),null!==c.modelValue&&!1!==n||g(e)}function g(t){!0!==e.value&&(e.value=!0,u("beforeShow",t),void 0!==a?a(t):u("show",t))}function v(e){if(!0===c.disable)return;const t=void 0!==c["onUpdate:modelValue"];!0===t&&(u("update:modelValue",!1),h=e,(0,o.Y3)((()=>{h===e&&(h=void 0)}))),null!==c.modelValue&&!1!==t||m(e)}function m(t){!1!==e.value&&(e.value=!1,u("beforeHide",t),void 0!==r?r(t):u("hide",t))}function b(t){if(!0===c.disable&&!0===t)void 0!==c["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===t!==e.value){const e=!0===t?g:m;e(h)}}(0,o.YP)((()=>c.modelValue),b),void 0!==n&&!0===(0,i.Rb)(l)&&(0,o.YP)((()=>d.$route.fullPath),(()=>{!0===n.value&&!0===e.value&&v()})),!0===s&&(0,o.bv)((()=>{b(c.modelValue)}));const x={show:p,hide:v,toggle:f};return Object.assign(d,x),x}},5475:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>y,vZ:()=>v,K6:()=>x,t6:()=>b});var o=n(9835),i=n(499),a=n(1957),r=n(7506),s=n(5987),l=n(9367),c=n(1384),u=n(2589);function d(e){const t=[.06,6,50];return"string"===typeof e&&e.length&&e.split(":").forEach(((e,n)=>{const o=parseFloat(e);o&&(t[n]=o)})),t}const h=(0,s.f)({name:"touch-swipe",beforeMount(e,{value:t,arg:n,modifiers:o}){if(!0!==o.mouse&&!0!==r.Lp.has.touch)return;const i=!0===o.mouseCapture?"Capture":"",a={handler:t,sensitivity:d(n),direction:(0,l.R)(o),noop:c.ZT,mouseStart(e){(0,l.n)(e,a)&&(0,c.du)(e)&&((0,c.M0)(a,"temp",[[document,"mousemove","move",`notPassive${i}`],[document,"mouseup","end","notPassiveCapture"]]),a.start(e,!0))},touchStart(e){if((0,l.n)(e,a)){const t=e.target;(0,c.M0)(a,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),a.start(e)}},start(t,n){!0===r.Lp.is.firefox&&(0,c.Jf)(e,!0);const o=(0,c.FK)(t);a.event={x:o.left,y:o.top,time:Date.now(),mouse:!0===n,dir:!1}},move(e){if(void 0===a.event)return;if(!1!==a.event.dir)return void(0,c.NS)(e);const t=Date.now()-a.event.time;if(0===t)return;const n=(0,c.FK)(e),o=n.left-a.event.x,i=Math.abs(o),r=n.top-a.event.y,s=Math.abs(r);if(!0!==a.event.mouse){if(ia.sensitivity[0]&&(a.event.dir=r<0?"up":"down"),!0===a.direction.horizontal&&i>s&&s<100&&l>a.sensitivity[0]&&(a.event.dir=o<0?"left":"right"),!0===a.direction.up&&ia.sensitivity[0]&&(a.event.dir="up"),!0===a.direction.down&&i0&&i<100&&d>a.sensitivity[0]&&(a.event.dir="down"),!0===a.direction.left&&i>s&&o<0&&s<100&&l>a.sensitivity[0]&&(a.event.dir="left"),!0===a.direction.right&&i>s&&o>0&&s<100&&l>a.sensitivity[0]&&(a.event.dir="right"),!1!==a.event.dir?((0,c.NS)(e),!0===a.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,u.M)(),a.styleCleanup=e=>{a.styleCleanup=void 0,document.body.classList.remove("non-selectable");const t=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(t,50):t()}),a.handler({evt:e,touch:!0!==a.event.mouse,mouse:a.event.mouse,direction:a.event.dir,duration:t,distance:{x:i,y:s}})):a.end(e)},end(t){void 0!==a.event&&((0,c.ul)(a,"temp"),!0===r.Lp.is.firefox&&(0,c.Jf)(e,!1),void 0!==a.styleCleanup&&a.styleCleanup(!0),void 0!==t&&!1!==a.event.dir&&(0,c.NS)(t),a.event=void 0)}};if(e.__qtouchswipe=a,!0===o.mouse){const t=!0===o.mouseCapture||!0===o.mousecapture?"Capture":"";(0,c.M0)(a,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===r.Lp.has.touch&&(0,c.M0)(a,"main",[[e,"touchstart","touchStart","passive"+(!0===o.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchswipe;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof t.value&&n.end(),n.handler=t.value),n.direction=(0,l.R)(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;void 0!==t&&((0,c.ul)(t,"main"),(0,c.ul)(t,"temp"),!0===r.Lp.is.firefox&&(0,c.Jf)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchswipe)}});var f=n(3978),p=n(2026),g=n(2046);const v={name:{required:!0},disable:Boolean},m={setup(e,{slots:t}){return()=>(0,o.h)("div",{class:"q-panel scroll",role:"tabpanel"},(0,p.KR)(t.default))}},b={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},x=["update:modelValue","beforeTransition","transition"];function y(){const{props:e,emit:t,proxy:n}=(0,o.FN)(),{getCacheWithFn:r}=(0,f.Z)();let s,l;const c=(0,i.iH)(null),u=(0,i.iH)(null);function d(t){const o=!0===e.vertical?"up":"left";F((!0===n.$q.lang.rtl?-1:1)*(t.direction===o?1:-1))}const v=(0,i.Fl)((()=>[[h,d,void 0,{horizontal:!0!==e.vertical,vertical:e.vertical,mouse:!0}]])),b=(0,i.Fl)((()=>e.transitionPrev||"slide-"+(!0===e.vertical?"down":"right"))),x=(0,i.Fl)((()=>e.transitionNext||"slide-"+(!0===e.vertical?"up":"left"))),y=(0,i.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`)),w=(0,i.Fl)((()=>"string"===typeof e.modelValue||"number"===typeof e.modelValue?e.modelValue:String(e.modelValue))),k=(0,i.Fl)((()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax}))),S=(0,i.Fl)((()=>void 0!==e.keepAliveInclude||void 0!==e.keepAliveExclude));function C(){F(1)}function _(){F(-1)}function A(e){t("update:modelValue",e)}function P(e){return void 0!==e&&null!==e&&""!==e}function L(e){return s.findIndex((t=>t.props.name===e&&""!==t.props.disable&&!0!==t.props.disable))}function j(){return s.filter((e=>""!==e.props.disable&&!0!==e.props.disable))}function T(t){const n=0!==t&&!0===e.animated&&-1!==c.value?"q-transition--"+(-1===t?b.value:x.value):null;u.value!==n&&(u.value=n)}function F(n,o=c.value){let i=o+n;while(i>-1&&i{l=!1}));i+=n}!0===e.infinite&&s.length>0&&-1!==o&&o!==s.length&&F(n,-1===n?s.length:-1)}function E(){const t=L(e.modelValue);return c.value!==t&&(c.value=t),!0}function M(){const t=!0===P(e.modelValue)&&E()&&s[c.value];return!0===e.keepAlive?[(0,o.h)(o.Ob,k.value,[(0,o.h)(!0===S.value?r(w.value,(()=>({...m,name:w.value}))):m,{key:w.value,style:y.value},(()=>t))])]:[(0,o.h)("div",{class:"q-panel scroll",style:y.value,key:w.value,role:"tabpanel"},[t])]}function O(){if(0!==s.length)return!0===e.animated?[(0,o.h)(a.uT,{name:u.value},M)]:M()}function R(e){return s=(0,g.Pf)((0,p.KR)(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&!0===P(e.props.name))),s.length}function I(){return s}return(0,o.YP)((()=>e.modelValue),((e,n)=>{const i=!0===P(e)?L(e):-1;!0!==l&&T(-1===i?0:i{t("transition",e,n)})))})),Object.assign(n,{next:C,previous:_,goTo:A}),{panelIndex:c,panelDirectives:v,updatePanelsList:R,updatePanelIndex:E,getPanelContent:O,getEnabledPanels:j,getPanels:I,isValidPanelName:P,keepAliveProps:k,needsUniqueKeepAliveWrapper:S,goToPanelByOffset:F,goToPanel:A,nextPanel:C,previousPanel:_}}},1518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(499),i=n(9835),a=(n(1384),n(7026)),r=n(6669),s=n(2909),l=n(3251);function c(e){e=e.parent;while(void 0!==e&&null!==e){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function u(e,t,n,u){const d=(0,o.iH)(!1),h=(0,o.iH)(!1);let f=null;const p={},g="dialog"===u&&c(e);function v(t){if(!0===t)return(0,a.xF)(p),void(h.value=!0);h.value=!1,!1===d.value&&(!1===g&&null===f&&(f=(0,r.q_)(!1,u)),d.value=!0,s.Q$.push(e.proxy),(0,a.YX)(p))}function m(t){if(h.value=!1,!0!==t)return;(0,a.xF)(p),d.value=!1;const n=s.Q$.indexOf(e.proxy);-1!==n&&s.Q$.splice(n,1),null!==f&&((0,r.pB)(f),f=null)}return(0,i.Ah)((()=>{m(!0)})),e.proxy.__qPortal=!0,(0,l.g)(e.proxy,"contentEl",(()=>t.value)),{showPortal:v,hidePortal:m,portalIsActive:d,portalIsAccessible:h,renderPortal:()=>!0===g?n():!0===d.value?[(0,i.h)(i.lR,{to:f},n())]:void 0}}},9754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(1384),i=n(3701),a=n(7506);let r,s,l,c,u,d,h=0,f=!1,p=null;function g(e){v(e)&&(0,o.NS)(e)}function v(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=(0,o.AZ)(e),n=e.shiftKey&&!e.deltaX,a=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||a?e.deltaY:e.deltaX;for(let o=0;o0&&e.scrollTop+e.clientHeight===e.scrollHeight:r<0&&0===e.scrollLeft||r>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0}function m(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function b(e){!0!==f&&(f=!0,requestAnimationFrame((()=>{f=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;void 0!==l&&t===window.innerHeight||(l=n-t,document.scrollingElement.scrollTop=o),o>l&&(document.scrollingElement.scrollTop-=Math.ceil((o-l)/8))})))}function x(e){const t=document.body,n=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:l}=window.getComputedStyle(t);r=(0,i.OI)(window),s=(0,i.u3)(window),c=t.style.left,u=t.style.top,d=window.location.href,t.style.left=`-${r}px`,t.style.top=`-${s}px`,"hidden"!==l&&("scroll"===l||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===a.Lp.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",b,o.rU.passiveCapture),window.visualViewport.addEventListener("scroll",b,o.rU.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",m,o.rU.passiveCapture))}!0===a.Lp.is.desktop&&!0===a.Lp.is.mac&&window[`${e}EventListener`]("wheel",g,o.rU.notPassive),"remove"===e&&(!0===a.Lp.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",b,o.rU.passiveCapture),window.visualViewport.removeEventListener("scroll",b,o.rU.passiveCapture)):window.removeEventListener("scroll",m,o.rU.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=c,t.style.top=u,window.location.href===d&&window.scrollTo(r,s),l=void 0)}function y(e){let t="add";if(!0===e){if(h++,null!==p)return clearTimeout(p),void(p=null);if(h>1)return}else{if(0===h)return;if(h--,h>0)return;if(t="remove",!0===a.Lp.is.ios&&!0===a.Lp.is.nativeMobile)return null!==p&&clearTimeout(p),void(p=setTimeout((()=>{x(t),p=null}),100))}x(t)}function w(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,y(t))}}}},5917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(499),i=n(9835);function a(e,t){const n=(0,o.iH)(null),a=(0,o.Fl)((()=>!0===e.disable?null:(0,i.h)("span",{ref:n,class:"no-outline",tabindex:-1})));function r(e){const o=t.value;void 0!==e&&0===e.type.indexOf("key")?null!==o&&document.activeElement!==o&&!0===o.contains(document.activeElement)&&o.focus():null!==n.value&&(void 0===e||null!==o&&!0===o.contains(e.target))&&n.value.focus()}return{refocusTargetEl:a,refocusTarget:r}}},945:(e,t,n)=>{"use strict";n.d(t,{$:()=>h,Z:()=>f});var o=n(9835),i=n(499),a=n(2046);function r(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function s(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function l(e,t){for(const n in t){const o=t[n],i=e[n];if("string"===typeof o){if(o!==i)return!1}else if(!1===Array.isArray(i)||i.length!==o.length||o.some(((e,t)=>e!==i[t])))return!1}return!0}function c(e,t){return!0===Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function u(e,t){return!0===Array.isArray(e)?c(e,t):!0===Array.isArray(t)?c(t,e):e===t}function d(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!1===u(e[n],t[n]))return!1;return!0}const h={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function f({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=(0,o.FN)(),{props:c,proxy:u,emit:h}=n,f=(0,a.Rb)(n),p=(0,i.Fl)((()=>!0!==c.disable&&void 0!==c.href)),g=!0===t?(0,i.Fl)((()=>!0===f&&!0!==c.disable&&!0!==p.value&&void 0!==c.to&&null!==c.to&&""!==c.to)):(0,i.Fl)((()=>!0===f&&!0!==p.value&&void 0!==c.to&&null!==c.to&&""!==c.to)),v=(0,i.Fl)((()=>!0===g.value?_(c.to):null)),m=(0,i.Fl)((()=>null!==v.value)),b=(0,i.Fl)((()=>!0===p.value||!0===m.value)),x=(0,i.Fl)((()=>"a"===c.type||!0===b.value?"a":c.tag||e||"div")),y=(0,i.Fl)((()=>!0===p.value?{href:c.href,target:c.target}:!0===m.value?{href:v.value.href,target:c.target}:{})),w=(0,i.Fl)((()=>{if(!1===m.value)return-1;const{matched:e}=v.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const o=u.$route.matched;if(0===o.length)return-1;const i=o.findIndex(s.bind(null,n));if(i>-1)return i;const a=r(e[t-2]);return t>1&&r(n)===a&&o[o.length-1].path!==a?o.findIndex(s.bind(null,e[t-2])):i})),k=(0,i.Fl)((()=>!0===m.value&&-1!==w.value&&l(u.$route.params,v.value.params))),S=(0,i.Fl)((()=>!0===k.value&&w.value===u.$route.matched.length-1&&d(u.$route.params,v.value.params))),C=(0,i.Fl)((()=>!0===m.value?!0===S.value?` ${c.exactActiveClass} ${c.activeClass}`:!0===c.exact?"":!0===k.value?` ${c.activeClass}`:"":""));function _(e){try{return u.$router.resolve(e)}catch(t){}return null}function A(e,{returnRouterError:t,to:n=c.to,replace:o=c.replace}={}){if(!0===c.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===c.target)return Promise.resolve(!1);e.preventDefault();const i=u.$router[!0===o?"replace":"push"](n);return!0===t?i:i.then((()=>{})).catch((()=>{}))}function P(e){if(!0===m.value){const t=t=>A(e,t);h("click",e,t),!0!==e.defaultPrevented&&t()}else h("click",e)}return{hasRouterLink:m,hasHrefLink:p,hasLink:b,linkTag:x,resolvedLink:v,linkIsActive:k,linkIsExactActive:S,linkClass:C,linkAttrs:y,getLink:_,navigateToRouterLink:A,navigateOnClick:P}}},244:(e,t,n)=>{"use strict";n.d(t,{LU:()=>a,Ok:()=>i,ZP:()=>r});var o=n(499);const i={xs:18,sm:24,md:32,lg:38,xl:46},a={size:String};function r(e,t=i){return(0,o.Fl)((()=>void 0!==e.size?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null))}},6916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(2046);function a(){let e;const t=(0,o.FN)();function n(){e=void 0}return(0,o.se)(n),(0,o.Jd)(n),{removeTick:n,registerTick(n){e=n,(0,o.Y3)((()=>{e===n&&(!1===(0,i.$D)(t)&&e(),e=void 0)}))}}}},2695:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(2046);function a(){let e=null;const t=(0,o.FN)();function n(){null!==e&&(clearTimeout(e),e=null)}return(0,o.se)(n),(0,o.Jd)(n),{removeTimeout:n,registerTimeout(o,a){n(e),!1===(0,i.$D)(t)&&(e=setTimeout(o,a))}}}},431:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,Z:()=>a});var o=n(499);const i={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function a(e,t=(()=>{}),n=(()=>{})){return{transitionProps:(0,o.Fl)((()=>{const o=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}})),transitionStyle:(0,o.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}},9302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(5439);function a(){return(0,o.f3)(i.Ng)}},2146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(5987),i=n(2909),a=n(1705);function r(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const s=(0,o.f)({name:"close-popup",beforeMount(e,{value:t}){const n={depth:r(t),handler(t){0!==n.depth&&setTimeout((()=>{const o=(0,i.je)(e);void 0!==o&&(0,i.S7)(o,t,n.depth)}))},handlerKey(e){!0===(0,a.So)(e,13)&&n.handler(e)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=r(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}})},1136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(5987),i=n(223),a=n(1384),r=n(1705);function s(e,t=250){let n,o=!1;return function(){return!1===o&&(o=!0,setTimeout((()=>{o=!1}),t),n=e.apply(this,arguments)),n}}function l(e,t,n,o){!0===n.modifiers.stop&&(0,a.sT)(e);const r=n.modifiers.color;let s=n.modifiers.center;s=!0===s||!0===o;const l=document.createElement("span"),c=document.createElement("span"),u=(0,a.FK)(e),{left:d,top:h,width:f,height:p}=t.getBoundingClientRect(),g=Math.sqrt(f*f+p*p),v=g/2,m=(f-g)/2+"px",b=s?m:u.left-d-v+"px",x=(p-g)/2+"px",y=s?x:u.top-h-v+"px";c.className="q-ripple__inner",(0,i.iv)(c,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${b},${y},0) scale3d(.2,.2,1)`,opacity:0}),l.className="q-ripple"+(r?" text-"+r:""),l.setAttribute("dir","ltr"),l.appendChild(c),t.appendChild(l);const w=()=>{l.remove(),clearTimeout(k)};n.abort.push(w);let k=setTimeout((()=>{c.classList.add("q-ripple__inner--enter"),c.style.transform=`translate3d(${m},${x},0) scale3d(1,1,1)`,c.style.opacity=.2,k=setTimeout((()=>{c.classList.remove("q-ripple__inner--enter"),c.classList.add("q-ripple__inner--leave"),c.style.opacity=0,k=setTimeout((()=>{l.remove(),n.abort.splice(n.abort.indexOf(w),1)}),275)}),250)}),50)}function c(e,{modifiers:t,value:n,arg:o}){const i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:!0===i.early,stop:!0===i.stop,center:!0===i.center,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const u=(0,o.f)({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===n.ripple)return;const o={cfg:n,enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===o.enabled&&!0!==t.qSkipRipple&&t.type===(!0===o.modifiers.early?"pointerdown":"click")&&l(t,e,o,!0===t.qKeyEvent)},keystart:s((t=>{!0===o.enabled&&!0!==t.qSkipRipple&&!0===(0,r.So)(t,o.modifiers.keyCodes)&&t.type==="key"+(!0===o.modifiers.early?"down":"up")&&l(t,e,o,!0)}),300)};c(o,t),e.__qripple=o,(0,a.M0)(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;void 0!==n&&(n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&c(n,t))}},beforeUnmount(e){const t=e.__qripple;void 0!==t&&(t.abort.forEach((e=>{e()})),(0,a.ul)(t,"main"),delete e._qripple)}})},2873:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(7506),i=n(5987),a=n(9367),r=n(1384),s=n(2589);function l(e,t,n){const o=(0,r.FK)(e);let i,a=o.left-t.event.x,s=o.top-t.event.y,l=Math.abs(a),c=Math.abs(s);const u=t.direction;!0===u.horizontal&&!0!==u.vertical?i=a<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?i=s<0?"up":"down":!0===u.up&&s<0?(i="up",l>c&&(!0===u.left&&a<0?i="left":!0===u.right&&a>0&&(i="right"))):!0===u.down&&s>0?(i="down",l>c&&(!0===u.left&&a<0?i="left":!0===u.right&&a>0&&(i="right"))):!0===u.left&&a<0?(i="left",l0&&(i="down"))):!0===u.right&&a>0&&(i="right",l0&&(i="down")));let d=!1;if(void 0===i&&!1===n){if(!0===t.event.isFirst||void 0===t.event.lastDir)return{};i=t.event.lastDir,d=!0,"left"===i||"right"===i?(o.left-=a,l=0,a=0):(o.top-=s,c=0,s=0)}return{synthetic:d,payload:{evt:e,touch:!0!==t.event.mouse,mouse:!0===t.event.mouse,position:o,direction:i,isFirst:t.event.isFirst,isFinal:!0===n,duration:Date.now()-t.event.time,distance:{x:l,y:c},offset:{x:a,y:s},delta:{x:o.left-t.event.lastX,y:o.top-t.event.lastY}}}}let c=0;const u=(0,i.f)({name:"touch-pan",beforeMount(e,{value:t,modifiers:n}){if(!0!==n.mouse&&!0!==o.Lp.has.touch)return;function i(e,t){!0===n.mouse&&!0===t?(0,r.NS)(e):(!0===n.stop&&(0,r.sT)(e),!0===n.prevent&&(0,r.X$)(e))}const u={uid:"qvtp_"+c++,handler:t,modifiers:n,direction:(0,a.R)(n),noop:r.ZT,mouseStart(e){(0,a.n)(e,u)&&(0,r.du)(e)&&((0,r.M0)(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,a.n)(e,u)){const t=e.target;(0,r.M0)(u,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","passiveCapture"],[t,"touchend","end","passiveCapture"]]),u.start(e)}},start(t,i){if(!0===o.Lp.is.firefox&&(0,r.Jf)(e,!0),u.lastEvt=t,!0===i||!0===n.stop){if(!0!==u.direction.all&&(!0!==i||!0!==u.modifiers.mouseAllDir&&!0!==u.modifiers.mousealldir)){const e=t.type.indexOf("mouse")>-1?new MouseEvent(t.type,t):new TouchEvent(t.type,t);!0===t.defaultPrevented&&(0,r.X$)(e),!0===t.cancelBubble&&(0,r.sT)(e),Object.assign(e,{qKeyEvent:t.qKeyEvent,qClickOutside:t.qClickOutside,qAnchorHandled:t.qAnchorHandled,qClonedBy:void 0===t.qClonedBy?[u.uid]:t.qClonedBy.concat(u.uid)}),u.initialEvent={target:t.target,event:e}}(0,r.sT)(t)}const{left:a,top:s}=(0,r.FK)(t);u.event={x:a,y:s,time:Date.now(),mouse:!0===i,detected:!1,isFirst:!0,isFinal:!1,lastX:a,lastY:s}},move(e){if(void 0===u.event)return;const t=(0,r.FK)(e),o=t.left-u.event.x,a=t.top-u.event.y;if(0===o&&0===a)return;u.lastEvt=e;const c=!0===u.event.mouse,d=()=>{let t;i(e,c),!0!==n.preserveCursor&&!0!==n.preservecursor&&(t=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),!0===c&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,s.M)(),u.styleCleanup=e=>{if(u.styleCleanup=void 0,void 0!==t&&(document.documentElement.style.cursor=t),document.body.classList.remove("non-selectable"),!0===c){const t=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{t(),e()}),50):t()}else void 0!==e&&e()}};if(!0===u.event.detected){!0!==u.event.isFirst&&i(e,u.event.mouse);const{payload:t,synthetic:n}=l(e,u,!1);return void(void 0!==t&&(!1===u.handler(t)?u.end(e):(void 0===u.styleCleanup&&!0===u.event.isFirst&&d(),u.event.lastX=t.position.left,u.event.lastY=t.position.top,u.event.lastDir=!0===n?void 0:t.direction,u.event.isFirst=!1)))}if(!0===u.direction.all||!0===c&&(!0===u.modifiers.mouseAllDir||!0===u.modifiers.mousealldir))return d(),u.event.detected=!0,void u.move(e);const h=Math.abs(o),f=Math.abs(a);h!==f&&(!0===u.direction.horizontal&&h>f||!0===u.direction.vertical&&h0||!0===u.direction.left&&h>f&&o<0||!0===u.direction.right&&h>f&&o>0?(u.event.detected=!0,u.move(e)):u.end(e,!0))},end(t,n){if(void 0!==u.event){if((0,r.ul)(u,"temp"),!0===o.Lp.is.firefox&&(0,r.Jf)(e,!1),!0===n)void 0!==u.styleCleanup&&u.styleCleanup(),!0!==u.event.detected&&void 0!==u.initialEvent&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(!0===u.event.detected){!0===u.event.isFirst&&u.handler(l(void 0===t?u.lastEvt:t,u).payload);const{payload:e}=l(void 0===t?u.lastEvt:t,u,!0),n=()=>{u.handler(e)};void 0!==u.styleCleanup?u.styleCleanup(n):n()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(e.__qtouchpan=u,!0===n.mouse){const t=!0===n.mouseCapture||!0===n.mousecapture?"Capture":"";(0,r.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===o.Lp.has.touch&&(0,r.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchpan;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof value&&n.end(),n.handler=t.value),n.direction=(0,a.R)(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;void 0!==t&&(void 0!==t.event&&t.end(),(0,r.ul)(t,"main"),(0,r.ul)(t,"temp"),!0===o.Lp.is.firefox&&(0,r.Jf)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchpan)}})},5310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(7506),i=n(1384);const a=()=>!0;function r(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function s(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}function l(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return a;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(r).map(s)),()=>t.includes(window.location.hash)}const c={__history:[],add:i.ZT,remove:i.ZT,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=o.Lp.is;if(!0!==t&&!0!==n)return;const i=e.config[!0===t?"cordova":"capacitor"];if(void 0!==i&&!1===i.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=a),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const r=l(Object.assign({backButtonExit:!0},i)),s=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===r()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",s,!1)})):window.Capacitor.Plugins.App.addListener("backButton",s)}}},2289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(4124),i=n(3251);const a={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},r=(0,o.Z)({iconMapFn:null,__icons:{}},{set(e,t){const n={...e,rtl:!0===e.rtl};n.set=r.set,Object.assign(r.__icons,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,(0,i.g)(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==t&&this.set(t):this.set(t||a)}}),s=r},7451:(e,t,n)=>{"use strict";n.d(t,{$:()=>P,Z:()=>T});var o=n(1957),i=n(7506),a=n(4124),r=n(1384),s=n(899);const l=["sm","md","lg","xl"],{passive:c}=r.rU,u=(0,a.Z)({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:r.ZT,setDebounce:r.ZT,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:n}=window,o=n||window,a=document.scrollingElement||document.documentElement,r=void 0===n||!0===i.Lp.is.mobile?()=>[Math.max(window.innerWidth,a.clientWidth),Math.max(window.innerHeight,a.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-a.clientWidth,n.height*n.scale+window.innerHeight-a.clientHeight],u=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[t,n]=r();if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(!0!==e)return;let o=this.sizes;this.gt.xs=t>=o.sm,this.gt.sm=t>=o.md,this.gt.md=t>=o.lg,this.gt.lg=t>=o.xl,this.lt.sm=t{l.forEach((t=>{void 0!==e[t]&&(h[t]=e[t])}))},this.setDebounce=e=>{f=e};const p=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&l.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>{l.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==d&&o.removeEventListener("resize",d,c),d=e>0?(0,s.Z)(this.__update,e):this.__update,o.addEventListener("resize",d,c)},this.setDebounce(f),Object.keys(h).length>0?(this.setSizes(h),h=void 0):this.__update(),!0===u&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===i.uX.value?t.push(p):p()}}),d=(0,a.Z)({isActive:!1,mode:!1},{__media:void 0,set(e){d.mode=e,"auto"===e?(void 0===d.__media&&(d.__media=window.matchMedia("(prefers-color-scheme: dark)"),d.__updateMedia=()=>{d.set("auto")},d.__media.addListener(d.__updateMedia)),e=d.__media.matches):void 0!==d.__media&&(d.__media.removeListener(d.__updateMedia),d.__media=void 0),d.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){d.set(!1===d.isActive)},install({$q:e,onSSRHydrated:t,ssrContext:n}){const{dark:o}=e.config;if(e.dark=this,!0===this.__installed&&void 0===o)return;this.isActive=!0===o;const a=void 0!==o&&o;if(!0===i.uX.value){const e=e=>{this.__fromSSR=e},n=this.set;this.set=e,e(a),t.push((()=>{this.set=n,this.set(this.__fromSSR)}))}else this.set(a)}}),h=d;var f=n(5310),p=n(892);n(6822);function g(e,t,n=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof t)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}var v=n(1705);function m(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function b({is:e,has:t,within:n},o){const i=[!0===e.desktop?"desktop":"mobile",(!1===t.touch?"no-":"")+"touch"];if(!0===e.mobile){const t=m(e);void 0!==t&&i.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;i.push(t),i.push("native-mobile"),!0!==e.ios||void 0!==o[t]&&!1===o[t].iosStatusBarPadding||i.push("q-ios-padding")}else!0===e.electron?i.push("electron"):!0===e.bex&&i.push("bex");return!0===n.iframe&&i.push("within-iframe"),i}function x(){const{is:e}=i.Lp,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(void 0!==i.aG)n.delete("desktop"),n.add("platform-ios"),n.add("mobile");else if(!0!==e.nativeMobile&&!0!==e.electron&&!0!==e.bex)if(!0===e.desktop)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(!0===e.mobile){n.delete("desktop"),n.add("mobile");const t=m(e);void 0!==t?(n.add(`platform-${t}`),n.delete("platform-"+("ios"===t?"android":"ios"))):(n.delete("platform-ios"),n.delete("platform-android"))}!0===i.Lp.has.touch&&(n.delete("no-touch"),n.add("touch")),!0===i.Lp.within.iframe&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function y(e){for(const t in e)g(t,e[t])}const w={install(e){if(!0!==this.__installed){if(!0===i.uX.value)x();else{const{$q:t}=e;void 0!==t.config.brand&&y(t.config.brand);const n=b(i.Lp,t.config);document.body.classList.add.apply(document.body.classList,n)}!0===i.Lp.is.ios&&document.body.addEventListener("touchstart",r.ZT),window.addEventListener("keydown",v.ZK,!0)}}};var k=n(2289),S=n(5439),C=n(7495),_=n(4680);const A=[i.ZP,w,h,u,f.Z,p.Z,k.Z];function P(e,t){const n=(0,o.ri)(e);n.config.globalProperties=t.config.globalProperties;const{reload:i,...a}=t._context;return Object.assign(n._context,a),n}function L(e,t){t.forEach((t=>{t.install(e),t.__installed=!0}))}function j(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(S.Ng,n.$q),L(n,A),void 0!==t.components&&Object.values(t.components).forEach((t=>{!0===(0,_.Kn)(t)&&void 0!==t.name&&e.component(t.name,t)})),void 0!==t.directives&&Object.values(t.directives).forEach((t=>{!0===(0,_.Kn)(t)&&void 0!==t.name&&e.directive(t.name,t)})),void 0!==t.plugins&&L(n,Object.values(t.plugins).filter((e=>"function"===typeof e.install&&!1===A.includes(e)))),!0===i.uX.value&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach((e=>{e()})),n.$q.onSSRHydrated=()=>{}})}const T=function(e,t={}){const n={version:"2.11.8"};!1===C.Uf?(void 0!==t.config&&Object.assign(C.w6,t.config),n.config={...C.w6},(0,C.tP)()):n.config=t.config||{},j(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})}},892:(e,t,n)=>{"use strict";n.d(t,{F:()=>i.Z,Z:()=>s});var o=n(4124),i=n(9527);function a(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const r=(0,o.Z)({__langPack:{}},{getLocale:a,set(e=i.Z,t){const n={...e,rtl:!0===e.rtl,getLocale:a};if(n.set=r.set,void 0===r.__langConfig||!0!==r.__langConfig.noHtmlAttrs){const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName)}Object.assign(r.__langPack,n),r.props=n,r.isoName=n.isoName,r.nativeName=n.nativeName},install({$q:e,lang:t,ssrContext:n}){e.lang=r.__langPack,r.__langConfig=e.config.lang,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||i.Z)}}),s=r},4462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var o=n(9835),i=n(499),a=n(2074),r=n(8879),s=n(4458),l=n(3190),c=n(1821),u=n(926),d=n(6611),h=n(5429),f=n(3940),p=n(5987),g=n(8234),v=n(1705),m=n(4680);const b=(0,p.L)({name:"DialogPlugin",props:{...g.S,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=(0,o.FN)(),{$q:p}=n,b=(0,g.Z)(e,p),x=(0,i.iH)(null),y=(0,i.iH)(void 0!==e.prompt?e.prompt.model:void 0!==e.options?e.options.model:void 0),w=(0,i.Fl)((()=>"q-dialog-plugin"+(!0===b.value?" q-dialog-plugin--dark q-dark":"")+(!1!==e.progress?" q-dialog-plugin--progress":""))),k=(0,i.Fl)((()=>e.color||(!0===b.value?"amber":"primary"))),S=(0,i.Fl)((()=>!1===e.progress?null:!0===(0,m.Kn)(e.progress)?{component:e.progress.spinner||f.Z,props:{color:e.progress.color||k.value}}:{component:f.Z,props:{color:k.value}})),C=(0,i.Fl)((()=>void 0!==e.prompt||void 0!==e.options)),_=(0,i.Fl)((()=>{if(!0!==C.value)return{};const{model:t,isValid:n,items:o,...i}=void 0!==e.prompt?e.prompt:e.options;return i})),A=(0,i.Fl)((()=>!0===(0,m.Kn)(e.ok)||!0===e.ok?p.lang.label.ok:e.ok)),P=(0,i.Fl)((()=>!0===(0,m.Kn)(e.cancel)||!0===e.cancel?p.lang.label.cancel:e.cancel)),L=(0,i.Fl)((()=>void 0!==e.prompt?void 0!==e.prompt.isValid&&!0!==e.prompt.isValid(y.value):void 0!==e.options&&(void 0!==e.options.isValid&&!0!==e.options.isValid(y.value)))),j=(0,i.Fl)((()=>({color:k.value,label:A.value,ripple:!1,disable:L.value,...!0===(0,m.Kn)(e.ok)?e.ok:{flat:!0},"data-autofocus":"ok"===e.focus&&!0!==C.value||void 0,onClick:M}))),T=(0,i.Fl)((()=>({color:k.value,label:P.value,ripple:!1,...!0===(0,m.Kn)(e.cancel)?e.cancel:{flat:!0},"data-autofocus":"cancel"===e.focus&&!0!==C.value||void 0,onClick:O})));function F(){x.value.show()}function E(){x.value.hide()}function M(){t("ok",(0,i.IU)(y.value)),E()}function O(){E()}function R(){t("hide")}function I(e){y.value=e}function z(t){!0!==L.value&&"textarea"!==e.prompt.type&&!0===(0,v.So)(t,13)&&M()}function H(t,n){return!0===e.html?(0,o.h)(l.Z,{class:t,innerHTML:n}):(0,o.h)(l.Z,{class:t},(()=>n))}function q(){return[(0,o.h)(d.Z,{color:k.value,dense:!0,autofocus:!0,dark:b.value,..._.value,modelValue:y.value,"onUpdate:modelValue":I,onKeyup:z})]}function N(){return[(0,o.h)(h.Z,{color:k.value,options:e.options.items,dark:b.value,..._.value,modelValue:y.value,"onUpdate:modelValue":I})]}function D(){const t=[];return e.cancel&&t.push((0,o.h)(r.Z,T.value)),e.ok&&t.push((0,o.h)(r.Z,j.value)),(0,o.h)(c.Z,{class:!0===e.stackButtons?"items-end":"",vertical:e.stackButtons,align:"right"},(()=>t))}function B(){const t=[];return e.title&&t.push(H("q-dialog__title",e.title)),!1!==e.progress&&t.push((0,o.h)(l.Z,{class:"q-dialog__progress"},(()=>(0,o.h)(S.value.component,S.value.props)))),e.message&&t.push(H("q-dialog__message",e.message)),void 0!==e.prompt?t.push((0,o.h)(l.Z,{class:"scroll q-dialog-plugin__form"},q)):void 0!==e.options&&t.push((0,o.h)(u.Z,{dark:b.value}),(0,o.h)(l.Z,{class:"scroll q-dialog-plugin__form"},N),(0,o.h)(u.Z,{dark:b.value})),(e.ok||e.cancel)&&t.push(D()),t}function Y(){return[(0,o.h)(s.Z,{class:[w.value,e.cardClass],style:e.cardStyle,dark:b.value},B)]}return(0,o.YP)((()=>e.prompt&&e.prompt.model),I),(0,o.YP)((()=>e.options&&e.options.model),I),Object.assign(n,{show:F,hide:E}),()=>(0,o.h)(a.Z,{ref:x,onHide:R},Y)}});var x=n(7451),y=n(6669);function w(e,t){for(const n in t)"spinner"!==n&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},w(e[n],t[n])):e[n]=t[n]}function k(e,t,n){return a=>{let r,s;const l=!0===t&&void 0!==a.component;if(!0===l){const{component:e,componentProps:t}=a;r="string"===typeof e?n.component(e):e,s=t||{}}else{const{class:t,style:n,...o}=a;r=e,s=o,void 0!==t&&(o.cardClass=t),void 0!==n&&(o.cardStyle=n)}let c,u=!1;const d=(0,i.iH)(null),h=(0,y.q_)(!1,"dialog"),f=e=>{if(null!==d.value&&void 0!==d.value[e])return void d.value[e]();const t=c.$.subTree;if(t&&t.component){if(t.component.proxy&&t.component.proxy[e])return void t.component.proxy[e]();if(t.component.subTree&&t.component.subTree.component&&t.component.subTree.component.proxy&&t.component.subTree.component.proxy[e])return void t.component.subTree.component.proxy[e]()}console.error("[Quasar] Incorrectly defined Dialog component")},p=[],g=[],v={onOk(e){return p.push(e),v},onCancel(e){return g.push(e),v},onDismiss(e){return p.push(e),g.push(e),v},hide(){return f("hide"),v},update(e){if(null!==c){if(!0===l)Object.assign(s,e);else{const{class:t,style:n,...o}=e;void 0!==t&&(o.cardClass=t),void 0!==n&&(o.cardStyle=n),w(s,o)}c.$forceUpdate()}return v}},m=e=>{u=!0,p.forEach((t=>{t(e)}))},b=()=>{k.unmount(h),(0,y.pB)(h),k=null,c=null,!0!==u&&g.forEach((e=>{e()}))};let k=(0,x.$)({name:"QGlobalDialog",setup:()=>()=>(0,o.h)(r,{...s,ref:d,onOk:m,onHide:b,onVnodeMounted(...e){"function"===typeof s.onVnodeMounted&&s.onVnodeMounted(...e),(0,o.Y3)((()=>f("show")))}})},n);return c=k.mount(h),v}}const S={install({$q:e,parentApp:t}){e.dialog=k(b,!0,t),!0!==this.__installed&&(this.create=e.dialog)}}},3703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(7506),i=n(1384),a=n(4680);function r(e){return!0===(0,a.J_)(e)?"__q_date|"+e.toUTCString():!0===(0,a.Gf)(e)?"__q_expr|"+e.source:"number"===typeof e?"__q_numb|"+e:"boolean"===typeof e?"__q_bool|"+(e?"1":"0"):"string"===typeof e?"__q_strn|"+e:"function"===typeof e?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function s(e){const t=e.length;if(t<9)return e;const n=e.substring(0,8),o=e.substring(9);switch(n){case"__q_date":return new Date(o);case"__q_expr":return new RegExp(o);case"__q_numb":return Number(o);case"__q_bool":return Boolean("1"===o);case"__q_strn":return""+o;case"__q_objt":return JSON.parse(o);default:return e}}function l(){const e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:i.ZT,remove:i.ZT,clear:i.ZT,isEmpty:()=>!0}}function c(e){const t=window[e+"Storage"],n=e=>{const n=t.getItem(e);return n?s(n):null};return{has:e=>null!==t.getItem(e),getLength:()=>t.length,getItem:n,getIndex:e=>ee{let e;const o={},i=t.length;for(let a=0;a{const e=[],n=t.length;for(let o=0;o{t.setItem(e,r(n))},remove:e=>{t.removeItem(e)},clear:()=>{t.clear()},isEmpty:()=>0===t.length}}const u=!1===o.Lp.has.webStorage?l():c("local"),d={install({$q:e}){e.localStorage=u}};Object.assign(d,u);const h=d},7506:(e,t,n)=>{"use strict";n.d(t,{Lp:()=>g,ZP:()=>m,aG:()=>r,uX:()=>a});var o=n(499),i=n(3251);const a=(0,o.iH)(!1);let r,s=!1;function l(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:t[0]||""}}function c(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u="ontouchstart"in window||window.navigator.maxTouchPoints>0;function d(e){r={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}function h(e){const t=e.toLowerCase(),n=c(t),o=l(t,n),i={};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(i[o.platform]=!0);const a=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];return!0===a||t.indexOf("mobile")>-1?(i.mobile=!0,i.edga||i.edgios?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox")):i.desktop=!0,(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),(i.chrome||i.opr||i.safari||i.vivaldi||!0===i.mobile&&!0!==i.ios&&!0!==a)&&(i.webkit=!0),i.edg&&(o.browser="edgechromium",i.edgeChromium=!0),(i.safari&&i.blackberry||i.bb)&&(o.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(o.browser="playbook",i.playbook=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&i.android&&(o.browser="android",i.android=!0),i.safari&&i.kindle&&(o.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(o.browser="silk",i.silk=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),i.name=o.browser,i.platform=o.platform,t.indexOf("electron")>-1?i.electron=!0:document.location.href.indexOf("-extension://")>-1?i.bex=!0:(void 0!==window.Capacitor?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),!0===u&&!0===i.mac&&(!0===i.desktop&&!0===i.safari||!0===i.nativeMobile&&!0!==i.android&&!0!==i.ios&&!0!==i.ipad)&&d(i)),i}const f=navigator.userAgent||navigator.vendor||window.opera,p={has:{touch:!1,webStorage:!1},within:{iframe:!1}},g={userAgent:f,is:h(f),has:{touch:u},within:{iframe:window.self!==window.top}},v={install(e){const{$q:t}=e;!0===a.value?(e.onSSRHydrated.push((()=>{Object.assign(t.platform,g),a.value=!1,r=void 0})),t.platform=(0,o.qj)(this)):t.platform=this}};{let e;(0,i.g)(g.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1})),s=!0===g.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),!0===a.value?Object.assign(v,g,r,p):Object.assign(v,g)}const m=v},899:(e,t,n)=>{"use strict";function o(e,t=250,n){let o=null;function i(){const i=arguments,a=()=>{o=null,!0!==n&&e.apply(this,i)};null!==o?clearTimeout(o):!0===n&&e.apply(this,i),o=setTimeout(a,t)}return i.cancel=()=>{null!==o&&clearTimeout(o)},i}n.d(t,{Z:()=>o})},223:(e,t,n)=>{"use strict";n.d(t,{iv:()=>i,mY:()=>r,sb:()=>a});var o=n(499);function i(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function a(e){if(void 0===e||null===e)return;if("string"===typeof e)try{return document.querySelector(e)||void 0}catch(n){return}const t=(0,o.SU)(e);return t?t.$el||t:void 0}function r(e,t){if(void 0===e||null===e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}},1384:(e,t,n)=>{"use strict";n.d(t,{AZ:()=>s,FK:()=>r,Jf:()=>d,M0:()=>h,NS:()=>u,X$:()=>c,ZT:()=>i,du:()=>a,rU:()=>o,sT:()=>l,ul:()=>f});const o={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(o,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(p){}function i(){}function a(e){return 0===e.button}function r(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function s(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;while(n){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}function l(e){e.stopPropagation()}function c(e){!1!==e.cancelable&&e.preventDefault()}function u(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function d(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const n=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",c,o.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",c,o.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function h(e,t,n){const i=`__q_${t}_evt`;e[i]=void 0!==e[i]?e[i].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],o[t[3]])}))}function f(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],o[t[3]])})),e[n]=void 0)}},321:(e,t,n)=>{"use strict";n.d(t,{Uz:()=>a,kC:()=>o,vX:()=>i,vk:()=>r});function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function a(e,t,n){if(n<=t)return t;const o=n-t+1;let i=t+(e-t)%o;return i=t?o:new Array(t-o.length+1).join(n)+o}},4680:(e,t,n)=>{"use strict";function o(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;let n,i;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(!0!==o(e[i],t[i]))return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();i=n.next();while(!0!==i.done){if(!0!==t.has(i.value[0]))return!1;i=n.next()}n=e.entries(),i=n.next();while(!0!==i.done){if(!0!==o(i.value[1],t.get(i.value[0])))return!1;i=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const n=e.entries();i=n.next();while(!0!==i.done){if(!0!==t.has(i.value[0]))return!1;i=n.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(e[i]!==t[i])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const a=Object.keys(e).filter((t=>void 0!==e[t]));if(n=a.length,n!==Object.keys(t).filter((e=>void 0!==t[e])).length)return!1;for(i=n;0!==i--;){const n=a[i];if(!0!==o(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function i(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function a(e){return"[object Date]"===Object.prototype.toString.call(e)}function r(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function s(e){return"number"===typeof e&&isFinite(e)}n.d(t,{Gf:()=>r,J_:()=>a,Kn:()=>i,hj:()=>s,xb:()=>o})},5987:(e,t,n)=>{"use strict";n.d(t,{L:()=>a,f:()=>r});var o=n(499),i=n(9835);const a=e=>(0,o.Xl)((0,i.aZ)(e)),r=e=>(0,o.Xl)(e)},4124:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(499),i=n(3251);const a=(e,t)=>{const n=(0,o.qj)(e);for(const o in e)(0,i.g)(t,o,(()=>n[o]),(e=>{n[o]=e}));return t}},6532:(e,t,n)=>{"use strict";n.d(t,{c:()=>d,k:()=>h});var o=n(7506),i=n(1705);const a=[];let r;function s(e){r=27===e.keyCode}function l(){!0===r&&(r=!1)}function c(e){!0===r&&(r=!1,!0===(0,i.So)(e,27)&&a[a.length-1](e))}function u(e){window[e]("keydown",s),window[e]("blur",l),window[e]("keyup",c),r=!1}function d(e){!0===o.Lp.is.desktop&&(a.push(e),1===a.length&&u("addEventListener"))}function h(e){const t=a.indexOf(e);t>-1&&(a.splice(t,1),0===a.length&&u("removeEventListener"))}},7026:(e,t,n)=>{"use strict";n.d(t,{YX:()=>r,fP:()=>c,jd:()=>l,xF:()=>s});let o=[],i=[];function a(e){i=i.filter((t=>t!==e))}function r(e){a(e),i.push(e)}function s(e){a(e),0===i.length&&o.length>0&&(o[o.length-1](),o=[])}function l(e){0===i.length?e():o.push(e)}function c(e){o=o.filter((t=>t!==e))}},4173:(e,t,n)=>{"use strict";n.d(t,{H:()=>s,i:()=>r});var o=n(7506);const i=[];function a(e){i[i.length-1](e)}function r(e){!0===o.Lp.is.desktop&&(i.push(e),1===i.length&&document.body.addEventListener("focusin",a))}function s(e){const t=i.indexOf(e);t>-1&&(i.splice(t,1),0===i.length&&document.body.removeEventListener("focusin",a))}},7495:(e,t,n)=>{"use strict";n.d(t,{Uf:()=>i,tP:()=>a,w6:()=>o});const o={};let i=!1;function a(){i=!0}},6669:(e,t,n)=>{"use strict";n.d(t,{pB:()=>c,q_:()=>l});var o=n(7495);const i=[],a=[];let r=1,s=document.body;function l(e,t){const n=document.createElement("div");if(n.id=void 0!==t?`q-portal--${t}--${r++}`:e,void 0!==o.w6.globalNodes){const e=o.w6.globalNodes["class"];void 0!==e&&(n.className=e)}return s.appendChild(n),i.push(n),a.push(t),n}function c(e){const t=i.indexOf(e);i.splice(t,1),a.splice(t,1),e.remove()}},3251:(e,t,n)=>{"use strict";function o(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function i(e,t){for(const n in t)o(e,n,t[n]);return e}n.d(t,{K:()=>i,g:()=>o})},1705:(e,t,n)=>{"use strict";n.d(t,{So:()=>r,Wm:()=>a,ZK:()=>i});let o=!1;function i(e){o=!0===e.isComposing}function a(e){return!0===o||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function r(e,t){return!0!==a(e)&&[].concat(t).includes(e.keyCode)}},9480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const o={xs:30,sm:35,md:40,lg:50,xl:60}},2909:(e,t,n)=>{"use strict";n.d(t,{AH:()=>r,Q$:()=>i,S7:()=>s,je:()=>a});var o=n(2046);const i=[];function a(e){return i.find((t=>null!==t.contentEl&&t.contentEl.contains(e)))}function r(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return(0,o.O2)(e)}else if(!0===e.__qPortal){const n=(0,o.O2)(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=(0,o.O2)(e)}while(void 0!==e&&null!==e)}function s(e,t,n){while(0!==n&&void 0!==e&&null!==e){if(!0===e.__qPortal){if(n--,"QMenu"===e.$options.name){e=r(e,t);continue}e.hide(t)}e=(0,o.O2)(e)}}},2026:(e,t,n)=>{"use strict";n.d(t,{Bl:()=>a,Jl:()=>l,KR:()=>i,pf:()=>s,vs:()=>r});var o=n(9835);function i(e,t){return void 0!==e&&e()||t}function a(e,t){if(void 0!==e){const t=e();if(void 0!==t&&null!==t)return t.slice()}return t}function r(e,t){return void 0!==e?t.concat(e()):t}function s(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function l(e,t,n,i,a,r){t.key=i+a;const s=(0,o.h)(e,t,n);return!0===a?(0,o.wy)(s,r()):s}},8383:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});let o=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,o=e.scrollLeft>=0,e.remove()}},2589:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var o=n(7506);function i(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==o.ZP.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},5439:(e,t,n)=>{"use strict";n.d(t,{Lr:()=>r,Mw:()=>a,Nd:()=>l,Ng:()=>o,YE:()=>i,qO:()=>c,vh:()=>s});const o="_q_",i="_q_l_",a="_q_pc_",r="_q_f_",s="_q_fo_",l="_q_tabs_",c=()=>{}},9367:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,n:()=>r});const o={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},i=Object.keys(o);function a(e){const t={};for(const n of i)!0===e[n]&&(t[n]=!0);return 0===Object.keys(t).length?o:(!0===t.horizontal?t.left=t.right=!0:!0===t.left&&!0===t.right&&(t.horizontal=!0),!0===t.vertical?t.up=t.down=!0:!0===t.up&&!0===t.down&&(t.vertical=!0),!0===t.horizontal&&!0===t.vertical&&(t.all=!0),t)}function r(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof t.handler&&"INPUT"!==e.target.nodeName.toUpperCase()&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}o.all=!0},2046:(e,t,n)=>{"use strict";function o(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;while(Object(t)===t){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function i(e,t){"symbol"===typeof t.type?!0===Array.isArray(t.children)&&t.children.forEach((t=>{i(e,t)})):e.add(t)}function a(e){const t=new Set;return e.forEach((e=>{i(t,e)})),Array.from(t)}function r(e){return void 0!==e.appContext.config.globalProperties.$router}function s(e){return!0===e.isUnmounted||!0===e.isDeactivated}n.d(t,{$D:()=>s,O2:()=>o,Pf:()=>a,Rb:()=>r})},3701:(e,t,n)=>{"use strict";n.d(t,{OI:()=>s,QA:()=>v,b0:()=>a,f3:()=>h,ik:()=>f,np:()=>g,u3:()=>r});var o=n(223);const i=[null,document,document.body,document.scrollingElement,document.documentElement];function a(e,t){let n=(0,o.sb)(t);if(void 0===n){if(void 0===e||null===e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return i.includes(n)?window:n}function r(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function s(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function l(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],i=r(e);n<=0?i!==t&&u(e,t):requestAnimationFrame((a=>{const r=a-o,s=i+(t-i)/Math.max(r,n)*r;u(e,s),s!==t&&l(e,t,n-r,a)}))}function c(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],i=s(e);n<=0?i!==t&&d(e,t):requestAnimationFrame((a=>{const r=a-o,s=i+(t-i)/Math.max(r,n)*r;d(e,s),s!==t&&c(e,t,n-r,a)}))}function u(e,t){e!==window?e.scrollTop=t:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t)}function d(e,t){e!==window?e.scrollLeft=t:window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function h(e,t,n){n?l(e,t,n):u(e,t)}function f(e,t,n){n?c(e,t,n):d(e,t)}let p;function g(){if(void 0!==p)return p;const e=document.createElement("p"),t=document.createElement("div");(0,o.iv)(e,{width:"100%",height:"200px"}),(0,o.iv)(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let i=e.offsetWidth;return n===i&&(i=t.clientWidth),t.remove(),p=n-i,p}function v(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}},796:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});n(5231),n(9359),n(6408);let o,i=0;const a=new Array(256);for(let c=0;c<256;c++)a[c]=(c+256).toString(16).substring(1);const r=(()=>{const e="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})(),s=4096;function l(){(void 0===o||i+16>s)&&(i=0,o=r(s));const e=Array.prototype.slice.call(o,i,i+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,a[e[0]]+a[e[1]]+a[e[2]]+a[e[3]]+"-"+a[e[4]]+a[e[5]]+"-"+a[e[6]]+a[e[7]]+"-"+a[e[8]]+a[e[9]]+"-"+a[e[10]]+a[e[11]]+a[e[12]]+a[e[13]]+a[e[14]]+a[e[15]]}},1947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7451),i=n(892),a=n(2289);const r={version:"2.11.8",install:o.Z,lang:i.Z,iconSet:a.Z}},8762:(e,t,n)=>{var o=n(3834),i=n(6107),a=n(7545),r=o.TypeError;e.exports=function(e){if(i(e))return e;throw r(a(e)+" is not a function")}},9220:(e,t,n)=>{var o=n(3834),i=n(6107),a=o.String,r=o.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw r("Can't set "+a(e)+" as a prototype")}},616:(e,t,n)=>{var o=n(3834),i=n(1419),a=o.String,r=o.TypeError;e.exports=function(e){if(i(e))return e;throw r(a(e)+" is not an object")}},2884:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8086:(e,t,n)=>{"use strict";var o,i,a,r=n(2884),s=n(4133),l=n(3834),c=n(6107),u=n(1419),d=n(2924),h=n(4239),f=n(7545),p=n(4722),g=n(6717),v=n(1012).f,m=n(6123),b=n(7886),x=n(6534),y=n(4103),w=n(3965),k=l.Int8Array,S=k&&k.prototype,C=l.Uint8ClampedArray,_=C&&C.prototype,A=k&&b(k),P=S&&b(S),L=Object.prototype,j=l.TypeError,T=y("toStringTag"),F=w("TYPED_ARRAY_TAG"),E=w("TYPED_ARRAY_CONSTRUCTOR"),M=r&&!!x&&"Opera"!==h(l.opera),O=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!u(e))return!1;var t=h(e);return"DataView"===t||d(R,t)||d(I,t)},H=function(e){if(!u(e))return!1;var t=h(e);return d(R,t)||d(I,t)},q=function(e){if(H(e))return e;throw j("Target is not a typed array")},N=function(e){if(c(e)&&(!x||m(A,e)))return e;throw j(f(e)+" is not a typed array constructor")},D=function(e,t,n,o){if(s){if(n)for(var i in R){var a=l[i];if(a&&d(a.prototype,e))try{delete a.prototype[e]}catch(r){}}P[e]&&!n||g(P,e,n?t:M&&S[e]||t,o)}},B=function(e,t,n){var o,i;if(s){if(x){if(n)for(o in R)if(i=l[o],i&&d(i,e))try{delete i[e]}catch(a){}if(A[e]&&!n)return;try{return g(A,e,n?t:M&&A[e]||t)}catch(a){}}for(o in R)i=l[o],!i||i[e]&&!n||g(i,e,t)}};for(o in R)i=l[o],a=i&&i.prototype,a?p(a,E,i):M=!1;for(o in I)i=l[o],a=i&&i.prototype,a&&p(a,E,i);if((!M||!c(A)||A===Function.prototype)&&(A=function(){throw j("Incorrect invocation")},M))for(o in R)l[o]&&x(l[o],A);if((!M||!P||P===L)&&(P=A.prototype,M))for(o in R)l[o]&&x(l[o].prototype,P);if(M&&b(_)!==P&&x(_,P),s&&!d(P,T))for(o in O=!0,v(P,T,{get:function(){return u(this)?this[F]:void 0}}),R)l[o]&&p(l[o],F,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:E,TYPED_ARRAY_TAG:O&&F,aTypedArray:q,aTypedArrayConstructor:N,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:B,isView:z,isTypedArray:H,TypedArray:A,TypedArrayPrototype:P}},7714:(e,t,n)=>{var o=n(7447),i=n(2661),a=n(8600),r=function(e){return function(t,n,r){var s,l=o(t),c=a(l),u=i(r,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:r(!0),indexOf:r(!1)}},6378:(e,t,n)=>{var o=n(3834),i=n(2661),a=n(8600),r=n(5976),s=o.Array,l=Math.max;e.exports=function(e,t,n){for(var o=a(e),c=i(t,o),u=i(void 0===n?o:n,o),d=s(l(u-c,0)),h=0;c{var o=n(6378),i=Math.floor,a=function(e,t){var n=e.length,l=i(n/2);return n<8?r(e,t):s(e,a(o(e,0,l),t),a(o(e,l),t),t)},r=function(e,t){var n,o,i=e.length,a=1;while(a0)e[o]=e[--o];o!==a++&&(e[o]=n)}return e},s=function(e,t,n,o){var i=t.length,a=n.length,r=0,s=0;while(r{var o=n(1636),i=o({}.toString),a=o("".slice);e.exports=function(e){return a(i(e),8,-1)}},4239:(e,t,n)=>{var o=n(3834),i=n(4130),a=n(6107),r=n(6749),s=n(4103),l=s("toStringTag"),c=o.Object,u="Arguments"==r(function(){return arguments}()),d=function(e,t){try{return e[t]}catch(n){}};e.exports=i?r:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=d(t=c(e),l))?n:u?r(t):"Object"==(o=r(t))&&a(t.callee)?"Arguments":o}},1328:(e,t,n)=>{var o=n(1636),i=o("".replace),a=function(e){return String(Error(e).stack)}("zxcasd"),r=/\n\s*at [^:]*:[^\n]*/,s=r.test(a);e.exports=function(e,t){if(s&&"string"==typeof e)while(t--)e=i(e,r,"");return e}},7366:(e,t,n)=>{var o=n(2924),i=n(1240),a=n(863),r=n(1012);e.exports=function(e,t,n){for(var s=i(t),l=r.f,c=a.f,u=0;u{var o=n(8814);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4722:(e,t,n)=>{var o=n(4133),i=n(1012),a=n(3386);e.exports=o?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},3386:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5976:(e,t,n)=>{"use strict";var o=n(1017),i=n(1012),a=n(3386);e.exports=function(e,t,n){var r=o(t);r in e?i.f(e,r,a(0,n)):e[r]=n}},4133:(e,t,n)=>{var o=n(8814);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1657:(e,t,n)=>{var o=n(3834),i=n(1419),a=o.document,r=i(a)&&i(a.createElement);e.exports=function(e){return r?a.createElement(e):{}}},259:(e,t,n)=>{var o=n(322),i=o.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},1280:(e,t,n)=>{var o=n(322);e.exports=/MSIE|Trident/.test(o)},322:(e,t,n)=>{var o=n(7859);e.exports=o("navigator","userAgent")||""},1418:(e,t,n)=>{var o,i,a=n(3834),r=n(322),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=u.split("."),i=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&r&&(o=r.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=r.match(/Chrome\/(\d+)/),o&&(i=+o[1]))),e.exports=i},7433:(e,t,n)=>{var o=n(322),i=o.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},203:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9277:(e,t,n)=>{var o=n(8814),i=n(3386);e.exports=!o((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},6943:(e,t,n)=>{var o=n(3834),i=n(863).f,a=n(4722),r=n(6717),s=n(4650),l=n(7366),c=n(2764);e.exports=function(e,t){var n,u,d,h,f,p,g=e.target,v=e.global,m=e.stat;if(u=v?o:m?o[g]||s(g,{}):(o[g]||{}).prototype,u)for(d in t){if(f=t[d],e.noTargetGet?(p=i(u,d),h=p&&p.value):h=u[d],n=c(v?d:g+(m?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof f==typeof h)continue;l(f,h)}(e.sham||h&&h.sham)&&a(f,"sham",!0),r(u,d,f,e)}}},8814:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},6112:e=>{var t=Function.prototype,n=t.apply,o=t.bind,i=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(n):function(){return i.apply(n,arguments)})},6654:e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},9104:(e,t,n)=>{var o=n(4133),i=n(2924),a=Function.prototype,r=o&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&r(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1636:e=>{var t=Function.prototype,n=t.bind,o=t.call,i=n&&n.bind(o);e.exports=n?function(e){return e&&i(o,e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},7859:(e,t,n)=>{var o=n(3834),i=n(6107),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(o[e]):o[e]&&o[e][t]}},7689:(e,t,n)=>{var o=n(8762);e.exports=function(e,t){var n=e[t];return null==n?void 0:o(n)}},3834:(e,t,n)=>{var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2924:(e,t,n)=>{var o=n(1636),i=n(8332),a=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},1999:e=>{e.exports={}},6335:(e,t,n)=>{var o=n(4133),i=n(8814),a=n(1657);e.exports=!o&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},3972:(e,t,n)=>{var o=n(3834),i=n(1636),a=n(8814),r=n(6749),s=o.Object,l=i("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?l(e,""):s(e)}:s},2511:(e,t,n)=>{var o=n(6107),i=n(1419),a=n(6534);e.exports=function(e,t,n){var r,s;return a&&o(r=t.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&a(e,s),e}},6461:(e,t,n)=>{var o=n(1636),i=n(6107),a=n(6081),r=o(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return r(e)}),e.exports=a.inspectSource},6270:(e,t,n)=>{var o=n(1419),i=n(4722);e.exports=function(e,t){o(t)&&"cause"in t&&i(e,"cause",t.cause)}},780:(e,t,n)=>{var o,i,a,r=n(4825),s=n(3834),l=n(1636),c=n(1419),u=n(4722),d=n(2924),h=n(6081),f=n(5315),p=n(1999),g="Object already initialized",v=s.TypeError,m=s.WeakMap,b=function(e){return a(e)?i(e):o(e,{})},x=function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}};if(r||h.state){var y=h.state||(h.state=new m),w=l(y.get),k=l(y.has),S=l(y.set);o=function(e,t){if(k(y,e))throw new v(g);return t.facade=e,S(y,e,t),t},i=function(e){return w(y,e)||{}},a=function(e){return k(y,e)}}else{var C=f("state");p[C]=!0,o=function(e,t){if(d(e,C))throw new v(g);return t.facade=e,u(e,C,t),t},i=function(e){return d(e,C)?e[C]:{}},a=function(e){return d(e,C)}}e.exports={set:o,get:i,has:a,enforce:b,getterFor:x}},6107:e=>{e.exports=function(e){return"function"==typeof e}},2764:(e,t,n)=>{var o=n(8814),i=n(6107),a=/#|\.prototype\./,r=function(e,t){var n=l[s(e)];return n==u||n!=c&&(i(t)?o(t):!!t)},s=r.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=r.data={},c=r.NATIVE="N",u=r.POLYFILL="P";e.exports=r},1419:(e,t,n)=>{var o=n(6107);e.exports=function(e){return"object"==typeof e?null!==e:o(e)}},200:e=>{e.exports=!1},1637:(e,t,n)=>{var o=n(3834),i=n(7859),a=n(6107),r=n(6123),s=n(49),l=o.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&r(t.prototype,l(e))}},8600:(e,t,n)=>{var o=n(7302);e.exports=function(e){return o(e.length)}},1368:(e,t,n)=>{var o=n(1418),i=n(8814);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},4825:(e,t,n)=>{var o=n(3834),i=n(6107),a=n(6461),r=o.WeakMap;e.exports=i(r)&&/native code/.test(a(r))},1356:(e,t,n)=>{var o=n(6975);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:o(e)}},1012:(e,t,n)=>{var o=n(3834),i=n(4133),a=n(6335),r=n(616),s=n(1017),l=o.TypeError,c=Object.defineProperty;t.f=i?c:function(e,t,n){if(r(e),t=s(t),r(n),a)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},863:(e,t,n)=>{var o=n(4133),i=n(6654),a=n(8068),r=n(3386),s=n(7447),l=n(1017),c=n(2924),u=n(6335),d=Object.getOwnPropertyDescriptor;t.f=o?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return r(!i(a.f,e,t),e[t])}},3450:(e,t,n)=>{var o=n(6682),i=n(203),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,a)}},1996:(e,t)=>{t.f=Object.getOwnPropertySymbols},7886:(e,t,n)=>{var o=n(3834),i=n(2924),a=n(6107),r=n(8332),s=n(5315),l=n(911),c=s("IE_PROTO"),u=o.Object,d=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=r(e);if(i(t,c))return t[c];var n=t.constructor;return a(n)&&t instanceof n?n.prototype:t instanceof u?d:null}},6123:(e,t,n)=>{var o=n(1636);e.exports=o({}.isPrototypeOf)},6682:(e,t,n)=>{var o=n(1636),i=n(2924),a=n(7447),r=n(7714).indexOf,s=n(1999),l=o([].push);e.exports=function(e,t){var n,o=a(e),c=0,u=[];for(n in o)!i(s,n)&&i(o,n)&&l(u,n);while(t.length>c)i(o,n=t[c++])&&(~r(u,n)||l(u,n));return u}},8068:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},6534:(e,t,n)=>{var o=n(1636),i=n(616),a=n(9220);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(n,[]),t=n instanceof Array}catch(r){}return function(n,o){return i(n),a(o),t?e(n,o):n.__proto__=o,n}}():void 0)},9370:(e,t,n)=>{var o=n(3834),i=n(6654),a=n(6107),r=n(1419),s=o.TypeError;e.exports=function(e,t){var n,o;if("string"===t&&a(n=e.toString)&&!r(o=i(n,e)))return o;if(a(n=e.valueOf)&&!r(o=i(n,e)))return o;if("string"!==t&&a(n=e.toString)&&!r(o=i(n,e)))return o;throw s("Can't convert object to primitive value")}},1240:(e,t,n)=>{var o=n(7859),i=n(1636),a=n(3450),r=n(1996),s=n(616),l=i([].concat);e.exports=o("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=r.f;return n?l(t,n(e)):t}},6717:(e,t,n)=>{var o=n(3834),i=n(6107),a=n(2924),r=n(4722),s=n(4650),l=n(6461),c=n(780),u=n(9104).CONFIGURABLE,d=c.get,h=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,v=l&&void 0!==l.name?l.name:t;i(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(n,"name")||u&&n.name!==v)&&r(n,"name",v),c=h(n),c.source||(c.source=f.join("string"==typeof v?v:""))),e!==o?(d?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=n:r(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return i(this)&&d(this).source||l(this)}))},5177:(e,t,n)=>{var o=n(3834),i=o.TypeError;e.exports=function(e){if(void 0==e)throw i("Can't call method on "+e);return e}},4650:(e,t,n)=>{var o=n(3834),i=Object.defineProperty;e.exports=function(e,t){try{i(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},5315:(e,t,n)=>{var o=n(8850),i=n(3965),a=o("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},6081:(e,t,n)=>{var o=n(3834),i=n(4650),a="__core-js_shared__",r=o[a]||i(a,{});e.exports=r},8850:(e,t,n)=>{var o=n(200),i=n(6081);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.1",mode:o?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},2661:(e,t,n)=>{var o=n(6675),i=Math.max,a=Math.min;e.exports=function(e,t){var n=o(e);return n<0?i(n+t,0):a(n,t)}},7447:(e,t,n)=>{var o=n(3972),i=n(5177);e.exports=function(e){return o(i(e))}},6675:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var o=+e;return o!==o||0===o?0:(o>0?n:t)(o)}},7302:(e,t,n)=>{var o=n(6675),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},8332:(e,t,n)=>{var o=n(3834),i=n(5177),a=o.Object;e.exports=function(e){return a(i(e))}},4084:(e,t,n)=>{var o=n(3834),i=n(859),a=o.RangeError;e.exports=function(e,t){var n=i(e);if(n%t)throw a("Wrong offset");return n}},859:(e,t,n)=>{var o=n(3834),i=n(6675),a=o.RangeError;e.exports=function(e){var t=i(e);if(t<0)throw a("The argument can't be less than 0");return t}},4384:(e,t,n)=>{var o=n(3834),i=n(6654),a=n(1419),r=n(1637),s=n(7689),l=n(9370),c=n(4103),u=o.TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!a(e)||r(e))return e;var n,o=s(e,d);if(o){if(void 0===t&&(t="default"),n=i(o,e,t),!a(n)||r(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},1017:(e,t,n)=>{var o=n(4384),i=n(1637);e.exports=function(e){var t=o(e,"string");return i(t)?t:t+""}},4130:(e,t,n)=>{var o=n(4103),i=o("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},6975:(e,t,n)=>{var o=n(3834),i=n(4239),a=o.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},7545:(e,t,n)=>{var o=n(3834),i=o.String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},3965:(e,t,n)=>{var o=n(1636),i=0,a=Math.random(),r=o(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++i+a,36)}},49:(e,t,n)=>{var o=n(1368);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4103:(e,t,n)=>{var o=n(3834),i=n(8850),a=n(2924),r=n(3965),s=n(1368),l=n(49),c=i("wks"),u=o.Symbol,d=u&&u["for"],h=l?u:u&&u.withoutSetter||r;e.exports=function(e){if(!a(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&a(u,e)?c[e]=u[e]:c[e]=l&&d?d(t):h(t)}return c[e]}},8376:(e,t,n)=>{"use strict";var o=n(7859),i=n(2924),a=n(4722),r=n(6123),s=n(6534),l=n(7366),c=n(2511),u=n(1356),d=n(6270),h=n(1328),f=n(9277),p=n(200);e.exports=function(e,t,n,g){var v=g?2:1,m=e.split("."),b=m[m.length-1],x=o.apply(null,m);if(x){var y=x.prototype;if(!p&&i(y,"cause")&&delete y.cause,!n)return x;var w=o("Error"),k=t((function(e,t){var n=u(g?t:e,void 0),o=g?new x(e):new x;return void 0!==n&&a(o,"message",n),f&&a(o,"stack",h(o.stack,2)),this&&r(y,this)&&c(o,this,k),arguments.length>v&&d(o,arguments[v]),o}));if(k.prototype=y,"Error"!==b&&(s?s(k,w):l(k,w,{name:!0})),l(k,x),!p)try{y.name!==b&&a(y,"name",b),y.constructor=k}catch(S){}return k}}},6822:(e,t,n)=>{var o=n(6943),i=n(3834),a=n(6112),r=n(8376),s="WebAssembly",l=i[s],c=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=r(e,t,c),o({global:!0,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=r(s+"."+e,t,c),o({target:s,stat:!0,forced:c},n)}};u("Error",(function(e){return function(t){return a(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return a(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return a(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return a(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return a(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return a(e,this,arguments)}})),u("URIError",(function(e){return function(t){return a(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return a(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return a(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return a(e,this,arguments)}}))},5231:(e,t,n)=>{"use strict";var o=n(8086),i=n(8600),a=n(6675),r=o.aTypedArray,s=o.exportTypedArrayMethod;s("at",(function(e){var t=r(this),n=i(t),o=a(e),s=o>=0?o:n+o;return s<0||s>=n?void 0:t[s]}))},9359:(e,t,n)=>{"use strict";var o=n(3834),i=n(8086),a=n(8600),r=n(4084),s=n(8332),l=n(8814),c=o.RangeError,u=i.aTypedArray,d=i.exportTypedArrayMethod,h=l((function(){new Int8Array(1).set({})}));d("set",(function(e){u(this);var t=r(arguments.length>1?arguments[1]:void 0,1),n=this.length,o=s(e),i=a(o),l=0;if(i+t>n)throw c("Wrong length");while(l{"use strict";var o=n(3834),i=n(1636),a=n(8814),r=n(8762),s=n(7085),l=n(8086),c=n(259),u=n(1280),d=n(1418),h=n(7433),f=o.Array,p=l.aTypedArray,g=l.exportTypedArrayMethod,v=o.Uint16Array,m=v&&i(v.prototype.sort),b=!!m&&!(a((function(){m(new v(2),null)}))&&a((function(){m(new v(2),{})}))),x=!!m&&!a((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(h)return h<602;var e,t,n=new v(516),o=f(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,o[e]=e-2*t+3;for(m(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==o[e])return!0})),y=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};g("sort",(function(e){return void 0!==e&&r(e),x?m(this,e):s(p(this),y(e))}),!x||b)},6704:(e,t,n)=>{"use strict";function o(e,t){var n=e<0?"-":"",o=Math.abs(e).toString();while(o.lengtho})},8778:(e,t,n)=>{"use strict";function o(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>o})},2705:(e,t,n)=>{"use strict";function o(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:()=>o})},3637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e);return t.setHours(23,59,59,999),t}},5057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},4453:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getMonth(),a=n-n%3+3;return t.setMonth(a,0),t.setHours(23,59,59,999),t}},9739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(6093),i=n(2705),a=n(8778);function r(e,t){(0,a.Z)(1,arguments);var n=t||{},r=n.locale,s=r&&r.options&&r.options.weekStartsOn,l=null==s?0:(0,i.Z)(s),c=null==n.weekStartsOn?l:(0,i.Z)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,o.Z)(e),d=u.getDay(),h=6+(d{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},8898:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Re});var o=n(8778);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}var a=n(6093);function r(e){if((0,o.Z)(1,arguments),!i(e)&&"number"!==typeof e)return!1;var t=(0,a.Z)(e);return!isNaN(Number(t))}var s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},l=function(e,t,n){var o,i=s[e];return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};const c=l;function u(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var d={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},h={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},p={date:u({formats:d,defaultWidth:"full"}),time:u({formats:h,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})};const g=p;var v={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},m=function(e,t,n,o){return v[e]};const b=m;function x(e){return function(t,n){var o,i=n||{},a=i.context?String(i.context):"standalone";if("formatting"===a&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,s=i.width?String(i.width):r;o=e.formattingValues[s]||e.formattingValues[r]}else{var l=e.defaultWidth,c=i.width?String(i.width):e.defaultWidth;o=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return o[u]}}var y={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},k={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},S={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},C={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},A=function(e,t){var n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},P={ordinalNumber:A,era:x({values:y,defaultWidth:"wide"}),quarter:x({values:w,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:x({values:k,defaultWidth:"wide"}),day:x({values:S,defaultWidth:"wide"}),dayPeriod:x({values:C,defaultWidth:"wide",formattingValues:_,defaultFormattingWidth:"wide"})};const L=P;function j(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var r,s=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?F(l,(function(e){return e.test(s)})):T(l,(function(e){return e.test(s)}));r=e.valueCallback?e.valueCallback(c):c,r=n.valueCallback?n.valueCallback(r):r;var u=t.slice(s.length);return{value:r,rest:u}}}function T(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function F(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var i=o[0],a=t.match(e.parsePattern);if(!a)return null;var r=e.valueCallback?e.valueCallback(a[0]):a[0];r=n.valueCallback?n.valueCallback(r):r;var s=t.slice(i.length);return{value:r,rest:s}}}var M=/^(\d+)(th|st|nd|rd)?/i,O=/\d+/i,R={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},I={any:[/^b/i,/^(a|c)/i]},z={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},H={any:[/1/i,/2/i,/3/i,/4/i]},q={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},N={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},D={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},B={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Y={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W={ordinalNumber:E({matchPattern:M,parsePattern:O,valueCallback:function(e){return parseInt(e,10)}}),era:j({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),quarter:j({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:j({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:j({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"}),dayPeriod:j({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})};const V=W;var $={code:"en-US",formatDistance:c,formatLong:g,formatRelative:b,localize:L,match:V,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Z=$;var U=n(2705);function G(e,t){(0,o.Z)(2,arguments);var n=(0,a.Z)(e).getTime(),i=(0,U.Z)(t);return new Date(n+i)}function K(e,t){(0,o.Z)(2,arguments);var n=(0,U.Z)(t);return G(e,-n)}var J=864e5;function Q(e){(0,o.Z)(1,arguments);var t=(0,a.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime(),r=n-i;return Math.floor(r/J)+1}function ee(e){(0,o.Z)(1,arguments);var t=1,n=(0,a.Z)(e),i=n.getUTCDay(),r=(i=r.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function ne(e){(0,o.Z)(1,arguments);var t=te(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var i=ee(n);return i}var oe=6048e5;function ie(e){(0,o.Z)(1,arguments);var t=(0,a.Z)(e),n=ee(t).getTime()-ne(t).getTime();return Math.round(n/oe)+1}function ae(e,t){(0,o.Z)(1,arguments);var n=t||{},i=n.locale,r=i&&i.options&&i.options.weekStartsOn,s=null==r?0:(0,U.Z)(r),l=null==n.weekStartsOn?s:(0,U.Z)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=(0,a.Z)(e),u=c.getUTCDay(),d=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(i+1,0,u),d.setUTCHours(0,0,0,0);var h=ae(d,t),f=new Date(0);f.setUTCFullYear(i,0,u),f.setUTCHours(0,0,0,0);var p=ae(f,t);return n.getTime()>=h.getTime()?i+1:n.getTime()>=p.getTime()?i:i-1}function se(e,t){(0,o.Z)(1,arguments);var n=t||{},i=n.locale,a=i&&i.options&&i.options.firstWeekContainsDate,r=null==a?1:(0,U.Z)(a),s=null==n.firstWeekContainsDate?r:(0,U.Z)(n.firstWeekContainsDate),l=re(e,t),c=new Date(0);c.setUTCFullYear(l,0,s),c.setUTCHours(0,0,0,0);var u=ae(c,t);return u}var le=6048e5;function ce(e,t){(0,o.Z)(1,arguments);var n=(0,a.Z)(e),i=ae(n,t).getTime()-se(n,t).getTime();return Math.round(i/le)+1}var ue=n(6704),de={y:function(e,t){var n=e.getUTCFullYear(),o=n>0?n:1-n;return(0,ue.Z)("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,ue.Z)(n+1,2)},d:function(e,t){return(0,ue.Z)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,ue.Z)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,ue.Z)(e.getUTCHours(),t.length)},m:function(e,t){return(0,ue.Z)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,ue.Z)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds(),i=Math.floor(o*Math.pow(10,n-3));return(0,ue.Z)(i,t.length)}};const he=de;var fe={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pe={G:function(e,t,n){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var o=e.getUTCFullYear(),i=o>0?o:1-o;return n.ordinalNumber(i,{unit:"year"})}return he.y(e,t)},Y:function(e,t,n,o){var i=re(e,o),a=i>0?i:1-i;if("YY"===t){var r=a%100;return(0,ue.Z)(r,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):(0,ue.Z)(a,t.length)},R:function(e,t){var n=te(e);return(0,ue.Z)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,ue.Z)(n,t.length)},Q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return(0,ue.Z)(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return(0,ue.Z)(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){var o=e.getUTCMonth();switch(t){case"M":case"MM":return he.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return(0,ue.Z)(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){var i=ce(e,o);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,ue.Z)(i,t.length)},I:function(e,t,n){var o=ie(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):(0,ue.Z)(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):he.d(e,t)},D:function(e,t,n){var o=Q(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,ue.Z)(o,t.length)},E:function(e,t,n){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){var i=e.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return(0,ue.Z)(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){var i=e.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return(0,ue.Z)(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var o=e.getUTCDay(),i=0===o?7:o;switch(t){case"i":return String(i);case"ii":return(0,ue.Z)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){var o=e.getUTCHours(),i=o/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var o,i=e.getUTCHours();switch(o=12===i?fe.noon:0===i?fe.midnight:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var o,i=e.getUTCHours();switch(o=i>=17?fe.evening:i>=12?fe.afternoon:i>=4?fe.morning:fe.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var o=e.getUTCHours()%12;return 0===o&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return he.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):he.H(e,t)},K:function(e,t,n){var o=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):(0,ue.Z)(o,t.length)},k:function(e,t,n){var o=e.getUTCHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):(0,ue.Z)(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):he.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):he.s(e,t)},S:function(e,t){return he.S(e,t)},X:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return ve(a);case"XXXX":case"XX":return me(a);case"XXXXX":case"XXX":default:return me(a,":")}},x:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();switch(t){case"x":return ve(a);case"xxxx":case"xx":return me(a);case"xxxxx":case"xxx":default:return me(a,":")}},O:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ge(a,":");case"OOOO":default:return"GMT"+me(a,":")}},z:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ge(a,":");case"zzzz":default:return"GMT"+me(a,":")}},t:function(e,t,n,o){var i=o._originalDate||e,a=Math.floor(i.getTime()/1e3);return(0,ue.Z)(a,t.length)},T:function(e,t,n,o){var i=o._originalDate||e,a=i.getTime();return(0,ue.Z)(a,t.length)}};function ge(e,t){var n=e>0?"-":"+",o=Math.abs(e),i=Math.floor(o/60),a=o%60;if(0===a)return n+String(i);var r=t||"";return n+String(i)+r+(0,ue.Z)(a,2)}function ve(e,t){if(e%60===0){var n=e>0?"-":"+";return n+(0,ue.Z)(Math.abs(e)/60,2)}return me(e,t)}function me(e,t){var n=t||"",o=e>0?"-":"+",i=Math.abs(e),a=(0,ue.Z)(Math.floor(i/60),2),r=(0,ue.Z)(i%60,2);return o+a+n+r}const be=pe;function xe(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function ye(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function we(e,t){var n,o=e.match(/(P+)(p+)?/)||[],i=o[1],a=o[2];if(!a)return xe(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",xe(i,t)).replace("{{time}}",ye(a,t))}var ke={p:ye,P:we};const Se=ke;function Ce(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var _e=["D","DD"],Ae=["YY","YYYY"];function Pe(e){return-1!==_e.indexOf(e)}function Le(e){return-1!==Ae.indexOf(e)}function je(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var Te=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ee=/^'([^]*?)'?$/,Me=/''/g,Oe=/[a-zA-Z]/;function Re(e,t,n){(0,o.Z)(2,arguments);var i=String(t),s=n||{},l=s.locale||Z,c=l.options&&l.options.firstWeekContainsDate,u=null==c?1:(0,U.Z)(c),d=null==s.firstWeekContainsDate?u:(0,U.Z)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=l.options&&l.options.weekStartsOn,f=null==h?0:(0,U.Z)(h),p=null==s.weekStartsOn?f:(0,U.Z)(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var g=(0,a.Z)(e);if(!r(g))throw new RangeError("Invalid time value");var v=Ce(g),m=K(g,v),b={firstWeekContainsDate:d,weekStartsOn:p,locale:l,_originalDate:g},x=i.match(Fe).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=Se[t];return n(e,l.formatLong,b)}return e})).join("").match(Te).map((function(n){if("''"===n)return"'";var o=n[0];if("'"===o)return Ie(n);var i=be[o];if(i)return!s.useAdditionalWeekYearTokens&&Le(n)&&je(n,t,e),!s.useAdditionalDayOfYearTokens&&Pe(n)&&je(n,t,e),i(m,n,l.localize,b);if(o.match(Oe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n})).join("");return x}function Ie(e){return e.match(Ee)[1].replace(Me,"'")}},5115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(6093),i=n(6704),a=n(8778);function r(e,t){(0,a.Z)(1,arguments);var n=(0,o.Z)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");var r=null!==t&&void 0!==t&&t.format?String(t.format):"extended",s=null!==t&&void 0!==t&&t.representation?String(t.representation):"complete";if("extended"!==r&&"basic"!==r)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==s&&"time"!==s&&"complete"!==s)throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",c="",u="extended"===r?"-":"",d="extended"===r?":":"";if("time"!==s){var h=(0,i.Z)(n.getDate(),2),f=(0,i.Z)(n.getMonth()+1,2),p=(0,i.Z)(n.getFullYear(),4);l="".concat(p).concat(u).concat(f).concat(u).concat(h)}if("date"!==s){var g=n.getTimezoneOffset();if(0!==g){var v=Math.abs(g),m=(0,i.Z)(Math.floor(v/60),2),b=(0,i.Z)(v%60,2),x=g<0?"+":"-";c="".concat(x).concat(m,":").concat(b)}else c="Z";var y=(0,i.Z)(n.getHours(),2),w=(0,i.Z)(n.getMinutes(),2),k=(0,i.Z)(n.getSeconds(),2),S=""===l?"":"T",C=[y,w,k].join(d);l="".concat(l).concat(S).concat(C).concat(c)}return l}},8480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});Math.pow(10,8);var o=6e4,i=36e5,a=n(8778),r=n(2705);function s(e,t){(0,a.Z)(1,arguments);var n=t||{},o=null==n.additionalDigits?2:(0,r.Z)(n.additionalDigits);if(2!==o&&1!==o&&0!==o)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i,s=h(e);if(s.date){var l=f(s.date,o);i=p(l.restDateString,l.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var c,u=i.getTime(),d=0;if(s.time&&(d=v(s.time),isNaN(d)))return new Date(NaN);if(!s.timezone){var g=new Date(u+d),m=new Date(0);return m.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),m.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),m}return c=b(s.timezone),isNaN(c)?new Date(NaN):new Date(u+d+c)}var l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,u=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function h(e){var t,n={},o=e.split(l.dateTimeDelimiter);if(o.length>2)return n;if(/:/.test(o[0])?t=o[0]:(n.date=o[0],t=o[1],l.timeZoneDelimiter.test(n.date)&&(n.date=e.split(l.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=l.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function f(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),o=e.match(n);if(!o)return{year:NaN,restDateString:""};var i=o[1]?parseInt(o[1]):null,a=o[2]?parseInt(o[2]):null;return{year:null===a?i:100*a,restDateString:e.slice((o[1]||o[2]).length)}}function p(e,t){if(null===t)return new Date(NaN);var n=e.match(c);if(!n)return new Date(NaN);var o=!!n[4],i=g(n[1]),a=g(n[2])-1,r=g(n[3]),s=g(n[4]),l=g(n[5])-1;if(o)return C(t,s,l)?x(t,s,l):new Date(NaN);var u=new Date(0);return k(t,a,r)&&S(t,i)?(u.setUTCFullYear(t,a,Math.max(i,r)),u):new Date(NaN)}function g(e){return e?parseInt(e):1}function v(e){var t=e.match(u);if(!t)return NaN;var n=m(t[1]),a=m(t[2]),r=m(t[3]);return _(n,a,r)?n*i+a*o+1e3*r:NaN}function m(e){return e&&parseFloat(e.replace(",","."))||0}function b(e){if("Z"===e)return 0;var t=e.match(d);if(!t)return 0;var n="+"===t[1]?-1:1,a=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return A(a,r)?n*(a*i+r*o):NaN}function x(e,t,n){var o=new Date(0);o.setUTCFullYear(e,0,4);var i=o.getUTCDay()||7,a=7*(t-1)+n+1-i;return o.setUTCDate(o.getUTCDate()+a),o}var y=[31,null,31,30,31,30,31,31,30,31,30,31];function w(e){return e%400===0||e%4===0&&e%100!==0}function k(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(y[t]||(w(e)?29:28))}function S(e,t){return t>=1&&t<=(w(e)?366:365)}function C(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function _(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function A(e,t){return t>=0&&t<=59}},1776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e);return t.setHours(0,0,0,0),t}},7164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},6490:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getMonth(),a=n-n%3;return t.setMonth(a,1),t.setHours(0,0,0,0),t}},3611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(6093),i=n(2705),a=n(8778);function r(e,t){(0,a.Z)(1,arguments);var n=t||{},r=n.locale,s=r&&r.options&&r.options.weekStartsOn,l=null==s?0:(0,i.Z)(s),c=null==n.weekStartsOn?l:(0,i.Z)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,o.Z)(e),d=u.getDay(),h=(d{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},7104:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(2705),i=n(6093),a=n(8778);function r(e,t){(0,a.Z)(2,arguments);var n=(0,i.Z)(e),r=(0,o.Z)(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.Z)(t);return r(e,-n)}},6093:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(8778);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},7363:(e,t,n)=>{"use strict";n.d(t,{WB:()=>C,Q_:()=>I});var o=n(499),i=!1;function a(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}var r=n(9835); +/*! no static exports found */function(t,n){t.exports=e}})}))},9981:(e,t,n)=>{e.exports=n(6148)},6857:(e,t,n)=>{"use strict";var o=n(6031),i=n(8117),a=n(6139),r=n(9395),s=n(7187),l=n(7758),c=n(4908),u=n(7381);e.exports=function(e){return new Promise((function(t,n){var d=e.data,h=e.headers,f=e.responseType;o.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(g+":"+v)}var m=s(e.baseURL,e.url);function b(){if(p){var o="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null,a=f&&"text"!==f&&"json"!==f?p.response:p.responseText,r={data:a,status:p.status,statusText:p.statusText,headers:o,config:e,request:p};i(t,n,r),p=null}}if(p.open(e.method.toUpperCase(),r(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=b:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(b)},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},o.isStandardBrowserEnv()){var x=(e.withCredentials||c(m))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in p&&o.forEach(h,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),f&&"json"!==f&&(p.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},6148:(e,t,n)=>{"use strict";var o=n(6031),i=n(4009),a=n(7237),r=n(8342),s=n(9860);function l(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var c=l(s);c.Axios=a,c.create=function(e){return l(r(c.defaults,e))},c.Cancel=n(5838),c.CancelToken=n(5e3),c.isCancel=n(2649),c.all=function(e){return Promise.all(e)},c.spread=n(7615),c.isAxiosError=n(6794),e.exports=c,e.exports["default"]=c},5838:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},5e3:(e,t,n)=>{"use strict";var o=n(5838);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},2649:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},7237:(e,t,n)=>{"use strict";var o=n(6031),i=n(9395),a=n(7332),r=n(1014),s=n(8342),l=n(9206),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!o){var u=[r,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);while(u.length)i=i.then(u.shift(),u.shift());return i}var d=e;while(n.length){var h=n.shift(),f=n.shift();try{d=h(d)}catch(p){f(p);break}}try{i=r(d)}catch(p){return Promise.reject(p)}while(a.length)i=i.then(a.shift(),a.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,o){return this.request(s(o||{},{method:e,url:t,data:n}))}})),e.exports=u},7332:(e,t,n)=>{"use strict";var o=n(6031);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},7187:(e,t,n)=>{"use strict";var o=n(6847),i=n(6560);e.exports=function(e,t){return e&&!o(t)?i(e,t):t}},7381:(e,t,n)=>{"use strict";var o=n(4918);e.exports=function(e,t,n,i,a){var r=new Error(e);return o(r,t,n,i,a)}},1014:(e,t,n)=>{"use strict";var o=n(6031),i=n(2297),a=n(2649),r=n(9860);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||r.adapter;return t(e).then((function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4918:e=>{"use strict";e.exports=function(e,t,n,o,i){return e.config=t,n&&(e.code=n),e.request=o,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},8342:(e,t,n)=>{"use strict";var o=n(6031);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],r=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function c(i){o.isUndefined(t[i])?o.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(e[i],t[i])}o.forEach(i,(function(e){o.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),o.forEach(a,c),o.forEach(r,(function(i){o.isUndefined(t[i])?o.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(void 0,t[i])})),o.forEach(s,(function(o){o in t?n[o]=l(e[o],t[o]):o in e&&(n[o]=l(void 0,e[o]))}));var u=i.concat(a).concat(r).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return o.forEach(d,c),n}},8117:(e,t,n)=>{"use strict";var o=n(7381);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2297:(e,t,n)=>{"use strict";var o=n(6031),i=n(9860);e.exports=function(e,t,n){var a=this||i;return o.forEach(n,(function(n){e=n.call(a,e,t)})),e}},9860:(e,t,n)=>{"use strict";var o=n(6031),i=n(4129),a=n(4918),r={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(6857)),e}function c(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||i&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(r){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){u.headers[e]=o.merge(r)})),e.exports=u},4009:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o{"use strict";var o=n(6031);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(o.isURLSearchParams(t))a=t.toString();else{var r=[];o.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),r.push(i(t)+"="+i(e))})))})),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},6560:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},6139:(e,t,n)=>{"use strict";var o=n(6031);e.exports=o.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(i)&&s.push("path="+i),o.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},6847:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6794:e=>{"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},4908:(e,t,n)=>{"use strict";var o=n(6031);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=o.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},4129:(e,t,n)=>{"use strict";var o=n(6031);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},7758:(e,t,n)=>{"use strict";var o=n(6031),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,r={};return e?(o.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=o.trim(e.substr(0,a)).toLowerCase(),n=o.trim(e.substr(a+1)),t){if(r[t]&&i.indexOf(t)>=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},7615:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},9206:(e,t,n)=>{"use strict";var o=n(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={},r=o.version.split(".");function s(e,t){for(var n=t?t.split("."):r,o=e.split("."),i=0;i<3;i++){if(n[i]>o[i])return!0;if(n[i]0){var a=o[i],r=t[a];if(r){var s=e[a],l=void 0===s||r(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}}i.transitional=function(e,t,n){var i=t&&s(t);function r(e,t){return"[Axios v"+o.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,s){if(!1===e)throw new Error(r(o," has been removed in "+t));return i&&!a[o]&&(a[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,s)}},e.exports={isOlderVersion:s,assertOptions:l,validators:i}},6031:(e,t,n)=>{"use strict";var o=n(4009),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function r(e){return"undefined"===typeof e}function s(e){return null!==e&&!r(e)&&null!==e.constructor&&!r(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===i.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function d(e){return"string"===typeof e}function h(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function g(e){return"[object Date]"===i.call(e)}function v(e){return"[object File]"===i.call(e)}function m(e){return"[object Blob]"===i.call(e)}function b(e){return"[object Function]"===i.call(e)}function x(e){return f(e)&&b(e.pipe)}function y(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,o=e.length;n{function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},1357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(499),i=n(9835),a=n(2857),r=n(244),s=n(5987),l=n(2026);const c=(0,s.L)({name:"QAvatar",props:{...r.LU,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=(0,r.ZP)(e),s=(0,o.Fl)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),c=(0,o.Fl)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const o=void 0!==e.icon?[(0,i.h)(a.Z,{name:e.icon})]:void 0;return(0,i.h)("div",{class:s.value,style:n.value},[(0,i.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:c.value},(0,l.pf)(t.default,o))])}}})},990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=["top","middle","bottom"],l=(0,a.L)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>s.includes(e)}},setup(e,{slots:t}){const n=(0,o.Fl)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),a=(0,o.Fl)((()=>{const t=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,i.h)("div",{class:a.value,style:n.value,role:"status","aria-label":e.label},(0,r.vs)(t.default,void 0!==e.label?[e.label]:[]))}})},7128:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(8234),s=n(2026);const l=(0,a.L)({name:"QBanner",props:{...r.S,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),a=(0,r.Z)(e,n),l=(0,i.Fl)((()=>"q-banner row items-center"+(!0===e.dense?" q-banner--dense":"")+(!0===a.value?" q-banner--dark q-dark":"")+(!0===e.rounded?" rounded-borders":""))),c=(0,i.Fl)((()=>"q-banner__actions row items-center justify-end col-"+(!0===e.inlineActions?"auto":"all")));return()=>{const n=[(0,o.h)("div",{class:"q-banner__avatar col-auto row items-center self-start"},(0,s.KR)(t.avatar)),(0,o.h)("div",{class:"q-banner__content col text-body2"},(0,s.KR)(t.default))],i=(0,s.KR)(t.action);return void 0!==i&&n.push((0,o.h)("div",{class:c.value},i)),(0,o.h)("div",{class:l.value+(!1===e.inlineActions&&void 0!==i?" q-banner--top-padding":""),role:"alert"},n)}}})},2605:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(499),i=n(9835),a=n(5065),r=n(5987),s=n(2026),l=n(2046);const c=["",!0],u=(0,r.L)({name:"QBreadcrumbs",props:{...a.jO,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){const n=(0,a.ZP)(e),r=(0,o.Fl)((()=>`flex items-center ${n.value}${"none"===e.gutter?"":` q-gutter-${e.gutter}`}`)),u=(0,o.Fl)((()=>e.separatorColor?` text-${e.separatorColor}`:"")),d=(0,o.Fl)((()=>` text-${e.activeColor}`));return()=>{const n=(0,l.Pf)((0,s.KR)(t.default));if(0===n.length)return;let o=1;const a=[],h=n.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,f=void 0!==t.separator?t.separator:()=>e.separator;return n.forEach((e=>{if(void 0!==e.type&&"QBreadcrumbsEl"===e.type.name){const t=o{"use strict";n.d(t,{Z:()=>c});var o=n(499),i=n(9835),a=n(2857),r=n(5987),s=n(2026),l=n(945);const c=(0,r.L)({name:"QBreadcrumbsEl",props:{...l.$,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){const{linkTag:n,linkAttrs:r,linkClass:c,navigateOnClick:u}=(0,l.Z)(),d=(0,o.Fl)((()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==e.disable?"q-link--focusable"+c.value:"q-breadcrumbs__el--disable"),...r.value,onClick:u}))),h=(0,o.Fl)((()=>"q-breadcrumbs__el-icon"+(void 0!==e.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const o=[];return void 0!==e.icon&&o.push((0,i.h)(a.Z,{class:h.value,name:e.icon})),void 0!==e.label&&o.push(e.label),(0,i.h)(n.value,{...d.value},(0,s.vs)(t.default,o))}}})},2045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(9835),i=n(499),a=n(2857),r=n(8879),s=n(7236),l=n(5290),c=n(6073),u=n(431),d=n(5987),h=n(1384),f=n(796),p=n(2026);const g=Object.keys(c.b7),v=e=>g.reduce(((t,n)=>{const o=e[n];return void 0!==o&&(t[n]=o),t}),{}),m=(0,d.L)({name:"QBtnDropdown",props:{...c.b7,...u.D,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),d=(0,i.iH)(e.modelValue),g=(0,i.iH)(null),m=(0,f.Z)(),b=(0,i.Fl)((()=>{const t={"aria-expanded":!0===d.value?"true":"false","aria-haspopup":"true","aria-controls":m,"aria-label":e.toggleAriaLabel||u.$q.lang.label[!0===d.value?"collapse":"expand"](e.label)};return(!0===e.disable||!1===e.split&&!0===e.disableMainBtn||!0===e.disableDropdown)&&(t["aria-disabled"]="true"),t})),x=(0,i.Fl)((()=>"q-btn-dropdown__arrow"+(!0===d.value&&!1===e.noIconAnimation?" rotate-180":"")+(!1===e.split?" q-btn-dropdown__arrow-container":""))),y=(0,i.Fl)((()=>(0,c._V)(e))),w=(0,i.Fl)((()=>v(e)));function k(e){d.value=!0,n("beforeShow",e)}function S(e){n("show",e),n("update:modelValue",!0)}function C(e){d.value=!1,n("beforeHide",e)}function _(e){n("hide",e),n("update:modelValue",!1)}function A(e){n("click",e)}function P(e){(0,h.sT)(e),T(),n("click",e)}function L(e){null!==g.value&&g.value.toggle(e)}function j(e){null!==g.value&&g.value.show(e)}function T(e){null!==g.value&&g.value.hide(e)}return(0,o.YP)((()=>e.modelValue),(e=>{null!==g.value&&g.value[e?"show":"hide"]()})),(0,o.YP)((()=>e.split),T),Object.assign(u,{show:j,hide:T,toggle:L}),(0,o.bv)((()=>{!0===e.modelValue&&j()})),()=>{const n=[(0,o.h)(a.Z,{class:x.value,name:e.dropdownIcon||u.$q.iconSet.arrow.dropdown})];return!0!==e.disableDropdown&&n.push((0,o.h)(l.Z,{ref:g,id:m,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:k,onShow:S,onBeforeHide:C,onHide:_},t.default)),!1===e.split?(0,o.h)(r.Z,{class:"q-btn-dropdown q-btn-dropdown--simple",...w.value,...b.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:A},{default:()=>(0,p.KR)(t.label,[]).concat(n),loading:t.loading}):(0,o.h)(s.Z,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...y.value,glossy:e.glossy,stretch:e.stretch},(()=>[(0,o.h)(r.Z,{class:"q-btn-dropdown--current",...w.value,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,onClick:P},{default:t.label,loading:t.loading}),(0,o.h)(r.Z,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...b.value,...y.value,disable:!0===e.disable||!0===e.disableDropdown,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},(()=>n))]))}}})},7236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>{const t=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter((t=>!0===e[t])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(t.length>0?" "+t:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,i.h)("div",{class:n.value},(0,r.KR)(t.default))}})},8879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(9835),i=n(499),a=n(1957),r=n(2857),s=n(3940),l=n(1136),c=n(6073),u=n(5987),d=n(2026),h=n(1384),f=n(1705);const{passiveCapture:p}=h.rU;let g=null,v=null,m=null;const b=(0,u.L)({name:"QBtn",props:{...c.b7,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),{classes:b,style:x,innerClasses:y,attributes:w,hasLink:k,linkTag:S,navigateOnClick:C,isActionable:_}=(0,c.ZP)(e),A=(0,i.iH)(null),P=(0,i.iH)(null);let L,j=null,T=null;const F=(0,i.Fl)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),E=(0,i.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&{keyCodes:!0===k.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),M=(0,i.Fl)((()=>({center:e.round}))),O=(0,i.Fl)((()=>{const t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}:{}})),R=(0,i.Fl)((()=>{if(!0===e.loading)return{onMousedown:Y,onTouchstart:Y,onClick:Y,onKeydown:Y,onKeyup:Y};if(!0===_.value){const t={onClick:z,onKeydown:H,onMousedown:N};if(!0===u.$q.platform.has.touch){const n=void 0!==e.onTouchstart?"":"Passive";t[`onTouchstart${n}`]=q}return t}return{onClick:h.NS}})),I=(0,i.Fl)((()=>({ref:A,class:"q-btn q-btn-item non-selectable no-outline "+b.value,style:x.value,...w.value,...R.value})));function z(t){if(null!==A.value){if(void 0!==t){if(!0===t.defaultPrevented)return;const n=document.activeElement;if("submit"===e.type&&n!==document.body&&!1===A.value.contains(n)&&!1===n.contains(A.value)){A.value.focus();const e=()=>{document.removeEventListener("keydown",h.NS,!0),document.removeEventListener("keyup",e,p),null!==A.value&&A.value.removeEventListener("blur",e,p)};document.addEventListener("keydown",h.NS,!0),document.addEventListener("keyup",e,p),A.value.addEventListener("blur",e,p)}}C(t)}}function H(e){null!==A.value&&(n("keydown",e),!0===(0,f.So)(e,[13,32])&&v!==A.value&&(null!==v&&B(),!0!==e.defaultPrevented&&(A.value.focus(),v=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),A.value.addEventListener("blur",D,p)),(0,h.NS)(e)))}function q(e){null!==A.value&&(n("touchstart",e),!0!==e.defaultPrevented&&(g!==A.value&&(null!==g&&B(),g=A.value,j=e.target,j.addEventListener("touchcancel",D,p),j.addEventListener("touchend",D,p)),L=!0,null!==T&&clearTimeout(T),T=setTimeout((()=>{T=null,L=!1}),200)))}function N(e){null!==A.value&&(e.qSkipRipple=!0===L,n("mousedown",e),!0!==e.defaultPrevented&&m!==A.value&&(null!==m&&B(),m=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,p)))}function D(e){if(null!==A.value&&(void 0===e||"blur"!==e.type||document.activeElement!==A.value)){if(void 0!==e&&"keyup"===e.type){if(v===A.value&&!0===(0,f.So)(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&(0,h.X$)(t),!0===e.cancelBubble&&(0,h.sT)(t),A.value.dispatchEvent(t),(0,h.NS)(e),e.qKeyEvent=!0}n("keyup",e)}B()}}function B(e){const t=P.value;!0===e||g!==A.value&&m!==A.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),g===A.value&&(null!==j&&(j.removeEventListener("touchcancel",D,p),j.removeEventListener("touchend",D,p)),g=j=null),m===A.value&&(document.removeEventListener("mouseup",D,p),m=null),v===A.value&&(document.removeEventListener("keyup",D,!0),null!==A.value&&A.value.removeEventListener("blur",D,p),v=null),null!==A.value&&A.value.classList.remove("q-btn--active")}function Y(e){(0,h.NS)(e),e.qSkipRipple=!0}return(0,o.Jd)((()=>{B(!0)})),Object.assign(u,{click:z}),()=>{let n=[];void 0!==e.icon&&n.push((0,o.h)(r.Z,{name:e.icon,left:!1===e.stack&&!0===F.value,role:"img","aria-hidden":"true"})),!0===F.value&&n.push((0,o.h)("span",{class:"block"},[e.label])),n=(0,d.vs)(t.default,n),void 0!==e.iconRight&&!1===e.round&&n.push((0,o.h)(r.Z,{name:e.iconRight,right:!1===e.stack&&!0===F.value,role:"img","aria-hidden":"true"}));const i=[(0,o.h)("span",{class:"q-focus-helper",ref:P})];return!0===e.loading&&void 0!==e.percentage&&i.push((0,o.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"+(!0===e.darkPercentage?" q-btn__progress--dark":"")},[(0,o.h)("span",{class:"q-btn__progress-indicator fit block",style:O.value})])),i.push((0,o.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+y.value},n)),null!==e.loading&&i.push((0,o.h)(a.uT,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,o.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==t.loading?t.loading():[(0,o.h)(s.Z)])]:null))),(0,o.wy)((0,o.h)(S.value,I.value,i),[[l.Z,E.value,void 0,M.value]])}}})},6073:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g,_V:()=>f,b7:()=>p});var o=n(499),i=n(5065),a=n(244),r=n(945);const s={none:0,xs:4,sm:8,md:16,lg:24,xl:32},l={xs:8,sm:10,md:14,lg:20,xl:24},c=["button","submit","reset"],u=/[^\s]\/[^\s]/,d=["flat","outline","push","unelevated"],h=(e,t)=>!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":t,f=e=>{const t=h(e);return void 0!==t?{[t]:!0}:{}},p={...a.LU,...r.$,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...d.reduce(((e,t)=>(e[t]=Boolean)&&e),{}),square:Boolean,round:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...i.jO.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function g(e){const t=(0,a.ZP)(e,l),n=(0,i.ZP)(e),{hasRouterLink:d,hasLink:f,linkTag:p,linkAttrs:g,navigateOnClick:v}=(0,r.Z)({fallbackTag:"button"}),m=(0,o.Fl)((()=>{const n=!1===e.fab&&!1===e.fabMini?t.value:{};return void 0!==e.padding?Object.assign({},n,{padding:e.padding.split(/\s+/).map((e=>e in s?s[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):n})),b=(0,o.Fl)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),x=(0,o.Fl)((()=>!0!==e.disable&&!0!==e.loading)),y=(0,o.Fl)((()=>!0===x.value?e.tabindex||0:-1)),w=(0,o.Fl)((()=>h(e,"standard"))),k=(0,o.Fl)((()=>{const t={tabindex:y.value};return!0===f.value?Object.assign(t,g.value):!0===c.includes(e.type)&&(t.type=e.type),"a"===p.value?(!0===e.disable?t["aria-disabled"]="true":void 0===t.href&&(t.role="button"),!0!==d.value&&!0===u.test(e.type)&&(t.type=e.type)):!0===e.disable&&(t.disabled="",t["aria-disabled"]="true"),!0===e.loading&&void 0!==e.percentage&&Object.assign(t,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t})),S=(0,o.Fl)((()=>{let t;void 0!==e.color?t=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(t=`text-${e.textColor}`);const n=!0===e.round?"round":"rectangle"+(!0===b.value?" q-btn--rounded":!0===e.square?" q-btn--square":"");return`q-btn--${w.value} q-btn--${n}`+(void 0!==t?" "+t:"")+(!0===x.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")+(e.square?" q-btn--square":"")})),C=(0,o.Fl)((()=>n.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":"")));return{classes:S,style:m,innerClasses:C,attributes:k,hasLink:f,linkTag:p,navigateOnClick:v,isActionable:x}}},4458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(8234),r=n(5987),s=n(2026);const l=(0,r.L)({name:"QCard",props:{...a.S,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),r=(0,a.Z)(e,n),l=(0,i.Fl)((()=>"q-card"+(!0===r.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,o.h)(e.tag,{class:l.value},(0,s.KR)(t.default))}})},1821:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(499),i=n(9835),a=n(5065),r=n(5987),s=n(2026);const l=(0,r.L)({name:"QCardActions",props:{...a.jO,vertical:Boolean},setup(e,{slots:t}){const n=(0,a.ZP)(e),r=(0,o.Fl)((()=>`q-card__actions ${n.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,i.h)("div",{class:r.value},(0,s.KR)(t.default))}})},3190:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,i.h)(e.tag,{class:n.value},(0,r.KR)(t.default))}})},1221:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(2857),r=n(5987),s=n(1926);const l=(0,o.h)("div",{key:"svg",class:"q-checkbox__bg absolute"},[(0,o.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[(0,o.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,o.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),c=(0,r.L)({name:"QCheckbox",props:s.Fz,emits:s.ZB,setup(e){function t(t,n){const r=(0,i.Fl)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||null));return()=>null!==r.value?[(0,o.h)("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[(0,o.h)(a.Z,{class:"q-checkbox__icon",name:r.value})])]:[l]}return(0,s.ZP)("checkbox",t)}})},1926:(e,t,n)=>{"use strict";n.d(t,{Fz:()=>h,ZB:()=>f,ZP:()=>p});var o=n(9835),i=n(499),a=n(8234),r=n(244),s=n(5917),l=n(9256),c=n(9480),u=n(1384),d=n(2026);const h={...a.S,...r.LU,...l.Fz,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},f=["update:modelValue"];function p(e,t){const{props:n,slots:h,emit:f,proxy:p}=(0,o.FN)(),{$q:g}=p,v=(0,a.Z)(n,g),m=(0,i.iH)(null),{refocusTargetEl:b,refocusTarget:x}=(0,s.Z)(n,m),y=(0,r.ZP)(n,c.Z),w=(0,i.Fl)((()=>void 0!==n.val&&Array.isArray(n.modelValue))),k=(0,i.Fl)((()=>{const e=(0,i.IU)(n.val);return!0===w.value?n.modelValue.findIndex((t=>(0,i.IU)(t)===e)):-1})),S=(0,i.Fl)((()=>!0===w.value?k.value>-1:(0,i.IU)(n.modelValue)===(0,i.IU)(n.trueValue))),C=(0,i.Fl)((()=>!0===w.value?-1===k.value:(0,i.IU)(n.modelValue)===(0,i.IU)(n.falseValue))),_=(0,i.Fl)((()=>!1===S.value&&!1===C.value)),A=(0,i.Fl)((()=>!0===n.disable?-1:n.tabindex||0)),P=(0,i.Fl)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===n.disable?" disabled":"")+(!0===v.value?` q-${e}--dark`:"")+(!0===n.dense?` q-${e}--dense`:"")+(!0===n.leftLabel?" reverse":""))),L=(0,i.Fl)((()=>{const t=!0===S.value?"truthy":!0===C.value?"falsy":"indet",o=void 0===n.color||!0!==n.keepColor&&("toggle"===e?!0!==S.value:!0===C.value)?"":` text-${n.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${t}${o}`})),j=(0,i.Fl)((()=>{const e={type:"checkbox"};return void 0!==n.name&&Object.assign(e,{".checked":S.value,"^checked":!0===S.value?"checked":void 0,name:n.name,value:!0===w.value?n.val:n.trueValue}),e})),T=(0,l.eX)(j),F=(0,i.Fl)((()=>{const t={tabindex:A.value,role:"toggle"===e?"switch":"checkbox","aria-label":n.label,"aria-checked":!0===_.value?"mixed":!0===S.value?"true":"false"};return!0===n.disable&&(t["aria-disabled"]="true"),t}));function E(e){void 0!==e&&((0,u.NS)(e),x(e)),!0!==n.disable&&f("update:modelValue",M(),e)}function M(){if(!0===w.value){if(!0===S.value){const e=n.modelValue.slice();return e.splice(k.value,1),e}return n.modelValue.concat([n.val])}if(!0===S.value){if("ft"!==n.toggleOrder||!1===n.toggleIndeterminate)return n.falseValue}else{if(!0!==C.value)return"ft"!==n.toggleOrder?n.trueValue:n.falseValue;if("ft"===n.toggleOrder||!1===n.toggleIndeterminate)return n.trueValue}return n.indeterminateValue}function O(e){13!==e.keyCode&&32!==e.keyCode||(0,u.NS)(e)}function R(e){13!==e.keyCode&&32!==e.keyCode||E(e)}const I=t(S,_);return Object.assign(p,{toggle:E}),()=>{const t=I();!0!==n.disable&&T(t,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const i=[(0,o.h)("div",{class:L.value,style:y.value,"aria-hidden":"true"},t)];null!==b.value&&i.push(b.value);const a=void 0!==n.label?(0,d.vs)(h.default,[n.label]):(0,d.KR)(h.default);return void 0!==a&&i.push((0,o.h)("div",{class:`q-${e}__label q-anchor--skip`},a)),(0,o.h)("div",{ref:m,class:P.value,...F.value,onClick:E,onKeydown:O,onKeyup:R},i)}}},3302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(9835),i=n(499),a=n(244);const r={...a.LU,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var s=n(5987),l=n(2026),c=n(321);const u=50,d=2*u,h=d*Math.PI,f=Math.round(1e3*h)/1e3,p=(0,s.L)({name:"QCircularProgress",props:{...r,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),r=(0,a.ZP)(e),s=(0,i.Fl)((()=>{const t=(!0===n.lang.rtl?-1:1)*e.angle;return{transform:e.reverse!==(!0===n.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`:`rotate3d(0, 0, 1, ${t-90}deg)`}})),p=(0,i.Fl)((()=>!0!==e.instantFeedback&&!0!==e.indeterminate?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:"")),g=(0,i.Fl)((()=>d/(1-e.thickness/2))),v=(0,i.Fl)((()=>`${g.value/2} ${g.value/2} ${g.value} ${g.value}`)),m=(0,i.Fl)((()=>(0,c.vX)(e.value,e.min,e.max))),b=(0,i.Fl)((()=>h*(1-(m.value-e.min)/(e.max-e.min)))),x=(0,i.Fl)((()=>e.thickness/2*g.value));function y({thickness:e,offset:t,color:n,cls:i,rounded:a}){return(0,o.h)("circle",{class:"q-circular-progress__"+i+(void 0!==n?` text-${n}`:""),style:p.value,fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":f,"stroke-dashoffset":t,"stroke-linecap":a,cx:g.value,cy:g.value,r:u})}return()=>{const n=[];void 0!==e.centerColor&&"transparent"!==e.centerColor&&n.push((0,o.h)("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:u-x.value/2,cx:g.value,cy:g.value})),void 0!==e.trackColor&&"transparent"!==e.trackColor&&n.push(y({cls:"track",thickness:x.value,offset:0,color:e.trackColor})),n.push(y({cls:"circle",thickness:x.value,offset:b.value,color:e.color,rounded:!0===e.rounded?"round":void 0}));const i=[(0,o.h)("svg",{class:"q-circular-progress__svg",style:s.value,viewBox:v.value,"aria-hidden":"true"},n)];return!0===e.showValue&&i.push((0,o.h)("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},void 0!==t.default?t.default():[(0,o.h)("div",m.value)])),(0,o.h)("div",{class:`q-circular-progress q-circular-progress--${!0===e.indeterminate?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":!0===e.indeterminate?void 0:m.value},(0,l.pf)(t.internal,i))}}})},4939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ie});var o=n(9835),i=n(499),a=n(1957),r=n(8879),s=n(8234),l=n(3978),c=n(9256);n(6822);const u=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function d(e,t,n){return"[object Date]"===Object.prototype.toString.call(e)&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),b(x(e,t,n))}function h(e,t,n){return y(m(e,t,n))}function f(e){return 0===g(e)}function p(e,t){return t<=6?31:t<=11||f(e)?30:29}function g(e){const t=u.length;let n,o,i,a,r,s=u[0];if(e=u[t-1])throw new Error("Invalid Jalaali year "+e);for(r=1;r=u[n-1])throw new Error("Invalid Jalaali year "+e);for(l=1;l=0){if(i<=185)return o=1+w(i,31),n=k(i,31)+1,{jy:a,jm:o,jd:n};i-=186}else a-=1,i+=179,1===r.leap&&(i+=1);return o=7+w(i,30),n=k(i,30)+1,{jy:a,jm:o,jd:n}}function x(e,t,n){let o=w(1461*(e+w(t-8,6)+100100),4)+w(153*k(t+9,12)+2,5)+n-34840408;return o=o-w(3*w(e+100100+w(t-8,6),100),4)+752,o}function y(e){let t=4*e+139361631;t=t+4*w(3*w(4*e+183187720,146097),4)-3908;const n=5*w(k(t,1461),4)+308,o=w(k(n,153),5)+1,i=k(w(n,153),12)+1,a=w(t,1461)-100100+w(8-i,6);return{gy:a,gm:i,gd:o}}function w(e,t){return~~(e/t)}function k(e,t){return e-~~(e/t)*t}var S=n(321);const C=["gregorian","persian"],_={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>C.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},A=["update:modelValue"];function P(e){return e.year+"/"+(0,S.vk)(e.month)+"/"+(0,S.vk)(e.day)}function L(e,t){const n=(0,i.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),o=(0,i.Fl)((()=>!0===n.value?0:-1)),a=(0,i.Fl)((()=>{const t=[];return void 0!==e.color&&t.push(`bg-${e.color}`),void 0!==e.textColor&&t.push(`text-${e.textColor}`),t.join(" ")}));function r(){return void 0!==e.locale?{...t.lang.date,...e.locale}:t.lang.date}function s(t){const n=new Date,o=!0===t?null:0;if("persian"===e.calendar){const e=d(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:o,minute:o,second:o,millisecond:o}}return{editable:n,tabindex:o,headerClass:a,getLocale:r,getCurrentDate:s}}var j=n(5987),T=n(2026),F=n(4680),E=n(892);const M=864e5,O=36e5,R=6e4,I="YYYY-MM-DDTHH:mm:ss.SSSZ",z=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,H=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,q={};function N(e,t){const n="("+t.days.join("|")+")",o=e+n;if(void 0!==q[o])return q[o];const i="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",r="("+t.monthsShort.join("|")+")",s={};let l=0;const c=e.replace(H,(e=>{switch(l++,e){case"YY":return s.YY=l,"(-?\\d{1,2})";case"YYYY":return s.YYYY=l,"(-?\\d{1,4})";case"M":return s.M=l,"(\\d{1,2})";case"MM":return s.M=l,"(\\d{2})";case"MMM":return s.MMM=l,r;case"MMMM":return s.MMMM=l,a;case"D":return s.D=l,"(\\d{1,2})";case"Do":return s.D=l++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=l,"(\\d{2})";case"H":return s.H=l,"(\\d{1,2})";case"HH":return s.H=l,"(\\d{2})";case"h":return s.h=l,"(\\d{1,2})";case"hh":return s.h=l,"(\\d{2})";case"m":return s.m=l,"(\\d{1,2})";case"mm":return s.m=l,"(\\d{2})";case"s":return s.s=l,"(\\d{1,2})";case"ss":return s.s=l,"(\\d{2})";case"S":return s.S=l,"(\\d{1})";case"SS":return s.S=l,"(\\d{2})";case"SSS":return s.S=l,"(\\d{3})";case"A":return s.A=l,"(AM|PM)";case"a":return s.a=l,"(am|pm)";case"aa":return s.aa=l,"(a\\.m\\.|p\\.m\\.)";case"ddd":return i;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return s.Z=l,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=l,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=l,"(-?\\d+)";case"x":return s.x=l,"(-?\\d{4,})";default:return l--,"["===e[0]&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),u={map:s,regex:new RegExp("^"+c)};return q[o]=u,u}function D(e,t){return void 0!==e?e:void 0!==t?t.date:E.F.date}function B(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),i=Math.floor(o/60),a=o%60;return n+(0,S.vk)(i)+t+(0,S.vk)(a)}function Y(e,t,n,o,i){const a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==i&&Object.assign(a,i),void 0===e||null===e||""===e||"string"!==typeof e)return a;void 0===t&&(t=I);const r=D(n,E.Z.props),s=r.months,l=r.monthsShort,{regex:c,map:u}=N(t,r),d=e.match(c);if(null===d)return a;let h="";if(void 0!==u.X||void 0!==u.x){const e=parseInt(d[void 0!==u.X?u.X:u.x],10);if(!0===isNaN(e)||e<0)return a;const t=new Date(e*(void 0!==u.X?1e3:1));a.year=t.getFullYear(),a.month=t.getMonth()+1,a.day=t.getDate(),a.hour=t.getHours(),a.minute=t.getMinutes(),a.second=t.getSeconds(),a.millisecond=t.getMilliseconds()}else{if(void 0!==u.YYYY)a.year=parseInt(d[u.YYYY],10);else if(void 0!==u.YY){const e=parseInt(d[u.YY],10);a.year=e<0?e:2e3+e}if(void 0!==u.M){if(a.month=parseInt(d[u.M],10),a.month<1||a.month>12)return a}else void 0!==u.MMM?a.month=l.indexOf(d[u.MMM])+1:void 0!==u.MMMM&&(a.month=s.indexOf(d[u.MMMM])+1);if(void 0!==u.D){if(a.day=parseInt(d[u.D],10),null===a.year||null===a.month||a.day<1)return a;const e="persian"!==o?new Date(a.year,a.month,0).getDate():p(a.year,a.month);if(a.day>e)return a}void 0!==u.H?a.hour=parseInt(d[u.H],10)%24:void 0!==u.h&&(a.hour=parseInt(d[u.h],10)%12,(u.A&&"PM"===d[u.A]||u.a&&"pm"===d[u.a]||u.aa&&"p.m."===d[u.aa])&&(a.hour+=12),a.hour=a.hour%24),void 0!==u.m&&(a.minute=parseInt(d[u.m],10)%60),void 0!==u.s&&(a.second=parseInt(d[u.s],10)%60),void 0!==u.S&&(a.millisecond=parseInt(d[u.S],10)*10**(3-d[u.S].length)),void 0===u.Z&&void 0===u.ZZ||(h=void 0!==u.Z?d[u.Z].replace(":",""):d[u.ZZ],a.timezoneOffset=("+"===h[0]?-1:1)*(60*h.slice(1,3)+1*h.slice(3,5)))}return a.dateHash=(0,S.vk)(a.year,6)+"/"+(0,S.vk)(a.month)+"/"+(0,S.vk)(a.day),a.timeHash=(0,S.vk)(a.hour)+":"+(0,S.vk)(a.minute)+":"+(0,S.vk)(a.second)+h,a}function X(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const i=(t-n)/(7*M);return 1+Math.floor(i)}function W(e,t,n){const o=new Date(e),i="set"+(!0===n?"UTC":"");switch(t){case"year":case"years":o[`${i}Month`](0);case"month":case"months":o[`${i}Date`](1);case"day":case"days":case"date":o[`${i}Hours`](0);case"hour":case"hours":o[`${i}Minutes`](0);case"minute":case"minutes":o[`${i}Seconds`](0);case"second":case"seconds":o[`${i}Milliseconds`](0)}return o}function V(e,t,n){return(e.getTime()-e.getTimezoneOffset()*R-(t.getTime()-t.getTimezoneOffset()*R))/n}function $(e,t,n="days"){const o=new Date(e),i=new Date(t);switch(n){case"years":case"year":return o.getFullYear()-i.getFullYear();case"months":case"month":return 12*(o.getFullYear()-i.getFullYear())+o.getMonth()-i.getMonth();case"days":case"day":case"date":return V(W(o,"day"),W(i,"day"),M);case"hours":case"hour":return V(W(o,"hour"),W(i,"hour"),O);case"minutes":case"minute":return V(W(o,"minute"),W(i,"minute"),R);case"seconds":case"second":return V(W(o,"second"),W(i,"second"),1e3)}}function Z(e){return $(e,W(e,"year"),"days")+1}function U(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const G={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>=0?(0,S.vk)(o):"-"+(0,S.vk)(Math.abs(o))},YYYY(e,t,n){return void 0!==n&&null!==n?n:e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return(0,S.vk)(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return U(this.Q(e))},D(e){return e.getDate()},Do(e){return U(e.getDate())},DD(e){return(0,S.vk)(e.getDate())},DDD(e){return Z(e)},DDDD(e){return(0,S.vk)(Z(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return X(e)},ww(e){return(0,S.vk)(X(e))},H(e){return e.getHours()},HH(e){return(0,S.vk)(e.getHours())},h(e){const t=e.getHours();return 0===t?12:t>12?t%12:t},hh(e){return(0,S.vk)(this.h(e))},m(e){return e.getMinutes()},mm(e){return(0,S.vk)(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return(0,S.vk)(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return(0,S.vk)(Math.floor(e.getMilliseconds()/10))},SSS(e){return(0,S.vk)(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,n,o){const i=void 0===o||null===o?e.getTimezoneOffset():o;return B(i,":")},ZZ(e,t,n,o){const i=void 0===o||null===o?e.getTimezoneOffset():o;return B(i)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function K(e,t,n,o,i){if(0!==e&&!e||e===1/0||e===-1/0)return;const a=new Date(e);if(isNaN(a))return;void 0===t&&(t=I);const r=D(n,E.Z.props);return t.replace(z,((e,t)=>e in G?G[e](a,r,o,i):void 0===t?e:t.split("\\]").join("]")))}const J=20,Q=["Calendar","Years","Months"],ee=e=>Q.includes(e),te=e=>/^-?[\d]+\/[0-1]\d$/.test(e),ne=" — ";function oe(e){return e.year+"/"+(0,S.vk)(e.month)}const ie=(0,j.L)({name:"QDate",props:{..._,...c.Fz,...s.S,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:te},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:te},navigationMaxYearMonth:{type:String,validator:te},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:ee}},emits:[...A,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),{$q:d}=u,f=(0,s.Z)(e,d),{getCache:g}=(0,l.Z)(),{tabindex:v,headerClass:m,getLocale:b,getCurrentDate:x}=L(e,d);let y;const w=(0,c.Vt)(e),k=(0,c.eX)(w),C=(0,i.iH)(null),_=(0,i.iH)(Fe()),A=(0,i.iH)(b()),j=(0,i.Fl)((()=>Fe())),E=(0,i.Fl)((()=>b())),M=(0,i.Fl)((()=>x())),O=(0,i.iH)(Me(_.value,A.value)),R=(0,i.iH)(e.defaultView),I=!0===d.lang.rtl?"right":"left",z=(0,i.iH)(I.value),H=(0,i.iH)(I.value),q=O.value.year,N=(0,i.iH)(q-q%J-(q<0?J:0)),D=(0,i.iH)(null),B=(0,i.Fl)((()=>{const t=!0===e.landscape?"landscape":"portrait";return`q-date q-date--${t} q-date--${t}-${!0===e.minimal?"minimal":"standard"}`+(!0===f.value?" q-date--dark q-dark":"")+(!0===e.bordered?" q-date--bordered":"")+(!0===e.square?" q-date--square no-border-radius":"")+(!0===e.flat?" q-date--flat no-shadow":"")+(!0===e.disable?" disabled":!0===e.readonly?" q-date--readonly":"")})),X=(0,i.Fl)((()=>e.color||"primary")),W=(0,i.Fl)((()=>e.textColor||"white")),V=(0,i.Fl)((()=>!0===e.emitImmediately&&!0!==e.multiple&&!0!==e.range)),Z=(0,i.Fl)((()=>!0===Array.isArray(e.modelValue)?e.modelValue:null!==e.modelValue&&void 0!==e.modelValue?[e.modelValue]:[])),U=(0,i.Fl)((()=>Z.value.filter((e=>"string"===typeof e)).map((e=>Ee(e,_.value,A.value))).filter((e=>null!==e.dateHash&&null!==e.day&&null!==e.month&&null!==e.year)))),G=(0,i.Fl)((()=>{const e=e=>Ee(e,_.value,A.value);return Z.value.filter((e=>!0===(0,F.Kn)(e)&&void 0!==e.from&&void 0!==e.to)).map((t=>({from:e(t.from),to:e(t.to)}))).filter((e=>null!==e.from.dateHash&&null!==e.to.dateHash&&e.from.dateHash"persian"!==e.calendar?e=>new Date(e.year,e.month-1,e.day):e=>{const t=h(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)})),te=(0,i.Fl)((()=>"persian"===e.calendar?P:(e,t,n)=>K(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),void 0===t?_.value:t,void 0===n?A.value:n,e.year,e.timezoneOffset))),ie=(0,i.Fl)((()=>U.value.length+G.value.reduce(((e,t)=>e+1+$(Q.value(t.to),Q.value(t.from))),0))),ae=(0,i.Fl)((()=>{if(void 0!==e.title&&null!==e.title&&e.title.length>0)return e.title;if(null!==D.value){const e=D.value.init,t=Q.value(e);return A.value.daysShort[t.getDay()]+", "+A.value.monthsShort[e.month-1]+" "+e.day+ne+"?"}if(0===ie.value)return ne;if(ie.value>1)return`${ie.value} ${A.value.pluralDay}`;const t=U.value[0],n=Q.value(t);return!0===isNaN(n.valueOf())?ne:void 0!==A.value.headerTitle?A.value.headerTitle(n,t):A.value.daysShort[n.getDay()]+", "+A.value.monthsShort[t.month-1]+" "+t.day})),re=(0,i.Fl)((()=>{const e=U.value.concat(G.value.map((e=>e.from))).sort(((e,t)=>e.year-t.year||e.month-t.month));return e[0]})),se=(0,i.Fl)((()=>{const e=U.value.concat(G.value.map((e=>e.to))).sort(((e,t)=>t.year-e.year||t.month-e.month));return e[0]})),le=(0,i.Fl)((()=>{if(void 0!==e.subtitle&&null!==e.subtitle&&e.subtitle.length>0)return e.subtitle;if(0===ie.value)return ne;if(ie.value>1){const e=re.value,t=se.value,n=A.value.monthsShort;return n[e.month-1]+(e.year!==t.year?" "+e.year+ne+n[t.month-1]+" ":e.month!==t.month?ne+n[t.month-1]:"")+" "+t.year}return U.value[0].year})),ce=(0,i.Fl)((()=>{const e=[d.iconSet.datetime.arrowLeft,d.iconSet.datetime.arrowRight];return!0===d.lang.rtl?e.reverse():e})),ue=(0,i.Fl)((()=>void 0!==e.firstDayOfWeek?Number(e.firstDayOfWeek):A.value.firstDayOfWeek)),de=(0,i.Fl)((()=>{const e=A.value.daysShort,t=ue.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e})),he=(0,i.Fl)((()=>{const t=O.value;return"persian"!==e.calendar?new Date(t.year,t.month,0).getDate():p(t.year,t.month)})),fe=(0,i.Fl)((()=>"function"===typeof e.eventColor?e.eventColor:()=>e.eventColor)),pe=(0,i.Fl)((()=>{if(void 0===e.navigationMinYearMonth)return null;const t=e.navigationMinYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),ge=(0,i.Fl)((()=>{if(void 0===e.navigationMaxYearMonth)return null;const t=e.navigationMaxYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),ve=(0,i.Fl)((()=>{const e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return null!==pe.value&&pe.value.year>=O.value.year&&(e.year.prev=!1,pe.value.year===O.value.year&&pe.value.month>=O.value.month&&(e.month.prev=!1)),null!==ge.value&&ge.value.year<=O.value.year&&(e.year.next=!1,ge.value.year===O.value.year&&ge.value.month<=O.value.month&&(e.month.next=!1)),e})),me=(0,i.Fl)((()=>{const e={};return U.value.forEach((t=>{const n=oe(t);void 0===e[n]&&(e[n]=[]),e[n].push(t.day)})),e})),be=(0,i.Fl)((()=>{const e={};return G.value.forEach((t=>{const n=oe(t.from),o=oe(t.to);if(void 0===e[n]&&(e[n]=[]),e[n].push({from:t.from.day,to:n===o?t.to.day:void 0,range:t}),n12&&(r.year++,r.month=1)}})),e})),xe=(0,i.Fl)((()=>{if(null===D.value)return;const{init:e,initHash:t,final:n,finalHash:o}=D.value,[i,a]=t<=o?[e,n]:[n,e],r=oe(i),s=oe(a);if(r!==ye.value&&s!==ye.value)return;const l={};return r===ye.value?(l.from=i.day,l.includeFrom=!0):l.from=1,s===ye.value?(l.to=a.day,l.includeTo=!0):l.to=he.value,l})),ye=(0,i.Fl)((()=>oe(O.value))),we=(0,i.Fl)((()=>{const t={};if(void 0===e.options){for(let e=1;e<=he.value;e++)t[e]=!0;return t}const n="function"===typeof e.options?e.options:t=>e.options.includes(t);for(let e=1;e<=he.value;e++){const o=ye.value+"/"+(0,S.vk)(e);t[e]=n(o)}return t})),ke=(0,i.Fl)((()=>{const t={};if(void 0===e.events)for(let e=1;e<=he.value;e++)t[e]=!1;else{const n="function"===typeof e.events?e.events:t=>e.events.includes(t);for(let e=1;e<=he.value;e++){const o=ye.value+"/"+(0,S.vk)(e);t[e]=!0===n(o)&&fe.value(o)}}return t})),Se=(0,i.Fl)((()=>{let t,n;const{year:o,month:i}=O.value;if("persian"!==e.calendar)t=new Date(o,i-1,1),n=new Date(o,i-1,0).getDate();else{const e=h(o,i,1);t=new Date(e.gy,e.gm-1,e.gd);let a=i-1,r=o;0===a&&(a=12,r--),n=p(r,a)}return{days:t.getDay()-ue.value-1,endDay:n}})),Ce=(0,i.Fl)((()=>{const e=[],{days:t,endDay:n}=Se.value,o=t<0?t+7:t;if(o<6)for(let r=n-o;r<=n;r++)e.push({i:r,fill:!0});const i=e.length;for(let r=1;r<=he.value;r++){const t={i:r,event:ke.value[r],classes:[]};!0===we.value[r]&&(t.in=!0,t.flat=!0),e.push(t)}if(void 0!==me.value[ye.value]&&me.value[ye.value].forEach((t=>{const n=i+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:X.value,textColor:W.value})})),void 0!==be.value[ye.value]&&be.value[ye.value].forEach((t=>{if(void 0!==t.from){const n=i+t.from-1,o=i+(t.to||he.value)-1;for(let i=n;i<=o;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:X.value,textColor:W.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),void 0!==t.to&&Object.assign(e[o],{rangeTo:!0,flat:!1})}else if(void 0!==t.to){const n=i+t.to-1;for(let o=i;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:X.value,textColor:W.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{const n=i+he.value-1;for(let o=i;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:X.value,textColor:W.value})}})),void 0!==xe.value){const t=i+xe.value.from-1,n=i+xe.value.to-1;for(let o=t;o<=n;o++)e[o].color=X.value,e[o].editRange=!0;!0===xe.value.includeFrom&&(e[t].editRangeFrom=!0),!0===xe.value.includeTo&&(e[n].editRangeTo=!0)}O.value.year===M.value.year&&O.value.month===M.value.month&&(e[i+M.value.day-1].today=!0);const a=e.length%7;if(a>0){const t=7-a;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach((e=>{let t="q-date__calendar-item ";!0===e.fill?t+="q-date__calendar-item--fill":(t+="q-date__calendar-item--"+(!0===e.in?"in":"out"),void 0!==e.range&&(t+=" q-date__range"+(!0===e.rangeTo?"-to":!0===e.rangeFrom?"-from":"")),!0===e.editRange&&(t+=` q-date__edit-range${!0===e.editRangeFrom?"-from":""}${!0===e.editRangeTo?"-to":""}`),void 0===e.range&&!0!==e.editRange||(t+=` text-${e.color}`)),e.classes=t})),e})),_e=(0,i.Fl)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function Ae(){const e=M.value,t=me.value[oe(e)];void 0!==t&&!1!==t.includes(e.day)||Ve(e),je(e.year,e.month)}function Pe(e){!0===ee(e)&&(R.value=e)}function Le(e,t){if(["month","year"].includes(e)){const n="month"===e?Re:Ie;n(!0===t?-1:1)}}function je(e,t){R.value="Calendar",De(e,t)}function Te(t,n){if(!1===e.range||!t)return void(D.value=null);const o=Object.assign({...O.value},t),i=void 0!==n?Object.assign({...O.value},n):o;D.value={init:o,initHash:P(o),final:i,finalHash:P(i)},je(o.year,o.month)}function Fe(){return"persian"===e.calendar?"YYYY/MM/DD":e.mask}function Ee(t,n,o){return Y(t,n,o,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Me(t,n){const o=!0===Array.isArray(e.modelValue)?e.modelValue:e.modelValue?[e.modelValue]:[];if(0===o.length)return Oe();const i=o[o.length-1],a=Ee(void 0!==i.from?i.from:i,t,n);return null===a.dateHash?Oe():a}function Oe(){let t,n;if(void 0!==e.defaultYearMonth){const o=e.defaultYearMonth.split("/");t=parseInt(o[0],10),n=parseInt(o[1],10)}else{const e=void 0!==M.value?M.value:x();t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+"/"+(0,S.vk)(n)+"/01"}}function Re(e){let t=O.value.year,n=Number(O.value.month)+e;13===n?(n=1,t++):0===n&&(n=12,t--),De(t,n),!0===V.value&&Ye("month")}function Ie(e){const t=Number(O.value.year)+e;De(t,O.value.month),!0===V.value&&Ye("year")}function ze(t){De(t,O.value.month),R.value="Years"===e.defaultView?"Months":"Calendar",!0===V.value&&Ye("year")}function He(e){De(O.value.year,e),R.value="Calendar",!0===V.value&&Ye("month")}function qe(e,t){const n=me.value[t],o=void 0!==n&&!0===n.includes(e.day)?$e:Ve;o(e)}function Ne(e){return{year:e.year,month:e.month,day:e.day}}function De(e,t,n){if(null!==pe.value&&e<=pe.value.year&&(e=pe.value.year,t=ge.value.year&&(e=ge.value.year,t>ge.value.month&&(t=ge.value.month)),void 0!==n){const{hour:e,minute:t,second:o,millisecond:i,timezoneOffset:a,timeHash:r}=n;Object.assign(O.value,{hour:e,minute:t,second:o,millisecond:i,timezoneOffset:a,timeHash:r})}const i=e+"/"+(0,S.vk)(t)+"/01";i!==O.value.dateHash&&(z.value=O.value.dateHash{N.value=e-e%J-(e<0?J:0),Object.assign(O.value,{year:e,month:t,day:1,dateHash:i})})))}function Be(t,o,i){const a=null!==t&&1===t.length&&!1===e.multiple?t[0]:t;y=a;const{reason:r,details:s}=Xe(o,i);n("update:modelValue",a,r,s)}function Ye(t){const i=void 0!==U.value[0]&&null!==U.value[0].dateHash?{...U.value[0]}:{...O.value};(0,o.Y3)((()=>{i.year=O.value.year,i.month=O.value.month;const o="persian"!==e.calendar?new Date(i.year,i.month,0).getDate():p(i.year,i.month);i.day=Math.min(Math.max(1,i.day),o);const a=We(i);y=a;const{details:r}=Xe("",i);n("update:modelValue",a,t,r)}))}function Xe(e,t){return void 0!==t.from?{reason:`${e}-range`,details:{...Ne(t.target),from:Ne(t.from),to:Ne(t.to)}}:{reason:`${e}-day`,details:Ne(t)}}function We(e,t,n){return void 0!==e.from?{from:te.value(e.from,t,n),to:te.value(e.to,t,n)}:te.value(e,t,n)}function Ve(t){let n;if(!0===e.multiple)if(void 0!==t.from){const e=P(t.from),o=P(t.to),i=U.value.filter((t=>t.dateHasho)),a=G.value.filter((({from:t,to:n})=>n.dateHasho));n=i.concat(a).concat(t).map((e=>We(e)))}else{const e=Z.value.slice();e.push(We(t)),n=e}else n=We(t);Be(n,"add",t)}function $e(t){if(!0===e.noUnset)return;let n=null;if(!0===e.multiple&&!0===Array.isArray(e.modelValue)){const o=We(t);n=void 0!==t.from?e.modelValue.filter((e=>void 0===e.from||e.from!==o.from&&e.to!==o.to)):e.modelValue.filter((e=>e!==o)),0===n.length&&(n=null)}Be(n,"remove",t)}function Ze(t,o,i){const a=U.value.concat(G.value).map((e=>We(e,t,o))).filter((e=>void 0!==e.from?null!==e.from.dateHash&&null!==e.to.dateHash:null!==e.dateHash));n("update:modelValue",(!0===e.multiple?a:a[0])||null,i)}function Ue(){if(!0!==e.minimal)return(0,o.h)("div",{class:"q-date__header "+m.value},[(0,o.h)("div",{class:"relative-position"},[(0,o.h)(a.uT,{name:"q-transition--fade"},(()=>(0,o.h)("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+("Years"===R.value?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vY",{onClick(){R.value="Years"},onKeyup(e){13===e.keyCode&&(R.value="Years")}})},[le.value])))]),(0,o.h)("div",{class:"q-date__header-title relative-position flex no-wrap"},[(0,o.h)("div",{class:"relative-position col"},[(0,o.h)(a.uT,{name:"q-transition--fade"},(()=>(0,o.h)("div",{key:"h-sub"+ae.value,class:"q-date__header-title-label q-date__header-link "+("Calendar"===R.value?"q-date__header-link--active":"cursor-pointer"),tabindex:v.value,...g("vC",{onClick(){R.value="Calendar"},onKeyup(e){13===e.keyCode&&(R.value="Calendar")}})},[ae.value])))]),!0===e.todayBtn?(0,o.h)(r.Z,{class:"q-date__header-today self-start",icon:d.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:v.value,onClick:Ae}):null])])}function Ge({label:e,type:t,key:n,dir:i,goTo:s,boundaries:l,cls:c}){return[(0,o.h)("div",{class:"row items-center q-date__arrow"},[(0,o.h)(r.Z,{round:!0,dense:!0,size:"sm",flat:!0,icon:ce.value[0],tabindex:v.value,disable:!1===l.prev,...g("go-#"+t,{onClick(){s(-1)}})})]),(0,o.h)("div",{class:"relative-position overflow-hidden flex flex-center"+c},[(0,o.h)(a.uT,{name:"q-transition--jump-"+i},(()=>(0,o.h)("div",{key:n},[(0,o.h)(r.Z,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:v.value,...g("view#"+t,{onClick:()=>{R.value=t}})})])))]),(0,o.h)("div",{class:"row items-center q-date__arrow"},[(0,o.h)(r.Z,{round:!0,dense:!0,size:"sm",flat:!0,icon:ce.value[1],tabindex:v.value,disable:!1===l.next,...g("go+#"+t,{onClick(){s(1)}})})])]}(0,o.YP)((()=>e.modelValue),(e=>{if(y===e)y=0;else{const e=Me(_.value,A.value);De(e.year,e.month,e)}})),(0,o.YP)(R,(()=>{null!==C.value&&!0===u.$el.contains(document.activeElement)&&C.value.focus()})),(0,o.YP)((()=>O.value.year+"|"+O.value.month),(()=>{n("navigation",{year:O.value.year,month:O.value.month})})),(0,o.YP)(j,(e=>{Ze(e,A.value,"mask"),_.value=e})),(0,o.YP)(E,(e=>{Ze(_.value,e,"locale"),A.value=e}));const Ke={Calendar:()=>[(0,o.h)("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[(0,o.h)("div",{class:"q-date__navigation row items-center no-wrap"},Ge({label:A.value.months[O.value.month-1],type:"Months",key:O.value.month,dir:z.value,goTo:Re,boundaries:ve.value.month,cls:" col"}).concat(Ge({label:O.value.year,type:"Years",key:O.value.year,dir:H.value,goTo:Ie,boundaries:ve.value.year,cls:""}))),(0,o.h)("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},de.value.map((e=>(0,o.h)("div",{class:"q-date__calendar-item"},[(0,o.h)("div",e)])))),(0,o.h)("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[(0,o.h)(a.uT,{name:"q-transition--slide-"+z.value},(()=>(0,o.h)("div",{key:ye.value,class:"q-date__calendar-days fit"},Ce.value.map((e=>(0,o.h)("div",{class:e.classes},[!0===e.in?(0,o.h)(r.Z,{class:!0===e.today?"q-date__today":"",dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:v.value,...g("day#"+e.i,{onClick:()=>{Je(e.i)},onMouseover:()=>{Qe(e.i)}})},!1!==e.event?()=>(0,o.h)("div",{class:"q-date__event bg-"+e.event}):null):(0,o.h)("div",""+e.i)]))))))])])],Months(){const t=O.value.year===M.value.year,n=e=>null!==pe.value&&O.value.year===pe.value.year&&pe.value.month>e||null!==ge.value&&O.value.year===ge.value.year&&ge.value.month{const a=O.value.month===i+1;return(0,o.h)("div",{class:"q-date__months-item flex flex-center"},[(0,o.h)(r.Z,{class:!0===t&&M.value.month===i+1?"q-date__today":null,flat:!0!==a,label:e,unelevated:a,color:!0===a?X.value:null,textColor:!0===a?W.value:null,tabindex:v.value,disable:n(i+1),...g("month#"+i,{onClick:()=>{He(i+1)}})})])}));return!0===e.yearsInMonthView&&i.unshift((0,o.h)("div",{class:"row no-wrap full-width"},[Ge({label:O.value.year,type:"Years",key:O.value.year,dir:H.value,goTo:Ie,boundaries:ve.value.year,cls:" col"})])),(0,o.h)("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},i)},Years(){const e=N.value,t=e+J,n=[],i=e=>null!==pe.value&&pe.value.year>e||null!==ge.value&&ge.value.year{ze(a)}})})]))}return(0,o.h)("div",{class:"q-date__view q-date__years flex flex-center"},[(0,o.h)("div",{class:"col-auto"},[(0,o.h)(r.Z,{round:!0,dense:!0,flat:!0,icon:ce.value[0],tabindex:v.value,disable:i(e),...g("y-",{onClick:()=>{N.value-=J}})})]),(0,o.h)("div",{class:"q-date__years-content col self-stretch row items-center"},n),(0,o.h)("div",{class:"col-auto"},[(0,o.h)(r.Z,{round:!0,dense:!0,flat:!0,icon:ce.value[1],tabindex:v.value,disable:i(t),...g("y+",{onClick:()=>{N.value+=J}})})])])}};function Je(t){const o={...O.value,day:t};if(!1!==e.range)if(null===D.value){const i=Ce.value.find((e=>!0!==e.fill&&e.i===t));if(!0!==e.noUnset&&void 0!==i.range)return void $e({target:o,from:i.range.from,to:i.range.to});if(!0===i.selected)return void $e(o);const a=P(o);D.value={init:o,initHash:a,final:o,finalHash:a},n("rangeStart",Ne(o))}else{const e=D.value.initHash,t=P(o),i=e<=t?{from:D.value.init,to:o}:{from:o,to:D.value.init};D.value=null,Ve(e===t?o:{target:o,...i}),n("rangeEnd",{from:Ne(i.from),to:Ne(i.to)})}else qe(o,ye.value)}function Qe(e){if(null!==D.value){const t={...O.value,day:e};Object.assign(D.value,{final:t,finalHash:P(t)})}}return Object.assign(u,{setToday:Ae,setView:Pe,offsetCalendar:Le,setCalendarTo:je,setEditingRange:Te}),()=>{const n=[(0,o.h)("div",{class:"q-date__content col relative-position"},[(0,o.h)(a.uT,{name:"q-transition--fade"},Ke[R.value])])],i=(0,T.KR)(t.default);return void 0!==i&&n.push((0,o.h)("div",{class:"q-date__actions"},i)),void 0!==e.name&&!0!==e.disable&&k(n,"push"),(0,o.h)("div",{class:B.value,..._e.value},[Ue(),(0,o.h)("div",{ref:C,class:"q-date__main col column",tabindex:-1},n)])}}})},2074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var o=n(9835),i=n(499),a=n(1957),r=n(4953),s=n(2695),l=n(6916),c=n(3842),u=n(431),d=n(1518),h=n(9754),f=n(5987),p=n(223),g=n(2026),v=n(6532),m=n(4173),b=n(7026);let x=0;const y={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},w={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},k=(0,f.L)({name:"QDialog",inheritAttrs:!1,props:{...c.vr,...u.D,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...c.gH,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:f}){const k=(0,o.FN)(),S=(0,i.iH)(null),C=(0,i.iH)(!1),_=(0,i.iH)(!1);let A,P,L=null,j=null;const T=(0,i.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:F}=(0,h.Z)(),{registerTimeout:E}=(0,s.Z)(),{registerTick:M,removeTick:O}=(0,l.Z)(),{transitionProps:R,transitionStyle:I}=(0,u.Z)(e,(()=>w[e.position][0]),(()=>w[e.position][1])),{showPortal:z,hidePortal:H,portalIsAccessible:q,renderPortal:N}=(0,d.Z)(k,S,ie,"dialog"),{hide:D}=(0,c.ZP)({showing:C,hideOnRouteChange:T,handleShow:Z,handleHide:U,processOnMount:!0}),{addToHistory:B,removeFromHistory:Y}=(0,r.Z)(C,D,T),X=(0,i.Fl)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${y[e.position]}`+(!0===_.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),W=(0,i.Fl)((()=>!0===C.value&&!0!==e.seamless)),V=(0,i.Fl)((()=>!0===e.autoClose?{onClick:te}:{})),$=(0,i.Fl)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===W.value?"modal":"seamless"),f.class]));function Z(t){B(),j=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,ee(e.maximized),z(),_.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),M(G)):O(),E((()=>{if(!0===k.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,o=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>o/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-o,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-o/2))),document.activeElement.scrollIntoView()}P=!0,S.value.click(),P=!1}z(!0),_.value=!1,n("show",t)}),e.transitionDuration)}function U(t){O(),Y(),Q(!0),_.value=!0,H(),null!==j&&(((t&&0===t.type.indexOf("key")?j.closest('[tabindex]:not([tabindex^="-"])'):void 0)||j).focus(),j=null),E((()=>{H(!0),_.value=!1,n("hide",t)}),e.transitionDuration)}function G(e){(0,b.jd)((()=>{let t=S.value;null!==t&&!0!==t.contains(document.activeElement)&&(t=(""!==e?t.querySelector(e):null)||t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}))}function K(e){e&&"function"===typeof e.focus?e.focus({preventScroll:!0}):G(),n("shake");const t=S.value;null!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),null!==L&&clearTimeout(L),L=setTimeout((()=>{L=null,null!==S.value&&(t.classList.remove("q-animate--scale"),G())}),170))}function J(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&K():(n("escapeKey"),D()))}function Q(t){null!==L&&(clearTimeout(L),L=null),!0!==t&&!0!==C.value||(ee(!1),!0!==e.seamless&&(F(!1),(0,m.H)(oe),(0,v.k)(J))),!0!==t&&(j=null)}function ee(e){!0===e?!0!==A&&(x<1&&document.body.classList.add("q-body--dialog"),x++,A=!0):!0===A&&(x<2&&document.body.classList.remove("q-body--dialog"),x--,A=!1)}function te(e){!0!==P&&(D(e),n("click",e))}function ne(t){!0!==e.persistent&&!0!==e.noBackdropDismiss?D(t):!0!==e.noShake&&K()}function oe(t){!0!==e.allowFocusOutside&&!0===q.value&&!0!==(0,p.mY)(S.value,t.target)&&G('[tabindex]:not([tabindex="-1"])')}function ie(){return(0,o.h)("div",{role:"dialog","aria-modal":!0===W.value?"true":"false",...f,class:$.value},[(0,o.h)(a.uT,{name:"q-transition--fade",appear:!0},(()=>!0===W.value?(0,o.h)("div",{class:"q-dialog__backdrop fixed-full",style:I.value,"aria-hidden":"true",tabindex:-1,onClick:ne}):null)),(0,o.h)(a.uT,R.value,(()=>!0===C.value?(0,o.h)("div",{ref:S,class:X.value,style:I.value,tabindex:-1,...V.value},(0,g.KR)(t.default)):null))])}return(0,o.YP)((()=>e.maximized),(e=>{!0===C.value&&ee(e)})),(0,o.YP)(W,(e=>{F(e),!0===e?((0,m.i)(oe),(0,v.c)(J)):((0,m.H)(oe),(0,v.k)(J))})),Object.assign(k.proxy,{focus:G,shake:K,__updateRefocusTarget(e){j=e||null}}),(0,o.Jd)(Q),N}})},906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var o=n(9835),i=n(499),a=n(4953),r=n(3842),s=n(9754),l=n(2695),c=n(8234),u=n(2873),d=n(5987),h=n(321),f=n(2026),p=n(5439);const g=150,v=(0,d.L)({name:"QDrawer",inheritAttrs:!1,props:{...r.vr,...c.S,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...r.gH,"onLayout","miniState"],setup(e,{slots:t,emit:n,attrs:d}){const v=(0,o.FN)(),{proxy:{$q:m}}=v,b=(0,c.Z)(e,m),{preventBodyScroll:x}=(0,s.Z)(),{registerTimeout:y,removeTimeout:w}=(0,l.Z)(),k=(0,o.f3)(p.YE,p.qO);if(k===p.qO)return console.error("QDrawer needs to be child of QLayout"),p.qO;let S,C,_=null;const A=(0,i.iH)("mobile"===e.behavior||"desktop"!==e.behavior&&k.totalWidth.value<=e.breakpoint),P=(0,i.Fl)((()=>!0===e.mini&&!0!==A.value)),L=(0,i.Fl)((()=>!0===P.value?e.miniWidth:e.width)),j=(0,i.iH)(!0===e.showIfAbove&&!1===A.value||!0===e.modelValue),T=(0,i.Fl)((()=>!0!==e.persistent&&(!0===A.value||!0===Z.value)));function F(e,t){if(R(),!1!==e&&k.animate(),se(0),!0===A.value){const e=k.instances[X.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),le(1),!0!==k.isContainer.value&&x(!0)}else le(0),!1!==e&&ce(!1);y((()=>{!1!==e&&ce(!0),!0!==t&&n("show",e)}),g)}function E(e,t){I(),!1!==e&&k.animate(),le(0),se(q.value*L.value),fe(),!0!==t?y((()=>{n("hide",e)}),g):w()}const{show:M,hide:O}=(0,r.ZP)({showing:j,hideOnRouteChange:T,handleShow:F,handleHide:E}),{addToHistory:R,removeFromHistory:I}=(0,a.Z)(j,O,T),z={belowBreakpoint:A,hide:O},H=(0,i.Fl)((()=>"right"===e.side)),q=(0,i.Fl)((()=>(!0===m.lang.rtl?-1:1)*(!0===H.value?1:-1))),N=(0,i.iH)(0),D=(0,i.iH)(!1),B=(0,i.iH)(!1),Y=(0,i.iH)(L.value*q.value),X=(0,i.Fl)((()=>!0===H.value?"left":"right")),W=(0,i.Fl)((()=>!0===j.value&&!1===A.value&&!1===e.overlay?!0===e.miniToOverlay?e.miniWidth:L.value:0)),V=(0,i.Fl)((()=>!0===e.overlay||!0===e.miniToOverlay||k.view.value.indexOf(H.value?"R":"L")>-1||!0===m.platform.is.ios&&!0===k.isContainer.value)),$=(0,i.Fl)((()=>!1===e.overlay&&!0===j.value&&!1===A.value)),Z=(0,i.Fl)((()=>!0===e.overlay&&!0===j.value&&!1===A.value)),U=(0,i.Fl)((()=>"fullscreen q-drawer__backdrop"+(!1===j.value&&!1===D.value?" hidden":""))),G=(0,i.Fl)((()=>({backgroundColor:`rgba(0,0,0,${.4*N.value})`}))),K=(0,i.Fl)((()=>!0===H.value?"r"===k.rows.value.top[2]:"l"===k.rows.value.top[0])),J=(0,i.Fl)((()=>!0===H.value?"r"===k.rows.value.bottom[2]:"l"===k.rows.value.bottom[0])),Q=(0,i.Fl)((()=>{const e={};return!0===k.header.space&&!1===K.value&&(!0===V.value?e.top=`${k.header.offset}px`:!0===k.header.space&&(e.top=`${k.header.size}px`)),!0===k.footer.space&&!1===J.value&&(!0===V.value?e.bottom=`${k.footer.offset}px`:!0===k.footer.space&&(e.bottom=`${k.footer.size}px`)),e})),ee=(0,i.Fl)((()=>{const e={width:`${L.value}px`,transform:`translateX(${Y.value}px)`};return!0===A.value?e:Object.assign(e,Q.value)})),te=(0,i.Fl)((()=>"q-drawer__content fit "+(!0!==k.isContainer.value?"scroll":"overflow-auto"))),ne=(0,i.Fl)((()=>`q-drawer q-drawer--${e.side}`+(!0===B.value?" q-drawer--mini-animate":"")+(!0===e.bordered?" q-drawer--bordered":"")+(!0===b.value?" q-drawer--dark q-dark":"")+(!0===D.value?" no-transition":!0===j.value?"":" q-layout--prevent-focus")+(!0===A.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===P.value?"mini":"standard")+(!0===V.value||!0!==$.value?" fixed":"")+(!0===e.overlay||!0===e.miniToOverlay?" q-drawer--on-top":"")+(!0===K.value?" q-drawer--top-padding":"")))),oe=(0,i.Fl)((()=>{const t=!0===m.lang.rtl?e.side:X.value;return[[u.Z,de,void 0,{[t]:!0,mouse:!0}]]})),ie=(0,i.Fl)((()=>{const t=!0===m.lang.rtl?X.value:e.side;return[[u.Z,he,void 0,{[t]:!0,mouse:!0}]]})),ae=(0,i.Fl)((()=>{const t=!0===m.lang.rtl?X.value:e.side;return[[u.Z,he,void 0,{[t]:!0,mouse:!0,mouseAllDir:!0}]]}));function re(){ge(A,"mobile"===e.behavior||"desktop"!==e.behavior&&k.totalWidth.value<=e.breakpoint)}function se(e){void 0===e?(0,o.Y3)((()=>{e=!0===j.value?0:L.value,se(q.value*e)})):(!0!==k.isContainer.value||!0!==H.value||!0!==A.value&&Math.abs(e)!==L.value||(e+=q.value*k.scrollbarWidth.value),Y.value=e)}function le(e){N.value=e}function ce(e){const t=!0===e?"remove":!0!==k.isContainer.value?"add":"";""!==t&&document.body.classList[t]("q-body--drawer-toggle")}function ue(){null!==_&&clearTimeout(_),v.proxy&&v.proxy.$el&&v.proxy.$el.classList.add("q-drawer--mini-animate"),B.value=!0,_=setTimeout((()=>{_=null,B.value=!1,v&&v.proxy&&v.proxy.$el&&v.proxy.$el.classList.remove("q-drawer--mini-animate")}),150)}function de(e){if(!1!==j.value)return;const t=L.value,n=(0,h.vX)(e.distance.x,0,t);if(!0===e.isFinal){const e=n>=Math.min(75,t);return!0===e?M():(k.animate(),le(0),se(q.value*t)),void(D.value=!1)}se((!0===m.lang.rtl?!0!==H.value:H.value)?Math.max(t-n,0):Math.min(0,n-t)),le((0,h.vX)(n/t,0,1)),!0===e.isFirst&&(D.value=!0)}function he(t){if(!0!==j.value)return;const n=L.value,o=t.direction===e.side,i=(!0===m.lang.rtl?!0!==o:o)?(0,h.vX)(t.distance.x,0,n):0;if(!0===t.isFinal){const e=Math.abs(i){!0===t?(S=j.value,!0===j.value&&O(!1)):!1===e.overlay&&"mobile"!==e.behavior&&!1!==S&&(!0===j.value?(se(0),le(0),fe()):M(!1))})),(0,o.YP)((()=>e.side),((e,t)=>{k.instances[t]===z&&(k.instances[t]=void 0,k[t].space=!1,k[t].offset=0),k.instances[e]=z,k[e].size=L.value,k[e].space=$.value,k[e].offset=W.value})),(0,o.YP)(k.totalWidth,(()=>{!0!==k.isContainer.value&&!0===document.qScrollPrevented||re()})),(0,o.YP)((()=>e.behavior+e.breakpoint),re),(0,o.YP)(k.isContainer,(e=>{!0===j.value&&x(!0!==e),!0===e&&re()})),(0,o.YP)(k.scrollbarWidth,(()=>{se(!0===j.value?0:void 0)})),(0,o.YP)(W,(e=>{pe("offset",e)})),(0,o.YP)($,(e=>{n("onLayout",e),pe("space",e)})),(0,o.YP)(H,(()=>{se()})),(0,o.YP)(L,(t=>{se(),ve(e.miniToOverlay,t)})),(0,o.YP)((()=>e.miniToOverlay),(e=>{ve(e,L.value)})),(0,o.YP)((()=>m.lang.rtl),(()=>{se()})),(0,o.YP)((()=>e.mini),(()=>{!0===e.modelValue&&(ue(),k.animate())})),(0,o.YP)(P,(e=>{n("miniState",e)})),k.instances[e.side]=z,ve(e.miniToOverlay,L.value),pe("space",$.value),pe("offset",W.value),!0===e.showIfAbove&&!0!==e.modelValue&&!0===j.value&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",!0),(0,o.bv)((()=>{n("onLayout",$.value),n("miniState",P.value),S=!0===e.showIfAbove;const t=()=>{const e=!0===j.value?F:E;e(!1,!0)};0===k.totalWidth.value?C=(0,o.YP)(k.totalWidth,(()=>{C(),C=void 0,!1===j.value&&!0===e.showIfAbove&&!1===A.value?M(!1):t()})):(0,o.Y3)(t)})),(0,o.Jd)((()=>{void 0!==C&&C(),null!==_&&(clearTimeout(_),_=null),!0===j.value&&fe(),k.instances[e.side]===z&&(k.instances[e.side]=void 0,pe("size",0),pe("offset",0),pe("space",!1))})),()=>{const n=[];!0===A.value&&(!1===e.noSwipeOpen&&n.push((0,o.wy)((0,o.h)("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),oe.value)),n.push((0,f.Jl)("div",{ref:"backdrop",class:U.value,style:G.value,"aria-hidden":"true",onClick:O},void 0,"backdrop",!0!==e.noSwipeBackdrop&&!0===j.value,(()=>ae.value))));const i=!0===P.value&&void 0!==t.mini,a=[(0,o.h)("div",{...d,key:""+i,class:[te.value,d.class]},!0===i?t.mini():(0,f.KR)(t.default))];return!0===e.elevated&&!0===j.value&&a.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,f.Jl)("aside",{ref:"content",class:ne.value,style:ee.value},a,"contentclose",!0!==e.noSwipeClose&&!0===A.value,(()=>ie.value))),(0,o.h)("div",{class:"q-drawer-container"},n)}}})},651:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(499),i=n(9835),a=n(1957),r=n(490),s=n(1233),l=n(3115),c=n(2857),u=n(9003),d=n(926),h=n(8234),f=n(945),p=n(3842),g=n(5987),v=n(1384),m=n(2026),b=n(796);const x=(0,o.Um)({}),y=Object.keys(f.$),w=(0,g.L)({name:"QExpansionItem",props:{...f.$,...p.vr,...h.S,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...p.gH,"click","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:{$q:f}}=(0,i.FN)(),g=(0,h.Z)(e,f),w=(0,o.iH)(null!==e.modelValue?e.modelValue:e.defaultOpened),k=(0,o.iH)(null),S=(0,b.Z)(),{show:C,hide:_,toggle:A}=(0,p.ZP)({showing:w});let P,L;const j=(0,o.Fl)((()=>"q-expansion-item q-item-type q-expansion-item--"+(!0===w.value?"expanded":"collapsed")+" q-expansion-item--"+(!0===e.popup?"popup":"standard"))),T=(0,o.Fl)((()=>{if(void 0===e.contentInsetLevel)return null;const t=!0===f.lang.rtl?"Right":"Left";return{["padding"+t]:56*e.contentInsetLevel+"px"}})),F=(0,o.Fl)((()=>!0!==e.disable&&(void 0!==e.href||void 0!==e.to&&null!==e.to&&""!==e.to))),E=(0,o.Fl)((()=>{const t={};return y.forEach((n=>{t[n]=e[n]})),t})),M=(0,o.Fl)((()=>!0===F.value||!0!==e.expandIconToggle)),O=(0,o.Fl)((()=>void 0!==e.expandedIcon&&!0===w.value?e.expandedIcon:e.expandIcon||f.iconSet.expansionItem[!0===e.denseToggle?"denseIcon":"icon"])),R=(0,o.Fl)((()=>!0!==e.disable&&(!0===F.value||!0===e.expandIconToggle))),I=(0,o.Fl)((()=>({expanded:!0===w.value,detailsId:e.targetUid,toggle:A,show:C,hide:_}))),z=(0,o.Fl)((()=>{const t=void 0!==e.toggleAriaLabel?e.toggleAriaLabel:f.lang.label[!0===w.value?"collapse":"expand"](e.label);return{role:"button","aria-expanded":!0===w.value?"true":"false","aria-controls":S,"aria-label":t}}));function H(e){!0!==F.value&&A(e),n("click",e)}function q(e){13===e.keyCode&&N(e,!0)}function N(e,t){!0!==t&&null!==k.value&&k.value.focus(),A(e),(0,v.NS)(e)}function D(){n("afterShow")}function B(){n("afterHide")}function Y(){void 0===P&&(P=(0,b.Z)()),!0===w.value&&(x[e.group]=P);const t=(0,i.YP)(w,(t=>{!0===t?x[e.group]=P:x[e.group]===P&&delete x[e.group]})),n=(0,i.YP)((()=>x[e.group]),((e,t)=>{t===P&&void 0!==e&&e!==P&&_()}));L=()=>{t(),n(),x[e.group]===P&&delete x[e.group],L=void 0}}function X(){const t={class:["q-focusable relative-position cursor-pointer"+(!0===e.denseToggle&&!0===e.switchToggleSide?" items-end":""),e.expandIconClass],side:!0!==e.switchToggleSide,avatar:e.switchToggleSide},n=[(0,i.h)(c.Z,{class:"q-expansion-item__toggle-icon"+(void 0===e.expandedIcon&&!0===w.value?" q-expansion-item__toggle-icon--rotated":""),name:O.value})];return!0===R.value&&(Object.assign(t,{tabindex:0,...z.value,onClick:N,onKeyup:q}),n.unshift((0,i.h)("div",{ref:k,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),(0,i.h)(s.Z,t,(()=>n))}function W(){let n;return void 0!==t.header?n=[].concat(t.header(I.value)):(n=[(0,i.h)(s.Z,(()=>[(0,i.h)(l.Z,{lines:e.labelLines},(()=>e.label||"")),e.caption?(0,i.h)(l.Z,{lines:e.captionLines,caption:!0},(()=>e.caption)):null]))],e.icon&&n[!0===e.switchToggleSide?"push":"unshift"]((0,i.h)(s.Z,{side:!0===e.switchToggleSide,avatar:!0!==e.switchToggleSide},(()=>(0,i.h)(c.Z,{name:e.icon}))))),!0!==e.disable&&!0!==e.hideExpandIcon&&n[!0===e.switchToggleSide?"unshift":"push"](X()),n}function V(){const t={ref:"item",style:e.headerStyle,class:e.headerClass,dark:g.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return!0===M.value&&(t.clickable=!0,t.onClick=H,Object.assign(t,!0===F.value?E.value:z.value)),(0,i.h)(r.Z,t,W)}function $(){return(0,i.wy)((0,i.h)("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:T.value,id:S},(0,m.KR)(t.default)),[[a.F8,w.value]])}function Z(){const t=[V(),(0,i.h)(u.Z,{duration:e.duration,onShow:D,onHide:B},$)];return!0===e.expandSeparator&&t.push((0,i.h)(d.Z,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:g.value}),(0,i.h)(d.Z,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:g.value})),t}return(0,i.YP)((()=>e.group),(e=>{void 0!==L&&L(),void 0!==e&&Y()})),void 0!==e.group&&Y(),(0,i.Jd)((()=>{void 0!==L&&L()})),()=>(0,i.h)("div",{class:j.value},[(0,i.h)("div",{class:"q-expansion-item__container relative-position"},Z())])}})},9361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var o=n(499),i=n(9835),a=n(8879),r=n(2857),s=n(647),l=n(3842),c=n(5987),u=n(2026),d=n(5439),h=n(796);const f=["up","right","down","left"],p=["left","center","right"],g=(0,c.L)({name:"QFab",props:{...s.$,...l.vr,icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:e=>f.includes(e)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:e=>p.includes(e)}},emits:l.gH,setup(e,{slots:t}){const n=(0,o.iH)(null),c=(0,o.iH)(!0===e.modelValue),f=(0,h.Z)(),{proxy:{$q:p}}=(0,i.FN)(),{formClass:g,labelProps:v}=(0,s.Z)(e,c),m=(0,o.Fl)((()=>!0!==e.persistent)),{hide:b,toggle:x}=(0,l.ZP)({showing:c,hideOnRouteChange:m}),y=(0,o.Fl)((()=>({opened:c.value}))),w=(0,o.Fl)((()=>`q-fab z-fab row inline justify-center q-fab--align-${e.verticalActionsAlign} ${g.value}`+(!0===c.value?" q-fab--opened":" q-fab--closed"))),k=(0,o.Fl)((()=>`q-fab__actions flex no-wrap inline q-fab__actions--${e.direction} q-fab__actions--`+(!0===c.value?"opened":"closed"))),S=(0,o.Fl)((()=>{const e={id:f,role:"menu"};return!0!==c.value&&(e["aria-hidden"]="true"),e})),C=(0,o.Fl)((()=>"q-fab__icon-holder q-fab__icon-holder--"+(!0===c.value?"opened":"closed")));function _(n,o){const a=t[n],s=`q-fab__${n} absolute-full`;return void 0===a?(0,i.h)(r.Z,{class:s,name:e[o]||p.iconSet.fab[o]}):(0,i.h)("div",{class:s},a(y.value))}function A(){const n=[];return!0!==e.hideIcon&&n.push((0,i.h)("div",{class:C.value},[_("icon","icon"),_("active-icon","activeIcon")])),""===e.label&&void 0===t.label||n[v.value.action]((0,i.h)("div",v.value.data,void 0!==t.label?t.label(y.value):[e.label])),(0,u.vs)(t.tooltip,n)}return(0,i.JJ)(d.Lr,{showing:c,onChildClick(e){b(e),null!==n.value&&n.value.$el.focus()}}),()=>(0,i.h)("div",{class:w.value},[(0,i.h)(a.Z,{ref:n,class:g.value,...e,noWrap:!0,stack:e.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0,"aria-expanded":!0===c.value?"true":"false","aria-haspopup":"true","aria-controls":f,onClick:x},A),(0,i.h)("div",{class:k.value,...S.value},(0,u.KR)(t.default))])}})},935:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(9835),i=n(499),a=n(8879),r=n(2857),s=n(647),l=n(5987),c=n(5439),u=n(2026),d=n(1384);const h={start:"self-end",center:"self-center",end:"self-start"},f=Object.keys(h),p=(0,l.L)({name:"QFabAction",props:{...s.$,icon:{type:String,default:""},anchor:{type:String,validator:e=>f.includes(e)},to:[String,Object],replace:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const l=(0,o.f3)(c.Lr,(()=>({showing:{value:!0},onChildClick:d.ZT}))),{formClass:f,labelProps:p}=(0,s.Z)(e,l.showing),g=(0,i.Fl)((()=>{const t=h[e.anchor];return f.value+(void 0!==t?` ${t}`:"")})),v=(0,i.Fl)((()=>!0===e.disable||!0!==l.showing.value));function m(e){l.onChildClick(e),n("click",e)}function b(){const n=[];return void 0!==t.icon?n.push(t.icon()):""!==e.icon&&n.push((0,o.h)(r.Z,{name:e.icon})),""===e.label&&void 0===t.label||n[p.value.action]((0,o.h)("div",p.value.data,void 0!==t.label?t.label():[e.label])),(0,u.vs)(t.default,n)}const x=(0,o.FN)();return Object.assign(x.proxy,{click:m}),()=>(0,o.h)(a.Z,{class:g.value,...e,noWrap:!0,stack:e.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:v.value,onClick:m},b)}})},647:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,Z:()=>r});var o=n(499);const i=["top","right","bottom","left"],a={type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:e=>i.includes(e)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]};function r(e,t){return{formClass:(0,o.Fl)((()=>"q-fab--form-"+(!0===e.square?"square":"rounded"))),stacked:(0,o.Fl)((()=>!1===e.externalLabel&&["top","bottom"].includes(e.labelPosition))),labelProps:(0,o.Fl)((()=>{if(!0===e.externalLabel){const n=null===e.hideLabel?!1===t.value:e.hideLabel;return{action:"push",data:{class:[e.labelClass,`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${e.labelPosition}`+(!0===n?" q-fab__label--external-hidden":"")],style:e.labelStyle}}}return{action:["left","top"].includes(e.labelPosition)?"unshift":"push",data:{class:[e.labelClass,`q-fab__label q-fab__label--internal q-fab__label--internal-${e.labelPosition}`+(!0===e.hideLabel?" q-fab__label--internal-hidden":"")],style:e.labelStyle}}}))}}},1378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(9835),i=n(499),a=n(7506),r=n(883),s=n(5987),l=n(2026),c=n(5439);const u=(0,s.L)({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,o.FN)(),u=(0,o.f3)(c.YE,c.qO);if(u===c.qO)return console.error("QFooter needs to be child of QLayout"),c.qO;const d=(0,i.iH)(parseInt(e.heightHint,10)),h=(0,i.iH)(!0),f=(0,i.iH)(!0===a.uX.value||!0===u.isContainer.value?0:window.innerHeight),p=(0,i.Fl)((()=>!0===e.reveal||u.view.value.indexOf("F")>-1||s.platform.is.ios&&!0===u.isContainer.value)),g=(0,i.Fl)((()=>!0===u.isContainer.value?u.containerHeight.value:f.value)),v=(0,i.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===p.value)return!0===h.value?d.value:0;const t=u.scroll.value.position+g.value+d.value-u.height.value;return t>0?t:0})),m=(0,i.Fl)((()=>!0!==e.modelValue||!0===p.value&&!0!==h.value)),b=(0,i.Fl)((()=>!0===e.modelValue&&!0===m.value&&!0===e.reveal)),x=(0,i.Fl)((()=>"q-footer q-layout__section--marginal "+(!0===p.value?"fixed":"absolute")+"-bottom"+(!0===e.bordered?" q-footer--bordered":"")+(!0===m.value?" q-footer--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus"+(!0!==p.value?" hidden":""):""))),y=(0,i.Fl)((()=>{const e=u.rows.value.bottom,t={};return"l"===e[0]&&!0===u.left.space&&(t[!0===s.lang.rtl?"right":"left"]=`${u.left.size}px`),"r"===e[2]&&!0===u.right.space&&(t[!0===s.lang.rtl?"left":"right"]=`${u.right.size}px`),t}));function w(e,t){u.update("footer",e,t)}function k(e,t){e.value!==t&&(e.value=t)}function S({height:e}){k(d,e),w("size",e)}function C(){if(!0!==e.reveal)return;const{direction:t,position:n,inflectionPoint:o}=u.scroll.value;k(h,"up"===t||n-o<100||u.height.value-g.value-n-d.value<300)}function _(e){!0===b.value&&k(h,!0),n("focusin",e)}(0,o.YP)((()=>e.modelValue),(e=>{w("space",e),k(h,!0),u.animate()})),(0,o.YP)(v,(e=>{w("offset",e)})),(0,o.YP)((()=>e.reveal),(t=>{!1===t&&k(h,e.modelValue)})),(0,o.YP)(h,(e=>{u.animate(),n("reveal",e)})),(0,o.YP)([d,u.scroll,u.height],C),(0,o.YP)((()=>s.screen.height),(e=>{!0!==u.isContainer.value&&k(f,e)}));const A={};return u.instances.footer=A,!0===e.modelValue&&w("size",d.value),w("space",e.modelValue),w("offset",v.value),(0,o.Jd)((()=>{u.instances.footer===A&&(u.instances.footer=void 0,w("size",0),w("offset",0),w("space",!1))})),()=>{const n=(0,l.vs)(t.default,[(0,o.h)(r.Z,{debounce:0,onResize:S})]);return!0===e.elevated&&n.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),(0,o.h)("footer",{class:x.value,style:y.value,onFocusin:_},n)}}})},6602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(883),r=n(5987),s=n(2026),l=n(5439);const c=(0,r.L)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.FN)(),c=(0,o.f3)(l.YE,l.qO);if(c===l.qO)return console.error("QHeader needs to be child of QLayout"),l.qO;const u=(0,i.iH)(parseInt(e.heightHint,10)),d=(0,i.iH)(!0),h=(0,i.Fl)((()=>!0===e.reveal||c.view.value.indexOf("H")>-1||r.platform.is.ios&&!0===c.isContainer.value)),f=(0,i.Fl)((()=>{if(!0!==e.modelValue)return 0;if(!0===h.value)return!0===d.value?u.value:0;const t=u.value-c.scroll.value.position;return t>0?t:0})),p=(0,i.Fl)((()=>!0!==e.modelValue||!0===h.value&&!0!==d.value)),g=(0,i.Fl)((()=>!0===e.modelValue&&!0===p.value&&!0===e.reveal)),v=(0,i.Fl)((()=>"q-header q-layout__section--marginal "+(!0===h.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===p.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),m=(0,i.Fl)((()=>{const e=c.rows.value.top,t={};return"l"===e[0]&&!0===c.left.space&&(t[!0===r.lang.rtl?"right":"left"]=`${c.left.size}px`),"r"===e[2]&&!0===c.right.space&&(t[!0===r.lang.rtl?"left":"right"]=`${c.right.size}px`),t}));function b(e,t){c.update("header",e,t)}function x(e,t){e.value!==t&&(e.value=t)}function y({height:e}){x(u,e),b("size",e)}function w(e){!0===g.value&&x(d,!0),n("focusin",e)}(0,o.YP)((()=>e.modelValue),(e=>{b("space",e),x(d,!0),c.animate()})),(0,o.YP)(f,(e=>{b("offset",e)})),(0,o.YP)((()=>e.reveal),(t=>{!1===t&&x(d,e.modelValue)})),(0,o.YP)(d,(e=>{c.animate(),n("reveal",e)})),(0,o.YP)(c.scroll,(t=>{!0===e.reveal&&x(d,"up"===t.direction||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)}));const k={};return c.instances.header=k,!0===e.modelValue&&b("size",u.value),b("space",e.modelValue),b("offset",f.value),(0,o.Jd)((()=>{c.instances.header===k&&(c.instances.header=void 0,b("size",0),b("offset",0),b("space",!1))})),()=>{const n=(0,s.Bl)(t.default,[]);return!0===e.elevated&&n.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,o.h)(a.Z,{debounce:0,onResize:y})),(0,o.h)("header",{class:v.value,style:m.value,onFocusin:w},n)}}})},2857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var o=n(9835),i=n(499),a=n(244),r=n(5987),s=n(2026);const l="0 0 24 24",c=e=>e,u=e=>`ionicons ${e}`,d={"mdi-":e=>`mdi ${e}`,"icon-":c,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":u,"ion-ios":u,"ion-logo":u,"iconfont ":c,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},h={o_:"-outlined",r_:"-round",s_:"-sharp"},f={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},p=new RegExp("^("+Object.keys(d).join("|")+")"),g=new RegExp("^("+Object.keys(h).join("|")+")"),v=new RegExp("^("+Object.keys(f).join("|")+")"),m=/^[Mm]\s?[-+]?\.?\d/,b=/^img:/,x=/^svguse:/,y=/^ion-/,w=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,k=(0,r.L)({name:"QIcon",props:{...a.LU,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),r=(0,a.ZP)(e),c=(0,i.Fl)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),u=(0,i.Fl)((()=>{let t,i=e.name;if("none"===i||!i)return{none:!0};if(null!==n.iconMapFn){const e=n.iconMapFn(i);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(i=e.icon,"none"===i||!i)return{none:!0}}}if(!0===m.test(i)){const[e,t=l]=i.split("|");return{svg:!0,viewBox:t,nodes:e.split("&&").map((e=>{const[t,n,i]=e.split("@@");return(0,o.h)("path",{style:n,d:t,transform:i})}))}}if(!0===b.test(i))return{img:!0,src:i.substring(4)};if(!0===x.test(i)){const[e,t=l]=i.split("|");return{svguse:!0,src:e.substring(7),viewBox:t}}let a=" ";const r=i.match(p);if(null!==r)t=d[r[1]](i);else if(!0===w.test(i))t=i;else if(!0===y.test(i))t=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${i.substring(3)}`;else if(!0===v.test(i)){t="notranslate material-symbols";const e=i.match(v);null!==e&&(i=i.substring(6),t+=f[e[1]]),a=i}else{t="notranslate material-icons";const e=i.match(g);null!==e&&(i=i.substring(2),t+=h[e[1]]),a=i}return{cls:t,content:a}}));return()=>{const n={class:c.value,style:r.value,"aria-hidden":"true",role:"presentation"};return!0===u.value.none?(0,o.h)(e.tag,n,(0,s.KR)(t.default)):!0===u.value.img?(0,o.h)("span",n,(0,s.vs)(t.default,[(0,o.h)("img",{src:u.value.src})])):!0===u.value.svg?(0,o.h)("span",n,(0,s.vs)(t.default,[(0,o.h)("svg",{viewBox:u.value.viewBox||"0 0 24 24"},u.value.nodes)])):!0===u.value.svguse?(0,o.h)("span",n,(0,s.vs)(t.default,[(0,o.h)("svg",{viewBox:u.value.viewBox},[(0,o.h)("use",{"xlink:href":u.value.src})])])):(void 0!==u.value.cls&&(n.class+=" "+u.value.cls),(0,o.h)(e.tag,n,(0,s.vs)(t.default,[u.value.content])))}}})},6611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var o=n(9835),i=n(499),a=n(6169),r=n(1705);const s={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},l={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},c=Object.keys(l);c.forEach((e=>{l[e].regex=new RegExp(l[e].pattern)}));const u=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),d=/[.*+?^${}()|[\]\\]/g,h=String.fromCharCode(1),f={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function p(e,t,n,a){let c,f,p,g,v,m;const b=(0,i.iH)(null),x=(0,i.iH)(w());function y(){return!0===e.autogrow||["textarea","text","search","url","tel","password"].includes(e.type)}function w(){if(S(),!0===b.value){const t=j(F(e.modelValue));return!1!==e.fillMask?E(t):t}return e.modelValue}function k(e){if(e-1){for(let o=e-n.length;o>0;o--)t+=h;n=n.slice(0,o)+t+n.slice(o)}return n}function S(){if(b.value=void 0!==e.mask&&e.mask.length>0&&y(),!1===b.value)return g=void 0,c="",void(f="");const t=void 0===s[e.mask]?e.mask:s[e.mask],n="string"===typeof e.fillMask&&e.fillMask.length>0?e.fillMask.slice(0,1):"_",o=n.replace(d,"\\$&"),i=[],a=[],r=[];let v=!0===e.reverseFillMask,m="",x="";t.replace(u,((e,t,n,o,s)=>{if(void 0!==o){const e=l[o];r.push(e),x=e.negate,!0===v&&(a.push("(?:"+x+"+)?("+e.pattern+"+)?(?:"+x+"+)?("+e.pattern+"+)?"),v=!1),a.push("(?:"+x+"+)?("+e.pattern+")?")}else if(void 0!==n)m="\\"+("\\"===n?"":n),r.push(n),i.push("([^"+m+"]+)?"+m+"?");else{const e=void 0!==t?t:s;m="\\"===e?"\\\\\\\\":e.replace(d,"\\\\$&"),r.push(e),i.push("([^"+m+"]+)?"+m+"?")}}));const w=new RegExp("^"+i.join("")+"("+(""===m?".":"[^"+m+"]")+"+)?"+(""===m?"":"["+m+"]*")+"$"),k=a.length-1,S=a.map(((t,n)=>0===n&&!0===e.reverseFillMask?new RegExp("^"+o+"*"+t):n===k?new RegExp("^"+t+"("+(""===x?".":x)+"+)?"+(!0===e.reverseFillMask?"$":o+"*")):new RegExp("^"+t)));p=r,g=t=>{const n=w.exec(!0===e.reverseFillMask?t:t.slice(0,r.length+1));null!==n&&(t=n.slice(1).join(""));const o=[],i=S.length;for(let e=0,a=t;e0?o.join(""):t},c=r.map((e=>"string"===typeof e?e:h)).join(""),f=c.split(h).join(n)}function C(t,i,r){const s=a.value,l=s.selectionEnd,u=s.value.length-l,d=F(t);!0===i&&S();const p=j(d),g=!1!==e.fillMask?E(p):p,m=x.value!==g;s.value!==g&&(s.value=g),!0===m&&(x.value=g),document.activeElement===s&&(0,o.Y3)((()=>{if(g!==f)if("insertFromPaste"!==r||!0===e.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(r)>-1){const t=!0===e.reverseFillMask?0===l?g.length>p.length?1:0:Math.max(0,g.length-(g===f?0:Math.min(p.length,u)+1))+1:l;s.setSelectionRange(t,t,"forward")}else if(!0===e.reverseFillMask)if(!0===m){const e=Math.max(0,g.length-(g===f?0:Math.min(p.length,u+1)));1===e&&1===l?s.setSelectionRange(e,e,"forward"):A.rightReverse(s,e)}else{const e=g.length-u;s.setSelectionRange(e,e,"backward")}else if(!0===m){const e=Math.max(0,c.indexOf(h),Math.min(p.length,l)-1);A.right(s,e)}else{const e=l-1;A.right(s,e)}else{const e=s.selectionEnd;let t=l-1;for(let n=v;n<=t&&ne.type+e.autogrow),S),(0,o.YP)((()=>e.mask),(n=>{if(void 0!==n)C(x.value,!0);else{const n=F(x.value);S(),e.modelValue!==n&&t("update:modelValue",n)}})),(0,o.YP)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===b.value&&C(x.value,!0)})),(0,o.YP)((()=>e.unmaskedValue),(()=>{!0===b.value&&C(x.value)}));const A={left(e,t){const n=-1===c.slice(t-1).indexOf(h);let o=Math.max(0,t-1);for(;o>=0;o--)if(c[o]===h){t=o,!0===n&&t++;break}if(o<0&&void 0!==c[t]&&c[t]!==h)return A.right(e,0);t>=0&&e.setSelectionRange(t,t,"backward")},right(e,t){const n=e.value.length;let o=Math.min(n,t+1);for(;o<=n;o++){if(c[o]===h){t=o;break}c[o-1]===h&&(t=o)}if(o>n&&void 0!==c[t-1]&&c[t-1]!==h)return A.left(e,n);e.setSelectionRange(t,t,"forward")},leftReverse(e,t){const n=k(e.value.length);let o=Math.max(0,t-1);for(;o>=0;o--){if(n[o-1]===h){t=o;break}if(n[o]===h&&(t=o,0===o))break}if(o<0&&void 0!==n[t]&&n[t]!==h)return A.rightReverse(e,0);t>=0&&e.setSelectionRange(t,t,"backward")},rightReverse(e,t){const n=e.value.length,o=k(n),i=-1===o.slice(0,t+1).indexOf(h);let a=Math.min(n,t+1);for(;a<=n;a++)if(o[a-1]===h){t=a,t>0&&!0===i&&t--;break}if(a>n&&void 0!==o[t-1]&&o[t-1]!==h)return A.leftReverse(e,n);e.setSelectionRange(t,t,"forward")}};function P(e){t("click",e),m=void 0}function L(n){if(t("keydown",n),!0===(0,r.Wm)(n))return;const o=a.value,i=o.selectionStart,s=o.selectionEnd;if(n.shiftKey||(m=void 0),37===n.keyCode||39===n.keyCode){n.shiftKey&&void 0===m&&(m="forward"===o.selectionDirection?i:s);const t=A[(39===n.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];if(n.preventDefault(),t(o,m===i?s:i),n.shiftKey){const e=o.selectionStart;o.setSelectionRange(Math.min(m,e),Math.max(m,e),"forward")}}else 8===n.keyCode&&!0!==e.reverseFillMask&&i===s?(A.left(o,i),o.setSelectionRange(o.selectionStart,s,"backward")):46===n.keyCode&&!0===e.reverseFillMask&&i===s&&(A.rightReverse(o,s),o.setSelectionRange(i,o.selectionEnd,"forward"))}function j(t){if(void 0===t||null===t||""===t)return"";if(!0===e.reverseFillMask)return T(t);const n=p;let o=0,i="";for(let e=0;e=0&&o>-1;a--){const r=t[a];let s=e[o];if("string"===typeof r)i=r+i,s===r&&o--;else{if(void 0===s||!r.regex.test(s))return i;do{i=(void 0!==r.transform?r.transform(s):s)+i,o--,s=e[o]}while(n===a&&void 0!==s&&r.regex.test(s))}}return i}function F(e){return"string"!==typeof e||void 0===g?"number"===typeof e?g(""+e):e:g(e)}function E(t){return f.length-t.length<=0?t:!0===e.reverseFillMask&&t.length>0?f.slice(0,-t.length)+t:t+f.slice(t.length)}return{innerValue:x,hasMask:b,moveCursorForPaste:_,updateMaskValue:C,onMaskedKeydown:L,onMaskedClick:P}}var g=n(9256);function v(e,t){function n(){const t=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(t)===t&&("length"in t?Array.from(t):[t]).forEach((t=>{e.items.add(t)})),{files:e.files}}catch(n){return{files:void 0}}}return!0===t?(0,i.Fl)((()=>{if("file"===e.type)return n()})):(0,i.Fl)(n)}var m=n(2802),b=n(5987),x=n(1384),y=n(7026),w=n(3251);const k=(0,b.L)({name:"QInput",inheritAttrs:!1,props:{...a.Cl,...f,...g.Fz,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...a.HJ,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:r}=(0,o.FN)(),{$q:s}=r,l={};let c,u,d,h=NaN,f=null;const b=(0,i.iH)(null),k=(0,g.Do)(e),{innerValue:S,hasMask:C,moveCursorForPaste:_,updateMaskValue:A,onMaskedKeydown:P,onMaskedClick:L}=p(e,t,B,b),j=v(e,!0),T=(0,i.Fl)((()=>(0,a.yV)(S.value))),F=(0,m.Z)(N),E=(0,a.tL)(),M=(0,i.Fl)((()=>"textarea"===e.type||!0===e.autogrow)),O=(0,i.Fl)((()=>!0===M.value||["text","search","url","tel","password"].includes(e.type))),R=(0,i.Fl)((()=>{const t={...E.splitAttrs.listeners.value,onInput:N,onPaste:q,onChange:X,onBlur:W,onFocus:x.sT};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=F,!0===C.value&&(t.onKeydown=P,t.onClick=L),!0===e.autogrow&&(t.onAnimationend=D),t})),I=(0,i.Fl)((()=>{const t={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:k.value,...E.splitAttrs.attributes.value,id:E.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===M.value&&(t.type=e.type),!0===e.autogrow&&(t.rows=1),t}));function z(){(0,y.jd)((()=>{const e=document.activeElement;null===b.value||b.value===e||null!==e&&e.id===E.targetUid.value||b.value.focus({preventScroll:!0})}))}function H(){null!==b.value&&b.value.select()}function q(n){if(!0===C.value&&!0!==e.reverseFillMask){const e=n.target;_(e,e.selectionStart,e.selectionEnd)}t("paste",n)}function N(n){if(!n||!n.target)return;if("file"===e.type)return void t("update:modelValue",n.target.files);const i=n.target.value;if(!0!==n.target.qComposing){if(!0===C.value)A(i,!1,n.inputType);else if(B(i),!0===O.value&&n.target===document.activeElement){const{selectionStart:e,selectionEnd:t}=n.target;void 0!==e&&void 0!==t&&(0,o.Y3)((()=>{n.target===document.activeElement&&0===i.indexOf(n.target.value)&&n.target.setSelectionRange(e,t)}))}!0===e.autogrow&&Y()}else l.value=i}function D(e){t("animationend",e),Y()}function B(n,i){d=()=>{f=null,"number"!==e.type&&!0===l.hasOwnProperty("value")&&delete l.value,e.modelValue!==n&&h!==n&&(h=n,!0===i&&(u=!0),t("update:modelValue",n),(0,o.Y3)((()=>{h===n&&(h=NaN)}))),d=void 0},"number"===e.type&&(c=!0,l.value=n),void 0!==e.debounce?(null!==f&&clearTimeout(f),l.value=n,f=setTimeout(d,e.debounce)):d()}function Y(){requestAnimationFrame((()=>{const e=b.value;if(null!==e){const t=e.parentNode.style,{scrollTop:n}=e,{overflowY:o,maxHeight:i}=!0===s.platform.is.firefox?{}:window.getComputedStyle(e),a=void 0!==o&&"scroll"!==o;!0===a&&(e.style.overflowY="hidden"),t.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",!0===a&&(e.style.overflowY=parseInt(i,10){null!==b.value&&(b.value.value=void 0!==S.value?S.value:"")}))}function V(){return!0===l.hasOwnProperty("value")?l.value:void 0!==S.value?S.value:""}(0,o.YP)((()=>e.type),(()=>{b.value&&(b.value.value=e.modelValue)})),(0,o.YP)((()=>e.modelValue),(t=>{if(!0===C.value){if(!0===u&&(u=!1,String(t)===h))return;A(t)}else S.value!==t&&(S.value=t,"number"===e.type&&!0===l.hasOwnProperty("value")&&(!0===c?c=!1:delete l.value));!0===e.autogrow&&(0,o.Y3)(Y)})),(0,o.YP)((()=>e.autogrow),(e=>{!0===e?(0,o.Y3)(Y):null!==b.value&&n.rows>0&&(b.value.style.height="auto")})),(0,o.YP)((()=>e.dense),(()=>{!0===e.autogrow&&(0,o.Y3)(Y)})),(0,o.Jd)((()=>{W()})),(0,o.bv)((()=>{!0===e.autogrow&&Y()})),Object.assign(E,{innerValue:S,fieldClass:(0,i.Fl)((()=>"q-"+(!0===M.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,i.Fl)((()=>"file"!==e.type&&"string"===typeof e.shadowText&&e.shadowText.length>0)),inputRef:b,emitValue:B,hasValue:T,floatingLabel:(0,i.Fl)((()=>!0===T.value&&("number"!==e.type||!1===isNaN(S.value))||(0,a.yV)(e.displayValue))),getControl:()=>(0,o.h)(!0===M.value?"textarea":"input",{ref:b,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...I.value,...R.value,..."file"!==e.type?{value:V()}:j.value}),getShadowControl:()=>(0,o.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===M.value?"":" text-no-wrap")},[(0,o.h)("span",{class:"invisible"},V()),(0,o.h)("span",e.shadowText)])});const $=(0,a.ZP)(E);return Object.assign(r,{focus:z,select:H,getNativeElement:()=>b.value}),(0,w.g)(r,"nativeEl",(()=>b.value)),$}})},490:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(8234),r=n(945),s=n(5987),l=n(2026),c=n(1384),u=n(1705);const d=(0,s.L)({name:"QItem",props:{...a.S,...r.$,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,o.FN)(),d=(0,a.Z)(e,s),{hasLink:h,linkAttrs:f,linkClass:p,linkTag:g,navigateOnClick:v}=(0,r.Z)(),m=(0,i.iH)(null),b=(0,i.iH)(null),x=(0,i.Fl)((()=>!0===e.clickable||!0===h.value||"label"===e.tag)),y=(0,i.Fl)((()=>!0!==e.disable&&!0===x.value)),w=(0,i.Fl)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===d.value?" q-item--dark":"")+(!0===h.value&&null===e.active?p.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===y.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),k=(0,i.Fl)((()=>{if(void 0===e.insetLevel)return null;const t=!0===s.lang.rtl?"Right":"Left";return{["padding"+t]:16+56*e.insetLevel+"px"}}));function S(e){!0===y.value&&(null!==b.value&&(!0!==e.qKeyEvent&&document.activeElement===m.value?b.value.focus():document.activeElement===b.value&&m.value.focus()),v(e))}function C(e){if(!0===y.value&&!0===(0,u.So)(e,13)){(0,c.NS)(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,m.value.dispatchEvent(t)}n("keyup",e)}function _(){const e=(0,l.Bl)(t.default,[]);return!0===y.value&&e.unshift((0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:b})),e}return()=>{const t={ref:m,class:w.value,style:k.value,role:"listitem",onClick:S,onKeyup:C};return!0===y.value?(t.tabindex=e.tabindex||"0",Object.assign(t,f.value)):!0===x.value&&(t["aria-disabled"]="true"),(0,o.h)(g.value,t,_())}}})},3115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=(0,o.Fl)((()=>parseInt(e.lines,10))),a=(0,o.Fl)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===n.value?" ellipsis":""))),s=(0,o.Fl)((()=>void 0!==e.lines&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null));return()=>(0,i.h)("div",{style:s.value,class:a.value},(0,r.KR)(t.default))}})},1233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,i.h)("div",{class:n.value},(0,r.KR)(t.default))}})},3246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(8234),s=n(2026);const l=(0,a.L)({name:"QList",props:{...r.S,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=(0,o.FN)(),a=(0,r.Z)(e,n.proxy.$q),l=(0,i.Fl)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===a.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,o.h)(e.tag,{class:l.value},(0,s.KR)(t.default))}})},249:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(9835),i=n(499),a=n(7506),r=n(1868),s=n(883),l=n(5987),c=n(3701),u=n(2026),d=n(5439);const h=(0,l.L)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,o.FN)(),h=(0,i.iH)(null),f=(0,i.iH)(l.screen.height),p=(0,i.iH)(!0===e.container?0:l.screen.width),g=(0,i.iH)({position:0,direction:"down",inflectionPoint:0}),v=(0,i.iH)(0),m=(0,i.iH)(!0===a.uX.value?0:(0,c.np)()),b=(0,i.Fl)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),x=(0,i.Fl)((()=>!1===e.container?{minHeight:l.screen.height+"px"}:null)),y=(0,i.Fl)((()=>0!==m.value?{[!0===l.lang.rtl?"left":"right"]:`${m.value}px`}:null)),w=(0,i.Fl)((()=>0!==m.value?{[!0===l.lang.rtl?"right":"left"]:0,[!0===l.lang.rtl?"left":"right"]:`-${m.value}px`,width:`calc(100% + ${m.value}px)`}:null));function k(t){if(!0===e.container||!0!==document.qScrollPrevented){const o={position:t.position.top,direction:t.direction,directionChanged:t.directionChanged,inflectionPoint:t.inflectionPoint.top,delta:t.delta.top};g.value=o,void 0!==e.onScroll&&n("scroll",o)}}function S(t){const{height:o,width:i}=t;let a=!1;f.value!==o&&(a=!0,f.value=o,void 0!==e.onScrollHeight&&n("scrollHeight",o),_()),p.value!==i&&(a=!0,p.value=i),!0===a&&void 0!==e.onResize&&n("resize",t)}function C({height:e}){v.value!==e&&(v.value=e,_())}function _(){if(!0===e.container){const e=f.value>v.value?(0,c.np)():0;m.value!==e&&(m.value=e)}}let A=null;const P={instances:{},view:(0,i.Fl)((()=>e.view)),isContainer:(0,i.Fl)((()=>e.container)),rootRef:h,height:f,containerHeight:v,scrollbarWidth:m,totalWidth:(0,i.Fl)((()=>p.value+m.value)),rows:(0,i.Fl)((()=>{const t=e.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}})),header:(0,i.qj)({size:0,offset:0,space:!1}),right:(0,i.qj)({size:300,offset:0,space:!1}),footer:(0,i.qj)({size:0,offset:0,space:!1}),left:(0,i.qj)({size:300,offset:0,space:!1}),scroll:g,animate(){null!==A?clearTimeout(A):document.body.classList.add("q-body--layout-animate"),A=setTimeout((()=>{A=null,document.body.classList.remove("q-body--layout-animate")}),155)},update(e,t,n){P[e][t]=n}};if((0,o.JJ)(d.YE,P),(0,c.np)()>0){let L=null;const j=document.body;function T(){L=null,j.classList.remove("hide-scrollbar")}function F(){if(null===L){if(j.scrollHeight>l.screen.height)return;j.classList.add("hide-scrollbar")}else clearTimeout(L);L=setTimeout(T,300)}function E(e){null!==L&&"remove"===e&&(clearTimeout(L),T()),window[`${e}EventListener`]("resize",F)}(0,o.YP)((()=>!0!==e.container?"add":"remove"),E),!0!==e.container&&E("add"),(0,o.Ah)((()=>{E("remove")}))}return()=>{const n=(0,u.vs)(t.default,[(0,o.h)(r.Z,{onScroll:k}),(0,o.h)(s.Z,{onResize:S})]),i=(0,o.h)("div",{class:b.value,style:x.value,ref:!0===e.container?void 0:h,tabindex:-1},n);return!0===e.container?(0,o.h)("div",{class:"q-layout-container overflow-hidden",ref:h},[(0,o.h)(s.Z,{onResize:C}),(0,o.h)("div",{class:"absolute-full",style:y.value},[(0,o.h)("div",{class:"scroll",style:w.value},[i])])]):i}}})},8289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(8234),r=n(244),s=n(5987),l=n(2026);const c={xs:2,sm:4,md:6,lg:10,xl:14};function u(e,t,n){return{transform:!0===t?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const d=(0,s.L)({name:"QLinearProgress",props:{...a.S,...r.LU,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=(0,o.FN)(),s=(0,a.Z)(e,n.$q),d=(0,r.ZP)(e,c),h=(0,i.Fl)((()=>!0===e.indeterminate||!0===e.query)),f=(0,i.Fl)((()=>e.reverse!==e.query)),p=(0,i.Fl)((()=>({...null!==d.value?d.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`}))),g=(0,i.Fl)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),v=(0,i.Fl)((()=>u(void 0!==e.buffer?e.buffer:1,f.value,n.$q))),m=(0,i.Fl)((()=>`with${!0===e.instantFeedback?"out":""}-transition`)),b=(0,i.Fl)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--${m.value} q-linear-progress__track--`+(!0===s.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),x=(0,i.Fl)((()=>u(!0===h.value?1:e.value,f.value,n.$q))),y=(0,i.Fl)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--${m.value} q-linear-progress__model--${!0===h.value?"in":""}determinate`)),w=(0,i.Fl)((()=>({width:100*e.value+"%"}))),k=(0,i.Fl)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")+` q-linear-progress__stripe--${m.value}`));return()=>{const n=[(0,o.h)("div",{class:b.value,style:v.value}),(0,o.h)("div",{class:y.value,style:x.value})];return!0===e.stripe&&!1===h.value&&n.push((0,o.h)("div",{class:k.value,style:w.value})),(0,o.h)("div",{class:g.value,style:p.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},(0,l.vs)(t.default,n))}}})},6933:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(8234),r=n(5987),s=n(2026);const l=["horizontal","vertical","cell","none"],c=(0,r.L)({name:"QMarkupTable",props:{...a.S,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>l.includes(e)}},setup(e,{slots:t}){const n=(0,o.FN)(),r=(0,a.Z)(e,n.proxy.$q),l=(0,i.Fl)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===r.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,o.h)("div",{class:l.value},[(0,o.h)("table",{class:"q-table"},(0,s.KR)(t.default))])}})},5290:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var o=n(9835),i=n(499),a=n(1957),r=n(2589),s=n(1384),l=n(1705);const c={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function u({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:a,proxy:c,emit:u}=(0,o.FN)(),d=(0,i.iH)(null);let h=null;function f(e){return null!==d.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const p={};function g(){(0,s.ul)(p,"anchor")}function v(e){d.value=e;while(d.value.classList.contains("q-anchor--skip"))d.value=d.value.parentNode;n()}function m(){if(!1===a.target||""===a.target||null===c.$el.parentNode)d.value=null;else if(!0===a.target)v(c.$el.parentNode);else{let t=a.target;if("string"===typeof a.target)try{t=document.querySelector(a.target)}catch(e){t=void 0}void 0!==t&&null!==t?(d.value=t.$el||t,n()):(d.value=null,console.error(`Anchor: target "${a.target}" not found`))}}return void 0===n&&(Object.assign(p,{hide(e){c.hide(e)},toggle(e){c.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===(0,l.So)(e,13)&&p.toggle(e)},contextClick(e){c.hide(e),(0,s.X$)(e),(0,o.Y3)((()=>{c.show(e),e.qAnchorHandled=!0}))},prevent:s.X$,mobileTouch(e){if(p.mobileCleanup(e),!0!==f(e))return;c.hide(e),d.value.classList.add("non-selectable");const t=e.target;(0,s.M0)(p,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[d.value,"contextmenu","prevent","notPassive"]]),h=setTimeout((()=>{h=null,c.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(t){d.value.classList.remove("non-selectable"),null!==h&&(clearTimeout(h),h=null),!0===e.value&&void 0!==t&&(0,r.M)()}}),n=function(e=a.contextMenu){if(!0===a.noParentEvent||null===d.value)return;let t;t=!0===e?!0===c.$q.platform.is.mobile?[[d.value,"touchstart","mobileTouch","passive"]]:[[d.value,"mousedown","hide","passive"],[d.value,"contextmenu","contextClick","notPassive"]]:[[d.value,"click","toggle","passive"],[d.value,"keyup","toggleKey","passive"]],(0,s.M0)(p,"anchor",t)}),(0,o.YP)((()=>a.contextMenu),(e=>{null!==d.value&&(g(),n(e))})),(0,o.YP)((()=>a.target),(()=>{null!==d.value&&g(),m()})),(0,o.YP)((()=>a.noParentEvent),(e=>{null!==d.value&&(!0===e?g():n())})),(0,o.bv)((()=>{m(),!0!==t&&!0===a.modelValue&&null===d.value&&u("update:modelValue",!1)})),(0,o.Jd)((()=>{null!==h&&clearTimeout(h),g()})),{anchorEl:d,canShow:f,anchorEvents:p}}function d(e,t){const n=(0,i.iH)(null);let a;function r(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",o=void 0!==t?t:a;e!==window&&e[n]("scroll",o,s.rU.passive),window[n]("scroll",o,s.rU.passive),a=t}function l(){null!==n.value&&(r(n.value),n.value=null)}const c=(0,o.YP)((()=>e.noParentEvent),(()=>{null!==n.value&&(l(),t())}));return(0,o.Jd)(c),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:r}}var h=n(3842),f=n(8234),p=n(1518),g=n(431),v=n(6916),m=n(2695),b=n(5987),x=n(2909),y=n(3701),w=n(2026),k=n(6532),S=n(4173),C=n(223);let _=null;const{notPassiveCapture:A}=s.rU,P=[];function L(e){null!==_&&(clearTimeout(_),_=null);const t=e.target;if(void 0===t||8===t.nodeType||!0===t.classList.contains("no-pointer-events"))return;let n=x.Q$.length-1;while(n>=0){const e=x.Q$[n].$;if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;n--}for(let o=P.length-1;o>=0;o--){const n=P[o];if(null!==n.anchorEl.value&&!1!==n.anchorEl.value.contains(t)||t!==document.body&&(null===n.innerRef.value||!1!==n.innerRef.value.contains(t)))return;e.qClickOutside=!0,n.onClickOutside(e)}}function j(e){P.push(e),1===P.length&&(document.addEventListener("mousedown",L,A),document.addEventListener("touchstart",L,A))}function T(e){const t=P.findIndex((t=>t===e));t>-1&&(P.splice(t,1),0===P.length&&(null!==_&&(clearTimeout(_),_=null),document.removeEventListener("mousedown",L,A),document.removeEventListener("touchstart",L,A)))}var F=n(7026),E=n(7506);let M,O;function R(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function I(e){return!e||2===e.length&&("number"===typeof e[0]&&"number"===typeof e[1])}const z={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function H(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:z[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function q(e,t){let{top:n,left:o,right:i,bottom:a,width:r,height:s}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],o-=t[0],a+=t[1],i+=t[0],r+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:o,right:i,width:r,middle:o+(i-o)/2,center:n+(a-n)/2}}function N(e,t,n){let{top:o,left:i}=e.getBoundingClientRect();return o+=t.top,i+=t.left,void 0!==n&&(o+=n[1],i+=n[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function D(e){return{top:0,center:e.offsetHeight/2,bottom:e.offsetHeight,left:0,middle:e.offsetWidth/2,right:e.offsetWidth}}function B(e,t,n){return{top:e[n.anchorOrigin.vertical]-t[n.selfOrigin.vertical],left:e[n.anchorOrigin.horizontal]-t[n.selfOrigin.horizontal]}}function Y(e){if(!0===E.Lp.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==M&&(e.setProperty("--q-pe-left",t+"px"),M=t),n!==O&&(e.setProperty("--q-pe-top",n+"px"),O=n)}const{scrollLeft:t,scrollTop:n}=e.el,o=void 0===e.absoluteOffset?q(e.anchorEl,!0===e.cover?[0,0]:e.offset):N(e.anchorEl,e.absoluteOffset,e.offset);let i={maxHeight:e.maxHeight,maxWidth:e.maxWidth,visibility:"visible"};!0!==e.fit&&!0!==e.cover||(i.minWidth=o.width+"px",!0===e.cover&&(i.minHeight=o.height+"px")),Object.assign(e.el.style,i);const a=D(e.el);let r=B(o,a,e);if(void 0===e.absoluteOffset||void 0===e.offset)X(r,o,a,e.anchorOrigin,e.selfOrigin);else{const{top:t,left:n}=r;X(r,o,a,e.anchorOrigin,e.selfOrigin);let i=!1;if(r.top!==t){i=!0;const t=2*e.offset[1];o.center=o.top-=t,o.bottom-=t+2}if(r.left!==n){i=!0;const t=2*e.offset[0];o.middle=o.left-=t,o.right-=t+2}!0===i&&(r=B(o,a,e),X(r,o,a,e.anchorOrigin,e.selfOrigin))}i={top:r.top+"px",left:r.left+"px"},void 0!==r.maxHeight&&(i.maxHeight=r.maxHeight+"px",o.height>r.maxHeight&&(i.minHeight=i.maxHeight)),void 0!==r.maxWidth&&(i.maxWidth=r.maxWidth+"px",o.width>r.maxWidth&&(i.minWidth=i.maxWidth)),Object.assign(e.el.style,i),e.el.scrollTop!==n&&(e.el.scrollTop=n),e.el.scrollLeft!==t&&(e.el.scrollLeft=t)}function X(e,t,n,o,i){const a=n.bottom,r=n.right,s=(0,y.np)(),l=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+a>l)if("center"===i.vertical)e.top=t[o.vertical]>l/2?Math.max(0,l-a):0,e.maxHeight=Math.min(a,l);else if(t[o.vertical]>l/2){const n=Math.min(l,"center"===o.vertical?t.center:o.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,"center"===o.vertical?t.center:o.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,l-e.top);if(e.left<0||e.left+r>c)if(e.maxWidth=Math.min(r,c),"middle"===i.horizontal)e.left=t[o.horizontal]>c/2?Math.max(0,c-r):0;else if(t[o.horizontal]>c/2){const n=Math.min(c,"middle"===o.horizontal?t.middle:o.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(r,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===o.horizontal?t.middle:o.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(r,c-e.left)}["left","middle","right"].forEach((e=>{z[`${e}#ltr`]=e,z[`${e}#rtl`]=e}));const W=(0,b.L)({name:"QMenu",inheritAttrs:!1,props:{...c,...h.vr,...f.S,...g.D,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:R},self:{type:String,validator:R},offset:{type:Array,validator:I},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...h.gH,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){let l,c,b,_=null;const A=(0,o.FN)(),{proxy:P}=A,{$q:L}=P,E=(0,i.iH)(null),M=(0,i.iH)(!1),O=(0,i.Fl)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),R=(0,f.Z)(e,L),{registerTick:I,removeTick:z}=(0,v.Z)(),{registerTimeout:q}=(0,m.Z)(),{transitionProps:N,transitionStyle:D}=(0,g.Z)(e),{localScrollTarget:B,changeScrollEvent:X,unconfigureScrollTarget:W}=d(e,le),{anchorEl:V,canShow:$}=u({showing:M}),{hide:Z}=(0,h.ZP)({showing:M,canShow:$,handleShow:ae,handleHide:re,hideOnRouteChange:O,processOnMount:!0}),{showPortal:U,hidePortal:G,renderPortal:K}=(0,p.Z)(A,E,fe,"menu"),J={anchorEl:V,innerRef:E,onClickOutside(t){if(!0!==e.persistent&&!0===M.value)return Z(t),("touchstart"===t.type||t.target.classList.contains("q-dialog__backdrop"))&&(0,s.NS)(t),!0}},Q=(0,i.Fl)((()=>H(e.anchor||(!0===e.cover?"center middle":"bottom start"),L.lang.rtl))),ee=(0,i.Fl)((()=>!0===e.cover?Q.value:H(e.self||"top start",L.lang.rtl))),te=(0,i.Fl)((()=>(!0===e.square?" q-menu--square":"")+(!0===R.value?" q-menu--dark q-dark":""))),ne=(0,i.Fl)((()=>!0===e.autoClose?{onClick:ce}:{})),oe=(0,i.Fl)((()=>!0===M.value&&!0!==e.persistent));function ie(){(0,F.jd)((()=>{let e=E.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function ae(t){if(_=!1===e.noRefocus?document.activeElement:null,(0,S.i)(ue),U(),le(),l=void 0,void 0!==t&&(e.touchPosition||e.contextMenu)){const e=(0,s.FK)(t);if(void 0!==e.left){const{top:t,left:n}=V.value.getBoundingClientRect();l={left:e.left-n,top:e.top-t}}}void 0===c&&(c=(0,o.YP)((()=>L.screen.width+"|"+L.screen.height+"|"+e.self+"|"+e.anchor+"|"+L.lang.rtl),he)),!0!==e.noFocus&&document.activeElement.blur(),I((()=>{he(),!0!==e.noFocus&&ie()})),q((()=>{!0===L.platform.is.ios&&(b=e.autoClose,E.value.click()),he(),U(!0),n("show",t)}),e.transitionDuration)}function re(t){z(),G(),se(!0),null===_||void 0!==t&&!0===t.qClickOutside||(((t&&0===t.type.indexOf("key")?_.closest('[tabindex]:not([tabindex^="-"])'):void 0)||_).focus(),_=null),q((()=>{G(!0),n("hide",t)}),e.transitionDuration)}function se(e){l=void 0,void 0!==c&&(c(),c=void 0),!0!==e&&!0!==M.value||((0,S.H)(ue),W(),T(J),(0,k.k)(de)),!0!==e&&(_=null)}function le(){null===V.value&&void 0===e.scrollTarget||(B.value=(0,y.b0)(V.value,e.scrollTarget),X(B.value,he))}function ce(e){!0!==b?((0,x.AH)(P,e),n("click",e)):b=!1}function ue(t){!0===oe.value&&!0!==e.noFocus&&!0!==(0,C.mY)(E.value,t.target)&&ie()}function de(e){n("escapeKey"),Z(e)}function he(){const t=E.value;null!==t&&null!==V.value&&Y({el:t,offset:e.offset,anchorEl:V.value,anchorOrigin:Q.value,selfOrigin:ee.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function fe(){return(0,o.h)(a.uT,N.value,(()=>!0===M.value?(0,o.h)("div",{role:"menu",...r,ref:E,tabindex:-1,class:["q-menu q-position-engine scroll"+te.value,r.class],style:[r.style,D.value],...ne.value},(0,w.KR)(t.default)):null))}return(0,o.YP)(oe,(e=>{!0===e?((0,k.c)(de),j(J)):((0,k.k)(de),T(J))})),(0,o.Jd)(se),Object.assign(P,{focus:ie,updatePosition:he}),K}})},5429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(9835),i=n(499),a=n(2857),r=n(8234),s=n(244),l=n(5917),c=n(9256),u=n(5987),d=n(9480),h=n(1384),f=n(2026);const p=(0,o.h)("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[(0,o.h)("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),(0,o.h)("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),g=(0,u.L)({name:"QRadio",props:{...r.S,...s.LU,...c.Fz,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:u}=(0,o.FN)(),g=(0,r.Z)(e,u.$q),v=(0,s.ZP)(e,d.Z),m=(0,i.iH)(null),{refocusTargetEl:b,refocusTarget:x}=(0,l.Z)(e,m),y=(0,i.Fl)((()=>(0,i.IU)(e.modelValue)===(0,i.IU)(e.val))),w=(0,i.Fl)((()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===e.disable?" disabled":"")+(!0===g.value?" q-radio--dark":"")+(!0===e.dense?" q-radio--dense":"")+(!0===e.leftLabel?" reverse":""))),k=(0,i.Fl)((()=>{const t=void 0===e.color||!0!==e.keepColor&&!0!==y.value?"":` text-${e.color}`;return`q-radio__inner relative-position q-radio__inner--${!0===y.value?"truthy":"falsy"}${t}`})),S=(0,i.Fl)((()=>(!0===y.value?e.checkedIcon:e.uncheckedIcon)||null)),C=(0,i.Fl)((()=>!0===e.disable?-1:e.tabindex||0)),_=(0,i.Fl)((()=>{const t={type:"radio"};return void 0!==e.name&&Object.assign(t,{".checked":!0===y.value,"^checked":!0===y.value?"checked":void 0,name:e.name,value:e.val}),t})),A=(0,c.eX)(_);function P(t){void 0!==t&&((0,h.NS)(t),x(t)),!0!==e.disable&&!0!==y.value&&n("update:modelValue",e.val,t)}function L(e){13!==e.keyCode&&32!==e.keyCode||(0,h.NS)(e)}function j(e){13!==e.keyCode&&32!==e.keyCode||P(e)}return Object.assign(u,{set:P}),()=>{const n=null!==S.value?[(0,o.h)("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[(0,o.h)(a.Z,{class:"q-radio__icon",name:S.value})])]:[p];!0!==e.disable&&A(n,"unshift"," q-radio__native q-ma-none q-pa-none");const i=[(0,o.h)("div",{class:k.value,style:v.value,"aria-hidden":"true"},n)];null!==b.value&&i.push(b.value);const r=void 0!==e.label?(0,f.vs)(t.default,[e.label]):(0,f.KR)(t.default);return void 0!==r&&i.push((0,o.h)("div",{class:"q-radio__label q-anchor--skip"},r)),(0,o.h)("div",{ref:m,class:w.value,tabindex:C.value,role:"radio","aria-label":e.label,"aria-checked":!0===y.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:P,onKeydown:L,onKeyup:j},i)}}});var v=n(1221),m=n(1926);const b=(0,u.L)({name:"QToggle",props:{...m.Fz,icon:String,iconColor:String},emits:m.ZB,setup(e){function t(t,n){const r=(0,i.Fl)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),s=(0,i.Fl)((()=>!0===t.value?e.iconColor:null));return()=>[(0,o.h)("div",{class:"q-toggle__track"}),(0,o.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==r.value?[(0,o.h)(a.Z,{name:r.value,color:s.value})]:void 0)]}return(0,m.ZP)("toggle",t)}}),x={radio:g,checkbox:v.Z,toggle:b},y=Object.keys(x),w=(0,u.L)({name:"QOptionGroup",props:{...r.S,modelValue:{required:!0},options:{type:Array,validator:e=>e.every((e=>"value"in e&&"label"in e))},name:String,type:{default:"radio",validator:e=>y.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:a}}=(0,o.FN)(),s=Array.isArray(e.modelValue);"radio"===e.type?!0===s&&console.error("q-option-group: model should not be array"):!1===s&&console.error("q-option-group: model should be array in your case");const l=(0,r.Z)(e,a),c=(0,i.Fl)((()=>x[e.type])),u=(0,i.Fl)((()=>"q-option-group q-gutter-x-sm"+(!0===e.inline?" q-option-group--inline":""))),d=(0,i.Fl)((()=>{const t={role:"group"};return"radio"===e.type&&(t.role="radiogroup",!0===e.disable&&(t["aria-disabled"]="true")),t}));function h(e){t("update:modelValue",e)}return()=>(0,o.h)("div",{class:u.value,...d.value},e.options.map(((t,i)=>{const a=void 0!==n["label-"+i]?()=>n["label-"+i](t):void 0!==n.label?()=>n.label(t):void 0;return(0,o.h)("div",[(0,o.h)(c.value,{modelValue:e.modelValue,val:t.value,name:void 0===t.name?e.name:t.name,disable:e.disable||t.disable,label:void 0===a?t.label:null,leftLabel:void 0===t.leftLabel?e.leftLabel:t.leftLabel,color:void 0===t.color?e.color:t.color,checkedIcon:t.checkedIcon,uncheckedIcon:t.uncheckedIcon,dark:t.dark||l.value,size:void 0===t.size?e.size:t.size,dense:e.dense,keepColor:void 0===t.keepColor?e.keepColor:t.keepColor,"onUpdate:modelValue":h},a)])})))}})},1237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(1957),r=n(7532),s=n(3701),l=n(5987);const c=(0,l.L)({name:"QPageScroller",props:{...r.M,scrollOffset:{type:Number,default:1e3},reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},emits:["click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,o.FN)(),{$layout:c,getStickyContent:u}=(0,r.Z)(),d=(0,i.iH)(null);let h;const f=(0,i.Fl)((()=>c.height.value-(!0===c.isContainer.value?c.containerHeight.value:l.screen.height)));function p(){return!0===e.reverse?f.value-c.scroll.value.position>e.scrollOffset:c.scroll.value.position>e.scrollOffset}const g=(0,i.iH)(p());function v(){const e=p();g.value!==e&&(g.value=e)}function m(){!0===e.reverse?void 0===h&&(h=(0,o.YP)(f,v)):b()}function b(){void 0!==h&&(h(),h=void 0)}function x(t){const o=(0,s.b0)(!0===c.isContainer.value?d.value:c.rootRef.value);(0,s.f3)(o,!0===e.reverse?c.height.value:0,e.duration),n("click",t)}function y(){return!0===g.value?(0,o.h)("div",{ref:d,class:"q-page-scroller",onClick:x},u(t)):null}return(0,o.YP)(c.scroll,v),(0,o.YP)((()=>e.reverse),m),m(),(0,o.Jd)(b),()=>(0,o.h)(a.uT,{name:"q-transition--fade"},y)}})},3388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(5987),i=n(7532);const a=(0,o.L)({name:"QPageSticky",props:i.M,setup(e,{slots:t}){const{getStickyContent:n}=(0,i.Z)();return()=>n(t)}})},7532:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,Z:()=>l});var o=n(9835),i=n(499),a=n(2026),r=n(5439);const s={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function l(){const{props:e,proxy:{$q:t}}=(0,o.FN)(),n=(0,o.f3)(r.YE,r.qO);if(n===r.qO)return console.error("QPageSticky needs to be child of QLayout"),r.qO;const s=(0,i.Fl)((()=>{const t=e.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}})),l=(0,i.Fl)((()=>n.header.offset)),c=(0,i.Fl)((()=>n.right.offset)),u=(0,i.Fl)((()=>n.footer.offset)),d=(0,i.Fl)((()=>n.left.offset)),h=(0,i.Fl)((()=>{let n=0,o=0;const i=s.value,a=!0===t.lang.rtl?-1:1;!0===i.top&&0!==l.value?o=`${l.value}px`:!0===i.bottom&&0!==u.value&&(o=-u.value+"px"),!0===i.left&&0!==d.value?n=a*d.value+"px":!0===i.right&&0!==c.value&&(n=-a*c.value+"px");const r={transform:`translate(${n}, ${o})`};return e.offset&&(r.margin=`${e.offset[1]}px ${e.offset[0]}px`),!0===i.vertical?(0!==d.value&&(r[!0===t.lang.rtl?"right":"left"]=`${d.value}px`),0!==c.value&&(r[!0===t.lang.rtl?"left":"right"]=`${c.value}px`)):!0===i.horizontal&&(0!==l.value&&(r.top=`${l.value}px`),0!==u.value&&(r.bottom=`${u.value}px`)),r})),f=(0,i.Fl)((()=>`q-page-sticky row flex-center fixed-${e.position} q-page-sticky--`+(!0===e.expand?"expand":"shrink")));function p(t){const n=(0,a.KR)(t.default);return(0,o.h)("div",{class:f.value,style:h.value},!0===e.expand?n:[(0,o.h)("div",n)])}return{$layout:n,getStickyContent:p}}},9885:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(2026),s=n(5439);const l=(0,a.L)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),a=(0,o.f3)(s.YE,s.qO);if(a===s.qO)return console.error("QPage needs to be a deep child of QLayout"),s.qO;const l=(0,o.f3)(s.Mw,s.qO);if(l===s.qO)return console.error("QPage needs to be child of QPageContainer"),s.qO;const c=(0,i.Fl)((()=>{const t=(!0===a.header.space?a.header.size:0)+(!0===a.footer.space?a.footer.size:0);if("function"===typeof e.styleFn){const o=!0===a.isContainer.value?a.containerHeight.value:n.screen.height;return e.styleFn(t,o)}return{minHeight:!0===a.isContainer.value?a.containerHeight.value-t+"px":0===n.screen.height?0!==t?`calc(100vh - ${t}px)`:"100vh":n.screen.height-t+"px"}})),u=(0,i.Fl)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,o.h)("main",{class:u.value,style:c.value},(0,r.KR)(t.default))}})},2133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(9835),i=n(499),a=n(5987),r=n(2026),s=n(5439);const l=(0,a.L)({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.FN)(),a=(0,o.f3)(s.YE,s.qO);if(a===s.qO)return console.error("QPageContainer needs to be child of QLayout"),s.qO;(0,o.JJ)(s.Mw,!0);const l=(0,i.Fl)((()=>{const e={};return!0===a.header.space&&(e.paddingTop=`${a.header.size}px`),!0===a.right.space&&(e["padding"+(!0===n.lang.rtl?"Left":"Right")]=`${a.right.size}px`),!0===a.footer.space&&(e.paddingBottom=`${a.footer.size}px`),!0===a.left.space&&(e["padding"+(!0===n.lang.rtl?"Right":"Left")]=`${a.left.size}px`),e}));return()=>(0,o.h)("div",{class:"q-page-container",style:l.value},(0,r.KR)(t.default))}})},5863:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(5290),r=n(8879),s=n(5987);function l(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:"function"!==typeof e.constructor?Object.create(null):void 0!==e.prototype&&"function"===typeof e.prototype.constructor?e:new e.constructor;if("function"===typeof e.constructor&&"function"===typeof e.valueOf){const n=e.valueOf();if(Object(n)!==n){const o=new e.constructor(n);return t.set(e,o),o}}return t.set(e,n),e instanceof Set?e.forEach((e=>{n.add(l(e,t))})):e instanceof Map&&e.forEach(((e,o)=>{n.set(o,l(e,t))})),Object.assign(n,...Object.keys(e).map((n=>({[n]:l(e[n],t)}))))}var c=n(4680),u=n(3251);const d=(0,s.L)({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:s}=(0,o.FN)(),{$q:d}=s,h=(0,i.iH)(null),f=(0,i.iH)(""),p=(0,i.iH)("");let g=!1;const v=(0,i.Fl)((()=>(0,u.g)({initialValue:f.value,validate:e.validate,set:m,cancel:b,updatePosition:x},"value",(()=>p.value),(e=>{p.value=e}))));function m(){!1!==e.validate(p.value)&&(!0===y()&&(n("save",p.value,f.value),n("update:modelValue",p.value)),w())}function b(){!0===y()&&n("cancel",p.value,f.value),w()}function x(){(0,o.Y3)((()=>{h.value.updatePosition()}))}function y(){return!1===(0,c.xb)(p.value,f.value)}function w(){g=!0,h.value.hide()}function k(){g=!1,f.value=l(e.modelValue),p.value=l(e.modelValue),n("beforeShow")}function S(){n("show")}function C(){!1===g&&!0===y()&&(!0===e.autoSave&&!0===e.validate(p.value)?(n("save",p.value,f.value),n("update:modelValue",p.value)):n("cancel",p.value,f.value)),n("beforeHide")}function _(){n("hide")}function A(){const n=void 0!==t.default?[].concat(t.default(v.value)):[];return e.title&&n.unshift((0,o.h)("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),!0===e.buttons&&n.push((0,o.h)("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[(0,o.h)(r.Z,{flat:!0,color:e.color,label:e.labelCancel||d.lang.label.cancel,onClick:b}),(0,o.h)(r.Z,{flat:!0,color:e.color,label:e.labelSet||d.lang.label.set,onClick:m})])),n}return Object.assign(s,{set:m,cancel:b,show(e){null!==h.value&&h.value.show(e)},hide(e){null!==h.value&&h.value.hide(e)},updatePosition:x}),()=>{if(!0!==e.disable)return(0,o.h)(a.Z,{ref:h,class:"q-popup-edit",cover:e.cover,onBeforeShow:k,onShow:S,onBeforeHide:C,onHide:_,onEscapeKey:b},A)}}})},883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(9835),i=n(499),a=n(7506);function r(){const e=(0,i.iH)(!a.uX.value);return!1===e.value&&(0,o.bv)((()=>{e.value=!0})),e}var s=n(5987),l=n(1384);const c="undefined"!==typeof ResizeObserver,u=!0===c?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},d=(0,s.L)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n,i=null,a={width:-1,height:-1};function s(t){!0===t||0===e.debounce||"0"===e.debounce?d():null===i&&(i=setTimeout(d,e.debounce))}function d(){if(null!==i&&(clearTimeout(i),i=null),n){const{offsetWidth:e,offsetHeight:o}=n;e===a.width&&o===a.height||(a={width:e,height:o},t("resize",a))}}const{proxy:h}=(0,o.FN)();if(!0===c){let f;const p=e=>{n=h.$el.parentNode,n?(f=new ResizeObserver(s),f.observe(n),d()):!0!==e&&(0,o.Y3)((()=>{p(!0)}))};return(0,o.bv)((()=>{p()})),(0,o.Jd)((()=>{null!==i&&clearTimeout(i),void 0!==f&&(void 0!==f.disconnect?f.disconnect():n&&f.unobserve(n))})),l.ZT}{const g=r();let v;function m(){null!==i&&(clearTimeout(i),i=null),void 0!==v&&(void 0!==v.removeEventListener&&v.removeEventListener("resize",s,l.rU.passive),v=void 0)}function b(){m(),n&&n.contentDocument&&(v=n.contentDocument.defaultView,v.addEventListener("resize",s,l.rU.passive),d())}return(0,o.bv)((()=>{(0,o.Y3)((()=>{n=h.$el,n&&b()}))})),(0,o.Jd)(m),h.trigger=s,()=>{if(!0===g.value)return(0,o.h)("object",{style:u.style,tabindex:-1,type:"text/html",data:u.url,"aria-hidden":"true",onLoad:b})}}}})},6663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(499),i=n(9835),a=n(8234),r=n(883),s=n(1868),l=n(2873),c=n(5987),u=n(321),d=n(3701),h=n(2026),f=n(899);const p=["vertical","horizontal"],g={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},v={prevent:!0,mouse:!0,mouseAllDir:!0},m=e=>e>=250?50:Math.ceil(e/5),b=(0,c.L)({name:"QScrollArea",props:{...a.S,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:t,emit:n}){const c=(0,o.iH)(!1),b=(0,o.iH)(!1),x=(0,o.iH)(!1),y={vertical:(0,o.iH)(0),horizontal:(0,o.iH)(0)},w={vertical:{ref:(0,o.iH)(null),position:(0,o.iH)(0),size:(0,o.iH)(0)},horizontal:{ref:(0,o.iH)(null),position:(0,o.iH)(0),size:(0,o.iH)(0)}},{proxy:k}=(0,i.FN)(),S=(0,a.Z)(e,k.$q);let C,_=null;const A=(0,o.iH)(null),P=(0,o.Fl)((()=>"q-scrollarea"+(!0===S.value?" q-scrollarea--dark":"")));w.vertical.percentage=(0,o.Fl)((()=>{const e=w.vertical.size.value-y.vertical.value;if(e<=0)return 0;const t=(0,u.vX)(w.vertical.position.value/e,0,1);return Math.round(1e4*t)/1e4})),w.vertical.thumbHidden=(0,o.Fl)((()=>!0!==(null===e.visible?x.value:e.visible)&&!1===c.value&&!1===b.value||w.vertical.size.value<=y.vertical.value+1)),w.vertical.thumbStart=(0,o.Fl)((()=>w.vertical.percentage.value*(y.vertical.value-w.vertical.thumbSize.value))),w.vertical.thumbSize=(0,o.Fl)((()=>Math.round((0,u.vX)(y.vertical.value*y.vertical.value/w.vertical.size.value,m(y.vertical.value),y.vertical.value)))),w.vertical.style=(0,o.Fl)((()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${w.vertical.thumbStart.value}px`,height:`${w.vertical.thumbSize.value}px`}))),w.vertical.thumbClass=(0,o.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.vertical.barClass=(0,o.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),w.horizontal.percentage=(0,o.Fl)((()=>{const e=w.horizontal.size.value-y.horizontal.value;if(e<=0)return 0;const t=(0,u.vX)(Math.abs(w.horizontal.position.value)/e,0,1);return Math.round(1e4*t)/1e4})),w.horizontal.thumbHidden=(0,o.Fl)((()=>!0!==(null===e.visible?x.value:e.visible)&&!1===c.value&&!1===b.value||w.horizontal.size.value<=y.horizontal.value+1)),w.horizontal.thumbStart=(0,o.Fl)((()=>w.horizontal.percentage.value*(y.horizontal.value-w.horizontal.thumbSize.value))),w.horizontal.thumbSize=(0,o.Fl)((()=>Math.round((0,u.vX)(y.horizontal.value*y.horizontal.value/w.horizontal.size.value,m(y.horizontal.value),y.horizontal.value)))),w.horizontal.style=(0,o.Fl)((()=>({...e.thumbStyle,...e.horizontalThumbStyle,[!0===k.$q.lang.rtl?"right":"left"]:`${w.horizontal.thumbStart.value}px`,width:`${w.horizontal.thumbSize.value}px`}))),w.horizontal.thumbClass=(0,o.Fl)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.horizontal.barClass=(0,o.Fl)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const L=(0,o.Fl)((()=>!0===w.vertical.thumbHidden.value&&!0===w.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle)),j=[[l.Z,e=>{z(e,"vertical")},void 0,{vertical:!0,...v}]],T=[[l.Z,e=>{z(e,"horizontal")},void 0,{horizontal:!0,...v}]];function F(){const e={};return p.forEach((t=>{const n=w[t];e[t+"Position"]=n.position.value,e[t+"Percentage"]=n.percentage.value,e[t+"Size"]=n.size.value,e[t+"ContainerSize"]=y[t].value})),e}const E=(0,f.Z)((()=>{const e=F();e.ref=k,n("scroll",e)}),0);function M(e,t,n){if(!1===p.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");const o="vertical"===e?d.f3:d.ik;o(A.value,t,n)}function O({height:e,width:t}){let n=!1;y.vertical.value!==e&&(y.vertical.value=e,n=!0),y.horizontal.value!==t&&(y.horizontal.value=t,n=!0),!0===n&&D()}function R({position:e}){let t=!1;w.vertical.position.value!==e.top&&(w.vertical.position.value=e.top,t=!0),w.horizontal.position.value!==e.left&&(w.horizontal.position.value=e.left,t=!0),!0===t&&D()}function I({height:e,width:t}){w.horizontal.size.value!==t&&(w.horizontal.size.value=t,D()),w.vertical.size.value!==e&&(w.vertical.size.value=e,D())}function z(e,t){const n=w[t];if(!0===e.isFirst){if(!0===n.thumbHidden.value)return;C=n.position.value,b.value=!0}else if(!0!==b.value)return;!0===e.isFinal&&(b.value=!1);const o=g[t],i=y[t].value,a=(n.size.value-i)/(i-n.thumbSize.value),r=e.distance[o.dist],s=C+(e.direction===o.dir?1:-1)*r*a;B(s,t)}function H(e,t){const n=w[t];if(!0!==n.thumbHidden.value){const o=e[g[t].offset];if(on.thumbStart.value+n.thumbSize.value){const e=o-n.thumbSize.value/2;B(e/y[t].value*n.size.value,t)}null!==n.ref.value&&n.ref.value.dispatchEvent(new MouseEvent(e.type,e))}}function q(e){H(e,"vertical")}function N(e){H(e,"horizontal")}function D(){c.value=!0,null!==_&&clearTimeout(_),_=setTimeout((()=>{_=null,c.value=!1}),e.delay),void 0!==e.onScroll&&E()}function B(e,t){A.value[g[t].scroll]=e}function Y(){x.value=!0}function X(){x.value=!1}let W=null;return(0,i.YP)((()=>k.$q.lang.rtl),(e=>{null!==A.value&&(0,d.ik)(A.value,Math.abs(w.horizontal.position.value)*(!0===e?-1:1))})),(0,i.se)((()=>{W={top:w.vertical.position.value,left:w.horizontal.position.value}})),(0,i.dl)((()=>{if(null===W)return;const e=A.value;null!==e&&((0,d.ik)(e,W.left),(0,d.f3)(e,W.top))})),(0,i.Jd)(E.cancel),Object.assign(k,{getScrollTarget:()=>A.value,getScroll:F,getScrollPosition:()=>({top:w.vertical.position.value,left:w.horizontal.position.value}),getScrollPercentage:()=>({top:w.vertical.percentage.value,left:w.horizontal.percentage.value}),setScrollPosition:M,setScrollPercentage(e,t,n){M(e,t*(w[e].size.value-y[e].value)*("horizontal"===e&&!0===k.$q.lang.rtl?-1:1),n)}}),()=>(0,i.h)("div",{class:P.value,onMouseenter:Y,onMouseleave:X},[(0,i.h)("div",{ref:A,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,i.h)("div",{class:"q-scrollarea__content absolute",style:L.value},(0,h.vs)(t.default,[(0,i.h)(r.Z,{debounce:0,onResize:I})])),(0,i.h)(s.Z,{axis:"both",onScroll:R})]),(0,i.h)(r.Z,{debounce:0,onResize:O}),(0,i.h)("div",{class:w.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:q}),(0,i.h)("div",{class:w.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:N}),(0,i.wy)((0,i.h)("div",{ref:w.vertical.ref,class:w.vertical.thumbClass.value,style:w.vertical.style.value,"aria-hidden":"true"}),j),(0,i.wy)((0,i.h)("div",{ref:w.horizontal.ref,class:w.horizontal.thumbClass.value,style:w.horizontal.style.value,"aria-hidden":"true"}),T)])}})},1868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(5987),a=n(3701),r=n(1384);const{passive:s}=r.rU,l=["both","horizontal","vertical"],c=(0,i.L)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>l.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let i,l,c=null;function u(){null!==c&&c();const o=Math.max(0,(0,a.u3)(i)),r=(0,a.OI)(i),s={top:o-n.position.top,left:r-n.position.left};if("vertical"===e.axis&&0===s.top||"horizontal"===e.axis&&0===s.left)return;const l=Math.abs(s.top)>=Math.abs(s.left)?s.top<0?"up":"down":s.left<0?"left":"right";n.position={top:o,left:r},n.directionChanged=n.direction!==l,n.delta=s,!0===n.directionChanged&&(n.direction=l,n.inflectionPoint=n.position),t("scroll",{...n})}function d(){i=(0,a.b0)(l,e.scrollTarget),i.addEventListener("scroll",f,s),f(!0)}function h(){void 0!==i&&(i.removeEventListener("scroll",f,s),i=void 0)}function f(t){if(!0===t||0===e.debounce||"0"===e.debounce)u();else if(null===c){const[t,n]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];c=()=>{n(t),c=null}}}(0,o.YP)((()=>e.scrollTarget),(()=>{h(),d()}));const{proxy:p}=(0,o.FN)();return(0,o.YP)((()=>p.$q.lang.rtl),u),(0,o.bv)((()=>{l=p.$el.parentNode,d()})),(0,o.Jd)((()=>{null!==c&&c(),h()})),Object.assign(p,{trigger:f,getPosition:()=>n}),r.ZT}})},7887:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var o=n(9835),i=n(499),a=n(6169),r=n(5987);const s=(0,r.L)({name:"QField",inheritAttrs:!1,props:a.Cl,emits:a.HJ,setup(){return(0,a.ZP)((0,a.tL)())}});var l=n(2857),c=n(1136),u=n(8234),d=n(244),h=n(1384),f=n(2026);const p={xs:8,sm:10,md:14,lg:20,xl:24},g=(0,r.L)({name:"QChip",props:{...u.S,...d.LU,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:a}}=(0,o.FN)(),r=(0,u.Z)(e,a),s=(0,d.ZP)(e,p),g=(0,i.Fl)((()=>!0===e.selected||void 0!==e.icon)),v=(0,i.Fl)((()=>!0===e.selected?e.iconSelected||a.iconSet.chip.selected:e.icon)),m=(0,i.Fl)((()=>e.iconRemove||a.iconSet.chip.remove)),b=(0,i.Fl)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),x=(0,i.Fl)((()=>{const t=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===b.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===r.value?" q-chip--dark q-dark":"")})),y=(0,i.Fl)((()=>{const t=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},n={...t,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||a.lang.label.remove};return{chip:t,remove:n}}));function w(e){13===e.keyCode&&k(e)}function k(t){e.disable||(n("update:selected",!e.selected),n("click",t))}function S(t){void 0!==t.keyCode&&13!==t.keyCode||((0,h.NS)(t),!1===e.disable&&(n("update:modelValue",!1),n("remove")))}function C(){const n=[];!0===b.value&&n.push((0,o.h)("div",{class:"q-focus-helper"})),!0===g.value&&n.push((0,o.h)(l.Z,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const i=void 0!==e.label?[(0,o.h)("div",{class:"ellipsis"},[e.label])]:void 0;return n.push((0,o.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(0,f.pf)(t.default,i))),e.iconRight&&n.push((0,o.h)(l.Z,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&n.push((0,o.h)(l.Z,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:m.value,...y.value.remove,onClick:S,onKeyup:S})),n}return()=>{if(!1===e.modelValue)return;const t={class:x.value,style:s.value};return!0===b.value&&Object.assign(t,y.value.chip,{onClick:k,onKeyup:w}),(0,f.Jl)("div",t,C(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[c.Z,e.ripple]]))}}});var v=n(490),m=n(1233),b=n(3115),x=n(5290),y=n(2074),w=n(2043),k=n(9256),S=n(2802),C=n(4680),_=n(321),A=n(1705);const P=e=>["add","add-unique","toggle"].includes(e),L=".*+?^${}()|[]\\",j=Object.keys(a.Cl),T=(0,r.L)({name:"QSelect",inheritAttrs:!1,props:{...w.t9,...k.Fz,...a.Cl,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:P},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...a.HJ,"add","remove","inputValue","newValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.FN)(),{$q:c}=r,u=(0,i.iH)(!1),d=(0,i.iH)(!1),p=(0,i.iH)(-1),T=(0,i.iH)(""),F=(0,i.iH)(!1),E=(0,i.iH)(!1);let M,O,R,I,z,H,q,N=null,D=null;const B=(0,i.iH)(null),Y=(0,i.iH)(null),X=(0,i.iH)(null),W=(0,i.iH)(null),V=(0,i.iH)(null),$=(0,k.Do)(e),Z=(0,S.Z)(Ue),U=(0,i.Fl)((()=>Array.isArray(e.options)?e.options.length:0)),G=(0,i.Fl)((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:K,virtualScrollSliceSizeComputed:J,localResetVirtualScroll:Q,padVirtualScroll:ee,onVirtualScrollEvt:te,scrollTo:ne,setVirtualScrollSize:oe}=(0,w.vp)({virtualScrollLength:U,getVirtualScrollTarget:We,getVirtualScrollEl:Xe,virtualScrollItemSizeComputed:G}),ie=(0,a.tL)(),ae=(0,i.Fl)((()=>{const t=!0===e.mapOptions&&!0!==e.multiple,n=void 0===e.modelValue||null===e.modelValue&&!0!==t?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const o=!0===e.mapOptions&&void 0!==M?M:[],i=n.map((e=>Ie(e,o)));return null===e.modelValue&&!0===t?i.filter((e=>null!==e)):i}return n})),re=(0,i.Fl)((()=>{const t={};return j.forEach((n=>{const o=e[n];void 0!==o&&(t[n]=o)})),t})),se=(0,i.Fl)((()=>null===e.optionsDark?ie.isDark.value:e.optionsDark)),le=(0,i.Fl)((()=>(0,a.yV)(ae.value))),ce=(0,i.Fl)((()=>{let t="q-field__input q-placeholder col";return!0===e.hideSelected||0===ae.value.length?[t,e.inputClass]:(t+=" q-field__input--padding",void 0===e.inputClass?t:[t,e.inputClass])})),ue=(0,i.Fl)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),de=(0,i.Fl)((()=>0===U.value)),he=(0,i.Fl)((()=>ae.value.map((e=>_e.value(e))).join(", "))),fe=(0,i.Fl)((()=>void 0!==e.displayValue?e.displayValue:he.value)),pe=(0,i.Fl)((()=>!0===e.optionsHtml?()=>!0:e=>void 0!==e&&null!==e&&!0===e.html)),ge=(0,i.Fl)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||ae.value.some(pe.value)))),ve=(0,i.Fl)((()=>!0===ie.focused.value?e.tabindex:-1)),me=(0,i.Fl)((()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===u.value?"true":"false","aria-controls":`${ie.targetUid.value}_lb`};return p.value>=0&&(t["aria-activedescendant"]=`${ie.targetUid.value}_${p.value}`),t})),be=(0,i.Fl)((()=>({id:`${ie.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),xe=(0,i.Fl)((()=>ae.value.map(((e,t)=>({index:t,opt:e,html:pe.value(e),selected:!0,removeAtIndex:Fe,toggleOption:Me,tabindex:ve.value}))))),ye=(0,i.Fl)((()=>{if(0===U.value)return[];const{from:t,to:n}=K.value;return e.options.slice(t,n).map(((n,o)=>{const i=!0===Ae.value(n),a=t+o,r={clickable:!0,active:!1,activeClass:Se.value,manualFocus:!0,focused:!1,disable:i,tabindex:-1,dense:e.optionsDense,dark:se.value,role:"option",id:`${ie.targetUid.value}_${a}`,onClick:()=>{Me(n)}};return!0!==i&&(!0===He(n)&&(r.active=!0),p.value===a&&(r.focused=!0),r["aria-selected"]=!0===r.active?"true":"false",!0===c.platform.is.desktop&&(r.onMousemove=()=>{!0===u.value&&Oe(a)})),{index:a,opt:n,html:pe.value(n),label:_e.value(n),selected:r.active,focused:r.focused,toggleOption:Me,setOptionIndex:Oe,itemProps:r}}))})),we=(0,i.Fl)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:c.iconSet.arrow.dropdown)),ke=(0,i.Fl)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),Se=(0,i.Fl)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),Ce=(0,i.Fl)((()=>ze(e.optionValue,"value"))),_e=(0,i.Fl)((()=>ze(e.optionLabel,"label"))),Ae=(0,i.Fl)((()=>ze(e.optionDisable,"disable"))),Pe=(0,i.Fl)((()=>ae.value.map((e=>Ce.value(e))))),Le=(0,i.Fl)((()=>{const e={onInput:Ue,onChange:Z,onKeydown:Ye,onKeyup:De,onKeypress:Be,onFocus:qe,onClick(e){!0===O&&(0,h.sT)(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=Z,e}));function je(t){return!0===e.emitValue?Ce.value(t):t}function Te(t){if(t>-1&&t=e.maxValues)return;const a=e.modelValue.slice();n("add",{index:a.length,value:i}),a.push(i),n("update:modelValue",a)}function Me(t,o){if(!0!==ie.editable.value||void 0===t||!0===Ae.value(t))return;const i=Ce.value(t);if(!0!==e.multiple)return!0!==o&&(Ke(!0===e.fillInput?_e.value(t):"",!0,!0),ut()),null!==Y.value&&Y.value.focus(),void(0!==ae.value.length&&!0===(0,C.xb)(Ce.value(ae.value[0]),i)||n("update:modelValue",!0===e.emitValue?i:t));if((!0!==O||!0===F.value)&&ie.focus(),qe(),0===ae.value.length){const o=!0===e.emitValue?i:t;return n("add",{index:0,value:o}),void n("update:modelValue",!0===e.multiple?[o]:o)}const a=e.modelValue.slice(),r=Pe.value.findIndex((e=>(0,C.xb)(e,i)));if(r>-1)n("remove",{index:r,value:a.splice(r,1)[0]});else{if(void 0!==e.maxValues&&a.length>=e.maxValues)return;const o=!0===e.emitValue?i:t;n("add",{index:a.length,value:o}),a.push(o)}n("update:modelValue",a)}function Oe(e){if(!0!==c.platform.is.desktop)return;const t=e>-1&&e=0?_e.value(e.options[o]):I))}}function Ie(t,n){const o=e=>(0,C.xb)(Ce.value(e),t);return e.options.find(o)||n.find(o)||t}function ze(e,t){const n=void 0!==e?e:t;return"function"===typeof n?n:e=>null!==e&&"object"===typeof e&&n in e?e[n]:e}function He(e){const t=Ce.value(e);return void 0!==Pe.value.find((e=>(0,C.xb)(e,t)))}function qe(t){!0===e.useInput&&null!==Y.value&&(void 0===t||Y.value===t.target&&t.target.value===he.value)&&Y.value.select()}function Ne(e){!0===(0,A.So)(e,27)&&!0===u.value&&((0,h.sT)(e),ut(),dt()),n("keyup",e)}function De(t){const{value:n}=t.target;if(void 0===t.keyCode)if(t.target.value="",null!==N&&(clearTimeout(N),N=null),dt(),"string"===typeof n&&n.length>0){const t=n.toLocaleLowerCase(),o=n=>{const o=e.options.find((e=>n.value(e).toLocaleLowerCase()===t));return void 0!==o&&(-1===ae.value.indexOf(o)?Me(o):ut(),!0)},i=e=>{!0!==o(Ce)&&!0!==o(_e)&&!0!==e&&Je(n,!0,(()=>i(!0)))};i()}else ie.clearValue(t);else Ne(t)}function Be(e){n("keypress",e)}function Ye(t){if(n("keydown",t),!0===(0,A.Wm)(t))return;const i=T.value.length>0&&(void 0!==e.newValueMode||void 0!==e.onNewValue),a=!0!==t.shiftKey&&!0!==e.multiple&&(p.value>-1||!0===i);if(27===t.keyCode)return void(0,h.X$)(t);if(9===t.keyCode&&!1===a)return void lt();if(void 0===t.target||t.target.id!==ie.targetUid.value)return;if(40===t.keyCode&&!0!==ie.innerLoading.value&&!1===u.value)return(0,h.NS)(t),void ct();if(8===t.keyCode&&!0!==e.hideSelected&&0===T.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?Te(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&n("update:modelValue",null));35!==t.keyCode&&36!==t.keyCode||"string"===typeof T.value&&0!==T.value.length||((0,h.NS)(t),p.value=-1,Re(36===t.keyCode?1:-1,e.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===J.value||((0,h.NS)(t),p.value=Math.max(-1,Math.min(U.value,p.value+(33===t.keyCode?-1:1)*J.value.view)),Re(33===t.keyCode?1:-1,e.multiple)),38!==t.keyCode&&40!==t.keyCode||((0,h.NS)(t),Re(38===t.keyCode?-1:1,e.multiple));const r=U.value;if((void 0===H||q0&&!0!==e.useInput&&void 0!==t.key&&1===t.key.length&&!1===t.altKey&&!1===t.ctrlKey&&!1===t.metaKey&&(32!==t.keyCode||H.length>0)){!0!==u.value&&ct(t);const n=t.key.toLocaleLowerCase(),i=1===H.length&&H[0]===n;q=Date.now()+1500,!1===i&&((0,h.NS)(t),H+=n);const a=new RegExp("^"+H.split("").map((e=>L.indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let s=p.value;if(!0===i||s<0||!0!==a.test(_e.value(e.options[s])))do{s=(0,_.Uz)(s+1,-1,r-1)}while(s!==p.value&&(!0===Ae.value(e.options[s])||!0!==a.test(_e.value(e.options[s]))));p.value!==s&&(0,o.Y3)((()=>{Oe(s),ne(s),s>=0&&!0===e.useInput&&!0===e.fillInput&&Ge(_e.value(e.options[s]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==e.useInput&&""===H||9===t.keyCode&&!1!==a)if(9!==t.keyCode&&(0,h.NS)(t),p.value>-1&&p.value{if(n){if(!0!==P(n))return}else n=e.newValueMode;if(void 0===t||null===t)return;Ke("",!0!==e.multiple,!0);const o="toggle"===n?Me:Ee;o(t,"add-unique"===n),!0!==e.multiple&&(null!==Y.value&&Y.value.focus(),ut())};if(void 0!==e.onNewValue?n("newValue",T.value,t):t(T.value),!0!==e.multiple)return}!0===u.value?lt():!0!==ie.innerLoading.value&&ct()}}function Xe(){return!0===O?V.value:null!==X.value&&null!==X.value.contentEl?X.value.contentEl:void 0}function We(){return Xe()}function Ve(){return!0===e.hideSelected?[]:void 0!==t["selected-item"]?xe.value.map((e=>t["selected-item"](e))).slice():void 0!==t.selected?[].concat(t.selected()):!0===e.useChips?xe.value.map(((t,n)=>(0,o.h)(g,{key:"option-"+n,removable:!0===ie.editable.value&&!0!==Ae.value(t.opt),dense:!0,textColor:e.color,tabindex:ve.value,onRemove(){t.removeAtIndex(n)}},(()=>(0,o.h)("span",{class:"ellipsis",[!0===t.html?"innerHTML":"textContent"]:_e.value(t.opt)}))))):[(0,o.h)("span",{[!0===ge.value?"innerHTML":"textContent"]:fe.value})]}function $e(){if(!0===de.value)return void 0!==t["no-option"]?t["no-option"]({inputValue:T.value}):void 0;const e=void 0!==t.option?t.option:e=>(0,o.h)(v.Z,{key:e.index,...e.itemProps},(()=>(0,o.h)(m.Z,(()=>(0,o.h)(b.Z,(()=>(0,o.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let n=ee("div",ye.value.map(e));return void 0!==t["before-options"]&&(n=t["before-options"]().concat(n)),(0,f.vs)(t["after-options"],n)}function Ze(t,n){const i=!0===n?{...me.value,...ie.splitAttrs.attributes.value}:void 0,a={ref:!0===n?Y:void 0,key:"i_t",class:ce.value,style:e.inputStyle,value:void 0!==T.value?T.value:"",type:"search",...i,id:!0===n?ie.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===t||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...Le.value};return!0!==t&&!0===O&&(!0===Array.isArray(a.class)?a.class=[...a.class,"no-pointer-events"]:a.class+=" no-pointer-events"),(0,o.h)("input",a)}function Ue(t){null!==N&&(clearTimeout(N),N=null),t&&t.target&&!0===t.target.qComposing||(Ge(t.target.value||""),R=!0,I=T.value,!0===ie.focused.value||!0===O&&!0!==F.value||ie.focus(),void 0!==e.onFilter&&(N=setTimeout((()=>{N=null,Je(T.value)}),e.inputDebounce)))}function Ge(e){T.value!==e&&(T.value=e,n("inputValue",e))}function Ke(t,n,o){R=!0!==o,!0===e.useInput&&(Ge(t),!0!==n&&!0===o||(I=t),!0!==n&&Je(t))}function Je(t,i,a){if(void 0===e.onFilter||!0!==i&&!0!==ie.focused.value)return;!0===ie.innerLoading.value?n("filterAbort"):(ie.innerLoading.value=!0,E.value=!0),""!==t&&!0!==e.multiple&&ae.value.length>0&&!0!==R&&t===_e.value(ae.value[0])&&(t="");const s=setTimeout((()=>{!0===u.value&&(u.value=!1)}),10);null!==D&&clearTimeout(D),D=s,n("filter",t,((e,t)=>{!0!==i&&!0!==ie.focused.value||D!==s||(clearTimeout(D),"function"===typeof e&&e(),E.value=!1,(0,o.Y3)((()=>{ie.innerLoading.value=!1,!0===ie.editable.value&&(!0===i?!0===u.value&&ut():!0===u.value?ht(!0):u.value=!0),"function"===typeof t&&(0,o.Y3)((()=>{t(r)})),"function"===typeof a&&(0,o.Y3)((()=>{a(r)}))})))}),(()=>{!0===ie.focused.value&&D===s&&(clearTimeout(D),ie.innerLoading.value=!1,E.value=!1),!0===u.value&&(u.value=!1)}))}function Qe(){return(0,o.h)(x.Z,{ref:X,class:ue.value,style:e.popupContentStyle,modelValue:u.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==de.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:se.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:ke.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...be.value,onScrollPassive:te,onBeforeShow:gt,onBeforeHide:et,onShow:tt},$e)}function et(e){vt(e),lt()}function tt(){oe()}function nt(e){(0,h.sT)(e),null!==Y.value&&Y.value.focus(),F.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function ot(e){(0,h.sT)(e),(0,o.Y3)((()=>{F.value=!1}))}function it(){const n=[(0,o.h)(s,{class:`col-auto ${ie.fieldClass.value}`,...re.value,for:ie.targetUid.value,dark:se.value,square:!0,loading:E.value,itemAligned:!1,filled:!0,stackLabel:T.value.length>0,...ie.splitAttrs.listeners.value,onFocus:nt,onBlur:ot},{...t,rawControl:()=>ie.getControl(!0),before:void 0,after:void 0})];return!0===u.value&&n.push((0,o.h)("div",{ref:V,class:ue.value+" scroll",style:e.popupContentStyle,...be.value,onClick:h.X$,onScrollPassive:te},$e())),(0,o.h)(y.Z,{ref:W,modelValue:d.value,position:!0===e.useInput?"top":void 0,transitionShow:z,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:gt,onBeforeHide:at,onHide:rt,onShow:st},(()=>(0,o.h)("div",{class:"q-select__dialog"+(!0===se.value?" q-select__dialog--dark q-dark":"")+(!0===F.value?" q-select__dialog--focused":"")},n)))}function at(e){vt(e),null!==W.value&&W.value.__updateRefocusTarget(ie.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),ie.focused.value=!1}function rt(e){ut(),!1===ie.focused.value&&n("blur",e),dt()}function st(){const e=document.activeElement;null!==e&&e.id===ie.targetUid.value||null===Y.value||Y.value===e||Y.value.focus(),oe()}function lt(){!0!==d.value&&(p.value=-1,!0===u.value&&(u.value=!1),!1===ie.focused.value&&(null!==D&&(clearTimeout(D),D=null),!0===ie.innerLoading.value&&(n("filterAbort"),ie.innerLoading.value=!1,E.value=!1)))}function ct(n){!0===ie.editable.value&&(!0===O?(ie.onControlFocusin(n),d.value=!0,(0,o.Y3)((()=>{ie.focus()}))):ie.focus(),void 0!==e.onFilter?Je(T.value):!0===de.value&&void 0===t["no-option"]||(u.value=!0))}function ut(){d.value=!1,lt()}function dt(){!0===e.useInput&&Ke(!0!==e.multiple&&!0===e.fillInput&&ae.value.length>0&&_e.value(ae.value[0])||"",!0,!0)}function ht(t){let n=-1;if(!0===t){if(ae.value.length>0){const t=Ce.value(ae.value[0]);n=e.options.findIndex((e=>(0,C.xb)(Ce.value(e),t)))}Q(n)}Oe(n)}function ft(e,t){!0===u.value&&!1===ie.innerLoading.value&&(Q(-1,!0),(0,o.Y3)((()=>{!0===u.value&&!1===ie.innerLoading.value&&(e>t?Q():ht(!0))})))}function pt(){!1===d.value&&null!==X.value&&X.value.updatePosition()}function gt(e){void 0!==e&&(0,h.sT)(e),n("popupShow",e),ie.hasPopupOpen=!0,ie.onControlFocusin(e)}function vt(e){void 0!==e&&(0,h.sT)(e),n("popupHide",e),ie.hasPopupOpen=!1,ie.onControlFocusout(e)}function mt(){O=(!0===c.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==t["no-option"]||void 0!==e.onFilter||!1===de.value))),z=!0===c.platform.is.ios&&!0===O&&!0===e.useInput?"fade":e.transitionShow}return(0,o.YP)(ae,(t=>{M=t,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==ie.innerLoading.value&&(!0!==d.value&&!0!==u.value||!0!==le.value)&&(!0!==R&&dt(),!0!==d.value&&!0!==u.value||Je(""))}),{immediate:!0}),(0,o.YP)((()=>e.fillInput),dt),(0,o.YP)(u,ht),(0,o.YP)(U,ft),(0,o.Xn)(mt),(0,o.ic)(pt),mt(),(0,o.Jd)((()=>{null!==N&&clearTimeout(N)})),Object.assign(r,{showPopup:ct,hidePopup:ut,removeAtIndex:Te,add:Ee,toggleOption:Me,getOptionIndex:()=>p.value,setOptionIndex:Oe,moveOptionSelection:Re,filter:Je,updateMenuPosition:pt,updateInputValue:Ke,isOptionSelected:He,getEmittingOptionValue:je,isOptionDisabled:(...e)=>!0===Ae.value.apply(null,e),getOptionValue:(...e)=>Ce.value.apply(null,e),getOptionLabel:(...e)=>_e.value.apply(null,e)}),Object.assign(ie,{innerValue:ae,fieldClass:(0,i.Fl)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:B,targetRef:Y,hasValue:le,showPopup:ct,floatingLabel:(0,i.Fl)((()=>!0!==e.hideSelected&&!0===le.value||"number"===typeof T.value||T.value.length>0||(0,a.yV)(e.displayValue))),getControlChild:()=>{if(!1!==ie.editable.value&&(!0===d.value||!0!==de.value||void 0!==t["no-option"]))return!0===O?it():Qe();!0===ie.hasPopupOpen&&(ie.hasPopupOpen=!1)},controlEvents:{onFocusin(e){ie.onControlFocusin(e)},onFocusout(e){ie.onControlFocusout(e,(()=>{dt(),lt()}))},onClick(e){if((0,h.X$)(e),!0!==O&&!0===u.value)return lt(),void(null!==Y.value&&Y.value.focus());ct(e)}},getControl:t=>{const n=Ve(),i=!0===t||!0!==d.value||!0!==O;if(!0===e.useInput)n.push(Ze(t,i));else if(!0===ie.editable.value){const a=!0===i?me.value:void 0;n.push((0,o.h)("input",{ref:!0===i?Y:void 0,key:"d_t",class:"q-select__focus-target",id:!0===i?ie.targetUid.value:void 0,value:fe.value,readonly:!0,"data-autofocus":!0===t||!0===e.autofocus||void 0,...a,onKeydown:Ye,onKeyup:Ne,onKeypress:Be})),!0===i&&"string"===typeof e.autocomplete&&e.autocomplete.length>0&&n.push((0,o.h)("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:De}))}if(void 0!==$.value&&!0!==e.disable&&Pe.value.length>0){const t=Pe.value.map((e=>(0,o.h)("option",{value:e,selected:!0})));n.push((0,o.h)("select",{class:"hidden",name:$.value,multiple:e.multiple},t))}const a=!0===e.useInput||!0!==i?void 0:ie.splitAttrs.attributes.value;return(0,o.h)("div",{class:"q-field__native row items-center",...a,...ie.splitAttrs.listeners.value},n)},getInnerAppend:()=>!0!==e.loading&&!0!==E.value&&!0!==e.hideDropdownIcon?[(0,o.h)(l.Z,{class:"q-select__dropdown-icon"+(!0===u.value?" rotate-180":""),name:we.value})]:null}),(0,a.ZP)(ie)}})},926:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(8234),r=n(5987);const s={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},l={xs:2,sm:4,md:8,lg:16,xl:24},c=(0,r.L)({name:"QSeparator",props:{...a.S,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=(0,o.FN)(),n=(0,a.Z)(e,t.proxy.$q),r=(0,i.Fl)((()=>!0===e.vertical?"vertical":"horizontal")),c=(0,i.Fl)((()=>` q-separator--${r.value}`)),u=(0,i.Fl)((()=>!1!==e.inset?`${c.value}-${s[e.inset]}`:"")),d=(0,i.Fl)((()=>`q-separator${c.value}${u.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===n.value?" q-separator--dark":""))),h=(0,i.Fl)((()=>{const t={};if(void 0!==e.size&&(t[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const n=!0===e.spaced?`${l.md}px`:e.spaced in l?`${l[e.spaced]}px`:e.spaced,o=!0===e.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${o[0]}`]=t[`margin${o[1]}`]=n}return t}));return()=>(0,o.h)("hr",{class:d.value,style:h.value,"aria-orientation":r.value})}})},9003:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(9835),i=n(1957),a=n(5987);const r=(0,a.L)({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let a,r,s,l,c=!1,u=null,d=null;function h(){a&&a(),a=null,c=!1,null!==u&&(clearTimeout(u),u=null),null!==d&&(clearTimeout(d),d=null),void 0!==r&&r.removeEventListener("transitionend",s),s=null}function f(t,n,o){void 0!==n&&(t.style.height=`${n}px`),t.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,c=!0,a=o}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,h(),t!==l&&n(t)}function g(t,n){let o=0;r=t,!0===c?(h(),o=t.offsetHeight===t.scrollHeight?0:void 0):(l="hide",t.style.overflowY="hidden"),f(t,o,n),u=setTimeout((()=>{u=null,t.style.height=`${t.scrollHeight}px`,s=e=>{d=null,Object(e)===e&&e.target!==t||p(t,"show")},t.addEventListener("transitionend",s),d=setTimeout(s,1.1*e.duration)}),100)}function v(t,n){let o;r=t,!0===c?h():(l="show",t.style.overflowY="hidden",o=t.scrollHeight),f(t,o,n),u=setTimeout((()=>{u=null,t.style.height=0,s=e=>{d=null,Object(e)===e&&e.target!==t||p(t,"hide")},t.addEventListener("transitionend",s),d=setTimeout(s,1.1*e.duration)}),100)}return(0,o.Jd)((()=>{!0===c&&h()})),()=>(0,o.h)(i.uT,{css:!1,appear:e.appear,onEnter:g,onLeave:v},t.default)}})},3940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(244);const r={size:{type:[Number,String],default:"1em"},color:String};function s(e){return{cSize:(0,i.Fl)((()=>e.size in a.Ok?`${a.Ok[e.size]}px`:e.size)),classes:(0,i.Fl)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}var l=n(5987);const c=(0,l.L)({name:"QSpinner",props:{...r,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=s(e);return()=>(0,o.h)("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[(0,o.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}})},4106:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(9835),i=n(5475),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTabPanel",props:i.vZ,setup(e,{slots:t}){return()=>(0,o.h)("div",{class:"q-tab-panel",role:"tabpanel"},(0,r.KR)(t.default))}})},9800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(9835),i=n(499),a=n(8234),r=n(5475),s=n(5987),l=n(2026);const c=(0,s.L)({name:"QTabPanels",props:{...r.t6,...a.S},emits:r.K6,setup(e,{slots:t}){const n=(0,o.FN)(),s=(0,a.Z)(e,n.proxy.$q),{updatePanelsList:c,getPanelContent:u,panelDirectives:d}=(0,r.ZP)(),h=(0,i.Fl)((()=>"q-tab-panels q-panel-parent"+(!0===s.value?" q-tab-panels--dark q-dark":"")));return()=>(c(t),(0,l.Jl)("div",{class:h.value},u(),"pan",e.swipeable,(()=>d.value)))}})},2429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Q});var o=n(9835),i=n(499),a=n(1682),r=n(926),s=n(2857),l=n(3246),c=n(6933);function u(e,t){return(0,o.h)("div",e,[(0,o.h)("table",{class:"q-table"},t)])}var d=n(2043),h=n(5987),f=n(3701),p=n(1384),g=n(2026);const v={list:l.Z,table:c.Z},m=["list","table","__qtable"],b=(0,h.L)({name:"QVirtualScroll",props:{...d.t9,type:{type:String,default:"list",validator:e=>m.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(e,{slots:t,attrs:n}){let a;const r=(0,i.iH)(null),s=(0,i.Fl)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:l,localResetVirtualScroll:c,padVirtualScroll:h,onVirtualScrollEvt:m}=(0,d.vp)({virtualScrollLength:s,getVirtualScrollTarget:k,getVirtualScrollEl:w}),b=(0,i.Fl)((()=>{if(0===s.value)return[];const t=(e,t)=>({index:l.value.from+t,item:e});return void 0===e.itemsFn?e.items.slice(l.value.from,l.value.to).map(t):e.itemsFn(l.value.from,l.value.to-l.value.from).map(t)})),x=(0,i.Fl)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),y=(0,i.Fl)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function w(){return r.value.$el||r.value}function k(){return a}function S(){a=(0,f.b0)(w(),e.scrollTarget),a.addEventListener("scroll",m,p.rU.passive)}function C(){void 0!==a&&(a.removeEventListener("scroll",m,p.rU.passive),a=void 0)}function _(){let n=h("list"===e.type?"div":"tbody",b.value.map(t.default));return void 0!==t.before&&(n=t.before().concat(n)),(0,g.vs)(t.after,n)}return(0,o.YP)(s,(()=>{c()})),(0,o.YP)((()=>e.scrollTarget),(()=>{C(),S()})),(0,o.wF)((()=>{c()})),(0,o.bv)((()=>{S()})),(0,o.dl)((()=>{S()})),(0,o.se)((()=>{C()})),(0,o.Jd)((()=>{C()})),()=>{if(void 0!==t.default)return"__qtable"===e.type?u({ref:r,class:"q-table__middle "+x.value},_()):(0,o.h)(v[e.type],{...n,ref:r,class:[n.class,x.value],...y.value},_);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});var x=n(7887),y=n(8289),w=n(1221),k=n(8879),S=n(8234),C=n(5310),_=n(2046);let A=0;const P={fullscreen:Boolean,noRouteFullscreenExit:Boolean},L=["update:fullscreen","fullscreen"];function j(){const e=(0,o.FN)(),{props:t,emit:n,proxy:a}=e;let r,s,l;const c=(0,i.iH)(!1);function u(){!0===c.value?h():d()}function d(){!0!==c.value&&(c.value=!0,l=a.$el.parentNode,l.replaceChild(s,a.$el),document.body.appendChild(a.$el),A++,1===A&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:h},C.Z.add(r))}function h(){!0===c.value&&(void 0!==r&&(C.Z.remove(r),r=void 0),l.replaceChild(a.$el,s),c.value=!1,A=Math.max(0,A-1),0===A&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==a.$el.scrollIntoView&&setTimeout((()=>{a.$el.scrollIntoView()}))))}return!0===(0,_.Rb)(e)&&(0,o.YP)((()=>a.$route.fullPath),(()=>{!0!==t.noRouteFullscreenExit&&h()})),(0,o.YP)((()=>t.fullscreen),(e=>{c.value!==e&&u()})),(0,o.YP)(c,(e=>{n("update:fullscreen",e),n("fullscreen",e)})),(0,o.wF)((()=>{s=document.createElement("span")})),(0,o.bv)((()=>{!0===t.fullscreen&&d()})),(0,o.Jd)(h),Object.assign(a,{toggleFullscreen:u,setFullscreen:d,exitFullscreen:h}),{inFullscreen:c,toggleFullscreen:u}}function T(e,t){return new Date(e)-new Date(t)}var F=n(4680);const E={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function M(e,t,n,o){const a=(0,i.Fl)((()=>{const{sortBy:e}=t.value;return e&&n.value.find((t=>t.name===e))||null})),r=(0,i.Fl)((()=>void 0!==e.sortMethod?e.sortMethod:(e,t,o)=>{const i=n.value.find((e=>e.name===t));if(void 0===i||void 0===i.field)return e;const a=!0===o?-1:1,r="function"===typeof i.field?e=>i.field(e):e=>e[i.field];return e.sort(((e,t)=>{let n=r(e),o=r(t);return null===n||void 0===n?-1*a:null===o||void 0===o?1*a:void 0!==i.sort?i.sort(n,o,e,t)*a:!0===(0,F.hj)(n)&&!0===(0,F.hj)(o)?(n-o)*a:!0===(0,F.J_)(n)&&!0===(0,F.J_)(o)?T(n,o)*a:"boolean"===typeof n&&"boolean"===typeof o?(n-o)*a:([n,o]=[n,o].map((e=>(e+"").toLocaleString().toLowerCase())),ne.name===i));void 0!==e&&e.sortOrder&&(a=e.sortOrder)}let{sortBy:r,descending:s}=t.value;r!==i?(r=i,s="da"===a):!0===e.binaryStateSort?s=!s:!0===s?"ad"===a?r=null:s=!1:"ad"===a?s=!0:r=null,o({sortBy:r,descending:s,page:1})}return{columnToSort:a,computedSortMethod:r,sort:s}}const O={filter:[String,Object],filterMethod:Function};function R(e,t){const n=(0,i.Fl)((()=>void 0!==e.filterMethod?e.filterMethod:(e,t,n,o)=>{const i=t?t.toLowerCase():"";return e.filter((e=>n.some((t=>{const n=o(t,e)+"",a="undefined"===n||"null"===n?"":n.toLowerCase();return-1!==a.indexOf(i)}))))}));return(0,o.YP)((()=>e.filter),(()=>{(0,o.Y3)((()=>{t({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:n}}function I(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function z(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const H={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function q(e,t){const{props:n,emit:a}=e,r=(0,i.iH)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length>0?n.rowsPerPageOptions[0]:5},n.pagination)),s=(0,i.Fl)((()=>{const e=void 0!==n["onUpdate:pagination"]?{...r.value,...n.pagination}:r.value;return z(e)})),l=(0,i.Fl)((()=>void 0!==s.value.rowsNumber));function c(e){u({pagination:e,filter:n.filter})}function u(e={}){(0,o.Y3)((()=>{a("request",{pagination:e.pagination||s.value,filter:e.filter||n.filter,getCellValue:t})}))}function d(e,t){const o=z({...s.value,...e});!0!==I(s.value,o)?!0!==l.value?void 0!==n.pagination&&void 0!==n["onUpdate:pagination"]?a("update:pagination",o):r.value=o:c(o):!0===l.value&&!0===t&&c(o)}return{innerPagination:r,computedPagination:s,isServerSide:l,requestServerInteraction:u,setPagination:d}}function N(e,t,n,a,r,s){const{props:l,emit:c,proxy:{$q:u}}=e,d=(0,i.Fl)((()=>!0===a.value?n.value.rowsNumber||0:s.value)),h=(0,i.Fl)((()=>{const{page:e,rowsPerPage:t}=n.value;return(e-1)*t})),f=(0,i.Fl)((()=>{const{page:e,rowsPerPage:t}=n.value;return e*t})),p=(0,i.Fl)((()=>1===n.value.page)),g=(0,i.Fl)((()=>0===n.value.rowsPerPage?1:Math.max(1,Math.ceil(d.value/n.value.rowsPerPage)))),v=(0,i.Fl)((()=>0===f.value||n.value.page>=g.value)),m=(0,i.Fl)((()=>{const e=l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions);return e.map((e=>({label:0===e?u.lang.table.allRows:""+e,value:e})))}));function b(){r({page:1})}function x(){const{page:e}=n.value;e>1&&r({page:e-1})}function y(){const{page:e,rowsPerPage:t}=n.value;f.value>0&&e*t{if(e===t)return;const o=n.value.page;e&&!o?r({page:1}):e["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},B=["update:selected","selection"];function Y(e,t,n,o){const a=(0,i.Fl)((()=>{const t={};return e.selected.map(o.value).forEach((e=>{t[e]=!0})),t})),r=(0,i.Fl)((()=>"none"!==e.selection)),s=(0,i.Fl)((()=>"single"===e.selection)),l=(0,i.Fl)((()=>"multiple"===e.selection)),c=(0,i.Fl)((()=>n.value.length>0&&n.value.every((e=>!0===a.value[o.value(e)])))),u=(0,i.Fl)((()=>!0!==c.value&&n.value.some((e=>!0===a.value[o.value(e)])))),d=(0,i.Fl)((()=>e.selected.length));function h(e){return!0===a.value[e]}function f(){t("update:selected",[])}function p(n,i,a,r){t("selection",{rows:i,added:a,keys:n,evt:r});const l=!0===s.value?!0===a?i:[]:!0===a?e.selected.concat(i):e.selected.filter((e=>!1===n.includes(o.value(e))));t("update:selected",l)}return{hasSelectionMode:r,singleSelection:s,multipleSelection:l,allRowsSelected:c,someRowsSelected:u,rowsSelectedNumber:d,isRowSelected:h,clearSelection:f,updateSelection:p}}function X(e){return Array.isArray(e)?e.slice():[]}const W={expanded:Array},V=["update:expanded"];function $(e,t){const n=(0,i.iH)(X(e.expanded));function a(e){return n.value.includes(e)}function r(o){void 0!==e.expanded?t("update:expanded",o):n.value=o}function s(e,t){const o=n.value.slice(),i=o.indexOf(e);!0===t?-1===i&&(o.push(e),r(o)):-1!==i&&(o.splice(i,1),r(o))}return(0,o.YP)((()=>e.expanded),(e=>{n.value=X(e)})),{isRowExpanded:a,setExpanded:r,updateExpanded:s}}const Z={visibleColumns:Array};function U(e,t,n){const o=(0,i.Fl)((()=>{if(void 0!==e.columns)return e.columns;const t=e.rows[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:(0,F.hj)(t[e])?"right":"left",sortable:!0}))):[]})),a=(0,i.Fl)((()=>{const{sortBy:n,descending:i}=t.value,a=void 0!==e.visibleColumns?o.value.filter((t=>!0===t.required||!0===e.visibleColumns.includes(t.name))):o.value;return a.map((e=>{const t=e.align||"right",o=`text-${t}`;return{...e,align:t,__iconClass:`q-table__sort-icon q-table__sort-icon--${t}`,__thClass:o+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===n?" sorted "+(!0===i?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!==typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!==typeof e.classes?()=>o+" "+e.classes:t=>o+" "+e.classes(t):()=>o}}))})),r=(0,i.Fl)((()=>{const e={};return a.value.forEach((t=>{e[t.name]=t})),e})),s=(0,i.Fl)((()=>void 0!==e.tableColspan?e.tableColspan:a.value.length+(!0===n.value?1:0)));return{colList:o,computedCols:a,computedColsMap:r,computedColspan:s}}var G=n(3251);const K="q-table__bottom row items-center",J={};d.If.forEach((e=>{J[e]={}}));const Q=(0,h.L)({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{default:void 0},...J,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...S.S,...P,...Z,...O,...H,...W,...D,...E},emits:["request","virtualScroll",...L,...V,...B],setup(e,{slots:t,emit:n}){const l=(0,o.FN)(),{proxy:{$q:c}}=l,h=(0,S.Z)(e,c),{inFullscreen:f,toggleFullscreen:p}=j(),g=(0,i.Fl)((()=>"function"===typeof e.rowKey?e.rowKey:t=>t[e.rowKey])),v=(0,i.iH)(null),m=(0,i.iH)(null),C=(0,i.Fl)((()=>!0!==e.grid&&!0===e.virtualScroll)),_=(0,i.Fl)((()=>" q-table__card"+(!0===h.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),A=(0,i.Fl)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.grid?" q-table--grid":_.value)+(!0===h.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===f.value?" fullscreen scroll":""))),P=(0,i.Fl)((()=>A.value+(!0===e.loading?" q-table--loading":"")));(0,o.YP)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+A.value),(()=>{!0===C.value&&null!==m.value&&m.value.reset()}));const{innerPagination:L,computedPagination:T,isServerSide:F,requestServerInteraction:E,setPagination:O}=q(l,Ie),{computedFilterMethod:I}=R(e,O),{isRowExpanded:z,setExpanded:H,updateExpanded:D}=$(e,n),B=(0,i.Fl)((()=>{let t=e.rows;if(!0===F.value||0===t.length)return t;const{sortBy:n,descending:o}=T.value;return e.filter&&(t=I.value(t,e.filter,re.value,Ie)),null!==ce.value&&(t=ue.value(e.rows===t?t.slice():t,n,o)),t})),X=(0,i.Fl)((()=>B.value.length)),W=(0,i.Fl)((()=>{let t=B.value;if(!0===F.value)return t;const{rowsPerPage:n}=T.value;return 0!==n&&(0===he.value&&e.rows!==t?t.length>fe.value&&(t=t.slice(0,fe.value)):t=t.slice(he.value,fe.value)),t})),{hasSelectionMode:V,singleSelection:Z,multipleSelection:J,allRowsSelected:Q,someRowsSelected:ee,rowsSelectedNumber:te,isRowSelected:ne,clearSelection:oe,updateSelection:ie}=Y(e,n,W,g),{colList:ae,computedCols:re,computedColsMap:se,computedColspan:le}=U(e,T,V),{columnToSort:ce,computedSortMethod:ue,sort:de}=M(e,T,ae,O),{firstRowIndex:he,lastRowIndex:fe,isFirstPage:pe,isLastPage:ge,pagesNumber:ve,computedRowsPerPageOptions:me,computedRowsNumber:be,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke}=N(l,L,T,F,O,X),Se=(0,i.Fl)((()=>0===W.value.length)),Ce=(0,i.Fl)((()=>{const t={};return d.If.forEach((n=>{t[n]=e[n]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===e.dense?28:48),t}));function _e(){!0===C.value&&m.value.reset()}function Ae(){if(!0===e.grid)return Ue();const n=!0!==e.hideHeader?Ne:null;if(!0===C.value){const i=t["top-row"],a=t["bottom-row"],r={default:e=>Te(e.item,t.body,e.index)};if(void 0!==i){const e=(0,o.h)("tbody",i({cols:re.value}));r.before=null===n?()=>e:()=>[n()].concat(e)}else null!==n&&(r.before=n);return void 0!==a&&(r.after=()=>(0,o.h)("tbody",a({cols:re.value}))),(0,o.h)(b,{ref:m,class:e.tableClass,style:e.tableStyle,...Ce.value,scrollTarget:e.virtualScrollTarget,items:W.value,type:"__qtable",tableColspan:le.value,onVirtualScroll:Le},r)}const i=[Fe()];return null!==n&&i.unshift(n()),u({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},i)}function Pe(t,o){if(null!==m.value)return void m.value.scrollTo(t,o);t=parseInt(t,10);const i=v.value.querySelector(`tbody tr:nth-of-type(${t+1})`);if(null!==i){const o=v.value.querySelector(".q-table__middle.scroll"),a=i.offsetTop-e.virtualScrollStickySizeStart,r=a{const n=t[`body-cell-${e.name}`],a=void 0!==n?n:c;return void 0!==a?a(Me({key:s,row:i,pageIndex:r,col:e})):(0,o.h)("td",{class:e.__tdClass(i),style:e.__tdStyle(i)},Ie(e,i))}));if(!0===V.value){const n=t["body-selection"],a=void 0!==n?n(Oe({key:s,row:i,pageIndex:r})):[(0,o.h)(w.Z,{modelValue:l,color:e.color,dark:h.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{ie([s],[i],e,t)}})];u.unshift((0,o.h)("td",{class:"q-table--col-auto-width"},a))}const d={key:s,class:{selected:l}};return void 0!==e.onRowClick&&(d.class["cursor-pointer"]=!0,d.onClick=e=>{n("RowClick",e,i,r)}),void 0!==e.onRowDblclick&&(d.class["cursor-pointer"]=!0,d.onDblclick=e=>{n("RowDblclick",e,i,r)}),void 0!==e.onRowContextmenu&&(d.class["cursor-pointer"]=!0,d.onContextmenu=e=>{n("RowContextmenu",e,i,r)}),(0,o.h)("tr",d,u)}function Fe(){const e=t.body,n=t["top-row"],i=t["bottom-row"];let a=W.value.map(((t,n)=>Te(t,e,n)));return void 0!==n&&(a=n({cols:re.value}).concat(a)),void 0!==i&&(a=a.concat(i({cols:re.value}))),(0,o.h)("tbody",a)}function Ee(e){return Re(e),e.cols=e.cols.map((t=>(0,G.g)({...t},"value",(()=>Ie(t,e.row))))),e}function Me(e){return Re(e),(0,G.g)(e,"value",(()=>Ie(e.col,e.row))),e}function Oe(e){return Re(e),e}function Re(t){Object.assign(t,{cols:re.value,colsMap:se.value,sort:de,rowIndex:he.value+t.pageIndex,color:e.color,dark:h.value,dense:e.dense}),!0===V.value&&(0,G.g)(t,"selected",(()=>ne(t.key)),((e,n)=>{ie([t.key],[t.row],e,n)})),(0,G.g)(t,"expand",(()=>z(t.key)),(e=>{D(t.key,e)}))}function Ie(e,t){const n="function"===typeof e.field?e.field(t):t[e.field];return void 0!==e.format?e.format(n,t):n}const ze=(0,i.Fl)((()=>({pagination:T.value,pagesNumber:ve.value,isFirstPage:pe.value,isLastPage:ge.value,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke,inFullscreen:f.value,toggleFullscreen:p})));function He(){const n=t.top,i=t["top-left"],a=t["top-right"],r=t["top-selection"],s=!0===V.value&&void 0!==r&&te.value>0,l="q-table__top relative-position row items-center";if(void 0!==n)return(0,o.h)("div",{class:l},[n(ze.value)]);let c;return!0===s?c=r(ze.value).slice():(c=[],void 0!==i?c.push((0,o.h)("div",{class:"q-table__control"},[i(ze.value)])):e.title&&c.push((0,o.h)("div",{class:"q-table__control"},[(0,o.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==a&&(c.push((0,o.h)("div",{class:"q-table__separator col"})),c.push((0,o.h)("div",{class:"q-table__control"},[a(ze.value)]))),0!==c.length?(0,o.h)("div",{class:l},c):void 0}const qe=(0,i.Fl)((()=>!0===ee.value?null:Q.value));function Ne(){const n=De();return!0===e.loading&&void 0===t.loading&&n.push((0,o.h)("tr",{class:"q-table__progress"},[(0,o.h)("th",{class:"relative-position",colspan:le.value},je())])),(0,o.h)("thead",n)}function De(){const n=t.header,i=t["header-cell"];if(void 0!==n)return n(Be({header:!0})).slice();const r=re.value.map((e=>{const n=t[`header-cell-${e.name}`],r=void 0!==n?n:i,s=Be({col:e});return void 0!==r?r(s):(0,o.h)(a.Z,{key:e.name,props:s},(()=>e.label))}));if(!0===Z.value&&!0!==e.grid)r.unshift((0,o.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===J.value){const n=t["header-selection"],i=void 0!==n?n(Be({})):[(0,o.h)(w.Z,{color:e.color,modelValue:qe.value,dark:h.value,dense:e.dense,"onUpdate:modelValue":Ye})];r.unshift((0,o.h)("th",{class:"q-table--col-auto-width"},i))}return[(0,o.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},r)]}function Be(t){return Object.assign(t,{cols:re.value,sort:de,colsMap:se.value,color:e.color,dark:h.value,dense:e.dense}),!0===J.value&&(0,G.g)(t,"selected",(()=>qe.value),Ye),t}function Ye(e){!0===ee.value&&(e=!1),ie(W.value.map(g.value),W.value,e)}const Xe=(0,i.Fl)((()=>{const t=[e.iconFirstPage||c.iconSet.table.firstPage,e.iconPrevPage||c.iconSet.table.prevPage,e.iconNextPage||c.iconSet.table.nextPage,e.iconLastPage||c.iconSet.table.lastPage];return!0===c.lang.rtl?t.reverse():t}));function We(){if(!0===e.hideBottom)return;if(!0===Se.value){if(!0===e.hideNoData)return;const n=!0===e.loading?e.loadingLabel||c.lang.table.loading:e.filter?e.noResultsLabel||c.lang.table.noResults:e.noDataLabel||c.lang.table.noData,i=t["no-data"],a=void 0!==i?[i({message:n,icon:c.iconSet.table.warning,filter:e.filter})]:[(0,o.h)(s.Z,{class:"q-table__bottom-nodata-icon",name:c.iconSet.table.warning}),n];return(0,o.h)("div",{class:K+" q-table__bottom--nodata"},a)}const n=t.bottom;if(void 0!==n)return(0,o.h)("div",{class:K},[n(ze.value)]);const i=!0!==e.hideSelectedBanner&&!0===V.value&&te.value>0?[(0,o.h)("div",{class:"q-table__control"},[(0,o.h)("div",[(e.selectedRowsLabel||c.lang.table.selectedRecords)(te.value)])])]:[];return!0!==e.hidePagination?(0,o.h)("div",{class:K+" justify-end"},$e(i)):i.length>0?(0,o.h)("div",{class:K},i):void 0}function Ve(e){O({page:1,rowsPerPage:e.value})}function $e(n){let i;const{rowsPerPage:a}=T.value,r=e.paginationLabel||c.lang.table.pagination,s=t.pagination,l=e.rowsPerPageOptions.length>1;if(n.push((0,o.h)("div",{class:"q-table__separator col"})),!0===l&&n.push((0,o.h)("div",{class:"q-table__control"},[(0,o.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||c.lang.table.recordsPerPage]),(0,o.h)(x.Z,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:a,options:me.value,displayValue:0===a?c.lang.table.allRows:a,dark:h.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Ve})])),void 0!==s)i=s(ze.value);else if(i=[(0,o.h)("span",0!==a?{class:"q-table__bottom-item"}:{},[a?r(he.value+1,Math.min(fe.value,be.value),be.value):r(1,X.value,be.value)])],0!==a&&ve.value>1){const t={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(t.size="sm"),ve.value>2&&i.push((0,o.h)(k.Z,{key:"pgFirst",...t,icon:Xe.value[0],disable:pe.value,onClick:xe})),i.push((0,o.h)(k.Z,{key:"pgPrev",...t,icon:Xe.value[1],disable:pe.value,onClick:ye}),(0,o.h)(k.Z,{key:"pgNext",...t,icon:Xe.value[2],disable:ge.value,onClick:we})),ve.value>2&&i.push((0,o.h)(k.Z,{key:"pgLast",...t,icon:Xe.value[3],disable:ge.value,onClick:ke}))}return n.push((0,o.h)("div",{class:"q-table__control"},i)),n}function Ze(){const n=!0===e.gridHeader?[(0,o.h)("table",{class:"q-table"},[Ne(o.h)])]:!0===e.loading&&void 0===t.loading?je(o.h):void 0;return(0,o.h)("div",{class:"q-table__middle"},n)}function Ue(){const i=void 0!==t.item?t.item:i=>{const a=i.cols.map((e=>(0,o.h)("div",{class:"q-table__grid-item-row"},[(0,o.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,o.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===V.value){const n=t["body-selection"],s=void 0!==n?n(i):[(0,o.h)(w.Z,{modelValue:i.selected,color:e.color,dark:h.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{ie([i.key],[i.row],e,t)}})];a.unshift((0,o.h)("div",{class:"q-table__grid-item-row"},s),(0,o.h)(r.Z,{dark:h.value}))}const s={class:["q-table__grid-item-card"+_.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(s.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(s.onClick=e=>{n("RowClick",e,i.row,i.pageIndex)}),void 0!==e.onRowDblclick&&(s.onDblclick=e=>{n("RowDblclick",e,i.row,i.pageIndex)})),(0,o.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===i.selected?" q-table__grid-item--selected":"")},[(0,o.h)("div",s,a)])};return(0,o.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},W.value.map(((e,t)=>i(Ee({key:g.value(e),row:e,pageIndex:t})))))}return Object.assign(l.proxy,{requestServerInteraction:E,setPagination:O,firstPage:xe,prevPage:ye,nextPage:we,lastPage:ke,isRowSelected:ne,clearSelection:oe,isRowExpanded:z,setExpanded:H,sort:de,resetVirtualScroll:_e,scrollTo:Pe,getCellValue:Ie}),(0,G.K)(l.proxy,{filteredSortedRows:()=>B.value,computedRows:()=>W.value,computedRowsNumber:()=>be.value}),()=>{const n=[He()],i={ref:v,class:P.value};return!0===e.grid?n.push(Ze()):Object.assign(i,{class:[i.class,e.cardClass],style:e.cardStyle}),n.push(Ae(),We()),!0===e.loading&&void 0!==t.loading&&n.push(t.loading()),(0,o.h)("div",i,n)}}})},7220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(9835),i=n(499),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=(0,o.FN)(),a=(0,i.Fl)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,o.h)("td",{class:a.value},(0,r.KR)(t.default));const i=n.vnode.key,s=(void 0!==e.props.colsMap?e.props.colsMap[i]:null)||e.props.col;if(void 0===s)return;const{row:l}=e.props;return(0,o.h)("td",{class:a.value+s.__tdClass(l),style:s.__tdStyle(l)},(0,r.KR)(t.default))}}})},1682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(9835),i=n(2857),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const a=(0,o.FN)(),{proxy:{$q:s}}=a,l=e=>{n("click",e)};return()=>{if(void 0===e.props)return(0,o.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":"",onClick:l},(0,r.KR)(t.default));let n,c;const u=a.vnode.key;if(u){if(n=e.props.colsMap[u],void 0===n)return}else n=e.props.col;if(!0===n.sortable){const e="right"===n.align?"unshift":"push";c=(0,r.Bl)(t.default,[]),c[e]((0,o.h)(i.Z,{class:n.__iconClass,name:s.iconSet.table.arrowUp}))}else c=(0,r.KR)(t.default);const d={class:n.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:n.headerStyle,onClick:t=>{!0===n.sortable&&e.props.sort(n),l(t)}};return(0,o.h)("th",d,c)}}})},3532:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-tr"+(void 0===e.props||!0===e.props.header?"":" "+e.props.__trClass)+(!0===e.noHover?" q-tr--no-hover":"")));return()=>(0,i.h)("tr",{class:n.value},(0,r.KR)(t.default))}})},900:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(9835),i=n(499),a=n(2857),r=n(1136),s=n(2026),l=n(1705),c=n(5439),u=n(1384),d=n(796),h=n(4680);let f=0;const p=["click","keydown"],g={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+f++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function v(e,t,n,f){const p=(0,o.f3)(c.Nd,c.qO);if(p===c.qO)return console.error("QTab/QRouteTab component needs to be child of QTabs"),c.qO;const{proxy:g}=(0,o.FN)(),v=(0,i.iH)(null),m=(0,i.iH)(null),b=(0,i.iH)(null),x=(0,i.Fl)((()=>!0!==e.disable&&!1!==e.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===e.ripple?{}:e.ripple))),y=(0,i.Fl)((()=>p.currentModel.value===e.name)),w=(0,i.Fl)((()=>"q-tab relative-position self-stretch flex flex-center text-center"+(!0===y.value?" q-tab--active"+(p.tabProps.value.activeClass?" "+p.tabProps.value.activeClass:"")+(p.tabProps.value.activeColor?` text-${p.tabProps.value.activeColor}`:"")+(p.tabProps.value.activeBgColor?` bg-${p.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&!1===p.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===p.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==f?f.linkClass.value:""))),k=(0,i.Fl)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===p.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),S=(0,i.Fl)((()=>!0===e.disable||!0===p.hasFocus.value||!1===y.value&&!0===p.hasActiveTab.value?-1:e.tabindex||0));function C(t,o){if(!0!==o&&null!==v.value&&v.value.focus(),!0!==e.disable){if(void 0===f)return p.updateModel({name:e.name}),void n("click",t);if(!0===f.hasRouterLink.value){const o=(n={})=>{let o;const i=void 0===n.to||!0===(0,h.xb)(n.to,e.to)?p.avoidRouteWatcher=(0,d.Z)():null;return f.navigateToRouterLink(t,{...n,returnRouterError:!0}).catch((e=>{o=e})).then((t=>{if(i===p.avoidRouteWatcher&&(p.avoidRouteWatcher=!1,void 0!==o||void 0!==t&&!0!==t.message.startsWith("Avoided redundant navigation")||p.updateModel({name:e.name})),!0===n.returnRouterError)return void 0!==o?Promise.reject(o):t}))};return n("click",t,o),void(!0!==t.defaultPrevented&&o())}n("click",t)}else void 0!==f&&!0===f.hasRouterLink.value&&(0,u.NS)(t)}function _(e){(0,l.So)(e,[13,32])?C(e,!0):!0!==(0,l.Wm)(e)&&e.keyCode>=35&&e.keyCode<=40&&!0!==e.altKey&&!0!==e.metaKey&&!0===p.onKbdNavigate(e.keyCode,g.$el)&&(0,u.NS)(e),n("keydown",e)}function A(){const n=p.tabProps.value.narrowIndicator,i=[],r=(0,o.h)("div",{ref:b,class:["q-tab__indicator",p.tabProps.value.indicatorClass]});void 0!==e.icon&&i.push((0,o.h)(a.Z,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&i.push((0,o.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&i.push(void 0!==e.alertIcon?(0,o.h)(a.Z,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,o.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===n&&i.push(r);const l=[(0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:v}),(0,o.h)("div",{class:k.value},(0,s.vs)(t.default,i))];return!1===n&&l.push(r),l}const P={name:(0,i.Fl)((()=>e.name)),rootRef:m,tabIndicatorRef:b,routeData:f};function L(t,n){const i={ref:m,class:w.value,tabindex:S.value,role:"tab","aria-selected":!0===y.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:C,onKeydown:_,...n};return(0,o.wy)((0,o.h)(t,i,A()),[[r.Z,x.value]])}return(0,o.Jd)((()=>{p.unregisterTab(P)})),(0,o.bv)((()=>{p.registerTab(P)})),{renderTab:L,$tabs:p}}var m=n(5987);const b=(0,m.L)({name:"QTab",props:g,emits:p,setup(e,{slots:t,emit:n}){const{renderTab:o}=v(e,t,n);return()=>o("div")}})},7817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var o=n(9835),i=n(499),a=n(2857),r=n(883),s=n(6916),l=n(2695),c=n(5987),u=n(2026),d=n(5439),h=n(8383);function f(e,t,n){const o=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===t?o[0]:o[1]}${e?` text-${e}`:""}`}const p=["left","center","right","justify"],g=(0,c.L)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>p.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:n}){const{proxy:c}=(0,o.FN)(),{$q:p}=c,{registerTick:g}=(0,s.Z)(),{registerTick:v}=(0,s.Z)(),{registerTick:m}=(0,s.Z)(),{registerTimeout:b,removeTimeout:x}=(0,l.Z)(),{registerTimeout:y,removeTimeout:w}=(0,l.Z)(),k=(0,i.iH)(null),S=(0,i.iH)(null),C=(0,i.iH)(e.modelValue),_=(0,i.iH)(!1),A=(0,i.iH)(!0),P=(0,i.iH)(!1),L=(0,i.iH)(!1),j=[],T=(0,i.iH)(0),F=(0,i.iH)(!1);let E,M=null,O=null;const R=(0,i.Fl)((()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:f(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),I=(0,i.Fl)((()=>{const e=T.value,t=C.value;for(let n=0;n{const t=!0===_.value?"left":!0===L.value?"justify":e.align;return`q-tabs__content--align-${t}`})),H=(0,i.Fl)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===_.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===e.outsideArrows?"outside":"inside")+` q-tabs--mobile-with${!0===e.mobileArrows?"":"out"}-arrows`+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),q=(0,i.Fl)((()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+z.value+(void 0!==e.contentClass?` ${e.contentClass}`:""))),N=(0,i.Fl)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"})),D=(0,i.Fl)((()=>!0!==e.vertical&&!0===p.lang.rtl)),B=(0,i.Fl)((()=>!1===h.e&&!0===D.value));function Y({name:t,setCurrent:o,skipEmit:i}){C.value!==t&&(!0!==i&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",t),!0!==o&&void 0!==e["onUpdate:modelValue"]||(V(C.value,t),C.value=t))}function X(){g((()=>{W({width:k.value.offsetWidth,height:k.value.offsetHeight})}))}function W(t){if(void 0===N.value||null===S.value)return;const n=t[N.value.container],o=Math.min(S.value[N.value.scroll],Array.prototype.reduce.call(S.value.children,((e,t)=>e+(t[N.value.content]||0)),0)),i=n>0&&o>n;_.value=i,!0===i&&v(Z),L.value=ne.name.value===t)):null,i=void 0!==n&&null!==n&&""!==n?j.find((e=>e.name.value===n)):null;if(o&&i){const t=o.tabIndicatorRef.value,n=i.tabIndicatorRef.value;null!==M&&(clearTimeout(M),M=null),t.style.transition="none",t.style.transform="none",n.style.transition="none",n.style.transform="none";const a=t.getBoundingClientRect(),r=n.getBoundingClientRect();n.style.transform=!0===e.vertical?`translate3d(0,${a.top-r.top}px,0) scale3d(1,${r.height?a.height/r.height:1},1)`:`translate3d(${a.left-r.left}px,0,0) scale3d(${r.width?a.width/r.width:1},1,1)`,m((()=>{M=setTimeout((()=>{M=null,n.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",n.style.transform="none"}),70)}))}i&&!0===_.value&&$(i.rootRef.value)}function $(t){const{left:n,width:o,top:i,height:a}=S.value.getBoundingClientRect(),r=t.getBoundingClientRect();let s=!0===e.vertical?r.top-i:r.left-n;if(s<0)return S.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(s),void Z();s+=!0===e.vertical?r.height-a:r.width-o,s>0&&(S.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(s),Z())}function Z(){const t=S.value;if(null===t)return;const n=t.getBoundingClientRect(),o=!0===e.vertical?t.scrollTop:Math.abs(t.scrollLeft);!0===D.value?(A.value=Math.ceil(o+n.width)0):(A.value=o>0,P.value=!0===e.vertical?Math.ceil(o+n.height){!0===te(e)&&J()}),5)}function G(){U(!0===B.value?Number.MAX_SAFE_INTEGER:0)}function K(){U(!0===B.value?0:Number.MAX_SAFE_INTEGER)}function J(){null!==O&&(clearInterval(O),O=null)}function Q(t,n){const o=Array.prototype.filter.call(S.value.children,(e=>e===n||e.matches&&!0===e.matches(".q-tab.q-focusable"))),i=o.length;if(0===i)return;if(36===t)return $(o[0]),o[0].focus(),!0;if(35===t)return $(o[i-1]),o[i-1].focus(),!0;const a=t===(!0===e.vertical?38:37),r=t===(!0===e.vertical?40:39),s=!0===a?-1:!0===r?1:void 0;if(void 0!==s){const e=!0===D.value?-1:1,t=o.indexOf(n)+s*e;return t>=0&&te.modelValue),(e=>{Y({name:e,setCurrent:!0,skipEmit:!0})})),(0,o.YP)((()=>e.outsideArrows),X);const ee=(0,i.Fl)((()=>!0===B.value?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:!0===e.vertical?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}}));function te(e){const t=S.value,{get:n,set:o}=ee.value;let i=!1,a=n(t);const r=e=e)&&(i=!0,a=e),o(t,a),Z(),i}function ne(e,t){for(const n in e)if(e[n]!==t[n])return!1;return!0}function oe(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0};const n=j.filter((e=>void 0!==e.routeData&&!0===e.routeData.hasRouterLink.value)),{hash:o,query:i}=c.$route,a=Object.keys(i).length;for(const r of n){const n=!0===r.routeData.exact.value;if(!0!==r.routeData[!0===n?"linkIsExactActive":"linkIsActive"].value)continue;const{hash:s,query:l,matched:c,href:u}=r.routeData.resolvedLink.value,d=Object.keys(l).length;if(!0===n){if(s!==o)continue;if(d!==a||!1===ne(i,l))continue;e=r.name.value;break}if(""!==s&&s!==o)continue;if(0!==d&&!1===ne(l,i))continue;const h={matchedLen:c.length,queryDiff:a-d,hrefLen:u.length-s.length};if(h.matchedLen>t.matchedLen)e=r.name.value,t=h;else if(h.matchedLen===t.matchedLen){if(h.queryDifft.hrefLen&&(e=r.name.value,t=h)}}null===e&&!0===j.some((e=>void 0===e.routeData&&e.name.value===C.value))||Y({name:e,setCurrent:!0})}function ie(e){if(x(),!0!==F.value&&null!==k.value&&e.target&&"function"===typeof e.target.closest){const t=e.target.closest(".q-tab");t&&!0===k.value.contains(t)&&(F.value=!0,!0===_.value&&$(t))}}function ae(){b((()=>{F.value=!1}),30)}function re(){!1===ue.avoidRouteWatcher?y(oe):w()}function se(){if(void 0===E){const e=(0,o.YP)((()=>c.$route.fullPath),re);E=()=>{e(),E=void 0}}}function le(e){j.push(e),T.value++,X(),void 0===e.routeData||void 0===c.$route?y((()=>{if(!0===_.value){const e=C.value,t=void 0!==e&&null!==e&&""!==e?j.find((t=>t.name.value===e)):null;t&&$(t.rootRef.value)}})):(se(),!0===e.routeData.hasRouterLink.value&&re())}function ce(e){j.splice(j.indexOf(e),1),T.value--,X(),void 0!==E&&void 0!==e.routeData&&(!0===j.every((e=>void 0===e.routeData))&&E(),re())}const ue={currentModel:C,tabProps:R,hasFocus:F,hasActiveTab:I,registerTab:le,unregisterTab:ce,verifyRouteModel:re,updateModel:Y,onKbdNavigate:Q,avoidRouteWatcher:!1};function de(){null!==M&&clearTimeout(M),J(),void 0!==E&&E()}let he;return(0,o.JJ)(d.Nd,ue),(0,o.Jd)(de),(0,o.se)((()=>{he=void 0!==E,de()})),(0,o.dl)((()=>{!0===he&&se(),X()})),()=>(0,o.h)("div",{ref:k,class:H.value,role:"tablist",onFocusin:ie,onFocusout:ae},[(0,o.h)(r.Z,{onResize:W}),(0,o.h)("div",{ref:S,class:q.value,onScroll:Z},(0,u.KR)(t.default)),(0,o.h)(a.Z,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===A.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||p.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedownPassive:G,onTouchstartPassive:G,onMouseupPassive:J,onMouseleavePassive:J,onTouchendPassive:J}),(0,o.h)(a.Z,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===P.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||p.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedownPassive:K,onTouchstartPassive:K,onMouseupPassive:J,onMouseleavePassive:J,onTouchendPassive:J})])}})},1663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,i.h)("div",{class:n.value,role:"toolbar"},(0,r.KR)(t.default))}})},1973:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(499),i=n(9835),a=n(5987),r=n(2026);const s=(0,a.L)({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=(0,o.Fl)((()=>"q-toolbar__title ellipsis"+(!0===e.shrink?" col-shrink":"")));return()=>(0,i.h)("div",{class:n.value},(0,r.KR)(t.default))}})},2043:(e,t,n)=>{"use strict";n.d(t,{If:()=>m,t9:()=>b,vp:()=>x});var o=n(9835),i=n(499),a=n(899),r=n(1384),s=n(8383);const l=1e3,c=["start","center","end","start-force","center-force","end-force"],u=Array.prototype.filter,d=void 0===window.getComputedStyle(document.body).overflowAnchor?r.ZT:function(e,t){null!==e&&(void 0!==e._qOverflowAnimationFrame&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];u.call(n,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")})))};function h(e,t){return e+t}function f(e,t,n,o,i,a,r,l){const c=e===window?document.scrollingElement||document.documentElement:e,u=!0===i?"offsetWidth":"offsetHeight",d={scrollStart:0,scrollViewSize:-r-l,scrollMaxSize:0,offsetStart:-r,offsetEnd:-l};if(!0===i?(e===window?(d.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,d.scrollViewSize+=document.documentElement.clientWidth):(d.scrollStart=c.scrollLeft,d.scrollViewSize+=c.clientWidth),d.scrollMaxSize=c.scrollWidth,!0===a&&(d.scrollStart=(!0===s.e?d.scrollMaxSize-d.scrollViewSize:0)-d.scrollStart)):(e===window?(d.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,d.scrollViewSize+=document.documentElement.clientHeight):(d.scrollStart=c.scrollTop,d.scrollViewSize+=c.clientHeight),d.scrollMaxSize=c.scrollHeight),null!==n)for(let s=n.previousElementSibling;null!==s;s=s.previousElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetStart+=s[u]);if(null!==o)for(let s=o.nextElementSibling;null!==s;s=s.nextElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetEnd+=s[u]);if(t!==e){const n=c.getBoundingClientRect(),o=t.getBoundingClientRect();!0===i?(d.offsetStart+=o.left-n.left,d.offsetEnd-=o.width):(d.offsetStart+=o.top-n.top,d.offsetEnd-=o.height),e!==window&&(d.offsetStart+=d.scrollStart),d.offsetEnd+=d.scrollMaxSize-d.offsetStart}return d}function p(e,t,n,o){"end"===t&&(t=(e===window?document.body:e)[!0===n?"scrollWidth":"scrollHeight"]),e===window?!0===n?(!0===o&&(t=(!0===s.e?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===o&&(t=(!0===s.e?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function g(e,t,n,o){if(n>=o)return 0;const i=t.length,a=Math.floor(n/l),r=Math.floor((o-1)/l)+1;let s=e.slice(a,r).reduce(h,0);return n%l!==0&&(s-=t.slice(a*l,n).reduce(h,0)),o%l!==0&&o!==i&&(s-=t.slice(o,r*l).reduce(h,0)),s}const v={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},m=Object.keys(v),b={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...v};function x({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:r}){const s=(0,o.FN)(),{props:v,emit:m,proxy:b}=s,{$q:x}=b;let y,w,k,S,C=[];const _=(0,i.iH)(0),A=(0,i.iH)(0),P=(0,i.iH)({}),L=(0,i.iH)(null),j=(0,i.iH)(null),T=(0,i.iH)(null),F=(0,i.iH)({from:0,to:0}),E=(0,i.Fl)((()=>void 0!==v.tableColspan?v.tableColspan:100));void 0===r&&(r=(0,i.Fl)((()=>v.virtualScrollItemSize)));const M=(0,i.Fl)((()=>r.value+";"+v.virtualScrollHorizontal)),O=(0,i.Fl)((()=>M.value+";"+v.virtualScrollSliceRatioBefore+";"+v.virtualScrollSliceRatioAfter));function R(){B(w,!0)}function I(e){B(void 0===e?w:e)}function z(o,i){const a=t();if(void 0===a||null===a||8===a.nodeType)return;const r=f(a,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd);k!==r.scrollViewSize&&Y(r.scrollViewSize),q(a,r,Math.min(e.value-1,Math.max(0,parseInt(o,10)||0)),0,c.indexOf(i)>-1?i:w>-1&&o>w?"end":"start")}function H(){const o=t();if(void 0===o||null===o||8===o.nodeType)return;const i=f(o,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd),a=e.value-1,r=i.scrollMaxSize-i.offsetStart-i.offsetEnd-A.value;if(y===i.scrollStart)return;if(i.scrollMaxSize<=0)return void q(o,i,0,0);k!==i.scrollViewSize&&Y(i.scrollViewSize),N(F.value.from);const s=Math.floor(i.scrollMaxSize-Math.max(i.scrollViewSize,i.offsetEnd)-Math.min(S[a],i.scrollViewSize/2));if(s>0&&Math.ceil(i.scrollStart)>=s)return void q(o,i,a,i.scrollMaxSize-i.offsetEnd-C.reduce(h,0));let c=0,u=i.scrollStart-i.offsetStart,d=u;if(u<=r&&u+i.scrollViewSize>=_.value)u-=_.value,c=F.value.from,d=u;else for(let e=0;u>=C[e]&&c0&&c-i.scrollViewSize?(c++,d=u):d=S[c]+u;q(o,i,c,d)}function q(t,n,o,i,a){const r="string"===typeof a&&a.indexOf("-force")>-1,s=!0===r?a.replace("-force",""):a,l=void 0!==s?s:"start";let c=Math.max(0,o-P.value[l]),u=c+P.value.total;u>e.value&&(u=e.value,c=Math.max(0,u-P.value.total)),y=n.scrollStart;const f=c!==F.value.from||u!==F.value.to;if(!1===f&&void 0===s)return void W(o);const{activeElement:m}=document,b=T.value;!0===f&&null!==b&&b!==m&&!0===b.contains(m)&&(b.addEventListener("focusout",D),setTimeout((()=>{null!==b&&b.removeEventListener("focusout",D)}))),d(b,o-c);const w=void 0!==s?S.slice(c,o).reduce(h,0):0;if(!0===f){const t=u>=F.value.from&&c<=F.value.to?F.value.to:u;F.value={from:c,to:t},_.value=g(C,S,0,c),A.value=g(C,S,u,e.value),requestAnimationFrame((()=>{F.value.to!==u&&y===n.scrollStart&&(F.value={from:F.value.from,to:u},A.value=g(C,S,u,e.value))}))}requestAnimationFrame((()=>{if(y!==n.scrollStart)return;!0===f&&N(c);const e=S.slice(c,o).reduce(h,0),a=e+n.offsetStart+_.value,l=a+S[o];let u=a+i;if(void 0!==s){const t=e-w,i=n.scrollStart+t;u=!0!==r&&ie.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),o=n.length,i=!0===v.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let a,r,s=e;for(let e=0;e=a;o--)S[o]=i;const s=Math.floor((e.value-1)/l);C=[];for(let o=0;o<=s;o++){let t=0;const n=Math.min((o+1)*l,e.value);for(let e=o*l;e=0?(N(F.value.from),(0,o.Y3)((()=>{z(t)}))):V()}function Y(e){if(void 0===e&&"undefined"!==typeof window){const o=t();void 0!==o&&null!==o&&8!==o.nodeType&&(e=f(o,n(),L.value,j.value,v.virtualScrollHorizontal,x.lang.rtl,v.virtualScrollStickySizeStart,v.virtualScrollStickySizeEnd).scrollViewSize)}k=e;const o=parseFloat(v.virtualScrollSliceRatioBefore)||0,i=parseFloat(v.virtualScrollSliceRatioAfter)||0,a=1+o+i,s=void 0===e||e<=0?1:Math.ceil(e/r.value),l=Math.max(1,s,Math.ceil((v.virtualScrollSliceSize>0?v.virtualScrollSliceSize:10)/a));P.value={total:Math.ceil(l*a),start:Math.ceil(l*o),center:Math.ceil(l*(.5+o)),end:Math.ceil(l*(1+o)),view:s}}function X(e,t){const n=!0===v.virtualScrollHorizontal?"width":"height",i={["--q-virtual-scroll-item-"+n]:r.value+"px"};return["tbody"===e?(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:L},[(0,o.h)("tr",[(0,o.h)("td",{style:{[n]:`${_.value}px`,...i},colspan:E.value})])]):(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:L,style:{[n]:`${_.value}px`,...i}}),(0,o.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:T,tabindex:-1},t.flat()),"tbody"===e?(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:j},[(0,o.h)("tr",[(0,o.h)("td",{style:{[n]:`${A.value}px`,...i},colspan:E.value})])]):(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:j,style:{[n]:`${A.value}px`,...i}})]}function W(e){w!==e&&(void 0!==v.onVirtualScroll&&m("virtualScroll",{index:e,from:F.value.from,to:F.value.to-1,direction:e{Y()})),(0,o.YP)(M,R),Y();const V=(0,a.Z)(H,!0===x.platform.is.ios?120:35);(0,o.wF)((()=>{Y()}));let $=!1;return(0,o.se)((()=>{$=!0})),(0,o.dl)((()=>{if(!0!==$)return;const e=t();void 0!==y&&void 0!==e&&null!==e&&8!==e.nodeType?p(e,y,v.virtualScrollHorizontal,x.lang.rtl):z(w)})),(0,o.Jd)((()=>{V.cancel()})),Object.assign(b,{scrollTo:z,reset:R,refresh:I}),{virtualScrollSliceRange:F,virtualScrollSliceSizeComputed:P,setVirtualScrollSize:Y,onVirtualScrollEvt:V,localResetVirtualScroll:B,padVirtualScroll:X,scrollTo:z,reset:R,refresh:I}}},5065:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,jO:()=>r});var o=n(499);const i={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},a=Object.keys(i),r={align:{type:String,validator:e=>a.includes(e)}};function s(e){return(0,o.Fl)((()=>{const t=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${i[t]}`}))}},3978:(e,t,n)=>{"use strict";function o(){const e=new Map;return{getCache:function(t,n){return void 0===e[t]?e[t]=n:e[t]},getCacheWithFn:function(t,n){return void 0===e[t]?e[t]=n():e[t]}}}n.d(t,{Z:()=>o})},8234:(e,t,n)=>{"use strict";n.d(t,{S:()=>i,Z:()=>a});var o=n(499);const i={dark:{type:Boolean,default:null}};function a(e,t){return(0,o.Fl)((()=>null===e.dark?t.dark.isActive:e.dark))}},6169:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>O,yV:()=>T,HJ:()=>E,Cl:()=>F,tL:()=>M});var o=n(9835),i=n(499),a=n(1957),r=n(7506),s=n(2857),l=n(3940),c=n(8234),u=n(5439);function d({validate:e,resetValidation:t,requiresQForm:n}){const i=(0,o.f3)(u.vh,!1);if(!1!==i){const{props:n,proxy:a}=(0,o.FN)();Object.assign(a,{validate:e,resetValidation:t}),(0,o.YP)((()=>n.disable),(e=>{!0===e?("function"===typeof t&&t(),i.unbindComponent(a)):i.bindComponent(a)})),(0,o.bv)((()=>{!0!==n.disable&&i.bindComponent(a)})),(0,o.Jd)((()=>{!0!==n.disable&&i.unbindComponent(a)}))}else!0===n&&console.error("Parent QForm not found on useFormChild()!")}const h=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,f=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,p=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,g=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,v=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,m={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>h.test(e),hexaColor:e=>f.test(e),hexOrHexaColor:e=>p.test(e),rgbColor:e=>g.test(e),rgbaColor:e=>v.test(e),rgbOrRgbaColor:e=>g.test(e)||v.test(e),hexOrRgbColor:e=>h.test(e)||g.test(e),hexaOrRgbaColor:e=>f.test(e)||v.test(e),anyColor:e=>p.test(e)||g.test(e)||v.test(e)};var b=n(899),x=n(3251);const y=[!0,!1,"ondemand"],w={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>y.includes(e)}};function k(e,t){const{props:n,proxy:a}=(0,o.FN)(),r=(0,i.iH)(!1),s=(0,i.iH)(null),l=(0,i.iH)(null);d({validate:y,resetValidation:v});let c,u=0;const h=(0,i.Fl)((()=>void 0!==n.rules&&null!==n.rules&&n.rules.length>0)),f=(0,i.Fl)((()=>!0!==n.disable&&!0===h.value)),p=(0,i.Fl)((()=>!0===n.error||!0===r.value)),g=(0,i.Fl)((()=>"string"===typeof n.errorMessage&&n.errorMessage.length>0?n.errorMessage:s.value));function v(){u++,t.value=!1,l.value=null,r.value=!1,s.value=null,k.cancel()}function y(e=n.modelValue){if(!0!==f.value)return!0;const o=++u,i=!0!==t.value?()=>{l.value=!0}:()=>{},a=(e,n)=>{!0===e&&i(),r.value=e,s.value=n||null,t.value=!1},c=[];for(let t=0;t{if(void 0===e||!1===Array.isArray(e)||0===e.length)return o===u&&a(!1),!0;const t=e.find((e=>!1===e||"string"===typeof e));return o===u&&a(void 0!==t,t),void 0===t}),(e=>(o===u&&(console.error(e),a(!0)),!1))))}function w(e){!0===f.value&&"ondemand"!==n.lazyRules&&(!0===l.value||!0!==n.lazyRules&&!0!==e)&&k()}(0,o.YP)((()=>n.modelValue),(()=>{w()})),(0,o.YP)((()=>n.reactiveRules),(e=>{!0===e?void 0===c&&(c=(0,o.YP)((()=>n.rules),(()=>{w(!0)}))):void 0!==c&&(c(),c=void 0)}),{immediate:!0}),(0,o.YP)(e,(e=>{!0===e?null===l.value&&(l.value=!1):!1===l.value&&(l.value=!0,!0===f.value&&"ondemand"!==n.lazyRules&&!1===t.value&&k())}));const k=(0,b.Z)(y,0);return(0,o.Jd)((()=>{void 0!==c&&c(),k.cancel()})),Object.assign(a,{resetValidation:v,validate:y}),(0,x.g)(a,"hasError",(()=>p.value)),{isDirtyModel:l,hasRules:h,hasError:p,errorMessage:g,validate:y,resetValidation:v}}const S=/^on[A-Z]/;function C(e,t){const n={listeners:(0,i.iH)({}),attributes:(0,i.iH)({})};function a(){const o={},i={};for(const t in e)"class"!==t&&"style"!==t&&!1===S.test(t)&&(o[t]=e[t]);for(const e in t.props)!0===S.test(e)&&(i[e]=t.props[e]);n.attributes.value=o,n.listeners.value=i}return(0,o.Xn)(a),a(),n}var _=n(2026),A=n(796),P=n(1384),L=n(7026);function j(e){return void 0===e?`f_${(0,A.Z)()}`:e}function T(e){return void 0!==e&&null!==e&&(""+e).length>0}const F={...c.S,...w,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},E=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function M(){const{props:e,attrs:t,proxy:n,vnode:a}=(0,o.FN)(),r=(0,c.Z)(e,n.$q);return{isDark:r,editable:(0,i.Fl)((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:(0,i.iH)(!1),focused:(0,i.iH)(!1),hasPopupOpen:!1,splitAttrs:C(t,a),targetUid:(0,i.iH)(j(e.for)),rootRef:(0,i.iH)(null),targetRef:(0,i.iH)(null),controlRef:(0,i.iH)(null)}}function O(e){const{props:t,emit:n,slots:c,attrs:u,proxy:d}=(0,o.FN)(),{$q:h}=d;let f=null;void 0===e.hasValue&&(e.hasValue=(0,i.Fl)((()=>T(t.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{n("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:z,onFocusout:H}),Object.assign(e,{clearValue:q,onControlFocusin:z,onControlFocusout:H,focus:R}),void 0===e.computedCounter&&(e.computedCounter=(0,i.Fl)((()=>{if(!1!==t.counter){const e="string"===typeof t.modelValue||"number"===typeof t.modelValue?(""+t.modelValue).length:!0===Array.isArray(t.modelValue)?t.modelValue.length:0,n=void 0!==t.maxlength?t.maxlength:t.maxValues;return e+(void 0!==n?" / "+n:"")}})));const{isDirtyModel:p,hasRules:g,hasError:v,errorMessage:m,resetValidation:b}=k(e.focused,e.innerLoading),x=void 0!==e.floatingLabel?(0,i.Fl)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,i.Fl)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),y=(0,i.Fl)((()=>!0===t.bottomSlots||void 0!==t.hint||!0===g.value||!0===t.counter||null!==t.error)),w=(0,i.Fl)((()=>!0===t.filled?"filled":!0===t.outlined?"outlined":!0===t.borderless?"borderless":t.standout?"standout":"standard")),S=(0,i.Fl)((()=>`q-field row no-wrap items-start q-field--${w.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===t.rounded?" q-field--rounded":"")+(!0===t.square?" q-field--square":"")+(!0===x.value?" q-field--float":"")+(!0===A.value?" q-field--labeled":"")+(!0===t.dense?" q-field--dense":"")+(!0===t.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===v.value?" q-field--error":"")+(!0===v.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==t.hideBottomSpace&&!0===y.value?" q-field--with-bottom":"")+(!0===t.disable?" q-field--disabled":!0===t.readonly?" q-field--readonly":""))),C=(0,i.Fl)((()=>"q-field__control relative-position row no-wrap"+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")+(!0===v.value?" text-negative":"string"===typeof t.standout&&t.standout.length>0&&!0===e.focused.value?` ${t.standout}`:void 0!==t.color?` text-${t.color}`:""))),A=(0,i.Fl)((()=>!0===t.labelSlot||void 0!==t.label)),F=(0,i.Fl)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==t.labelColor&&!0!==v.value?` text-${t.labelColor}`:""))),E=(0,i.Fl)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:x.value,modelValue:t.modelValue,emitValue:e.emitValue}))),M=(0,i.Fl)((()=>{const n={for:e.targetUid.value};return!0===t.disable?n["aria-disabled"]="true":!0===t.readonly&&(n["aria-readonly"]="true"),n}));function O(){const t=document.activeElement;let n=void 0!==e.targetRef&&e.targetRef.value;!n||null!==t&&t.id===e.targetUid.value||(!0===n.hasAttribute("tabindex")||(n=n.querySelector("[tabindex]")),n&&n!==t&&n.focus({preventScroll:!0}))}function R(){(0,L.jd)(O)}function I(){(0,L.fP)(O);const t=document.activeElement;null!==t&&e.rootRef.value.contains(t)&&t.blur()}function z(t){null!==f&&(clearTimeout(f),f=null),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,n("focus",t))}function H(t,o){null!==f&&clearTimeout(f),f=setTimeout((()=>{f=null,(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,n("blur",t)),void 0!==o&&o())}))}function q(i){if((0,P.NS)(i),!0!==h.platform.is.mobile){const t=void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value;t.focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===t.type&&(e.inputRef.value.value=null),n("update:modelValue",null),n("clear",t.modelValue),(0,o.Y3)((()=>{b(),!0!==h.platform.is.mobile&&(p.value=!1)}))}function N(){const n=[];return void 0!==c.prepend&&n.push((0,o.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:P.X$},c.prepend())),n.push((0,o.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},D())),!0===v.value&&!1===t.noErrorIcon&&n.push(Y("error",[(0,o.h)(s.Z,{name:h.iconSet.field.error,color:"negative"})])),!0===t.loading||!0===e.innerLoading.value?n.push(Y("inner-loading-append",void 0!==c.loading?c.loading():[(0,o.h)(l.Z,{color:t.color})])):!0===t.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&n.push(Y("inner-clearable-append",[(0,o.h)(s.Z,{class:"q-field__focusable-action",tag:"button",name:t.clearIcon||h.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:q})])),void 0!==c.append&&n.push((0,o.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:P.X$},c.append())),void 0!==e.getInnerAppend&&n.push(Y("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&n.push(e.getControlChild()),n}function D(){const n=[];return void 0!==t.prefix&&null!==t.prefix&&n.push((0,o.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&n.push(e.getShadowControl()),void 0!==e.getControl?n.push(e.getControl()):void 0!==c.rawControl?n.push(c.rawControl()):void 0!==c.control&&n.push((0,o.h)("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0},c.control(E.value))),!0===A.value&&n.push((0,o.h)("div",{class:F.value},(0,_.KR)(c.label,t.label))),void 0!==t.suffix&&null!==t.suffix&&n.push((0,o.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),n.concat((0,_.KR)(c.default))}function B(){let n,i;!0===v.value?null!==m.value?(n=[(0,o.h)("div",{role:"alert"},m.value)],i=`q--slot-error-${m.value}`):(n=(0,_.KR)(c.error),i="q--slot-error"):!0===t.hideHint&&!0!==e.focused.value||(void 0!==t.hint?(n=[(0,o.h)("div",t.hint)],i=`q--slot-hint-${t.hint}`):(n=(0,_.KR)(c.hint),i="q--slot-hint"));const r=!0===t.counter||void 0!==c.counter;if(!0===t.hideBottomSpace&&!1===r&&void 0===n)return;const s=(0,o.h)("div",{key:i,class:"q-field__messages col"},n);return(0,o.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==t.hideBottomSpace?"animated":"stale"),onClick:P.X$},[!0===t.hideBottomSpace?s:(0,o.h)(a.uT,{name:"q-transition--field-message"},(()=>s)),!0===r?(0,o.h)("div",{class:"q-field__counter"},void 0!==c.counter?c.counter():e.computedCounter.value):null])}function Y(e,t){return null===t?null:(0,o.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},t)}(0,o.YP)((()=>t.for),(t=>{e.targetUid.value=j(t)}));let X=!1;return(0,o.se)((()=>{X=!0})),(0,o.dl)((()=>{!0===X&&!0===t.autofocus&&d.focus()})),(0,o.bv)((()=>{!0===r.uX.value&&void 0===t.for&&(e.targetUid.value=j()),!0===t.autofocus&&d.focus()})),(0,o.Jd)((()=>{null!==f&&clearTimeout(f)})),Object.assign(d,{focus:R,blur:I}),function(){const n=void 0===e.getControl&&void 0===c.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0,...M.value}:M.value;return(0,o.h)("label",{ref:e.rootRef,class:[S.value,u.class],style:u.style,...n},[void 0!==c.before?(0,o.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:P.X$},c.before()):null,(0,o.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,o.h)("div",{ref:e.controlRef,class:C.value,tabindex:-1,...e.controlEvents},N()),!0===y.value?B():null]),void 0!==c.after?(0,o.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:P.X$},c.after()):null])}}},9256:(e,t,n)=>{"use strict";n.d(t,{Do:()=>l,Fz:()=>a,Vt:()=>r,eX:()=>s});var o=n(499),i=n(9835);const a={name:String};function r(e){return(0,o.Fl)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function s(e={}){return(t,n,o)=>{t[n]((0,i.h)("input",{class:"hidden"+(o||""),...e.value}))}}function l(e){return(0,o.Fl)((()=>e.name||e.for))}},4953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(5310);function a(e,t,n){let a;function r(){void 0!==a&&(i.Z.remove(a),a=void 0)}return(0,o.Jd)((()=>{!0===e.value&&r()})),{removeFromHistory:r,addToHistory(){a={condition:()=>!0===n.value,handler:t},i.Z.add(a)}}}},2802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(7506);const i=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,a=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,r=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,s=/[a-z0-9_ -]$/i;function l(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,e(t)}else if("compositionupdate"===t.type&&!0!==t.target.qComposing&&"string"===typeof t.data){const e=!0===o.Lp.is.firefox?!1===s.test(t.data):!0===i.test(t.data)||!0===a.test(t.data)||!0===r.test(t.data);!0===e&&(t.target.qComposing=!0)}}}},3842:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,gH:()=>r,vr:()=>a});var o=n(9835),i=n(2046);const a={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},r=["beforeShow","show","beforeHide","hide"];function s({showing:e,canShow:t,hideOnRouteChange:n,handleShow:a,handleHide:r,processOnMount:s}){const l=(0,o.FN)(),{props:c,emit:u,proxy:d}=l;let h;function f(t){!0===e.value?v(t):p(t)}function p(e){if(!0===c.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==t&&!0!==t(e))return;const n=void 0!==c["onUpdate:modelValue"];!0===n&&(u("update:modelValue",!0),h=e,(0,o.Y3)((()=>{h===e&&(h=void 0)}))),null!==c.modelValue&&!1!==n||g(e)}function g(t){!0!==e.value&&(e.value=!0,u("beforeShow",t),void 0!==a?a(t):u("show",t))}function v(e){if(!0===c.disable)return;const t=void 0!==c["onUpdate:modelValue"];!0===t&&(u("update:modelValue",!1),h=e,(0,o.Y3)((()=>{h===e&&(h=void 0)}))),null!==c.modelValue&&!1!==t||m(e)}function m(t){!1!==e.value&&(e.value=!1,u("beforeHide",t),void 0!==r?r(t):u("hide",t))}function b(t){if(!0===c.disable&&!0===t)void 0!==c["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===t!==e.value){const e=!0===t?g:m;e(h)}}(0,o.YP)((()=>c.modelValue),b),void 0!==n&&!0===(0,i.Rb)(l)&&(0,o.YP)((()=>d.$route.fullPath),(()=>{!0===n.value&&!0===e.value&&v()})),!0===s&&(0,o.bv)((()=>{b(c.modelValue)}));const x={show:p,hide:v,toggle:f};return Object.assign(d,x),x}},5475:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>y,vZ:()=>v,K6:()=>x,t6:()=>b});var o=n(9835),i=n(499),a=n(1957),r=n(7506),s=n(5987),l=n(9367),c=n(1384),u=n(2589);function d(e){const t=[.06,6,50];return"string"===typeof e&&e.length&&e.split(":").forEach(((e,n)=>{const o=parseFloat(e);o&&(t[n]=o)})),t}const h=(0,s.f)({name:"touch-swipe",beforeMount(e,{value:t,arg:n,modifiers:o}){if(!0!==o.mouse&&!0!==r.Lp.has.touch)return;const i=!0===o.mouseCapture?"Capture":"",a={handler:t,sensitivity:d(n),direction:(0,l.R)(o),noop:c.ZT,mouseStart(e){(0,l.n)(e,a)&&(0,c.du)(e)&&((0,c.M0)(a,"temp",[[document,"mousemove","move",`notPassive${i}`],[document,"mouseup","end","notPassiveCapture"]]),a.start(e,!0))},touchStart(e){if((0,l.n)(e,a)){const t=e.target;(0,c.M0)(a,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),a.start(e)}},start(t,n){!0===r.Lp.is.firefox&&(0,c.Jf)(e,!0);const o=(0,c.FK)(t);a.event={x:o.left,y:o.top,time:Date.now(),mouse:!0===n,dir:!1}},move(e){if(void 0===a.event)return;if(!1!==a.event.dir)return void(0,c.NS)(e);const t=Date.now()-a.event.time;if(0===t)return;const n=(0,c.FK)(e),o=n.left-a.event.x,i=Math.abs(o),r=n.top-a.event.y,s=Math.abs(r);if(!0!==a.event.mouse){if(ia.sensitivity[0]&&(a.event.dir=r<0?"up":"down"),!0===a.direction.horizontal&&i>s&&s<100&&l>a.sensitivity[0]&&(a.event.dir=o<0?"left":"right"),!0===a.direction.up&&ia.sensitivity[0]&&(a.event.dir="up"),!0===a.direction.down&&i0&&i<100&&d>a.sensitivity[0]&&(a.event.dir="down"),!0===a.direction.left&&i>s&&o<0&&s<100&&l>a.sensitivity[0]&&(a.event.dir="left"),!0===a.direction.right&&i>s&&o>0&&s<100&&l>a.sensitivity[0]&&(a.event.dir="right"),!1!==a.event.dir?((0,c.NS)(e),!0===a.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,u.M)(),a.styleCleanup=e=>{a.styleCleanup=void 0,document.body.classList.remove("non-selectable");const t=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(t,50):t()}),a.handler({evt:e,touch:!0!==a.event.mouse,mouse:a.event.mouse,direction:a.event.dir,duration:t,distance:{x:i,y:s}})):a.end(e)},end(t){void 0!==a.event&&((0,c.ul)(a,"temp"),!0===r.Lp.is.firefox&&(0,c.Jf)(e,!1),void 0!==a.styleCleanup&&a.styleCleanup(!0),void 0!==t&&!1!==a.event.dir&&(0,c.NS)(t),a.event=void 0)}};if(e.__qtouchswipe=a,!0===o.mouse){const t=!0===o.mouseCapture||!0===o.mousecapture?"Capture":"";(0,c.M0)(a,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===r.Lp.has.touch&&(0,c.M0)(a,"main",[[e,"touchstart","touchStart","passive"+(!0===o.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchswipe;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof t.value&&n.end(),n.handler=t.value),n.direction=(0,l.R)(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;void 0!==t&&((0,c.ul)(t,"main"),(0,c.ul)(t,"temp"),!0===r.Lp.is.firefox&&(0,c.Jf)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchswipe)}});var f=n(3978),p=n(2026),g=n(2046);const v={name:{required:!0},disable:Boolean},m={setup(e,{slots:t}){return()=>(0,o.h)("div",{class:"q-panel scroll",role:"tabpanel"},(0,p.KR)(t.default))}},b={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},x=["update:modelValue","beforeTransition","transition"];function y(){const{props:e,emit:t,proxy:n}=(0,o.FN)(),{getCacheWithFn:r}=(0,f.Z)();let s,l;const c=(0,i.iH)(null),u=(0,i.iH)(null);function d(t){const o=!0===e.vertical?"up":"left";F((!0===n.$q.lang.rtl?-1:1)*(t.direction===o?1:-1))}const v=(0,i.Fl)((()=>[[h,d,void 0,{horizontal:!0!==e.vertical,vertical:e.vertical,mouse:!0}]])),b=(0,i.Fl)((()=>e.transitionPrev||"slide-"+(!0===e.vertical?"down":"right"))),x=(0,i.Fl)((()=>e.transitionNext||"slide-"+(!0===e.vertical?"up":"left"))),y=(0,i.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`)),w=(0,i.Fl)((()=>"string"===typeof e.modelValue||"number"===typeof e.modelValue?e.modelValue:String(e.modelValue))),k=(0,i.Fl)((()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax}))),S=(0,i.Fl)((()=>void 0!==e.keepAliveInclude||void 0!==e.keepAliveExclude));function C(){F(1)}function _(){F(-1)}function A(e){t("update:modelValue",e)}function P(e){return void 0!==e&&null!==e&&""!==e}function L(e){return s.findIndex((t=>t.props.name===e&&""!==t.props.disable&&!0!==t.props.disable))}function j(){return s.filter((e=>""!==e.props.disable&&!0!==e.props.disable))}function T(t){const n=0!==t&&!0===e.animated&&-1!==c.value?"q-transition--"+(-1===t?b.value:x.value):null;u.value!==n&&(u.value=n)}function F(n,o=c.value){let i=o+n;while(i>-1&&i{l=!1}));i+=n}!0===e.infinite&&s.length>0&&-1!==o&&o!==s.length&&F(n,-1===n?s.length:-1)}function E(){const t=L(e.modelValue);return c.value!==t&&(c.value=t),!0}function M(){const t=!0===P(e.modelValue)&&E()&&s[c.value];return!0===e.keepAlive?[(0,o.h)(o.Ob,k.value,[(0,o.h)(!0===S.value?r(w.value,(()=>({...m,name:w.value}))):m,{key:w.value,style:y.value},(()=>t))])]:[(0,o.h)("div",{class:"q-panel scroll",style:y.value,key:w.value,role:"tabpanel"},[t])]}function O(){if(0!==s.length)return!0===e.animated?[(0,o.h)(a.uT,{name:u.value},M)]:M()}function R(e){return s=(0,g.Pf)((0,p.KR)(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&!0===P(e.props.name))),s.length}function I(){return s}return(0,o.YP)((()=>e.modelValue),((e,n)=>{const i=!0===P(e)?L(e):-1;!0!==l&&T(-1===i?0:i{t("transition",e,n)})))})),Object.assign(n,{next:C,previous:_,goTo:A}),{panelIndex:c,panelDirectives:v,updatePanelsList:R,updatePanelIndex:E,getPanelContent:O,getEnabledPanels:j,getPanels:I,isValidPanelName:P,keepAliveProps:k,needsUniqueKeepAliveWrapper:S,goToPanelByOffset:F,goToPanel:A,nextPanel:C,previousPanel:_}}},1518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(499),i=n(9835),a=(n(1384),n(7026)),r=n(6669),s=n(2909),l=n(3251);function c(e){e=e.parent;while(void 0!==e&&null!==e){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function u(e,t,n,u){const d=(0,o.iH)(!1),h=(0,o.iH)(!1);let f=null;const p={},g="dialog"===u&&c(e);function v(t){if(!0===t)return(0,a.xF)(p),void(h.value=!0);h.value=!1,!1===d.value&&(!1===g&&null===f&&(f=(0,r.q_)(!1,u)),d.value=!0,s.Q$.push(e.proxy),(0,a.YX)(p))}function m(t){if(h.value=!1,!0!==t)return;(0,a.xF)(p),d.value=!1;const n=s.Q$.indexOf(e.proxy);-1!==n&&s.Q$.splice(n,1),null!==f&&((0,r.pB)(f),f=null)}return(0,i.Ah)((()=>{m(!0)})),e.proxy.__qPortal=!0,(0,l.g)(e.proxy,"contentEl",(()=>t.value)),{showPortal:v,hidePortal:m,portalIsActive:d,portalIsAccessible:h,renderPortal:()=>!0===g?n():!0===d.value?[(0,i.h)(i.lR,{to:f},n())]:void 0}}},9754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(1384),i=n(3701),a=n(7506);let r,s,l,c,u,d,h=0,f=!1,p=null;function g(e){v(e)&&(0,o.NS)(e)}function v(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=(0,o.AZ)(e),n=e.shiftKey&&!e.deltaX,a=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||a?e.deltaY:e.deltaX;for(let o=0;o0&&e.scrollTop+e.clientHeight===e.scrollHeight:r<0&&0===e.scrollLeft||r>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0}function m(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function b(e){!0!==f&&(f=!0,requestAnimationFrame((()=>{f=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;void 0!==l&&t===window.innerHeight||(l=n-t,document.scrollingElement.scrollTop=o),o>l&&(document.scrollingElement.scrollTop-=Math.ceil((o-l)/8))})))}function x(e){const t=document.body,n=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:l}=window.getComputedStyle(t);r=(0,i.OI)(window),s=(0,i.u3)(window),c=t.style.left,u=t.style.top,d=window.location.href,t.style.left=`-${r}px`,t.style.top=`-${s}px`,"hidden"!==l&&("scroll"===l||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===a.Lp.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",b,o.rU.passiveCapture),window.visualViewport.addEventListener("scroll",b,o.rU.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",m,o.rU.passiveCapture))}!0===a.Lp.is.desktop&&!0===a.Lp.is.mac&&window[`${e}EventListener`]("wheel",g,o.rU.notPassive),"remove"===e&&(!0===a.Lp.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",b,o.rU.passiveCapture),window.visualViewport.removeEventListener("scroll",b,o.rU.passiveCapture)):window.removeEventListener("scroll",m,o.rU.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=c,t.style.top=u,window.location.href===d&&window.scrollTo(r,s),l=void 0)}function y(e){let t="add";if(!0===e){if(h++,null!==p)return clearTimeout(p),void(p=null);if(h>1)return}else{if(0===h)return;if(h--,h>0)return;if(t="remove",!0===a.Lp.is.ios&&!0===a.Lp.is.nativeMobile)return null!==p&&clearTimeout(p),void(p=setTimeout((()=>{x(t),p=null}),100))}x(t)}function w(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,y(t))}}}},5917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(499),i=n(9835);function a(e,t){const n=(0,o.iH)(null),a=(0,o.Fl)((()=>!0===e.disable?null:(0,i.h)("span",{ref:n,class:"no-outline",tabindex:-1})));function r(e){const o=t.value;void 0!==e&&0===e.type.indexOf("key")?null!==o&&document.activeElement!==o&&!0===o.contains(document.activeElement)&&o.focus():null!==n.value&&(void 0===e||null!==o&&!0===o.contains(e.target))&&n.value.focus()}return{refocusTargetEl:a,refocusTarget:r}}},945:(e,t,n)=>{"use strict";n.d(t,{$:()=>h,Z:()=>f});var o=n(9835),i=n(499),a=n(2046);function r(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function s(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function l(e,t){for(const n in t){const o=t[n],i=e[n];if("string"===typeof o){if(o!==i)return!1}else if(!1===Array.isArray(i)||i.length!==o.length||o.some(((e,t)=>e!==i[t])))return!1}return!0}function c(e,t){return!0===Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function u(e,t){return!0===Array.isArray(e)?c(e,t):!0===Array.isArray(t)?c(t,e):e===t}function d(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!1===u(e[n],t[n]))return!1;return!0}const h={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function f({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=(0,o.FN)(),{props:c,proxy:u,emit:h}=n,f=(0,a.Rb)(n),p=(0,i.Fl)((()=>!0!==c.disable&&void 0!==c.href)),g=!0===t?(0,i.Fl)((()=>!0===f&&!0!==c.disable&&!0!==p.value&&void 0!==c.to&&null!==c.to&&""!==c.to)):(0,i.Fl)((()=>!0===f&&!0!==p.value&&void 0!==c.to&&null!==c.to&&""!==c.to)),v=(0,i.Fl)((()=>!0===g.value?_(c.to):null)),m=(0,i.Fl)((()=>null!==v.value)),b=(0,i.Fl)((()=>!0===p.value||!0===m.value)),x=(0,i.Fl)((()=>"a"===c.type||!0===b.value?"a":c.tag||e||"div")),y=(0,i.Fl)((()=>!0===p.value?{href:c.href,target:c.target}:!0===m.value?{href:v.value.href,target:c.target}:{})),w=(0,i.Fl)((()=>{if(!1===m.value)return-1;const{matched:e}=v.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const o=u.$route.matched;if(0===o.length)return-1;const i=o.findIndex(s.bind(null,n));if(i>-1)return i;const a=r(e[t-2]);return t>1&&r(n)===a&&o[o.length-1].path!==a?o.findIndex(s.bind(null,e[t-2])):i})),k=(0,i.Fl)((()=>!0===m.value&&-1!==w.value&&l(u.$route.params,v.value.params))),S=(0,i.Fl)((()=>!0===k.value&&w.value===u.$route.matched.length-1&&d(u.$route.params,v.value.params))),C=(0,i.Fl)((()=>!0===m.value?!0===S.value?` ${c.exactActiveClass} ${c.activeClass}`:!0===c.exact?"":!0===k.value?` ${c.activeClass}`:"":""));function _(e){try{return u.$router.resolve(e)}catch(t){}return null}function A(e,{returnRouterError:t,to:n=c.to,replace:o=c.replace}={}){if(!0===c.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===c.target)return Promise.resolve(!1);e.preventDefault();const i=u.$router[!0===o?"replace":"push"](n);return!0===t?i:i.then((()=>{})).catch((()=>{}))}function P(e){if(!0===m.value){const t=t=>A(e,t);h("click",e,t),!0!==e.defaultPrevented&&t()}else h("click",e)}return{hasRouterLink:m,hasHrefLink:p,hasLink:b,linkTag:x,resolvedLink:v,linkIsActive:k,linkIsExactActive:S,linkClass:C,linkAttrs:y,getLink:_,navigateToRouterLink:A,navigateOnClick:P}}},244:(e,t,n)=>{"use strict";n.d(t,{LU:()=>a,Ok:()=>i,ZP:()=>r});var o=n(499);const i={xs:18,sm:24,md:32,lg:38,xl:46},a={size:String};function r(e,t=i){return(0,o.Fl)((()=>void 0!==e.size?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null))}},6916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(2046);function a(){let e;const t=(0,o.FN)();function n(){e=void 0}return(0,o.se)(n),(0,o.Jd)(n),{removeTick:n,registerTick(n){e=n,(0,o.Y3)((()=>{e===n&&(!1===(0,i.$D)(t)&&e(),e=void 0)}))}}}},2695:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(2046);function a(){let e=null;const t=(0,o.FN)();function n(){null!==e&&(clearTimeout(e),e=null)}return(0,o.se)(n),(0,o.Jd)(n),{removeTimeout:n,registerTimeout(o,a){n(e),!1===(0,i.$D)(t)&&(e=setTimeout(o,a))}}}},431:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,Z:()=>a});var o=n(499);const i={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function a(e,t=(()=>{}),n=(()=>{})){return{transitionProps:(0,o.Fl)((()=>{const o=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}})),transitionStyle:(0,o.Fl)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}},9302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9835),i=n(5439);function a(){return(0,o.f3)(i.Ng)}},2146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(5987),i=n(2909),a=n(1705);function r(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const s=(0,o.f)({name:"close-popup",beforeMount(e,{value:t}){const n={depth:r(t),handler(t){0!==n.depth&&setTimeout((()=>{const o=(0,i.je)(e);void 0!==o&&(0,i.S7)(o,t,n.depth)}))},handlerKey(e){!0===(0,a.So)(e,13)&&n.handler(e)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=r(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}})},1136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(5987),i=n(223),a=n(1384),r=n(1705);function s(e,t=250){let n,o=!1;return function(){return!1===o&&(o=!0,setTimeout((()=>{o=!1}),t),n=e.apply(this,arguments)),n}}function l(e,t,n,o){!0===n.modifiers.stop&&(0,a.sT)(e);const r=n.modifiers.color;let s=n.modifiers.center;s=!0===s||!0===o;const l=document.createElement("span"),c=document.createElement("span"),u=(0,a.FK)(e),{left:d,top:h,width:f,height:p}=t.getBoundingClientRect(),g=Math.sqrt(f*f+p*p),v=g/2,m=(f-g)/2+"px",b=s?m:u.left-d-v+"px",x=(p-g)/2+"px",y=s?x:u.top-h-v+"px";c.className="q-ripple__inner",(0,i.iv)(c,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${b},${y},0) scale3d(.2,.2,1)`,opacity:0}),l.className="q-ripple"+(r?" text-"+r:""),l.setAttribute("dir","ltr"),l.appendChild(c),t.appendChild(l);const w=()=>{l.remove(),clearTimeout(k)};n.abort.push(w);let k=setTimeout((()=>{c.classList.add("q-ripple__inner--enter"),c.style.transform=`translate3d(${m},${x},0) scale3d(1,1,1)`,c.style.opacity=.2,k=setTimeout((()=>{c.classList.remove("q-ripple__inner--enter"),c.classList.add("q-ripple__inner--leave"),c.style.opacity=0,k=setTimeout((()=>{l.remove(),n.abort.splice(n.abort.indexOf(w),1)}),275)}),250)}),50)}function c(e,{modifiers:t,value:n,arg:o}){const i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:!0===i.early,stop:!0===i.stop,center:!0===i.center,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const u=(0,o.f)({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===n.ripple)return;const o={cfg:n,enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===o.enabled&&!0!==t.qSkipRipple&&t.type===(!0===o.modifiers.early?"pointerdown":"click")&&l(t,e,o,!0===t.qKeyEvent)},keystart:s((t=>{!0===o.enabled&&!0!==t.qSkipRipple&&!0===(0,r.So)(t,o.modifiers.keyCodes)&&t.type==="key"+(!0===o.modifiers.early?"down":"up")&&l(t,e,o,!0)}),300)};c(o,t),e.__qripple=o,(0,a.M0)(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;void 0!==n&&(n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&c(n,t))}},beforeUnmount(e){const t=e.__qripple;void 0!==t&&(t.abort.forEach((e=>{e()})),(0,a.ul)(t,"main"),delete e._qripple)}})},2873:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(7506),i=n(5987),a=n(9367),r=n(1384),s=n(2589);function l(e,t,n){const o=(0,r.FK)(e);let i,a=o.left-t.event.x,s=o.top-t.event.y,l=Math.abs(a),c=Math.abs(s);const u=t.direction;!0===u.horizontal&&!0!==u.vertical?i=a<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?i=s<0?"up":"down":!0===u.up&&s<0?(i="up",l>c&&(!0===u.left&&a<0?i="left":!0===u.right&&a>0&&(i="right"))):!0===u.down&&s>0?(i="down",l>c&&(!0===u.left&&a<0?i="left":!0===u.right&&a>0&&(i="right"))):!0===u.left&&a<0?(i="left",l0&&(i="down"))):!0===u.right&&a>0&&(i="right",l0&&(i="down")));let d=!1;if(void 0===i&&!1===n){if(!0===t.event.isFirst||void 0===t.event.lastDir)return{};i=t.event.lastDir,d=!0,"left"===i||"right"===i?(o.left-=a,l=0,a=0):(o.top-=s,c=0,s=0)}return{synthetic:d,payload:{evt:e,touch:!0!==t.event.mouse,mouse:!0===t.event.mouse,position:o,direction:i,isFirst:t.event.isFirst,isFinal:!0===n,duration:Date.now()-t.event.time,distance:{x:l,y:c},offset:{x:a,y:s},delta:{x:o.left-t.event.lastX,y:o.top-t.event.lastY}}}}let c=0;const u=(0,i.f)({name:"touch-pan",beforeMount(e,{value:t,modifiers:n}){if(!0!==n.mouse&&!0!==o.Lp.has.touch)return;function i(e,t){!0===n.mouse&&!0===t?(0,r.NS)(e):(!0===n.stop&&(0,r.sT)(e),!0===n.prevent&&(0,r.X$)(e))}const u={uid:"qvtp_"+c++,handler:t,modifiers:n,direction:(0,a.R)(n),noop:r.ZT,mouseStart(e){(0,a.n)(e,u)&&(0,r.du)(e)&&((0,r.M0)(u,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),u.start(e,!0))},touchStart(e){if((0,a.n)(e,u)){const t=e.target;(0,r.M0)(u,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","passiveCapture"],[t,"touchend","end","passiveCapture"]]),u.start(e)}},start(t,i){if(!0===o.Lp.is.firefox&&(0,r.Jf)(e,!0),u.lastEvt=t,!0===i||!0===n.stop){if(!0!==u.direction.all&&(!0!==i||!0!==u.modifiers.mouseAllDir&&!0!==u.modifiers.mousealldir)){const e=t.type.indexOf("mouse")>-1?new MouseEvent(t.type,t):new TouchEvent(t.type,t);!0===t.defaultPrevented&&(0,r.X$)(e),!0===t.cancelBubble&&(0,r.sT)(e),Object.assign(e,{qKeyEvent:t.qKeyEvent,qClickOutside:t.qClickOutside,qAnchorHandled:t.qAnchorHandled,qClonedBy:void 0===t.qClonedBy?[u.uid]:t.qClonedBy.concat(u.uid)}),u.initialEvent={target:t.target,event:e}}(0,r.sT)(t)}const{left:a,top:s}=(0,r.FK)(t);u.event={x:a,y:s,time:Date.now(),mouse:!0===i,detected:!1,isFirst:!0,isFinal:!1,lastX:a,lastY:s}},move(e){if(void 0===u.event)return;const t=(0,r.FK)(e),o=t.left-u.event.x,a=t.top-u.event.y;if(0===o&&0===a)return;u.lastEvt=e;const c=!0===u.event.mouse,d=()=>{let t;i(e,c),!0!==n.preserveCursor&&!0!==n.preservecursor&&(t=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),!0===c&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,s.M)(),u.styleCleanup=e=>{if(u.styleCleanup=void 0,void 0!==t&&(document.documentElement.style.cursor=t),document.body.classList.remove("non-selectable"),!0===c){const t=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{t(),e()}),50):t()}else void 0!==e&&e()}};if(!0===u.event.detected){!0!==u.event.isFirst&&i(e,u.event.mouse);const{payload:t,synthetic:n}=l(e,u,!1);return void(void 0!==t&&(!1===u.handler(t)?u.end(e):(void 0===u.styleCleanup&&!0===u.event.isFirst&&d(),u.event.lastX=t.position.left,u.event.lastY=t.position.top,u.event.lastDir=!0===n?void 0:t.direction,u.event.isFirst=!1)))}if(!0===u.direction.all||!0===c&&(!0===u.modifiers.mouseAllDir||!0===u.modifiers.mousealldir))return d(),u.event.detected=!0,void u.move(e);const h=Math.abs(o),f=Math.abs(a);h!==f&&(!0===u.direction.horizontal&&h>f||!0===u.direction.vertical&&h0||!0===u.direction.left&&h>f&&o<0||!0===u.direction.right&&h>f&&o>0?(u.event.detected=!0,u.move(e)):u.end(e,!0))},end(t,n){if(void 0!==u.event){if((0,r.ul)(u,"temp"),!0===o.Lp.is.firefox&&(0,r.Jf)(e,!1),!0===n)void 0!==u.styleCleanup&&u.styleCleanup(),!0!==u.event.detected&&void 0!==u.initialEvent&&u.initialEvent.target.dispatchEvent(u.initialEvent.event);else if(!0===u.event.detected){!0===u.event.isFirst&&u.handler(l(void 0===t?u.lastEvt:t,u).payload);const{payload:e}=l(void 0===t?u.lastEvt:t,u,!0),n=()=>{u.handler(e)};void 0!==u.styleCleanup?u.styleCleanup(n):n()}u.event=void 0,u.initialEvent=void 0,u.lastEvt=void 0}}};if(e.__qtouchpan=u,!0===n.mouse){const t=!0===n.mouseCapture||!0===n.mousecapture?"Capture":"";(0,r.M0)(u,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===o.Lp.has.touch&&(0,r.M0)(u,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchpan;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof value&&n.end(),n.handler=t.value),n.direction=(0,a.R)(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;void 0!==t&&(void 0!==t.event&&t.end(),(0,r.ul)(t,"main"),(0,r.ul)(t,"temp"),!0===o.Lp.is.firefox&&(0,r.Jf)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchpan)}})},5310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(7506),i=n(1384);const a=()=>!0;function r(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function s(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}function l(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return a;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(r).map(s)),()=>t.includes(window.location.hash)}const c={__history:[],add:i.ZT,remove:i.ZT,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=o.Lp.is;if(!0!==t&&!0!==n)return;const i=e.config[!0===t?"cordova":"capacitor"];if(void 0!==i&&!1===i.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=a),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const r=l(Object.assign({backButtonExit:!0},i)),s=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===r()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",s,!1)})):window.Capacitor.Plugins.App.addListener("backButton",s)}}},2289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(4124),i=n(3251);const a={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},r=(0,o.Z)({iconMapFn:null,__icons:{}},{set(e,t){const n={...e,rtl:!0===e.rtl};n.set=r.set,Object.assign(r.__icons,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,(0,i.g)(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==t&&this.set(t):this.set(t||a)}}),s=r},7451:(e,t,n)=>{"use strict";n.d(t,{$:()=>P,Z:()=>T});var o=n(1957),i=n(7506),a=n(4124),r=n(1384),s=n(899);const l=["sm","md","lg","xl"],{passive:c}=r.rU,u=(0,a.Z)({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:r.ZT,setDebounce:r.ZT,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:n}=window,o=n||window,a=document.scrollingElement||document.documentElement,r=void 0===n||!0===i.Lp.is.mobile?()=>[Math.max(window.innerWidth,a.clientWidth),Math.max(window.innerHeight,a.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-a.clientWidth,n.height*n.scale+window.innerHeight-a.clientHeight],u=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[t,n]=r();if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(!0!==e)return;let o=this.sizes;this.gt.xs=t>=o.sm,this.gt.sm=t>=o.md,this.gt.md=t>=o.lg,this.gt.lg=t>=o.xl,this.lt.sm=t{l.forEach((t=>{void 0!==e[t]&&(h[t]=e[t])}))},this.setDebounce=e=>{f=e};const p=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&l.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>{l.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==d&&o.removeEventListener("resize",d,c),d=e>0?(0,s.Z)(this.__update,e):this.__update,o.addEventListener("resize",d,c)},this.setDebounce(f),Object.keys(h).length>0?(this.setSizes(h),h=void 0):this.__update(),!0===u&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===i.uX.value?t.push(p):p()}}),d=(0,a.Z)({isActive:!1,mode:!1},{__media:void 0,set(e){d.mode=e,"auto"===e?(void 0===d.__media&&(d.__media=window.matchMedia("(prefers-color-scheme: dark)"),d.__updateMedia=()=>{d.set("auto")},d.__media.addListener(d.__updateMedia)),e=d.__media.matches):void 0!==d.__media&&(d.__media.removeListener(d.__updateMedia),d.__media=void 0),d.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){d.set(!1===d.isActive)},install({$q:e,onSSRHydrated:t,ssrContext:n}){const{dark:o}=e.config;if(e.dark=this,!0===this.__installed&&void 0===o)return;this.isActive=!0===o;const a=void 0!==o&&o;if(!0===i.uX.value){const e=e=>{this.__fromSSR=e},n=this.set;this.set=e,e(a),t.push((()=>{this.set=n,this.set(this.__fromSSR)}))}else this.set(a)}}),h=d;var f=n(5310),p=n(892);n(6822);function g(e,t,n=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof t)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}var v=n(1705);function m(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function b({is:e,has:t,within:n},o){const i=[!0===e.desktop?"desktop":"mobile",(!1===t.touch?"no-":"")+"touch"];if(!0===e.mobile){const t=m(e);void 0!==t&&i.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;i.push(t),i.push("native-mobile"),!0!==e.ios||void 0!==o[t]&&!1===o[t].iosStatusBarPadding||i.push("q-ios-padding")}else!0===e.electron?i.push("electron"):!0===e.bex&&i.push("bex");return!0===n.iframe&&i.push("within-iframe"),i}function x(){const{is:e}=i.Lp,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(void 0!==i.aG)n.delete("desktop"),n.add("platform-ios"),n.add("mobile");else if(!0!==e.nativeMobile&&!0!==e.electron&&!0!==e.bex)if(!0===e.desktop)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(!0===e.mobile){n.delete("desktop"),n.add("mobile");const t=m(e);void 0!==t?(n.add(`platform-${t}`),n.delete("platform-"+("ios"===t?"android":"ios"))):(n.delete("platform-ios"),n.delete("platform-android"))}!0===i.Lp.has.touch&&(n.delete("no-touch"),n.add("touch")),!0===i.Lp.within.iframe&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function y(e){for(const t in e)g(t,e[t])}const w={install(e){if(!0!==this.__installed){if(!0===i.uX.value)x();else{const{$q:t}=e;void 0!==t.config.brand&&y(t.config.brand);const n=b(i.Lp,t.config);document.body.classList.add.apply(document.body.classList,n)}!0===i.Lp.is.ios&&document.body.addEventListener("touchstart",r.ZT),window.addEventListener("keydown",v.ZK,!0)}}};var k=n(2289),S=n(5439),C=n(7495),_=n(4680);const A=[i.ZP,w,h,u,f.Z,p.Z,k.Z];function P(e,t){const n=(0,o.ri)(e);n.config.globalProperties=t.config.globalProperties;const{reload:i,...a}=t._context;return Object.assign(n._context,a),n}function L(e,t){t.forEach((t=>{t.install(e),t.__installed=!0}))}function j(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(S.Ng,n.$q),L(n,A),void 0!==t.components&&Object.values(t.components).forEach((t=>{!0===(0,_.Kn)(t)&&void 0!==t.name&&e.component(t.name,t)})),void 0!==t.directives&&Object.values(t.directives).forEach((t=>{!0===(0,_.Kn)(t)&&void 0!==t.name&&e.directive(t.name,t)})),void 0!==t.plugins&&L(n,Object.values(t.plugins).filter((e=>"function"===typeof e.install&&!1===A.includes(e)))),!0===i.uX.value&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach((e=>{e()})),n.$q.onSSRHydrated=()=>{}})}const T=function(e,t={}){const n={version:"2.11.9"};!1===C.Uf?(void 0!==t.config&&Object.assign(C.w6,t.config),n.config={...C.w6},(0,C.tP)()):n.config=t.config||{},j(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})}},892:(e,t,n)=>{"use strict";n.d(t,{F:()=>i.Z,Z:()=>s});var o=n(4124),i=n(9527);function a(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const r=(0,o.Z)({__langPack:{}},{getLocale:a,set(e=i.Z,t){const n={...e,rtl:!0===e.rtl,getLocale:a};if(n.set=r.set,void 0===r.__langConfig||!0!==r.__langConfig.noHtmlAttrs){const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName)}Object.assign(r.__langPack,n),r.props=n,r.isoName=n.isoName,r.nativeName=n.nativeName},install({$q:e,lang:t,ssrContext:n}){e.lang=r.__langPack,r.__langConfig=e.config.lang,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||i.Z)}}),s=r},4462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var o=n(9835),i=n(499),a=n(2074),r=n(8879),s=n(4458),l=n(3190),c=n(1821),u=n(926),d=n(6611),h=n(5429),f=n(3940),p=n(5987),g=n(8234),v=n(1705),m=n(4680);const b=(0,p.L)({name:"DialogPlugin",props:{...g.S,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=(0,o.FN)(),{$q:p}=n,b=(0,g.Z)(e,p),x=(0,i.iH)(null),y=(0,i.iH)(void 0!==e.prompt?e.prompt.model:void 0!==e.options?e.options.model:void 0),w=(0,i.Fl)((()=>"q-dialog-plugin"+(!0===b.value?" q-dialog-plugin--dark q-dark":"")+(!1!==e.progress?" q-dialog-plugin--progress":""))),k=(0,i.Fl)((()=>e.color||(!0===b.value?"amber":"primary"))),S=(0,i.Fl)((()=>!1===e.progress?null:!0===(0,m.Kn)(e.progress)?{component:e.progress.spinner||f.Z,props:{color:e.progress.color||k.value}}:{component:f.Z,props:{color:k.value}})),C=(0,i.Fl)((()=>void 0!==e.prompt||void 0!==e.options)),_=(0,i.Fl)((()=>{if(!0!==C.value)return{};const{model:t,isValid:n,items:o,...i}=void 0!==e.prompt?e.prompt:e.options;return i})),A=(0,i.Fl)((()=>!0===(0,m.Kn)(e.ok)||!0===e.ok?p.lang.label.ok:e.ok)),P=(0,i.Fl)((()=>!0===(0,m.Kn)(e.cancel)||!0===e.cancel?p.lang.label.cancel:e.cancel)),L=(0,i.Fl)((()=>void 0!==e.prompt?void 0!==e.prompt.isValid&&!0!==e.prompt.isValid(y.value):void 0!==e.options&&(void 0!==e.options.isValid&&!0!==e.options.isValid(y.value)))),j=(0,i.Fl)((()=>({color:k.value,label:A.value,ripple:!1,disable:L.value,...!0===(0,m.Kn)(e.ok)?e.ok:{flat:!0},"data-autofocus":"ok"===e.focus&&!0!==C.value||void 0,onClick:M}))),T=(0,i.Fl)((()=>({color:k.value,label:P.value,ripple:!1,...!0===(0,m.Kn)(e.cancel)?e.cancel:{flat:!0},"data-autofocus":"cancel"===e.focus&&!0!==C.value||void 0,onClick:O})));function F(){x.value.show()}function E(){x.value.hide()}function M(){t("ok",(0,i.IU)(y.value)),E()}function O(){E()}function R(){t("hide")}function I(e){y.value=e}function z(t){!0!==L.value&&"textarea"!==e.prompt.type&&!0===(0,v.So)(t,13)&&M()}function H(t,n){return!0===e.html?(0,o.h)(l.Z,{class:t,innerHTML:n}):(0,o.h)(l.Z,{class:t},(()=>n))}function q(){return[(0,o.h)(d.Z,{color:k.value,dense:!0,autofocus:!0,dark:b.value,..._.value,modelValue:y.value,"onUpdate:modelValue":I,onKeyup:z})]}function N(){return[(0,o.h)(h.Z,{color:k.value,options:e.options.items,dark:b.value,..._.value,modelValue:y.value,"onUpdate:modelValue":I})]}function D(){const t=[];return e.cancel&&t.push((0,o.h)(r.Z,T.value)),e.ok&&t.push((0,o.h)(r.Z,j.value)),(0,o.h)(c.Z,{class:!0===e.stackButtons?"items-end":"",vertical:e.stackButtons,align:"right"},(()=>t))}function B(){const t=[];return e.title&&t.push(H("q-dialog__title",e.title)),!1!==e.progress&&t.push((0,o.h)(l.Z,{class:"q-dialog__progress"},(()=>(0,o.h)(S.value.component,S.value.props)))),e.message&&t.push(H("q-dialog__message",e.message)),void 0!==e.prompt?t.push((0,o.h)(l.Z,{class:"scroll q-dialog-plugin__form"},q)):void 0!==e.options&&t.push((0,o.h)(u.Z,{dark:b.value}),(0,o.h)(l.Z,{class:"scroll q-dialog-plugin__form"},N),(0,o.h)(u.Z,{dark:b.value})),(e.ok||e.cancel)&&t.push(D()),t}function Y(){return[(0,o.h)(s.Z,{class:[w.value,e.cardClass],style:e.cardStyle,dark:b.value},B)]}return(0,o.YP)((()=>e.prompt&&e.prompt.model),I),(0,o.YP)((()=>e.options&&e.options.model),I),Object.assign(n,{show:F,hide:E}),()=>(0,o.h)(a.Z,{ref:x,onHide:R},Y)}});var x=n(7451),y=n(6669);function w(e,t){for(const n in t)"spinner"!==n&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},w(e[n],t[n])):e[n]=t[n]}function k(e,t,n){return a=>{let r,s;const l=!0===t&&void 0!==a.component;if(!0===l){const{component:e,componentProps:t}=a;r="string"===typeof e?n.component(e):e,s=t||{}}else{const{class:t,style:n,...o}=a;r=e,s=o,void 0!==t&&(o.cardClass=t),void 0!==n&&(o.cardStyle=n)}let c,u=!1;const d=(0,i.iH)(null),h=(0,y.q_)(!1,"dialog"),f=e=>{if(null!==d.value&&void 0!==d.value[e])return void d.value[e]();const t=c.$.subTree;if(t&&t.component){if(t.component.proxy&&t.component.proxy[e])return void t.component.proxy[e]();if(t.component.subTree&&t.component.subTree.component&&t.component.subTree.component.proxy&&t.component.subTree.component.proxy[e])return void t.component.subTree.component.proxy[e]()}console.error("[Quasar] Incorrectly defined Dialog component")},p=[],g=[],v={onOk(e){return p.push(e),v},onCancel(e){return g.push(e),v},onDismiss(e){return p.push(e),g.push(e),v},hide(){return f("hide"),v},update(e){if(null!==c){if(!0===l)Object.assign(s,e);else{const{class:t,style:n,...o}=e;void 0!==t&&(o.cardClass=t),void 0!==n&&(o.cardStyle=n),w(s,o)}c.$forceUpdate()}return v}},m=e=>{u=!0,p.forEach((t=>{t(e)}))},b=()=>{k.unmount(h),(0,y.pB)(h),k=null,c=null,!0!==u&&g.forEach((e=>{e()}))};let k=(0,x.$)({name:"QGlobalDialog",setup:()=>()=>(0,o.h)(r,{...s,ref:d,onOk:m,onHide:b,onVnodeMounted(...e){"function"===typeof s.onVnodeMounted&&s.onVnodeMounted(...e),(0,o.Y3)((()=>f("show")))}})},n);return c=k.mount(h),v}}const S={install({$q:e,parentApp:t}){e.dialog=k(b,!0,t),!0!==this.__installed&&(this.create=e.dialog)}}},3703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(7506),i=n(1384),a=n(4680);function r(e){return!0===(0,a.J_)(e)?"__q_date|"+e.toUTCString():!0===(0,a.Gf)(e)?"__q_expr|"+e.source:"number"===typeof e?"__q_numb|"+e:"boolean"===typeof e?"__q_bool|"+(e?"1":"0"):"string"===typeof e?"__q_strn|"+e:"function"===typeof e?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function s(e){const t=e.length;if(t<9)return e;const n=e.substring(0,8),o=e.substring(9);switch(n){case"__q_date":return new Date(o);case"__q_expr":return new RegExp(o);case"__q_numb":return Number(o);case"__q_bool":return Boolean("1"===o);case"__q_strn":return""+o;case"__q_objt":return JSON.parse(o);default:return e}}function l(){const e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:i.ZT,remove:i.ZT,clear:i.ZT,isEmpty:()=>!0}}function c(e){const t=window[e+"Storage"],n=e=>{const n=t.getItem(e);return n?s(n):null};return{has:e=>null!==t.getItem(e),getLength:()=>t.length,getItem:n,getIndex:e=>ee{let e;const o={},i=t.length;for(let a=0;a{const e=[],n=t.length;for(let o=0;o{t.setItem(e,r(n))},remove:e=>{t.removeItem(e)},clear:()=>{t.clear()},isEmpty:()=>0===t.length}}const u=!1===o.Lp.has.webStorage?l():c("local"),d={install({$q:e}){e.localStorage=u}};Object.assign(d,u);const h=d},7506:(e,t,n)=>{"use strict";n.d(t,{Lp:()=>g,ZP:()=>m,aG:()=>r,uX:()=>a});var o=n(499),i=n(3251);const a=(0,o.iH)(!1);let r,s=!1;function l(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:t[0]||""}}function c(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u="ontouchstart"in window||window.navigator.maxTouchPoints>0;function d(e){r={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}function h(e){const t=e.toLowerCase(),n=c(t),o=l(t,n),i={};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(i[o.platform]=!0);const a=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];return!0===a||t.indexOf("mobile")>-1?(i.mobile=!0,i.edga||i.edgios?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox")):i.desktop=!0,(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),(i.chrome||i.opr||i.safari||i.vivaldi||!0===i.mobile&&!0!==i.ios&&!0!==a)&&(i.webkit=!0),i.edg&&(o.browser="edgechromium",i.edgeChromium=!0),(i.safari&&i.blackberry||i.bb)&&(o.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(o.browser="playbook",i.playbook=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&i.android&&(o.browser="android",i.android=!0),i.safari&&i.kindle&&(o.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(o.browser="silk",i.silk=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),i.name=o.browser,i.platform=o.platform,t.indexOf("electron")>-1?i.electron=!0:document.location.href.indexOf("-extension://")>-1?i.bex=!0:(void 0!==window.Capacitor?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),!0===u&&!0===i.mac&&(!0===i.desktop&&!0===i.safari||!0===i.nativeMobile&&!0!==i.android&&!0!==i.ios&&!0!==i.ipad)&&d(i)),i}const f=navigator.userAgent||navigator.vendor||window.opera,p={has:{touch:!1,webStorage:!1},within:{iframe:!1}},g={userAgent:f,is:h(f),has:{touch:u},within:{iframe:window.self!==window.top}},v={install(e){const{$q:t}=e;!0===a.value?(e.onSSRHydrated.push((()=>{Object.assign(t.platform,g),a.value=!1,r=void 0})),t.platform=(0,o.qj)(this)):t.platform=this}};{let e;(0,i.g)(g.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1})),s=!0===g.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),!0===a.value?Object.assign(v,g,r,p):Object.assign(v,g)}const m=v},899:(e,t,n)=>{"use strict";function o(e,t=250,n){let o=null;function i(){const i=arguments,a=()=>{o=null,!0!==n&&e.apply(this,i)};null!==o?clearTimeout(o):!0===n&&e.apply(this,i),o=setTimeout(a,t)}return i.cancel=()=>{null!==o&&clearTimeout(o)},i}n.d(t,{Z:()=>o})},223:(e,t,n)=>{"use strict";n.d(t,{iv:()=>i,mY:()=>r,sb:()=>a});var o=n(499);function i(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function a(e){if(void 0===e||null===e)return;if("string"===typeof e)try{return document.querySelector(e)||void 0}catch(n){return}const t=(0,o.SU)(e);return t?t.$el||t:void 0}function r(e,t){if(void 0===e||null===e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}},1384:(e,t,n)=>{"use strict";n.d(t,{AZ:()=>s,FK:()=>r,Jf:()=>d,M0:()=>h,NS:()=>u,X$:()=>c,ZT:()=>i,du:()=>a,rU:()=>o,sT:()=>l,ul:()=>f});const o={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(o,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(p){}function i(){}function a(e){return 0===e.button}function r(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function s(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;while(n){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}function l(e){e.stopPropagation()}function c(e){!1!==e.cancelable&&e.preventDefault()}function u(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function d(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const n=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",c,o.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",c,o.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function h(e,t,n){const i=`__q_${t}_evt`;e[i]=void 0!==e[i]?e[i].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],o[t[3]])}))}function f(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],o[t[3]])})),e[n]=void 0)}},321:(e,t,n)=>{"use strict";n.d(t,{Uz:()=>a,kC:()=>o,vX:()=>i,vk:()=>r});function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function a(e,t,n){if(n<=t)return t;const o=n-t+1;let i=t+(e-t)%o;return i=t?o:new Array(t-o.length+1).join(n)+o}},4680:(e,t,n)=>{"use strict";function o(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;let n,i;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(!0!==o(e[i],t[i]))return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();i=n.next();while(!0!==i.done){if(!0!==t.has(i.value[0]))return!1;i=n.next()}n=e.entries(),i=n.next();while(!0!==i.done){if(!0!==o(i.value[1],t.get(i.value[0])))return!1;i=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const n=e.entries();i=n.next();while(!0!==i.done){if(!0!==t.has(i.value[0]))return!1;i=n.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(e[i]!==t[i])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const a=Object.keys(e).filter((t=>void 0!==e[t]));if(n=a.length,n!==Object.keys(t).filter((e=>void 0!==t[e])).length)return!1;for(i=n;0!==i--;){const n=a[i];if(!0!==o(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function i(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function a(e){return"[object Date]"===Object.prototype.toString.call(e)}function r(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function s(e){return"number"===typeof e&&isFinite(e)}n.d(t,{Gf:()=>r,J_:()=>a,Kn:()=>i,hj:()=>s,xb:()=>o})},5987:(e,t,n)=>{"use strict";n.d(t,{L:()=>a,f:()=>r});var o=n(499),i=n(9835);const a=e=>(0,o.Xl)((0,i.aZ)(e)),r=e=>(0,o.Xl)(e)},4124:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(499),i=n(3251);const a=(e,t)=>{const n=(0,o.qj)(e);for(const o in e)(0,i.g)(t,o,(()=>n[o]),(e=>{n[o]=e}));return t}},6532:(e,t,n)=>{"use strict";n.d(t,{c:()=>d,k:()=>h});var o=n(7506),i=n(1705);const a=[];let r;function s(e){r=27===e.keyCode}function l(){!0===r&&(r=!1)}function c(e){!0===r&&(r=!1,!0===(0,i.So)(e,27)&&a[a.length-1](e))}function u(e){window[e]("keydown",s),window[e]("blur",l),window[e]("keyup",c),r=!1}function d(e){!0===o.Lp.is.desktop&&(a.push(e),1===a.length&&u("addEventListener"))}function h(e){const t=a.indexOf(e);t>-1&&(a.splice(t,1),0===a.length&&u("removeEventListener"))}},7026:(e,t,n)=>{"use strict";n.d(t,{YX:()=>r,fP:()=>c,jd:()=>l,xF:()=>s});let o=[],i=[];function a(e){i=i.filter((t=>t!==e))}function r(e){a(e),i.push(e)}function s(e){a(e),0===i.length&&o.length>0&&(o[o.length-1](),o=[])}function l(e){0===i.length?e():o.push(e)}function c(e){o=o.filter((t=>t!==e))}},4173:(e,t,n)=>{"use strict";n.d(t,{H:()=>s,i:()=>r});var o=n(7506);const i=[];function a(e){i[i.length-1](e)}function r(e){!0===o.Lp.is.desktop&&(i.push(e),1===i.length&&document.body.addEventListener("focusin",a))}function s(e){const t=i.indexOf(e);t>-1&&(i.splice(t,1),0===i.length&&document.body.removeEventListener("focusin",a))}},7495:(e,t,n)=>{"use strict";n.d(t,{Uf:()=>i,tP:()=>a,w6:()=>o});const o={};let i=!1;function a(){i=!0}},6669:(e,t,n)=>{"use strict";n.d(t,{pB:()=>c,q_:()=>l});var o=n(7495);const i=[],a=[];let r=1,s=document.body;function l(e,t){const n=document.createElement("div");if(n.id=void 0!==t?`q-portal--${t}--${r++}`:e,void 0!==o.w6.globalNodes){const e=o.w6.globalNodes["class"];void 0!==e&&(n.className=e)}return s.appendChild(n),i.push(n),a.push(t),n}function c(e){const t=i.indexOf(e);i.splice(t,1),a.splice(t,1),e.remove()}},3251:(e,t,n)=>{"use strict";function o(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function i(e,t){for(const n in t)o(e,n,t[n]);return e}n.d(t,{K:()=>i,g:()=>o})},1705:(e,t,n)=>{"use strict";n.d(t,{So:()=>r,Wm:()=>a,ZK:()=>i});let o=!1;function i(e){o=!0===e.isComposing}function a(e){return!0===o||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function r(e,t){return!0!==a(e)&&[].concat(t).includes(e.keyCode)}},9480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const o={xs:30,sm:35,md:40,lg:50,xl:60}},2909:(e,t,n)=>{"use strict";n.d(t,{AH:()=>r,Q$:()=>i,S7:()=>s,je:()=>a});var o=n(2046);const i=[];function a(e){return i.find((t=>null!==t.contentEl&&t.contentEl.contains(e)))}function r(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return(0,o.O2)(e)}else if(!0===e.__qPortal){const n=(0,o.O2)(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=(0,o.O2)(e)}while(void 0!==e&&null!==e)}function s(e,t,n){while(0!==n&&void 0!==e&&null!==e){if(!0===e.__qPortal){if(n--,"QMenu"===e.$options.name){e=r(e,t);continue}e.hide(t)}e=(0,o.O2)(e)}}},2026:(e,t,n)=>{"use strict";n.d(t,{Bl:()=>a,Jl:()=>l,KR:()=>i,pf:()=>s,vs:()=>r});var o=n(9835);function i(e,t){return void 0!==e&&e()||t}function a(e,t){if(void 0!==e){const t=e();if(void 0!==t&&null!==t)return t.slice()}return t}function r(e,t){return void 0!==e?t.concat(e()):t}function s(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function l(e,t,n,i,a,r){t.key=i+a;const s=(0,o.h)(e,t,n);return!0===a?(0,o.wy)(s,r()):s}},8383:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});let o=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,o=e.scrollLeft>=0,e.remove()}},2589:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var o=n(7506);function i(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==o.ZP.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},5439:(e,t,n)=>{"use strict";n.d(t,{Lr:()=>r,Mw:()=>a,Nd:()=>l,Ng:()=>o,YE:()=>i,qO:()=>c,vh:()=>s});const o="_q_",i="_q_l_",a="_q_pc_",r="_q_f_",s="_q_fo_",l="_q_tabs_",c=()=>{}},9367:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,n:()=>r});const o={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},i=Object.keys(o);function a(e){const t={};for(const n of i)!0===e[n]&&(t[n]=!0);return 0===Object.keys(t).length?o:(!0===t.horizontal?t.left=t.right=!0:!0===t.left&&!0===t.right&&(t.horizontal=!0),!0===t.vertical?t.up=t.down=!0:!0===t.up&&!0===t.down&&(t.vertical=!0),!0===t.horizontal&&!0===t.vertical&&(t.all=!0),t)}function r(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof t.handler&&"INPUT"!==e.target.nodeName.toUpperCase()&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}o.all=!0},2046:(e,t,n)=>{"use strict";function o(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;while(Object(t)===t){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function i(e,t){"symbol"===typeof t.type?!0===Array.isArray(t.children)&&t.children.forEach((t=>{i(e,t)})):e.add(t)}function a(e){const t=new Set;return e.forEach((e=>{i(t,e)})),Array.from(t)}function r(e){return void 0!==e.appContext.config.globalProperties.$router}function s(e){return!0===e.isUnmounted||!0===e.isDeactivated}n.d(t,{$D:()=>s,O2:()=>o,Pf:()=>a,Rb:()=>r})},3701:(e,t,n)=>{"use strict";n.d(t,{OI:()=>s,QA:()=>v,b0:()=>a,f3:()=>h,ik:()=>f,np:()=>g,u3:()=>r});var o=n(223);const i=[null,document,document.body,document.scrollingElement,document.documentElement];function a(e,t){let n=(0,o.sb)(t);if(void 0===n){if(void 0===e||null===e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return i.includes(n)?window:n}function r(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function s(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function l(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],i=r(e);n<=0?i!==t&&u(e,t):requestAnimationFrame((a=>{const r=a-o,s=i+(t-i)/Math.max(r,n)*r;u(e,s),s!==t&&l(e,t,n-r,a)}))}function c(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],i=s(e);n<=0?i!==t&&d(e,t):requestAnimationFrame((a=>{const r=a-o,s=i+(t-i)/Math.max(r,n)*r;d(e,s),s!==t&&c(e,t,n-r,a)}))}function u(e,t){e!==window?e.scrollTop=t:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t)}function d(e,t){e!==window?e.scrollLeft=t:window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function h(e,t,n){n?l(e,t,n):u(e,t)}function f(e,t,n){n?c(e,t,n):d(e,t)}let p;function g(){if(void 0!==p)return p;const e=document.createElement("p"),t=document.createElement("div");(0,o.iv)(e,{width:"100%",height:"200px"}),(0,o.iv)(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let i=e.offsetWidth;return n===i&&(i=t.clientWidth),t.remove(),p=n-i,p}function v(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}},796:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});n(5231),n(9359),n(6408);let o,i=0;const a=new Array(256);for(let c=0;c<256;c++)a[c]=(c+256).toString(16).substring(1);const r=(()=>{const e="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})(),s=4096;function l(){(void 0===o||i+16>s)&&(i=0,o=r(s));const e=Array.prototype.slice.call(o,i,i+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,a[e[0]]+a[e[1]]+a[e[2]]+a[e[3]]+"-"+a[e[4]]+a[e[5]]+"-"+a[e[6]]+a[e[7]]+"-"+a[e[8]]+a[e[9]]+"-"+a[e[10]]+a[e[11]]+a[e[12]]+a[e[13]]+a[e[14]]+a[e[15]]}},1947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7451),i=n(892),a=n(2289);const r={version:"2.11.9",install:o.Z,lang:i.Z,iconSet:a.Z}},8762:(e,t,n)=>{var o=n(3834),i=n(6107),a=n(7545),r=o.TypeError;e.exports=function(e){if(i(e))return e;throw r(a(e)+" is not a function")}},9220:(e,t,n)=>{var o=n(3834),i=n(6107),a=o.String,r=o.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw r("Can't set "+a(e)+" as a prototype")}},616:(e,t,n)=>{var o=n(3834),i=n(1419),a=o.String,r=o.TypeError;e.exports=function(e){if(i(e))return e;throw r(a(e)+" is not an object")}},2884:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8086:(e,t,n)=>{"use strict";var o,i,a,r=n(2884),s=n(4133),l=n(3834),c=n(6107),u=n(1419),d=n(2924),h=n(4239),f=n(7545),p=n(4722),g=n(6717),v=n(1012).f,m=n(6123),b=n(7886),x=n(6534),y=n(4103),w=n(3965),k=l.Int8Array,S=k&&k.prototype,C=l.Uint8ClampedArray,_=C&&C.prototype,A=k&&b(k),P=S&&b(S),L=Object.prototype,j=l.TypeError,T=y("toStringTag"),F=w("TYPED_ARRAY_TAG"),E=w("TYPED_ARRAY_CONSTRUCTOR"),M=r&&!!x&&"Opera"!==h(l.opera),O=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!u(e))return!1;var t=h(e);return"DataView"===t||d(R,t)||d(I,t)},H=function(e){if(!u(e))return!1;var t=h(e);return d(R,t)||d(I,t)},q=function(e){if(H(e))return e;throw j("Target is not a typed array")},N=function(e){if(c(e)&&(!x||m(A,e)))return e;throw j(f(e)+" is not a typed array constructor")},D=function(e,t,n,o){if(s){if(n)for(var i in R){var a=l[i];if(a&&d(a.prototype,e))try{delete a.prototype[e]}catch(r){}}P[e]&&!n||g(P,e,n?t:M&&S[e]||t,o)}},B=function(e,t,n){var o,i;if(s){if(x){if(n)for(o in R)if(i=l[o],i&&d(i,e))try{delete i[e]}catch(a){}if(A[e]&&!n)return;try{return g(A,e,n?t:M&&A[e]||t)}catch(a){}}for(o in R)i=l[o],!i||i[e]&&!n||g(i,e,t)}};for(o in R)i=l[o],a=i&&i.prototype,a?p(a,E,i):M=!1;for(o in I)i=l[o],a=i&&i.prototype,a&&p(a,E,i);if((!M||!c(A)||A===Function.prototype)&&(A=function(){throw j("Incorrect invocation")},M))for(o in R)l[o]&&x(l[o],A);if((!M||!P||P===L)&&(P=A.prototype,M))for(o in R)l[o]&&x(l[o].prototype,P);if(M&&b(_)!==P&&x(_,P),s&&!d(P,T))for(o in O=!0,v(P,T,{get:function(){return u(this)?this[F]:void 0}}),R)l[o]&&p(l[o],F,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:E,TYPED_ARRAY_TAG:O&&F,aTypedArray:q,aTypedArrayConstructor:N,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:B,isView:z,isTypedArray:H,TypedArray:A,TypedArrayPrototype:P}},7714:(e,t,n)=>{var o=n(7447),i=n(2661),a=n(8600),r=function(e){return function(t,n,r){var s,l=o(t),c=a(l),u=i(r,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:r(!0),indexOf:r(!1)}},6378:(e,t,n)=>{var o=n(3834),i=n(2661),a=n(8600),r=n(5976),s=o.Array,l=Math.max;e.exports=function(e,t,n){for(var o=a(e),c=i(t,o),u=i(void 0===n?o:n,o),d=s(l(u-c,0)),h=0;c{var o=n(6378),i=Math.floor,a=function(e,t){var n=e.length,l=i(n/2);return n<8?r(e,t):s(e,a(o(e,0,l),t),a(o(e,l),t),t)},r=function(e,t){var n,o,i=e.length,a=1;while(a0)e[o]=e[--o];o!==a++&&(e[o]=n)}return e},s=function(e,t,n,o){var i=t.length,a=n.length,r=0,s=0;while(r{var o=n(1636),i=o({}.toString),a=o("".slice);e.exports=function(e){return a(i(e),8,-1)}},4239:(e,t,n)=>{var o=n(3834),i=n(4130),a=n(6107),r=n(6749),s=n(4103),l=s("toStringTag"),c=o.Object,u="Arguments"==r(function(){return arguments}()),d=function(e,t){try{return e[t]}catch(n){}};e.exports=i?r:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=d(t=c(e),l))?n:u?r(t):"Object"==(o=r(t))&&a(t.callee)?"Arguments":o}},1328:(e,t,n)=>{var o=n(1636),i=o("".replace),a=function(e){return String(Error(e).stack)}("zxcasd"),r=/\n\s*at [^:]*:[^\n]*/,s=r.test(a);e.exports=function(e,t){if(s&&"string"==typeof e)while(t--)e=i(e,r,"");return e}},7366:(e,t,n)=>{var o=n(2924),i=n(1240),a=n(863),r=n(1012);e.exports=function(e,t,n){for(var s=i(t),l=r.f,c=a.f,u=0;u{var o=n(8814);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4722:(e,t,n)=>{var o=n(4133),i=n(1012),a=n(3386);e.exports=o?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},3386:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5976:(e,t,n)=>{"use strict";var o=n(1017),i=n(1012),a=n(3386);e.exports=function(e,t,n){var r=o(t);r in e?i.f(e,r,a(0,n)):e[r]=n}},4133:(e,t,n)=>{var o=n(8814);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1657:(e,t,n)=>{var o=n(3834),i=n(1419),a=o.document,r=i(a)&&i(a.createElement);e.exports=function(e){return r?a.createElement(e):{}}},259:(e,t,n)=>{var o=n(322),i=o.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},1280:(e,t,n)=>{var o=n(322);e.exports=/MSIE|Trident/.test(o)},322:(e,t,n)=>{var o=n(7859);e.exports=o("navigator","userAgent")||""},1418:(e,t,n)=>{var o,i,a=n(3834),r=n(322),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=u.split("."),i=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&r&&(o=r.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=r.match(/Chrome\/(\d+)/),o&&(i=+o[1]))),e.exports=i},7433:(e,t,n)=>{var o=n(322),i=o.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},203:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9277:(e,t,n)=>{var o=n(8814),i=n(3386);e.exports=!o((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},6943:(e,t,n)=>{var o=n(3834),i=n(863).f,a=n(4722),r=n(6717),s=n(4650),l=n(7366),c=n(2764);e.exports=function(e,t){var n,u,d,h,f,p,g=e.target,v=e.global,m=e.stat;if(u=v?o:m?o[g]||s(g,{}):(o[g]||{}).prototype,u)for(d in t){if(f=t[d],e.noTargetGet?(p=i(u,d),h=p&&p.value):h=u[d],n=c(v?d:g+(m?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof f==typeof h)continue;l(f,h)}(e.sham||h&&h.sham)&&a(f,"sham",!0),r(u,d,f,e)}}},8814:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},6112:e=>{var t=Function.prototype,n=t.apply,o=t.bind,i=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(n):function(){return i.apply(n,arguments)})},6654:e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},9104:(e,t,n)=>{var o=n(4133),i=n(2924),a=Function.prototype,r=o&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&r(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1636:e=>{var t=Function.prototype,n=t.bind,o=t.call,i=n&&n.bind(o);e.exports=n?function(e){return e&&i(o,e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},7859:(e,t,n)=>{var o=n(3834),i=n(6107),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(o[e]):o[e]&&o[e][t]}},7689:(e,t,n)=>{var o=n(8762);e.exports=function(e,t){var n=e[t];return null==n?void 0:o(n)}},3834:(e,t,n)=>{var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2924:(e,t,n)=>{var o=n(1636),i=n(8332),a=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},1999:e=>{e.exports={}},6335:(e,t,n)=>{var o=n(4133),i=n(8814),a=n(1657);e.exports=!o&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},3972:(e,t,n)=>{var o=n(3834),i=n(1636),a=n(8814),r=n(6749),s=o.Object,l=i("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?l(e,""):s(e)}:s},2511:(e,t,n)=>{var o=n(6107),i=n(1419),a=n(6534);e.exports=function(e,t,n){var r,s;return a&&o(r=t.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&a(e,s),e}},6461:(e,t,n)=>{var o=n(1636),i=n(6107),a=n(6081),r=o(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return r(e)}),e.exports=a.inspectSource},6270:(e,t,n)=>{var o=n(1419),i=n(4722);e.exports=function(e,t){o(t)&&"cause"in t&&i(e,"cause",t.cause)}},780:(e,t,n)=>{var o,i,a,r=n(4825),s=n(3834),l=n(1636),c=n(1419),u=n(4722),d=n(2924),h=n(6081),f=n(5315),p=n(1999),g="Object already initialized",v=s.TypeError,m=s.WeakMap,b=function(e){return a(e)?i(e):o(e,{})},x=function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}};if(r||h.state){var y=h.state||(h.state=new m),w=l(y.get),k=l(y.has),S=l(y.set);o=function(e,t){if(k(y,e))throw new v(g);return t.facade=e,S(y,e,t),t},i=function(e){return w(y,e)||{}},a=function(e){return k(y,e)}}else{var C=f("state");p[C]=!0,o=function(e,t){if(d(e,C))throw new v(g);return t.facade=e,u(e,C,t),t},i=function(e){return d(e,C)?e[C]:{}},a=function(e){return d(e,C)}}e.exports={set:o,get:i,has:a,enforce:b,getterFor:x}},6107:e=>{e.exports=function(e){return"function"==typeof e}},2764:(e,t,n)=>{var o=n(8814),i=n(6107),a=/#|\.prototype\./,r=function(e,t){var n=l[s(e)];return n==u||n!=c&&(i(t)?o(t):!!t)},s=r.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=r.data={},c=r.NATIVE="N",u=r.POLYFILL="P";e.exports=r},1419:(e,t,n)=>{var o=n(6107);e.exports=function(e){return"object"==typeof e?null!==e:o(e)}},200:e=>{e.exports=!1},1637:(e,t,n)=>{var o=n(3834),i=n(7859),a=n(6107),r=n(6123),s=n(49),l=o.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&r(t.prototype,l(e))}},8600:(e,t,n)=>{var o=n(7302);e.exports=function(e){return o(e.length)}},1368:(e,t,n)=>{var o=n(1418),i=n(8814);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},4825:(e,t,n)=>{var o=n(3834),i=n(6107),a=n(6461),r=o.WeakMap;e.exports=i(r)&&/native code/.test(a(r))},1356:(e,t,n)=>{var o=n(6975);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:o(e)}},1012:(e,t,n)=>{var o=n(3834),i=n(4133),a=n(6335),r=n(616),s=n(1017),l=o.TypeError,c=Object.defineProperty;t.f=i?c:function(e,t,n){if(r(e),t=s(t),r(n),a)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},863:(e,t,n)=>{var o=n(4133),i=n(6654),a=n(8068),r=n(3386),s=n(7447),l=n(1017),c=n(2924),u=n(6335),d=Object.getOwnPropertyDescriptor;t.f=o?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return r(!i(a.f,e,t),e[t])}},3450:(e,t,n)=>{var o=n(6682),i=n(203),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,a)}},1996:(e,t)=>{t.f=Object.getOwnPropertySymbols},7886:(e,t,n)=>{var o=n(3834),i=n(2924),a=n(6107),r=n(8332),s=n(5315),l=n(911),c=s("IE_PROTO"),u=o.Object,d=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=r(e);if(i(t,c))return t[c];var n=t.constructor;return a(n)&&t instanceof n?n.prototype:t instanceof u?d:null}},6123:(e,t,n)=>{var o=n(1636);e.exports=o({}.isPrototypeOf)},6682:(e,t,n)=>{var o=n(1636),i=n(2924),a=n(7447),r=n(7714).indexOf,s=n(1999),l=o([].push);e.exports=function(e,t){var n,o=a(e),c=0,u=[];for(n in o)!i(s,n)&&i(o,n)&&l(u,n);while(t.length>c)i(o,n=t[c++])&&(~r(u,n)||l(u,n));return u}},8068:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},6534:(e,t,n)=>{var o=n(1636),i=n(616),a=n(9220);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(n,[]),t=n instanceof Array}catch(r){}return function(n,o){return i(n),a(o),t?e(n,o):n.__proto__=o,n}}():void 0)},9370:(e,t,n)=>{var o=n(3834),i=n(6654),a=n(6107),r=n(1419),s=o.TypeError;e.exports=function(e,t){var n,o;if("string"===t&&a(n=e.toString)&&!r(o=i(n,e)))return o;if(a(n=e.valueOf)&&!r(o=i(n,e)))return o;if("string"!==t&&a(n=e.toString)&&!r(o=i(n,e)))return o;throw s("Can't convert object to primitive value")}},1240:(e,t,n)=>{var o=n(7859),i=n(1636),a=n(3450),r=n(1996),s=n(616),l=i([].concat);e.exports=o("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=r.f;return n?l(t,n(e)):t}},6717:(e,t,n)=>{var o=n(3834),i=n(6107),a=n(2924),r=n(4722),s=n(4650),l=n(6461),c=n(780),u=n(9104).CONFIGURABLE,d=c.get,h=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,v=l&&void 0!==l.name?l.name:t;i(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(n,"name")||u&&n.name!==v)&&r(n,"name",v),c=h(n),c.source||(c.source=f.join("string"==typeof v?v:""))),e!==o?(d?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=n:r(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return i(this)&&d(this).source||l(this)}))},5177:(e,t,n)=>{var o=n(3834),i=o.TypeError;e.exports=function(e){if(void 0==e)throw i("Can't call method on "+e);return e}},4650:(e,t,n)=>{var o=n(3834),i=Object.defineProperty;e.exports=function(e,t){try{i(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},5315:(e,t,n)=>{var o=n(8850),i=n(3965),a=o("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},6081:(e,t,n)=>{var o=n(3834),i=n(4650),a="__core-js_shared__",r=o[a]||i(a,{});e.exports=r},8850:(e,t,n)=>{var o=n(200),i=n(6081);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.1",mode:o?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},2661:(e,t,n)=>{var o=n(6675),i=Math.max,a=Math.min;e.exports=function(e,t){var n=o(e);return n<0?i(n+t,0):a(n,t)}},7447:(e,t,n)=>{var o=n(3972),i=n(5177);e.exports=function(e){return o(i(e))}},6675:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var o=+e;return o!==o||0===o?0:(o>0?n:t)(o)}},7302:(e,t,n)=>{var o=n(6675),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},8332:(e,t,n)=>{var o=n(3834),i=n(5177),a=o.Object;e.exports=function(e){return a(i(e))}},4084:(e,t,n)=>{var o=n(3834),i=n(859),a=o.RangeError;e.exports=function(e,t){var n=i(e);if(n%t)throw a("Wrong offset");return n}},859:(e,t,n)=>{var o=n(3834),i=n(6675),a=o.RangeError;e.exports=function(e){var t=i(e);if(t<0)throw a("The argument can't be less than 0");return t}},4384:(e,t,n)=>{var o=n(3834),i=n(6654),a=n(1419),r=n(1637),s=n(7689),l=n(9370),c=n(4103),u=o.TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!a(e)||r(e))return e;var n,o=s(e,d);if(o){if(void 0===t&&(t="default"),n=i(o,e,t),!a(n)||r(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},1017:(e,t,n)=>{var o=n(4384),i=n(1637);e.exports=function(e){var t=o(e,"string");return i(t)?t:t+""}},4130:(e,t,n)=>{var o=n(4103),i=o("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},6975:(e,t,n)=>{var o=n(3834),i=n(4239),a=o.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},7545:(e,t,n)=>{var o=n(3834),i=o.String;e.exports=function(e){try{return i(e)}catch(t){return"Object"}}},3965:(e,t,n)=>{var o=n(1636),i=0,a=Math.random(),r=o(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++i+a,36)}},49:(e,t,n)=>{var o=n(1368);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4103:(e,t,n)=>{var o=n(3834),i=n(8850),a=n(2924),r=n(3965),s=n(1368),l=n(49),c=i("wks"),u=o.Symbol,d=u&&u["for"],h=l?u:u&&u.withoutSetter||r;e.exports=function(e){if(!a(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&a(u,e)?c[e]=u[e]:c[e]=l&&d?d(t):h(t)}return c[e]}},8376:(e,t,n)=>{"use strict";var o=n(7859),i=n(2924),a=n(4722),r=n(6123),s=n(6534),l=n(7366),c=n(2511),u=n(1356),d=n(6270),h=n(1328),f=n(9277),p=n(200);e.exports=function(e,t,n,g){var v=g?2:1,m=e.split("."),b=m[m.length-1],x=o.apply(null,m);if(x){var y=x.prototype;if(!p&&i(y,"cause")&&delete y.cause,!n)return x;var w=o("Error"),k=t((function(e,t){var n=u(g?t:e,void 0),o=g?new x(e):new x;return void 0!==n&&a(o,"message",n),f&&a(o,"stack",h(o.stack,2)),this&&r(y,this)&&c(o,this,k),arguments.length>v&&d(o,arguments[v]),o}));if(k.prototype=y,"Error"!==b&&(s?s(k,w):l(k,w,{name:!0})),l(k,x),!p)try{y.name!==b&&a(y,"name",b),y.constructor=k}catch(S){}return k}}},6822:(e,t,n)=>{var o=n(6943),i=n(3834),a=n(6112),r=n(8376),s="WebAssembly",l=i[s],c=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=r(e,t,c),o({global:!0,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=r(s+"."+e,t,c),o({target:s,stat:!0,forced:c},n)}};u("Error",(function(e){return function(t){return a(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return a(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return a(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return a(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return a(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return a(e,this,arguments)}})),u("URIError",(function(e){return function(t){return a(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return a(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return a(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return a(e,this,arguments)}}))},5231:(e,t,n)=>{"use strict";var o=n(8086),i=n(8600),a=n(6675),r=o.aTypedArray,s=o.exportTypedArrayMethod;s("at",(function(e){var t=r(this),n=i(t),o=a(e),s=o>=0?o:n+o;return s<0||s>=n?void 0:t[s]}))},9359:(e,t,n)=>{"use strict";var o=n(3834),i=n(8086),a=n(8600),r=n(4084),s=n(8332),l=n(8814),c=o.RangeError,u=i.aTypedArray,d=i.exportTypedArrayMethod,h=l((function(){new Int8Array(1).set({})}));d("set",(function(e){u(this);var t=r(arguments.length>1?arguments[1]:void 0,1),n=this.length,o=s(e),i=a(o),l=0;if(i+t>n)throw c("Wrong length");while(l{"use strict";var o=n(3834),i=n(1636),a=n(8814),r=n(8762),s=n(7085),l=n(8086),c=n(259),u=n(1280),d=n(1418),h=n(7433),f=o.Array,p=l.aTypedArray,g=l.exportTypedArrayMethod,v=o.Uint16Array,m=v&&i(v.prototype.sort),b=!!m&&!(a((function(){m(new v(2),null)}))&&a((function(){m(new v(2),{})}))),x=!!m&&!a((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(h)return h<602;var e,t,n=new v(516),o=f(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,o[e]=e-2*t+3;for(m(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==o[e])return!0})),y=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};g("sort",(function(e){return void 0!==e&&r(e),x?m(this,e):s(p(this),y(e))}),!x||b)},6704:(e,t,n)=>{"use strict";function o(e,t){var n=e<0?"-":"",o=Math.abs(e).toString();while(o.lengtho})},8778:(e,t,n)=>{"use strict";function o(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>o})},2705:(e,t,n)=>{"use strict";function o(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:()=>o})},3637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e);return t.setHours(23,59,59,999),t}},5057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},4453:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getMonth(),a=n-n%3+3;return t.setMonth(a,0),t.setHours(23,59,59,999),t}},9739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(6093),i=n(2705),a=n(8778);function r(e,t){(0,a.Z)(1,arguments);var n=t||{},r=n.locale,s=r&&r.options&&r.options.weekStartsOn,l=null==s?0:(0,i.Z)(s),c=null==n.weekStartsOn?l:(0,i.Z)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,o.Z)(e),d=u.getDay(),h=6+(d{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},8898:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Re});var o=n(8778);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}var a=n(6093);function r(e){if((0,o.Z)(1,arguments),!i(e)&&"number"!==typeof e)return!1;var t=(0,a.Z)(e);return!isNaN(Number(t))}var s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},l=function(e,t,n){var o,i=s[e];return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};const c=l;function u(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var d={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},h={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},p={date:u({formats:d,defaultWidth:"full"}),time:u({formats:h,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})};const g=p;var v={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},m=function(e,t,n,o){return v[e]};const b=m;function x(e){return function(t,n){var o,i=n||{},a=i.context?String(i.context):"standalone";if("formatting"===a&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,s=i.width?String(i.width):r;o=e.formattingValues[s]||e.formattingValues[r]}else{var l=e.defaultWidth,c=i.width?String(i.width):e.defaultWidth;o=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return o[u]}}var y={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},k={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},S={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},C={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},A=function(e,t){var n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},P={ordinalNumber:A,era:x({values:y,defaultWidth:"wide"}),quarter:x({values:w,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:x({values:k,defaultWidth:"wide"}),day:x({values:S,defaultWidth:"wide"}),dayPeriod:x({values:C,defaultWidth:"wide",formattingValues:_,defaultFormattingWidth:"wide"})};const L=P;function j(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var r,s=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?F(l,(function(e){return e.test(s)})):T(l,(function(e){return e.test(s)}));r=e.valueCallback?e.valueCallback(c):c,r=n.valueCallback?n.valueCallback(r):r;var u=t.slice(s.length);return{value:r,rest:u}}}function T(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function F(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var i=o[0],a=t.match(e.parsePattern);if(!a)return null;var r=e.valueCallback?e.valueCallback(a[0]):a[0];r=n.valueCallback?n.valueCallback(r):r;var s=t.slice(i.length);return{value:r,rest:s}}}var M=/^(\d+)(th|st|nd|rd)?/i,O=/\d+/i,R={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},I={any:[/^b/i,/^(a|c)/i]},z={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},H={any:[/1/i,/2/i,/3/i,/4/i]},q={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},N={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},D={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},B={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Y={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W={ordinalNumber:E({matchPattern:M,parsePattern:O,valueCallback:function(e){return parseInt(e,10)}}),era:j({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),quarter:j({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:j({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:j({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"}),dayPeriod:j({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})};const V=W;var $={code:"en-US",formatDistance:c,formatLong:g,formatRelative:b,localize:L,match:V,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Z=$;var U=n(2705);function G(e,t){(0,o.Z)(2,arguments);var n=(0,a.Z)(e).getTime(),i=(0,U.Z)(t);return new Date(n+i)}function K(e,t){(0,o.Z)(2,arguments);var n=(0,U.Z)(t);return G(e,-n)}var J=864e5;function Q(e){(0,o.Z)(1,arguments);var t=(0,a.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime(),r=n-i;return Math.floor(r/J)+1}function ee(e){(0,o.Z)(1,arguments);var t=1,n=(0,a.Z)(e),i=n.getUTCDay(),r=(i=r.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function ne(e){(0,o.Z)(1,arguments);var t=te(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var i=ee(n);return i}var oe=6048e5;function ie(e){(0,o.Z)(1,arguments);var t=(0,a.Z)(e),n=ee(t).getTime()-ne(t).getTime();return Math.round(n/oe)+1}function ae(e,t){(0,o.Z)(1,arguments);var n=t||{},i=n.locale,r=i&&i.options&&i.options.weekStartsOn,s=null==r?0:(0,U.Z)(r),l=null==n.weekStartsOn?s:(0,U.Z)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=(0,a.Z)(e),u=c.getUTCDay(),d=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(i+1,0,u),d.setUTCHours(0,0,0,0);var h=ae(d,t),f=new Date(0);f.setUTCFullYear(i,0,u),f.setUTCHours(0,0,0,0);var p=ae(f,t);return n.getTime()>=h.getTime()?i+1:n.getTime()>=p.getTime()?i:i-1}function se(e,t){(0,o.Z)(1,arguments);var n=t||{},i=n.locale,a=i&&i.options&&i.options.firstWeekContainsDate,r=null==a?1:(0,U.Z)(a),s=null==n.firstWeekContainsDate?r:(0,U.Z)(n.firstWeekContainsDate),l=re(e,t),c=new Date(0);c.setUTCFullYear(l,0,s),c.setUTCHours(0,0,0,0);var u=ae(c,t);return u}var le=6048e5;function ce(e,t){(0,o.Z)(1,arguments);var n=(0,a.Z)(e),i=ae(n,t).getTime()-se(n,t).getTime();return Math.round(i/le)+1}var ue=n(6704),de={y:function(e,t){var n=e.getUTCFullYear(),o=n>0?n:1-n;return(0,ue.Z)("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,ue.Z)(n+1,2)},d:function(e,t){return(0,ue.Z)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,ue.Z)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,ue.Z)(e.getUTCHours(),t.length)},m:function(e,t){return(0,ue.Z)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,ue.Z)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds(),i=Math.floor(o*Math.pow(10,n-3));return(0,ue.Z)(i,t.length)}};const he=de;var fe={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pe={G:function(e,t,n){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var o=e.getUTCFullYear(),i=o>0?o:1-o;return n.ordinalNumber(i,{unit:"year"})}return he.y(e,t)},Y:function(e,t,n,o){var i=re(e,o),a=i>0?i:1-i;if("YY"===t){var r=a%100;return(0,ue.Z)(r,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):(0,ue.Z)(a,t.length)},R:function(e,t){var n=te(e);return(0,ue.Z)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,ue.Z)(n,t.length)},Q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return(0,ue.Z)(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return(0,ue.Z)(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){var o=e.getUTCMonth();switch(t){case"M":case"MM":return he.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return(0,ue.Z)(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){var i=ce(e,o);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,ue.Z)(i,t.length)},I:function(e,t,n){var o=ie(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):(0,ue.Z)(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):he.d(e,t)},D:function(e,t,n){var o=Q(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,ue.Z)(o,t.length)},E:function(e,t,n){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){var i=e.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return(0,ue.Z)(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){var i=e.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return(0,ue.Z)(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var o=e.getUTCDay(),i=0===o?7:o;switch(t){case"i":return String(i);case"ii":return(0,ue.Z)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){var o=e.getUTCHours(),i=o/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var o,i=e.getUTCHours();switch(o=12===i?fe.noon:0===i?fe.midnight:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var o,i=e.getUTCHours();switch(o=i>=17?fe.evening:i>=12?fe.afternoon:i>=4?fe.morning:fe.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var o=e.getUTCHours()%12;return 0===o&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return he.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):he.H(e,t)},K:function(e,t,n){var o=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):(0,ue.Z)(o,t.length)},k:function(e,t,n){var o=e.getUTCHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):(0,ue.Z)(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):he.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):he.s(e,t)},S:function(e,t){return he.S(e,t)},X:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return ve(a);case"XXXX":case"XX":return me(a);case"XXXXX":case"XXX":default:return me(a,":")}},x:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();switch(t){case"x":return ve(a);case"xxxx":case"xx":return me(a);case"xxxxx":case"xxx":default:return me(a,":")}},O:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ge(a,":");case"OOOO":default:return"GMT"+me(a,":")}},z:function(e,t,n,o){var i=o._originalDate||e,a=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ge(a,":");case"zzzz":default:return"GMT"+me(a,":")}},t:function(e,t,n,o){var i=o._originalDate||e,a=Math.floor(i.getTime()/1e3);return(0,ue.Z)(a,t.length)},T:function(e,t,n,o){var i=o._originalDate||e,a=i.getTime();return(0,ue.Z)(a,t.length)}};function ge(e,t){var n=e>0?"-":"+",o=Math.abs(e),i=Math.floor(o/60),a=o%60;if(0===a)return n+String(i);var r=t||"";return n+String(i)+r+(0,ue.Z)(a,2)}function ve(e,t){if(e%60===0){var n=e>0?"-":"+";return n+(0,ue.Z)(Math.abs(e)/60,2)}return me(e,t)}function me(e,t){var n=t||"",o=e>0?"-":"+",i=Math.abs(e),a=(0,ue.Z)(Math.floor(i/60),2),r=(0,ue.Z)(i%60,2);return o+a+n+r}const be=pe;function xe(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function ye(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function we(e,t){var n,o=e.match(/(P+)(p+)?/)||[],i=o[1],a=o[2];if(!a)return xe(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",xe(i,t)).replace("{{time}}",ye(a,t))}var ke={p:ye,P:we};const Se=ke;function Ce(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var _e=["D","DD"],Ae=["YY","YYYY"];function Pe(e){return-1!==_e.indexOf(e)}function Le(e){return-1!==Ae.indexOf(e)}function je(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var Te=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ee=/^'([^]*?)'?$/,Me=/''/g,Oe=/[a-zA-Z]/;function Re(e,t,n){(0,o.Z)(2,arguments);var i=String(t),s=n||{},l=s.locale||Z,c=l.options&&l.options.firstWeekContainsDate,u=null==c?1:(0,U.Z)(c),d=null==s.firstWeekContainsDate?u:(0,U.Z)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=l.options&&l.options.weekStartsOn,f=null==h?0:(0,U.Z)(h),p=null==s.weekStartsOn?f:(0,U.Z)(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var g=(0,a.Z)(e);if(!r(g))throw new RangeError("Invalid time value");var v=Ce(g),m=K(g,v),b={firstWeekContainsDate:d,weekStartsOn:p,locale:l,_originalDate:g},x=i.match(Fe).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=Se[t];return n(e,l.formatLong,b)}return e})).join("").match(Te).map((function(n){if("''"===n)return"'";var o=n[0];if("'"===o)return Ie(n);var i=be[o];if(i)return!s.useAdditionalWeekYearTokens&&Le(n)&&je(n,t,e),!s.useAdditionalDayOfYearTokens&&Pe(n)&&je(n,t,e),i(m,n,l.localize,b);if(o.match(Oe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n})).join("");return x}function Ie(e){return e.match(Ee)[1].replace(Me,"'")}},5115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(6093),i=n(6704),a=n(8778);function r(e,t){(0,a.Z)(1,arguments);var n=(0,o.Z)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");var r=null!==t&&void 0!==t&&t.format?String(t.format):"extended",s=null!==t&&void 0!==t&&t.representation?String(t.representation):"complete";if("extended"!==r&&"basic"!==r)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==s&&"time"!==s&&"complete"!==s)throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",c="",u="extended"===r?"-":"",d="extended"===r?":":"";if("time"!==s){var h=(0,i.Z)(n.getDate(),2),f=(0,i.Z)(n.getMonth()+1,2),p=(0,i.Z)(n.getFullYear(),4);l="".concat(p).concat(u).concat(f).concat(u).concat(h)}if("date"!==s){var g=n.getTimezoneOffset();if(0!==g){var v=Math.abs(g),m=(0,i.Z)(Math.floor(v/60),2),b=(0,i.Z)(v%60,2),x=g<0?"+":"-";c="".concat(x).concat(m,":").concat(b)}else c="Z";var y=(0,i.Z)(n.getHours(),2),w=(0,i.Z)(n.getMinutes(),2),k=(0,i.Z)(n.getSeconds(),2),S=""===l?"":"T",C=[y,w,k].join(d);l="".concat(l).concat(S).concat(C).concat(c)}return l}},8480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});Math.pow(10,8);var o=6e4,i=36e5,a=n(8778),r=n(2705);function s(e,t){(0,a.Z)(1,arguments);var n=t||{},o=null==n.additionalDigits?2:(0,r.Z)(n.additionalDigits);if(2!==o&&1!==o&&0!==o)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i,s=h(e);if(s.date){var l=f(s.date,o);i=p(l.restDateString,l.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var c,u=i.getTime(),d=0;if(s.time&&(d=v(s.time),isNaN(d)))return new Date(NaN);if(!s.timezone){var g=new Date(u+d),m=new Date(0);return m.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),m.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),m}return c=b(s.timezone),isNaN(c)?new Date(NaN):new Date(u+d+c)}var l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,u=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function h(e){var t,n={},o=e.split(l.dateTimeDelimiter);if(o.length>2)return n;if(/:/.test(o[0])?t=o[0]:(n.date=o[0],t=o[1],l.timeZoneDelimiter.test(n.date)&&(n.date=e.split(l.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=l.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function f(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),o=e.match(n);if(!o)return{year:NaN,restDateString:""};var i=o[1]?parseInt(o[1]):null,a=o[2]?parseInt(o[2]):null;return{year:null===a?i:100*a,restDateString:e.slice((o[1]||o[2]).length)}}function p(e,t){if(null===t)return new Date(NaN);var n=e.match(c);if(!n)return new Date(NaN);var o=!!n[4],i=g(n[1]),a=g(n[2])-1,r=g(n[3]),s=g(n[4]),l=g(n[5])-1;if(o)return C(t,s,l)?x(t,s,l):new Date(NaN);var u=new Date(0);return k(t,a,r)&&S(t,i)?(u.setUTCFullYear(t,a,Math.max(i,r)),u):new Date(NaN)}function g(e){return e?parseInt(e):1}function v(e){var t=e.match(u);if(!t)return NaN;var n=m(t[1]),a=m(t[2]),r=m(t[3]);return _(n,a,r)?n*i+a*o+1e3*r:NaN}function m(e){return e&&parseFloat(e.replace(",","."))||0}function b(e){if("Z"===e)return 0;var t=e.match(d);if(!t)return 0;var n="+"===t[1]?-1:1,a=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return A(a,r)?n*(a*i+r*o):NaN}function x(e,t,n){var o=new Date(0);o.setUTCFullYear(e,0,4);var i=o.getUTCDay()||7,a=7*(t-1)+n+1-i;return o.setUTCDate(o.getUTCDate()+a),o}var y=[31,null,31,30,31,30,31,31,30,31,30,31];function w(e){return e%400===0||e%4===0&&e%100!==0}function k(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(y[t]||(w(e)?29:28))}function S(e,t){return t>=1&&t<=(w(e)?366:365)}function C(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function _(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function A(e,t){return t>=0&&t<=59}},1776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e);return t.setHours(0,0,0,0),t}},7164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},6490:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getMonth(),a=n-n%3;return t.setMonth(a,1),t.setHours(0,0,0,0),t}},3611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(6093),i=n(2705),a=n(8778);function r(e,t){(0,a.Z)(1,arguments);var n=t||{},r=n.locale,s=r&&r.options&&r.options.weekStartsOn,l=null==s?0:(0,i.Z)(s),c=null==n.weekStartsOn?l:(0,i.Z)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,o.Z)(e),d=u.getDay(),h=(d{"use strict";n.d(t,{Z:()=>a});var o=n(6093),i=n(8778);function a(e){(0,i.Z)(1,arguments);var t=(0,o.Z)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},7104:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(2705),i=n(6093),a=n(8778);function r(e,t){(0,a.Z)(2,arguments);var n=(0,i.Z)(e),r=(0,o.Z)(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.Z)(t);return r(e,-n)}},6093:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(8778);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},7363:(e,t,n)=>{"use strict";n.d(t,{WB:()=>C,Q_:()=>I});var o=n(499),i=!1;function a(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}var r=n(9835); /*! * pinia v2.0.16 * (c) 2022 Eduardo San Martin Morote diff --git a/resources/lang/es_ES/firefly.php b/resources/lang/es_ES/firefly.php index ac8b5114e1..1ce6fa9dac 100644 --- a/resources/lang/es_ES/firefly.php +++ b/resources/lang/es_ES/firefly.php @@ -663,49 +663,49 @@ return [ 'search_modifier_book_date_on' => 'La fecha del registro de la transacción es en ":value"', 'search_modifier_not_book_date_on' => 'La fecha del registro de la transacción no es en ":value"', 'search_modifier_book_date_before' => 'La fecha de registro de la transacción es en o antes de ":value"', - 'search_modifier_book_date_after' => 'Transaction book date is on or after ":value"', - 'search_modifier_process_date_on' => 'Transaction process date is on ":value"', - 'search_modifier_not_process_date_on' => 'Transaction process date is not on ":value"', - 'search_modifier_process_date_before' => 'Transaction process date is on or before ":value"', - 'search_modifier_process_date_after' => 'Transaction process date is on or after ":value"', - 'search_modifier_due_date_on' => 'Transaction due date is on ":value"', - 'search_modifier_not_due_date_on' => 'Transaction due date is not on ":value"', - 'search_modifier_due_date_before' => 'Transaction due date is on or before ":value"', - 'search_modifier_due_date_after' => 'Transaction due date is on or after ":value"', - 'search_modifier_payment_date_on' => 'Transaction payment date is on ":value"', - 'search_modifier_not_payment_date_on' => 'Transaction payment date is not on ":value"', - 'search_modifier_payment_date_before' => 'Transaction payment date is on or before ":value"', - 'search_modifier_payment_date_after' => 'Transaction payment date is on or after ":value"', - 'search_modifier_invoice_date_on' => 'Transaction invoice date is on ":value"', - 'search_modifier_not_invoice_date_on' => 'Transaction invoice date is not on ":value"', - 'search_modifier_invoice_date_before' => 'Transaction invoice date is on or before ":value"', - 'search_modifier_invoice_date_after' => 'Transaction invoice date is on or after ":value"', - 'search_modifier_created_at_on' => 'Transaction was created on ":value"', - 'search_modifier_not_created_at_on' => 'Transaction was not created on ":value"', - 'search_modifier_created_at_before' => 'Transaction was created on or before ":value"', - 'search_modifier_created_at_after' => 'Transaction was created on or after ":value"', - 'search_modifier_updated_at_on' => 'Transaction was updated on ":value"', - 'search_modifier_not_updated_at_on' => 'Transaction was not updated on ":value"', - 'search_modifier_updated_at_before' => 'Transaction was updated on or before ":value"', - 'search_modifier_updated_at_after' => 'Transaction was updated on or after ":value"', + 'search_modifier_book_date_after' => 'La fecha de registro de la transacción es en o después de ":value"', + 'search_modifier_process_date_on' => 'La fecha del proceso de transacción es el ":value"', + 'search_modifier_not_process_date_on' => 'La fecha del proceso de transacción no es el ":value"', + 'search_modifier_process_date_before' => 'La fecha de proceso de la transacción es en o antes de ":value"', + 'search_modifier_process_date_after' => 'La fecha de proceso de la transacción es en o después de ":value"', + 'search_modifier_due_date_on' => 'La fecha del vencimiento de la transacción es el ":value"', + 'search_modifier_not_due_date_on' => 'La fecha del vencimiento de la transacción no es el ":value"', + 'search_modifier_due_date_before' => 'La fecha de vencimiento de la transacción es en o antes de ":value"', + 'search_modifier_due_date_after' => 'La fecha de vencimiento de la transacción es en o después de ":value"', + 'search_modifier_payment_date_on' => 'La fecha de pago de transacción es el ":value"', + 'search_modifier_not_payment_date_on' => 'La fecha de pago de transacción no es el ":value"', + 'search_modifier_payment_date_before' => 'La fecha de pago de la transacción es en o antes de ":value"', + 'search_modifier_payment_date_after' => 'La fecha de pago de la transacción es en o después de ":value"', + 'search_modifier_invoice_date_on' => 'La fecha del facturación de la transacción es el ":value"', + 'search_modifier_not_invoice_date_on' => 'La fecha del facturación de la transacción no es el ":value"', + 'search_modifier_invoice_date_before' => 'La fecha de facturación de la transacción es en o antes de ":value"', + 'search_modifier_invoice_date_after' => 'La fecha de facturación de la transacción es en o después de ":value"', + 'search_modifier_created_at_on' => 'La transacción fue creada el ":value"', + 'search_modifier_not_created_at_on' => 'La transacción no fue creada el ":value"', + 'search_modifier_created_at_before' => 'La transacción fue creada en o antes de ":value"', + 'search_modifier_created_at_after' => 'La transacción fue creada en o después de ":value"', + 'search_modifier_updated_at_on' => 'La transacción fue actualizada el ":value"', + 'search_modifier_not_updated_at_on' => 'La transacción no fue actualizada el ":value"', + 'search_modifier_updated_at_before' => 'La transacción fue actualizada en o antes de ":value"', + 'search_modifier_updated_at_after' => 'La transacción fue actualizada en o después de ":value"', - 'search_modifier_attachment_name_is' => 'Any attachment\'s name is ":value"', - 'search_modifier_attachment_name_contains' => 'Any attachment\'s name contains ":value"', - 'search_modifier_attachment_name_starts' => 'Any attachment\'s name starts with ":value"', - 'search_modifier_attachment_name_ends' => 'Any attachment\'s name ends with ":value"', - 'search_modifier_attachment_notes_are' => 'Any attachment\'s notes are ":value"', - 'search_modifier_attachment_notes_contains' => 'Any attachment\'s notes contain ":value"', - 'search_modifier_attachment_notes_starts' => 'Any attachment\'s notes start with ":value"', - 'search_modifier_attachment_notes_ends' => 'Any attachment\'s notes end with ":value"', - 'search_modifier_not_attachment_name_is' => 'Any attachment\'s name is not ":value"', - 'search_modifier_not_attachment_name_contains' => 'Any attachment\'s name does not contain ":value"', - 'search_modifier_not_attachment_name_starts' => 'Any attachment\'s name does not start with ":value"', - 'search_modifier_not_attachment_name_ends' => 'Any attachment\'s name does not end with ":value"', - 'search_modifier_not_attachment_notes_are' => 'Any attachment\'s notes are not ":value"', - 'search_modifier_not_attachment_notes_contains' => 'Any attachment\'s notes do not contain ":value"', - 'search_modifier_not_attachment_notes_starts' => 'Any attachment\'s notes start with ":value"', - 'search_modifier_not_attachment_notes_ends' => 'Any attachment\'s notes do not end with ":value"', - 'search_modifier_sepa_ct_is' => 'SEPA CT is ":value"', + 'search_modifier_attachment_name_is' => 'El nombre de cualquier adjunto es ":value"', + 'search_modifier_attachment_name_contains' => 'El nombre de cualquier adjunto contiene ":value"', + 'search_modifier_attachment_name_starts' => 'El nombre de cualquier adjunto comienza con ":value"', + 'search_modifier_attachment_name_ends' => 'El nombre de cualquier adjunto termina con ":value"', + 'search_modifier_attachment_notes_are' => 'Las notas de cualquier adjunto son ":value"', + 'search_modifier_attachment_notes_contains' => 'Las notas de cualquier adjunto contienen ":value"', + 'search_modifier_attachment_notes_starts' => 'Las notas de cualquier adjunto comienzan con ":value"', + 'search_modifier_attachment_notes_ends' => 'Las notas de cualquier adjunto terminan con ":value"', + 'search_modifier_not_attachment_name_is' => 'El nombre de cualquier adjunto no es ":value"', + 'search_modifier_not_attachment_name_contains' => 'El nombre de cualquier adjunto no contiene ":value"', + 'search_modifier_not_attachment_name_starts' => 'El nombre de cualquier adjunto no comienza con ":value"', + 'search_modifier_not_attachment_name_ends' => 'El nombre de cualquier adjunto no termina con ":value"', + 'search_modifier_not_attachment_notes_are' => 'Las notas de cualquier adjunto no son ":value"', + 'search_modifier_not_attachment_notes_contains' => 'Las notas de cualquier adjunto no contienen ":value"', + 'search_modifier_not_attachment_notes_starts' => 'Las notas de cualquier adjunto comienzan con ":value"', + 'search_modifier_not_attachment_notes_ends' => 'Las notas de cualquier adjunto no terminan con ":value"', + 'search_modifier_sepa_ct_is' => 'El SEPA CT es ":value"', 'update_rule_from_query' => 'Actualizar regla ":rule" de la consulta de búsqueda', 'create_rule_from_query' => 'Crear nueva regla a partir de la consulta de búsqueda', 'rule_from_search_words' => 'El motor de reglas tiene un manejo difícil ":string". La regla sugerida que se ajusta a su consulta de búsqueda puede dar diferentes resultados. Por favor verifique los activadores de la regla cuidadosamente.', @@ -745,7 +745,7 @@ return [ 'yearly' => 'anualmente', // rules - 'is_not_rule_trigger' => 'Not', + 'is_not_rule_trigger' => 'No', 'cannot_fire_inactive_rules' => 'No puedes ejecutar reglas inactivas.', 'rules' => 'Reglas', 'rule_name' => 'Nombre de la regla', @@ -824,14 +824,14 @@ return [ 'rule_trigger_source_account_is' => 'El nombre de la cuenta origen es ":trigger_value"', 'rule_trigger_source_account_contains_choice' => 'El nombre de cuenta de origen contiene..', 'rule_trigger_source_account_contains' => 'El nombre de la cuenta origen contiene ":trigger_value"', - 'rule_trigger_account_id_choice' => 'Either account ID is exactly..', - 'rule_trigger_account_id' => 'Either account ID is exactly :trigger_value', + 'rule_trigger_account_id_choice' => 'El ID de cualquiera de las cuentas es exactamente..', + 'rule_trigger_account_id' => 'El ID de cualquiera de las cuentas es exactamente :trigger_value', 'rule_trigger_source_account_id_choice' => 'El ID de la cuenta de origen es exactamente..', 'rule_trigger_source_account_id' => 'El ID de cuenta origen es exactamente :trigger_value', 'rule_trigger_destination_account_id_choice' => 'El ID de la cuenta de destino es exactamente..', 'rule_trigger_destination_account_id' => 'El ID de cuenta de destino es exactamente :trigger_value', - 'rule_trigger_account_is_cash_choice' => 'Either account is cash', - 'rule_trigger_account_is_cash' => 'Either account is cash', + 'rule_trigger_account_is_cash_choice' => 'Cualquiera de las cuentas es efectivo', + 'rule_trigger_account_is_cash' => 'Cualquiera de las cuentas es efectivo', 'rule_trigger_source_is_cash_choice' => 'La cuenta de origen es de efectivo', 'rule_trigger_source_is_cash' => 'La cuenta de origen es de efectivo', 'rule_trigger_destination_is_cash_choice' => 'La cuenta de destino es de efectivo', @@ -879,19 +879,19 @@ return [ 'rule_trigger_description_is_choice' => 'Descripción es..', 'rule_trigger_description_is' => 'La descripción es ":trigger_value"', 'rule_trigger_date_on_choice' => 'La fecha de la transacción es..', - 'rule_trigger_date_on' => 'Transaction date is ":trigger_value"', + 'rule_trigger_date_on' => 'La fecha de la transacción es ":trigger_value"', 'rule_trigger_date_before_choice' => 'La fecha de la transacción es anterior a..', 'rule_trigger_date_before' => 'La fecha de la transacción es anterior a ":trigger_value"', 'rule_trigger_date_after_choice' => 'La fecha de la transacción es después de..', 'rule_trigger_date_after' => 'La fecha de la transacción es después de ":trigger_value"', - 'rule_trigger_created_at_on_choice' => 'Transaction was made on..', - 'rule_trigger_created_at_on' => 'Transaction was made on ":trigger_value"', - 'rule_trigger_updated_at_on_choice' => 'Transaction was last edited on..', - 'rule_trigger_updated_at_on' => 'Transaction was last edited on ":trigger_value"', + 'rule_trigger_created_at_on_choice' => 'La transacción se realizó el..', + 'rule_trigger_created_at_on' => 'La transacción se realizó el ":trigger_value"', + 'rule_trigger_updated_at_on_choice' => 'La transacción fue editada por última vez el..', + 'rule_trigger_updated_at_on' => 'La transacción fue editada por última vez el ":trigger_value"', 'rule_trigger_budget_is_choice' => 'Presupuesto es..', 'rule_trigger_budget_is' => 'Presupuesto es ":trigger_value"', - 'rule_trigger_tag_is_choice' => 'Any tag is..', - 'rule_trigger_tag_is' => 'Any tag is ":trigger_value"', + 'rule_trigger_tag_is_choice' => 'Cualquier etiqueta es..', + 'rule_trigger_tag_is' => 'Cualquier etiqueta es ":trigger_value"', 'rule_trigger_currency_is_choice' => 'La moneda de la transacción es..', 'rule_trigger_currency_is' => 'La moneda de la transacción es ":trigger_value"', 'rule_trigger_foreign_currency_is_choice' => 'La transacción en moneda extranjera es..', @@ -918,20 +918,20 @@ return [ 'rule_trigger_any_notes' => 'La transacción tiene (cualquier) notas', 'rule_trigger_no_notes_choice' => 'No tiene notas', 'rule_trigger_no_notes' => 'Transacción no tiene notas', - 'rule_trigger_notes_is_choice' => 'Notes are..', - 'rule_trigger_notes_is' => 'Notes are ":trigger_value"', - 'rule_trigger_notes_contains_choice' => 'Notes contain..', - 'rule_trigger_notes_contains' => 'Notes contain ":trigger_value"', - 'rule_trigger_notes_starts_choice' => 'Notes start with..', - 'rule_trigger_notes_starts' => 'Notes start with ":trigger_value"', - 'rule_trigger_notes_ends_choice' => 'Notes end with..', - 'rule_trigger_notes_ends' => 'Notes end with ":trigger_value"', + 'rule_trigger_notes_is_choice' => 'Las notas son..', + 'rule_trigger_notes_is' => 'Las notas son ":trigger_value"', + 'rule_trigger_notes_contains_choice' => 'Las notas contienen..', + 'rule_trigger_notes_contains' => 'Las notas contienen ":trigger_value"', + 'rule_trigger_notes_starts_choice' => 'Las notas comienzan con..', + 'rule_trigger_notes_starts' => 'Las notas comienzan con ":trigger_value"', + 'rule_trigger_notes_ends_choice' => 'Las notas terminan con..', + 'rule_trigger_notes_ends' => 'Las notas terminan con ":trigger_value"', 'rule_trigger_bill_is_choice' => 'La factura es..', 'rule_trigger_bill_is' => 'La factura es ":trigger_value"', - 'rule_trigger_external_id_is_choice' => 'External ID is..', - 'rule_trigger_external_id_is' => 'External ID is ":trigger_value"', - 'rule_trigger_internal_reference_is_choice' => 'Internal reference is..', - 'rule_trigger_internal_reference_is' => 'Internal reference is ":trigger_value"', + 'rule_trigger_external_id_is_choice' => 'El ID externo es..', + 'rule_trigger_external_id_is' => 'El ID externo es ":trigger_value"', + 'rule_trigger_internal_reference_is_choice' => 'La referencia interna es..', + 'rule_trigger_internal_reference_is' => 'La referencia interna es ":trigger_value"', 'rule_trigger_journal_id_choice' => 'El ID del diario de transacciones es..', 'rule_trigger_journal_id' => 'El ID del diario de transacciones es ":trigger_value"', 'rule_trigger_no_external_url' => 'La transacción no tiene URL externa', @@ -940,13 +940,13 @@ return [ 'rule_trigger_no_external_url_choice' => 'La transacción no tiene URL externa', 'rule_trigger_id_choice' => 'La ID de la transacción es..', 'rule_trigger_id' => 'La ID de la transacción es ":trigger_value"', - 'rule_trigger_sepa_ct_is_choice' => 'SEPA CT is..', - 'rule_trigger_sepa_ct_is' => 'SEPA CT is ":trigger_value"', + 'rule_trigger_sepa_ct_is_choice' => 'El SEPA CT es..', + 'rule_trigger_sepa_ct_is' => 'El SEPA CT es ":trigger_value"', // new values: - 'rule_trigger_user_action_choice' => 'User action is ":trigger_value"', - 'rule_trigger_tag_is_not_choice' => 'No tag is..', - 'rule_trigger_tag_is_not' => 'No tag is ":trigger_value"', + 'rule_trigger_user_action_choice' => 'La acción del usuario es ":trigger_value"', + 'rule_trigger_tag_is_not_choice' => 'Ninguna etiqueta es..', + 'rule_trigger_tag_is_not' => 'Ninguna etiqueta es ":trigger_value"', 'rule_trigger_account_is_choice' => 'Either account is exactly..', 'rule_trigger_account_is' => 'Either account is exactly ":trigger_value"', 'rule_trigger_account_contains_choice' => 'Either account contains..', diff --git a/resources/lang/zh_CN/firefly.php b/resources/lang/zh_CN/firefly.php index dab6d18cfd..a02b6ef2b5 100644 --- a/resources/lang/zh_CN/firefly.php +++ b/resources/lang/zh_CN/firefly.php @@ -1751,12 +1751,12 @@ return [ 'bill_expected_date' => '预期为:date', 'bill_expected_date_js' => 'Expected {date}', 'bill_paid_on' => '支付于 {date}', - 'bill_repeats_weekly' => 'Repeats weekly', - 'bill_repeats_monthly' => 'Repeats monthly', - 'bill_repeats_quarterly' => 'Repeats quarterly', - 'bill_repeats_half-year' => 'Repeats every half year', - 'bill_repeats_yearly' => 'Repeats yearly', - 'bill_repeats_weekly_other' => 'Repeats every other week', + 'bill_repeats_weekly' => '每周', + 'bill_repeats_monthly' => '每月', + 'bill_repeats_quarterly' => '每季度', + 'bill_repeats_half-year' => '每半年', + 'bill_repeats_yearly' => '每年', + 'bill_repeats_weekly_other' => '每隔一周', 'bill_repeats_monthly_other' => 'Repeats every other month', 'bill_repeats_quarterly_other' => 'Repeats every other quarter', 'bill_repeats_half-year_other' => 'Repeats yearly', diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index a570a2c9a0..0000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,17 +0,0 @@ -sonar.projectKey=firefly-iii_firefly-iii -sonar.organization=firefly-iii - -# This is the name and version displayed in the SonarCloud UI. -#sonar.projectName=firefly-iii -#sonar.projectVersion=1.0 - -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -#sonar.sources=. - -# Encoding of the source code. Default is default system encoding -#sonar.sourceEncoding=UTF-8 - - -sonar.projectVersion=6.0.5 -sonar.sources=app,bootstrap,database,resources/assets,resources/views,routes,tests -sonar.sourceEncoding=UTF-8 diff --git a/yarn.lock b/yarn.lock index 32c30e4f6b..f0b6df8a6a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,45 +10,45 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" + integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.1", "@babel/compat-data@^7.20.5": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.0.tgz#c241dc454e5b5917e40d37e525e2f4530c399298" - integrity sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.4.tgz#457ffe647c480dff59c2be092fc3acf71195c87f" + integrity sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g== "@babel/core@^7.15.8": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.3.tgz#cf1c877284a469da5d1ce1d1e53665253fae712e" - integrity sha512-qIJONzoa/qiHghnm0l1n4i/6IIziDpzqc36FBs4pzMhDUraHqponwJLiAKm1hGLP3OSB/TVNz6rMwVGpwxxySw== + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.4.tgz#c6dc73242507b8e2a27fd13a9c1814f9fa34a659" + integrity sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.21.3" - "@babel/helper-compilation-targets" "^7.20.7" + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.4" + "@babel/helper-compilation-targets" "^7.21.4" "@babel/helper-module-transforms" "^7.21.2" "@babel/helpers" "^7.21.0" - "@babel/parser" "^7.21.3" + "@babel/parser" "^7.21.4" "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.3" - "@babel/types" "^7.21.3" + "@babel/traverse" "^7.21.4" + "@babel/types" "^7.21.4" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.2" semver "^6.3.0" -"@babel/generator@^7.21.3": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.3.tgz#232359d0874b392df04045d72ce2fd9bb5045fce" - integrity sha512-QS3iR1GYC/YGUnW7IdggFeN5c1poPUurnGttOV/bZgPGV+izC/D8HnD6DLwod0fsatNyVn1G3EVWMYIF0nHbeA== +"@babel/generator@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.4.tgz#64a94b7448989f421f919d5239ef553b37bb26bc" + integrity sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA== dependencies: - "@babel/types" "^7.21.3" + "@babel/types" "^7.21.4" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" @@ -68,21 +68,21 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.9" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.0", "@babel/helper-compilation-targets@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" - integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz#770cd1ce0889097ceacb99418ee6934ef0572656" + integrity sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg== dependencies: - "@babel/compat-data" "^7.20.5" - "@babel/helper-validator-option" "^7.18.6" + "@babel/compat-data" "^7.21.4" + "@babel/helper-validator-option" "^7.21.0" browserslist "^4.21.3" lru-cache "^5.1.1" semver "^6.3.0" "@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.0.tgz#64f49ecb0020532f19b1d014b03bccaa1ab85fb9" - integrity sha512-Q8wNiMIdwsv5la5SPxNYzzkPnjgC0Sy0i7jLkVOCdllu/xcVNkr3TeZzbHBJrj+XXRqzX5uCyCoV9eu6xUG7KQ== + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.4.tgz#3a017163dc3c2ba7deb9a7950849a9586ea24c18" + integrity sha512-46QrX2CQlaFRF4TkwfTt6nJD7IHq8539cCL7SDpqWSDeJKY1xylKKY5F/33mJhLZ3mFvKv2gGrVS6NkyF6qs+Q== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" @@ -94,9 +94,9 @@ "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.20.5": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.0.tgz#53ff78472e5ce10a52664272a239787107603ebb" - integrity sha512-N+LaFW/auRSWdx7SHD/HiARwXQju1vXTW4fKr4u5SgBUTm51OKEjKgj+cs00ggW3kEvNqwErnlwuq7Y3xBe4eg== + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.4.tgz#40411a8ab134258ad2cf3a3d987ec6aa0723cee5" + integrity sha512-M00OuhU+0GyZ5iBBN9czjugzWrEq2vDpf/zCYHxxf93ul/Q5rv+a5h+/+0WnI1AebHNVtl5bFV0qsJoH23DbfA== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" regexpu-core "^5.3.1" @@ -147,12 +147,12 @@ dependencies: "@babel/types" "^7.21.0" -"@babel/helper-module-imports@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== +"@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" + integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== dependencies: - "@babel/types" "^7.18.6" + "@babel/types" "^7.21.4" "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.21.2": version "7.21.2" @@ -233,7 +233,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== -"@babel/helper-validator-option@^7.18.6": +"@babel/helper-validator-option@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== @@ -266,10 +266,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.16.4", "@babel/parser@^7.18.4", "@babel/parser@^7.20.7", "@babel/parser@^7.21.3": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.3.tgz#1d285d67a19162ff9daa358d4cb41d50c06220b3" - integrity sha512-lobG0d7aOfQRXh8AyklEAgZGvA4FShxo6xQbUrrT/cNBPUdIDojlokwJsQyCC/eKia7ifqM0yP+2DRZ4WKw2RQ== +"@babel/parser@^7.1.0", "@babel/parser@^7.16.4", "@babel/parser@^7.18.4", "@babel/parser@^7.20.7", "@babel/parser@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.4.tgz#94003fdfc520bbe2875d4ae557b43ddb6d880f17" + integrity sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" @@ -278,7 +278,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz#d9c85589258539a22a901033853101a6198d4ef1" integrity sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ== @@ -287,7 +287,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" "@babel/plugin-proposal-optional-chaining" "^7.20.7" -"@babel/plugin-proposal-async-generator-functions@^7.20.1": +"@babel/plugin-proposal-async-generator-functions@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" integrity sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA== @@ -305,7 +305,7 @@ "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-class-static-block@^7.18.6": +"@babel/plugin-proposal-class-static-block@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz#77bdd66fb7b605f3a61302d224bdfacf5547977d" integrity sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw== @@ -338,7 +338,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": +"@babel/plugin-proposal-logical-assignment-operators@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" integrity sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug== @@ -362,7 +362,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@^7.15.6", "@babel/plugin-proposal-object-rest-spread@^7.20.2": +"@babel/plugin-proposal-object-rest-spread@^7.15.6", "@babel/plugin-proposal-object-rest-spread@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== @@ -381,7 +381,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.20.7": +"@babel/plugin-proposal-optional-chaining@^7.20.7", "@babel/plugin-proposal-optional-chaining@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz#886f5c8978deb7d30f678b2e24346b287234d3ea" integrity sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA== @@ -398,7 +398,7 @@ "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-private-property-in-object@^7.18.6": +"@babel/plugin-proposal-private-property-in-object@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0.tgz#19496bd9883dd83c23c7d7fc45dcd9ad02dfa1dc" integrity sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw== @@ -521,14 +521,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-arrow-functions@^7.18.6": +"@babel/plugin-transform-arrow-functions@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz#bea332b0e8b2dab3dafe55a163d8227531ab0551" integrity sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ== dependencies: "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-transform-async-to-generator@^7.18.6": +"@babel/plugin-transform-async-to-generator@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz#dfee18623c8cb31deb796aa3ca84dda9cea94354" integrity sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q== @@ -544,14 +544,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoping@^7.20.2": +"@babel/plugin-transform-block-scoping@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.21.0.tgz#e737b91037e5186ee16b76e7ae093358a5634f02" integrity sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ== dependencies: "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-transform-classes@^7.20.2": +"@babel/plugin-transform-classes@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.21.0.tgz#f469d0b07a4c5a7dbb21afad9e27e57b47031665" integrity sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ== @@ -566,7 +566,7 @@ "@babel/helper-split-export-declaration" "^7.18.6" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.18.9": +"@babel/plugin-transform-computed-properties@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz#704cc2fd155d1c996551db8276d55b9d46e4d0aa" integrity sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ== @@ -574,7 +574,7 @@ "@babel/helper-plugin-utils" "^7.20.2" "@babel/template" "^7.20.7" -"@babel/plugin-transform-destructuring@^7.20.2": +"@babel/plugin-transform-destructuring@^7.21.3": version "7.21.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.21.3.tgz#73b46d0fd11cd6ef57dea8a381b1215f4959d401" integrity sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA== @@ -604,7 +604,7 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-for-of@^7.18.8": +"@babel/plugin-transform-for-of@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz#964108c9988de1a60b4be2354a7d7e245f36e86e" integrity sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ== @@ -634,7 +634,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-modules-amd@^7.19.6": +"@babel/plugin-transform-modules-amd@^7.20.11": version "7.20.11" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz#3daccca8e4cc309f03c3a0c4b41dc4b26f55214a" integrity sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g== @@ -642,7 +642,7 @@ "@babel/helper-module-transforms" "^7.20.11" "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-transform-modules-commonjs@^7.19.6": +"@babel/plugin-transform-modules-commonjs@^7.21.2": version "7.21.2" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz#6ff5070e71e3192ef2b7e39820a06fb78e3058e7" integrity sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA== @@ -651,7 +651,7 @@ "@babel/helper-plugin-utils" "^7.20.2" "@babel/helper-simple-access" "^7.20.2" -"@babel/plugin-transform-modules-systemjs@^7.19.6": +"@babel/plugin-transform-modules-systemjs@^7.20.11": version "7.20.11" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz#467ec6bba6b6a50634eea61c9c232654d8a4696e" integrity sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw== @@ -669,7 +669,7 @@ "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": +"@babel/plugin-transform-named-capturing-groups-regex@^7.20.5": version "7.20.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.20.5.tgz#626298dd62ea51d452c3be58b285d23195ba69a8" integrity sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA== @@ -692,7 +692,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-parameters@^7.20.1", "@babel/plugin-transform-parameters@^7.20.7": +"@babel/plugin-transform-parameters@^7.20.7", "@babel/plugin-transform-parameters@^7.21.3": version "7.21.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.21.3.tgz#18fc4e797cf6d6d972cb8c411dbe8a809fa157db" integrity sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ== @@ -706,7 +706,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-regenerator@^7.18.6": +"@babel/plugin-transform-regenerator@^7.20.5": version "7.20.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz#57cda588c7ffb7f4f8483cc83bdcea02a907f04d" integrity sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ== @@ -722,11 +722,11 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-runtime@^7.15.8": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.0.tgz#2a884f29556d0a68cd3d152dcc9e6c71dfb6eee8" - integrity sha512-ReY6pxwSzEU0b3r2/T/VhqMKg/AkceBT19X0UptA3/tYi5Pe2eXgEUH+NNMC5nok6c6XQz5tyVTUpuezRfSMSg== + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.4.tgz#2e1da21ca597a7d01fc96b699b21d8d2023191aa" + integrity sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA== dependencies: - "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-module-imports" "^7.21.4" "@babel/helper-plugin-utils" "^7.20.2" babel-plugin-polyfill-corejs2 "^0.3.3" babel-plugin-polyfill-corejs3 "^0.6.0" @@ -740,7 +740,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-spread@^7.19.0": +"@babel/plugin-transform-spread@^7.20.7": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz#c2d83e0b99d3bf83e07b11995ee24bf7ca09401e" integrity sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw== @@ -785,30 +785,30 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/preset-env@^7.15.8": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.20.2.tgz#9b1642aa47bb9f43a86f9630011780dab7f86506" - integrity sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg== + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.21.4.tgz#a952482e634a8dd8271a3fe5459a16eb10739c58" + integrity sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw== dependencies: - "@babel/compat-data" "^7.20.1" - "@babel/helper-compilation-targets" "^7.20.0" + "@babel/compat-data" "^7.21.4" + "@babel/helper-compilation-targets" "^7.21.4" "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-validator-option" "^7.18.6" + "@babel/helper-validator-option" "^7.21.0" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" - "@babel/plugin-proposal-async-generator-functions" "^7.20.1" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.20.7" + "@babel/plugin-proposal-async-generator-functions" "^7.20.7" "@babel/plugin-proposal-class-properties" "^7.18.6" - "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.21.0" "@babel/plugin-proposal-dynamic-import" "^7.18.6" "@babel/plugin-proposal-export-namespace-from" "^7.18.9" "@babel/plugin-proposal-json-strings" "^7.18.6" - "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-logical-assignment-operators" "^7.20.7" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" "@babel/plugin-proposal-numeric-separator" "^7.18.6" - "@babel/plugin-proposal-object-rest-spread" "^7.20.2" + "@babel/plugin-proposal-object-rest-spread" "^7.20.7" "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" - "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-optional-chaining" "^7.21.0" "@babel/plugin-proposal-private-methods" "^7.18.6" - "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.21.0" "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" @@ -825,40 +825,40 @@ "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" "@babel/plugin-syntax-top-level-await" "^7.14.5" - "@babel/plugin-transform-arrow-functions" "^7.18.6" - "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-arrow-functions" "^7.20.7" + "@babel/plugin-transform-async-to-generator" "^7.20.7" "@babel/plugin-transform-block-scoped-functions" "^7.18.6" - "@babel/plugin-transform-block-scoping" "^7.20.2" - "@babel/plugin-transform-classes" "^7.20.2" - "@babel/plugin-transform-computed-properties" "^7.18.9" - "@babel/plugin-transform-destructuring" "^7.20.2" + "@babel/plugin-transform-block-scoping" "^7.21.0" + "@babel/plugin-transform-classes" "^7.21.0" + "@babel/plugin-transform-computed-properties" "^7.20.7" + "@babel/plugin-transform-destructuring" "^7.21.3" "@babel/plugin-transform-dotall-regex" "^7.18.6" "@babel/plugin-transform-duplicate-keys" "^7.18.9" "@babel/plugin-transform-exponentiation-operator" "^7.18.6" - "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-for-of" "^7.21.0" "@babel/plugin-transform-function-name" "^7.18.9" "@babel/plugin-transform-literals" "^7.18.9" "@babel/plugin-transform-member-expression-literals" "^7.18.6" - "@babel/plugin-transform-modules-amd" "^7.19.6" - "@babel/plugin-transform-modules-commonjs" "^7.19.6" - "@babel/plugin-transform-modules-systemjs" "^7.19.6" + "@babel/plugin-transform-modules-amd" "^7.20.11" + "@babel/plugin-transform-modules-commonjs" "^7.21.2" + "@babel/plugin-transform-modules-systemjs" "^7.20.11" "@babel/plugin-transform-modules-umd" "^7.18.6" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.20.5" "@babel/plugin-transform-new-target" "^7.18.6" "@babel/plugin-transform-object-super" "^7.18.6" - "@babel/plugin-transform-parameters" "^7.20.1" + "@babel/plugin-transform-parameters" "^7.21.3" "@babel/plugin-transform-property-literals" "^7.18.6" - "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.20.5" "@babel/plugin-transform-reserved-words" "^7.18.6" "@babel/plugin-transform-shorthand-properties" "^7.18.6" - "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-spread" "^7.20.7" "@babel/plugin-transform-sticky-regex" "^7.18.6" "@babel/plugin-transform-template-literals" "^7.18.9" "@babel/plugin-transform-typeof-symbol" "^7.18.9" "@babel/plugin-transform-unicode-escapes" "^7.18.10" "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.20.2" + "@babel/types" "^7.21.4" babel-plugin-polyfill-corejs2 "^0.3.3" babel-plugin-polyfill-corejs3 "^0.6.0" babel-plugin-polyfill-regenerator "^0.4.1" @@ -897,26 +897,26 @@ "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" -"@babel/traverse@^7.20.5", "@babel/traverse@^7.20.7", "@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2", "@babel/traverse@^7.21.3": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.3.tgz#4747c5e7903d224be71f90788b06798331896f67" - integrity sha512-XLyopNeaTancVitYZe2MlUEvgKb6YVVPXzofHgqHijCImG33b/uTurMS488ht/Hbsb2XK3U2BnSTxKVNGV3nGQ== +"@babel/traverse@^7.20.5", "@babel/traverse@^7.20.7", "@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2", "@babel/traverse@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.4.tgz#a836aca7b116634e97a6ed99976236b3282c9d36" + integrity sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q== dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.21.3" + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.4" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-function-name" "^7.21.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.21.3" - "@babel/types" "^7.21.3" + "@babel/parser" "^7.21.4" + "@babel/types" "^7.21.4" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.3", "@babel/types@^7.3.0", "@babel/types@^7.4.4": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.3.tgz#4865a5357ce40f64e3400b0f3b737dc6d4f64d05" - integrity sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg== +"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.4", "@babel/types@^7.3.0", "@babel/types@^7.4.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.4.tgz#2d5d6bb7908699b3b416409ffd3b5daa25b030d4" + integrity sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA== dependencies: "@babel/helper-string-parser" "^7.19.4" "@babel/helper-validator-identifier" "^7.19.1" @@ -1098,9 +1098,9 @@ "@types/estree" "*" "@types/eslint@*": - version "8.21.2" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.21.2.tgz#2b61b43a8b0e66006856a2a4c8e51f6f773ead27" - integrity sha512-EMpxUyystd3uZVByZap1DACsMXvb82ypQnGn89e1Y0a+LYu3JJscUd/gqhRsVFDkaD2MIiWo0MT8EfXr3DGRKw== + version "8.37.0" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.37.0.tgz#29cebc6c2a3ac7fea7113207bf5a828fdf4d7ef1" + integrity sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ== dependencies: "@types/estree" "*" "@types/json-schema" "*" @@ -1201,9 +1201,9 @@ integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/node@*": - version "18.15.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.3.tgz#f0b991c32cfc6a4e7f3399d6cb4b8cf9a0315014" - integrity sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw== + version "18.15.11" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.11.tgz#b3b790f09cb1696cffcec605de025b088fa4225f" + integrity sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q== "@types/parse-json@^4.0.0": version "4.0.0" @@ -1731,9 +1731,9 @@ body-parser@1.20.1: unpipe "1.0.0" bonjour-service@^1.0.11: - version "1.1.0" - resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.1.0.tgz#424170268d68af26ff83a5c640b95def01803a13" - integrity sha512-LVRinRB3k1/K0XzZ2p58COnWvkQknIY6sf0zF2rpErvcJXpMBttEPQSxK+HEXSS9VmpZlDoDnQWv8ftJT20B0Q== + version "1.1.1" + resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.1.1.tgz#960948fa0e0153f5d26743ab15baf8e33752c135" + integrity sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg== dependencies: array-flatten "^2.1.2" dns-equal "^1.0.0" @@ -1907,9 +1907,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464: - version "1.0.30001467" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001467.tgz#1afc9c16ed61f50dd87139da87ca43a3e0051c77" - integrity sha512-cEdN/5e+RPikvl9AHm4uuLXxeCNq8rFsQ+lPHTfe/OtypP3WwnVVbjn+6uBV7PaFL6xUFzTh+sSCOz1rKhcO+Q== + version "1.0.30001473" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001473.tgz#3859898b3cab65fc8905bb923df36ad35058153c" + integrity sha512-ewDad7+D2vlyy+E4UJuVfiBsU69IL+8oVmTuZnH5Q6CIUbxNfI50uVpRHbUPDD6SUaN2o0Lh4DhTrvLG/Tn1yg== chalk@^2.0.0: version "2.4.2" @@ -2003,9 +2003,9 @@ clone-deep@^4.0.1: shallow-clone "^3.0.0" collect.js@^4.28.5: - version "4.34.3" - resolved "https://registry.yarnpkg.com/collect.js/-/collect.js-4.34.3.tgz#8169aff62d18a973b2ea23ace76da03517463ac1" - integrity sha512-aFr67xDazPwthsGm729mnClgNuh15JEagU6McKBKqxuHOkWL7vMFzGbhsXDdPZ+H6ia5QKIMGYuGOMENBHnVpg== + version "4.36.1" + resolved "https://registry.yarnpkg.com/collect.js/-/collect.js-4.36.1.tgz#0194c52e90e01db6f136d28e7a3cf88c5687894d" + integrity sha512-jd97xWPKgHn6uvK31V6zcyPd40lUJd7gpYxbN2VOVxGWO4tyvS9Li4EpsFjXepGTo2tYcOTC4a8YsbQXMJ4XUw== color-convert@^1.9.0: version "1.9.3" @@ -2247,9 +2247,9 @@ crypto-browserify@^3.11.0: randomfill "^1.0.3" css-declaration-sorter@^6.3.1: - version "6.3.1" - resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.3.1.tgz#be5e1d71b7a992433fb1c542c7a1b835e45682ec" - integrity sha512-fBffmak0bPAnyqc/HO8C3n2sHrp9wcqQz6ES9koRF2/mLOVAx9zIQ3Y7R29sYCteTPqMCwns4WYQoCX91Xl3+w== + version "6.4.0" + resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.4.0.tgz#630618adc21724484b3e9505bce812def44000ad" + integrity sha512-jDfsatwWMWN0MODAFuHszfjphEXfNw9JUAhmY4pLu3TyTU+ohUpsbVtbU+1MZn4a47D9kqh03i4eyOm+74+zew== css-loader@^5.2.6: version "5.2.7" @@ -2448,9 +2448,9 @@ dns-equal@^1.0.0: integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== dns-packet@^5.2.2: - version "5.4.0" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.4.0.tgz#1f88477cf9f27e78a213fb6d118ae38e759a879b" - integrity sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g== + version "5.5.0" + resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.5.0.tgz#f59cbf3396c130957c56a6ad5fd3959ccdc30065" + integrity sha512-USawdAUzRkV6xrqTjiAEp6M9YagZEzWcSUaZTcIFAiyQWW1SoI6KyId8y2+/71wbgHKQAKd+iupLv4YvEwYWvA== dependencies: "@leichtgewicht/ip-codec" "^2.0.1" @@ -2520,9 +2520,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.4.284: - version "1.4.333" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.333.tgz#ebb21f860f8a29923717b06ec0cb54e77ed34c04" - integrity sha512-YyE8+GKyGtPEP1/kpvqsdhD6rA/TP1DUFDN4uiU/YI52NzDxmwHkEb3qjId8hLBa5siJvG0sfC3O66501jMruQ== + version "1.4.348" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.348.tgz#f49379dc212d79f39112dd026f53e371279e433d" + integrity sha512-gM7TdwuG3amns/1rlgxMbeeyNoBFPa+4Uu0c7FeROWh4qWmvSOnvcslKmWy51ggLKZ2n/F/4i2HJ+PVNxH9uCQ== elliptic@^6.5.3: version "6.5.4" @@ -3697,9 +3697,9 @@ multicast-dns@^7.2.5: thunky "^1.0.2" nanoid@^3.3.4: - version "3.3.4" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" - integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + version "3.3.6" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" + integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== negotiator@0.6.3: version "0.6.3" @@ -4286,9 +4286,9 @@ postcss@^8.1.10, postcss@^8.2.15, postcss@^8.4, postcss@^8.4.14: source-map-js "^1.0.2" "prettier@^1.18.2 || ^2.0.0": - version "2.8.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3" - integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw== + version "2.8.7" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450" + integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw== pretty-time@^1.1.0: version "1.1.0" @@ -4974,9 +4974,9 @@ terser@^4.6.3: source-map-support "~0.5.12" terser@^5.16.5, terser@^5.9.0: - version "5.16.6" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.6.tgz#f6c7a14a378ee0630fbe3ac8d1f41b4681109533" - integrity sha512-IBZ+ZQIA9sMaXmRZCUMDjNH0D5AQQfdn4WUjHL0+1lF4TP1IHRJbrhb6fNaXWikrYQTSkb7SLxkeXAiy1p7mbg== + version "5.16.8" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.8.tgz#ccde583dabe71df3f4ed02b65eb6532e0fae15d5" + integrity sha512-QI5g1E/ef7d+PsDifb+a6nnVgC4F22Bg6T0xrBrz6iloVB4PUkkunp6V8nzoOOZJIzjWVdAGqCdlKlhLq/TbIA== dependencies: "@jridgewell/source-map" "^0.3.2" acorn "^8.5.0" @@ -5238,9 +5238,9 @@ webpack-dev-middleware@^5.3.1: schema-utils "^4.0.0" webpack-dev-server@^4.7.3: - version "4.13.0" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.13.0.tgz#9964abf6bc06637f68ef7ce6eed7b0e5b2cc89ec" - integrity sha512-1objTjwG2IaLNz0RjRQd41PjWOxHPc4I+1al4kmZu8J2nWcZcu1N1zlEWIJXTiYIkzhQ1RTrwjX4elnL+2e2GA== + version "4.13.2" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.13.2.tgz#d97445481d78691efe6d9a3b230833d802fc31f9" + integrity sha512-5i6TrGBRxG4vnfDpB6qSQGfnB6skGBXNL5/542w2uRGLimX6qeE5BQMLrzIC3JYV/xlGOv+s+hTleI9AZKUQNw== dependencies: "@types/bonjour" "^3.5.9" "@types/connect-history-api-fallback" "^1.3.5" @@ -5303,9 +5303,9 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.60.0: - version "5.76.2" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.76.2.tgz#6f80d1c1d1e3bf704db571b2504a0461fac80230" - integrity sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w== + version "5.77.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.77.0.tgz#dea3ad16d7ea6b84aa55fa42f4eac9f30e7eb9b4" + integrity sha512-sbGNjBr5Ya5ss91yzjeJTLKyfiwo5C628AFjEa6WSXcZa4E+F57om3Cc8xLb1Jh0b243AWuSYRf3dn7HVeFQ9Q== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^0.0.51"