diff --git a/.ci/php-cs-fixer/composer.lock b/.ci/php-cs-fixer/composer.lock index aa241e687b..e445219f5b 100644 --- a/.ci/php-cs-fixer/composer.lock +++ b/.ci/php-cs-fixer/composer.lock @@ -677,16 +677,16 @@ }, { "name": "sebastian/diff", - "version": "5.0.1", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02" + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/aae9a0a43bff37bd5d8d0311426c87bf36153f02", - "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", "shasum": "" }, "require": { @@ -732,7 +732,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" }, "funding": [ { @@ -740,20 +740,20 @@ "type": "github" } ], - "time": "2023-03-23T05:12:41+00:00" + "time": "2023-05-01T07:48:21+00:00" }, { "name": "symfony/console", - "version": "v6.2.8", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b" + "reference": "12288d9f4500f84a4d02254d4aa968b15488476f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b", - "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b", + "url": "https://api.github.com/repos/symfony/console/zipball/12288d9f4500f84a4d02254d4aa968b15488476f", + "reference": "12288d9f4500f84a4d02254d4aa968b15488476f", "shasum": "" }, "require": { @@ -820,7 +820,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.2.8" + "source": "https://github.com/symfony/console/tree/v6.2.10" }, "funding": [ { @@ -836,7 +836,7 @@ "type": "tidelift" } ], - "time": "2023-03-29T21:42:15+00:00" + "time": "2023-04-28T13:37:43+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1069,16 +1069,16 @@ }, { "name": "symfony/filesystem", - "version": "v6.2.7", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "82b6c62b959f642d000456f08c6d219d749215b3" + "reference": "fd588debf7d1bc16a2c84b4b3b71145d9946b894" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/82b6c62b959f642d000456f08c6d219d749215b3", - "reference": "82b6c62b959f642d000456f08c6d219d749215b3", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/fd588debf7d1bc16a2c84b4b3b71145d9946b894", + "reference": "fd588debf7d1bc16a2c84b4b3b71145d9946b894", "shasum": "" }, "require": { @@ -1112,7 +1112,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.2.7" + "source": "https://github.com/symfony/filesystem/tree/v6.2.10" }, "funding": [ { @@ -1128,7 +1128,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:44:56+00:00" + "time": "2023-04-18T13:46:08+00:00" }, { "name": "symfony/finder", @@ -1755,16 +1755,16 @@ }, { "name": "symfony/process", - "version": "v6.2.8", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "75ed64103df4f6615e15a7fe38b8111099f47416" + "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416", - "reference": "75ed64103df4f6615e15a7fe38b8111099f47416", + "url": "https://api.github.com/repos/symfony/process/zipball/b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e", + "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e", "shasum": "" }, "require": { @@ -1796,7 +1796,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.2.8" + "source": "https://github.com/symfony/process/tree/v6.2.10" }, "funding": [ { @@ -1812,7 +1812,7 @@ "type": "tidelift" } ], - "time": "2023-03-09T16:20:02+00:00" + "time": "2023-04-18T13:56:57+00:00" }, { "name": "symfony/service-contracts", diff --git a/app/Console/Commands/Correction/CorrectAmounts.php b/app/Console/Commands/Correction/CorrectAmounts.php index 56692c0821..b95abf7b97 100644 --- a/app/Console/Commands/Correction/CorrectAmounts.php +++ b/app/Console/Commands/Correction/CorrectAmounts.php @@ -177,25 +177,6 @@ class CorrectAmounts extends Command $this->line(sprintf('Corrected %d currency exchange rate(s).', $count)); } - /** - * @return void - */ - private function fixRepetitions(): void - { - $set = PiggyBankRepetition::where('currentamount', '<', 0)->get(); - $count = $set->count(); - if (0 === $count) { - $this->info('Correct: All piggy bank repetition amounts are positive.'); - return; - } - /** @var PiggyBankRepetition $item */ - foreach ($set as $item) { - $item->currentamount = app('steam')->positive((string)$item->currentamount); - $item->save(); - } - $this->line(sprintf('Corrected %d piggy bank repetition amount(s).', $count)); - } - /** * @return void */ @@ -237,6 +218,25 @@ class CorrectAmounts extends Command $this->line(sprintf('Corrected %d recurring transaction amount(s).', $count)); } + /** + * @return void + */ + private function fixRepetitions(): void + { + $set = PiggyBankRepetition::where('currentamount', '<', 0)->get(); + $count = $set->count(); + if (0 === $count) { + $this->info('Correct: All piggy bank repetition amounts are positive.'); + return; + } + /** @var PiggyBankRepetition $item */ + foreach ($set as $item) { + $item->currentamount = app('steam')->positive((string)$item->currentamount); + $item->save(); + } + $this->line(sprintf('Corrected %d piggy bank repetition amount(s).', $count)); + } + /** * @return void */ diff --git a/app/Console/Commands/Correction/CorrectDatabase.php b/app/Console/Commands/Correction/CorrectDatabase.php index 6c8c9bf1d8..87dd43e36f 100644 --- a/app/Console/Commands/Correction/CorrectDatabase.php +++ b/app/Console/Commands/Correction/CorrectDatabase.php @@ -83,7 +83,7 @@ class CorrectDatabase extends Command 'firefly-iii:fix-frontpage-accounts', // new! 'firefly-iii:unify-group-accounts', - 'firefly-iii:trigger-credit-recalculation' + 'firefly-iii:trigger-credit-recalculation', ]; foreach ($commands as $command) { $this->line(sprintf('Now executing command "%s"', $command)); diff --git a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php index 7685e71bf1..3953eba431 100644 --- a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php +++ b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php @@ -33,8 +33,8 @@ use FireflyIII\Models\TransactionJournal; use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use Illuminate\Console\Command; -use JsonException; use Illuminate\Support\Facades\Log; +use JsonException; /** * Class CorrectOpeningBalanceCurrencies diff --git a/app/Console/Commands/Correction/DeleteEmptyJournals.php b/app/Console/Commands/Correction/DeleteEmptyJournals.php index 45c3ce7aa7..e62b6be7d6 100644 --- a/app/Console/Commands/Correction/DeleteEmptyJournals.php +++ b/app/Console/Commands/Correction/DeleteEmptyJournals.php @@ -61,6 +61,33 @@ class DeleteEmptyJournals extends Command return 0; } + private function deleteEmptyJournals(): void + { + $start = microtime(true); + $count = 0; + $set = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') + ->groupBy('transaction_journals.id') + ->whereNull('transactions.transaction_journal_id') + ->get(['transaction_journals.id']); + + foreach ($set as $entry) { + try { + TransactionJournal::find($entry->id)->delete(); + } catch (QueryException $e) { + Log::info(sprintf('Could not delete entry: %s', $e->getMessage())); + } + + + $this->info(sprintf('Deleted empty transaction journal #%d', $entry->id)); + ++$count; + } + if (0 === $count) { + $this->info('No empty transaction journals.'); + } + $end = round(microtime(true) - $start, 2); + $this->info(sprintf('Verified empty journals in %s seconds', $end)); + } + /** * Delete transactions and their journals if they have an uneven number of transactions. */ @@ -91,31 +118,4 @@ class DeleteEmptyJournals extends Command $this->info('No uneven transaction journals.'); } } - - private function deleteEmptyJournals(): void - { - $start = microtime(true); - $count = 0; - $set = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') - ->groupBy('transaction_journals.id') - ->whereNull('transactions.transaction_journal_id') - ->get(['transaction_journals.id']); - - foreach ($set as $entry) { - try { - TransactionJournal::find($entry->id)->delete(); - } catch (QueryException $e) { - Log::info(sprintf('Could not delete entry: %s', $e->getMessage())); - } - - - $this->info(sprintf('Deleted empty transaction journal #%d', $entry->id)); - ++$count; - } - if (0 === $count) { - $this->info('No empty transaction journals.'); - } - $end = round(microtime(true) - $start, 2); - $this->info(sprintf('Verified empty journals in %s seconds', $end)); - } } diff --git a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php index 461dd0bda9..b559c43101 100644 --- a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php +++ b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php @@ -27,7 +27,6 @@ use Exception; use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionJournal; use Illuminate\Console\Command; -use Illuminate\Support\Facades\Log; use stdClass; /** @@ -66,6 +65,38 @@ class DeleteOrphanedTransactions extends Command return 0; } + /** + * + */ + private function deleteFromOrphanedAccounts(): void + { + $set + = Transaction::leftJoin('accounts', 'transactions.account_id', '=', 'accounts.id') + ->whereNotNull('accounts.deleted_at') + ->get(['transactions.*']); + $count = 0; + /** @var Transaction $transaction */ + foreach ($set as $transaction) { + // delete journals + $journal = TransactionJournal::find((int)$transaction->transaction_journal_id); + if ($journal) { + $journal->delete(); + } + Transaction::where('transaction_journal_id', (int)$transaction->transaction_journal_id)->delete(); + $this->line( + sprintf( + 'Deleted transaction journal #%d because account #%d was already deleted.', + $transaction->transaction_journal_id, + $transaction->account_id + ) + ); + $count++; + } + if (0 === $count) { + $this->info('No orphaned accounts.'); + } + } + private function deleteOrphanedJournals(): void { $set = TransactionJournal::leftJoin('transaction_groups', 'transaction_journals.transaction_group_id', 'transaction_groups.id') @@ -129,36 +160,4 @@ class DeleteOrphanedTransactions extends Command $this->info('No orphaned transactions.'); } } - - /** - * - */ - private function deleteFromOrphanedAccounts(): void - { - $set - = Transaction::leftJoin('accounts', 'transactions.account_id', '=', 'accounts.id') - ->whereNotNull('accounts.deleted_at') - ->get(['transactions.*']); - $count = 0; - /** @var Transaction $transaction */ - foreach ($set as $transaction) { - // delete journals - $journal = TransactionJournal::find((int)$transaction->transaction_journal_id); - if ($journal) { - $journal->delete(); - } - Transaction::where('transaction_journal_id', (int)$transaction->transaction_journal_id)->delete(); - $this->line( - sprintf( - 'Deleted transaction journal #%d because account #%d was already deleted.', - $transaction->transaction_journal_id, - $transaction->account_id - ) - ); - $count++; - } - if (0 === $count) { - $this->info('No orphaned accounts.'); - } - } } diff --git a/app/Console/Commands/Correction/FixIbans.php b/app/Console/Commands/Correction/FixIbans.php index 11678115ca..a465259e94 100644 --- a/app/Console/Commands/Correction/FixIbans.php +++ b/app/Console/Commands/Correction/FixIbans.php @@ -69,27 +69,38 @@ class FixIbans extends Command { $set = []; /** @var Account $account */ - foreach($accounts as $account) { + foreach ($accounts as $account) { $userId = (int)$account->user_id; $set[$userId] = $set[$userId] ?? []; $iban = (string)$account->iban; + if ('' === $iban) { + continue; + } $type = $account->accountType->type; - if(in_array($type, [AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE], true)) { + if (in_array($type, [AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE], true)) { $type = 'liabilities'; } - if(array_key_exists($iban, $set[$userId])) { + if (array_key_exists($iban, $set[$userId])) { // iban already in use! two exceptions exist: - if( + if ( !(AccountType::EXPENSE === $set[$userId][$iban] && AccountType::REVENUE === $type) && // allowed combination !(AccountType::REVENUE === $set[$userId][$iban] && AccountType::EXPENSE === $type) // also allowed combination. ) { - $this->line(sprintf('IBAN "%s" is used more than once and will be removed from %s #%d ("%s")', $iban, $account->accountType->type, $account->id, $account->name)); + $this->line( + sprintf( + 'IBAN "%s" is used more than once and will be removed from %s #%d ("%s")', + $iban, + $account->accountType->type, + $account->id, + $account->name + ) + ); $account->iban = null; $account->save(); } } - if(!array_key_exists($iban, $set[$userId])) { + if (!array_key_exists($iban, $set[$userId])) { $set[$userId][$iban] = $type; } } diff --git a/app/Console/Commands/Correction/FixRecurringTransactions.php b/app/Console/Commands/Correction/FixRecurringTransactions.php index 99e1a08b18..05d182dfc8 100644 --- a/app/Console/Commands/Correction/FixRecurringTransactions.php +++ b/app/Console/Commands/Correction/FixRecurringTransactions.php @@ -70,19 +70,6 @@ class FixRecurringTransactions extends Command return 0; } - /** - * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is - * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should - * be called from the handle method instead of using the constructor to initialize the command. - * - - */ - private function stupidLaravel(): void - { - $this->recurringRepos = app(RecurringRepositoryInterface::class); - $this->userRepos = app(UserRepositoryInterface::class); - } - /** * */ @@ -95,19 +82,6 @@ class FixRecurringTransactions extends Command } } - /** - * @param User $user - */ - private function processUser(User $user): void - { - $this->recurringRepos->setUser($user); - $recurrences = $this->recurringRepos->get(); - /** @var Recurrence $recurrence */ - foreach ($recurrences as $recurrence) { - $this->processRecurrence($recurrence); - } - } - /** * @param Recurrence $recurrence */ @@ -140,4 +114,30 @@ class FixRecurringTransactions extends Command } } } + + /** + * @param User $user + */ + private function processUser(User $user): void + { + $this->recurringRepos->setUser($user); + $recurrences = $this->recurringRepos->get(); + /** @var Recurrence $recurrence */ + foreach ($recurrences as $recurrence) { + $this->processRecurrence($recurrence); + } + } + + /** + * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is + * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should + * be called from the handle method instead of using the constructor to initialize the command. + * + + */ + private function stupidLaravel(): void + { + $this->recurringRepos = app(RecurringRepositoryInterface::class); + $this->userRepos = app(UserRepositoryInterface::class); + } } diff --git a/app/Console/Commands/Correction/FixTransactionTypes.php b/app/Console/Commands/Correction/FixTransactionTypes.php index fef7952d9a..c818bd6ca1 100644 --- a/app/Console/Commands/Correction/FixTransactionTypes.php +++ b/app/Console/Commands/Correction/FixTransactionTypes.php @@ -78,6 +78,19 @@ class FixTransactionTypes extends Command return 0; } + /** + * @param TransactionJournal $journal + * @param string $expectedType + */ + private function changeJournal(TransactionJournal $journal, string $expectedType): void + { + $type = TransactionType::whereType($expectedType)->first(); + if (null !== $type) { + $journal->transaction_type_id = $type->id; + $journal->save(); + } + } + /** * Collect all transaction journals. * @@ -125,36 +138,6 @@ class FixTransactionTypes extends Command return false; } - /** - * @param TransactionJournal $journal - * - * @return Account - * @throws FireflyException - */ - private function getSourceAccount(TransactionJournal $journal): Account - { - $collection = $journal->transactions->filter( - static function (Transaction $transaction) { - return $transaction->amount < 0; - } - ); - if (0 === $collection->count()) { - throw new FireflyException(sprintf('300001: Journal #%d has no source transaction.', $journal->id)); - } - if (1 !== $collection->count()) { - throw new FireflyException(sprintf('300002: Journal #%d has multiple source transactions.', $journal->id)); - } - /** @var Transaction $transaction */ - $transaction = $collection->first(); - /** @var Account|null $account */ - $account = $transaction->account; - if (null === $account) { - throw new FireflyException(sprintf('300003: Journal #%d, transaction #%d has no source account.', $journal->id, $transaction->id)); - } - - return $account; - } - /** * @param TransactionJournal $journal * @@ -187,14 +170,31 @@ class FixTransactionTypes extends Command /** * @param TransactionJournal $journal - * @param string $expectedType + * + * @return Account + * @throws FireflyException */ - private function changeJournal(TransactionJournal $journal, string $expectedType): void + private function getSourceAccount(TransactionJournal $journal): Account { - $type = TransactionType::whereType($expectedType)->first(); - if (null !== $type) { - $journal->transaction_type_id = $type->id; - $journal->save(); + $collection = $journal->transactions->filter( + static function (Transaction $transaction) { + return $transaction->amount < 0; + } + ); + if (0 === $collection->count()) { + throw new FireflyException(sprintf('300001: Journal #%d has no source transaction.', $journal->id)); } + if (1 !== $collection->count()) { + throw new FireflyException(sprintf('300002: Journal #%d has multiple source transactions.', $journal->id)); + } + /** @var Transaction $transaction */ + $transaction = $collection->first(); + /** @var Account|null $account */ + $account = $transaction->account; + if (null === $account) { + throw new FireflyException(sprintf('300003: Journal #%d, transaction #%d has no source account.', $journal->id, $transaction->id)); + } + + return $account; } } diff --git a/app/Console/Commands/Correction/TriggerCreditCalculation.php b/app/Console/Commands/Correction/TriggerCreditCalculation.php index a0e7ca9d9d..14f86dd29f 100644 --- a/app/Console/Commands/Correction/TriggerCreditCalculation.php +++ b/app/Console/Commands/Correction/TriggerCreditCalculation.php @@ -39,17 +39,6 @@ class TriggerCreditCalculation extends Command return 0; } - private function processAccounts(): void - { - $accounts = Account::leftJoin('account_types', 'accounts.account_type_id', 'account_types.id') - ->whereIn('account_types.type', config('firefly.valid_liabilities')) - ->get(['accounts.*']); - foreach ($accounts as $account) { - Log::debug(sprintf('Processing account #%d ("%s")', $account->id, $account->name)); - $this->processAccount($account); - } - } - /** * @param Account $account * @return void @@ -61,4 +50,15 @@ class TriggerCreditCalculation extends Command $object->setAccount($account); $object->recalculate(); } + + private function processAccounts(): void + { + $accounts = Account::leftJoin('account_types', 'accounts.account_type_id', 'account_types.id') + ->whereIn('account_types.type', config('firefly.valid_liabilities')) + ->get(['accounts.*']); + foreach ($accounts as $account) { + Log::debug(sprintf('Processing account #%d ("%s")', $account->id, $account->name)); + $this->processAccount($account); + } + } } diff --git a/app/Console/Commands/Integrity/CreateGroupMemberships.php b/app/Console/Commands/Integrity/CreateGroupMemberships.php index d83d8cfca7..768df35247 100644 --- a/app/Console/Commands/Integrity/CreateGroupMemberships.php +++ b/app/Console/Commands/Integrity/CreateGroupMemberships.php @@ -51,39 +51,6 @@ class CreateGroupMemberships extends Command */ protected $signature = 'firefly-iii:create-group-memberships'; - /** - * Execute the console command. - * - * @return int - * @throws FireflyException - */ - public function handle(): int - { - $start = microtime(true); - - $this->createGroupMemberships(); - - $end = round(microtime(true) - $start, 2); - $this->info(sprintf('Validated group memberships in %s seconds.', $end)); - - return 0; - } - - /** - * - * @throws FireflyException - */ - private function createGroupMemberships(): void - { - $users = User::get(); - /** @var User $user */ - foreach ($users as $user) { - Log::debug(sprintf('Manage group memberships for user #%d', $user->id)); - self::createGroupMembership($user); - Log::debug(sprintf('Done with user #%d', $user->id)); - } - } - /** * TODO move to helper. * @param User $user @@ -125,4 +92,37 @@ class CreateGroupMemberships extends Command Log::debug(sprintf('User #%d now has main group.', $user->id)); } + + /** + * Execute the console command. + * + * @return int + * @throws FireflyException + */ + public function handle(): int + { + $start = microtime(true); + + $this->createGroupMemberships(); + + $end = round(microtime(true) - $start, 2); + $this->info(sprintf('Validated group memberships in %s seconds.', $end)); + + return 0; + } + + /** + * + * @throws FireflyException + */ + private function createGroupMemberships(): void + { + $users = User::get(); + /** @var User $user */ + foreach ($users as $user) { + Log::debug(sprintf('Manage group memberships for user #%d', $user->id)); + self::createGroupMembership($user); + Log::debug(sprintf('Done with user #%d', $user->id)); + } + } } diff --git a/app/Console/Commands/Integrity/ReportEmptyObjects.php b/app/Console/Commands/Integrity/ReportEmptyObjects.php index 73c8814261..ea3e2e342f 100644 --- a/app/Console/Commands/Integrity/ReportEmptyObjects.php +++ b/app/Console/Commands/Integrity/ReportEmptyObjects.php @@ -67,6 +67,51 @@ class ReportEmptyObjects extends Command return 0; } + /** + * Reports on accounts with no transactions. + */ + private function reportAccounts(): void + { + $set = Account::leftJoin('transactions', 'transactions.account_id', '=', 'accounts.id') + ->leftJoin('users', 'accounts.user_id', '=', 'users.id') + ->groupBy(['accounts.id', 'accounts.encrypted', 'accounts.name', 'accounts.user_id', 'users.email']) + ->whereNull('transactions.account_id') + ->get( + ['accounts.id', 'accounts.encrypted', 'accounts.name', 'accounts.user_id', 'users.email'] + ); + + /** @var stdClass $entry */ + foreach ($set as $entry) { + $line = 'User #%d (%s) has account #%d ("%s") which has no transactions.'; + $line = sprintf($line, $entry->user_id, $entry->email, $entry->id, $entry->name); + $this->line($line); + } + } + + /** + * Reports on budgets with no budget limits (which makes them pointless). + */ + private function reportBudgetLimits(): void + { + $set = Budget::leftJoin('budget_limits', 'budget_limits.budget_id', '=', 'budgets.id') + ->leftJoin('users', 'budgets.user_id', '=', 'users.id') + ->groupBy(['budgets.id', 'budgets.name', 'budgets.encrypted', 'budgets.user_id', 'users.email']) + ->whereNull('budget_limits.id') + ->get(['budgets.id', 'budgets.name', 'budgets.user_id', 'budgets.encrypted', 'users.email']); + + /** @var Budget $entry */ + foreach ($set as $entry) { + $line = sprintf( + 'User #%d (%s) has budget #%d ("%s") which has no budget limits.', + $entry->user_id, + $entry->email, + $entry->id, + $entry->name + ); + $this->line($line); + } + } + /** * Report on budgets with no transactions or journals. */ @@ -141,49 +186,4 @@ class ReportEmptyObjects extends Command $this->line($line); } } - - /** - * Reports on accounts with no transactions. - */ - private function reportAccounts(): void - { - $set = Account::leftJoin('transactions', 'transactions.account_id', '=', 'accounts.id') - ->leftJoin('users', 'accounts.user_id', '=', 'users.id') - ->groupBy(['accounts.id', 'accounts.encrypted', 'accounts.name', 'accounts.user_id', 'users.email']) - ->whereNull('transactions.account_id') - ->get( - ['accounts.id', 'accounts.encrypted', 'accounts.name', 'accounts.user_id', 'users.email'] - ); - - /** @var stdClass $entry */ - foreach ($set as $entry) { - $line = 'User #%d (%s) has account #%d ("%s") which has no transactions.'; - $line = sprintf($line, $entry->user_id, $entry->email, $entry->id, $entry->name); - $this->line($line); - } - } - - /** - * Reports on budgets with no budget limits (which makes them pointless). - */ - private function reportBudgetLimits(): void - { - $set = Budget::leftJoin('budget_limits', 'budget_limits.budget_id', '=', 'budgets.id') - ->leftJoin('users', 'budgets.user_id', '=', 'users.id') - ->groupBy(['budgets.id', 'budgets.name', 'budgets.encrypted', 'budgets.user_id', 'users.email']) - ->whereNull('budget_limits.id') - ->get(['budgets.id', 'budgets.name', 'budgets.user_id', 'budgets.encrypted', 'users.email']); - - /** @var Budget $entry */ - foreach ($set as $entry) { - $line = sprintf( - 'User #%d (%s) has budget #%d ("%s") which has no budget limits.', - $entry->user_id, - $entry->email, - $entry->id, - $entry->name - ); - $this->line($line); - } - } } diff --git a/app/Console/Commands/Integrity/ReportIntegrity.php b/app/Console/Commands/Integrity/ReportIntegrity.php index f6c21234f7..731ac0a9e1 100644 --- a/app/Console/Commands/Integrity/ReportIntegrity.php +++ b/app/Console/Commands/Integrity/ReportIntegrity.php @@ -61,7 +61,7 @@ class ReportIntegrity extends Command 'firefly-iii:report-empty-objects', 'firefly-iii:report-sum', 'firefly-iii:restore-oauth-keys', - 'firefly-iii:upgrade-group-information' + 'firefly-iii:upgrade-group-information', ]; foreach ($commands as $command) { $this->line(sprintf('Now executing %s', $command)); diff --git a/app/Console/Commands/Integrity/RestoreOAuthKeys.php b/app/Console/Commands/Integrity/RestoreOAuthKeys.php index e92d6b827a..bbee5e20b7 100644 --- a/app/Console/Commands/Integrity/RestoreOAuthKeys.php +++ b/app/Console/Commands/Integrity/RestoreOAuthKeys.php @@ -58,6 +58,38 @@ class RestoreOAuthKeys extends Command return 0; } + /** + * + */ + private function generateKeys(): void + { + OAuthKeys::generateKeys(); + } + + /** + * @return bool + */ + private function keysInDatabase(): bool + { + return OAuthKeys::keysInDatabase(); + } + + /** + * @return bool + */ + private function keysOnDrive(): bool + { + return OAuthKeys::hasKeyFiles(); + } + + /** + * + */ + private function restoreKeysFromDB(): bool + { + return OAuthKeys::restoreKeysFromDB(); + } + /** * */ @@ -97,30 +129,6 @@ class RestoreOAuthKeys extends Command $this->line('OAuth keys are OK'); } - /** - * @return bool - */ - private function keysInDatabase(): bool - { - return OAuthKeys::keysInDatabase(); - } - - /** - * @return bool - */ - private function keysOnDrive(): bool - { - return OAuthKeys::hasKeyFiles(); - } - - /** - * - */ - private function generateKeys(): void - { - OAuthKeys::generateKeys(); - } - /** * */ @@ -128,12 +136,4 @@ class RestoreOAuthKeys extends Command { OAuthKeys::storeKeysInDB(); } - - /** - * - */ - private function restoreKeysFromDB(): bool - { - return OAuthKeys::restoreKeysFromDB(); - } } diff --git a/app/Console/Commands/System/ForceDecimalSize.php b/app/Console/Commands/System/ForceDecimalSize.php index 66eefca3a5..295174d201 100644 --- a/app/Console/Commands/System/ForceDecimalSize.php +++ b/app/Console/Commands/System/ForceDecimalSize.php @@ -23,82 +23,526 @@ declare(strict_types=1); namespace FireflyIII\Console\Commands\System; -use FireflyIII\Console\Commands\VerifiesAccessToken; use FireflyIII\Exceptions\FireflyException; +use FireflyIII\Models\Account; +use FireflyIII\Models\AutoBudget; +use FireflyIII\Models\AvailableBudget; +use FireflyIII\Models\Bill; +use FireflyIII\Models\BudgetLimit; +use FireflyIII\Models\PiggyBank; +use FireflyIII\Models\PiggyBankEvent; +use FireflyIII\Models\PiggyBankRepetition; +use FireflyIII\Models\RecurrenceTransaction; +use FireflyIII\Models\Transaction; +use FireflyIII\Models\TransactionCurrency; use Illuminate\Console\Command; +use Illuminate\Database\Eloquent\Builder; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; +/** + * Class ForceDecimalSize + * + * This command was inspired by https://github.com/elliot-gh. It will check all amount fields + * and their values and correct them to the correct number of decimal places. This fixes issues where + * Firefly III would store 0.01 as 0.01000000000000000020816681711721685132943093776702880859375. + */ class ForceDecimalSize extends Command { - use VerifiesAccessToken; - /** - * The name and signature of the console command. - * - * @var string - */ - protected $signature = 'firefly-iii:force-decimal-size - {--user=1 : The user ID.} - {--token= : The user\'s access token.}'; + protected $description = 'This command resizes DECIMAL columns in MySQL or PostgreSQL and correct amounts (only MySQL).'; + protected $signature = 'firefly-iii:force-decimal-size'; + private string $cast; + private array $classes = [ + 'accounts' => Account::class, + 'auto_budgets' => AutoBudget::class, + 'available_budgets' => AvailableBudget::class, + 'bills' => Bill::class, + 'budget_limits' => BudgetLimit::class, + 'piggy_bank_events' => PiggyBankEvent::class, + 'piggy_bank_repetitions' => PiggyBankRepetition::class, + 'piggy_banks' => PiggyBank::class, + 'recurrences_transactions' => RecurrenceTransaction::class, + 'transactions' => Transaction::class, + ]; - /** - * The console command description. - * - * @var string - */ - protected $description = 'This command resizes DECIMAL columns in MySQL or PostgreSQL.'; + private string $operator; + private string $regularExpression; + private array $tables = [ + 'accounts' => ['virtual_balance'], + 'auto_budgets' => ['amount'], + 'available_budgets' => ['amount'], + 'bills' => ['amount_min', 'amount_max'], + 'budget_limits' => ['amount'], + 'currency_exchange_rates' => ['rate', 'user_rate'], + 'limit_repetitions' => ['amount'], + 'piggy_bank_events' => ['amount'], + 'piggy_bank_repetitions' => ['currentamount'], + 'piggy_banks' => ['targetamount'], + 'recurrences_transactions' => ['amount', 'foreign_amount'], + 'transactions' => ['amount', 'foreign_amount'], + ]; /** * Execute the console command. + * * @throws FireflyException */ public function handle(): int { - if (!$this->verifyAccessToken()) { - $this->error('Invalid access token.'); - - return 1; - } + Log::debug('Now in ForceDecimalSize::handle()'); + $this->determineDatabaseType(); $this->error('Running this command is dangerous and can cause data loss.'); $this->error('Please do not continue.'); $question = $this->confirm('Do you want to continue?'); if (true === $question) { - $user = $this->getUser(); - Log::channel('audit')->info(sprintf('User #%d ("%s") forced DECIMAL size.', $user->id, $user->email)); + $this->correctAmounts(); $this->updateDecimals(); - return 0; } $this->line('Done!'); return 0; } - private function updateDecimals(): void + /** + * This method loops over all accounts and validates the amounts. + * + * @param TransactionCurrency $currency + * @param array $fields + * @return void + */ + private function correctAccountAmounts(TransactionCurrency $currency, array $fields): void { - $this->info('Going to force the size of DECIMAL columns. Please hold.'); - $tables = [ - 'accounts' => ['virtual_balance'], - 'auto_budgets' => ['amount'], - 'available_budgets' => ['amount'], - 'bills' => ['amount_min', 'amount_max'], - 'budget_limits' => ['amount'], - 'currency_exchange_rates' => ['rate', 'user_rate'], - 'limit_repetitions' => ['amount'], - 'piggy_bank_events' => ['amount'], - 'piggy_bank_repetitions' => ['currentamount'], - 'piggy_banks' => ['targetamount'], - 'recurrences_transactions' => ['amount', 'foreign_amount'], - 'transactions' => ['amount', 'foreign_amount'], - ]; + $operator = $this->operator; + $cast = $this->cast; + $regularExpression = $this->regularExpression; + + /** @var Builder $query */ + $query = Account::leftJoin('account_meta', 'accounts.id', '=', 'account_meta.account_id') + ->where('account_meta.name', 'currency_id') + ->where('account_meta.data', json_encode((string)$currency->id)); + $query->where(static function (Builder $q) use ($fields, $currency, $operator, $cast, $regularExpression) { + foreach ($fields as $field) { + $q->orWhere( + DB::raw(sprintf('CAST(accounts.%s AS %s)', $field, $cast)), + $operator, + DB::raw(sprintf($regularExpression, $currency->decimal_places)) + ); + } + }); + $result = $query->get(['accounts.*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All accounts in %s', $currency->code)); + return; + } + /** @var Account $account */ + foreach ($result as $account) { + foreach ($fields as $field) { + $value = $account->$field; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('Account #%d has %s with value "%s", this has been corrected to "%s".', $account->id, $field, $value, $correct)); + Account::find($account->id)->update([$field => $correct]); + } + } + } + + /** + * This method checks if a basic check can be done or if it needs to be complicated. + * + * @return void + */ + private function correctAmounts(): void + { + // if sqlite, add function? + if ('sqlite' === (string)config('database.default')) { + DB::connection()->getPdo()->sqliteCreateFunction('REGEXP', function ($pattern, $value) { + mb_regex_encoding('UTF-8'); + $pattern = trim($pattern, '"'); + return (false !== mb_ereg($pattern, (string) $value)) ? 1 : 0; + }); + } + + if (!in_array((string)config('database.default'), ['mysql', 'pgsql', 'sqlite'], true)) { + $this->line(sprintf('Skip correcting amounts, does not support "%s"...', (string)config('database.default'))); + return; + } + $this->correctAmountsByCurrency(); + } + + /** + * This method loops all enabled currencies and then calls the method that will fix all objects in this currency. + * + * @return void + */ + private function correctAmountsByCurrency(): void + { + $this->line('Going to correct amounts.'); + /** @var Collection $enabled */ + $enabled = TransactionCurrency::whereEnabled(1)->get(); + /** @var TransactionCurrency $currency */ + foreach ($enabled as $currency) { + $this->correctByCurrency($currency); + } + } + + /** + * This method loops the available tables that may need fixing, and calls for the right method that can fix them. + * + * @param TransactionCurrency $currency + * @return void + * @throws FireflyException + */ + private function correctByCurrency(TransactionCurrency $currency): void + { + $this->line(sprintf('Going to correct amounts in currency %s ("%s").', $currency->code, $currency->name)); /** * @var string $name * @var array $fields */ - foreach($tables as $name => $fields) { + foreach ($this->tables as $name => $fields) { + switch ($name) { + default: + $message = sprintf('Cannot handle table "%s"', $name); + $this->line($message); + throw new FireflyException($message); + case 'accounts': + $this->correctAccountAmounts($currency, $fields); + break; + case 'auto_budgets': + case 'available_budgets': + case 'bills': + case 'budget_limits': + case 'recurrences_transactions': + $this->correctGeneric($currency, $name); + break; + case 'currency_exchange_rates': + case 'limit_repetitions': + // do nothing + break; + case 'piggy_bank_events': + $this->correctPiggyEventAmounts($currency, $fields); + break; + case 'piggy_bank_repetitions': + $this->correctPiggyRepetitionAmounts($currency, $fields); + break; + case 'piggy_banks': + $this->correctPiggyAmounts($currency, $fields); + break; + case 'transactions': + $this->correctTransactionAmounts($currency); + break; + } + } + } + + /** + * This method fixes all auto budgets in currency $currency. + * @param TransactionCurrency $currency + * @param string $table + * @return void + */ + private function correctGeneric(TransactionCurrency $currency, string $table): void + { + $class = $this->classes[$table]; + $fields = $this->tables[$table]; + $operator = $this->operator; + $cast = $this->cast; + $regularExpression = $this->regularExpression; + + /** @var Builder $query */ + $query = $class::where('transaction_currency_id', $currency->id)->where( + static function (Builder $q) use ($fields, $currency, $operator, $cast, $regularExpression) { + foreach ($fields as $field) { + $q->orWhere( + DB::raw(sprintf('CAST(%s AS %s)', $field, $cast)), + $operator, + DB::raw(sprintf($regularExpression, $currency->decimal_places)) + ); + } + } + ); + + $result = $query->get(['*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All %s in %s', $table, $currency->code)); + return; + } + /** @var Model $item */ + foreach ($result as $item) { + foreach ($fields as $field) { + $value = $item->$field; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('%s #%d has %s with value "%s", this has been corrected to "%s".', $table, $item->id, $field, $value, $correct)); + $class::find($item->id)->update([$field => $correct]); + } + } + } + + /** + * This method fixes all piggy banks in currency $currency. + * + * @param TransactionCurrency $currency + * @param array $fields + * @return void + */ + private function correctPiggyAmounts(TransactionCurrency $currency, array $fields): void + { + $operator = $this->operator; + $cast = $this->cast; + $regularExpression = $this->regularExpression; + + /** @var Builder $query */ + $query = PiggyBank::leftJoin('accounts', 'piggy_banks.account_id', '=', 'accounts.id') + ->leftJoin('account_meta', 'accounts.id', '=', 'account_meta.account_id') + ->where('account_meta.name', 'currency_id') + ->where('account_meta.data', json_encode((string)$currency->id)) + ->where(static function (Builder $q) use ($fields, $currency, $operator, $cast, $regularExpression) { + foreach ($fields as $field) { + $q->orWhere( + DB::raw(sprintf('CAST(piggy_banks.%s AS %s)', $field, $cast)), + $operator, + DB::raw(sprintf($regularExpression, $currency->decimal_places)) + ); + } + }); + + $result = $query->get(['piggy_banks.*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All piggy banks in %s', $currency->code)); + return; + } + /** @var PiggyBank $item */ + foreach ($result as $item) { + foreach ($fields as $field) { + $value = $item->$field; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('Piggy bank #%d has %s with value "%s", this has been corrected to "%s".', $item->id, $field, $value, $correct)); + PiggyBank::find($item->id)->update([$field => $correct]); + } + } + } + + /** + * This method fixes all piggy bank events in currency $currency. + * @param TransactionCurrency $currency + * @param array $fields + * @return void + */ + private function correctPiggyEventAmounts(TransactionCurrency $currency, array $fields): void + { + $operator = $this->operator; + $cast = $this->cast; + $regularExpression = $this->regularExpression; + + /** @var Builder $query */ + $query = PiggyBankEvent::leftJoin('piggy_banks', 'piggy_bank_events.piggy_bank_id', '=', 'piggy_banks.id') + ->leftJoin('accounts', 'piggy_banks.account_id', '=', 'accounts.id') + ->leftJoin('account_meta', 'accounts.id', '=', 'account_meta.account_id') + ->where('account_meta.name', 'currency_id') + ->where('account_meta.data', json_encode((string)$currency->id)) + ->where(static function (Builder $q) use ($fields, $currency, $cast, $operator, $regularExpression) { + foreach ($fields as $field) { + $q->orWhere( + DB::raw(sprintf('CAST(piggy_bank_events.%s AS %s)', $field, $cast)), + $operator, + DB::raw(sprintf($regularExpression, $currency->decimal_places)) + ); + } + }); + + $result = $query->get(['piggy_bank_events.*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All piggy bank events in %s', $currency->code)); + return; + } + /** @var PiggyBankEvent $item */ + foreach ($result as $item) { + foreach ($fields as $field) { + $value = $item->$field; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('Piggy bank event #%d has %s with value "%s", this has been corrected to "%s".', $item->id, $field, $value, $correct)); + PiggyBankEvent::find($item->id)->update([$field => $correct]); + } + } + } + + /** + * This method fixes all piggy bank repetitions in currency $currency. + * + * @param TransactionCurrency $currency + * @param array $fields + * @return void + */ + private function correctPiggyRepetitionAmounts(TransactionCurrency $currency, array $fields) + { + $operator = $this->operator; + $cast = $this->cast; + $regularExpression = $this->regularExpression; + // select all piggy bank repetitions with this currency and issue. + /** @var Builder $query */ + $query = PiggyBankRepetition::leftJoin('piggy_banks', 'piggy_bank_repetitions.piggy_bank_id', '=', 'piggy_banks.id') + ->leftJoin('accounts', 'piggy_banks.account_id', '=', 'accounts.id') + ->leftJoin('account_meta', 'accounts.id', '=', 'account_meta.account_id') + ->where('account_meta.name', 'currency_id') + ->where('account_meta.data', json_encode((string)$currency->id)) + ->where(static function (Builder $q) use ($fields, $currency, $operator, $cast, $regularExpression) { + foreach ($fields as $field) { + $q->orWhere( + DB::raw(sprintf('CAST(piggy_bank_repetitions.%s AS %s)', $field, $cast)), + $operator, + DB::raw(sprintf($regularExpression, $currency->decimal_places)) + ); + } + }); + + $result = $query->get(['piggy_bank_repetitions.*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All piggy bank repetitions in %s', $currency->code)); + return; + } + /** @var PiggyBankRepetition $item */ + foreach ($result as $item) { + foreach ($fields as $field) { + $value = $item->$field; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('Piggy bank repetition #%d has %s with value "%s", this has been corrected to "%s".', $item->id, $field, $value, $correct)); + PiggyBankRepetition::find($item->id)->update([$field => $correct]); + } + } + } + + /** + * This method fixes all transactions in currency $currency. + * + * @param TransactionCurrency $currency + * @return void + */ + private function correctTransactionAmounts(TransactionCurrency $currency): void + { + // select all transactions with this currency and issue. + /** @var Builder $query */ + $query = Transaction::where('transaction_currency_id', $currency->id)->where( + DB::raw(sprintf('CAST(amount as %s)', $this->cast)), + $this->operator, + DB::raw(sprintf($this->regularExpression, $currency->decimal_places)) + ); + + $result = $query->get(['transactions.*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All transactions in %s', $currency->code)); + } + + /** @var Transaction $item */ + foreach ($result as $item) { + $value = $item->amount; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('Transaction #%d has amount with value "%s", this has been corrected to "%s".', $item->id, $value, $correct)); + Transaction::find($item->id)->update(['amount' => $correct]); + } + + // select all transactions with this FOREIGN currency and issue. + /** @var Builder $query */ + $query = Transaction::where('foreign_currency_id', $currency->id)->where( + DB::raw(sprintf('CAST(foreign_amount as %s)', $this->cast)), + $this->operator, + DB::raw(sprintf($this->regularExpression, $currency->decimal_places)) + ); + + $result = $query->get(['*']); + if (0 === $result->count()) { + $this->line(sprintf('Correct: All transactions in foreign currency %s', $currency->code)); + return; + } + /** @var Transaction $item */ + foreach ($result as $item) { + $value = $item->foreign_amount; + if (null === $value) { + continue; + } + // fix $field by rounding it down correctly. + $pow = pow(10, (int)$currency->decimal_places); + $correct = bcdiv((string)round($value * $pow), (string)$pow, 12); + $this->line(sprintf('Transaction #%d has foreign amount with value "%s", this has been corrected to "%s".', $item->id, $value, $correct)); + Transaction::find($item->id)->update(['foreign_amount' => $correct]); + } + } + + private function determineDatabaseType(): void + { + // switch stuff based on database connection: + $this->operator = 'REGEXP'; + $this->regularExpression = '\'\\\\.[\\\\d]{%d}[1-9]+\''; + $this->cast = 'CHAR'; + if ('pgsql' === config('database.default')) { + $this->operator = 'SIMILAR TO'; + $this->regularExpression = '\'%%\.[\d]{%d}[1-9]+%%\''; + $this->cast = 'TEXT'; + } + if ('sqlite' === config('database.default')) { + $this->regularExpression = '"\\.[\d]{%d}[1-9]+"'; + } + } + + /** + * @return void + */ + private function updateDecimals(): void + { + $this->info('Going to force the size of DECIMAL columns. Please hold.'); + $type = (string)config('database.default'); + + /** + * @var string $name + * @var array $fields + */ + foreach ($this->tables as $name => $fields) { /** @var string $field */ - foreach($fields as $field) { + foreach ($fields as $field) { $this->line(sprintf('Updating table "%s", field "%s"...', $name, $field)); - $query = sprintf('ALTER TABLE %s CHANGE COLUMN %s %s DECIMAL(32, 12);', $name, $field, $field); + + switch ($type) { + default: + $this->error(sprintf('Cannot handle database type "%s".', $type)); + return; + case 'pgsql': + $query = sprintf('ALTER TABLE %s ALTER COLUMN %s TYPE DECIMAL(32,12);', $name, $field); + break; + case 'mysql': + $query = sprintf('ALTER TABLE %s CHANGE COLUMN %s %s DECIMAL(32, 12);', $name, $field, $field); + break; + } + DB::select($query); sleep(1); } diff --git a/app/Console/Commands/System/ForceMigration.php b/app/Console/Commands/System/ForceMigration.php index 43c96ebe7a..dc28c322c0 100644 --- a/app/Console/Commands/System/ForceMigration.php +++ b/app/Console/Commands/System/ForceMigration.php @@ -35,6 +35,12 @@ class ForceMigration extends Command { use VerifiesAccessToken; + /** + * The console command description. + * + * @var string + */ + protected $description = 'This command will force-run all database migrations.'; /** * The name and signature of the console command. * @@ -44,13 +50,6 @@ class ForceMigration extends Command {--user=1 : The user ID.} {--token= : The user\'s access token.}'; - /** - * The console command description. - * - * @var string - */ - protected $description = 'This command will force-run all database migrations.'; - /** * Execute the console command. * @throws FireflyException diff --git a/app/Console/Commands/System/UpgradeFireflyInstructions.php b/app/Console/Commands/System/UpgradeFireflyInstructions.php index e0ab1837c7..1e0330b0dc 100644 --- a/app/Console/Commands/System/UpgradeFireflyInstructions.php +++ b/app/Console/Commands/System/UpgradeFireflyInstructions.php @@ -66,52 +66,6 @@ class UpgradeFireflyInstructions extends Command return 0; } - /** - * Render upgrade instructions. - */ - private function updateInstructions(): void - { - /** @var string $version */ - $version = config('firefly.version'); - $config = config('upgrade.text.upgrade'); - $text = ''; - foreach (array_keys($config) as $compare) { - // if string starts with: - if (\str_starts_with($version, $compare)) { - $text = $config[$compare]; - } - - } - - $this->showLine(); - $this->boxed(''); - if (null === $text || '' === $text) { - $this->boxed(sprintf('Thank you for updating to Firefly III, v%s', $version)); - $this->boxedInfo('There are no extra upgrade instructions.'); - $this->boxed('Firefly III should be ready for use.'); - $this->boxed(''); - $this->showLine(); - - return; - } - - $this->boxed(sprintf('Thank you for updating to Firefly III, v%s!', $version)); - $this->boxedInfo($text); - $this->boxed(''); - $this->showLine(); - } - - /** - * Show a line. - */ - private function showLine(): void - { - $line = '+'; - $line .= str_repeat('-', 78); - $line .= '+'; - $this->line($line); - } - /** * Show a nice box. * @@ -170,4 +124,49 @@ class UpgradeFireflyInstructions extends Command $this->boxed(''); $this->showLine(); } + + /** + * Show a line. + */ + private function showLine(): void + { + $line = '+'; + $line .= str_repeat('-', 78); + $line .= '+'; + $this->line($line); + } + + /** + * Render upgrade instructions. + */ + private function updateInstructions(): void + { + /** @var string $version */ + $version = config('firefly.version'); + $config = config('upgrade.text.upgrade'); + $text = ''; + foreach (array_keys($config) as $compare) { + // if string starts with: + if (\str_starts_with($version, $compare)) { + $text = $config[$compare]; + } + } + + $this->showLine(); + $this->boxed(''); + if (null === $text || '' === $text) { + $this->boxed(sprintf('Thank you for updating to Firefly III, v%s', $version)); + $this->boxedInfo('There are no extra upgrade instructions.'); + $this->boxed('Firefly III should be ready for use.'); + $this->boxed(''); + $this->showLine(); + + return; + } + + $this->boxed(sprintf('Thank you for updating to Firefly III, v%s!', $version)); + $this->boxedInfo($text); + $this->boxed(''); + $this->showLine(); + } } diff --git a/app/Console/Commands/Tools/Cron.php b/app/Console/Commands/Tools/Cron.php index 83c00a8f59..83c9d1f222 100644 --- a/app/Console/Commands/Tools/Cron.php +++ b/app/Console/Commands/Tools/Cron.php @@ -31,8 +31,8 @@ use FireflyIII\Support\Cronjobs\BillWarningCronjob; use FireflyIII\Support\Cronjobs\ExchangeRatesCronjob; use FireflyIII\Support\Cronjobs\RecurringCronjob; use Illuminate\Console\Command; -use InvalidArgumentException; use Illuminate\Support\Facades\Log; +use InvalidArgumentException; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; @@ -123,62 +123,6 @@ class Cron extends Command return 0; } - /** - * @param bool $force - * @param Carbon|null $date - */ - private function exchangeRatesCronJob(bool $force, ?Carbon $date): void - { - $exchangeRates = new ExchangeRatesCronjob(); - $exchangeRates->setForce($force); - // set date in cron job: - if (null !== $date) { - $exchangeRates->setDate($date); - } - - $exchangeRates->fire(); - - if ($exchangeRates->jobErrored) { - $this->error(sprintf('Error in "exchange rates" cron: %s', $exchangeRates->message)); - } - if ($exchangeRates->jobFired) { - $this->line(sprintf('"Exchange rates" cron fired: %s', $exchangeRates->message)); - } - if ($exchangeRates->jobSucceeded) { - $this->info(sprintf('"Exchange rates" cron ran with success: %s', $exchangeRates->message)); - } - } - - /** - * @param bool $force - * @param Carbon|null $date - * - * @throws ContainerExceptionInterface - * @throws FireflyException - * @throws NotFoundExceptionInterface - */ - private function recurringCronJob(bool $force, ?Carbon $date): void - { - $recurring = new RecurringCronjob(); - $recurring->setForce($force); - - // set date in cron job: - if (null !== $date) { - $recurring->setDate($date); - } - - $recurring->fire(); - if ($recurring->jobErrored) { - $this->error(sprintf('Error in "create recurring transactions" cron: %s', $recurring->message)); - } - if ($recurring->jobFired) { - $this->line(sprintf('"Create recurring transactions" cron fired: %s', $recurring->message)); - } - if ($recurring->jobSucceeded) { - $this->info(sprintf('"Create recurring transactions" cron ran with success: %s', $recurring->message)); - } - } - /** * @param bool $force * @param Carbon|null $date @@ -234,4 +178,60 @@ class Cron extends Command $this->info(sprintf('"Send bill warnings" cron ran with success: %s', $autoBudget->message)); } } + + /** + * @param bool $force + * @param Carbon|null $date + */ + private function exchangeRatesCronJob(bool $force, ?Carbon $date): void + { + $exchangeRates = new ExchangeRatesCronjob(); + $exchangeRates->setForce($force); + // set date in cron job: + if (null !== $date) { + $exchangeRates->setDate($date); + } + + $exchangeRates->fire(); + + if ($exchangeRates->jobErrored) { + $this->error(sprintf('Error in "exchange rates" cron: %s', $exchangeRates->message)); + } + if ($exchangeRates->jobFired) { + $this->line(sprintf('"Exchange rates" cron fired: %s', $exchangeRates->message)); + } + if ($exchangeRates->jobSucceeded) { + $this->info(sprintf('"Exchange rates" cron ran with success: %s', $exchangeRates->message)); + } + } + + /** + * @param bool $force + * @param Carbon|null $date + * + * @throws ContainerExceptionInterface + * @throws FireflyException + * @throws NotFoundExceptionInterface + */ + private function recurringCronJob(bool $force, ?Carbon $date): void + { + $recurring = new RecurringCronjob(); + $recurring->setForce($force); + + // set date in cron job: + if (null !== $date) { + $recurring->setDate($date); + } + + $recurring->fire(); + if ($recurring->jobErrored) { + $this->error(sprintf('Error in "create recurring transactions" cron: %s', $recurring->message)); + } + if ($recurring->jobFired) { + $this->line(sprintf('"Create recurring transactions" cron fired: %s', $recurring->message)); + } + if ($recurring->jobSucceeded) { + $this->info(sprintf('"Create recurring transactions" cron ran with success: %s', $recurring->message)); + } + } } diff --git a/app/Console/Commands/Upgrade/AccountCurrencies.php b/app/Console/Commands/Upgrade/AccountCurrencies.php index e53f934603..276e3e7668 100644 --- a/app/Console/Commands/Upgrade/AccountCurrencies.php +++ b/app/Console/Commands/Upgrade/AccountCurrencies.php @@ -96,20 +96,6 @@ class AccountCurrencies extends Command return 0; } - /** - * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is - * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should - * be called from the handle method instead of using the constructor to initialize the command. - * - - */ - private function stupidLaravel(): void - { - $this->accountRepos = app(AccountRepositoryInterface::class); - $this->userRepos = app(UserRepositoryInterface::class); - $this->count = 0; - } - /** * @return bool * @throws ContainerExceptionInterface @@ -128,50 +114,23 @@ class AccountCurrencies extends Command /** * */ - private function updateAccountCurrencies(): void + private function markAsExecuted(): void { - Log::debug('Now in updateAccountCurrencies()'); - $users = $this->userRepos->all(); - $defaultCurrencyCode = (string)config('firefly.default_currency', 'EUR'); - Log::debug(sprintf('Default currency is %s', $defaultCurrencyCode)); - foreach ($users as $user) { - $this->updateCurrenciesForUser($user, $defaultCurrencyCode); - } + app('fireflyconfig')->set(self::CONFIG_NAME, true); } /** - * @param User $user - * @param string $systemCurrencyCode + * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is + * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should + * be called from the handle method instead of using the constructor to initialize the command. * - * @throws FireflyException + */ - private function updateCurrenciesForUser(User $user, string $systemCurrencyCode): void + private function stupidLaravel(): void { - Log::debug(sprintf('Now in updateCurrenciesForUser(%s, %s)', $user->email, $systemCurrencyCode)); - $this->accountRepos->setUser($user); - $accounts = $this->accountRepos->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]); - - // get user's currency preference: - $defaultCurrencyCode = app('preferences')->getForUser($user, 'currencyPreference', $systemCurrencyCode)->data; - if (!is_string($defaultCurrencyCode)) { - $defaultCurrencyCode = $systemCurrencyCode; - } - Log::debug(sprintf('Users currency pref is %s', $defaultCurrencyCode)); - - /** @var TransactionCurrency|null $defaultCurrency */ - $defaultCurrency = TransactionCurrency::where('code', $defaultCurrencyCode)->first(); - - if (null === $defaultCurrency) { - Log::error(sprintf('Users currency pref "%s" does not exist!', $defaultCurrencyCode)); - $this->error(sprintf('User has a preference for "%s", but this currency does not exist.', $defaultCurrencyCode)); - - return; - } - - /** @var Account $account */ - foreach ($accounts as $account) { - $this->updateAccount($account, $defaultCurrency); - } + $this->accountRepos = app(AccountRepositoryInterface::class); + $this->userRepos = app(UserRepositoryInterface::class); + $this->count = 0; } /** @@ -237,8 +196,49 @@ class AccountCurrencies extends Command /** * */ - private function markAsExecuted(): void + private function updateAccountCurrencies(): void { - app('fireflyconfig')->set(self::CONFIG_NAME, true); + Log::debug('Now in updateAccountCurrencies()'); + $users = $this->userRepos->all(); + $defaultCurrencyCode = (string)config('firefly.default_currency', 'EUR'); + Log::debug(sprintf('Default currency is %s', $defaultCurrencyCode)); + foreach ($users as $user) { + $this->updateCurrenciesForUser($user, $defaultCurrencyCode); + } + } + + /** + * @param User $user + * @param string $systemCurrencyCode + * + * @throws FireflyException + */ + private function updateCurrenciesForUser(User $user, string $systemCurrencyCode): void + { + Log::debug(sprintf('Now in updateCurrenciesForUser(%s, %s)', $user->email, $systemCurrencyCode)); + $this->accountRepos->setUser($user); + $accounts = $this->accountRepos->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]); + + // get user's currency preference: + $defaultCurrencyCode = app('preferences')->getForUser($user, 'currencyPreference', $systemCurrencyCode)->data; + if (!is_string($defaultCurrencyCode)) { + $defaultCurrencyCode = $systemCurrencyCode; + } + Log::debug(sprintf('Users currency pref is %s', $defaultCurrencyCode)); + + /** @var TransactionCurrency|null $defaultCurrency */ + $defaultCurrency = TransactionCurrency::where('code', $defaultCurrencyCode)->first(); + + if (null === $defaultCurrency) { + Log::error(sprintf('Users currency pref "%s" does not exist!', $defaultCurrencyCode)); + $this->error(sprintf('User has a preference for "%s", but this currency does not exist.', $defaultCurrencyCode)); + + return; + } + + /** @var Account $account */ + foreach ($accounts as $account) { + $this->updateAccount($account, $defaultCurrency); + } } } diff --git a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php index 54aa905772..a468b6f9e9 100644 --- a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php +++ b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php @@ -73,30 +73,6 @@ class AppendBudgetLimitPeriods extends Command return 0; } - /** - * @return bool - * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface - */ - private function isExecuted(): bool - { - $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); - - return (bool)$configVar->data; - } - - /** - * - */ - private function theresNoLimit(): void - { - $limits = BudgetLimit::whereNull('period')->get(); - /** @var BudgetLimit $limit */ - foreach ($limits as $limit) { - $this->fixLimit($limit); - } - } - /** * @param BudgetLimit $limit */ @@ -182,6 +158,18 @@ class AppendBudgetLimitPeriods extends Command return null; } + /** + * @return bool + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface + */ + private function isExecuted(): bool + { + $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); + + return (bool)$configVar->data; + } + /** * */ @@ -189,4 +177,16 @@ class AppendBudgetLimitPeriods extends Command { app('fireflyconfig')->set(self::CONFIG_NAME, true); } + + /** + * + */ + private function theresNoLimit(): void + { + $limits = BudgetLimit::whereNull('period')->get(); + /** @var BudgetLimit $limit */ + foreach ($limits as $limit) { + $this->fixLimit($limit); + } + } } diff --git a/app/Console/Commands/Upgrade/BackToJournals.php b/app/Console/Commands/Upgrade/BackToJournals.php index 537a1d3966..cf3ddadad9 100644 --- a/app/Console/Commands/Upgrade/BackToJournals.php +++ b/app/Console/Commands/Upgrade/BackToJournals.php @@ -87,15 +87,39 @@ class BackToJournals extends Command } /** - * @return bool - * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface + * @return array */ - private function isMigrated(): bool + private function getIdsForBudgets(): array { - $configVar = app('fireflyconfig')->get(MigrateToGroups::CONFIG_NAME, false); + $transactions = DB::table('budget_transaction')->distinct()->pluck('transaction_id')->toArray(); + $array = []; + $chunks = array_chunk($transactions, 500); - return (bool)$configVar->data; + foreach ($chunks as $chunk) { + $set = DB::table('transactions')->whereIn('transactions.id', $chunk)->pluck('transaction_journal_id')->toArray(); + $array = array_merge($array, $set); + } + + return $array; + } + + /** + * @return array + */ + private function getIdsForCategories(): array + { + $transactions = DB::table('category_transaction')->distinct()->pluck('transaction_id')->toArray(); + $array = []; + $chunks = array_chunk($transactions, 500); + + foreach ($chunks as $chunk) { + $set = DB::table('transactions') + ->whereIn('transactions.id', $chunk) + ->pluck('transaction_journal_id')->toArray(); + $array = array_merge($array, $set); + } + + return $array; } /** @@ -110,6 +134,26 @@ class BackToJournals extends Command return (bool)$configVar->data; } + /** + * @return bool + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface + */ + private function isMigrated(): bool + { + $configVar = app('fireflyconfig')->get(MigrateToGroups::CONFIG_NAME, false); + + return (bool)$configVar->data; + } + + /** + * + */ + private function markAsExecuted(): void + { + app('fireflyconfig')->set(self::CONFIG_NAME, true); + } + /** * */ @@ -143,23 +187,6 @@ class BackToJournals extends Command } } - /** - * @return array - */ - private function getIdsForBudgets(): array - { - $transactions = DB::table('budget_transaction')->distinct()->pluck('transaction_id')->toArray(); - $array = []; - $chunks = array_chunk($transactions, 500); - - foreach ($chunks as $chunk) { - $set = DB::table('transactions')->whereIn('transactions.id', $chunk)->pluck('transaction_journal_id')->toArray(); - $array = array_merge($array, $set); - } - - return $array; - } - /** * @param TransactionJournal $journal */ @@ -217,25 +244,6 @@ class BackToJournals extends Command } } - /** - * @return array - */ - private function getIdsForCategories(): array - { - $transactions = DB::table('category_transaction')->distinct()->pluck('transaction_id')->toArray(); - $array = []; - $chunks = array_chunk($transactions, 500); - - foreach ($chunks as $chunk) { - $set = DB::table('transactions') - ->whereIn('transactions.id', $chunk) - ->pluck('transaction_journal_id')->toArray(); - $array = array_merge($array, $set); - } - - return $array; - } - /** * @param TransactionJournal $journal */ @@ -265,12 +273,4 @@ class BackToJournals extends Command $journal->categories()->sync([(int)$category->id]); } } - - /** - * - */ - private function markAsExecuted(): void - { - app('fireflyconfig')->set(self::CONFIG_NAME, true); - } } diff --git a/app/Console/Commands/Upgrade/DecryptDatabase.php b/app/Console/Commands/Upgrade/DecryptDatabase.php index 45051dc6f4..f7fba6b891 100644 --- a/app/Console/Commands/Upgrade/DecryptDatabase.php +++ b/app/Console/Commands/Upgrade/DecryptDatabase.php @@ -87,6 +87,81 @@ class DecryptDatabase extends Command return 0; } + /** + * @param string $table + * @param string $field + */ + private function decryptField(string $table, string $field): void + { + $rows = DB::table($table)->get(['id', $field]); + /** @var stdClass $row */ + foreach ($rows as $row) { + $this->decryptRow($table, $field, $row); + } + } + + /** + * @param int $id + * @param string $value + */ + private function decryptPreferencesRow(int $id, string $value): void + { + // try to json_decrypt the value. + try { + $newValue = json_decode($value, true, 512, JSON_THROW_ON_ERROR) ?? $value; + } catch (JsonException $e) { + $message = sprintf('Could not JSON decode preference row #%d: %s. This does not have to be a problem.', $id, $e->getMessage()); + $this->error($message); + app('log')->warning($message); + app('log')->warning($value); + app('log')->warning($e->getTraceAsString()); + + return; + } + + /** @var Preference $object */ + $object = Preference::find((int)$id); + if (null !== $object) { + $object->data = $newValue; + $object->save(); + } + } + + /** + * @param string $table + * @param string $field + * @param stdClass $row + */ + private function decryptRow(string $table, string $field, stdClass $row): void + { + $original = $row->$field; + if (null === $original) { + return; + } + $id = (int)$row->id; + $value = ''; + + try { + $value = $this->tryDecrypt($original); + } catch (FireflyException $e) { + $message = sprintf('Could not decrypt field "%s" in row #%d of table "%s": %s', $field, $id, $table, $e->getMessage()); + $this->error($message); + Log::error($message); + Log::error($e->getTraceAsString()); + } + + // A separate routine for preferences table: + if ('preferences' === $table) { + $this->decryptPreferencesRow($id, $value); + + return; + } + + if ($value !== $original) { + DB::table($table)->where('id', $id)->update([$field => $value]); + } + } + /** * @param string $table * @param array $fields @@ -132,54 +207,6 @@ class DecryptDatabase extends Command return false; } - /** - * @param string $table - * @param string $field - */ - private function decryptField(string $table, string $field): void - { - $rows = DB::table($table)->get(['id', $field]); - /** @var stdClass $row */ - foreach ($rows as $row) { - $this->decryptRow($table, $field, $row); - } - } - - /** - * @param string $table - * @param string $field - * @param stdClass $row - */ - private function decryptRow(string $table, string $field, stdClass $row): void - { - $original = $row->$field; - if (null === $original) { - return; - } - $id = (int)$row->id; - $value = ''; - - try { - $value = $this->tryDecrypt($original); - } catch (FireflyException $e) { - $message = sprintf('Could not decrypt field "%s" in row #%d of table "%s": %s', $field, $id, $table, $e->getMessage()); - $this->error($message); - Log::error($message); - Log::error($e->getTraceAsString()); - } - - // A separate routine for preferences table: - if ('preferences' === $table) { - $this->decryptPreferencesRow($id, $value); - - return; - } - - if ($value !== $original) { - DB::table($table)->where('id', $id)->update([$field => $value]); - } - } - /** * Tries to decrypt data. Will only throw an exception when the MAC is invalid. * @@ -200,31 +227,4 @@ class DecryptDatabase extends Command return $value; } - - /** - * @param int $id - * @param string $value - */ - private function decryptPreferencesRow(int $id, string $value): void - { - // try to json_decrypt the value. - try { - $newValue = json_decode($value, true, 512, JSON_THROW_ON_ERROR) ?? $value; - } catch (JsonException $e) { - $message = sprintf('Could not JSON decode preference row #%d: %s. This does not have to be a problem.', $id, $e->getMessage()); - $this->error($message); - app('log')->warning($message); - app('log')->warning($value); - app('log')->warning($e->getTraceAsString()); - - return; - } - - /** @var Preference $object */ - $object = Preference::find((int)$id); - if (null !== $object) { - $object->data = $newValue; - $object->save(); - } - } } diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php index 14a01764c5..da09efbfcb 100644 --- a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php +++ b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php @@ -102,20 +102,11 @@ class MigrateRecurrenceMeta extends Command } /** - * @return int - * @throws JsonException + * */ - private function migrateMetaData(): int + private function markAsExecuted(): void { - $count = 0; - // get all recurrence meta data: - $collection = RecurrenceMeta::with('recurrence')->get(); - /** @var RecurrenceMeta $meta */ - foreach ($collection as $meta) { - $count += $this->migrateEntry($meta); - } - - return $count; + app('fireflyconfig')->set(self::CONFIG_NAME, true); } /** @@ -155,10 +146,19 @@ class MigrateRecurrenceMeta extends Command } /** - * + * @return int + * @throws JsonException */ - private function markAsExecuted(): void + private function migrateMetaData(): int { - app('fireflyconfig')->set(self::CONFIG_NAME, true); + $count = 0; + // get all recurrence meta data: + $collection = RecurrenceMeta::with('recurrence')->get(); + /** @var RecurrenceMeta $meta */ + foreach ($collection as $meta) { + $count += $this->migrateEntry($meta); + } + + return $count; } } diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php b/app/Console/Commands/Upgrade/MigrateRecurrenceType.php index edc2f67b08..fadff18491 100644 --- a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php +++ b/app/Console/Commands/Upgrade/MigrateRecurrenceType.php @@ -78,6 +78,14 @@ class MigrateRecurrenceType extends Command return 0; } + /** + * + */ + private function getInvalidType(): TransactionType + { + return TransactionType::whereType(TransactionType::INVALID)->firstOrCreate(['type' => TransactionType::INVALID]); + } + /** * @return bool * @throws ContainerExceptionInterface @@ -96,15 +104,9 @@ class MigrateRecurrenceType extends Command /** * */ - private function migrateTypes(): void + private function markAsExecuted(): void { - $set = Recurrence::get(); - /** @var Recurrence $recurrence */ - foreach ($set as $recurrence) { - if ($recurrence->transactionType->type !== TransactionType::INVALID) { - $this->migrateRecurrence($recurrence); - } - } + app('fireflyconfig')->set(self::CONFIG_NAME, true); } private function migrateRecurrence(Recurrence $recurrence): void @@ -124,16 +126,14 @@ class MigrateRecurrenceType extends Command /** * */ - private function getInvalidType(): TransactionType + private function migrateTypes(): void { - return TransactionType::whereType(TransactionType::INVALID)->firstOrCreate(['type' => TransactionType::INVALID]); - } - - /** - * - */ - private function markAsExecuted(): void - { - app('fireflyconfig')->set(self::CONFIG_NAME, true); + $set = Recurrence::get(); + /** @var Recurrence $recurrence */ + foreach ($set as $recurrence) { + if ($recurrence->transactionType->type !== TransactionType::INVALID) { + $this->migrateRecurrence($recurrence); + } + } } } diff --git a/app/Console/Commands/Upgrade/MigrateTagLocations.php b/app/Console/Commands/Upgrade/MigrateTagLocations.php index 15c9f1b654..8e19076565 100644 --- a/app/Console/Commands/Upgrade/MigrateTagLocations.php +++ b/app/Console/Commands/Upgrade/MigrateTagLocations.php @@ -75,6 +75,16 @@ class MigrateTagLocations extends Command return 0; } + /** + * @param Tag $tag + * + * @return bool + */ + private function hasLocationDetails(Tag $tag): bool + { + return null !== $tag->latitude && null !== $tag->longitude && null !== $tag->zoomLevel; + } + /** * @return bool * @throws ContainerExceptionInterface @@ -90,25 +100,12 @@ class MigrateTagLocations extends Command return false; } - private function migrateTagLocations(): void - { - $tags = Tag::get(); - /** @var Tag $tag */ - foreach ($tags as $tag) { - if ($this->hasLocationDetails($tag)) { - $this->migrateLocationDetails($tag); - } - } - } - /** - * @param Tag $tag * - * @return bool */ - private function hasLocationDetails(Tag $tag): bool + private function markAsExecuted(): void { - return null !== $tag->latitude && null !== $tag->longitude && null !== $tag->zoomLevel; + app('fireflyconfig')->set(self::CONFIG_NAME, true); } /** @@ -129,11 +126,14 @@ class MigrateTagLocations extends Command $tag->save(); } - /** - * - */ - private function markAsExecuted(): void + private function migrateTagLocations(): void { - app('fireflyconfig')->set(self::CONFIG_NAME, true); + $tags = Tag::get(); + /** @var Tag $tag */ + foreach ($tags as $tag) { + if ($this->hasLocationDetails($tag)) { + $this->migrateLocationDetails($tag); + } + } } } diff --git a/app/Console/Commands/Upgrade/MigrateToRules.php b/app/Console/Commands/Upgrade/MigrateToRules.php index 802c6c849b..79a28c0d03 100644 --- a/app/Console/Commands/Upgrade/MigrateToRules.php +++ b/app/Console/Commands/Upgrade/MigrateToRules.php @@ -105,22 +105,6 @@ class MigrateToRules extends Command return 0; } - /** - * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is - * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should - * be called from the handle method instead of using the constructor to initialize the command. - * - - */ - private function stupidLaravel(): void - { - $this->count = 0; - $this->userRepository = app(UserRepositoryInterface::class); - $this->ruleGroupRepository = app(RuleGroupRepositoryInterface::class); - $this->billRepository = app(BillRepositoryInterface::class); - $this->ruleRepository = app(RuleRepositoryInterface::class); - } - /** * @return bool * @throws ContainerExceptionInterface @@ -137,38 +121,11 @@ class MigrateToRules extends Command } /** - * Migrate bills to new rule structure for a specific user. * - * @param User $user - * - * @throws FireflyException */ - private function migrateUser(User $user): void + private function markAsExecuted(): void { - $this->ruleGroupRepository->setUser($user); - $this->billRepository->setUser($user); - $this->ruleRepository->setUser($user); - - /** @var Preference $lang */ - $lang = app('preferences')->getForUser($user, 'language', 'en_US'); - $groupTitle = (string)trans('firefly.rulegroup_for_bills_title', [], $lang->data); - $ruleGroup = $this->ruleGroupRepository->findByTitle($groupTitle); - - if (null === $ruleGroup) { - $ruleGroup = $this->ruleGroupRepository->store( - [ - 'title' => (string)trans('firefly.rulegroup_for_bills_title', [], $lang->data), - 'description' => (string)trans('firefly.rulegroup_for_bills_description', [], $lang->data), - 'active' => true, - ] - ); - } - $bills = $this->billRepository->getBills(); - - /** @var Bill $bill */ - foreach ($bills as $bill) { - $this->migrateBill($ruleGroup, $bill, $lang); - } + app('fireflyconfig')->set(self::CONFIG_NAME, true); } /** @@ -243,10 +200,53 @@ class MigrateToRules extends Command } /** + * Migrate bills to new rule structure for a specific user. * + * @param User $user + * + * @throws FireflyException */ - private function markAsExecuted(): void + private function migrateUser(User $user): void { - app('fireflyconfig')->set(self::CONFIG_NAME, true); + $this->ruleGroupRepository->setUser($user); + $this->billRepository->setUser($user); + $this->ruleRepository->setUser($user); + + /** @var Preference $lang */ + $lang = app('preferences')->getForUser($user, 'language', 'en_US'); + $groupTitle = (string)trans('firefly.rulegroup_for_bills_title', [], $lang->data); + $ruleGroup = $this->ruleGroupRepository->findByTitle($groupTitle); + + if (null === $ruleGroup) { + $ruleGroup = $this->ruleGroupRepository->store( + [ + 'title' => (string)trans('firefly.rulegroup_for_bills_title', [], $lang->data), + 'description' => (string)trans('firefly.rulegroup_for_bills_description', [], $lang->data), + 'active' => true, + ] + ); + } + $bills = $this->billRepository->getBills(); + + /** @var Bill $bill */ + foreach ($bills as $bill) { + $this->migrateBill($ruleGroup, $bill, $lang); + } + } + + /** + * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is + * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should + * be called from the handle method instead of using the constructor to initialize the command. + * + + */ + private function stupidLaravel(): void + { + $this->count = 0; + $this->userRepository = app(UserRepositoryInterface::class); + $this->ruleGroupRepository = app(RuleGroupRepositoryInterface::class); + $this->billRepository = app(BillRepositoryInterface::class); + $this->ruleRepository = app(RuleRepositoryInterface::class); } } diff --git a/app/Console/Commands/Upgrade/TransactionIdentifier.php b/app/Console/Commands/Upgrade/TransactionIdentifier.php index 6500ec8170..8eca9098f3 100644 --- a/app/Console/Commands/Upgrade/TransactionIdentifier.php +++ b/app/Console/Commands/Upgrade/TransactionIdentifier.php @@ -107,63 +107,6 @@ class TransactionIdentifier extends Command return 0; } - /** - * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is - * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should - * be called from the handle method instead of using the constructor to initialize the command. - * - - */ - private function stupidLaravel(): void - { - $this->cliRepository = app(JournalCLIRepositoryInterface::class); - $this->count = 0; - } - - /** - * @return bool - * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface - */ - private function isExecuted(): bool - { - $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); - if (null !== $configVar) { - return (bool)$configVar->data; - } - - return false; - } - - /** - * Grab all positive transactions from this journal that are not deleted. for each one, grab the negative opposing one - * which has 0 as an identifier and give it the same identifier. - * - * @param TransactionJournal $transactionJournal - */ - private function updateJournalIdentifiers(TransactionJournal $transactionJournal): void - { - $identifier = 0; - $exclude = []; // transactions already processed. - $transactions = $transactionJournal->transactions()->where('amount', '>', 0)->get(); - - /** @var Transaction $transaction */ - foreach ($transactions as $transaction) { - $opposing = $this->findOpposing($transaction, $exclude); - if (null !== $opposing) { - // give both a new identifier: - $transaction->identifier = $identifier; - $opposing->identifier = $identifier; - $transaction->save(); - $opposing->save(); - $exclude[] = $transaction->id; - $exclude[] = $opposing->id; - $this->count++; - } - ++$identifier; - } - } - /** * @param Transaction $transaction * @param array $exclude @@ -194,6 +137,21 @@ class TransactionIdentifier extends Command return $opposing; } + /** + * @return bool + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface + */ + private function isExecuted(): bool + { + $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); + if (null !== $configVar) { + return (bool)$configVar->data; + } + + return false; + } + /** * */ @@ -201,4 +159,46 @@ class TransactionIdentifier extends Command { app('fireflyconfig')->set(self::CONFIG_NAME, true); } + + /** + * Laravel will execute ALL __construct() methods for ALL commands whenever a SINGLE command is + * executed. This leads to noticeable slow-downs and class calls. To prevent this, this method should + * be called from the handle method instead of using the constructor to initialize the command. + * + + */ + private function stupidLaravel(): void + { + $this->cliRepository = app(JournalCLIRepositoryInterface::class); + $this->count = 0; + } + + /** + * Grab all positive transactions from this journal that are not deleted. for each one, grab the negative opposing one + * which has 0 as an identifier and give it the same identifier. + * + * @param TransactionJournal $transactionJournal + */ + private function updateJournalIdentifiers(TransactionJournal $transactionJournal): void + { + $identifier = 0; + $exclude = []; // transactions already processed. + $transactions = $transactionJournal->transactions()->where('amount', '>', 0)->get(); + + /** @var Transaction $transaction */ + foreach ($transactions as $transaction) { + $opposing = $this->findOpposing($transaction, $exclude); + if (null !== $opposing) { + // give both a new identifier: + $transaction->identifier = $identifier; + $opposing->identifier = $identifier; + $transaction->save(); + $opposing->save(); + $exclude[] = $transaction->id; + $exclude[] = $opposing->id; + $this->count++; + } + ++$identifier; + } + } } diff --git a/app/Console/Commands/Upgrade/UpgradeDatabase.php b/app/Console/Commands/Upgrade/UpgradeDatabase.php index 492d4ec069..09ea26f05e 100644 --- a/app/Console/Commands/Upgrade/UpgradeDatabase.php +++ b/app/Console/Commands/Upgrade/UpgradeDatabase.php @@ -98,7 +98,7 @@ class UpgradeDatabase extends Command private function callInitialCommands(): void { $this->line('Now seeding the database...'); - $this->call('migrate', ['--seed' => true, '--force' => true,'--no-interaction' => true]); + $this->call('migrate', ['--seed' => true, '--force' => true, '--no-interaction' => true]); $this->line('Fix PostgreSQL sequences.'); $this->call('firefly-iii:fix-pgsql-sequences'); diff --git a/app/Console/Commands/Upgrade/UpgradeLiabilities.php b/app/Console/Commands/Upgrade/UpgradeLiabilities.php index 2890298b92..7e93c7f44d 100644 --- a/app/Console/Commands/Upgrade/UpgradeLiabilities.php +++ b/app/Console/Commands/Upgrade/UpgradeLiabilities.php @@ -82,79 +82,6 @@ class UpgradeLiabilities extends Command return 0; } - /** - * @return bool - * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface - */ - private function isExecuted(): bool - { - $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); - if (null !== $configVar) { - return (bool)$configVar->data; - } - - return false; - } - - /** - * - */ - private function upgradeLiabilities(): void - { - Log::debug('Upgrading liabilities.'); - $users = User::get(); - /** @var User $user */ - foreach ($users as $user) { - $this->upgradeForUser($user); - } - } - - /** - * @param User $user - */ - private function upgradeForUser(User $user): void - { - Log::debug(sprintf('Upgrading liabilities for user #%d', $user->id)); - $accounts = $user->accounts() - ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id') - ->whereIn('account_types.type', config('firefly.valid_liabilities')) - ->get(['accounts.*']); - /** @var Account $account */ - foreach ($accounts as $account) { - $this->upgradeLiability($account); - $service = app(CreditRecalculateService::class); - $service->setAccount($account); - $service->recalculate(); - } - } - - /** - * @param Account $account - */ - private function upgradeLiability(Account $account): void - { - /** @var AccountRepositoryInterface $repository */ - $repository = app(AccountRepositoryInterface::class); - $repository->setUser($account->user); - Log::debug(sprintf('Upgrade liability #%d', $account->id)); - - // get opening balance, and correct if necessary. - $openingBalance = $repository->getOpeningBalance($account); - if (null !== $openingBalance) { - // correct if necessary - $this->correctOpeningBalance($account, $openingBalance); - } - - // add liability direction property (if it does not yet exist!) - $value = $repository->getMetaValue($account, 'liability_direction'); - if (null === $value) { - /** @var AccountMetaFactory $factory */ - $factory = app(AccountMetaFactory::class); - $factory->crud($account, 'liability_direction', 'debit'); - } - } - /** * @param Account $account * @param TransactionJournal $openingBalance @@ -185,9 +112,9 @@ class UpgradeLiabilities extends Command * * @return Transaction|null */ - private function getSourceTransaction(TransactionJournal $journal): ?Transaction + private function getDestinationTransaction(TransactionJournal $journal): ?Transaction { - return $journal->transactions()->where('amount', '<', 0)->first(); + return $journal->transactions()->where('amount', '>', 0)->first(); } /** @@ -195,9 +122,24 @@ class UpgradeLiabilities extends Command * * @return Transaction|null */ - private function getDestinationTransaction(TransactionJournal $journal): ?Transaction + private function getSourceTransaction(TransactionJournal $journal): ?Transaction { - return $journal->transactions()->where('amount', '>', 0)->first(); + return $journal->transactions()->where('amount', '<', 0)->first(); + } + + /** + * @return bool + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface + */ + private function isExecuted(): bool + { + $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); + if (null !== $configVar) { + return (bool)$configVar->data; + } + + return false; } /** @@ -207,4 +149,62 @@ class UpgradeLiabilities extends Command { app('fireflyconfig')->set(self::CONFIG_NAME, true); } + + /** + * @param User $user + */ + private function upgradeForUser(User $user): void + { + Log::debug(sprintf('Upgrading liabilities for user #%d', $user->id)); + $accounts = $user->accounts() + ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id') + ->whereIn('account_types.type', config('firefly.valid_liabilities')) + ->get(['accounts.*']); + /** @var Account $account */ + foreach ($accounts as $account) { + $this->upgradeLiability($account); + $service = app(CreditRecalculateService::class); + $service->setAccount($account); + $service->recalculate(); + } + } + + /** + * + */ + private function upgradeLiabilities(): void + { + Log::debug('Upgrading liabilities.'); + $users = User::get(); + /** @var User $user */ + foreach ($users as $user) { + $this->upgradeForUser($user); + } + } + + /** + * @param Account $account + */ + private function upgradeLiability(Account $account): void + { + /** @var AccountRepositoryInterface $repository */ + $repository = app(AccountRepositoryInterface::class); + $repository->setUser($account->user); + Log::debug(sprintf('Upgrade liability #%d', $account->id)); + + // get opening balance, and correct if necessary. + $openingBalance = $repository->getOpeningBalance($account); + if (null !== $openingBalance) { + // correct if necessary + $this->correctOpeningBalance($account, $openingBalance); + } + + // add liability direction property (if it does not yet exist!) + $value = $repository->getMetaValue($account, 'liability_direction'); + if (null === $value) { + /** @var AccountMetaFactory $factory */ + $factory = app(AccountMetaFactory::class); + $factory->crud($account, 'liability_direction', 'debit'); + } + } } diff --git a/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php b/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php index 372c955fbb..46f5c19283 100644 --- a/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php +++ b/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php @@ -83,115 +83,6 @@ class UpgradeLiabilitiesEight extends Command return 0; } - /** - * @return bool - * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface - */ - private function isExecuted(): bool - { - $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); - if (null !== $configVar) { - return (bool)$configVar->data; - } - - return false; - } - - /** - * - */ - private function upgradeLiabilities(): void - { - Log::debug('Upgrading liabilities.'); - $users = User::get(); - /** @var User $user */ - foreach ($users as $user) { - $this->upgradeForUser($user); - } - } - - /** - * @param User $user - */ - private function upgradeForUser(User $user): void - { - Log::debug(sprintf('Upgrading liabilities for user #%d', $user->id)); - $accounts = $user->accounts() - ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id') - ->whereIn('account_types.type', config('firefly.valid_liabilities')) - ->get(['accounts.*']); - /** @var Account $account */ - foreach ($accounts as $account) { - $this->upgradeLiability($account); - $service = app(CreditRecalculateService::class); - $service->setAccount($account); - $service->recalculate(); - } - } - - /** - * @param Account $account - */ - private function upgradeLiability(Account $account): void - { - Log::debug(sprintf('Upgrade liability #%d ("%s")', $account->id, $account->name)); - - /** @var AccountRepositoryInterface $repository */ - $repository = app(AccountRepositoryInterface::class); - $repository->setUser($account->user); - - $direction = $repository->getMetaValue($account, 'liability_direction'); - if ('debit' === $direction) { - Log::debug('Direction is debit ("I owe this amount"), so no need to upgrade.'); - } - if ('credit' === $direction && $this->hasBadOpening($account)) { - $this->deleteCreditTransaction($account); - $this->reverseOpeningBalance($account); - $this->line(sprintf('Corrected opening balance for liability #%d ("%s")', $account->id, $account->name)); - } - if ('credit' === $direction) { - $count = $this->deleteTransactions($account); - if ($count > 0) { - $this->line(sprintf('Removed %d old format transaction(s) for liability #%d ("%s")', $count, $account->id, $account->name)); - } - } - Log::debug(sprintf('Done upgrading liability #%d ("%s")', $account->id, $account->name)); - } - - /** - * @param Account $account - * @return bool - */ - private function hasBadOpening(Account $account): bool - { - $openingBalanceType = TransactionType::whereType(TransactionType::OPENING_BALANCE)->first(); - $liabilityType = TransactionType::whereType(TransactionType::LIABILITY_CREDIT)->first(); - $openingJournal = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') - ->where('transactions.account_id', $account->id) - ->where('transaction_journals.transaction_type_id', $openingBalanceType->id) - ->first(['transaction_journals.*']); - if (null === $openingJournal) { - Log::debug('Account has no opening balance and can be skipped.'); - return false; - } - $liabilityJournal = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') - ->where('transactions.account_id', $account->id) - ->where('transaction_journals.transaction_type_id', $liabilityType->id) - ->first(['transaction_journals.*']); - if (null === $liabilityJournal) { - Log::debug('Account has no liability credit and can be skipped.'); - return false; - } - if (!$openingJournal->date->isSameDay($liabilityJournal->date)) { - Log::debug('Account has opening/credit not on the same day.'); - return false; - } - Log::debug('Account has bad opening balance data.'); - - return true; - } - /** * @param Account $account * @return void @@ -214,35 +105,6 @@ class UpgradeLiabilitiesEight extends Command Log::debug('No liability credit journal found.'); } - /** - * @param Account $account - * @return void - */ - private function reverseOpeningBalance(Account $account): void - { - $openingBalanceType = TransactionType::whereType(TransactionType::OPENING_BALANCE)->first(); - /** @var TransactionJournal $openingJournal */ - $openingJournal = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') - ->where('transactions.account_id', $account->id) - ->where('transaction_journals.transaction_type_id', $openingBalanceType->id) - ->first(['transaction_journals.*']); - /** @var Transaction|null $source */ - $source = $openingJournal->transactions()->where('amount', '<', 0)->first(); - /** @var Transaction|null $dest */ - $dest = $openingJournal->transactions()->where('amount', '>', 0)->first(); - if ($source && $dest) { - $sourceId = $source->account_id; - $destId = $dest->account_id; - $dest->account_id = $sourceId; - $source->account_id = $destId; - $source->save(); - $dest->save(); - Log::debug(sprintf('Opening balance transaction journal #%d reversed.', $openingJournal->id)); - return; - } - Log::warning('Did not find opening balance.'); - } - /** * @param $account * @return int @@ -293,6 +155,54 @@ class UpgradeLiabilitiesEight extends Command return $count; } + /** + * @param Account $account + * @return bool + */ + private function hasBadOpening(Account $account): bool + { + $openingBalanceType = TransactionType::whereType(TransactionType::OPENING_BALANCE)->first(); + $liabilityType = TransactionType::whereType(TransactionType::LIABILITY_CREDIT)->first(); + $openingJournal = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') + ->where('transactions.account_id', $account->id) + ->where('transaction_journals.transaction_type_id', $openingBalanceType->id) + ->first(['transaction_journals.*']); + if (null === $openingJournal) { + Log::debug('Account has no opening balance and can be skipped.'); + return false; + } + $liabilityJournal = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') + ->where('transactions.account_id', $account->id) + ->where('transaction_journals.transaction_type_id', $liabilityType->id) + ->first(['transaction_journals.*']); + if (null === $liabilityJournal) { + Log::debug('Account has no liability credit and can be skipped.'); + return false; + } + if (!$openingJournal->date->isSameDay($liabilityJournal->date)) { + Log::debug('Account has opening/credit not on the same day.'); + return false; + } + Log::debug('Account has bad opening balance data.'); + + return true; + } + + /** + * @return bool + * @throws ContainerExceptionInterface + * @throws NotFoundExceptionInterface + */ + private function isExecuted(): bool + { + $configVar = app('fireflyconfig')->get(self::CONFIG_NAME, false); + if (null !== $configVar) { + return (bool)$configVar->data; + } + + return false; + } + /** * */ @@ -300,4 +210,94 @@ class UpgradeLiabilitiesEight extends Command { app('fireflyconfig')->set(self::CONFIG_NAME, true); } + + /** + * @param Account $account + * @return void + */ + private function reverseOpeningBalance(Account $account): void + { + $openingBalanceType = TransactionType::whereType(TransactionType::OPENING_BALANCE)->first(); + /** @var TransactionJournal $openingJournal */ + $openingJournal = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id') + ->where('transactions.account_id', $account->id) + ->where('transaction_journals.transaction_type_id', $openingBalanceType->id) + ->first(['transaction_journals.*']); + /** @var Transaction|null $source */ + $source = $openingJournal->transactions()->where('amount', '<', 0)->first(); + /** @var Transaction|null $dest */ + $dest = $openingJournal->transactions()->where('amount', '>', 0)->first(); + if ($source && $dest) { + $sourceId = $source->account_id; + $destId = $dest->account_id; + $dest->account_id = $sourceId; + $source->account_id = $destId; + $source->save(); + $dest->save(); + Log::debug(sprintf('Opening balance transaction journal #%d reversed.', $openingJournal->id)); + return; + } + Log::warning('Did not find opening balance.'); + } + + /** + * @param User $user + */ + private function upgradeForUser(User $user): void + { + Log::debug(sprintf('Upgrading liabilities for user #%d', $user->id)); + $accounts = $user->accounts() + ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id') + ->whereIn('account_types.type', config('firefly.valid_liabilities')) + ->get(['accounts.*']); + /** @var Account $account */ + foreach ($accounts as $account) { + $this->upgradeLiability($account); + $service = app(CreditRecalculateService::class); + $service->setAccount($account); + $service->recalculate(); + } + } + + /** + * + */ + private function upgradeLiabilities(): void + { + Log::debug('Upgrading liabilities.'); + $users = User::get(); + /** @var User $user */ + foreach ($users as $user) { + $this->upgradeForUser($user); + } + } + + /** + * @param Account $account + */ + private function upgradeLiability(Account $account): void + { + Log::debug(sprintf('Upgrade liability #%d ("%s")', $account->id, $account->name)); + + /** @var AccountRepositoryInterface $repository */ + $repository = app(AccountRepositoryInterface::class); + $repository->setUser($account->user); + + $direction = $repository->getMetaValue($account, 'liability_direction'); + if ('debit' === $direction) { + Log::debug('Direction is debit ("I owe this amount"), so no need to upgrade.'); + } + if ('credit' === $direction && $this->hasBadOpening($account)) { + $this->deleteCreditTransaction($account); + $this->reverseOpeningBalance($account); + $this->line(sprintf('Corrected opening balance for liability #%d ("%s")', $account->id, $account->name)); + } + if ('credit' === $direction) { + $count = $this->deleteTransactions($account); + if ($count > 0) { + $this->line(sprintf('Removed %d old format transaction(s) for liability #%d ("%s")', $count, $account->id, $account->name)); + } + } + Log::debug(sprintf('Done upgrading liability #%d ("%s")', $account->id, $account->name)); + } } diff --git a/app/Handlers/Events/Model/BudgetLimitHandler.php b/app/Handlers/Events/Model/BudgetLimitHandler.php index c097fcf7b5..c873c2d96d 100644 --- a/app/Handlers/Events/Model/BudgetLimitHandler.php +++ b/app/Handlers/Events/Model/BudgetLimitHandler.php @@ -27,9 +27,12 @@ use FireflyIII\Events\Model\BudgetLimit\Created; use FireflyIII\Events\Model\BudgetLimit\Deleted; use FireflyIII\Events\Model\BudgetLimit\Updated; use FireflyIII\Models\AvailableBudget; +use FireflyIII\Models\Budget; use FireflyIII\Models\BudgetLimit; use FireflyIII\Repositories\Budget\BudgetLimitRepositoryInterface; use Illuminate\Support\Facades\Log; +use Psr\Container\ContainerExceptionInterface; +use Psr\Container\NotFoundExceptionInterface; use Spatie\Period\Boundaries; use Spatie\Period\Period; use Spatie\Period\Precision; @@ -45,7 +48,7 @@ class BudgetLimitHandler */ public function created(Created $event): void { - Log::debug(sprintf('BudgetLimitHandler::created(%s)', $event->budgetLimit->id)); + Log::debug(sprintf('BudgetLimitHandler::created(#%s)', $event->budgetLimit->id)); $this->updateAvailableBudget($event->budgetLimit); } @@ -55,7 +58,7 @@ class BudgetLimitHandler */ public function updated(Updated $event): void { - Log::debug(sprintf('BudgetLimitHandler::updated(%s)', $event->budgetLimit->id)); + Log::debug(sprintf('BudgetLimitHandler::updated(#%s)', $event->budgetLimit->id)); $this->updateAvailableBudget($event->budgetLimit); } @@ -65,7 +68,9 @@ class BudgetLimitHandler */ public function deleted(Deleted $event): void { - Log::debug(sprintf('BudgetLimitHandler::deleted(%s)', $event->budgetLimit->id)); + Log::debug(sprintf('BudgetLimitHandler::deleted(#%s)', $event->budgetLimit->id)); + $budgetLimit = $event->budgetLimit; + $budgetLimit->id = null; $this->updateAvailableBudget($event->budgetLimit); } @@ -124,6 +129,11 @@ class BudgetLimitHandler } } } + if (0 === bccomp('0', $newAmount)) { + Log::debug('New amount is zero, deleting AB.'); + $availableBudget->delete(); + return; + } Log::debug(sprintf('Concluded new amount for this AB must be %s', $newAmount)); $availableBudget->amount = $newAmount; $availableBudget->save(); @@ -135,6 +145,9 @@ class BudgetLimitHandler */ private function getDailyAmount(BudgetLimit $budgetLimit): string { + if (0 === (int)$budgetLimit->id) { + return '0'; + } $limitPeriod = Period::make( $budgetLimit->start_date, $budgetLimit->end_date, @@ -152,9 +165,6 @@ class BudgetLimitHandler /** * @param BudgetLimit $budgetLimit * @return void - * @throws \FireflyIII\Exceptions\FireflyException - * @throws \Psr\Container\ContainerExceptionInterface - * @throws \Psr\Container\NotFoundExceptionInterface */ private function updateAvailableBudget(BudgetLimit $budgetLimit): void { @@ -163,11 +173,23 @@ class BudgetLimitHandler // based on the view range of the user (month week quarter etc) the budget limit could // either overlap multiple available budget periods or be contained in a single one. // all have to be created or updated. - $viewRange = app('preferences')->get('viewRange', '1M')->data; - $start = app('navigation')->startOfPeriod($budgetLimit->start_date, $viewRange); - $end = app('navigation')->startOfPeriod($budgetLimit->end_date, $viewRange); - $end = app('navigation')->endOfPeriod($end, $viewRange); - $user = $budgetLimit->budget->user; + try { + $viewRange = app('preferences')->get('viewRange', '1M')->data; + } catch (ContainerExceptionInterface|NotFoundExceptionInterface $e) { + $viewRange = '1M'; + } + $start = app('navigation')->startOfPeriod($budgetLimit->start_date, $viewRange); + $end = app('navigation')->startOfPeriod($budgetLimit->end_date, $viewRange); + $end = app('navigation')->endOfPeriod($end, $viewRange); + $budget = Budget::withTrashed()->find($budgetLimit->budget_id); + $user = $budget->user; + + // sanity check. It happens when the budget has been deleted so the original user is unknown. + if (null === $user) { + Log::warning('User is null, cannot continue.'); + $budgetLimit->forceDelete(); + return; + } // limit period in total is: $limitPeriod = Period::make($start, $end, precision: Precision::DAY(), boundaries: Boundaries::EXCLUDE_NONE()); @@ -195,19 +217,24 @@ class BudgetLimitHandler // no need to calculate if period is equal. if ($currentPeriod->equals($limitPeriod)) { - $amount = $budgetLimit->amount; + $amount = 0 === (int)$budgetLimit->id ? '0' : $budgetLimit->amount; + } + if (0 === bccomp($amount, '0')) { + Log::debug('Amount is zero, will not create AB.'); + } + if (0 !== bccomp($amount, '0')) { + Log::debug(sprintf('Will create AB for period %s to %s', $current->format('Y-m-d'), $currentEnd->format('Y-m-d'))); + $availableBudget = new AvailableBudget( + [ + 'user_id' => $budgetLimit->budget->user->id, + 'transaction_currency_id' => $budgetLimit->transaction_currency_id, + 'start_date' => $current, + 'end_date' => $currentEnd, + 'amount' => $amount, + ] + ); + $availableBudget->save(); } - Log::debug(sprintf('Will create AB for period %s to %s', $current->format('Y-m-d'), $currentEnd->format('Y-m-d'))); - $availableBudget = new AvailableBudget( - [ - 'user_id' => $budgetLimit->budget->user->id, - 'transaction_currency_id' => $budgetLimit->transaction_currency_id, - 'start_date' => $current, - 'end_date' => $currentEnd, - 'amount' => $amount, - ] - ); - $availableBudget->save(); } // prep for next loop diff --git a/app/Http/Controllers/Bill/IndexController.php b/app/Http/Controllers/Bill/IndexController.php index 390f6ac419..6bbe980bf9 100644 --- a/app/Http/Controllers/Bill/IndexController.php +++ b/app/Http/Controllers/Bill/IndexController.php @@ -80,7 +80,10 @@ class IndexController extends Controller $defaultCurrency = app('amount')->getDefaultCurrency(); $parameters = new ParameterBag(); - $parameters->set('start', $start); + // sub one day from temp start so the last paid date is one day before it should be. + $tempStart = clone $start; + $tempStart->subDay(); + $parameters->set('start', $tempStart); $parameters->set('end', $end); /** @var BillTransformer $transformer */ @@ -108,18 +111,6 @@ class IndexController extends Controller 'object_group_title' => $array['object_group_title'], 'bills' => [], ]; - // var_dump($array);exit; - // // expected today? default: - // $array['next_expected_match_diff'] = trans('firefly.not_expected_period'); - // $nextExpectedMatch = new Carbon($array['next_expected_match']); - // if ($nextExpectedMatch->isToday()) { - // $array['next_expected_match_diff'] = trans('firefly.today'); - // } - // $current = $array['pay_dates'][0] ?? null; - // if (null !== $current && !$nextExpectedMatch->isToday()) { - // $currentExpectedMatch = Carbon::createFromFormat('Y-m-d\TH:i:sP', $current); - // $array['next_expected_match_diff'] = $currentExpectedMatch->diffForHumans(today(), Carbon::DIFF_RELATIVE_TO_NOW); - // } $currency = $bill->transactionCurrency ?? $defaultCurrency; $array['currency_id'] = $currency->id; diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php index deac77a499..1cb72fa4ed 100644 --- a/app/Http/Controllers/DebugController.php +++ b/app/Http/Controllers/DebugController.php @@ -34,8 +34,8 @@ use Illuminate\Contracts\View\Factory; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Routing\Redirector; -use Illuminate\View\View; use Illuminate\Support\Facades\Log; +use Illuminate\View\View; use Monolog\Handler\RotatingFileHandler; /** @@ -121,6 +121,8 @@ class DebugController extends Controller $now = today(config('app.timezone'))->format('Y-m-d H:i:s e'); $buildNr = '(unknown)'; $buildDate = '(unknown)'; + $baseBuildNr = '(unknown)'; + $baseBuildDate = '(unknown)'; $expectedDBversion = config('firefly.db_version'); $foundDBversion = FireflyConfig::get('db_version', 1)->data; if (file_exists('/var/www/counter-main.txt')) { @@ -129,6 +131,13 @@ class DebugController extends Controller if (file_exists('/var/www/build-date-main.txt')) { $buildDate = trim(file_get_contents('/var/www/build-date-main.txt')); } + if('' !== (string)env('BASE_IMAGE_BUILD')) { + $baseBuildNr = env('BASE_IMAGE_BUILD'); + } + if('' !== (string)env('BASE_IMAGE_DATE')) { + $baseBuildDate = env('BASE_IMAGE_DATE'); + } + $phpVersion = PHP_VERSION; $phpOs = PHP_OS; @@ -220,6 +229,8 @@ class DebugController extends Controller 'loginProvider', 'buildNr', 'buildDate', + 'baseBuildNr', + 'baseBuildDate', 'bcscale', 'userAgent', 'displayErrors', diff --git a/app/Http/Controllers/System/HealthcheckController.php b/app/Http/Controllers/System/HealthcheckController.php index fef70b5b05..b6aad6e927 100644 --- a/app/Http/Controllers/System/HealthcheckController.php +++ b/app/Http/Controllers/System/HealthcheckController.php @@ -23,6 +23,7 @@ declare(strict_types=1); namespace FireflyIII\Http\Controllers\System; +use FireflyIII\User; use FireflyIII\Http\Controllers\Controller; use Illuminate\Http\Response; @@ -38,6 +39,7 @@ class HealthcheckController extends Controller */ public function check(): Response { + User::count(); // sanity check for database health. Will crash if not OK. return response('OK', 200); } } diff --git a/app/Models/AutoBudget.php b/app/Models/AutoBudget.php index 128bb4b4b7..a05537bf99 100644 --- a/app/Models/AutoBudget.php +++ b/app/Models/AutoBudget.php @@ -70,6 +70,8 @@ class AutoBudget extends Model public const AUTO_BUDGET_RESET = 1; public const AUTO_BUDGET_ROLLOVER = 2; + protected $fillable = ['budget_id','amount','period']; + /** * @return BelongsTo */ diff --git a/app/Repositories/Budget/OperationsRepository.php b/app/Repositories/Budget/OperationsRepository.php index 07a10a4e95..4bca48f1d1 100644 --- a/app/Repositories/Budget/OperationsRepository.php +++ b/app/Repositories/Budget/OperationsRepository.php @@ -298,7 +298,7 @@ class OperationsRepository implements OperationsRepositoryInterface ?Collection $budgets = null, ?TransactionCurrency $currency = null ): array { - Log::debug(sprintf('Now in %s', __METHOD__)); + //Log::debug(sprintf('Now in %s', __METHOD__)); $start->startOfDay(); $end->endOfDay(); @@ -340,7 +340,7 @@ class OperationsRepository implements OperationsRepositoryInterface // same but for foreign currencies: if (null !== $currency) { - Log::debug(sprintf('Currency is "%s".', $currency->name)); + //Log::debug(sprintf('Currency is "%s".', $currency->name)); /** @var GroupCollectorInterface $collector */ $collector = app(GroupCollectorInterface::class); $collector->setUser($this->user)->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL]) @@ -350,7 +350,7 @@ class OperationsRepository implements OperationsRepositoryInterface $collector->setAccounts($accounts); } $result = $collector->getExtractedJournals(); - Log::debug(sprintf('Found %d journals with currency %s.', count($result), $currency->code)); + //Log::debug(sprintf('Found %d journals with currency %s.', count($result), $currency->code)); // do not use array_merge because you want keys to overwrite (otherwise you get double results): $journals = $result + $journals; } diff --git a/app/Services/Internal/Destroy/BudgetDestroyService.php b/app/Services/Internal/Destroy/BudgetDestroyService.php index c3030e3635..c265a897d8 100644 --- a/app/Services/Internal/Destroy/BudgetDestroyService.php +++ b/app/Services/Internal/Destroy/BudgetDestroyService.php @@ -52,6 +52,8 @@ class BudgetDestroyService DB::table('budget_transaction')->where('budget_id', (int)$budget->id)->delete(); // also delete all budget limits - $budget->budgetlimits()->delete(); + foreach($budget->budgetlimits()->get() as $limit) { + $limit->delete(); + } } } diff --git a/app/Support/Navigation.php b/app/Support/Navigation.php index aab44e3d24..5292a430d9 100644 --- a/app/Support/Navigation.php +++ b/app/Support/Navigation.php @@ -280,6 +280,23 @@ class Navigation return $currentEnd; } + + $result = match ($repeatFreq) { + 'last7' => $currentEnd->addDays(7)->startOfDay(), + 'last30' => $currentEnd->addDays(30)->startOfDay(), + 'last90' => $currentEnd->addDays(90)->startOfDay(), + 'last365' => $currentEnd->addDays(365)->startOfDay(), + 'MTD' => $currentEnd->startOfMonth()->startOfDay(), + 'QTD' => $currentEnd->firstOfQuarter()->startOfDay(), + 'YTD' => $currentEnd->startOfYear()->startOfDay(), + default => null, + }; + if (null !== $result) { + return $result; + } + unset($result); + + if (!array_key_exists($repeatFreq, $functionMap)) { Log::error(sprintf('Cannot do endOfPeriod for $repeat_freq "%s"', $repeatFreq)); diff --git a/app/Transformers/V2/TransactionGroupTransformer.php b/app/Transformers/V2/TransactionGroupTransformer.php index d0e50f47a7..962e7d5a71 100644 --- a/app/Transformers/V2/TransactionGroupTransformer.php +++ b/app/Transformers/V2/TransactionGroupTransformer.php @@ -273,6 +273,7 @@ class TransactionGroupTransformer extends AbstractTransformer if (10 === strlen($string)) { return Carbon::createFromFormat('Y-m-d', $string, config('app.timezone')); } - return Carbon::createFromFormat('Y-m-d H:i:s', $string, config('app.timezone')); + // 2022-01-01 01:01:01 + return Carbon::createFromFormat('Y-m-d H:i:s', substr($string, 0, 19), config('app.timezone')); } } diff --git a/app/Validation/Account/WithdrawalValidation.php b/app/Validation/Account/WithdrawalValidation.php index dd0e262d3d..f8ce6eb55e 100644 --- a/app/Validation/Account/WithdrawalValidation.php +++ b/app/Validation/Account/WithdrawalValidation.php @@ -130,11 +130,13 @@ trait WithdrawalValidation { $accountId = array_key_exists('id', $array) ? $array['id'] : null; $accountName = array_key_exists('name', $array) ? $array['name'] : null; + $accountIban = array_key_exists('iban', $array) ? $array['iban'] : null; + $accountNumber =array_key_exists('number', $array) ? $array['number'] : null; Log::debug('Now in validateWithdrawalSource', $array); // source can be any of the following types. $validTypes = array_keys($this->combinations[$this->transactionType]); - if (null === $accountId && null === $accountName && false === $this->canCreateTypes($validTypes)) { + if (null === $accountId && null === $accountName && null === $accountNumber && null === $accountIban && false === $this->canCreateTypes($validTypes)) { // if both values are NULL we return false, // because the source of a withdrawal can't be created. $this->sourceError = (string)trans('validation.withdrawal_source_need_data'); diff --git a/app/Validation/TransactionValidation.php b/app/Validation/TransactionValidation.php index e246a6171c..2c80315ad5 100644 --- a/app/Validation/TransactionValidation.php +++ b/app/Validation/TransactionValidation.php @@ -90,7 +90,7 @@ trait TransactionValidation Log::error(sprintf('Transactions array is not countable, because its a %s', gettype($transactions))); return []; } - Log::debug('Returning transactions.', $transactions); + //Log::debug('Returning transactions.', $transactions); return $transactions; } diff --git a/changelog.md b/changelog.md index 189cdd492e..53d92504a1 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,25 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## v6.0.10 - 2023-05-14 + +### Added +- The debug screen will also report on the build version of the BASE image. + +### Changed +- Health check will also check if the database is up. +- [Issue 7461](https://github.com/firefly-iii/firefly-iii/issues/7461) MFA field will now autofocus, thanks @eandersons! + +### Removed +- IBAN check no longer triggers on empty IBANs + +### Fixed +- Account validation when you only submit an IBAN. +- [Issue 7478](https://github.com/firefly-iii/firefly-iii/issues/7478) [issue 7457](https://github.com/firefly-iii/firefly-iii/issues/7457) Various fixes in budget limit and available amount management. +- [Issue 7446](https://github.com/firefly-iii/firefly-iii/issues/7446) Bills "Next expected match" was incorrect +- [Issue 7456](https://github.com/firefly-iii/firefly-iii/issues/7456) Missing date calculation fields. +- [Issue 7448](https://github.com/firefly-iii/firefly-iii/issues/7448) [issue 7444](https://github.com/firefly-iii/firefly-iii/issues/7444) Dark mode bad CSS + ## 6.0.9 - 2023-04-29 ### Added diff --git a/composer.json b/composer.json index 4013e58c6d..412b7e5831 100644 --- a/composer.json +++ b/composer.json @@ -105,13 +105,13 @@ "rcrowe/twigbridge": "^0.14", "spatie/laravel-ignition": "^2", "spatie/period": "^2.4", - "symfony/http-client": "^6.0", - "symfony/mailgun-mailer": "^6.0", + "symfony/http-client": "^6.2", + "symfony/mailgun-mailer": "^6.2", "therobfonz/laravel-mandrill-driver": "^5.0" }, "require-dev": { "barryvdh/laravel-ide-helper": "2.*", - "ergebnis/phpstan-rules": "^1.0", + "ergebnis/phpstan-rules": "^2.0", "fakerphp/faker": "1.*", "filp/whoops": "2.*", "mockery/mockery": "1.*", diff --git a/composer.lock b/composer.lock index 745636112b..df2be0fb50 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": "3d09d838fdf529c07df3563a3d96de5c", + "content-hash": "87b9480ca539487cfbc7def5beed7913", "packages": [ { "name": "bacon/bacon-qr-code", @@ -1138,25 +1138,25 @@ }, { "name": "firebase/php-jwt", - "version": "v6.4.0", + "version": "v6.5.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "4dd1e007f22a927ac77da5a3fbb067b42d3bc224" + "reference": "e94e7353302b0c11ec3cfff7180cd0b1743975d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/4dd1e007f22a927ac77da5a3fbb067b42d3bc224", - "reference": "4dd1e007f22a927ac77da5a3fbb067b42d3bc224", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/e94e7353302b0c11ec3cfff7180cd0b1743975d2", + "reference": "e94e7353302b0c11ec3cfff7180cd0b1743975d2", "shasum": "" }, "require": { - "php": "^7.1||^8.0" + "php": "^7.4||^8.0" }, "require-dev": { "guzzlehttp/guzzle": "^6.5||^7.4", - "phpspec/prophecy-phpunit": "^1.1", - "phpunit/phpunit": "^7.5||^9.5", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", "psr/cache": "^1.0||^2.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0" @@ -1195,9 +1195,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.4.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.5.0" }, - "time": "2023-02-09T21:01:23+00:00" + "time": "2023-05-12T15:47:07+00:00" }, { "name": "fruitcake/php-cors", @@ -1940,16 +1940,16 @@ }, { "name": "laravel/framework", - "version": "v10.9.0", + "version": "v10.10.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "35078125f61ef0b125edf524de934f108d4b47fd" + "reference": "be0478dea96a6619bb77676f36f67c1500846b17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/35078125f61ef0b125edf524de934f108d4b47fd", - "reference": "35078125f61ef0b125edf524de934f108d4b47fd", + "url": "https://api.github.com/repos/laravel/framework/zipball/be0478dea96a6619bb77676f36f67c1500846b17", + "reference": "be0478dea96a6619bb77676f36f67c1500846b17", "shasum": "" }, "require": { @@ -2136,20 +2136,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-04-25T13:47:18+00:00" + "time": "2023-05-11T13:20:25+00:00" }, { "name": "laravel/passport", - "version": "v11.8.6", + "version": "v11.8.7", "source": { "type": "git", "url": "https://github.com/laravel/passport.git", - "reference": "a75f0a92136a6cf91e5c6755374f77bf4b30c411" + "reference": "48a03ffbfce7217b7ceba2c8e685ae8caa68db10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/passport/zipball/a75f0a92136a6cf91e5c6755374f77bf4b30c411", - "reference": "a75f0a92136a6cf91e5c6755374f77bf4b30c411", + "url": "https://api.github.com/repos/laravel/passport/zipball/48a03ffbfce7217b7ceba2c8e685ae8caa68db10", + "reference": "48a03ffbfce7217b7ceba2c8e685ae8caa68db10", "shasum": "" }, "require": { @@ -2214,20 +2214,20 @@ "issues": "https://github.com/laravel/passport/issues", "source": "https://github.com/laravel/passport" }, - "time": "2023-04-24T20:05:58+00:00" + "time": "2023-04-28T10:08:34+00:00" }, { "name": "laravel/sanctum", - "version": "v3.2.4", + "version": "v3.2.5", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "c8269dcff3cda261ce113ab9548a0253d709aa91" + "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/c8269dcff3cda261ce113ab9548a0253d709aa91", - "reference": "c8269dcff3cda261ce113ab9548a0253d709aa91", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/8ebda85d59d3c414863a7f4d816ef8302faad876", + "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876", "shasum": "" }, "require": { @@ -2280,7 +2280,7 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2023-04-26T18:55:47+00:00" + "time": "2023-05-01T19:39:51+00:00" }, { "name": "laravel/serializable-closure", @@ -3008,19 +3008,20 @@ }, { "name": "league/flysystem", - "version": "3.14.0", + "version": "3.15.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "e2a279d7f47d9098e479e8b21f7fb8b8de230158" + "reference": "a141d430414fcb8bf797a18716b09f759a385bed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e2a279d7f47d9098e479e8b21f7fb8b8de230158", - "reference": "e2a279d7f47d9098e479e8b21f7fb8b8de230158", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a141d430414fcb8bf797a18716b09f759a385bed", + "reference": "a141d430414fcb8bf797a18716b09f759a385bed", "shasum": "" }, "require": { + "league/flysystem-local": "^3.0.0", "league/mime-type-detection": "^1.0.0", "php": "^8.0.2" }, @@ -3079,7 +3080,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.14.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.15.1" }, "funding": [ { @@ -3091,7 +3092,67 @@ "type": "github" } ], - "time": "2023-04-11T18:11:47+00:00" + "time": "2023-05-04T09:04:26+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.15.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "543f64c397fefdf9cfeac443ffb6beff602796b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/543f64c397fefdf9cfeac443ffb6beff602796b3", + "reference": "543f64c397fefdf9cfeac443ffb6beff602796b3", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem-local/issues", + "source": "https://github.com/thephpleague/flysystem-local/tree/3.15.0" + }, + "funding": [ + { + "url": "https://ecologi.com/frankdejonge", + "type": "custom" + }, + { + "url": "https://github.com/frankdejonge", + "type": "github" + } + ], + "time": "2023-05-02T20:02:14+00:00" }, { "name": "league/fractal", @@ -4069,21 +4130,20 @@ }, { "name": "nyholm/psr7", - "version": "1.7.0", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/Nyholm/psr7.git", - "reference": "ed7cf98f6562831dbc3c962406b5e49dc8179c8c" + "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/ed7cf98f6562831dbc3c962406b5e49dc8179c8c", - "reference": "ed7cf98f6562831dbc3c962406b5e49dc8179c8c", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/3cb4d163b58589e47b35103e8e5e6a6a475b47be", + "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be", "shasum": "" }, "require": { "php": ">=7.2", - "php-http/message-factory": "^1.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.1 || ^2.0" }, @@ -4094,14 +4154,15 @@ }, "require-dev": { "http-interop/http-factory-tests": "^0.9", - "php-http/psr7-integration-tests": "^1.0@dev", - "phpunit/phpunit": "^7.5 || 8.5 || 9.4", + "php-http/message-factory": "^1.0", + "php-http/psr7-integration-tests": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", "symfony/error-handler": "^4.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.8-dev" } }, "autoload": { @@ -4131,7 +4192,7 @@ ], "support": { "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.7.0" + "source": "https://github.com/Nyholm/psr7/tree/1.8.0" }, "funding": [ { @@ -4143,7 +4204,7 @@ "type": "github" } ], - "time": "2023-04-20T08:38:48+00:00" + "time": "2023-05-02T11:26:24+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -4262,60 +4323,6 @@ }, "time": "2020-10-15T08:29:30+00:00" }, - { - "name": "php-http/message-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-http/message-factory.git", - "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/message-factory/zipball/4d8778e1c7d405cbb471574821c1ff5b68cc8f57", - "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Factory interfaces for PSR-7 HTTP Message", - "homepage": "http://php-http.org", - "keywords": [ - "factory", - "http", - "message", - "stream", - "uri" - ], - "support": { - "issues": "https://github.com/php-http/message-factory/issues", - "source": "https://github.com/php-http/message-factory/tree/1.1.0" - }, - "time": "2023-04-14T14:16:17+00:00" - }, { "name": "phpoption/phpoption", "version": "1.9.1", @@ -5635,16 +5642,16 @@ }, { "name": "spatie/ignition", - "version": "1.6.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "fbcfcabc44e506e40c4d72fd4ddf465e272a600e" + "reference": "f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/fbcfcabc44e506e40c4d72fd4ddf465e272a600e", - "reference": "fbcfcabc44e506e40c4d72fd4ddf465e272a600e", + "url": "https://api.github.com/repos/spatie/ignition/zipball/f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78", + "reference": "f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78", "shasum": "" }, "require": { @@ -5714,20 +5721,20 @@ "type": "github" } ], - "time": "2023-04-27T08:40:07+00:00" + "time": "2023-05-04T13:20:26+00:00" }, { "name": "spatie/laravel-ignition", - "version": "2.1.0", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "3718dfb91bc5aff340af26507a61f0f9605f81e8" + "reference": "2f99fa6b732a6049e78ed34e4608ce589605ae54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3718dfb91bc5aff340af26507a61f0f9605f81e8", - "reference": "3718dfb91bc5aff340af26507a61f0f9605f81e8", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/2f99fa6b732a6049e78ed34e4608ce589605ae54", + "reference": "2f99fa6b732a6049e78ed34e4608ce589605ae54", "shasum": "" }, "require": { @@ -5806,7 +5813,7 @@ "type": "github" } ], - "time": "2023-04-12T09:26:00+00:00" + "time": "2023-05-09T07:19:31+00:00" }, { "name": "spatie/period", @@ -5864,16 +5871,16 @@ }, { "name": "symfony/console", - "version": "v6.2.8", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b" + "reference": "12288d9f4500f84a4d02254d4aa968b15488476f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b", - "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b", + "url": "https://api.github.com/repos/symfony/console/zipball/12288d9f4500f84a4d02254d4aa968b15488476f", + "reference": "12288d9f4500f84a4d02254d4aa968b15488476f", "shasum": "" }, "require": { @@ -5940,7 +5947,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.2.8" + "source": "https://github.com/symfony/console/tree/v6.2.10" }, "funding": [ { @@ -5956,7 +5963,7 @@ "type": "tidelift" } ], - "time": "2023-03-29T21:42:15+00:00" + "time": "2023-04-28T13:37:43+00:00" }, { "name": "symfony/css-selector", @@ -6092,16 +6099,16 @@ }, { "name": "symfony/error-handler", - "version": "v6.2.9", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "e95f1273b3953c3b5e5341172dae838bacee11ee" + "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/e95f1273b3953c3b5e5341172dae838bacee11ee", - "reference": "e95f1273b3953c3b5e5341172dae838bacee11ee", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/8b7e9f124640cb0611624a9383176c3e5f7d8cfb", + "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb", "shasum": "" }, "require": { @@ -6143,7 +6150,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.2.9" + "source": "https://github.com/symfony/error-handler/tree/v6.2.10" }, "funding": [ { @@ -6159,7 +6166,7 @@ "type": "tidelift" } ], - "time": "2023-04-11T16:03:19+00:00" + "time": "2023-04-18T13:46:08+00:00" }, { "name": "symfony/event-dispatcher", @@ -6389,16 +6396,16 @@ }, { "name": "symfony/http-client", - "version": "v6.2.9", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "7daf5d24c21a683164688b95bb73b7a4bd3b32fc" + "reference": "3f5545a91c8e79dedd1a06c4b04e1682c80c42f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/7daf5d24c21a683164688b95bb73b7a4bd3b32fc", - "reference": "7daf5d24c21a683164688b95bb73b7a4bd3b32fc", + "url": "https://api.github.com/repos/symfony/http-client/zipball/3f5545a91c8e79dedd1a06c4b04e1682c80c42f9", + "reference": "3f5545a91c8e79dedd1a06c4b04e1682c80c42f9", "shasum": "" }, "require": { @@ -6457,7 +6464,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.2.9" + "source": "https://github.com/symfony/http-client/tree/v6.2.10" }, "funding": [ { @@ -6473,7 +6480,7 @@ "type": "tidelift" } ], - "time": "2023-04-11T16:03:19+00:00" + "time": "2023-04-20T13:12:48+00:00" }, { "name": "symfony/http-client-contracts", @@ -6558,16 +6565,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.2.8", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "511a524affeefc191939348823ac75e9921c2112" + "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/511a524affeefc191939348823ac75e9921c2112", - "reference": "511a524affeefc191939348823ac75e9921c2112", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49adbb92bcb4e3c2943719d2756271e8b9602acc", + "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc", "shasum": "" }, "require": { @@ -6616,7 +6623,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.2.8" + "source": "https://github.com/symfony/http-foundation/tree/v6.2.10" }, "funding": [ { @@ -6632,20 +6639,20 @@ "type": "tidelift" } ], - "time": "2023-03-29T21:42:15+00:00" + "time": "2023-04-18T13:46:08+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.2.9", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "02246510cf7031726f7237138d61b796b95799b3" + "reference": "81064a65a5496f17d2b6984f6519406f98864215" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/02246510cf7031726f7237138d61b796b95799b3", - "reference": "02246510cf7031726f7237138d61b796b95799b3", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/81064a65a5496f17d2b6984f6519406f98864215", + "reference": "81064a65a5496f17d2b6984f6519406f98864215", "shasum": "" }, "require": { @@ -6727,7 +6734,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.2.9" + "source": "https://github.com/symfony/http-kernel/tree/v6.2.10" }, "funding": [ { @@ -6743,7 +6750,7 @@ "type": "tidelift" } ], - "time": "2023-04-13T16:41:43+00:00" + "time": "2023-04-28T13:50:28+00:00" }, { "name": "symfony/mailer", @@ -6826,16 +6833,16 @@ }, { "name": "symfony/mailgun-mailer", - "version": "v6.2.7", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/mailgun-mailer.git", - "reference": "9e27b8ec2f6ee7575c6229a61be1578a5a4b21ee" + "reference": "2c9d47b11cc154d2db3f571030cd965d128de1a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailgun-mailer/zipball/9e27b8ec2f6ee7575c6229a61be1578a5a4b21ee", - "reference": "9e27b8ec2f6ee7575c6229a61be1578a5a4b21ee", + "url": "https://api.github.com/repos/symfony/mailgun-mailer/zipball/2c9d47b11cc154d2db3f571030cd965d128de1a8", + "reference": "2c9d47b11cc154d2db3f571030cd965d128de1a8", "shasum": "" }, "require": { @@ -6871,7 +6878,7 @@ "description": "Symfony Mailgun Mailer Bridge", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailgun-mailer/tree/v6.2.7" + "source": "https://github.com/symfony/mailgun-mailer/tree/v6.2.10" }, "funding": [ { @@ -6887,20 +6894,20 @@ "type": "tidelift" } ], - "time": "2023-02-21T10:35:38+00:00" + "time": "2023-04-14T16:23:31+00:00" }, { "name": "symfony/mime", - "version": "v6.2.7", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "62e341f80699badb0ad70b31149c8df89a2d778e" + "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/62e341f80699badb0ad70b31149c8df89a2d778e", - "reference": "62e341f80699badb0ad70b31149c8df89a2d778e", + "url": "https://api.github.com/repos/symfony/mime/zipball/b6c137fc53a9f7c4c951cd3f362b3734c7a97723", + "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723", "shasum": "" }, "require": { @@ -6954,7 +6961,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.2.7" + "source": "https://github.com/symfony/mime/tree/v6.2.10" }, "funding": [ { @@ -6970,7 +6977,7 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-04-19T09:54:16+00:00" }, { "name": "symfony/polyfill-ctype", @@ -7632,16 +7639,16 @@ }, { "name": "symfony/process", - "version": "v6.2.8", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "75ed64103df4f6615e15a7fe38b8111099f47416" + "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416", - "reference": "75ed64103df4f6615e15a7fe38b8111099f47416", + "url": "https://api.github.com/repos/symfony/process/zipball/b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e", + "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e", "shasum": "" }, "require": { @@ -7673,7 +7680,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.2.8" + "source": "https://github.com/symfony/process/tree/v6.2.10" }, "funding": [ { @@ -7689,7 +7696,7 @@ "type": "tidelift" } ], - "time": "2023-03-09T16:20:02+00:00" + "time": "2023-04-18T13:56:57+00:00" }, { "name": "symfony/psr-http-message-bridge", @@ -8293,16 +8300,16 @@ }, { "name": "symfony/var-dumper", - "version": "v6.2.8", + "version": "v6.2.10", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0" + "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d37ab6787be2db993747b6218fcc96e8e3bb4bd0", - "reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/41a750a23412ca76fdbbf5096943b4134272c1ab", + "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab", "shasum": "" }, "require": { @@ -8361,7 +8368,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.2.8" + "source": "https://github.com/symfony/var-dumper/tree/v6.2.10" }, "funding": [ { @@ -8377,7 +8384,7 @@ "type": "tidelift" } ], - "time": "2023-03-29T21:42:15+00:00" + "time": "2023-04-18T13:46:08+00:00" }, { "name": "therobfonz/laravel-mandrill-driver", @@ -8496,16 +8503,16 @@ }, { "name": "twig/twig", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "a6e0510cc793912b451fd40ab983a1d28f611c15" + "reference": "106c170d08e8415d78be2d16c3d057d0d108262b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/a6e0510cc793912b451fd40ab983a1d28f611c15", - "reference": "a6e0510cc793912b451fd40ab983a1d28f611c15", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/106c170d08e8415d78be2d16c3d057d0d108262b", + "reference": "106c170d08e8415d78be2d16c3d057d0d108262b", "shasum": "" }, "require": { @@ -8514,15 +8521,10 @@ "symfony/polyfill-mbstring": "^1.3" }, "require-dev": { - "psr/container": "^1.0", + "psr/container": "^1.0|^2.0", "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.5-dev" - } - }, "autoload": { "psr-4": { "Twig\\": "src/" @@ -8556,7 +8558,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.5.1" + "source": "https://github.com/twigphp/Twig/tree/v3.6.0" }, "funding": [ { @@ -8568,7 +8570,7 @@ "type": "tidelift" } ], - "time": "2023-02-08T07:49:20+00:00" + "time": "2023-05-03T19:06:57+00:00" }, { "name": "vlucas/phpdotenv", @@ -9080,39 +9082,38 @@ }, { "name": "ergebnis/phpstan-rules", - "version": "1.0.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/ergebnis/phpstan-rules.git", - "reference": "ebeced30d7e50324a94a83c19a59d75816e8fbb4" + "reference": "99360283faf07a6d553f384183f3551a054c5aeb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/ebeced30d7e50324a94a83c19a59d75816e8fbb4", - "reference": "ebeced30d7e50324a94a83c19a59d75816e8fbb4", + "url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/99360283faf07a6d553f384183f3551a054c5aeb", + "reference": "99360283faf07a6d553f384183f3551a054c5aeb", "shasum": "" }, "require": { "ext-mbstring": "*", "nikic/php-parser": "^4.2.3", - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.0.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "phpstan/phpstan": "^1.7.15" }, "require-dev": { - "doctrine/orm": "^2.10.2", - "ergebnis/composer-normalize": "^2.15.0", - "ergebnis/license": "^1.1.0", - "ergebnis/php-cs-fixer-config": "^2.14.0", - "ergebnis/test-util": "^1.5.0", - "infection/infection": "~0.15.3", - "nette/di": "^3.0.11", + "doctrine/orm": "^2.14.3", + "ergebnis/composer-normalize": "^2.30.2", + "ergebnis/license": "^2.1.0", + "ergebnis/php-cs-fixer-config": "^5.5.2", + "infection/infection": "~0.26.19", + "nette/di": "^3.1.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", - "phpstan/phpstan-strict-rules": "^1.0.0", - "phpunit/phpunit": "^8.5.21", - "psalm/plugin-phpunit": "~0.16.1", - "psr/container": "^1.0.0", - "vimeo/psalm": "^4.12.0", - "zendframework/zend-servicemanager": "^2.0.0" + "phpstan/phpstan-strict-rules": "^1.1.0", + "phpunit/phpunit": "^9.6.7", + "psalm/plugin-phpunit": "~0.18.4", + "psr/container": "^1.1.2", + "rector/rector": "~0.15.25", + "vimeo/psalm": "^5.9.0" }, "type": "phpstan-extension", "extra": { @@ -9148,13 +9149,7 @@ "issues": "https://github.com/ergebnis/phpstan-rules/issues", "source": "https://github.com/ergebnis/phpstan-rules" }, - "funding": [ - { - "url": "https://github.com/localheinz", - "type": "github" - } - ], - "time": "2021-11-08T15:37:09+00:00" + "time": "2023-05-01T17:59:46+00:00" }, { "name": "fakerphp/faker", @@ -9869,16 +9864,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.20.3", + "version": "1.20.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2" + "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6c04009f6cae6eda2f040745b6b846080ef069c2", - "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd", + "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd", "shasum": "" }, "require": { @@ -9908,22 +9903,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.3" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.4" }, - "time": "2023-04-25T09:01:03+00:00" + "time": "2023-05-02T09:19:37+00:00" }, { "name": "phpstan/phpstan", - "version": "1.10.14", + "version": "1.10.15", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "d232901b09e67538e5c86a724be841bea5768a7c" + "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d232901b09e67538e5c86a724be841bea5768a7c", - "reference": "d232901b09e67538e5c86a724be841bea5768a7c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/762c4dac4da6f8756eebb80e528c3a47855da9bd", + "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd", "shasum": "" }, "require": { @@ -9972,7 +9967,7 @@ "type": "tidelift" } ], - "time": "2023-04-19T13:47:27+00:00" + "time": "2023-05-09T15:28:01+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -10151,16 +10146,16 @@ }, { "name": "phpunit/php-file-iterator", - "version": "4.0.1", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd" + "reference": "5647d65443818959172645e7ed999217360654b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/fd9329ab3368f59fe1fe808a189c51086bd4b6bd", - "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/5647d65443818959172645e7ed999217360654b6", + "reference": "5647d65443818959172645e7ed999217360654b6", "shasum": "" }, "require": { @@ -10199,7 +10194,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1" + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.2" }, "funding": [ { @@ -10207,7 +10203,7 @@ "type": "github" } ], - "time": "2023-02-10T16:53:14+00:00" + "time": "2023-05-07T09:13:23+00:00" }, { "name": "phpunit/php-invoker", @@ -10392,16 +10388,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.1.2", + "version": "10.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6f0cd95be71add539f8fd2be25b2a4a29789000b" + "reference": "2379ebafc1737e71cdc84f402acb6b7f04198b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6f0cd95be71add539f8fd2be25b2a4a29789000b", - "reference": "6f0cd95be71add539f8fd2be25b2a4a29789000b", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2379ebafc1737e71cdc84f402acb6b7f04198b9d", + "reference": "2379ebafc1737e71cdc84f402acb6b7f04198b9d", "shasum": "" }, "require": { @@ -10473,7 +10469,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.3" }, "funding": [ { @@ -10489,7 +10485,7 @@ "type": "tidelift" } ], - "time": "2023-04-22T07:38:19+00:00" + "time": "2023-05-11T05:16:22+00:00" }, { "name": "sebastian/cli-parser", @@ -10793,16 +10789,16 @@ }, { "name": "sebastian/diff", - "version": "5.0.1", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02" + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/aae9a0a43bff37bd5d8d0311426c87bf36153f02", - "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", "shasum": "" }, "require": { @@ -10848,7 +10844,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" }, "funding": [ { @@ -10856,7 +10852,7 @@ "type": "github" } ], - "time": "2023-03-23T05:12:41+00:00" + "time": "2023-05-01T07:48:21+00:00" }, { "name": "sebastian/environment", diff --git a/config/firefly.php b/config/firefly.php index a9e351d6d3..5821785b01 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -107,7 +107,7 @@ return [ 'webhooks' => true, 'handle_debts' => true, ], - 'version' => '6.0.9', + 'version' => '6.0.10', 'api_version' => '2.0.1', 'db_version' => 19, diff --git a/database/migrations/2020_07_24_162820_changes_for_v540.php b/database/migrations/2020_07_24_162820_changes_for_v540.php index 7ecd702f96..51571ae1df 100644 --- a/database/migrations/2020_07_24_162820_changes_for_v540.php +++ b/database/migrations/2020_07_24_162820_changes_for_v540.php @@ -69,13 +69,25 @@ class ChangesForV540 extends Migration Log::error('If the column or index already exists (see error), this is not an problem. Otherwise, please open a GitHub discussion.'); } } - if(Schema::hasColumn('bills', 'end_date') && Schema::hasColumn('bills', 'extension_date')) { + // in two steps for sqlite + if(Schema::hasColumn('bills', 'end_date')) { try { Schema::table( 'bills', static function (Blueprint $table) { $table->dropColumn('end_date'); - + } + ); + } catch (QueryException|ColumnDoesNotExist $e) { + Log::error(sprintf('Could not execute query: %s', $e->getMessage())); + Log::error('If the column or index already exists (see error), this is not an problem. Otherwise, please open a GitHub discussion.'); + } + } + if(Schema::hasColumn('bills', 'extension_date')) { + try { + Schema::table( + 'bills', + static function (Blueprint $table) { $table->dropColumn('extension_date'); } ); diff --git a/database/migrations/2020_11_12_070604_changes_for_v550.php b/database/migrations/2020_11_12_070604_changes_for_v550.php index 9c4699da6c..20cc4a1073 100644 --- a/database/migrations/2020_11_12_070604_changes_for_v550.php +++ b/database/migrations/2020_11_12_070604_changes_for_v550.php @@ -72,7 +72,9 @@ class ChangesForV550 extends Migration Schema::table( 'budget_transaction_journal', function (Blueprint $table) { - $table->dropForeign('budget_id_foreign'); + if ('sqlite' !== config('database.default')) { + $table->dropForeign('budget_id_foreign'); + } $table->dropColumn('budget_limit_id'); } ); @@ -86,12 +88,25 @@ class ChangesForV550 extends Migration Schema::dropIfExists('failed_jobs'); // drop fields from budget limits - if(Schema::hasColumn('budget_limits', 'period') && Schema::hasColumn('budget_limits', 'generated')) { + // in two steps for sqlite + if(Schema::hasColumn('budget_limits', 'period')) { try { Schema::table( 'budget_limits', static function (Blueprint $table) { $table->dropColumn('period'); + } + ); + } catch (QueryException|ColumnDoesNotExist $e) { + Log::error(sprintf('Could not execute query: %s', $e->getMessage())); + Log::error('If the column or index already exists (see error), this is not an problem. Otherwise, please open a GitHub discussion.'); + } + } + if(Schema::hasColumn('budget_limits', 'generated')) { + try { + Schema::table( + 'budget_limits', + static function (Blueprint $table) { $table->dropColumn('generated'); } ); diff --git a/database/migrations/2021_03_12_061213_changes_for_v550b2.php b/database/migrations/2021_03_12_061213_changes_for_v550b2.php index 41ae6e4426..900bde7d4d 100644 --- a/database/migrations/2021_03_12_061213_changes_for_v550b2.php +++ b/database/migrations/2021_03_12_061213_changes_for_v550b2.php @@ -45,7 +45,9 @@ class ChangesForV550b2 extends Migration Schema::table( 'recurrences_transactions', function (Blueprint $table) { - $table->dropForeign('type_foreign'); + if ('sqlite' !== config('database.default')) { + $table->dropForeign('type_foreign'); + } if (Schema::hasColumn('recurrences_transactions', 'transaction_type_id')) { $table->dropColumn('transaction_type_id'); } diff --git a/database/migrations/2021_08_28_073733_user_groups.php b/database/migrations/2021_08_28_073733_user_groups.php index ce6a7a3fca..b84c8db589 100644 --- a/database/migrations/2021_08_28_073733_user_groups.php +++ b/database/migrations/2021_08_28_073733_user_groups.php @@ -65,7 +65,9 @@ class UserGroups extends Migration Schema::table( $tableName, function (Blueprint $table) use ($tableName) { - $table->dropForeign(sprintf('%s_to_ugi', $tableName)); + if ('sqlite' !== config('database.default')) { + $table->dropForeign(sprintf('%s_to_ugi', $tableName)); + } if (Schema::hasColumn($tableName, 'user_group_id')) { $table->dropColumn('user_group_id'); } @@ -83,7 +85,9 @@ class UserGroups extends Migration Schema::table( 'users', function (Blueprint $table) { - $table->dropForeign('type_user_group_id'); + if ('sqlite' !== config('database.default')) { + $table->dropForeign('type_user_group_id'); + } if (Schema::hasColumn('users', 'user_group_id')) { $table->dropColumn('user_group_id'); } diff --git a/database/migrations/2022_08_21_104626_add_user_groups.php b/database/migrations/2022_08_21_104626_add_user_groups.php index 30454d1b20..1ef80cb314 100644 --- a/database/migrations/2022_08_21_104626_add_user_groups.php +++ b/database/migrations/2022_08_21_104626_add_user_groups.php @@ -67,7 +67,9 @@ return new class () extends Migration { Schema::table( 'currency_exchange_rates', function (Blueprint $table) { - $table->dropForeign('cer_to_ugi'); + if ('sqlite' !== config('database.default')) { + $table->dropForeign('cer_to_ugi'); + } if (Schema::hasColumn('currency_exchange_rates', 'user_group_id')) { $table->dropColumn('user_group_id'); } diff --git a/frontend/package.json b/frontend/package.json index 8f6b1244f4..6efde31fea 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,7 +18,7 @@ "core-js": "^3.6.5", "date-fns": "^2.28.0", "pinia": "^2.0.14", - "quasar": "^2.11.10", + "quasar": "^2.12.0", "vue": "3", "vue-i18n": "^9.0.0", "vue-router": "^4.0.0", @@ -26,7 +26,7 @@ }, "devDependencies": { "@babel/eslint-parser": "^7.13.14", - "@quasar/app-webpack": "^3.7.2", + "@quasar/app-webpack": "^3.9.2", "@types/node": "^12.20.21", "@typescript-eslint/eslint-plugin": "^4.16.1", "@typescript-eslint/parser": "^4.16.1", diff --git a/frontend/src/i18n/el_GR/index.js b/frontend/src/i18n/el_GR/index.js index 78b019b9f2..2308fa4e92 100644 --- a/frontend/src/i18n/el_GR/index.js +++ b/frontend/src/i18n/el_GR/index.js @@ -60,7 +60,7 @@ export default { "liabilities_accounts": "\u03a5\u03c0\u03bf\u03c7\u03c1\u03b5\u03ce\u03c3\u03b5\u03b9\u03c2" }, "firefly": { - "administration_index": "Financial administration", + "administration_index": "\u039f\u03b9\u03ba\u03bf\u03bd\u03bf\u03bc\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03c7\u03b5\u03af\u03c1\u03b9\u03c3\u03b7", "actions": "\u0395\u03bd\u03ad\u03c1\u03b3\u03b5\u03b9\u03b5\u03c2", "edit": "\u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1", "delete": "\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae", @@ -72,7 +72,7 @@ export default { "newTransfer": "\u039d\u03ad\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac", "submission_options": "Submission options", "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "fire_webhooks_checkbox": "\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03c9\u03bd webhook", "newDeposit": "\u039d\u03ad\u03b1 \u03ba\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7", "newWithdrawal": "\u039d\u03ad\u03b1 \u03b4\u03b1\u03c0\u03ac\u03bd\u03b7", "bills_paid": "\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03b1 \u03c0\u03ac\u03b3\u03b9\u03b1 \u03ad\u03be\u03bf\u03b4\u03b1", diff --git a/frontend/src/i18n/ja_JP/index.js b/frontend/src/i18n/ja_JP/index.js index 18a8bf3a21..9a62162192 100644 --- a/frontend/src/i18n/ja_JP/index.js +++ b/frontend/src/i18n/ja_JP/index.js @@ -71,8 +71,8 @@ export default { "new_asset_account": "\u65b0\u3057\u3044\u8cc7\u7523\u53e3\u5ea7", "newTransfer": "\u65b0\u3057\u3044\u9001\u91d1", "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "apply_rules_checkbox": "\u30eb\u30fc\u30eb\u3092\u9069\u7528", + "fire_webhooks_checkbox": "Webhook \u3092\u5b9f\u884c\u3059\u308b", "newDeposit": "\u65b0\u3057\u3044\u5165\u91d1", "newWithdrawal": "\u65b0\u3057\u3044\u652f\u51fa", "bills_paid": "\u652f\u6255\u3044\u6e08\u307f\u8acb\u6c42", diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 23e18ae863..b585247ee8 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -338,7 +338,7 @@ page container: q-ma-xs (margin all, xs) AND q-mb-md to give the page content so
- Firefly III v v6.0.9 © James Cole, AGPL-3.0-or-later. + Firefly III v v6.0.10 © James Cole, AGPL-3.0-or-later.
diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 9ceda81090..f1519e0477 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -1337,18 +1337,13 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.2.tgz#830beaec4b4091a9e9398ac50f865ddea52186b9" integrity sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA== -"@positron/stack-trace@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@positron/stack-trace/-/stack-trace-1.0.0.tgz#14fcc712a530038ef9be1ce6952315a839f466a8" - integrity sha1-FPzHEqUwA475vhzmlSMVqDn0Zqg= - -"@quasar/app-webpack@^3.7.2": - version "3.7.2" - resolved "https://registry.yarnpkg.com/@quasar/app-webpack/-/app-webpack-3.7.2.tgz#feaea083d79c5e6c62052dfe87a6e7df73d44e5e" - integrity sha512-OztjmlXaLqjBRm6YPV9/Q+WfXhdu9mcXk5OXExyEpzCII7dfa4m1UMzp+AOsgDXUgoSBt5Wg1WmAICLnKELAjw== +"@quasar/app-webpack@^3.9.2": + version "3.9.2" + resolved "https://registry.yarnpkg.com/@quasar/app-webpack/-/app-webpack-3.9.2.tgz#cbf28e2ef84a94a0507f2f17218b29a2ebf6dd88" + integrity sha512-F/LyEXExcnw1niVjuLoSaRLBS2rlmsQJxuOWed6qL9Xnh+KzW1S/V1FxtDtJOQCjbI2S9YvOP6wcmuB6xEiatg== dependencies: "@quasar/babel-preset-app" "2.0.2" - "@quasar/fastclick" "1.1.5" + "@quasar/render-ssr-error" "^1.0.1" "@quasar/ssr-helpers" "2.2.2" "@types/chrome" "^0.0.208" "@types/compression" "^1.7.2" @@ -1388,11 +1383,9 @@ node-loader "2.0.0" null-loader "4.0.1" open "8.4.0" - ouch "^2.0.1" postcss "^8.4.4" postcss-loader "7.0.2" postcss-rtlcss "4.0.1" - pretty-error "4.0.0" register-service-worker "1.7.2" sass "1.32.12" sass-loader "13.2.0" @@ -1442,10 +1435,12 @@ resolved "https://registry.yarnpkg.com/@quasar/extras/-/extras-1.16.3.tgz#72216e2d450a2ee70613957da88191339b90de41" integrity sha512-c9p2j4KWrWqOcCcCD9IMjgPZzAiXKSMEMc3uYbqa5mHlEJ1kl88OMaeJUcmP+INRQ29AFSEQ9tZE20jLmdnLXw== -"@quasar/fastclick@1.1.5": - version "1.1.5" - resolved "https://registry.yarnpkg.com/@quasar/fastclick/-/fastclick-1.1.5.tgz#948e79c44098cced6c3d1645315683ebc29ed834" - integrity sha512-p3JKgTjRlJ1YQXbqTw3Bsa4j0mQdt5dq+WfYvyb7MgKGdephHCKdR/kxA5PCTAmJanGJuDKqRdyGYX/hYN4KGw== +"@quasar/render-ssr-error@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@quasar/render-ssr-error/-/render-ssr-error-1.0.1.tgz#5400b51c1bc55f4ee7bfb62ecb6f7c7d0f88ce7f" + integrity sha512-4Shxl079hew/yZnIsDtWpRD8enOmqMjMu/s2bkGN0QBvlsRkpWv9pwOz5geJXZxBa17q1S4txvByBxkhPfhWaQ== + dependencies: + stack-trace "^1.0.0-pre2" "@quasar/ssr-helpers@2.2.2": version "2.2.2" @@ -2506,7 +2501,7 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001317, caniuse-lite@^1.0.30001400, can resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001446.tgz#6d4ba828ab19f49f9bcd14a8430d30feebf1e0c5" integrity sha512-fEoga4PrImGcwUUGEol/PoFCSBnSkA9drgdkxXkJLsUBOnJ8rs3zDv6ApqYXGQFOyMPsjh79naWhF4DAxbF8rw== -chalk@4.1.2, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: +chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -3124,13 +3119,6 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -ejs@^3.1.7: - version "3.1.8" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" - integrity sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ== - dependencies: - jake "^10.8.5" - electron-to-chromium@^1.4.251: version "1.4.284" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" @@ -3222,7 +3210,7 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-html@^1.0.1, escape-html@~1.0.3: +escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= @@ -3572,13 +3560,6 @@ file-loader@6.2.0: loader-utils "^2.0.0" schema-utils "^3.0.0" -filelist@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" - integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== - dependencies: - minimatch "^5.0.1" - fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -4234,16 +4215,6 @@ isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= -jake@^10.8.5: - version "10.8.5" - resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" - integrity sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw== - dependencies: - async "^3.2.3" - chalk "^4.0.2" - filelist "^1.0.1" - minimatch "^3.0.4" - javascript-stringify@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-2.1.0.tgz#27c76539be14d8bd128219a2d731b09337904e79" @@ -4482,7 +4453,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@^4.17.10, lodash@^4.17.20, lodash@^4.17.21: +lodash@^4.17.20, lodash@^4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -4906,16 +4877,6 @@ os-tmpdir@~1.0.2: resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -ouch@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/ouch/-/ouch-2.0.1.tgz#9107089819b99146e3d10da57e8f75b39f610993" - integrity sha512-SdkEqpEhsmkEpjTPSvB1DMA//w9ChMUr16m4TayNRVfaULzJ3AnNr3CI4cz1QSZ9a+E/g06c6SQzxjkIc3/GMw== - dependencies: - "@positron/stack-trace" "1.0.0" - ejs "^3.1.7" - escape-html "^1.0.1" - lodash "^4.17.10" - p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -5353,7 +5314,7 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -pretty-error@4.0.0, pretty-error@^4.0.0: +pretty-error@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6" integrity sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw== @@ -5396,10 +5357,10 @@ qs@6.9.7: resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe" integrity sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw== -quasar@^2.11.10: - version "2.11.10" - resolved "https://registry.yarnpkg.com/quasar/-/quasar-2.11.10.tgz#31bf49dd7995673b2116aa250bb0b019ddcae74f" - integrity sha512-pV7bMdY/FUmOvNhZ2XjKSXJH92fsDu0cU/z7a9roPKV54cW41N1en3sLATrirjPComyZnk4uXrMdGtXp8+IpCg== +quasar@^2.12.0: + version "2.12.0" + resolved "https://registry.yarnpkg.com/quasar/-/quasar-2.12.0.tgz#f145ad2b677a0925ea9ca6a3b44b5502be1cbd87" + integrity sha512-B8xoeOWNs/Iv7M+FGRvXGYI1qDnJH8AtIb7RiP+zMfMkBcEp+6HJHU/9ODPemC4yteDjO+HPX2f7OhNZKgsPIw== queue-microtask@^1.2.2: version "1.2.3" @@ -5975,6 +5936,11 @@ stable@^0.1.8: resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== +stack-trace@^1.0.0-pre2: + version "1.0.0-pre2" + resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-1.0.0-pre2.tgz#46a83a79f1b287807e9aaafc6a5dd8bcde626f9c" + integrity sha512-2ztBJRek8IVofG9DBJqdy2N5kulaacX30Nz7xmkYF6ale9WBVmIy6mFBchvGX7Vx/MyjBhx+Rcxqrj+dbOnQ6A== + stackframe@^1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" diff --git a/package.json b/package.json index 089daeb010..fc0b68f128 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "prod": "mix --production" }, "dependencies": { - "date-fns": "^2.29.3", + "date-fns": "^2.30.0", "stream-browserify": "^3.0.0" }, "devDependencies": { diff --git a/public/v1/js/app.js b/public/v1/js/app.js index a10bc945cd..989eee8a83 100644 --- a/public/v1/js/app.js +++ b/public/v1/js/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var t={3002:()=>{if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",(function(){n=!0}));return setTimeout((function(){n||t(i).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var i=t(this),o=i.attr("data-target");o||(o=(o=i.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),o="#"===o?[]:o;var r=t(document).find(o);function s(){r.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),r.length||(r=i.closest(".alert")),r.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s())};var i=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var i=t(this),o=i.data("bs.alert");o||i.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(i)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof n&&n;o||i.data("bs.button",o=new e(this,r)),"toggle"==n?o.toggle():n&&o.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy((function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var i=t(e.target).closest(".btn");n.call(i,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.carousel"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),s="string"==typeof n?n:r.slide;o||i.data("bs.carousel",o=new e(this,r)),"number"==typeof n?o.to(n):s?o[s]():r.interval&&o.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,i){var o=this.$element.find(".item.active"),r=i||this.getItemForDirection(n,o),s=this.interval,a="next"==n?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var u=r[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=t(this.$indicators.children()[this.getItemIndex(r)]);p&&p.addClass("active")}var f=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(n),"object"==typeof r&&r.length&&r[0].offsetWidth,o.addClass(a),r.addClass(a),o.one("bsTransitionEnd",(function(){r.removeClass([n,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(f)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(f)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(e){var i=t(this),o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var r=i.attr("data-target")||o,s=t(document).find(r);if(s.hasClass("carousel")){var a=t.extend({},s.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),n.call(s,a),l&&s.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(jQuery),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each((function(){var i=t(this),o=i.data("bs.collapse"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||i.data("bs.collapse",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(i.call(o,"hide"),n||o.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,i){var o=t(i);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var r=n(o),s=r.data("bs.collapse")?"toggle":o.data();i.call(r,s)}))}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function o(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),o=i(e),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var r=i(n),s=r.hasClass("open");if(o(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",o);var a={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var o=t(this);if(n.preventDefault(),n.stopPropagation(),!o.is(".disabled, :disabled")){var r=i(o),s=r.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&r.find(e).trigger("focus"),o.trigger("click");var a=r.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&l>0&&l--,40==n.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',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/1056.35aff46f.js b/public/v3/js/1056.35aff46f.js new file mode 100644 index 0000000000..92098fdb6a --- /dev/null +++ b/public/v3/js/1056.35aff46f.js @@ -0,0 +1 @@ +"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[1056],{1056:(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.10 © 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/456.94119259.js b/public/v3/js/456.94119259.js deleted file mode 100644 index 3e66350c3e..0000000000 --- a/public/v3/js/456.94119259.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(globalThis["webpackChunkfirefly_iii"]=globalThis["webpackChunkfirefly_iii"]||[]).push([[456],{456:(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.9 © 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.4fcae26a.js b/public/v3/js/app.4fcae26a.js new file mode 100644 index 0000000000..14c23844a3 --- /dev/null +++ b/public/v3/js/app.4fcae26a.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={1183:(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),e.response&&401===e.response.status&&(window.location.href="/login")}))},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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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(1056)]).then(n.bind(n,1056)),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",1056:"35aff46f",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",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(1183)));a=n.O(a)})(); \ No newline at end of file diff --git a/public/v3/js/app.5f590096.js b/public/v3/js/app.5f590096.js deleted file mode 100644 index 6db7cd8117..0000000000 --- a/public/v3/js/app.5f590096.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={1183:(e,t,n)=>{var r=n(1957),a=n(1947),o=n(499),i=n(9835);function c(e,t,n,r,a,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)}))},r=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)}))},a=function(){let e=new u;return e.default().then((e=>{let n=parseInt(e.data.data.id),r=e.data.data.attributes.code;t.setCurrencyId(n),t.setCurrencyCode(r)})).catch((e=>{console.error("Could not load preferences."),console.log(e),e.response&&401===e.response.status&&(window.location.href="/login")}))},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)}))};a().then((()=>{n(),r(),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(456)]).then(n.bind(n,456)),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(a.Z,t);const r="function"===typeof w?await w({}):w;n.use(r);const i=(0,o.Xl)("function"===typeof x?await x({store:r}):x);return r.use((({store:e})=>{e.router=i})),{app:n,store:r,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 r=n.matched.filter((e=>void 0!==e.components));return 0===r.length?[]:Array.prototype.concat.apply([],r.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(((r,a,o)=>{const i=window.location.href.replace(window.location.origin,""),c=O(r,e),s=O(a,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:r,previousRoute:a,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},r){let a=!1;const o=e=>{try{return j(t.resolve(e).href)}catch(n){}return Object(e)===e?null:e},i=e=>{if(a=!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===a&&l{const[t,r]=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=r(t).filter((e=>"function"===typeof e));I(e,n)}))}))},9167:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(1569);class a{getByName(e){return r.api.get("/api/v1/preferences/"+e)}postByName(e,t){return r.api.post("/api/v1/preferences",{name:e,data:t})}}},1746:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(1569);class a{get(e){return r.api.get("/api/v2/preferences/"+e)}}},1569:(e,t,n)=>{n.r(t),n.d(t,{api:()=>l,default:()=>d});var r=n(3340),a=n(9981),o=n.n(a),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,r.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 r=n(3340),a=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,r.xr)((({app:e})=>{const t=(0,a.o)({locale:"en-US",messages:i});e.use(t)}))},3555:(e,t,n)=>{n.d(t,{S:()=>m});var r=n(7363),a=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,r.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,r=new Date;switch(n){case"last365":e=(0,a.Z)((0,o.Z)(r,365)),t=(0,i.Z)(r);break;case"last90":e=(0,a.Z)((0,o.Z)(r,90)),t=(0,i.Z)(r);break;case"last30":e=(0,a.Z)((0,o.Z)(r,30)),t=(0,i.Z)(r);break;case"last7":e=(0,a.Z)((0,o.Z)(r,7)),t=(0,i.Z)(r);break;case"YTD":e=(0,c.Z)(r),t=(0,i.Z)(r);break;case"QTD":e=(0,s.Z)(r),t=(0,i.Z)(r);break;case"MTD":e=(0,l.Z)(r),t=(0,i.Z)(r);break;case"1D":e=(0,a.Z)(r),t=(0,i.Z)(r);break;case"1W":e=(0,a.Z)((0,d.Z)(r,{weekStartsOn:1})),t=(0,i.Z)((0,p.Z)(r,{weekStartsOn:1}));break;case"1M":e=(0,a.Z)((0,l.Z)(r)),t=(0,i.Z)((0,u.Z)(r));break;case"3M":e=(0,a.Z)((0,s.Z)(r)),t=(0,i.Z)((0,h.Z)(r));break;case"6M":r.getMonth()<=5&&(e=new Date(r),e.setMonth(0),e.setDate(1),e=(0,a.Z)(e),t=new Date(r),t.setMonth(5),t.setDate(30),t=(0,i.Z)(e)),r.getMonth()>5&&(e=new Date(r),e.setMonth(6),e.setDate(1),e=(0,a.Z)(e),t=new Date(r),t.setMonth(11),t.setDate(31),t=(0,i.Z)(e));break;case"1Y":e=new Date(r),e.setMonth(0),e.setDate(1),e=(0,a.Z)(e),t=new Date(r),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(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,r,a,o)=>{if(!r){var i=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](r[s])))?r.splice(s--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[r,a,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(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>r[e]));return i["default"]=()=>r,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+(3064===e?"chunk-common":e)+"."+{159:"849b2e88",456:"94119259",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",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=(r,a,o,i)=>{if(e[r])e[r].push(a);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 a=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),a&&a.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,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=o);var i=n.p+n.u(t),c=new Error,s=r=>{if(n.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,a[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[i,c,s]=r,l=0;if(i.some((t=>0!==e[t]))){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(s)var d=s(n)}for(t&&t(r);ln(1183)));r=n.O(r)})(); \ No newline at end of file diff --git a/public/v3/js/vendor.77517468.js b/public/v3/js/vendor.5b4ef590.js similarity index 71% rename from public/v3/js/vendor.77517468.js rename to public/v3/js/vendor.5b4ef590.js index eff67e6a5b..1d7d10d060 100644 --- a/public/v3/js/vendor.77517468.js +++ b/public/v3/js/vendor.5b4ef590.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-(sharp|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.10"};!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.10",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"+(0!==t.length?" "+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&&0!==e.title.length)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&&0!==e.subtitle.length)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},noMiniAnimation:Boolean,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),(()=>{e.noMiniAnimation||!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-(sharp|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&&0!==e.mask.length&&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&&0!==e.fillMask.length?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;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&&0!==t.length?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&&0!==e.shadowText.length)),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&&0!==n.length){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=0!==T.value.length&&(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||0!==H.length)){!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&&0!==ae.value.length&&!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:0!==T.value.length,...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&&0!==ae.value.length&&_e.value(ae.value[0])||"",!0,!0)}function ht(t){let n=-1;if(!0===t){if(0!==ae.value.length){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||0!==T.value.length||(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&&0!==e.autocomplete.length&&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&&0!==Pe.value.length){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:0!==n.rowsPerPageOptions.length?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)((()=>0!==n.value.length&&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)):0!==i.length?(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&&0!==n.rules.length)),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&&0!==n.errorMessage.length?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&&0!==(""+e).length}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&&0!==t.standout.length&&!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&&0!==s.length&&-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),0!==Object.keys(h).length?(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.12.0"};!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)&&0!==navigator.languages.length?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&&0!==o.length&&(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:()=>s});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)}o.all=!0;const r=["INPUT","TEXTAREA"];function s(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof t.handler&&!1===r.includes(e.target.nodeName.toUpperCase())&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}},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.12.0",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/assets/js/components/transactions/Tags.vue b/resources/assets/js/components/transactions/Tags.vue index 1ae7eba484..83bf53bc3c 100644 --- a/resources/assets/js/components/transactions/Tags.vue +++ b/resources/assets/js/components/transactions/Tags.vue @@ -32,7 +32,7 @@ :autocomplete-items="autocompleteItems" :tags="tags" :title="$t('firefly.tags')" - classes="form-input" + class="force-background-tags-input" v-bind:placeholder="$t('firefly.tags')" @tags-changed="update" /> diff --git a/resources/assets/js/locales/el.json b/resources/assets/js/locales/el.json index 91d22d96a0..264ad77515 100644 --- a/resources/assets/js/locales/el.json +++ b/resources/assets/js/locales/el.json @@ -16,7 +16,7 @@ "transaction_journal_information": "\u03a0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2", "submission_options": "Submission options", "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "fire_webhooks_checkbox": "\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03c9\u03bd webhook", "no_budget_pointer": "\u03a6\u03b1\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03c0\u03c9\u03c2 \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03bf\u03c1\u03af\u03c3\u03b5\u03b9 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03cd\u03c2 \u03b1\u03ba\u03cc\u03bc\u03b7. \u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03ba\u03ac\u03c0\u03bf\u03b9\u03bf\u03bd \u03c3\u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03ce\u03bd<\/a>. \u039f\u03b9 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03af \u03c3\u03b1\u03c2 \u03b2\u03bf\u03b7\u03b8\u03bf\u03cd\u03bd \u03bd\u03b1 \u03b5\u03c0\u03b9\u03b2\u03bb\u03ad\u03c0\u03b5\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03b4\u03b1\u03c0\u03ac\u03bd\u03b5\u03c2 \u03c3\u03b1\u03c2.", "no_bill_pointer": "\u03a6\u03b1\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03c0\u03c9\u03c2 \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03c4\u03b5 \u03bf\u03c1\u03af\u03c3\u03b5\u03b9 \u03c0\u03ac\u03b3\u03b9\u03b1 \u03ad\u03be\u03bf\u03b4\u03b1 \u03b1\u03ba\u03cc\u03bc\u03b7. \u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03ba\u03ac\u03c0\u03bf\u03b9\u03bf \u03c3\u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1 \u03c0\u03ac\u03b3\u03b9\u03c9\u03bd \u03b5\u03be\u03cc\u03b4\u03c9\u03bd<\/a>. \u03a4\u03b1 \u03c0\u03ac\u03b3\u03b9\u03b1 \u03ad\u03be\u03bf\u03b4\u03b1 \u03c3\u03b1\u03c2 \u03b2\u03bf\u03b7\u03b8\u03bf\u03cd\u03bd \u03bd\u03b1 \u03b5\u03c0\u03b9\u03b2\u03bb\u03ad\u03c0\u03b5\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03b4\u03b1\u03c0\u03ac\u03bd\u03b5\u03c2 \u03c3\u03b1\u03c2.", "source_account": "\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2", diff --git a/resources/assets/js/locales/ja.json b/resources/assets/js/locales/ja.json index 548921cf58..687cf5b091 100644 --- a/resources/assets/js/locales/ja.json +++ b/resources/assets/js/locales/ja.json @@ -15,8 +15,8 @@ "transaction_new_stored_link": "\u53d6\u5f15 #{ID}<\/a> \u304c\u4fdd\u5b58\u3055\u308c\u307e\u3057\u305f\u3002", "transaction_journal_information": "\u53d6\u5f15\u60c5\u5831", "submission_options": "Submission options", - "apply_rules_checkbox": "Apply rules", - "fire_webhooks_checkbox": "Fire webhooks", + "apply_rules_checkbox": "\u30eb\u30fc\u30eb\u3092\u9069\u7528", + "fire_webhooks_checkbox": "Webhook \u3092\u5b9f\u884c\u3059\u308b", "no_budget_pointer": "\u307e\u3060\u4e88\u7b97\u3092\u7acb\u3066\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u4e88\u7b97<\/a>\u30da\u30fc\u30b8\u3067\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e88\u7b97\u306f\u652f\u51fa\u306e\u628a\u63e1\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002", "no_bill_pointer": "\u307e\u3060\u8acb\u6c42\u304c\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u8acb\u6c42<\/a>\u30da\u30fc\u30b8\u3067\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u8acb\u6c42\u306f\u652f\u51fa\u306e\u628a\u63e1\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002", "source_account": "\u652f\u51fa\u5143\u53e3\u5ea7", @@ -97,15 +97,15 @@ "webhook_trigger_DESTROY_TRANSACTION": "After transaction delete", "webhook_response_TRANSACTIONS": "Transaction details", "webhook_response_ACCOUNTS": "Account details", - "webhook_response_none_NONE": "No details", + "webhook_response_none_NONE": "\u8a73\u7d30\u306a\u3057", "webhook_delivery_JSON": "JSON", "actions": "\u64cd\u4f5c", "meta_data": "\u30e1\u30bf\u30c7\u30fc\u30bf", - "webhook_messages": "Webhook message", + "webhook_messages": "Webhook \u30e1\u30c3\u30bb\u30fc\u30b8", "inactive": "\u975e\u30a2\u30af\u30c6\u30a3\u30d6", "no_webhook_messages": "There are no webhook messages", "inspect": "Inspect", - "create_new_webhook": "Create new webhook", + "create_new_webhook": "Webhook\u3092\u4f5c\u6210", "webhooks": "Webhooks", "webhook_trigger_form_help": "Indicate on what event the webhook will trigger", "webhook_response_form_help": "Indicate what the webhook must submit to the URL.", @@ -113,18 +113,18 @@ "webhook_active_form_help": "The webhook must be active or it won't be called.", "edit_webhook_js": "Edit webhook \"{title}\"", "webhook_was_triggered": "The webhook was triggered on the indicated transaction. Please wait for results to appear.", - "view_message": "View message", - "view_attempts": "View failed attempts", - "message_content_title": "Webhook message content", + "view_message": "\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u898b\u308b", + "view_attempts": "\u5931\u6557\u3057\u305f\u8a66\u884c\u306e\u8868\u793a", + "message_content_title": "Webhook \u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5185\u5bb9", "message_content_help": "This is the content of the message that was sent (or tried) using this webhook.", - "attempt_content_title": "Webhook attempts", + "attempt_content_title": "Webhook \u306e\u8a66\u884c", "attempt_content_help": "These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.", "no_attempts": "There are no unsuccessful attempts. That's a good thing!", "webhook_attempt_at": "Attempt at {moment}", - "logs": "Logs", - "response": "Response", + "logs": "\u30ed\u30b0", + "response": "\u30ec\u30b9\u30dd\u30f3\u30b9", "visit_webhook_url": "Visit webhook URL", - "reset_webhook_secret": "Reset webhook secret" + "reset_webhook_secret": "Webhook \u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u30ea\u30bb\u30c3\u30c8" }, "form": { "url": "URL", diff --git a/resources/lang/ca_ES/validation.php b/resources/lang/ca_ES/validation.php index 0adbb6ca60..419d42ca45 100644 --- a/resources/lang/ca_ES/validation.php +++ b/resources/lang/ca_ES/validation.php @@ -271,8 +271,8 @@ return [ 'generic_invalid_source' => 'No pots fer servir aquest compte com a compte d\'origen.', 'generic_invalid_destination' => 'No pots fer servir aquest compte com a compte de destí.', - 'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.', - 'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.', + 'generic_no_source' => 'Has de confirmar l\'informació del compte font, o afegir un identificador de transacció.', + 'generic_no_destination' => 'Has de confirmar la informació del compte de destinació, o introduïr un identificador de transacció.', 'gte.numeric' => 'El camp :attribute ha de ser més gran o igual que :value.', 'gt.numeric' => 'El camp :attribute ha de ser més gran que :value.', diff --git a/resources/lang/el_GR/firefly.php b/resources/lang/el_GR/firefly.php index f4eb41db07..3dcb0253e4 100644 --- a/resources/lang/el_GR/firefly.php +++ b/resources/lang/el_GR/firefly.php @@ -1302,12 +1302,12 @@ return [ // preferences - 'dark_mode_option_browser' => 'Let your browser decide', - 'dark_mode_option_light' => 'Always light', - 'dark_mode_option_dark' => 'Always dark', + 'dark_mode_option_browser' => 'Σύμφωνα με τις προτιμήσεις του περιηγητή σας', + 'dark_mode_option_light' => 'Πάντα φωτεινό', + 'dark_mode_option_dark' => 'Πάντα σκοτεινό', 'equal_to_language' => '(ίδιο με τη γλώσσα)', - 'dark_mode_preference' => 'Dark mode', - 'dark_mode_preference_help' => 'Tell Firefly III when to use dark mode.', + 'dark_mode_preference' => 'Σκοτεινή λειτουργία', + 'dark_mode_preference_help' => 'Πείτε στο Firefly III πότε να χρησιμοποιεί σκοτεινή λειτουργία.', 'pref_home_screen_accounts' => 'Λογαριασμοί αρχικής οθόνης', 'pref_home_screen_accounts_help' => 'Ποιοι λογαριασμοί θα πρέπει να εμφανίζονται στην αρχική σελίδα;', 'pref_view_range' => 'Εύρος εμφάνισης', @@ -1353,7 +1353,7 @@ return [ 'preferences_frontpage' => 'Αρχική οθόνη', 'preferences_security' => 'Ασφάλεια', 'preferences_layout' => 'Διάταξη', - 'preferences_notifications' => 'Notifications', + 'preferences_notifications' => 'Ειδοποιήσεις', 'pref_home_show_deposits' => 'Εμφάνιση καταθέσεων στην αρχική οθόνη', 'pref_home_show_deposits_info' => 'Η αρχική οθόνη δείχνει ήδη τους λογαριασμούς δαπανών σας. Μήπως θα έπρεπε να δείχνει και τους λογαριασμούς εσόδων σας;', 'pref_home_do_show_deposits' => 'Ναι, δείξτε τους', @@ -1384,32 +1384,32 @@ return [ 'optional_field_attachments' => 'Συνημμένα', 'optional_field_meta_data' => 'Προαιρετικά μετα-δεδομένα', 'external_url' => 'Εξωτερικό URL', - 'pref_notification_bill_reminder' => 'Reminder about expiring bills', - 'pref_notification_new_access_token' => 'Alert when a new API access token is created', - 'pref_notification_transaction_creation' => 'Alert when a transaction is created automatically', - 'pref_notification_user_login' => 'Alert when you login from a new location', - 'pref_notifications' => 'Notifications', - 'pref_notifications_help' => 'Indicate if these are notifications you would like to get. Some notifications may contain sensitive financial information.', + 'pref_notification_bill_reminder' => 'Υπενθύμιση τελευταίας προθεσμίας για πάγια έξοδα', + 'pref_notification_new_access_token' => 'Ειδοποίηση όταν δημιουργείται ένα νέο διακριτικό πρόσβασης API', + 'pref_notification_transaction_creation' => 'Ειδοποίηση όταν δημιουργείται αυτόματα μια συναλλαγή', + 'pref_notification_user_login' => 'Ειδοποίηση όταν συνδέεστε από μια νέα τοποθεσία', + 'pref_notifications' => 'Ειδοποιήσεις', + 'pref_notifications_help' => 'Υποδείξτε εάν πρόκειται για ειδοποιήσεις που θέλετε να λαμβάνετε. Ορισμένες ειδοποιήσεις ενδέχεται να περιέχουν ευαίσθητες οικονομικές πληροφορίες.', 'slack_webhook_url' => 'Slack Webhook URL', - 'slack_webhook_url_help' => 'If you want Firefly III to notify you using Slack, enter the webhook URL here. Otherwise leave the field blank. If you are an admin, you need to set this URL in the administration as well.', - 'slack_url_label' => 'Slack "incoming webhook" URL', + 'slack_webhook_url_help' => 'Αν θέλετε το Firefly III να σας ειδοποιεί χρησιμοποιώντας το Slack, εισάγετε εδώ το webhook URL. Διαφορετικά αφήστε το πεδίο κενό. Αν είστε διαχειριστής, θα πρέπει να ορίσετε αυτό το URL και στη διαχείριση.', + 'slack_url_label' => '"Εισερχόμενο webhook" URL στο Slack', // Financial administrations - 'administration_index' => 'Financial administration', + 'administration_index' => 'Οικονομική διαχείριση', // profile: - 'purge_data_title' => 'Purge data from Firefly III', - 'purge_data_expl' => '"Purging" means "deleting that which is already deleted". In normal circumstances, Firefly III deletes nothing permanently. It just hides it. The button below deletes all of these previously "deleted" records FOREVER.', - 'delete_stuff_header' => 'Delete and purge data', - 'purge_all_data' => 'Purge all deleted records', - 'purge_data' => 'Purge data', - 'purged_all_records' => 'All deleted records have been purged.', - 'delete_data_title' => 'Delete data from Firefly III', - 'permanent_delete_stuff' => 'You can delete stuff from Firefly III. Using the buttons below means that your items will be removed from view and hidden. There is no undo-button for this, but the items may remain in the database where you can salvage them if necessary.', + 'purge_data_title' => 'Εκκαθάριση δεδομένων από το Firefly III', + 'purge_data_expl' => '"Εκκαθάριση" σημαίνει "διαγραφή αυτού που έχει ήδη διαγραφεί". Σε κανονικές συνθήκες, το Firefly III δε διαγράφει τίποτα οριστικά. Απλώς το κρύβει. Το παρακάτω κουμπί διαγράφει όλες αυτές τις προηγουμένως "διαγραμμένες" εγγραφές ΓΙΑ ΠΑΝΤΑ.', + 'delete_stuff_header' => 'Διαγραφή και εκκαθάριση δεδομένων', + 'purge_all_data' => 'Εκκαθάριση όλων των διαγραμμένων εγγραφών', + 'purge_data' => 'Εκκαθάριση δεδομένων', + 'purged_all_records' => 'Όλες οι διαγραμμένες εγγραφές έχουν εκκαθαριστεί οριστικά.', + 'delete_data_title' => 'Διαγραφή δεδομένων από το Firefly III', + 'permanent_delete_stuff' => 'Μπορείτε να διαγράψετε πράγματα από το Firefly III. Η χρήση των παρακάτω κουμπιών σημαίνει ότι τα στοιχεία σας αυτά θα είναι κρυμμένα και δε θα εμφανίζονται. Δεν υπάρχει κουμπί αναίρεσης για αυτή την ενέργεια, αλλά τα στοιχεία θα παραμείνουν στη βάση δεδομένων όπου μπορείτε να τα αναζητήσετε χειροκίνητα σε κάποια άλλη στιγμή εάν είναι απαραίτητο.', 'other_sessions_logged_out' => 'Όλες οι άλλες συνεδρίες σας έχουν αποσυνδεθεί.', - 'delete_unused_accounts' => 'Deleting unused accounts will clean your auto-complete lists.', - 'delete_all_unused_accounts' => 'Delete unused accounts', - 'deleted_all_unused_accounts' => 'All unused accounts are deleted', + 'delete_unused_accounts' => 'Η διαγραφή αχρησιμοποίητων λογαριασμών θα καθαρίσει τις λίστες αυτόματης συμπλήρωσης.', + 'delete_all_unused_accounts' => 'Διαγραφή αχρησιμοποίητων λογαριασμών', + 'deleted_all_unused_accounts' => 'Όλοι οι αχρησιμοποίητοι λογαριασμοί έχουν διαγραφεί', 'delete_all_budgets' => 'Διαγραφή ΟΛΩΝ των προϋπολογισμών σας', 'delete_all_categories' => 'Διαγραφή ΟΛΩΝ των κατηγοριών σας', 'delete_all_tags' => 'Διαγραφή ΟΛΩΝ των ετικετών σας', @@ -1564,7 +1564,7 @@ return [ 'title_transfers' => 'Μεταφορές', 'submission_options' => 'Submission options', 'apply_rules_checkbox' => 'Apply rules', - 'fire_webhooks_checkbox' => 'Fire webhooks', + 'fire_webhooks_checkbox' => 'Ενεργοποίηση των webhook', // convert stuff: 'convert_is_already_type_Withdrawal' => 'Αυτή η συναλλαγή είναι ήδη μία ανάληψη', @@ -2369,15 +2369,15 @@ return [ // administration - 'invite_is_already_redeemed' => 'The invite to ":address" has already been redeemed.', - 'invite_is_deleted' => 'The invite to ":address" has been deleted.', - 'invite_new_user_title' => 'Invite new user', - 'invite_new_user_text' => 'As an administrator, you can invite users to register on your Firefly III administration. Using the direct link you can share with them, they will be able to register an account. The invited user and their invite link will appear in the table below. You are free to share the invitation link with them.', - 'invited_user_mail' => 'Email address', - 'invite_user' => 'Invite user', - 'user_is_invited' => 'Email address ":address" was invited to Firefly III', + 'invite_is_already_redeemed' => 'Η πρόσκληση στο ":address" έχει ήδη χρησιμοποιηθεί.', + 'invite_is_deleted' => 'Η πρόσκληση στο ":address" έχει διαγραφεί.', + 'invite_new_user_title' => 'Πρόσκληση νέου χρήστη', + 'invite_new_user_text' => 'Ως διαχειριστής, μπορείτε να προσκαλέσετε νέους χρήστες για να εγγραφούν στο Firefly III. Χρησιμοποιώντας ένα άμεσο σύνδεσμο URL που μπορείτε να μοιραστείτε μαζί τους, θα μπορούν να δημιουργήσουν ένα νέο λογαριασμό στην πλατφόρμα. Ο προσκεκλημένος χρήστης και ο σύνδεσμος για την πρόσκλησή του, θα εμφανιστούν στον παρακάτω πίνακα. Μπορείτε να του κοινοποιήσετε το σύνδεσμο της πρόσκλησης.', + 'invited_user_mail' => 'Διεύθυνση E-mail', + 'invite_user' => 'Πρόσκληση χρήστη', + 'user_is_invited' => 'Η διεύθυνση ηλεκτρονικού ταχυδρομείου ":address" έλαβε πρόσκληση για εγγραφή στο Firefly III', 'administration' => 'Διαχείριση', - 'code_already_used' => 'Invite code has been used', + 'code_already_used' => 'Ο κωδικός πρόσκλησης έχει χρησιμοποιηθεί', 'user_administration' => 'Διαχείριση χρηστών', 'list_all_users' => 'Όλοι οι χρήστες', 'all_users' => 'Όλοι οι χρήστες', @@ -2409,23 +2409,23 @@ return [ 'delete_user' => 'Διαγραφή χρήστη :email', 'user_deleted' => 'Ο χρήστης έχει διαγραφεί', 'send_test_email' => 'Αποστολή δοκιμαστικού μηνύματος email', - 'send_test_email_text' => 'To see if your installation is capable of sending email or posting Slack messages, please press this button. You will not see an error here (if any), the log files will reflect any errors. You can press this button as many times as you like. There is no spam control. The message will be sent to :email and should arrive shortly.', + 'send_test_email_text' => 'Για να δείτε εάν η εγκατάστασή σας μπορεί να στείλει email ή να δημοσιεύσει μηνύματα στο Slack, πατήστε αυτό το κουμπί. Δεν θα δείτε κάποιο σφάλμα εδώ (αν υπάρχει), όμως τυχόν σφάλματα θα τα βρείτε στα αρχεία καταγραφής (log files). Μπορείτε να πατήσετε το κουμπί αποστολής όσες φορές θέλετε. Δεν υπάρχει έλεγχος ανεπιθύμητων μηνυμάτων. Το μήνυμα θα σταλεί στο :email και θα πρέπει να φτάσει σύντομα.', 'send_message' => 'Αποστολή μηνύματος', 'send_test_triggered' => 'Η δοκιμή ενεργοποιήθηκε. Ελέγξτε τα εισερχόμενα μηνύματα στο Email σας και τα αρχεία καταγραφής.', 'give_admin_careful' => 'Οι χρήστες στους οποίους έχουν δοθεί δικαιώματα διαχειριστή μπορούν να καθαιρέσουν τη δική σας πρόσβαση. Ενεργήστε με προσοχή.', 'admin_maintanance_title' => 'Συντήρηση', - 'admin_maintanance_expl' => 'Μερικά ωραία κουμπιά για συντήρηση στο Firefly III', + 'admin_maintanance_expl' => 'Χρήσιμες λειτουργίες για συντήρηση στο Firefly III', 'admin_maintenance_clear_cache' => 'Εκκαθάριση cache', 'admin_notifications' => 'Ειδοποιήσεις διαχειριστή', - 'admin_notifications_expl' => 'The following notifications can be enabled or disabled by the administrator. If you want to get these messages over Slack as well, set the "incoming webhook" URL.', - 'admin_notification_check_user_new_reg' => 'User gets post-registration welcome message', - 'admin_notification_check_admin_new_reg' => 'Administrator(s) get new user registration notification', + 'admin_notifications_expl' => 'Οι ακόλουθες ειδοποιήσεις μπορούν να ενεργοποιηθούν ή να απενεργοποιηθούν από το διαχειριστή. Αν θέλετε να παίρνετε αυτά τα μηνύματα και από το Slack, θα πρέπει να ορίστε το "εισερχόμενο webhook" URL.', + 'admin_notification_check_user_new_reg' => 'Ο χρήστης παίρνει μήνυμα καλωσορίσματος μετά την εγγραφή', + 'admin_notification_check_admin_new_reg' => 'Ο διαχειριστής(ες) λαμβάνει ειδοποίηση εγγραφής νέου χρήστη', 'admin_notification_check_new_version' => 'Μια νέα έκδοση είναι διαθέσιμη', 'admin_notification_check_invite_created' => 'Ένας χρήστης θα λάβει πρόσκληση για το Firefly III', - 'admin_notification_check_invite_redeemed' => 'A user invitation is redeemed', - 'all_invited_users' => 'All invited users', - 'save_notification_settings' => 'Save settings', - 'notification_settings_saved' => 'The notification settings have been saved', + 'admin_notification_check_invite_redeemed' => 'Μια πρόσκληση χρήστη χρησιμοποιήθηκε', + 'all_invited_users' => 'Όλοι οι προσκεκλημένοι χρήστες', + 'save_notification_settings' => 'Αποθήκευση ρυθμίσεων', + 'notification_settings_saved' => 'Οι ρυθμίσεις ειδοποιήσεων έχουν αποθηκευτεί', 'split_transaction_title' => 'Περιγραφή της συναλλαγής με διαχωρισμό', @@ -2572,8 +2572,8 @@ return [ 'no_bills_create_default' => 'Δημιουργία νέου πάγιου έξοδου', // recurring transactions - 'create_right_now' => 'Create right now', - 'no_new_transaction_in_recurrence' => 'No new transaction was created. Perhaps it was already fired for this date?', + 'create_right_now' => 'Δημιουργία αυτή τη στιγμή', + 'no_new_transaction_in_recurrence' => 'Δε δημιουργήθηκε καμία νέα συναλλαγή. Μήπως ενεργοποιήθηκε ήδη για αυτή την ημερομηνία;', 'recurrences' => 'Επαναλαμβανόμενες συναλλαγές', 'repeat_until_in_past' => 'Αυτή η επαναλαμβανόμενη συναλλαγή σταμάτησε να επαναλαμβάνεται στις :date.', 'recurring_calendar_view' => 'Ημερολόγιο', @@ -2688,25 +2688,25 @@ return [ 'placeholder' => '[Placeholder]', // audit log entries - 'audit_log_entries' => 'Audit log entries', - 'ale_action_log_add' => 'Added :amount to piggy bank ":name"', - 'ale_action_log_remove' => 'Removed :amount from piggy bank ":name"', - 'ale_action_clear_budget' => 'Removed from budget', - 'ale_action_clear_category' => 'Removed from category', - 'ale_action_clear_notes' => 'Removed notes', - 'ale_action_clear_tag' => 'Cleared tag', - 'ale_action_clear_all_tags' => 'Cleared all tags', - 'ale_action_set_bill' => 'Linked to bill', - 'ale_action_set_budget' => 'Set budget', - 'ale_action_set_category' => 'Set category', - 'ale_action_set_source' => 'Set source account', - 'ale_action_set_destination' => 'Set destination account', - 'ale_action_update_transaction_type' => 'Changed transaction type', - 'ale_action_update_notes' => 'Changed notes', - 'ale_action_update_description' => 'Changed description', + 'audit_log_entries' => 'Έλεγχος καταχώρησης', + 'ale_action_log_add' => 'Προστέθηκαν :amount στον κουμπαρά ":name"', + 'ale_action_log_remove' => 'Αφαιρέθηκαν :amount από τον κουμπαρά ":name"', + 'ale_action_clear_budget' => 'Αφαιρέθηκε από τον προϋπολογισμό', + 'ale_action_clear_category' => 'Αφαιρέθηκε από την κατηγορία', + 'ale_action_clear_notes' => 'Αφαιρέθηκαν σημειώσεις', + 'ale_action_clear_tag' => 'Αφαίρεση ετικέτας', + 'ale_action_clear_all_tags' => 'Αφαίρεση όλων των ετικετών', + 'ale_action_set_bill' => 'Σύνδεση με πάγιο έξοδο', + 'ale_action_set_budget' => 'Ορισμός προϋπολογισμού', + 'ale_action_set_category' => 'Ορισμός κατηγορίας', + 'ale_action_set_source' => 'Ορισμός λογαριασμού προέλευσης', + 'ale_action_set_destination' => 'Ορισμός λογαριασμού προορισμού', + 'ale_action_update_transaction_type' => 'Αλλαγή τύπου συναλλαγής', + 'ale_action_update_notes' => 'Αλλαγή σημειώσεων', + 'ale_action_update_description' => 'Αλλαγή περιγραφής', 'ale_action_add_to_piggy' => 'Κουμπαράς', 'ale_action_remove_from_piggy' => 'Κουμπαράς', - 'ale_action_add_tag' => 'Added tag', + 'ale_action_add_tag' => 'Προστέθηκε ετικέτα', ]; diff --git a/resources/lang/el_GR/form.php b/resources/lang/el_GR/form.php index b90b189e61..56b8fd3354 100644 --- a/resources/lang/el_GR/form.php +++ b/resources/lang/el_GR/form.php @@ -150,7 +150,7 @@ return [ 'start' => 'Αρχή του εύρους', 'end' => 'Τέλος του εύρους', 'delete_account' => 'Διαγραφή λογαριασμού ":name"', - 'delete_webhook' => 'Delete webhook ":title"', + 'delete_webhook' => 'Διαγραφή του webhook ":title"', 'delete_bill' => 'Διαγραφή πάγιου έξοδου ":name"', 'delete_budget' => 'Διαγραφή προϋπολογισμού ":name"', 'delete_category' => 'Διαγραφή κατηγορίας ":name"', @@ -171,7 +171,7 @@ return [ 'object_group_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε την ομάδα με τίτλο ":title";', 'ruleGroup_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε την ομάδα κανόνων με τίτλο ":title";', 'budget_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε τον προϋπολογισμό με όνομα ":name";', - 'webhook_areYouSure' => 'Are you sure you want to delete the webhook named ":title"?', + 'webhook_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε το webhook με τίτλο ":title";', 'category_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε την κατηγορία με όνομα ":name";', 'recurring_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε την επαναλαμβανόμενη συναλλαγή με τίτλο ":title";', 'currency_areYouSure' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε το νόμισμα με όνομα ":name";', diff --git a/resources/lang/el_GR/validation.php b/resources/lang/el_GR/validation.php index 2442f42233..503e3795df 100644 --- a/resources/lang/el_GR/validation.php +++ b/resources/lang/el_GR/validation.php @@ -66,9 +66,9 @@ return [ 'require_currency_info' => 'Το περιεχόμενο αυτού του πεδίου δεν είναι έγκυρη χωρίς νομισματικές πληροφορίες.', 'not_transfer_account' => 'Αυτός ο λογαριασμός δεν είναι λογαριασμός που μπορεί να χρησιμοποιηθεί για συναλλαγές.', 'require_currency_amount' => 'Το περιεχόμενο αυτού του πεδίου δεν είναι έγκυρο χωρίς πληροφορίες ετερόχθονος ποσού.', - 'require_foreign_currency' => 'This field requires a number', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_currency' => 'Αυτό το πεδίο απαιτεί έναν αριθμό', + 'require_foreign_dest' => 'Αυτή η τιμή πεδίου πρέπει να ταιριάζει με το νόμισμα του λογαριασμού προορισμού.', + 'require_foreign_src' => 'Αυτή η τιμή πεδίου πρέπει να ταιριάζει με το νόμισμα του λογαριασμού προέλευσης.', 'equal_description' => 'Η περιγραφή της συναλλαγής δεν πρέπει να ισούται με καθολική περιγραφή.', 'file_invalid_mime' => 'Το αρχείο ":name" είναι τύπου ":mime" που δεν είναι αποδεκτός ως νέας μεταφόρτωσης.', 'file_too_large' => 'Το αρχείο ":name" είναι πολύ μεγάλο.', @@ -169,8 +169,8 @@ return [ 'unique_piggy_bank_for_user' => 'Το όνομα του κουμπαρά πρέπει να είναι μοναδικό.', 'unique_object_group' => 'Το όνομα της ομάδας πρέπει να είναι μοναδικό', 'starts_with' => 'Η τιμή πρέπει να ξεκινά με :values.', - 'unique_webhook' => 'You already have a webhook with this combination of URL, trigger, response and delivery.', - 'unique_existing_webhook' => 'You already have another webhook with this combination of URL, trigger, response and delivery.', + 'unique_webhook' => 'Έχετε ήδη ένα webhook με αυτόν τον συνδυασμό URL, ενεργοποίησης, απόκρισης και παράδοσης.', + 'unique_existing_webhook' => 'Έχετε ήδη ένα άλλο webhook με αυτόν τον συνδυασμό URL, ενεργοποίησης, απόκρισης και παράδοσης.', 'same_account_type' => 'Και οι δύο λογαριασμοί πρέπει να έχουν τον ίδιο τύπο λογαριασμού', 'same_account_currency' => 'Και οι δύο λογαριασμοί πρέπει να έχουν την ίδια ρύθμιση νομίσματος', @@ -285,7 +285,7 @@ return [ 'auto_budget_period_mandatory' => 'Η περίοδος αυτόματου προϋπολογισμού είναι υποχρεωτικό πεδίο.', // no access to administration: - 'no_access_user_group' => 'You do not have the correct access rights for this administration.', + 'no_access_user_group' => 'Δεν έχετε τα σωστά δικαιώματα πρόσβασης για αυτή τη διαχείριση.', ]; /* diff --git a/resources/lang/es_ES/validation.php b/resources/lang/es_ES/validation.php index 30f44ba7f1..741a171788 100644 --- a/resources/lang/es_ES/validation.php +++ b/resources/lang/es_ES/validation.php @@ -271,8 +271,8 @@ return [ 'generic_invalid_source' => 'No puedes usar esta cuenta como cuenta de origen.', 'generic_invalid_destination' => 'No puede usar esta cuenta como cuenta de destino.', - 'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.', - 'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.', + 'generic_no_source' => 'Debe indicar la información de la cuenta de origen o un número de registro de transacción.', + 'generic_no_destination' => 'Debe indicar la información de la cuenta de destino o un número de registro de transacción.', 'gte.numeric' => ':attribute debe ser mayor o igual que :value.', 'gt.numeric' => 'El :attribute debe ser mayor que :value.', diff --git a/resources/lang/fr_FR/validation.php b/resources/lang/fr_FR/validation.php index 0bf32962c6..8535efbe8e 100644 --- a/resources/lang/fr_FR/validation.php +++ b/resources/lang/fr_FR/validation.php @@ -271,8 +271,8 @@ return [ 'generic_invalid_source' => 'Vous ne pouvez pas utiliser ce compte comme compte source.', 'generic_invalid_destination' => 'Vous ne pouvez pas utiliser ce compte comme compte de destination.', - 'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.', - 'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.', + 'generic_no_source' => 'Vous devez saisir les informations du compte source ou saisir un ID de journal d\'opération.', + 'generic_no_destination' => 'Vous devez saisir les informations du compte destination ou saisir un ID de journal d\'opération.', 'gte.numeric' => 'La valeur de :attribute doit être supérieure ou égale à :value.', 'gt.numeric' => 'Le champ :attribute doit être plus grand que :value.', diff --git a/resources/lang/ja_JP/firefly.php b/resources/lang/ja_JP/firefly.php index ccf1ebb1b7..8e5ac425ea 100644 --- a/resources/lang/ja_JP/firefly.php +++ b/resources/lang/ja_JP/firefly.php @@ -249,36 +249,36 @@ return [ 'webhook_trigger_DESTROY_TRANSACTION' => 'After transaction delete', 'webhook_response_TRANSACTIONS' => 'Transaction details', 'webhook_response_ACCOUNTS' => 'Account details', - 'webhook_response_none_NONE' => 'No details', + 'webhook_response_none_NONE' => '詳細なし', 'webhook_delivery_JSON' => 'JSON', 'inspect' => 'Inspect', - 'create_new_webhook' => 'Create new webhook', - 'webhooks_create_breadcrumb' => 'Create new webhook', + 'create_new_webhook' => 'Webhookを作成', + 'webhooks_create_breadcrumb' => 'Webhookを作成', 'webhook_trigger_form_help' => 'Indicate on what event the webhook will trigger', 'webhook_response_form_help' => 'Indicate what the webhook must submit to the URL.', 'webhook_delivery_form_help' => 'Which format the webhook must deliver data in.', 'webhook_active_form_help' => 'The webhook must be active or it won\'t be called.', 'stored_new_webhook' => 'Stored new webhook ":title"', - 'delete_webhook' => 'Delete webhook', + 'delete_webhook' => 'Webhook を削除する', 'deleted_webhook' => 'Deleted webhook ":title"', 'edit_webhook' => 'Edit webhook ":title"', 'updated_webhook' => 'Updated webhook ":title"', 'edit_webhook_js' => 'Edit webhook "{title}"', 'show_webhook' => 'Webhook ":title"', 'webhook_was_triggered' => 'The webhook was triggered on the indicated transaction. Please wait for results to appear.', - 'webhook_messages' => 'Webhook message', - 'view_message' => 'View message', - 'view_attempts' => 'View failed attempts', - 'message_content_title' => 'Webhook message content', + 'webhook_messages' => 'Webhook メッセージ', + 'view_message' => 'メッセージを見る', + 'view_attempts' => '失敗した試行の表示', + 'message_content_title' => 'Webhook メッセージの内容', 'message_content_help' => 'This is the content of the message that was sent (or tried) using this webhook.', - 'attempt_content_title' => 'Webhook attempts', + 'attempt_content_title' => 'Webhook の試行', 'attempt_content_help' => 'These are all the unsuccessful attempts of this webhook message to submit to the configured URL. After some time, Firefly III will stop trying.', 'no_attempts' => 'There are no unsuccessful attempts. That\'s a good thing!', 'webhook_attempt_at' => 'Attempt at {moment}', - 'logs' => 'Logs', - 'response' => 'Response', + 'logs' => 'ログ', + 'response' => 'レスポンス', 'visit_webhook_url' => 'Visit webhook URL', - 'reset_webhook_secret' => 'Reset webhook secret', + 'reset_webhook_secret' => 'Webhook のシークレットをリセット', 'webhook_stored_link' => 'Webhook #{ID} ("{title}") has been stored.', 'webhook_updated_link' => 'Webhook #{ID} ("{title}") has been updated.', @@ -1563,8 +1563,8 @@ return [ 'title_transfer' => '送金', 'title_transfers' => '送金', 'submission_options' => 'Submission options', - 'apply_rules_checkbox' => 'Apply rules', - 'fire_webhooks_checkbox' => 'Fire webhooks', + 'apply_rules_checkbox' => 'ルールを適用', + 'fire_webhooks_checkbox' => 'Webhook を実行する', // convert stuff: 'convert_is_already_type_Withdrawal' => 'この取引はすでに出金です', @@ -2299,7 +2299,7 @@ return [ 'no_tags' => '(タグなし)', // piggy banks: - 'event_history' => 'Event history', + 'event_history' => 'イベント履歴', 'add_money_to_piggy' => '貯金箱「:name」にお金を追加', 'piggy_bank' => '貯金箱', 'new_piggy_bank' => '新しい貯金箱', @@ -2371,10 +2371,10 @@ return [ // administration 'invite_is_already_redeemed' => 'The invite to ":address" has already been redeemed.', 'invite_is_deleted' => 'The invite to ":address" has been deleted.', - 'invite_new_user_title' => 'Invite new user', + 'invite_new_user_title' => 'ユーザーを招待する', 'invite_new_user_text' => 'As an administrator, you can invite users to register on your Firefly III administration. Using the direct link you can share with them, they will be able to register an account. The invited user and their invite link will appear in the table below. You are free to share the invitation link with them.', - 'invited_user_mail' => 'Email address', - 'invite_user' => 'Invite user', + 'invited_user_mail' => 'メールアドレス', + 'invite_user' => 'ユーザーを招待する', 'user_is_invited' => 'Email address ":address" was invited to Firefly III', 'administration' => '管理', 'code_already_used' => 'Invite code has been used', @@ -2424,7 +2424,7 @@ return [ 'admin_notification_check_invite_created' => 'A user is invited to Firefly III', 'admin_notification_check_invite_redeemed' => 'A user invitation is redeemed', 'all_invited_users' => 'All invited users', - 'save_notification_settings' => 'Save settings', + 'save_notification_settings' => '設定を保存する', 'notification_settings_saved' => 'The notification settings have been saved', @@ -2697,15 +2697,15 @@ return [ 'ale_action_clear_tag' => 'Cleared tag', 'ale_action_clear_all_tags' => 'Cleared all tags', 'ale_action_set_bill' => 'Linked to bill', - 'ale_action_set_budget' => 'Set budget', - 'ale_action_set_category' => 'Set category', + 'ale_action_set_budget' => '予算を設定する', + 'ale_action_set_category' => 'カテゴリを設定する', 'ale_action_set_source' => 'Set source account', 'ale_action_set_destination' => 'Set destination account', 'ale_action_update_transaction_type' => 'Changed transaction type', 'ale_action_update_notes' => 'Changed notes', 'ale_action_update_description' => 'Changed description', - 'ale_action_add_to_piggy' => 'Piggy bank', - 'ale_action_remove_from_piggy' => 'Piggy bank', + 'ale_action_add_to_piggy' => '貯金箱', + 'ale_action_remove_from_piggy' => '貯金箱', 'ale_action_add_tag' => 'Added tag', ]; diff --git a/resources/lang/nb_NO/firefly.php b/resources/lang/nb_NO/firefly.php index fe0f5ee5e8..55c6a25875 100644 --- a/resources/lang/nb_NO/firefly.php +++ b/resources/lang/nb_NO/firefly.php @@ -1122,7 +1122,7 @@ return [ 'rule_trigger_not_budget_is' => 'Budsjett er ikke ":trigger_value"', 'rule_trigger_not_budget_contains' => 'Budsjett inneholder ikke ":trigger_value"', 'rule_trigger_not_budget_ends' => 'Budsjett slutter ikke på ":trigger_value"', - 'rule_trigger_not_budget_starts' => 'Budget does not start with ":trigger_value"', + 'rule_trigger_not_budget_starts' => 'Budsjettet starter ikke med ":trigger_value"', 'rule_trigger_not_bill_is' => 'Regningen er ikke ":trigger_value"', 'rule_trigger_not_bill_contains' => 'Regningen inneholder ikke ":trigger_value"', 'rule_trigger_not_bill_ends' => 'Regningen slutter ikke på ":trigger_value"', @@ -1302,11 +1302,11 @@ return [ // preferences - 'dark_mode_option_browser' => 'Let your browser decide', - 'dark_mode_option_light' => 'Always light', - 'dark_mode_option_dark' => 'Always dark', + 'dark_mode_option_browser' => 'La nettleseren din avgjøre', + 'dark_mode_option_light' => 'Alltid lys', + 'dark_mode_option_dark' => 'Alltid mørk', 'equal_to_language' => '(likt språk)', - 'dark_mode_preference' => 'Dark mode', + 'dark_mode_preference' => 'Mørk modus', 'dark_mode_preference_help' => 'Tell Firefly III when to use dark mode.', 'pref_home_screen_accounts' => 'Startskjermkontoer', 'pref_home_screen_accounts_help' => 'Hvilke kontoer skal vises på startsiden?', diff --git a/resources/lang/nb_NO/validation.php b/resources/lang/nb_NO/validation.php index ce94e70595..92156d969d 100644 --- a/resources/lang/nb_NO/validation.php +++ b/resources/lang/nb_NO/validation.php @@ -66,9 +66,9 @@ return [ 'require_currency_info' => 'Innholdet i dette feltet er ugyldig uten valutainformasjon.', 'not_transfer_account' => 'Denne kontoen er ikke en konto som kan benyttes for overføringer.', 'require_currency_amount' => 'Innholdet i dette feltet er ugyldig uten utenlandsk beløpsinformasjon.', - 'require_foreign_currency' => 'This field requires a number', - 'require_foreign_dest' => 'This field value must match the currency of the destination account.', - 'require_foreign_src' => 'This field value must match the currency of the source account.', + 'require_foreign_currency' => 'Dette feltet krever et tall', + 'require_foreign_dest' => 'Denne feltverdien må samsvare med valutaen til målkontoen.', + 'require_foreign_src' => 'Denne feltverdien må samsvare med valutaen til kildekontoen.', 'equal_description' => 'Transaksjonsbeskrivelsen bør ikke være lik global beskrivelse.', 'file_invalid_mime' => 'Kan ikke akseptere fil ":name" av typen ":mime" for opplasting.', 'file_too_large' => '":name"-filen er for stor.', @@ -271,8 +271,8 @@ return [ 'generic_invalid_source' => 'Du kan ikke bruke denne kontoen som kildekonto.', 'generic_invalid_destination' => 'Du kan ikke bruke denne kontoen som destinasjonskonto.', - 'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.', - 'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.', + 'generic_no_source' => 'Du må sende inn kontoinformasjon eller sende inn transaksjons-journal-ID.', + 'generic_no_destination' => 'Du må sende inn kontoinformasjon om mottakerkontoen, eller sende inn en transaksjons-journal-ID.', 'gte.numeric' => ':attribute må være større enn eller lik :value.', 'gt.numeric' => ':attribute må være større enn :value.', diff --git a/resources/lang/pl_PL/validation.php b/resources/lang/pl_PL/validation.php index 7a0df998a9..f024019a4c 100644 --- a/resources/lang/pl_PL/validation.php +++ b/resources/lang/pl_PL/validation.php @@ -271,8 +271,8 @@ return [ 'generic_invalid_source' => 'Nie możesz użyć tego konta jako konta źródłowego.', 'generic_invalid_destination' => 'Nie możesz użyć tego konta jako konta docelowego.', - 'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.', - 'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.', + 'generic_no_source' => 'Musisz przesłać informacje o koncie źródłowym lub przesłać identyfikator dziennika transakcji.', + 'generic_no_destination' => 'Musisz przesłać informacje o koncie docelowym lub przesłać identyfikator dziennika transakcji.', 'gte.numeric' => ':attribute musi być większy lub równy :value.', 'gt.numeric' => ':attribute musi być większy niż :value.', diff --git a/resources/lang/zh_CN/firefly.php b/resources/lang/zh_CN/firefly.php index 3c6a9f38b6..a54718bd27 100644 --- a/resources/lang/zh_CN/firefly.php +++ b/resources/lang/zh_CN/firefly.php @@ -505,33 +505,33 @@ return [ 'search_modifier_category_contains' => '分类包含":value"', 'search_modifier_not_category_contains' => '分类不包含":value"', 'search_modifier_category_ends' => '分类结尾为“:value”', - 'search_modifier_not_category_ends' => 'Category does not end on ":value"', + 'search_modifier_not_category_ends' => '分类结尾不为":value"', 'search_modifier_category_starts' => '分类开头为":value"', - 'search_modifier_not_category_starts' => 'Category does not start with ":value"', + 'search_modifier_not_category_starts' => '分类开头不为":value"', 'search_modifier_budget_contains' => '预算包含":value"', - 'search_modifier_not_budget_contains' => 'Budget does not contain ":value"', + 'search_modifier_not_budget_contains' => '预算不包含":value"', 'search_modifier_budget_ends' => '预算结尾为":value"', - 'search_modifier_not_budget_ends' => 'Budget does not end on ":value"', + 'search_modifier_not_budget_ends' => '预算结尾不为":value"', 'search_modifier_budget_starts' => '预算开头为":value"', - 'search_modifier_not_budget_starts' => 'Budget does not start with ":value"', + 'search_modifier_not_budget_starts' => '预算开头不为":value"', 'search_modifier_bill_contains' => '账单包含":value"', - 'search_modifier_not_bill_contains' => 'Bill does not contain ":value"', + 'search_modifier_not_bill_contains' => '账单不包含":value"', 'search_modifier_bill_ends' => '账单结尾为":value"', - 'search_modifier_not_bill_ends' => 'Bill does not end on ":value"', + 'search_modifier_not_bill_ends' => '账单结尾不为":value"', 'search_modifier_bill_starts' => '账单开头为":value"', - 'search_modifier_not_bill_starts' => 'Bill does not start with ":value"', + 'search_modifier_not_bill_starts' => '账单开头不为":value"', 'search_modifier_external_id_contains' => '外部ID包含 ":value"', 'search_modifier_not_external_id_contains' => '外部ID不包含 ":value"', 'search_modifier_external_id_ends' => '外部ID结尾是 ":value"', 'search_modifier_not_external_id_ends' => '外部ID结尾不是 ":value"', 'search_modifier_external_id_starts' => '外部ID开头是 ":value"', 'search_modifier_not_external_id_starts' => '外部ID开头不是 ":value"', - 'search_modifier_internal_reference_contains' => 'Internal reference contains ":value"', - 'search_modifier_not_internal_reference_contains' => 'Internal reference does not contain ":value"', - 'search_modifier_internal_reference_ends' => 'Internal reference ends with ":value"', - 'search_modifier_internal_reference_starts' => 'Internal reference starts with ":value"', - 'search_modifier_not_internal_reference_ends' => 'Internal reference does not end with ":value"', - 'search_modifier_not_internal_reference_starts' => 'Internal reference does not start with ":value"', + 'search_modifier_internal_reference_contains' => '内部引用包含":value"', + 'search_modifier_not_internal_reference_contains' => '内部引用不含":value"', + 'search_modifier_internal_reference_ends' => '内部引用结尾为":value"', + 'search_modifier_internal_reference_starts' => '内部引用开头为":value"', + 'search_modifier_not_internal_reference_ends' => '内部引用结尾不为":value"', + 'search_modifier_not_internal_reference_starts' => '内部引用开头不为":value"', 'search_modifier_external_url_is' => '外部URL是“:value”', 'search_modifier_not_external_url_is' => '外部URL不是 ":value"', 'search_modifier_external_url_contains' => '外部URL包含 ":value"', @@ -543,12 +543,12 @@ return [ 'search_modifier_has_no_attachments' => '交易没有附件', 'search_modifier_not_has_no_attachments' => '交易包含附件', 'search_modifier_not_has_attachments' => '交易没有附件', - 'search_modifier_account_is_cash' => 'Either account is the "(cash)" account.', - 'search_modifier_not_account_is_cash' => 'Neither account is the "(cash)" account.', + 'search_modifier_account_is_cash' => '其中一个账户为现金账户', + 'search_modifier_not_account_is_cash' => '两个账户都不为现金账户', 'search_modifier_journal_id' => '日志ID是":value"', 'search_modifier_not_journal_id' => '日志ID不是":value"', - 'search_modifier_recurrence_id' => 'The recurring transaction ID is ":value"', - 'search_modifier_not_recurrence_id' => 'The recurring transaction ID is not ":value"', + 'search_modifier_recurrence_id' => '定期交易ID为":value"', + 'search_modifier_not_recurrence_id' => '定期交易ID不为":value"', 'search_modifier_foreign_amount_is' => 'The foreign amount is ":value"', 'search_modifier_not_foreign_amount_is' => 'The foreign amount is not ":value"', 'search_modifier_foreign_amount_less' => 'The foreign amount is less than ":value"', diff --git a/resources/lang/zh_CN/validation.php b/resources/lang/zh_CN/validation.php index 8259127fdc..8e4c9c121e 100644 --- a/resources/lang/zh_CN/validation.php +++ b/resources/lang/zh_CN/validation.php @@ -271,8 +271,8 @@ return [ 'generic_invalid_source' => '您不能使用此账户作为来源账户', 'generic_invalid_destination' => '您不能使用此账户作为目标账户', - 'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.', - 'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.', + 'generic_no_source' => '必须提供来源账户或者交易ID', + 'generic_no_destination' => '必须提供目标账户或者交易ID', 'gte.numeric' => ':attribute 必须大于或等于 :value', 'gt.numeric' => ':attribute 必须大于 :value', diff --git a/resources/views/auth/mfa.twig b/resources/views/auth/mfa.twig index 604e69a182..7fee3d6227 100644 --- a/resources/views/auth/mfa.twig +++ b/resources/views/auth/mfa.twig @@ -24,7 +24,7 @@
- +
diff --git a/resources/views/debug.twig b/resources/views/debug.twig index ad21d35f07..edb14e2561 100644 --- a/resources/views/debug.twig +++ b/resources/views/debug.twig @@ -18,11 +18,16 @@ Debug information generated at {{ now }} for Firefly III version **{{ FF_VERSION | --- | --- | | Firefly III | {{ FF_VERSION }} | | Firefly III API | {{ config('firefly.api_version') }} | -| Build | {{ buildNr }}, {{ buildDate }} | +{% if isDocker %}| Build | {{ buildNr }}, {{ buildDate }} | +| Base Build | {{ baseBuildNr }}, {{ baseBuildDate }} | +{% endif %} | DB version | {{ foundDBversion }} (exp. {{ expectedDBversion}}) | +{% if not isDocker %}| Docker | No | +{% endif %} | PHP | `{{ phpVersion }}` | | Host | `{{ phpOs }}` | + | System info | Value | | --- | --- | | System TZ | {{ tz }} | diff --git a/yarn.lock b/yarn.lock index 6175d5c3eb..da31a977d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,38 +17,38 @@ dependencies: "@babel/highlight" "^7.18.6" -"@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/compat-data@^7.17.7", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.21.5": + version "7.21.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.7.tgz#61caffb60776e49a57ba61a88f02bedd8714f6bc" + integrity sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA== "@babel/core@^7.15.8": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.4.tgz#c6dc73242507b8e2a27fd13a9c1814f9fa34a659" - integrity sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA== + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4" + integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ== dependencies: "@ampproject/remapping" "^2.2.0" "@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.4" + "@babel/generator" "^7.21.5" + "@babel/helper-compilation-targets" "^7.21.5" + "@babel/helper-module-transforms" "^7.21.5" + "@babel/helpers" "^7.21.5" + "@babel/parser" "^7.21.8" "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.4" - "@babel/types" "^7.21.4" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" 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.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.4.tgz#64a94b7448989f421f919d5239ef553b37bb26bc" - integrity sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA== +"@babel/generator@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f" + integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w== dependencies: - "@babel/types" "^7.21.4" + "@babel/types" "^7.21.5" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" @@ -61,45 +61,46 @@ "@babel/types" "^7.18.6" "@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz#acd4edfd7a566d1d51ea975dff38fd52906981bb" - integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.21.5.tgz#817f73b6c59726ab39f6ba18c234268a519e5abb" + integrity sha512-uNrjKztPLkUk7bpCNC0jEKDJzzkvel/W+HguzbN8krA+LPfC1CEobJEvAvGka2A/M+ViOqXdcRL0GqPUJSjx9g== dependencies: - "@babel/helper-explode-assignable-expression" "^7.18.6" - "@babel/types" "^7.18.9" + "@babel/types" "^7.21.5" -"@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== +"@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.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz#631e6cc784c7b660417421349aac304c94115366" + integrity sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w== dependencies: - "@babel/compat-data" "^7.21.4" + "@babel/compat-data" "^7.21.5" "@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.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== + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.8.tgz#205b26330258625ef8869672ebca1e0dee5a0f02" + integrity sha512-+THiN8MqiH2AczyuZrnrKL6cAxFRRQDKW9h1YkBvbgKmAm6mwiacig1qT73DHIWMGo40GRnsEfN3LA+E6NtmSw== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-environment-visitor" "^7.21.5" "@babel/helper-function-name" "^7.21.0" - "@babel/helper-member-expression-to-functions" "^7.21.0" + "@babel/helper-member-expression-to-functions" "^7.21.5" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-replace-supers" "^7.21.5" "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" "@babel/helper-split-export-declaration" "^7.18.6" + semver "^6.3.0" "@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.20.5": - 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== + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.8.tgz#a7886f61c2e29e21fd4aaeaf1e473deba6b571dc" + integrity sha512-zGuSdedkFtsFHGbexAvNuipg1hbtitDLo2XE8/uf6Y9sOQV1xsYX/2pNbtedp/X0eU1pIt+kGvaqHCowkRbS5g== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" regexpu-core "^5.3.1" + semver "^6.3.0" "@babel/helper-define-polyfill-provider@^0.3.3": version "0.3.3" @@ -113,17 +114,10 @@ resolve "^1.14.2" semver "^6.1.2" -"@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== - -"@babel/helper-explode-assignable-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" - integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== - dependencies: - "@babel/types" "^7.18.6" +"@babel/helper-environment-visitor@^7.18.9", "@babel/helper-environment-visitor@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba" + integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ== "@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0", "@babel/helper-function-name@^7.21.0": version "7.21.0" @@ -140,12 +134,12 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-member-expression-to-functions@^7.20.7", "@babel/helper-member-expression-to-functions@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz#319c6a940431a133897148515877d2f3269c3ba5" - integrity sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q== +"@babel/helper-member-expression-to-functions@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.5.tgz#3b1a009af932e586af77c1030fba9ee0bde396c0" + integrity sha512-nIcGfgwpH2u4n9GG1HpStW5Ogx7x7ekiFHbjjFRKXbn5zUvqO9ZgotCO4x1aNbKn/x/xOUaXEhyNHCwtFCpxWg== dependencies: - "@babel/types" "^7.21.0" + "@babel/types" "^7.21.5" "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.21.4": version "7.21.4" @@ -154,19 +148,19 @@ dependencies: "@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" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz#160caafa4978ac8c00ac66636cb0fa37b024e2d2" - integrity sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ== +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420" + integrity sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw== dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-environment-visitor" "^7.21.5" + "@babel/helper-module-imports" "^7.21.4" + "@babel/helper-simple-access" "^7.21.5" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-validator-identifier" "^7.19.1" "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.2" - "@babel/types" "^7.21.2" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" @@ -175,10 +169,10 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" - integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.21.5", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.21.5.tgz#345f2377d05a720a4e5ecfa39cbf4474a4daed56" + integrity sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg== "@babel/helper-remap-async-to-generator@^7.18.9": version "7.18.9" @@ -190,24 +184,24 @@ "@babel/helper-wrap-function" "^7.18.9" "@babel/types" "^7.18.9" -"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331" - integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== +"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.20.7", "@babel/helper-replace-supers@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.21.5.tgz#a6ad005ba1c7d9bc2973dfde05a1bba7065dde3c" + integrity sha512-/y7vBgsr9Idu4M6MprbOVUfH3vs7tsIfnVWv/Ml2xgwvyH6LTngdfbf5AdsKwkJy4zgy1X/kuNrEKvhhK28Yrg== dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-member-expression-to-functions" "^7.20.7" + "@babel/helper-environment-visitor" "^7.21.5" + "@babel/helper-member-expression-to-functions" "^7.21.5" "@babel/helper-optimise-call-expression" "^7.18.6" "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.7" - "@babel/types" "^7.20.7" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" -"@babel/helper-simple-access@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" - integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== +"@babel/helper-simple-access@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz#d697a7971a5c39eac32c7e63c0921c06c8a249ee" + integrity sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg== dependencies: - "@babel/types" "^7.20.2" + "@babel/types" "^7.21.5" "@babel/helper-skip-transparent-expression-wrappers@^7.20.0": version "7.20.0" @@ -223,10 +217,10 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== +"@babel/helper-string-parser@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd" + integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w== "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" @@ -248,14 +242,14 @@ "@babel/traverse" "^7.20.5" "@babel/types" "^7.20.5" -"@babel/helpers@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" - integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== +"@babel/helpers@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.5.tgz#5bac66e084d7a4d2d9696bdf0175a93f7fb63c08" + integrity sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA== dependencies: "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.0" - "@babel/types" "^7.21.0" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" "@babel/highlight@^7.18.6": version "7.18.6" @@ -266,10 +260,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.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.4.tgz#94003fdfc520bbe2875d4ae557b43ddb6d880f17" - integrity sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw== +"@babel/parser@^7.1.0", "@babel/parser@^7.18.4", "@babel/parser@^7.20.15", "@babel/parser@^7.20.7", "@babel/parser@^7.21.3", "@babel/parser@^7.21.5", "@babel/parser@^7.21.8": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.8.tgz#642af7d0333eab9c0ad70b14ac5e76dbde7bfdf8" + integrity sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" @@ -458,6 +452,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.19.0" +"@babel/plugin-syntax-import-meta@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" @@ -521,12 +522,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@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== +"@babel/plugin-transform-arrow-functions@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.21.5.tgz#9bb42a53de447936a57ba256fbf537fc312b6929" + integrity sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.21.5" "@babel/plugin-transform-async-to-generator@^7.20.7": version "7.20.7" @@ -566,12 +567,12 @@ "@babel/helper-split-export-declaration" "^7.18.6" globals "^11.1.0" -"@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== +"@babel/plugin-transform-computed-properties@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.21.5.tgz#3a2d8bb771cd2ef1cd736435f6552fe502e11b44" + integrity sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.21.5" "@babel/template" "^7.20.7" "@babel/plugin-transform-destructuring@^7.21.3": @@ -604,12 +605,12 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@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== +"@babel/plugin-transform-for-of@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.5.tgz#e890032b535f5a2e237a18535f56a9fdaa7b83fc" + integrity sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.21.5" "@babel/plugin-transform-function-name@^7.18.9": version "7.18.9" @@ -642,14 +643,14 @@ "@babel/helper-module-transforms" "^7.20.11" "@babel/helper-plugin-utils" "^7.20.2" -"@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== +"@babel/plugin-transform-modules-commonjs@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.5.tgz#d69fb947eed51af91de82e4708f676864e5e47bc" + integrity sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ== dependencies: - "@babel/helper-module-transforms" "^7.21.2" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-module-transforms" "^7.21.5" + "@babel/helper-plugin-utils" "^7.21.5" + "@babel/helper-simple-access" "^7.21.5" "@babel/plugin-transform-modules-systemjs@^7.20.11": version "7.20.11" @@ -706,12 +707,12 @@ dependencies: "@babel/helper-plugin-utils" "^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== +"@babel/plugin-transform-regenerator@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.21.5.tgz#576c62f9923f94bcb1c855adc53561fd7913724e" + integrity sha512-ZoYBKDb6LyMi5yCsByQ5jmXsHAQDDYeexT1Szvlmui+lADvfSecr5Dxd/PkrTC3pAD182Fcju1VQkB4oCp9M+w== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.21.5" regenerator-transform "^0.15.1" "@babel/plugin-transform-reserved-words@^7.18.6": @@ -769,12 +770,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-unicode-escapes@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz#1ecfb0eda83d09bbcb77c09970c2dd55832aa246" - integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== +"@babel/plugin-transform-unicode-escapes@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.21.5.tgz#1e55ed6195259b0e9061d81f5ef45a9b009fb7f2" + integrity sha512-LYm/gTOwZqsYohlvFUe/8Tujz75LqqVC2w+2qPHLR+WyWHGCZPN1KBpJCJn+4Bk4gOkQy/IXKIge6az5MqwlOg== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.21.5" "@babel/plugin-transform-unicode-regex@^7.18.6": version "7.18.6" @@ -785,13 +786,13 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/preset-env@^7.15.8": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.21.4.tgz#a952482e634a8dd8271a3fe5459a16eb10739c58" - integrity sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw== + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.21.5.tgz#db2089d99efd2297716f018aeead815ac3decffb" + integrity sha512-wH00QnTTldTbf/IefEVyChtRdw5RJvODT/Vb4Vcxq1AZvtXj6T0YeX0cAcXhI6/BdGuiP3GcNIL4OQbI2DVNxg== dependencies: - "@babel/compat-data" "^7.21.4" - "@babel/helper-compilation-targets" "^7.21.4" - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/compat-data" "^7.21.5" + "@babel/helper-compilation-targets" "^7.21.5" + "@babel/helper-plugin-utils" "^7.21.5" "@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.20.7" @@ -816,6 +817,7 @@ "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" "@babel/plugin-syntax-import-assertions" "^7.20.0" + "@babel/plugin-syntax-import-meta" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" @@ -825,22 +827,22 @@ "@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.20.7" + "@babel/plugin-transform-arrow-functions" "^7.21.5" "@babel/plugin-transform-async-to-generator" "^7.20.7" "@babel/plugin-transform-block-scoped-functions" "^7.18.6" "@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-computed-properties" "^7.21.5" "@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.21.0" + "@babel/plugin-transform-for-of" "^7.21.5" "@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.20.11" - "@babel/plugin-transform-modules-commonjs" "^7.21.2" + "@babel/plugin-transform-modules-commonjs" "^7.21.5" "@babel/plugin-transform-modules-systemjs" "^7.20.11" "@babel/plugin-transform-modules-umd" "^7.18.6" "@babel/plugin-transform-named-capturing-groups-regex" "^7.20.5" @@ -848,17 +850,17 @@ "@babel/plugin-transform-object-super" "^7.18.6" "@babel/plugin-transform-parameters" "^7.21.3" "@babel/plugin-transform-property-literals" "^7.18.6" - "@babel/plugin-transform-regenerator" "^7.20.5" + "@babel/plugin-transform-regenerator" "^7.21.5" "@babel/plugin-transform-reserved-words" "^7.18.6" "@babel/plugin-transform-shorthand-properties" "^7.18.6" "@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-escapes" "^7.21.5" "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.21.4" + "@babel/types" "^7.21.5" babel-plugin-polyfill-corejs2 "^0.3.3" babel-plugin-polyfill-corejs3 "^0.6.0" babel-plugin-polyfill-regenerator "^0.4.1" @@ -881,10 +883,10 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.15.4", "@babel/runtime@^7.8.4": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" - integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== +"@babel/runtime@^7.15.4", "@babel/runtime@^7.21.0", "@babel/runtime@^7.8.4": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.5.tgz#8492dddda9644ae3bda3b45eabe87382caee7200" + integrity sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q== dependencies: regenerator-runtime "^0.13.11" @@ -897,28 +899,28 @@ "@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.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.4.tgz#a836aca7b116634e97a6ed99976236b3282c9d36" - integrity sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q== +"@babel/traverse@^7.20.5", "@babel/traverse@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.5.tgz#ad22361d352a5154b498299d523cf72998a4b133" + integrity sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw== dependencies: "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.4" - "@babel/helper-environment-visitor" "^7.18.9" + "@babel/generator" "^7.21.5" + "@babel/helper-environment-visitor" "^7.21.5" "@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.4" - "@babel/types" "^7.21.4" + "@babel/parser" "^7.21.5" + "@babel/types" "^7.21.5" 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.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== +"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.20.0", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.3.0", "@babel/types@^7.4.4": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6" + integrity sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q== dependencies: - "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-string-parser" "^7.21.5" "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" @@ -971,7 +973,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== @@ -1108,9 +1110,9 @@ integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": - version "4.17.34" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.34.tgz#c119e85b75215178bc127de588e93100698ab4cc" - integrity sha512-fvr49XlCGoUj2Pp730AItckfjat4WNb0lb3kfrLWffd+RLeoGAMsq7UOy04PAPtoL01uKwcp6u8nhzpgpDYr3w== + version "4.17.35" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz#c95dd4424f0d32e525d23812aa8ab8e4d3906c4f" + integrity sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg== dependencies: "@types/node" "*" "@types/qs" "*" @@ -1199,9 +1201,9 @@ integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/node@*": - version "18.16.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.2.tgz#2f610ea71034b3971c312192377f8a7178eb57f1" - integrity sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg== + version "20.1.3" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.1.3.tgz#bc8e7cd8065a5fc355a3a191a68db8019c58bc00" + integrity sha512-NP2yfZpgmf2eDRPmgGq+fjGjSwFgYbihA8/gK+ey23qT9RkxsgNTZvGOEpXgzIGqesTYkElELLgtKoMQTys5vA== "@types/parse-json@^4.0.0": version "4.0.0" @@ -1265,23 +1267,23 @@ dependencies: "@types/node" "*" -"@vue/compiler-core@3.2.47": - version "3.2.47" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.47.tgz#3e07c684d74897ac9aa5922c520741f3029267f8" - integrity sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig== +"@vue/compiler-core@3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.3.2.tgz#39567bd15c7f97add97bfc4d44e814df36eb797b" + integrity sha512-CKZWo1dzsQYTNTft7whzjL0HsrEpMfiK7pjZ2WFE3bC1NA7caUjWioHSK+49y/LK7Bsm4poJZzAMnvZMQ7OTeg== dependencies: - "@babel/parser" "^7.16.4" - "@vue/shared" "3.2.47" + "@babel/parser" "^7.21.3" + "@vue/shared" "3.3.2" estree-walker "^2.0.2" - source-map "^0.6.1" + source-map-js "^1.0.2" -"@vue/compiler-dom@3.2.47": - version "3.2.47" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz#a0b06caf7ef7056939e563dcaa9cbde30794f305" - integrity sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ== +"@vue/compiler-dom@3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.3.2.tgz#2012ef4879375a4ca4ee68012a9256398b848af2" + integrity sha512-6gS3auANuKXLw0XH6QxkWqyPYPunziS2xb6VRenM3JY7gVfZcJvkCBHkb5RuNY1FCbBO3lkIi0CdXUCW1c7SXw== dependencies: - "@vue/compiler-core" "3.2.47" - "@vue/shared" "3.2.47" + "@vue/compiler-core" "3.3.2" + "@vue/shared" "3.3.2" "@vue/compiler-sfc@2.7.14": version "2.7.14" @@ -1293,28 +1295,28 @@ source-map "^0.6.1" "@vue/compiler-sfc@^3.2.45": - version "3.2.47" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz#1bdc36f6cdc1643f72e2c397eb1a398f5004ad3d" - integrity sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ== + version "3.3.2" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.3.2.tgz#d6467acba8446655bcee7e751441232e5ddebcbf" + integrity sha512-jG4jQy28H4BqzEKsQqqW65BZgmo3vzdLHTBjF+35RwtDdlFE+Fk1VWJYUnDMMqkFBo6Ye1ltSKVOMPgkzYj7SQ== dependencies: - "@babel/parser" "^7.16.4" - "@vue/compiler-core" "3.2.47" - "@vue/compiler-dom" "3.2.47" - "@vue/compiler-ssr" "3.2.47" - "@vue/reactivity-transform" "3.2.47" - "@vue/shared" "3.2.47" + "@babel/parser" "^7.20.15" + "@vue/compiler-core" "3.3.2" + "@vue/compiler-dom" "3.3.2" + "@vue/compiler-ssr" "3.3.2" + "@vue/reactivity-transform" "3.3.2" + "@vue/shared" "3.3.2" estree-walker "^2.0.2" - magic-string "^0.25.7" + magic-string "^0.30.0" postcss "^8.1.10" - source-map "^0.6.1" + source-map-js "^1.0.2" -"@vue/compiler-ssr@3.2.47": - version "3.2.47" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.47.tgz#35872c01a273aac4d6070ab9d8da918ab13057ee" - integrity sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw== +"@vue/compiler-ssr@3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.3.2.tgz#75ac4ccafa2d78c91d2e257ad243c86409493cc4" + integrity sha512-K8OfY5FQtZaSOJHHe8xhEfIfLrefL/Y9frv4k4NsyQL3+0lRKxr9QuJhfdBDjkl7Fhz8CzKh63mULvmOfx3l2w== dependencies: - "@vue/compiler-dom" "3.2.47" - "@vue/shared" "3.2.47" + "@vue/compiler-dom" "3.3.2" + "@vue/shared" "3.3.2" "@vue/component-compiler-utils@^3.1.0": version "3.3.0" @@ -1332,141 +1334,141 @@ optionalDependencies: prettier "^1.18.2 || ^2.0.0" -"@vue/reactivity-transform@3.2.47": - version "3.2.47" - resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz#e45df4d06370f8abf29081a16afd25cffba6d84e" - integrity sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA== +"@vue/reactivity-transform@3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.3.2.tgz#e1991d52d7ecefb65b214d8a3385a9dbe2cca74c" + integrity sha512-iu2WaQvlJHdnONrsyv4ibIEnSsuKF+aHFngGj/y1lwpHQtalpVhKg9wsKMoiKXS9zPNjG9mNKzJS9vudvjzvyg== dependencies: - "@babel/parser" "^7.16.4" - "@vue/compiler-core" "3.2.47" - "@vue/shared" "3.2.47" + "@babel/parser" "^7.20.15" + "@vue/compiler-core" "3.3.2" + "@vue/shared" "3.3.2" estree-walker "^2.0.2" - magic-string "^0.25.7" + magic-string "^0.30.0" -"@vue/shared@3.2.47": - version "3.2.47" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.47.tgz#e597ef75086c6e896ff5478a6bfc0a7aa4bbd14c" - integrity sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ== +"@vue/shared@3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.3.2.tgz#774cd9b4635ce801b70a3fc3713779a5ef5d77c3" + integrity sha512-0rFu3h8JbclbnvvKrs7Fe5FNGV9/5X2rPD7KmOzhLSUAiQH5//Hq437Gv0fR5Mev3u/nbtvmLl8XgwCU20/ZfQ== -"@webassemblyjs/ast@1.11.5", "@webassemblyjs/ast@^1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.5.tgz#6e818036b94548c1fb53b754b5cae3c9b208281c" - integrity sha512-LHY/GSAZZRpsNQH+/oHqhRQ5FT7eoULcBqgfyTB5nQHogFnK3/7QoN7dLnwSE/JkUAF0SrRuclT7ODqMFtWxxQ== +"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" + integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== dependencies: - "@webassemblyjs/helper-numbers" "1.11.5" - "@webassemblyjs/helper-wasm-bytecode" "1.11.5" + "@webassemblyjs/helper-numbers" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" -"@webassemblyjs/floating-point-hex-parser@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.5.tgz#e85dfdb01cad16b812ff166b96806c050555f1b4" - integrity sha512-1j1zTIC5EZOtCplMBG/IEwLtUojtwFVwdyVMbL/hwWqbzlQoJsWCOavrdnLkemwNoC/EOwtUFch3fuo+cbcXYQ== +"@webassemblyjs/floating-point-hex-parser@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" + integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== -"@webassemblyjs/helper-api-error@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.5.tgz#1e82fa7958c681ddcf4eabef756ce09d49d442d1" - integrity sha512-L65bDPmfpY0+yFrsgz8b6LhXmbbs38OnwDCf6NpnMUYqa+ENfE5Dq9E42ny0qz/PdR0LJyq/T5YijPnU8AXEpA== +"@webassemblyjs/helper-api-error@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" + integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== -"@webassemblyjs/helper-buffer@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.5.tgz#91381652ea95bb38bbfd270702351c0c89d69fba" - integrity sha512-fDKo1gstwFFSfacIeH5KfwzjykIE6ldh1iH9Y/8YkAZrhmu4TctqYjSh7t0K2VyDSXOZJ1MLhht/k9IvYGcIxg== +"@webassemblyjs/helper-buffer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" + integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== -"@webassemblyjs/helper-numbers@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.5.tgz#23380c910d56764957292839006fecbe05e135a9" - integrity sha512-DhykHXM0ZABqfIGYNv93A5KKDw/+ywBFnuWybZZWcuzWHfbp21wUfRkbtz7dMGwGgT4iXjWuhRMA2Mzod6W4WA== +"@webassemblyjs/helper-numbers@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" + integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.5" - "@webassemblyjs/helper-api-error" "1.11.5" + "@webassemblyjs/floating-point-hex-parser" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" "@xtuc/long" "4.2.2" -"@webassemblyjs/helper-wasm-bytecode@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.5.tgz#e258a25251bc69a52ef817da3001863cc1c24b9f" - integrity sha512-oC4Qa0bNcqnjAowFn7MPCETQgDYytpsfvz4ujZz63Zu/a/v71HeCAAmZsgZ3YVKec3zSPYytG3/PrRCqbtcAvA== +"@webassemblyjs/helper-wasm-bytecode@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" + integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== -"@webassemblyjs/helper-wasm-section@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.5.tgz#966e855a6fae04d5570ad4ec87fbcf29b42ba78e" - integrity sha512-uEoThA1LN2NA+K3B9wDo3yKlBfVtC6rh0i4/6hvbz071E8gTNZD/pT0MsBf7MeD6KbApMSkaAK0XeKyOZC7CIA== +"@webassemblyjs/helper-wasm-section@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" + integrity sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g== dependencies: - "@webassemblyjs/ast" "1.11.5" - "@webassemblyjs/helper-buffer" "1.11.5" - "@webassemblyjs/helper-wasm-bytecode" "1.11.5" - "@webassemblyjs/wasm-gen" "1.11.5" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" -"@webassemblyjs/ieee754@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.5.tgz#b2db1b33ce9c91e34236194c2b5cba9b25ca9d60" - integrity sha512-37aGq6qVL8A8oPbPrSGMBcp38YZFXcHfiROflJn9jxSdSMMM5dS5P/9e2/TpaJuhE+wFrbukN2WI6Hw9MH5acg== +"@webassemblyjs/ieee754@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" + integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.5.tgz#482e44d26b6b949edf042a8525a66c649e38935a" - integrity sha512-ajqrRSXaTJoPW+xmkfYN6l8VIeNnR4vBOTQO9HzR7IygoCcKWkICbKFbVTNMjMgMREqXEr0+2M6zukzM47ZUfQ== +"@webassemblyjs/leb128@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" + integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.5.tgz#83bef94856e399f3740e8df9f63bc47a987eae1a" - integrity sha512-WiOhulHKTZU5UPlRl53gHR8OxdGsSOxqfpqWeA2FmcwBMaoEdz6b2x2si3IwC9/fSPLfe8pBMRTHVMk5nlwnFQ== +"@webassemblyjs/utf8@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" + integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== "@webassemblyjs/wasm-edit@^1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.5.tgz#93ee10a08037657e21c70de31c47fdad6b522b2d" - integrity sha512-C0p9D2fAu3Twwqvygvf42iGCQ4av8MFBLiTb+08SZ4cEdwzWx9QeAHDo1E2k+9s/0w1DM40oflJOpkZ8jW4HCQ== + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" + integrity sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw== dependencies: - "@webassemblyjs/ast" "1.11.5" - "@webassemblyjs/helper-buffer" "1.11.5" - "@webassemblyjs/helper-wasm-bytecode" "1.11.5" - "@webassemblyjs/helper-wasm-section" "1.11.5" - "@webassemblyjs/wasm-gen" "1.11.5" - "@webassemblyjs/wasm-opt" "1.11.5" - "@webassemblyjs/wasm-parser" "1.11.5" - "@webassemblyjs/wast-printer" "1.11.5" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/helper-wasm-section" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-opt" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + "@webassemblyjs/wast-printer" "1.11.6" -"@webassemblyjs/wasm-gen@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.5.tgz#ceb1c82b40bf0cf67a492c53381916756ef7f0b1" - integrity sha512-14vteRlRjxLK9eSyYFvw1K8Vv+iPdZU0Aebk3j6oB8TQiQYuO6hj9s4d7qf6f2HJr2khzvNldAFG13CgdkAIfA== +"@webassemblyjs/wasm-gen@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" + integrity sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA== dependencies: - "@webassemblyjs/ast" "1.11.5" - "@webassemblyjs/helper-wasm-bytecode" "1.11.5" - "@webassemblyjs/ieee754" "1.11.5" - "@webassemblyjs/leb128" "1.11.5" - "@webassemblyjs/utf8" "1.11.5" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" -"@webassemblyjs/wasm-opt@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.5.tgz#b52bac29681fa62487e16d3bb7f0633d5e62ca0a" - integrity sha512-tcKwlIXstBQgbKy1MlbDMlXaxpucn42eb17H29rawYLxm5+MsEmgPzeCP8B1Cl69hCice8LeKgZpRUAPtqYPgw== +"@webassemblyjs/wasm-opt@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" + integrity sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g== dependencies: - "@webassemblyjs/ast" "1.11.5" - "@webassemblyjs/helper-buffer" "1.11.5" - "@webassemblyjs/wasm-gen" "1.11.5" - "@webassemblyjs/wasm-parser" "1.11.5" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" -"@webassemblyjs/wasm-parser@1.11.5", "@webassemblyjs/wasm-parser@^1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.5.tgz#7ba0697ca74c860ea13e3ba226b29617046982e2" - integrity sha512-SVXUIwsLQlc8srSD7jejsfTU83g7pIGr2YYNb9oHdtldSxaOhvA5xwvIiWIfcX8PlSakgqMXsLpLfbbJ4cBYew== +"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" + integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== dependencies: - "@webassemblyjs/ast" "1.11.5" - "@webassemblyjs/helper-api-error" "1.11.5" - "@webassemblyjs/helper-wasm-bytecode" "1.11.5" - "@webassemblyjs/ieee754" "1.11.5" - "@webassemblyjs/leb128" "1.11.5" - "@webassemblyjs/utf8" "1.11.5" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" -"@webassemblyjs/wast-printer@1.11.5": - version "1.11.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.5.tgz#7a5e9689043f3eca82d544d7be7a8e6373a6fa98" - integrity sha512-f7Pq3wvg3GSPUPzR0F6bmI89Hdb+u9WXrSKc4v+N0aV0q6r42WoF92Jp2jEorBEBRoRNXgjp53nBniDXcqZYPA== +"@webassemblyjs/wast-printer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" + integrity sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A== dependencies: - "@webassemblyjs/ast" "1.11.5" + "@webassemblyjs/ast" "1.11.6" "@xtuc/long" "4.2.2" "@webpack-cli/configtest@^1.2.0": @@ -1505,9 +1507,9 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: negotiator "0.6.3" acorn-import-assertions@^1.7.6: - version "1.8.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" - integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== + version "1.9.0" + resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" + integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== acorn@^8.5.0, acorn@^8.7.1: version "8.8.2" @@ -1913,9 +1915,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.30001481" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001481.tgz#f58a717afe92f9e69d0e35ff64df596bfad93912" - integrity sha512-KCqHwRnaa1InZBtqXzP98LPg0ajCVujMKjqKDhZEthIpAsJl/YEIa3YvXjGXPVqzZVguccuu7ga9KOE1J9rKPQ== + version "1.0.30001487" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001487.tgz#d882d1a34d89c11aea53b8cdc791931bdab5fe1b" + integrity sha512-83564Z3yWGqXsh2vaH/mhXfEM0wX+NlBCm1jYHOb97TrTWJEmPTccZgeLTPBUUb0PNVo+oomb7wkimZBIERClA== chalk@^2.0.0: version "2.4.2" @@ -2161,9 +2163,9 @@ cookie@0.5.0: integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== core-js-compat@^3.25.1: - version "3.30.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.30.1.tgz#961541e22db9c27fc48bfc13a3cafa8734171dfe" - integrity sha512-d690npR7MC6P0gq4npTl5n2VQeNAmUrJ90n+MHiKS7W2+xno4o3F5GDEuylSdi6EJ3VssibSGXOa1r3YXD3Mhw== + version "3.30.2" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.30.2.tgz#83f136e375babdb8c80ad3c22d67c69098c1dd8b" + integrity sha512-nriW1nuJjUgvkEjIot1Spwakz52V9YkYHZAQG6A1eCgC8AA1p0zngrQEP9R0+V6hji5XilWKG1Bd0YRppmGimA== dependencies: browserslist "^4.21.5" @@ -2363,10 +2365,12 @@ csstype@^3.1.0: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== -date-fns@^2.29.3: - version "2.29.3" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" - integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== +date-fns@^2.30.0: + version "2.30.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" + integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== + dependencies: + "@babel/runtime" "^7.21.0" de-indent@^1.0.2: version "1.0.2" @@ -2526,9 +2530,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.4.284: - version "1.4.376" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.376.tgz#a771d6c4db028634df126348a4f94075e07e7f65" - integrity sha512-TFeOKd98TpJzRHkr4Aorn16QkMnuCQuGAE6IZ0wYF+qkbSfMPqjplvRppR02tMUpVxZz8nyBNvVm9lIZsqrbPQ== + version "1.4.394" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.394.tgz#989abe104a40366755648876cde2cdeda9f31133" + integrity sha512-0IbC2cfr8w5LxTz+nmn2cJTGafsK9iauV2r5A5scfzyovqLrxuLoxOHE5OBobP3oVIggJT+0JfKnw9sm87c8Hw== elliptic@^6.5.3: version "6.5.4" @@ -2558,10 +2562,10 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== -enhanced-resolve@^5.13.0: - version "5.13.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz#26d1ecc448c02de997133217b5c1053f34a0a275" - integrity sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg== +enhanced-resolve@^5.14.0: + version "5.14.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz#0b6c676c8a3266c99fa281e4433a706f5c0c61c4" + integrity sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -3311,9 +3315,9 @@ jest-worker@^27.4.5: supports-color "^8.0.0" jquery@^3: - version "3.6.4" - resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.4.tgz#ba065c188142100be4833699852bf7c24dc0252f" - integrity sha512-v28EW9DWDFpzcD9O5iyJXg3R3+q+mET5JhnjJzQUZMHOv67bpSIHq81GEYpPNZHG+XXHsfSme3nxp/hndKEcsQ== + version "3.7.0" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.0.tgz#fe2c01a05da500709006d8790fe21c8a39d75612" + integrity sha512-umpJ0/k8X0MvD1ds0P9SfowREz2LenHsQaxSohMZ5OMNEU2r0tf8pdeEFTHMFxWVxKNyU9rTtK3CWzUCTKJUeQ== js-tokens@^4.0.0: version "4.0.0" @@ -3534,12 +3538,12 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -magic-string@^0.25.7: - version "0.25.9" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== +magic-string@^0.30.0: + version "0.30.0" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.0.tgz#fd58a4748c5c4547338a424e90fa5dd17f4de529" + integrity sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ== dependencies: - sourcemap-codec "^1.4.8" + "@jridgewell/sourcemap-codec" "^1.4.13" make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: version "3.1.0" @@ -4247,9 +4251,9 @@ postcss-reduce-transforms@^5.1.0: postcss-value-parser "^4.2.0" postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: - version "6.0.11" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz#2e41dc39b7ad74046e1615185185cd0b17d0c8dc" - integrity sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g== + version "6.0.12" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz#2efae5ffab3c8bfb2b7fbf0c426e3bca616c4abb" + integrity sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" @@ -4631,9 +4635,9 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== semver@^7.3.2, semver@^7.3.5: - version "7.5.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.0.tgz#ed8c5dc8efb6c629c88b23d41dc9bf40c1d96cd0" - integrity sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA== + version "7.5.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.1.tgz#c90c4d631cf74720e46b21c1d37ea07edfab91ec" + integrity sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw== dependencies: lru-cache "^6.0.0" @@ -4789,11 +4793,6 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - spdy-transport@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" @@ -4833,9 +4832,9 @@ statuses@2.0.1: integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== std-env@^3.0.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.3.2.tgz#af27343b001616015534292178327b202b9ee955" - integrity sha512-uUZI65yrV2Qva5gqE0+A7uVAvO40iPo6jGhs7s8keRfHCmtg+uB2X6EiLGCI9IgL1J17xGhvoOqSz79lzICPTA== + version "3.3.3" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.3.3.tgz#a54f06eb245fdcfef53d56f3c0251f1d5c3d01fe" + integrity sha512-Rz6yejtVyWnVjC1RFvNmYL10kgjC49EOghxWn0RFqlCHGFpQx+Xe7yW3I4ceK1SGrWIGMjD5Kbue8W/udkbMJg== stream-browserify@^2.0.1: version "2.0.2" @@ -4960,15 +4959,15 @@ tapable@^2.1.1, tapable@^2.2.0: integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== terser-webpack-plugin@^5.2.4, terser-webpack-plugin@^5.3.7: - version "5.3.7" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz#ef760632d24991760f339fe9290deb936ad1ffc7" - integrity sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw== + version "5.3.8" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.8.tgz#415e03d2508f7de63d59eca85c5d102838f06610" + integrity sha512-WiHL3ElchZMsK27P8uIUh4604IgJyAW47LVXGbEoB21DbQcZ+OuMpGjVYnEUaqcWM6dO8uS2qUbA7LSCWqvsbg== dependencies: "@jridgewell/trace-mapping" "^0.3.17" jest-worker "^27.4.5" schema-utils "^3.1.1" serialize-javascript "^6.0.1" - terser "^5.16.5" + terser "^5.16.8" terser@^4.6.3: version "4.8.1" @@ -4979,10 +4978,10 @@ terser@^4.6.3: source-map "~0.6.1" source-map-support "~0.5.12" -terser@^5.16.5, terser@^5.9.0: - version "5.17.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.17.1.tgz#948f10830454761e2eeedc6debe45c532c83fd69" - integrity sha512-hVl35zClmpisy6oaoKALOpS0rDYLxRFLHhRuDlEGTKey9qHjS1w9GMORjuwIMt70Wan4lwsLYyWDVnWgF+KUEw== +terser@^5.16.8, terser@^5.9.0: + version "5.17.3" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.17.3.tgz#7f908f16b3cdf3f6c0f8338e6c1c674837f90d25" + integrity sha512-AudpAZKmZHkG9jueayypz4duuCFJMMNGRMwaPvQKWfxKedh8Z2x3OCoDqIIi1xx5+iwx1u6Au8XQcc9Lke65Yg== dependencies: "@jridgewell/source-map" "^0.3.2" acorn "^8.5.0" @@ -5042,9 +5041,9 @@ type-is@~1.6.18: mime-types "~2.1.24" uiv@^1.4: - version "1.4.2" - resolved "https://registry.yarnpkg.com/uiv/-/uiv-1.4.2.tgz#707def020e786f4187fa2bab663535f5fc4ff1c8" - integrity sha512-+3Q7n58Yau6w8/eZjp3Pukc4VCbTZmopQb1V9VE2ki5GLwL8jlTdBwtWgT90xhapBcbja4twS2lmaf9tpjVbuA== + version "1.4.3" + resolved "https://registry.yarnpkg.com/uiv/-/uiv-1.4.3.tgz#41483db1af195d01e64f95b6bf6d60628c8950c3" + integrity sha512-xLYwuvL9h67vSh4NHg4UyW2fzmYFqg+2/5S++83dWH2gDnxBytwsSx+65uOUlWfG8OWPTVhJs2b9T5blm4ubnQ== dependencies: portal-vue "^2.1.7" vue-functional-data-merge "^3.0.0" @@ -5244,9 +5243,9 @@ webpack-dev-middleware@^5.3.1: schema-utils "^4.0.0" webpack-dev-server@^4.7.3: - version "4.13.3" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.13.3.tgz#9feb740b8b56b886260bae1360286818a221bae8" - integrity sha512-KqqzrzMRSRy5ePz10VhjyL27K2dxqwXQLP5rAKwRJBPUahe7Z2bBWzHw37jeb8GCPKxZRO79ZdQUAPesMh/Nug== + version "4.15.0" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.15.0.tgz#87ba9006eca53c551607ea0d663f4ae88be7af21" + integrity sha512-HmNB5QeSl1KpulTBQ8UT4FPrByYyaLxpJoQ0+s7EvUrMc16m0ZS1sgb1XGqzmgCPk0c9y+aaXxn11tbLzuM7NQ== dependencies: "@types/bonjour" "^3.5.9" "@types/connect-history-api-fallback" "^1.3.5" @@ -5309,9 +5308,9 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.60.0: - version "5.81.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.81.0.tgz#27a2e8466c8b4820d800a8d90f06ef98294f9956" - integrity sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q== + version "5.82.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.82.1.tgz#8f38c78e53467556e8a89054ebd3ef6e9f67dbab" + integrity sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^1.0.0" @@ -5322,7 +5321,7 @@ webpack@^5.60.0: acorn-import-assertions "^1.7.6" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.13.0" + enhanced-resolve "^5.14.0" es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0"