diff --git a/api/paymentmethods/idin/idin.php b/api/paymentmethods/idin/idin.php index c950d7f06..0e7eccde1 100644 --- a/api/paymentmethods/idin/idin.php +++ b/api/paymentmethods/idin/idin.php @@ -15,9 +15,7 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ - use Buckaroo\PrestaShop\Classes\Config; - - require_once dirname(__FILE__) . '/../paymentmethod.php'; +require_once dirname(__FILE__) . '/../paymentmethod.php'; class Idin extends PaymentMethod { diff --git a/buckaroo3.php b/buckaroo3.php index 46d6ea4ee..cd4eb04db 100644 --- a/buckaroo3.php +++ b/buckaroo3.php @@ -17,21 +17,15 @@ if (!defined('_PS_VERSION_')) { exit; } -require_once _PS_ROOT_DIR_ . '/modules/buckaroo3/vendor/autoload.php'; +require_once _PS_MODULE_DIR_ . 'buckaroo3/vendor/autoload.php'; require_once _PS_MODULE_DIR_ . 'buckaroo3/api/paymentmethods/responsefactory.php'; require_once _PS_MODULE_DIR_ . 'buckaroo3/controllers/front/common.php'; include_once _PS_MODULE_DIR_ . 'buckaroo3/library/logger.php'; use Buckaroo\BuckarooClient; -use Buckaroo\PrestaShop\Classes\CapayableIn3; use Buckaroo\PrestaShop\Classes\IssuersIdeal; use Buckaroo\PrestaShop\Classes\IssuersPayByBank; -use Buckaroo\PrestaShop\Classes\JWTAuth; use Buckaroo\PrestaShop\Src\Config\Config; -use Buckaroo\PrestaShop\Src\Entity\BkConfiguration; -use Buckaroo\PrestaShop\Src\Entity\BkCountries; -use Buckaroo\PrestaShop\Src\Entity\BkOrdering; -use Buckaroo\PrestaShop\Src\Entity\BkPaymentMethods; use Buckaroo\PrestaShop\Src\Form\Modifier\ProductFormModifier; use Buckaroo\PrestaShop\Src\Install\DatabaseTableInstaller; use Buckaroo\PrestaShop\Src\Install\DatabaseTableUninstaller; @@ -39,29 +33,13 @@ use Buckaroo\PrestaShop\Src\Install\Installer; use Buckaroo\PrestaShop\Src\Install\Uninstaller; use Buckaroo\PrestaShop\Src\Refund\Settings as RefundSettings; -use Buckaroo\PrestaShop\Src\Repository\BkConfigurationRepositoryInterface; -use Buckaroo\PrestaShop\Src\Repository\BkCountriesRepositoryInterface; -use Buckaroo\PrestaShop\Src\Repository\BkPaymentMethodRepositoryInterface; use Buckaroo\PrestaShop\Src\Repository\RawPaymentMethodRepository; -use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; -use Buckaroo\PrestaShop\Src\Service\BuckarooCountriesService; -use Buckaroo\PrestaShop\Src\Service\BuckarooFeeService; - use Buckaroo\PrestaShop\Src\Service\BuckarooIdinService; - use Buckaroo\PrestaShop\Src\Service\BuckarooPaymentService; +use Buckaroo\PrestaShop\Src\Service\BuckarooIdinService; use PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException; class Buckaroo3 extends PaymentModule { - public $buckarooPaymentService; - public $buckarooFeeService; - public $buckarooConfigService; - public $buckarooCountriesService; - public $bkOrderingRepository; - private $issuersPayByBank; - private $issuersCreditCard; - private $capayableIn3; public $symContainer; - public $entityManager; public $logger; private $locale; @@ -281,30 +259,22 @@ public function hookDisplayBackOfficeHeader() public function getContent() { - $jwt = new JWTAuth(); - $token = $this->generateToken($jwt); + $tokenManager = $this->get('security.csrf.token_manager'); + $userProvider = $this->get('prestashop.user_provider'); + + $token = $tokenManager->getToken( + $userProvider->getUsername() + )->getValue(); $this->context->smarty->assign([ - 'pathApp' => $this->_path . 'views/js/buckaroo.vue.js', + 'pathApp' => $this->_path . 'views/js/buckaroo.vue.js?2135132', 'baseUrl' => $this->context->shop->getBaseURL(true), - 'jwt' => $token, + 'adminUrl' => explode("?",$this->context->link->getAdminLink(AdminDashboard::class))[0], + 'token' => $token, ]); return $this->context->smarty->fetch('module:buckaroo3/views/templates/admin/app.tpl'); } - private function generateToken($jwt) - { - $data = []; - - if ($this->context->employee->isLoggedBack()) { - $data = ['employee_id' => $this->context->employee->id]; - } elseif ($this->context->customer->isLogged()) { - $data = ['user_id' => $this->context->customer->id]; - } - - return $jwt->encode($data); - } - private function isActivated() { $websiteKey = Configuration::get('BUCKAROO_MERCHANT_KEY'); @@ -386,29 +356,9 @@ public function hookPaymentOptions($params) $address_differ = 1; } - $this->issuersPayByBank = new IssuersPayByBank(); - - $this->issuersCreditCard = $this->getBuckarooConfigService()->getActiveCreditCards(); - - $this->capayableIn3 = new CapayableIn3(); - - $this->entityManager = $this->get('doctrine.orm.entity_manager'); - - $bkPaymentMethodRepository = $this->getRepository(BkPaymentMethods::class, BkPaymentMethodRepositoryInterface::class); - - $bkOrderingRepository = $this->getBuckarooOrderingRepository(); + $buckarooConfigService = $this->getBuckarooConfigService(); - $this->buckarooPaymentService = new BuckarooPaymentService( - $this, - $this->getBuckarooConfigService(), - $this->issuersPayByBank, - $this->logger, - $this->context, - $this->capayableIn3, - $this->getBuckarooFeeService(), - $bkOrderingRepository, - $bkPaymentMethodRepository - ); + $buckarooPaymentService = $this->symContainer->get('buckaroo.config.api.payment.service'); try { $this->context->smarty->assign( @@ -427,31 +377,22 @@ public function hookPaymentOptions($params) 'phone_afterpay_billing' => $phone_afterpay_billing, 'total' => $cart->getOrderTotal(true, 3), 'country' => Country::getIsoById(Tools::getCountry()), - 'afterpay_show_coc' => $this->buckarooPaymentService->showAfterpayCoc($cart), - 'billink_show_coc' => $this->buckarooPaymentService->showBillinkCoc($cart), + 'afterpay_show_coc' => $buckarooPaymentService->showAfterpayCoc($cart), + 'billink_show_coc' => $buckarooPaymentService->showBillinkCoc($cart), 'idealIssuers' => (new IssuersIdeal())->get(), - 'idealDisplayMode' => $this->buckarooConfigService->getConfigValue('ideal', 'display_type'), - 'paybybankIssuers' => $this->issuersPayByBank->getIssuerList(), - 'payByBankDisplayMode' => $this->buckarooConfigService->getConfigValue('paybybank', 'display_type'), - 'creditcardIssuers' => $this->issuersCreditCard, - 'creditCardDisplayMode' => $this->buckarooConfigService->getConfigValue('creditcard', 'display_type'), - 'in3Method' => (new CapayableIn3())->getMethod(), + 'idealDisplayMode' => $buckarooConfigService->getConfigValue('ideal', 'display_type'), + 'paybybankIssuers' => (new IssuersPayByBank)->getIssuerList(), + 'payByBankDisplayMode' => $buckarooConfigService->getConfigValue('paybybank', 'display_type'), + 'creditcardIssuers' => $buckarooConfigService->getActiveCreditCards(), + 'creditCardDisplayMode' => $buckarooConfigService->getConfigValue('creditcard', 'display_type'), + 'in3Method' => $this->get('buckaroo.classes.issuers.capayableIn3')->getMethod(), ] ); } catch (Exception $e) { $this->logger->logError('Buckaroo3::hookPaymentOptions - ' . $e->getMessage()); } - return $this->buckarooPaymentService->getPaymentOptions($cart); - } - - public function getEntityManager() - { - if (!$this->entityManager) { - $this->entityManager = $this->symContainer->get('doctrine.orm.entity_manager'); - } - - return $this->entityManager; + return $buckarooPaymentService->getPaymentOptions($cart); } /** @@ -523,11 +464,10 @@ public function hookPaymentReturn($params) public function hookDisplayHeader() { - $buckarooFeeService = $this->getBuckarooFeeService(); Media::addJsDef([ 'buckarooAjaxUrl' => $this->context->link->getModuleLink('buckaroo3', 'ajax'), - 'buckarooFees' => $buckarooFeeService->getBuckarooFees(), + 'buckarooFees' => '', 'buckarooMessages' => [ 'validation' => [ 'date' => $this->l('Please enter correct birthdate date'), @@ -645,7 +585,7 @@ public function hookDisplayPDFInvoice($params) public function isPaymentModeActive($method) { $isLive = (int) \Configuration::get(Config::BUCKAROO_TEST); - $configArray = $this->buckarooConfigService->getConfigArrayForMethod($method); + $configArray = $this->getBuckarooConfigService()->getConfigArrayForMethod($method); if ($configArray === null) { return false; } @@ -661,13 +601,11 @@ public function isPaymentModeActive($method) public function isIdinProductBoxShow($params) { - $buckarooConfigService = $this->getBuckarooConfigService(); - if (!$this->isPaymentModeActive('idin')) { return false; } - switch ($buckarooConfigService->getConfigValue('idin', 'display_mode')) { + switch ($this->getBuckarooConfigService()->getConfigValue('idin', 'display_mode')) { case 'product': return $this->isProductBuckarooIdinEnabled($params['product']->id); case 'global': @@ -687,13 +625,12 @@ private function isProductBuckarooIdinEnabled($productId) public function isIdinCheckout($cart) { - $buckarooConfigService = $this->getBuckarooConfigService(); if (!$this->isPaymentModeActive('idin')) { return false; } - switch ($buckarooConfigService->getConfigValue('idin', 'display_mode')) { + switch ($this->getBuckarooConfigService()->getConfigValue('idin', 'display_mode')) { case 'product': foreach ($cart->getProducts(true) as $value) { return $this->isProductBuckarooIdinEnabled($value['id_product']); @@ -708,50 +645,17 @@ public function isIdinCheckout($cart) return false; } - public function getBuckarooCountriesService() - { - if (!isset($this->buckarooCountriesService)) { - $bkCountriesRepository = $this->getRepository(BkCountries::class, BkCountriesRepositoryInterface::class); - $this->buckarooCountriesService = new BuckarooCountriesService($bkCountriesRepository); - } - - return $this->buckarooCountriesService; - } - - public function getBuckarooOrderingRepository() - { - if (!isset($this->bkOrderingRepository)) { - $this->bkOrderingRepository = $this->getEntityManager()->getRepository(BkOrdering::class); - } - - return $this->bkOrderingRepository; - } - public function getBuckarooConfigService() { - if (!isset($this->buckarooConfigService)) { - $bkPaymentMethodRepository = $this->getRepository(BkPaymentMethods::class, BkPaymentMethodRepositoryInterface::class); - $bkOrderingRepository = $this->getBuckarooOrderingRepository(); - $bkConfigurationRepository = $this->getRepository(BkConfiguration::class, BkConfigurationRepositoryInterface::class); - - $this->buckarooConfigService = new BuckarooConfigService($bkPaymentMethodRepository, $bkOrderingRepository, $bkConfigurationRepository); - } - - return $this->buckarooConfigService; + return $this->symContainer->get('buckaroo.config.api.config.service'); } public function getBuckarooFeeService() { - if (!isset($this->buckarooFeeService)) { - $bkPaymentMethodRepository = $this->getRepository(BkPaymentMethods::class, BkPaymentMethodRepositoryInterface::class); - $bkConfigurationRepository = $this->getRepository(BkConfiguration::class, BkConfigurationRepositoryInterface::class); - - $this->buckarooFeeService = new BuckarooFeeService($bkConfigurationRepository, $bkPaymentMethodRepository, $this->logger); - } - - return $this->buckarooFeeService; + return $this->symContainer->get('buckaroo.config.api.fee.service'); } + public function hookDisplayProductExtraContent($params) { if ($this->isIdinProductBoxShow($params)) { @@ -807,17 +711,6 @@ private function updateProductFormHandler(array $params) } } - private function getRepository($class, $expectedInterface = null) - { - $repository = $this->getEntityManager()->getRepository($class); - - if ($expectedInterface && !$repository instanceof $expectedInterface) { - throw new \RuntimeException("The {$class} repository must implement {$expectedInterface}."); - } - - return $repository; - } - private function setContainer() { global $kernel; diff --git a/classes/CapayableIn3.php b/classes/CapayableIn3.php index dbac43aca..3240ab1f4 100644 --- a/classes/CapayableIn3.php +++ b/classes/CapayableIn3.php @@ -16,15 +16,8 @@ */ namespace Buckaroo\PrestaShop\Classes; - -use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; - class CapayableIn3 { - /** - * @var BuckarooConfigService - */ - protected BuckarooConfigService $buckarooConfigService; protected $apiVersion; protected $paymentLogo; public const VERSION_V2 = 'V2'; @@ -32,11 +25,10 @@ class CapayableIn3 public const LOGO_IN3_IDEAL_FILENAME = 'In3_ideal.svg?v1'; public const LOGO_DEFAULT = 'In3.svg?v'; - public function __construct() + public function __construct($buckarooConfigService) { - $this->buckarooConfigService = \Module::getInstanceByName('buckaroo3')->getBuckarooConfigService(); - $this->apiVersion = $this->buckarooConfigService->getConfigValue('in3', 'version'); - $this->paymentLogo = $this->buckarooConfigService->getConfigValue('in3', 'payment_logo'); + $this->apiVersion = $buckarooConfigService->getConfigValue('in3', 'version'); + $this->paymentLogo = $buckarooConfigService->getConfigValue('in3', 'payment_logo'); } public function isV3(): bool diff --git a/classes/JWTAuth.php b/classes/JWTAuth.php deleted file mode 100644 index 792c666dd..000000000 --- a/classes/JWTAuth.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @copyright Copyright (c) Buckaroo B.V. - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - */ - -namespace Buckaroo\PrestaShop\Classes; - -require_once _PS_MODULE_DIR_ . 'buckaroo3/vendor/autoload.php'; - -use Firebase\JWT\JWT; -use Firebase\JWT\Key; -use Buckaroo\PrestaShop\Src\Config\Config; - -class JWTAuth -{ - private $key; - - public function __construct() - { - $this->key = \Configuration::get(Config::BUCKAROO_SECRET_KEY); - } - - public function encode($data) - { - return JWT::encode($data, $this->key, 'HS256'); // Added 'HS256' as the algorithm - } - - public function decode($token) - { - return JWT::decode($token, new Key($this->key, 'HS256')); - } -} diff --git a/composer.json b/composer.json index e13a1d2b5..8d45dfae4 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,7 @@ ], "require": { "php": ">=7.4", - "buckaroo/sdk": "^1.8.0", - "firebase/php-jwt": "^6.8" + "buckaroo/sdk": "^1.8.0" }, "autoload": { "psr-4": { diff --git a/config/routes.yml b/config/routes.yml index 8e6150847..a6c4a44e2 100644 --- a/config/routes.yml +++ b/config/routes.yml @@ -2,4 +2,76 @@ buckaroo_refund: path: buckaroo3/refund methods: [POST] defaults: - _controller: 'buckaroo.refund_controller::refund' \ No newline at end of file + _controller: 'buckaroo.refund_controller::refund' + +buckaroo_config_paymentMethod: + path: buckaroo3/config/payment/methods + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.paymentMethod::initContent' + options: + expose: true + +buckaroo_config_countries: + path: buckaroo3/config/countries + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.countries::initContent' + options: + expose: true + +buckaroo_config_creditcards: + path: buckaroo3/config/creditcards + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.creditcards::initContent' + options: + expose: true + +buckaroo_config_orderings: + path: buckaroo3/config/orderings + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.orderings::initContent' + options: + expose: true + +buckaroo_config_methodMode: + path: buckaroo3/config/methodMode + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.methodMode::initContent' + options: + expose: true + +buckaroo_config_methods: + path: buckaroo3/config/methods + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.methods::initContent' + options: + expose: true + +buckaroo_config_settings: + path: buckaroo3/config/settings + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.settings::initContent' + options: + expose: true + +buckaroo_config_testCredentials: + path: buckaroo3/config/testCredentials + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.testCredentials::initContent' + options: + expose: true + +buckaroo_config_verificationMethods: + path: buckaroo3/config/verificationMethods + methods: [POST, GET] + defaults: + _controller: 'buckaroo.config.controllers.verificationMethods::initContent' + options: + expose: true \ No newline at end of file diff --git a/config/services.yml b/config/services.yml index d5b8e15c8..7b19c86a0 100644 --- a/config/services.yml +++ b/config/services.yml @@ -108,4 +108,90 @@ services: arguments: - '@=service("prestashop.adapter.data_provider.currency").getDefaultCurrency()' tags: - - { name: form.type } \ No newline at end of file + - { name: form.type } + + buckaroo.config.api.config.service: + class: Buckaroo\PrestaShop\Src\Service\BuckarooConfigService + arguments: + - "@doctrine.orm.entity_manager" + public: true + + buckaroo.config.controllers.paymentMethod: + class: Buckaroo\PrestaShop\Controllers\admin\PaymentMethodConfig + arguments: + - "@buckaroo.config.api.config.service" + public: true + + buckaroo.config.countries.service: + class: Buckaroo\PrestaShop\Src\Service\BuckarooCountriesService + arguments: + - "@doctrine.orm.entity_manager" + public: true + + buckaroo.config.controllers.countries: + class: Buckaroo\PrestaShop\Controllers\admin\Countries + arguments: + - "@buckaroo.config.countries.service" + public: true + + buckaroo.config.controllers.creditcards: + class: Buckaroo\PrestaShop\Controllers\admin\Creditcards + public: true + + buckaroo.config.controllers.orderings: + class: Buckaroo\PrestaShop\Controllers\admin\Orderings + arguments: + - "@doctrine.orm.entity_manager" + public: true + + buckaroo.config.controllers.methodMode: + class: Buckaroo\PrestaShop\Controllers\admin\PaymentMethodMode + arguments: + - "@buckaroo.config.api.config.service" + public: true + + buckaroo.config.controllers.methods: + class: Buckaroo\PrestaShop\Controllers\admin\PaymentMethods + arguments: + - "@buckaroo.config.api.config.service" + public: true + + buckaroo.config.controllers.settings: + class: Buckaroo\PrestaShop\Controllers\admin\Settings + public: true + + buckaroo.config.controllers.testCredentials: + class: Buckaroo\PrestaShop\Controllers\admin\TestCredentialsApi + public: true + + buckaroo.config.controllers.verificationMethods: + class: Buckaroo\PrestaShop\Controllers\admin\VerificationMethods + arguments: + - "@buckaroo.config.api.config.service" + public: true + + buckaroo.config.api.fee.service: + class: Buckaroo\PrestaShop\Src\Service\BuckarooFeeService + arguments: + - "@doctrine.orm.entity_manager" + public: true + + buckaroo.classes.issuers.payByBank: + class: Buckaroo\PrestaShop\Classes\IssuersPayByBank + public: true + + buckaroo.classes.issuers.capayableIn3: + class: Buckaroo\PrestaShop\Classes\CapayableIn3 + arguments: + - "@buckaroo.config.api.config.service" + public: true + + buckaroo.config.api.payment.service: + class: Buckaroo\PrestaShop\Src\Service\BuckarooPaymentService + arguments: + - "@doctrine.orm.entity_manager" + - "@buckaroo.config.api.fee.service" + - "@buckaroo.config.api.config.service" + - "@buckaroo.classes.issuers.payByBank" + - "@buckaroo.classes.issuers.capayableIn3" + public: true \ No newline at end of file diff --git a/controllers/admin/BaseApiController.php b/controllers/admin/BaseApiController.php new file mode 100644 index 000000000..e2d3068c7 --- /dev/null +++ b/controllers/admin/BaseApiController.php @@ -0,0 +1,41 @@ + + * @copyright Copyright (c) Buckaroo B.V. + * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) + */ + +namespace Buckaroo\PrestaShop\Controllers\admin; +use PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController; +use Symfony\Component\HttpFoundation\JsonResponse; + +class BaseApiController extends FrameworkBundleAdminController +{ + + protected function sendResponse($data, $status = 200) + { + return new JsonResponse($data, $status); + } + + protected function sendErrorResponse($message, $status = 400) + { + return $this->sendResponse(['error' => $message], $status); + } + + protected function getJsonInput(): array + { + $rawData = \Tools::file_get_contents('php://input'); + + return json_decode($rawData, true); + } +} diff --git a/controllers/front/countries.php b/controllers/admin/Countries.php similarity index 67% rename from controllers/front/countries.php rename to controllers/admin/Countries.php index 4c37e8c22..b77f1728c 100644 --- a/controllers/front/countries.php +++ b/controllers/admin/Countries.php @@ -15,27 +15,23 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include_once dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; +use Buckaroo\PrestaShop\Controllers\admin\BaseApiController; use Buckaroo\PrestaShop\Src\Service\BuckarooCountriesService; +use Doctrine\ORM\EntityManager; -class Buckaroo3CountriesModuleFrontController extends BaseApiController +class Countries extends BaseApiController { private BuckarooCountriesService $buckarooCountriesService; - public $module; - public function __construct() + public function __construct(BuckarooCountriesService $buckarooCountriesService) { - parent::__construct(); - - $this->buckarooCountriesService = $this->module->getBuckarooCountriesService(); + $this->buckarooCountriesService = $buckarooCountriesService; } public function initContent() { - parent::initContent(); - $this->authenticate(); - $countries = $this->buckarooCountriesService->synchronizeCountries(); $data = [ @@ -43,6 +39,6 @@ public function initContent() 'countries' => $countries, ]; - $this->sendResponse($data); + return $this->sendResponse($data); } } diff --git a/controllers/front/creditcards.php b/controllers/admin/Creditcards.php similarity index 78% rename from controllers/front/creditcards.php rename to controllers/admin/Creditcards.php index 7ad2c797b..0e7f1b853 100644 --- a/controllers/front/creditcards.php +++ b/controllers/admin/Creditcards.php @@ -15,25 +15,22 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -use Buckaroo\PrestaShop\Src\Repository\RawCreditCardsRepository; +namespace Buckaroo\PrestaShop\Controllers\admin; -include_once dirname(__FILE__) . '/BaseApiController.php'; +use Buckaroo\PrestaShop\Controllers\admin\BaseApiController; +use Buckaroo\PrestaShop\Src\Repository\RawCreditCardsRepository; -class Buckaroo3CreditCardsModuleFrontController extends BaseApiController +class Creditcards extends BaseApiController { private RawCreditCardsRepository $creditCardsRepository; public function __construct() { - parent::__construct(); - $this->creditCardsRepository = new RawCreditCardsRepository(); } public function initContent() { - parent::initContent(); - $this->authenticate(); $countries = $this->creditCardsRepository->getCreditCardsFromDB(); @@ -42,6 +39,6 @@ public function initContent() 'creditcards' => $countries, ]; - $this->sendResponse($data); + return $this->sendResponse($data); } } diff --git a/controllers/front/orderings.php b/controllers/admin/Orderings.php similarity index 72% rename from controllers/front/orderings.php rename to controllers/admin/Orderings.php index 42eeeab97..077d57366 100644 --- a/controllers/front/orderings.php +++ b/controllers/admin/Orderings.php @@ -15,43 +15,40 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include_once dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; -class Buckaroo3OrderingsModuleFrontController extends BaseApiController +use Doctrine\ORM\EntityManager; +use Buckaroo\PrestaShop\Src\Entity\BkOrdering; +use Buckaroo\PrestaShop\Controllers\admin\BaseApiController; + +class Orderings extends BaseApiController { private $bkOrderingRepository; public $module; - public function __construct() + public function __construct(EntityManager $entityManager) { - parent::__construct(); - - $this->bkOrderingRepository = $this->module->getBuckarooOrderingRepository(); + $this->bkOrderingRepository = $entityManager->getRepository(BkOrdering::class); } public function initContent() { - parent::initContent(); - $this->authenticate(); - switch ($_SERVER['REQUEST_METHOD']) { case 'GET': - $this->handleGet(); - break; + return $this->handleGet(); case 'POST': - $this->handlePost(); - break; + return $this->handlePost(); } } private function handleGet() { - $countryCode = Tools::getValue('country'); + $countryCode = \Tools::getValue('country'); $countryCode = !empty($countryCode) ? $countryCode : null; $ordering = $this->getOrdering($countryCode); - $this->sendResponse([ + return $this->sendResponse([ 'status' => true, 'orderings' => $ordering, ]); @@ -70,16 +67,14 @@ private function handlePost() $value = $this->getValueOrNull($data, 'value'); if (!$value) { - $this->sendResponse([ + return $this->sendResponse([ 'status' => false, 'message' => 'Missing or invalid data', ]); - - return; } $result = $this->bkOrderingRepository->updateOrdering(json_encode($value), $countryId); - $this->sendResponse(['status' => $result]); + return $this->sendResponse(['status' => $result]); } private function getValueOrNull(array $data, $key) diff --git a/controllers/front/paymentMethodConfig.php b/controllers/admin/PaymentMethodConfig.php similarity index 69% rename from controllers/front/paymentMethodConfig.php rename to controllers/admin/PaymentMethodConfig.php index cab5c5f76..5cb9824c1 100644 --- a/controllers/front/paymentMethodConfig.php +++ b/controllers/admin/PaymentMethodConfig.php @@ -15,32 +15,30 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; +use Tools; use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; +use Buckaroo\PrestaShop\Controllers\admin\BaseApiController; -class Buckaroo3PaymentMethodConfigModuleFrontController extends BaseApiController + +class PaymentMethodConfig extends BaseApiController { private BuckarooConfigService $buckarooConfigService; - public $module; - public function __construct() + public function __construct(BuckarooConfigService $buckarooConfigService) { - parent::__construct(); - $this->buckarooConfigService = $this->module->getBuckarooConfigService(); + $this->buckarooConfigService = $buckarooConfigService; } public function initContent() { - parent::initContent(); - $this->authenticate(); - switch ($_SERVER['REQUEST_METHOD']) { case 'GET': - $this->handleGet(); + return $this->handleGet(); break; case 'POST': - $this->handlePost(); + return $this->handlePost(); break; } } @@ -51,9 +49,7 @@ private function handleGet() $paymentName = Tools::getValue('paymentName'); if (!$paymentName) { - $this->sendErrorResponse('Payment name is missing.', 400); - - return; + return $this->sendErrorResponse('Payment name is missing.', 400); } $data = [ @@ -63,7 +59,7 @@ private function handleGet() ], ]; - $this->sendResponse($data); + return $this->sendResponse($data); } private function handlePost() @@ -72,11 +68,9 @@ private function handlePost() $paymentName = Tools::getValue('paymentName'); if (!$paymentName || !$data) { - $this->sendErrorResponse('Invalid data provided.', 400); - - return; + return $this->sendErrorResponse('Invalid data provided.', 400); } $result = $this->buckarooConfigService->updatePaymentMethodConfig($paymentName, $data); // Call the repository to update the data - $this->sendResponse(['status' => $result]); + return $this->sendResponse(['status' => $result]); } } diff --git a/controllers/front/paymentMethodMode.php b/controllers/admin/PaymentMethodMode.php similarity index 57% rename from controllers/front/paymentMethodMode.php rename to controllers/admin/PaymentMethodMode.php index 2b93f46de..b552f8652 100644 --- a/controllers/front/paymentMethodMode.php +++ b/controllers/admin/PaymentMethodMode.php @@ -15,40 +15,33 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; +use Symfony\Component\HttpFoundation\Request; use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; +use Buckaroo\PrestaShop\Controllers\admin\BaseApiController; -class Buckaroo3PaymentMethodModeModuleFrontController extends BaseApiController +class PaymentMethodMode extends BaseApiController { private BuckarooConfigService $buckarooConfigService; - public function __construct() + public function __construct(BuckarooConfigService $buckarooConfigService) { - parent::__construct(); - - $this->buckarooConfigService = $this->module->getBuckarooConfigService(); + $this->buckarooConfigService = $buckarooConfigService; } - public function initContent() + public function initContent(Request $request) { - parent::initContent(); - $this->authenticate(); - if ($_SERVER['REQUEST_METHOD'] !== 'POST') { - $this->sendErrorResponse('Invalid request method', 405); // 405: Method Not Allowed - - return; + return $this->sendErrorResponse('Invalid request method', 405); // 405: Method Not Allowed } $data = $this->getJsonInput(); if (!isset($data['name'], $data['mode'])) { - $this->sendErrorResponse('Required data not provided', 400); // 400: Bad Request - - return; + return $this->sendErrorResponse('Required data not provided', 400); // 400: Bad Request } $this->buckarooConfigService->updatePaymentMethodMode($data['name'], $data['mode']); - $this->sendResponse(['status' => true]); + return $this->sendResponse(['status' => true]); } } diff --git a/controllers/front/paymentMethods.php b/controllers/admin/PaymentMethods.php similarity index 73% rename from controllers/front/paymentMethods.php rename to controllers/admin/PaymentMethods.php index be9adb41c..61c19c180 100644 --- a/controllers/front/paymentMethods.php +++ b/controllers/admin/PaymentMethods.php @@ -15,30 +15,24 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include_once dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; -class Buckaroo3PaymentMethodsModuleFrontController extends BaseApiController +class PaymentMethods extends BaseApiController { private BuckarooConfigService $buckarooConfigService; - public $module; - - public function __construct() + public function __construct(BuckarooConfigService $buckarooConfigService) { - parent::__construct(); - $this->buckarooConfigService = $this->module->getBuckarooConfigService(); + $this->buckarooConfigService = $buckarooConfigService; } public function initContent() { - parent::initContent(); - $this->authenticate(); - $data = $this->getAllPaymentMethods(); - $this->sendResponse($data); + return $this->sendResponse($data); } public function getAllPaymentMethods() diff --git a/controllers/front/settings.php b/controllers/admin/Settings.php similarity index 73% rename from controllers/front/settings.php rename to controllers/admin/Settings.php index 1057373d5..89fbe750e 100644 --- a/controllers/front/settings.php +++ b/controllers/admin/Settings.php @@ -15,32 +15,26 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; use Buckaroo\PrestaShop\Src\Service\BuckarooSettingsService; -class Buckaroo3SettingsModuleFrontController extends BaseApiController +class Settings extends BaseApiController { private BuckarooSettingsService $settingsService; public function __construct() { - parent::__construct(); $this->settingsService = new BuckarooSettingsService(); } public function initContent() { - parent::initContent(); - $this->authenticate(); - switch ($_SERVER['REQUEST_METHOD']) { case 'GET': - $this->handleGet(); - break; + return $this->handleGet(); case 'POST': - $this->handlePost(); - break; + return $this->handlePost(); } } @@ -51,7 +45,7 @@ private function handleGet() 'settings' => $this->settingsService->getSettings(), ]; - $this->sendResponse($data); + return $this->sendResponse($data); } private function handlePost() @@ -66,9 +60,8 @@ private function handlePost() 'settings' => $this->settingsService->getSettings(), ]; - $this->sendResponse($data); - } else { - $this->sendErrorResponse('Invalid input data', 400); + return $this->sendResponse($data); } + return $this->sendErrorResponse('Invalid input data', 400); } } diff --git a/controllers/front/testCredentialsApi.php b/controllers/admin/TestCredentialsApi.php similarity index 74% rename from controllers/front/testCredentialsApi.php rename to controllers/admin/TestCredentialsApi.php index d50e6356d..a1cbc28ce 100644 --- a/controllers/front/testCredentialsApi.php +++ b/controllers/admin/TestCredentialsApi.php @@ -15,16 +15,12 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -include dirname(__FILE__) . '/BaseApiController.php'; +namespace Buckaroo\PrestaShop\Controllers\admin; use Buckaroo\BuckarooClient; -class Buckaroo3TestCredentialsApiModuleFrontController extends BaseApiController +class TestCredentialsApi extends BaseApiController { - public function initContent() - { - parent::initContent(); - } /** * @throws PrestaShopException @@ -34,15 +30,15 @@ public function postProcess() $data = $this->getJsonInput(); if (empty($data['website_key']) || empty($data['secret_key'])) { - $this->ajaxRender(json_encode([ + return $this->sendResponse([ 'status' => false, 'message' => 'Missing website_key or secret_key', - ])); + ]); } $buckarooClient = new BuckarooClient($data['website_key'], $data['secret_key']); $status = $buckarooClient->confirmCredential(); - $this->ajaxRender(json_encode(['status' => $status])); + return $this->sendResponse(['status' => $status]); } } diff --git a/controllers/front/verificationMethods.php b/controllers/admin/VerificationMethods.php similarity index 69% rename from controllers/front/verificationMethods.php rename to controllers/admin/VerificationMethods.php index df205ecdd..5e952c60c 100644 --- a/controllers/front/verificationMethods.php +++ b/controllers/admin/VerificationMethods.php @@ -1,4 +1,5 @@ buckarooConfigService = $this->module->getBuckarooConfigService(); + $this->buckarooConfigService = $buckarooConfigService; } public function initContent() { - parent::initContent(); - $this->authenticate(); - $data = $this->getAllPaymentMethods(); - $this->sendResponse($data); + return $this->sendResponse($data); } public function getAllPaymentMethods() diff --git a/controllers/front/BaseApiController.php b/controllers/front/BaseApiController.php deleted file mode 100644 index 531be17d5..000000000 --- a/controllers/front/BaseApiController.php +++ /dev/null @@ -1,65 +0,0 @@ - - * @copyright Copyright (c) Buckaroo B.V. - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - */ -use Buckaroo\PrestaShop\Classes\JWTAuth; - -class BaseApiController extends ModuleFrontController -{ - protected $jwt; - - public $module; - - public function __construct() - { - parent::__construct(); - $this->jwt = new JWTAuth(); - } - - protected function authenticate() - { - $headers = getallheaders(); - $authHeader = isset($headers['Authorization']) ? $headers['Authorization'] : null; - - if (!$authHeader || stripos($authHeader, 'Bearer ') !== 0) { - $this->sendErrorResponse('Unauthorized', 401); - } - - $token = substr($authHeader, 7); - - if (!$this->jwt->decode($token)) { - $this->sendErrorResponse('Invalid token', 403); - } - } - - protected function sendResponse($data, $status = 200) - { - http_response_code($status); - header('Content-Type: application/json'); - $this->ajaxRender(json_encode($data)); - } - - protected function sendErrorResponse($message, $status = 400) - { - $this->sendResponse(['error' => $message], $status); - } - - protected function getJsonInput() - { - $rawData = \Tools::file_get_contents('php://input'); - - return json_decode($rawData, true); - } -} diff --git a/controllers/front/request.php b/controllers/front/request.php index 9683ff54f..5db7c9627 100644 --- a/controllers/front/request.php +++ b/controllers/front/request.php @@ -88,9 +88,7 @@ public function postProcess() $total = (float) $cart->getOrderTotal(true, Cart::BOTH); $payment_method = Tools::getValue('method'); - $buckarooFeeService = $this->module->getBuckarooFeeService(); - - $getBuckarooFeeValue = $buckarooFeeService->getBuckarooFeeValue($payment_method); + $getBuckarooFeeValue = $this->module->getBuckarooFeeService()->getBuckarooFeeValue($payment_method); if ($buckarooFee = $getBuckarooFeeValue) { $buckarooFee = trim($buckarooFee); diff --git a/dev/package-lock.json b/dev/package-lock.json index 266f4922b..09043bff5 100644 --- a/dev/package-lock.json +++ b/dev/package-lock.json @@ -9,6 +9,7 @@ "version": "0.1.0", "dependencies": { "core-js": "^3.8.3", + "fos-routing": "^0.0.6", "i": "^0.3.7", "npm": "^10.1.0", "or": "^0.2.0", @@ -38,7 +39,7 @@ "tailwindcss": "^3.3.2", "toastr": "^2.1.4", "typescript": "^4.6.4", - "vite": "^3.0.7", + "vite": "^3.2.7", "vite-plugin-css-injected-by-js": "^2.0.3", "vue-tsc": "^0.39.5", "vuedraggable": "^4.1.0" @@ -11051,6 +11052,11 @@ "node": ">= 0.6" } }, + "node_modules/fos-routing": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/fos-routing/-/fos-routing-0.0.6.tgz", + "integrity": "sha512-+eeaFADJSbxdBI7l/hqZGZlvYmxFudOhiv+GHypQHvzbkr05pBYrm7AON80uuQp+3kBDiaRSh8Ln34Y1rHYzYw==" + }, "node_modules/fraction.js": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", diff --git a/dev/package.json b/dev/package.json index c2f5d3f85..1987bdf72 100644 --- a/dev/package.json +++ b/dev/package.json @@ -9,6 +9,7 @@ }, "dependencies": { "core-js": "^3.8.3", + "fos-routing": "^0.0.6", "i": "^0.3.7", "npm": "^10.1.0", "or": "^0.2.0", @@ -38,7 +39,7 @@ "tailwindcss": "^3.3.2", "toastr": "^2.1.4", "typescript": "^4.6.4", - "vite": "^3.0.7", + "vite": "^3.2.7", "vite-plugin-css-injected-by-js": "^2.0.3", "vue-tsc": "^0.39.5", "vuedraggable": "^4.1.0" diff --git a/dev/src/Dashboard.vue b/dev/src/Dashboard.vue index c40f4dcc3..f6f0b70ba 100644 --- a/dev/src/Dashboard.vue +++ b/dev/src/Dashboard.vue @@ -24,7 +24,7 @@ import VerificationMethods from "./pages/VerificationMethods.vue"; export default { name: "Dashboard", - props: ['jwt', 'baseUrl'], + props: ['token', 'baseUrl', 'adminUrl'], components: { VerificationMethods, Menu, @@ -38,9 +38,12 @@ export default { const paymentMethodsRef = ref(null) provide('view', view) - provide('signedJWT', props.jwt) + provide('csrfToken', props.token) provide('baseUrl', props.baseUrl) + provide('adminUrl', props.adminUrl) + console.log(props.adminUrl); + console.log(props.baseUrl); const changedView = (view) => { if (view === 'payment_methods' && paymentMethodsRef.value) { paymentMethodsRef.value.selectedPayment = null diff --git a/dev/src/components/PaymentMethodBlock.vue b/dev/src/components/PaymentMethodBlock.vue index ac1968a8c..b0d2ac41c 100644 --- a/dev/src/components/PaymentMethodBlock.vue +++ b/dev/src/components/PaymentMethodBlock.vue @@ -53,7 +53,7 @@ export default { }, setup(props) { const { toastr } = useToastr() - const { post, data, loading, setEndpoint } = useApi('index.php?fc=module&module=buckaroo3&controller=paymentMethodMode') + const { post, data, loading, setEndpoint } = useApi('buckaroo_config_methodMode') const paymentState = ref((props.payment.config)? (props.payment.config.value.enabled ?? 0) : 0) const baseUrl = inject('baseUrl'); diff --git a/dev/src/components/VerificationMethodBlock.vue b/dev/src/components/VerificationMethodBlock.vue index 43eef9efc..eafc8bb15 100644 --- a/dev/src/components/VerificationMethodBlock.vue +++ b/dev/src/components/VerificationMethodBlock.vue @@ -53,7 +53,7 @@ export default { }, setup(props) { const { toastr } = useToastr() - const { post, data, loading, setEndpoint } = useApi('index.php?fc=module&module=buckaroo3&controller=paymentMethodMode') + const { post, data, loading, setEndpoint } = useApi('buckaroo_config_methodMode') const paymentState = ref((props.payment.config)? (props.payment.config.value.enabled ?? 0) : 0) const baseUrl = inject('baseUrl'); diff --git a/dev/src/components/fields/ActiveCreditcards.vue b/dev/src/components/fields/ActiveCreditcards.vue index 13d2268c5..ed0098053 100644 --- a/dev/src/components/fields/ActiveCreditcards.vue +++ b/dev/src/components/fields/ActiveCreditcards.vue @@ -59,7 +59,7 @@ export default { const activatedCreditcards = ref(props.modelValue ?? []); const baseUrl = inject('baseUrl'); - const { get, data } = useApi('index.php?fc=module&module=buckaroo3&controller=creditcards'); + const { get, data } = useApi('buckaroo_config_creditcards'); get().then(() => { if(data.value.status) { diff --git a/dev/src/components/payments/DefaultPaymentConfig.vue b/dev/src/components/payments/DefaultPaymentConfig.vue index 583b5d4fe..0b7b8008d 100644 --- a/dev/src/components/payments/DefaultPaymentConfig.vue +++ b/dev/src/components/payments/DefaultPaymentConfig.vue @@ -191,7 +191,7 @@ export default { }, setup(props) { - const { get, data, loading, post, setEndpoint } = useApi(`index.php?fc=module&module=buckaroo3&controller=paymentMethodConfig&paymentName=${props.payment.name}`) + const { get, data, loading, post, setEndpoint } = useApi(`buckaroo_config_paymentMethod`) const { toastr } = useToastr() const { countries } = useCountries() const selectCountry = ref(null) @@ -210,7 +210,7 @@ export default { provide('config', config) const getConfig = () => { - get().then(() => { + get({paymentName:props.payment.name}).then(() => { if(data.value.status) { if(data.value.config) { config.value = data.value.config.value @@ -232,7 +232,7 @@ export default { } const updateConfig = () => { - post(config.value).then(() => { + post(config.value, {paymentName:props.payment.name}).then(() => { if(data.value.status) { toastr.success(`Settings successfully updated.`) diff --git a/dev/src/components/verifications/DefaultVerificationConfig.vue b/dev/src/components/verifications/DefaultVerificationConfig.vue index 6291289c8..71584ac6c 100644 --- a/dev/src/components/verifications/DefaultVerificationConfig.vue +++ b/dev/src/components/verifications/DefaultVerificationConfig.vue @@ -151,7 +151,7 @@ export default { }, setup(props) { - const { get, data, loading, post, setEndpoint } = useApi(`index.php?fc=module&module=buckaroo3&controller=paymentMethodConfig&paymentName=${props.payment.name}`) + const { get, data, loading, post, setEndpoint } = useApi(`buckaroo_config_paymentMethod`) const { toastr } = useToastr() const { countries } = useCountries() const selectCountry = ref(null) @@ -167,7 +167,7 @@ export default { provide('config', config) const getConfig = () => { - get().then(() => { + get({paymentName:props.payment.name}).then(() => { if(data.value.status) { if(data.value.config) { config.value = data.value.config.value @@ -186,7 +186,7 @@ export default { } const updateConfig = () => { - post(config.value).then(() => { + post(config.value, {paymentName:props.payment.name}).then(() => { if(data.value.status) { toastr.success(`Settings successfully updated.`) diff --git a/dev/src/fos_js_routes.json b/dev/src/fos_js_routes.json new file mode 100644 index 000000000..4ad6abda9 --- /dev/null +++ b/dev/src/fos_js_routes.json @@ -0,0 +1 @@ +{"base_url":"","routes":{"admin_common_notifications":{"tokens":[["text","\/common\/notifications"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_product_form":{"tokens":[["variable","\/","\\d+","id"],["text","\/sell\/catalog\/products"]],"defaults":[],"requirements":{"id":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_feature_get_feature_values":{"tokens":[["variable","\/","\\d+","idFeature"],["text","\/sell\/catalog\/products\/features"]],"defaults":{"idFeature":0},"requirements":{"idFeature":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_products_combinations":{"tokens":[["text","\/combinations"],["variable","\/","[^\/]++","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_products_combinations_ids":{"tokens":[["text","\/combinations\/ids"],["variable","\/","[^\/]++","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_products_combinations_update_combination_from_listing":{"tokens":[["text","\/update-combination-from-listing"],["variable","\/","[^\/]++","productId"],["text","\/sell\/catalog\/products-v2\/combinations"]],"defaults":[],"requirements":{"combinationId":"\\d+"},"hosttokens":[],"methods":["PATCH"],"schemes":[]},"admin_products_combinations_edit_combination":{"tokens":[["text","\/edit"],["variable","\/","\\d+","combinationId"],["text","\/sell\/catalog\/products-v2\/combinations"]],"defaults":[],"requirements":{"combinationId":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_products_combinations_bulk_edit_combination":{"tokens":[["text","\/combinations\/bulk-edit"],["variable","\/","\\d+","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["PATCH"],"schemes":[]},"admin_products_combinations_delete_combination":{"tokens":[["text","\/delete"],["variable","\/","\\d+","combinationId"],["text","\/sell\/catalog\/products-v2\/combinations"]],"defaults":[],"requirements":{"combinationId":"\\d+"},"hosttokens":[],"methods":["DELETE"],"schemes":[]},"admin_products_combinations_bulk_delete":{"tokens":[["text","\/combinations\/bulk-delete"],["variable","\/","\\d+","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_attribute_groups":{"tokens":[["text","\/attribute-groups"],["variable","\/","[^\/]++","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_all_attribute_groups":{"tokens":[["text","\/sell\/catalog\/products-v2\/all-attribute-groups"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_products_combinations_generate":{"tokens":[["variable","\/","[^\/]++","productId"],["text","\/sell\/catalog\/products-v2\/generate-combinations"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_v2_get_images":{"tokens":[["text","\/images"],["variable","\/","\\d+","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_products_v2_add_image":{"tokens":[["text","\/sell\/catalog\/products-v2\/images\/add"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_v2_update_image":{"tokens":[["text","\/update"],["variable","\/","\\d+","productImageId"],["text","\/sell\/catalog\/products-v2\/images"]],"defaults":[],"requirements":{"productImageId":"\\d+"},"hosttokens":[],"methods":["PATCH"],"schemes":[]},"admin_products_v2_delete_image":{"tokens":[["text","\/delete"],["variable","\/","\\d+","productImageId"],["text","\/sell\/catalog\/products-v2\/images"]],"defaults":[],"requirements":{"productImageId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_specific_prices_list":{"tokens":[["text","\/specific-prices\/list"],["variable","\/","\\d+","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_products_specific_prices_create":{"tokens":[["text","\/specific-prices\/create"],["variable","\/","\\d+","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_products_specific_prices_edit":{"tokens":[["text","\/edit"],["variable","\/","\\d+","specificPriceId"],["text","\/sell\/catalog\/products-v2\/specific-prices"]],"defaults":[],"requirements":{"specificPriceId":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_products_specific_prices_delete":{"tokens":[["text","\/delete"],["variable","\/","\\d+","specificPriceId"],["text","\/sell\/catalog\/products-v2\/specific-prices"]],"defaults":[],"requirements":{"specificPriceId":"\\d+"},"hosttokens":[],"methods":["DELETE"],"schemes":[]},"admin_products_v2_edit":{"tokens":[["text","\/edit"],["variable","\/","\\d+","productId"],["text","\/sell\/catalog\/products-v2"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["GET","POST","PATCH"],"schemes":[]},"admin_products_v2_bulk_enable":{"tokens":[["text","\/sell\/catalog\/products-v2\/bulk-enable"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_v2_bulk_disable":{"tokens":[["text","\/sell\/catalog\/products-v2\/bulk-disable"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_v2_bulk_duplicate":{"tokens":[["text","\/sell\/catalog\/products-v2\/bulk-duplicate"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_products_v2_bulk_delete":{"tokens":[["text","\/sell\/catalog\/products-v2\/bulk-delete"]],"defaults":[],"requirements":{"productId":"\\d+"},"hosttokens":[],"methods":["POST","DELETE"],"schemes":[]},"admin_categories_get_categories_tree":{"tokens":[["text","\/sell\/catalog\/categories\/tree"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_cart_rules_search":{"tokens":[["text","\/sell\/catalog\/cart-rules\/search"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_customers_view":{"tokens":[["text","\/view"],["variable","\/","\\d+","customerId"],["text","\/sell\/customers"]],"defaults":[],"requirements":{"customerId":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_customers_search":{"tokens":[["text","\/sell\/customers\/search"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_customers_carts":{"tokens":[["text","\/carts"],["variable","\/","\\d+","customerId"],["text","\/sell\/customers"]],"defaults":[],"requirements":{"customerId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_customers_orders":{"tokens":[["text","\/orders"],["variable","\/","\\d+","customerId"],["text","\/sell\/customers"]],"defaults":[],"requirements":{"customerId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_addresses_create":{"tokens":[["text","\/sell\/addresses\/new"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_addresses_edit":{"tokens":[["text","\/edit"],["variable","\/","\\d+","addressId"],["text","\/sell\/addresses"]],"defaults":[],"requirements":{"addressId":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_order_addresses_edit":{"tokens":[["text","\/edit"],["variable","\/","delivery|invoice","addressType"],["variable","\/","\\d+","orderId"],["text","\/sell\/addresses\/order"]],"defaults":[],"requirements":{"orderId":"\\d+","addressType":"delivery|invoice"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_cart_addresses_edit":{"tokens":[["text","\/edit"],["variable","\/","delivery|invoice","addressType"],["variable","\/","\\d+","cartId"],["text","\/sell\/addresses\/cart"]],"defaults":[],"requirements":{"cartId":"\\d+","addressType":"delivery|invoice"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_carts_view":{"tokens":[["text","\/view"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_carts_info":{"tokens":[["text","\/info"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_carts_create":{"tokens":[["text","\/sell\/orders\/carts\/new"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_edit_addresses":{"tokens":[["text","\/addresses"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_edit_carrier":{"tokens":[["text","\/carrier"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_edit_currency":{"tokens":[["text","\/currency"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_edit_language":{"tokens":[["text","\/language"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_set_delivery_settings":{"tokens":[["text","\/rules\/delivery-settings"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_add_cart_rule":{"tokens":[["text","\/cart-rules"],["variable","\/","[^\/]++","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_delete_cart_rule":{"tokens":[["text","\/delete"],["variable","\/","[^\/]++","cartRuleId"],["text","\/cart-rules"],["variable","\/","[^\/]++","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_add_product":{"tokens":[["text","\/products"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_edit_product_price":{"tokens":[["text","\/price"],["variable","\/","\\d+","productId"],["text","\/products"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+","productId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_edit_product_quantity":{"tokens":[["text","\/quantity"],["variable","\/","\\d+","productId"],["text","\/products"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+","productId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_carts_delete_product":{"tokens":[["text","\/delete-product"],["variable","\/","\\d+","cartId"],["text","\/sell\/orders\/carts"]],"defaults":[],"requirements":{"cartId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_place":{"tokens":[["text","\/sell\/orders\/place"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_view":{"tokens":[["text","\/view"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET","POST"],"schemes":[]},"admin_orders_duplicate_cart":{"tokens":[["text","\/duplicate-cart"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_update_product":{"tokens":[["variable","\/","\\d+","orderDetailId"],["text","\/products"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+","orderDetailId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_partial_refund":{"tokens":[["text","\/partial-refund"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_standard_refund":{"tokens":[["text","\/standard-refund"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_return_product":{"tokens":[["text","\/return-product"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_send_process_order_email":{"tokens":[["text","\/sell\/orders\/process-order-email"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_add_product":{"tokens":[["text","\/products"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_delete_product":{"tokens":[["text","\/delete"],["variable","\/","\\d+","orderDetailId"],["text","\/products"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+","orderDetailId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_get_discounts":{"tokens":[["text","\/discounts"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_get_prices":{"tokens":[["text","\/prices"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_get_payments":{"tokens":[["text","\/payments"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_get_products":{"tokens":[["text","\/products"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_get_invoices":{"tokens":[["text","\/invoices"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_get_documents":{"tokens":[["text","\/documents"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_get_shipping":{"tokens":[["text","\/shipping"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_cancellation":{"tokens":[["text","\/cancellation"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_configure_product_pagination":{"tokens":[["text","\/sell\/orders\/configure-product-pagination"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST"],"schemes":[]},"admin_orders_product_prices":{"tokens":[["text","\/products\/prices"],["variable","\/","\\d+","orderId"],["text","\/sell\/orders"]],"defaults":[],"requirements":{"orderId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_orders_products_search":{"tokens":[["text","\/sell\/orders\/products\/search"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_attachments_attachment_info":{"tokens":[["text","\/info"],["variable","\/","\\d+","attachmentId"],["text","\/sell\/attachments"]],"defaults":[],"requirements":{"attachmentId":"\\d+"},"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_attachments_search":{"tokens":[["variable","\/","[^\/]++","searchPhrase"],["text","\/sell\/attachments\/search"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"admin_shops_search":{"tokens":[["variable","\/","[^\/]++","searchTerm"],["text","\/configure\/advanced\/shops\/search"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["GET"],"schemes":[]},"buckaroo_config_paymentMethod":{"tokens":[["text","\/modules\/buckaroo3\/config\/payment\/methods"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_countries":{"tokens":[["text","\/modules\/buckaroo3\/config\/countries"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_creditcards":{"tokens":[["text","\/modules\/buckaroo3\/config\/creditcards"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_orderings":{"tokens":[["text","\/modules\/buckaroo3\/config\/orderings"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_methodMode":{"tokens":[["text","\/modules\/buckaroo3\/config\/methodMode"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_methods":{"tokens":[["text","\/modules\/buckaroo3\/config\/methods"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_settings":{"tokens":[["text","\/modules\/buckaroo3\/config\/settings"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_testCredentials":{"tokens":[["text","\/modules\/buckaroo3\/config\/testCredentials"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]},"buckaroo_config_verificationMethods":{"tokens":[["text","\/modules\/buckaroo3\/config\/verificationMethods"]],"defaults":[],"requirements":[],"hosttokens":[],"methods":["POST","GET"],"schemes":[]}},"prefix":"","host":"localhost","port":"","scheme":"http","locale":""} \ No newline at end of file diff --git a/dev/src/lib/api.ts b/dev/src/lib/api.ts index 74855faad..16fcc6ef5 100644 --- a/dev/src/lib/api.ts +++ b/dev/src/lib/api.ts @@ -1,47 +1,27 @@ import axios from 'axios'; import { computed, ref, watch, inject } from 'vue'; +import Router from './router'; -export const useApi = (endpoint: string, access_token?: string) => { - const signedJWT = inject('signedJWT') - const baseUrl = inject('baseUrl') +export const useApi = (endpoint: string) => { + const csrfToken: string = inject('csrfToken') + const adminUrl: string = inject('adminUrl') - var endPoint = endpoint - var headers = { - Authorization: `Bearer ${signedJWT ?? access_token}`, - 'Content-Type': 'application/json' - } + let router = new Router(adminUrl, csrfToken) const data = ref(); const loading = ref(false); const error = ref(); const api = axios.create({ - baseURL: baseUrl + '' + baseURL: adminUrl + '' }) const get = (query?: Record) => { loading.value = true error.value = undefined - let queryString = '' - - if (query) { - queryString = - '?' + - Object.entries(query) - .map( - ([key, value]) => - `${encodeURIComponent(key)}=${encodeURIComponent( - value - )}` - ) - .join('&') - } - return api - .get(endPoint + queryString, { - headers: headers - }) + .get(router.generate(endpoint, query)) .then((res) => (data.value = res.data)) .catch((e) => { error.value = e @@ -51,14 +31,11 @@ export const useApi = (endpoint: string, access_token?: string) => { .finally(() => (loading.value = false)) } - const post = (payload?: Record) => { + const post = (payload?: Record, query?: Record) => { loading.value = true error.value = undefined - return api - .post(endPoint, payload, { - headers: headers - }) + .post(router.generate(endpoint, query), payload) .then((res) => (data.value = res.data)) .catch((e) => { error.value = e; diff --git a/dev/src/lib/countries.ts b/dev/src/lib/countries.ts index 8d5720f68..c18ed7009 100644 --- a/dev/src/lib/countries.ts +++ b/dev/src/lib/countries.ts @@ -8,7 +8,7 @@ const query = ref(null) export const useCountries = () => { - const { get, data } = useApi('index.php?fc=module&module=buckaroo3&controller=countries') + const { get, data } = useApi('buckaroo_config_countries') get().then(() => { if(data.value.status) { diff --git a/dev/src/lib/orderingsService.ts b/dev/src/lib/orderingsService.ts index bd8e8beb7..5772dfac0 100644 --- a/dev/src/lib/orderingsService.ts +++ b/dev/src/lib/orderingsService.ts @@ -2,7 +2,7 @@ import { ref } from "vue"; import { useApi } from "./api"; export const useOrderingsService = () => { - const { get, post, data } = useApi(`index.php?fc=module&module=buckaroo3&controller=orderings`); + const { get, post, data } = useApi(`buckaroo_config_orderings`); const paymentOrderings = ref(null); const getOrdering = (countryCode: string) => { diff --git a/dev/src/lib/router.ts b/dev/src/lib/router.ts new file mode 100644 index 000000000..54f917082 --- /dev/null +++ b/dev/src/lib/router.ts @@ -0,0 +1,42 @@ +import Routing from 'fos-routing'; +import routes from '../fos_js_routes.json'; + +/* eslint-disable */ +/** + * Wraps FOSJsRoutingbundle with exposed routes. + * To expose route add option `expose: true` in .yml routing config + * + * e.g. + * + * `my_route + * path: /my-path + * options: + * expose: true + * And run `bin/console fos:js-routing:dump --format=json --target=modules/buckaroo3/dev` + */ +/* eslint-enable */ +export default class Router { + + private token:string; + + constructor(adminUrl: string, token:string) { + Routing.setData(routes); + Routing.setBaseUrl(adminUrl); + this.token = token; + return this; + } + + /** + * Decorated "generate" method, with predefined security token in params + * + * @param route + * @param params + * + * @returns {String} + */ + generate(route: string, params: Record = {}): string { + const tokenizedParams = Object.assign(params, { _token: this.token }); + + return Routing.generate(route, tokenizedParams); + } +} \ No newline at end of file diff --git a/dev/src/pages/PaymentMethods.vue b/dev/src/pages/PaymentMethods.vue index 89ebaf334..8ba23a004 100644 --- a/dev/src/pages/PaymentMethods.vue +++ b/dev/src/pages/PaymentMethods.vue @@ -79,7 +79,7 @@ export default { }, setup() { const payments = ref([]) - const { get, data, loading } = useApi('index.php?fc=module&module=buckaroo3&controller=paymentMethods') + const { get, data, loading } = useApi('buckaroo_config_methods') const selectedPayment = ref(null) const getPayments = () => { diff --git a/dev/src/pages/Settings.vue b/dev/src/pages/Settings.vue index 5a0cdd5c7..542dad34d 100644 --- a/dev/src/pages/Settings.vue +++ b/dev/src/pages/Settings.vue @@ -244,8 +244,8 @@ export default { const settings = ref(null) const showAdvanceSettings = ref(false) - const {get, post, data, loading} = useApi('index.php?fc=module&module=buckaroo3&controller=settings') - const testCredentialsApi = useApi(`index.php?fc=module&module=buckaroo3&controller=testCredentialsApi`); + const {get, post, data, loading} = useApi('buckaroo_config_settings') + const testCredentialsApi = useApi(`buckaroo_config_testCredentials`); const {toastr} = useToastr() const credentialsAreValid = ref(null) const getSettings = () => { diff --git a/dev/src/pages/VerificationMethods.vue b/dev/src/pages/VerificationMethods.vue index e9548ce3f..ffe210d30 100644 --- a/dev/src/pages/VerificationMethods.vue +++ b/dev/src/pages/VerificationMethods.vue @@ -50,7 +50,7 @@ export default { }, setup() { const payments = ref([]) - const { get, data, loading } = useApi('index.php?fc=module&module=buckaroo3&controller=verificationMethods') + const { get, data, loading } = useApi('buckaroo_config_verificationMethods') const selectedVerification = ref(null) const getPayments = () => { diff --git a/library/checkout/checkout.php b/library/checkout/checkout.php index 900a17ed4..c60f3a061 100644 --- a/library/checkout/checkout.php +++ b/library/checkout/checkout.php @@ -14,7 +14,9 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ + use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; +use Buckaroo\PrestaShop\Src\Service\BuckarooFeeService; use PrestaShop\Decimal\DecimalNumber; include_once _PS_MODULE_DIR_ . 'buckaroo3/api/paymentmethods/paymentrequestfactory.php'; @@ -124,6 +126,11 @@ public function getReference() */ protected $buckarooConfigService; + /** + * @var BuckarooFeeService + */ + protected $buckarooFeeService; + public function __construct($cart) { $this->initialize(); @@ -137,6 +144,7 @@ public function __construct($cart) } $this->products = $this->cart->getProducts(); $this->buckarooConfigService = $this->module->getBuckarooConfigService(); + $this->buckarooFeeService = $this->module->getBuckarooFeeService(); } abstract protected function initialize(); @@ -170,8 +178,7 @@ protected function setCheckout() public function getBuckarooFee() { $payment_method = Tools::getValue('method'); - $buckarooFeeService = $this->module->getBuckarooFeeService(); - if ($buckarooFee = $buckarooFeeService->getBuckarooFeeValue($payment_method)) { + if ($buckarooFee = $this->buckarooFeeService->getBuckarooFeeValue($payment_method)) { // Remove any whitespace from the fee. $buckarooFee = trim($buckarooFee); diff --git a/src/Repository/PaymentMethodRepository.php b/src/Repository/PaymentMethodRepository.php index 66e01fd41..ae4816ce3 100644 --- a/src/Repository/PaymentMethodRepository.php +++ b/src/Repository/PaymentMethodRepository.php @@ -17,7 +17,6 @@ namespace Buckaroo\PrestaShop\Src\Repository; -use Buckaroo\PrestaShop\Classes\CapayableIn3; use Buckaroo\PrestaShop\Src\Entity\BkConfiguration; use Buckaroo\PrestaShop\Src\Entity\BkPaymentMethods; use Doctrine\ORM\EntityRepository; @@ -40,7 +39,7 @@ public function fetchMethodsFromDBWithConfig(int $isPaymentMethod): array throw new \Exception('Database error: Could not fetch payment methods with config'); } - $capayableIn3 = new CapayableIn3(); + $capayableIn3 = \Module::getInstanceByName('buckaroo3')->get('buckaroo.classes.issuers.capayableIn3'); $payments = []; foreach ($results as $result) { diff --git a/src/Service/BuckarooConfigService.php b/src/Service/BuckarooConfigService.php index e6c133470..dd1561c59 100644 --- a/src/Service/BuckarooConfigService.php +++ b/src/Service/BuckarooConfigService.php @@ -1,4 +1,5 @@ configurationRepository = $configurationRepository; - $this->paymentMethodRepository = $paymentMethodRepository; - $this->orderingRepository = $orderingRepository; + public function __construct(EntityManager $entityManager) + { + $this->paymentMethodRepository = $entityManager->getRepository(BkPaymentMethods::class); + $this->configurationRepository = $entityManager->getRepository(BkConfiguration::class); + $this->orderingRepository = $entityManager->getRepository(BkOrdering::class); } public function getConfigArrayForMethod($method) diff --git a/src/Service/BuckarooCountriesService.php b/src/Service/BuckarooCountriesService.php index 067a3e0f6..66ead8027 100644 --- a/src/Service/BuckarooCountriesService.php +++ b/src/Service/BuckarooCountriesService.php @@ -17,15 +17,16 @@ namespace Buckaroo\PrestaShop\Src\Service; -use Buckaroo\PrestaShop\Src\Repository\BkCountriesRepositoryInterface; +use Buckaroo\PrestaShop\Src\Entity\BkCountries; +use Doctrine\ORM\EntityManager; class BuckarooCountriesService { - protected BkCountriesRepositoryInterface $countryRepository; + protected $countryRepository; - public function __construct(BkCountriesRepositoryInterface $countryRepository) + public function __construct(EntityManager $entityManager) { - $this->countryRepository = $countryRepository; + $this->countryRepository = $entityManager->getRepository(BkCountries::class); } public function synchronizeCountries() diff --git a/src/Service/BuckarooFeeService.php b/src/Service/BuckarooFeeService.php index 4b8fb1cd4..380540ad4 100644 --- a/src/Service/BuckarooFeeService.php +++ b/src/Service/BuckarooFeeService.php @@ -17,20 +17,21 @@ namespace Buckaroo\PrestaShop\Src\Service; +use Doctrine\ORM\EntityManager; +use Buckaroo\PrestaShop\Src\Entity\BkConfiguration; +use Buckaroo\PrestaShop\Src\Entity\BkPaymentMethods; use PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException; class BuckarooFeeService { private $paymentMethodRepository; private $configurationRepository; - public $logger; private $locale; - public function __construct($bkConfigurationRepository, $bkPaymentMethodRepository, $logger) + public function __construct(EntityManager $entityManager) { - $this->configurationRepository = $bkConfigurationRepository; - $this->paymentMethodRepository = $bkPaymentMethodRepository; - $this->logger = $logger; + $this->configurationRepository = $entityManager->getRepository(BkConfiguration::class); + $this->paymentMethodRepository = $entityManager->getRepository(BkPaymentMethods::class); $this->locale = \Tools::getContextLocale(\Context::getContext()); } @@ -68,8 +69,6 @@ public function getConfigArrayForMethod($method) $paymentMethod = $this->paymentMethodRepository->findOneByName($method); if (!$paymentMethod) { - $this->logger->logError('Payment method not found: ' . $method); - return null; } diff --git a/src/Service/BuckarooPaymentService.php b/src/Service/BuckarooPaymentService.php index 9ca05688f..e4ecdedc3 100644 --- a/src/Service/BuckarooPaymentService.php +++ b/src/Service/BuckarooPaymentService.php @@ -19,7 +19,11 @@ require_once dirname(__FILE__) . '/../../library/checkout/billinkcheckout.php'; require_once dirname(__FILE__) . '/../../library/checkout/afterpaycheckout.php'; +include_once _PS_MODULE_DIR_ . 'buckaroo3/library/logger.php'; +use Buckaroo\PrestaShop\Src\Entity\BkOrdering; +use Buckaroo\PrestaShop\Src\Entity\BkPaymentMethods; +use Doctrine\ORM\EntityManager; use PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException; use PrestaShop\PrestaShop\Core\Payment\PaymentOption; @@ -35,26 +39,17 @@ class BuckarooPaymentService private $issuersPayByBank; private $capayableIn3; - public function __construct( - $module, - $buckarooConfigService, - $issuersPayByBank, - $logger, - $context, - $capayableIn3, - $buckarooFeeService, - $bkOrderingRepository, - $paymentMethodRepository - ) { - $this->module = $module; + public function __construct(EntityManager $entityManager, $buckarooFeeService, $buckarooConfigService, $issuersPayByBank, $capayableIn3) + { + $this->module = \Module::getInstanceByName('buckaroo3'); + $this->logger = new \Logger(\Logger::INFO, ''); + $this->context = \Context::getContext(); + $this->bkOrderingRepository = $entityManager->getRepository(BkOrdering::class); + $this->paymentMethodRepository = $entityManager->getRepository(BkPaymentMethods::class); + $this->buckarooFeeService = $buckarooFeeService; $this->buckarooConfigService = $buckarooConfigService; $this->issuersPayByBank = $issuersPayByBank; - $this->logger = $logger; - $this->context = $context; - $this->bkOrderingRepository = $bkOrderingRepository; $this->capayableIn3 = $capayableIn3; - $this->buckarooFeeService = $buckarooFeeService; - $this->paymentMethodRepository = $paymentMethodRepository; } public function getPaymentOptions($cart) diff --git a/views/js/buckaroo.vue.js b/views/js/buckaroo.vue.js index 02aa414ae..4d5cd0403 100644 --- a/views/js/buckaroo.vue.js +++ b/views/js/buckaroo.vue.js @@ -1,64 +1,64 @@ -var Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function T0(e){var n=e.default;if(typeof n=="function"){var r=function(){return n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),r}var rg={exports:{}};/** +var kI=Object.defineProperty;var LI=(e,n,r)=>n in e?kI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r;var cb=(e,n,r)=>(LI(e,typeof n!="symbol"?n+"":n,r),r);var Wo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function O0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function I0(e){var n=e.default;if(typeof n=="function"){var r=function(){return n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var a=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,a.get?a:{enumerable:!0,get:function(){return e[s]}})}),r}var sg={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(e,n){(function(){var r,i="4.17.21",a=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",g=500,y="__lodash_placeholder__",v=1,_=2,w=4,C=1,P=2,M=1,S=2,I=4,B=8,D=16,$=32,K=64,m=128,Y=256,j=512,G=30,re="...",pe=800,Z=16,le=1,Fe=2,Ee=3,Ae=1/0,$e=9007199254740991,tt=17976931348623157e292,Dt=0/0,ot=4294967295,mt=ot-1,zt=ot>>>1,qt=[["ary",m],["bind",M],["bindKey",S],["curry",B],["curryRight",D],["flip",j],["partial",$],["partialRight",K],["rearg",Y]],kt="[object Arguments]",dt="[object Array]",Nt="[object AsyncFunction]",en="[object Boolean]",It="[object Date]",Ht="[object DOMException]",gn="[object Error]",X="[object Function]",N="[object GeneratorFunction]",R="[object Map]",z="[object Number]",ie="[object Null]",ae="[object Object]",Te="[object Promise]",De="[object Proxy]",Ne="[object RegExp]",_e="[object Set]",oe="[object String]",he="[object Symbol]",je="[object Undefined]",we="[object WeakMap]",Je="[object WeakSet]",yt="[object ArrayBuffer]",ut="[object DataView]",ue="[object Float32Array]",de="[object Float64Array]",ye="[object Int8Array]",Re="[object Int16Array]",Be="[object Int32Array]",Ze="[object Uint8Array]",Xe="[object Uint8ClampedArray]",ht="[object Uint16Array]",tn="[object Uint32Array]",at=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bt=/&(?:amp|lt|gt|quot|#39);/g,Tt=/[&<>"']/g,Gn=RegExp(bt.source),Ns=RegExp(Tt.source),dr=/<%-([\s\S]+?)%>/g,kn=/<%([\s\S]+?)%>/g,ua=/<%=([\s\S]+?)%>/g,ip=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rc=/^\w*$/,ic=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gi=/[\\^$.*+?()[\]{}|]/g,Rs=RegExp(Gi.source),Eo=/^\s+/,ca=/\s/,sp=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,op=/\{\n\/\* \[wrapped with (.+)\] \*/,ap=/,? & /,sc=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lp=/[()=,{}\[\]\/\s]/,up=/\\(\\)?/g,oc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ac=/\w*$/,Ds=/^[-+]0x[0-9a-f]+$/i,lc=/^0b[01]+$/i,cl=/^\[object .+?Constructor\]$/,fl=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,uc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,da=/($^)/,wo=/['\n\r\u2028\u2029\\]/g,So="\\ud800-\\udfff",cc="\\u0300-\\u036f",fc="\\ufe20-\\ufe2f",dc="\\u20d0-\\u20ff",pc=cc+fc+dc,pa="\\u2700-\\u27bf",hc="a-z\\xdf-\\xf6\\xf8-\\xff",cp="\\xac\\xb1\\xd7\\xf7",gc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",mc="\\u2000-\\u206f",dl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pl="A-Z\\xc0-\\xd6\\xd8-\\xde",or="\\ufe0e\\ufe0f",us=cp+gc+mc+dl,ks="['\u2019]",fp="["+So+"]",vc="["+us+"]",Ms="["+pc+"]",hl="\\d+",ha="["+pa+"]",gl="["+hc+"]",yc="[^"+So+us+hl+pa+hc+pl+"]",ml="\\ud83c[\\udffb-\\udfff]",Zr="(?:"+Ms+"|"+ml+")",vl="[^"+So+"]",cs="(?:\\ud83c[\\udde6-\\uddff]){2}",yl="[\\ud800-\\udbff][\\udc00-\\udfff]",$s="["+pl+"]",zi="\\u200d",Yi="(?:"+gl+"|"+yc+")",bl="(?:"+$s+"|"+yc+")",bc="(?:"+ks+"(?:d|ll|m|re|s|t|ve))?",Fs="(?:"+ks+"(?:D|LL|M|RE|S|T|VE))?",_l=Zr+"?",ga="["+or+"]?",_c="(?:"+zi+"(?:"+[vl,cs,yl].join("|")+")"+ga+_l+")*",xc="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xl=ga+_l+_c,pp="(?:"+[ha,cs,yl].join("|")+")"+xl,hp="(?:"+[vl+Ms+"?",Ms,cs,yl,fp].join("|")+")",El=RegExp(ks,"g"),gp=RegExp(Ms,"g"),wl=RegExp(ml+"(?="+ml+")|"+hp+xl,"g"),mp=RegExp([$s+"?"+gl+"+"+bc+"(?="+[vc,$s,"$"].join("|")+")",bl+"+"+Fs+"(?="+[vc,$s+Yi,"$"].join("|")+")",$s+"?"+Yi+"+"+bc,$s+"+"+Fs,dp,xc,hl,pp].join("|"),"g"),vp=RegExp("["+zi+So+pc+or+"]"),yp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_p=-1,mn={};mn[ue]=mn[de]=mn[ye]=mn[Re]=mn[Be]=mn[Ze]=mn[Xe]=mn[ht]=mn[tn]=!0,mn[kt]=mn[dt]=mn[yt]=mn[en]=mn[ut]=mn[It]=mn[gn]=mn[X]=mn[R]=mn[z]=mn[ae]=mn[Ne]=mn[_e]=mn[oe]=mn[we]=!1;var un={};un[kt]=un[dt]=un[yt]=un[ut]=un[en]=un[It]=un[ue]=un[de]=un[ye]=un[Re]=un[Be]=un[R]=un[z]=un[ae]=un[Ne]=un[_e]=un[oe]=un[he]=un[Ze]=un[Xe]=un[ht]=un[tn]=!0,un[gn]=un[X]=un[we]=!1;var Ec={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Sl={"&":"&","<":"<",">":">",'"':""","'":"'"},wc={"&":"&","<":"<",">":">",""":'"',"'":"'"},Sc={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cl=parseFloat,xp=parseInt,Cc=typeof Wo=="object"&&Wo&&Wo.Object===Object&&Wo,Ep=typeof self=="object"&&self&&self.Object===Object&&self,Cn=Cc||Ep||Function("return this")(),ma=n&&!n.nodeType&&n,Pi=ma&&!0&&e&&!e.nodeType&&e,Tc=Pi&&Pi.exports===ma,Tl=Tc&&Cc.process,Dr=function(){try{var H=Pi&&Pi.require&&Pi.require("util").types;return H||Tl&&Tl.binding&&Tl.binding("util")}catch{}}(),c=Dr&&Dr.isArrayBuffer,h=Dr&&Dr.isDate,b=Dr&&Dr.isMap,E=Dr&&Dr.isRegExp,A=Dr&&Dr.isSet,O=Dr&&Dr.isTypedArray;function k(H,ee,q){switch(q.length){case 0:return H.call(ee);case 1:return H.call(ee,q[0]);case 2:return H.call(ee,q[0],q[1]);case 3:return H.call(ee,q[0],q[1],q[2])}return H.apply(ee,q)}function J(H,ee,q,Ce){for(var Oe=-1,ze=H==null?0:H.length;++Oe-1}function Me(H,ee,q){for(var Ce=-1,Oe=H==null?0:H.length;++Ce-1;);return q}function Oo(H,ee){for(var q=H.length;q--&&fn(ee,H[q],0)>-1;);return q}function ei(H,ee){for(var q=H.length,Ce=0;q--;)H[q]===ee&&++Ce;return Ce}var Bs=kr(Ec),wp=kr(Sl);function Sp(H){return"\\"+Sc[H]}function Ac(H,ee){return H==null?r:H[ee]}function Mr(H){return vp.test(H)}function Ol(H){return yp.test(H)}function Ji(H){for(var ee,q=[];!(ee=H.next()).done;)q.push(ee.value);return q}function ya(H){var ee=-1,q=Array(H.size);return H.forEach(function(Ce,Oe){q[++ee]=[Oe,Ce]}),q}function Io(H,ee){return function(q){return H(ee(q))}}function ti(H,ee){for(var q=-1,Ce=H.length,Oe=0,ze=[];++q-1}function qw(s,u){var p=this.__data__,x=jc(p,s);return x<0?(++this.size,p.push([s,u])):p[x][1]=u,this}ps.prototype.clear=Xw,ps.prototype.delete=Qw,ps.prototype.get=Jw,ps.prototype.has=Zw,ps.prototype.set=qw;function hs(s){var u=-1,p=s==null?0:s.length;for(this.clear();++u=u?s:u)),s}function bi(s,u,p,x,L,U){var Q,te=u&v,fe=u&_,Ie=u&w;if(p&&(Q=L?p(s,x,L,U):p(s)),Q!==r)return Q;if(!An(s))return s;var Pe=Ct(s);if(Pe){if(Q=rC(s),!te)return $r(s,Q)}else{var ke=gr(s),He=ke==X||ke==N;if(Ks(s))return ey(s,te);if(ke==ae||ke==kt||He&&!L){if(Q=fe||He?{}:by(s),!te)return fe?GS(s,gS(Q,s)):KS(s,Pv(Q,s))}else{if(!un[ke])return L?s:{};Q=iC(s,ke,te)}}U||(U=new Di);var et=U.get(s);if(et)return et;U.set(s,Q),Yy(s)?s.forEach(function(ft){Q.add(bi(ft,u,p,ft,s,U))}):Gy(s)&&s.forEach(function(ft,Wt){Q.set(Wt,bi(ft,u,p,Wt,s,U))});var ct=Ie?fe?Qp:Xp:fe?Br:nr,Rt=Pe?r:ct(s);return V(Rt||s,function(ft,Wt){Rt&&(Wt=ft,ft=s[Wt]),Ml(Q,Wt,bi(ft,u,p,Wt,s,U))}),Q}function mS(s){var u=nr(s);return function(p){return Lv(p,s,u)}}function Lv(s,u,p){var x=p.length;if(s==null)return!x;for(s=We(s);x--;){var L=p[x],U=u[L],Q=s[L];if(Q===r&&!(L in s)||!U(Q))return!1}return!0}function Nv(s,u,p){if(typeof s!="function")throw new Mt(o);return Wl(function(){s.apply(r,p)},u)}function $l(s,u,p,x){var L=-1,U=me,Q=!0,te=s.length,fe=[],Ie=u.length;if(!te)return fe;p&&(u=Ke(u,xr(p))),x?(U=Me,Q=!1):u.length>=a&&(U=Ao,Q=!1,u=new No(u));e:for(;++LL?0:L+p),x=x===r||x>L?L:Lt(x),x<0&&(x+=L),x=p>x?0:Qy(x);p0&&p(te)?u>1?ar(te,u-1,p,x,L):St(L,te):x||(L[L.length]=te)}return L}var Lp=oy(),kv=oy(!0);function qi(s,u){return s&&Lp(s,u,nr)}function Np(s,u){return s&&kv(s,u,nr)}function Wc(s,u){return Se(u,function(p){return bs(s[p])})}function Do(s,u){u=Ws(u,s);for(var p=0,x=u.length;s!=null&&pu}function bS(s,u){return s!=null&&_t.call(s,u)}function _S(s,u){return s!=null&&u in We(s)}function xS(s,u,p){return s>=hr(u,p)&&s=120&&Pe.length>=120)?new No(Q&&Pe):r}Pe=s[0];var ke=-1,He=te[0];e:for(;++ke-1;)te!==s&&Dc.call(te,fe,1),Dc.call(s,fe,1);return s}function Gv(s,u){for(var p=s?u.length:0,x=p-1;p--;){var L=u[p];if(p==x||L!==U){var U=L;ys(L)?Dc.call(s,L,1):Hp(s,L)}}return s}function Bp(s,u){return s+$c(Tv()*(u-s+1))}function DS(s,u,p,x){for(var L=-1,U=Qn(Mc((u-s)/(p||1)),0),Q=q(U);U--;)Q[x?U:++L]=s,s+=p;return Q}function Up(s,u){var p="";if(!s||u<1||u>$e)return p;do u%2&&(p+=s),u=$c(u/2),u&&(s+=s);while(u);return p}function $t(s,u){return rh(Ey(s,u,Ur),s+"")}function kS(s){return Iv(Aa(s))}function MS(s,u){var p=Aa(s);return ef(p,Ro(u,0,p.length))}function Ul(s,u,p,x){if(!An(s))return s;u=Ws(u,s);for(var L=-1,U=u.length,Q=U-1,te=s;te!=null&&++LL?0:L+u),p=p>L?L:p,p<0&&(p+=L),L=u>p?0:p-u>>>0,u>>>=0;for(var U=q(L);++x>>1,Q=s[U];Q!==null&&!ri(Q)&&(p?Q<=u:Q=a){var Ie=u?null:QS(s);if(Ie)return ds(Ie);Q=!1,L=Ao,fe=new No}else fe=u?[]:te;e:for(;++x=x?s:_i(s,u,p)}var qv=Aw||function(s){return Cn.clearTimeout(s)};function ey(s,u){if(u)return s.slice();var p=s.length,x=xv?xv(p):new s.constructor(p);return s.copy(x),x}function Gp(s){var u=new s.constructor(s.byteLength);return new Nc(u).set(new Nc(s)),u}function jS(s,u){var p=u?Gp(s.buffer):s.buffer;return new s.constructor(p,s.byteOffset,s.byteLength)}function HS(s){var u=new s.constructor(s.source,ac.exec(s));return u.lastIndex=s.lastIndex,u}function WS(s){return kl?We(kl.call(s)):{}}function ty(s,u){var p=u?Gp(s.buffer):s.buffer;return new s.constructor(p,s.byteOffset,s.length)}function ny(s,u){if(s!==u){var p=s!==r,x=s===null,L=s===s,U=ri(s),Q=u!==r,te=u===null,fe=u===u,Ie=ri(u);if(!te&&!Ie&&!U&&s>u||U&&Q&&fe&&!te&&!Ie||x&&Q&&fe||!p&&fe||!L)return 1;if(!x&&!U&&!Ie&&s=te)return fe;var Ie=p[x];return fe*(Ie=="desc"?-1:1)}}return s.index-u.index}function ry(s,u,p,x){for(var L=-1,U=s.length,Q=p.length,te=-1,fe=u.length,Ie=Qn(U-Q,0),Pe=q(fe+Ie),ke=!x;++te1?p[L-1]:r,Q=L>2?p[2]:r;for(U=s.length>3&&typeof U=="function"?(L--,U):r,Q&&Cr(p[0],p[1],Q)&&(U=L<3?r:U,L=1),u=We(u);++x-1?L[U?u[Q]:Q]:r}}function uy(s){return vs(function(u){var p=u.length,x=p,L=yi.prototype.thru;for(s&&u.reverse();x--;){var U=u[x];if(typeof U!="function")throw new Mt(o);if(L&&!Q&&Zc(U)=="wrapper")var Q=new yi([],!0)}for(x=Q?x:p;++x1&&Yt.reverse(),Pe&&fete))return!1;var Ie=U.get(s),Pe=U.get(u);if(Ie&&Pe)return Ie==u&&Pe==s;var ke=-1,He=!0,et=p&P?new No:r;for(U.set(s,u),U.set(u,s);++ke1?"& ":"")+u[x],u=u.join(p>2?", ":" "),s.replace(sp,`{ + */(function(e,n){(function(){var r,s="4.17.21",a=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",p=500,y="__lodash_placeholder__",v=1,_=2,w=4,T=1,P=2,M=1,S=2,I=4,B=8,R=16,$=32,G=64,m=128,Y=256,j=512,K=30,re="...",pe=800,q=16,le=1,Fe=2,Ee=3,Ae=1/0,$e=9007199254740991,tt=17976931348623157e292,Rt=0/0,ot=4294967295,mt=ot-1,zt=ot>>>1,Zt=[["ary",m],["bind",M],["bindKey",S],["curry",B],["curryRight",R],["flip",j],["partial",$],["partialRight",G],["rearg",Y]],Dt="[object Arguments]",dt="[object Array]",Lt="[object AsyncFunction]",en="[object Boolean]",It="[object Date]",Ht="[object DOMException]",gn="[object Error]",X="[object Function]",L="[object GeneratorFunction]",N="[object Map]",z="[object Number]",se="[object Null]",ae="[object Object]",Ce="[object Promise]",Re="[object Proxy]",Le="[object RegExp]",_e="[object Set]",oe="[object String]",he="[object Symbol]",je="[object Undefined]",we="[object WeakMap]",Je="[object WeakSet]",yt="[object ArrayBuffer]",ut="[object DataView]",ue="[object Float32Array]",de="[object Float64Array]",ye="[object Int8Array]",Ne="[object Int16Array]",Be="[object Int32Array]",qe="[object Uint8Array]",Xe="[object Uint8ClampedArray]",ht="[object Uint16Array]",tn="[object Uint32Array]",at=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bt=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,Kn=RegExp(bt.source),Ni=RegExp(Ct.source),dr=/<%-([\s\S]+?)%>/g,Dn=/<%([\s\S]+?)%>/g,ua=/<%=([\s\S]+?)%>/g,sp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rc=/^\w*$/,sc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ks=/[\\^$.*+?()[\]{}|]/g,Ri=RegExp(Ks.source),Eo=/^\s+/,ca=/\s/,ip=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,op=/\{\n\/\* \[wrapped with (.+)\] \*/,ap=/,? & /,ic=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lp=/[()=,{}\[\]\/\s]/,up=/\\(\\)?/g,oc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ac=/\w*$/,Di=/^[-+]0x[0-9a-f]+$/i,lc=/^0b[01]+$/i,cl=/^\[object .+?Constructor\]$/,fl=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,uc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,da=/($^)/,wo=/['\n\r\u2028\u2029\\]/g,So="\\ud800-\\udfff",cc="\\u0300-\\u036f",fc="\\ufe20-\\ufe2f",dc="\\u20d0-\\u20ff",pc=cc+fc+dc,pa="\\u2700-\\u27bf",hc="a-z\\xdf-\\xf6\\xf8-\\xff",cp="\\xac\\xb1\\xd7\\xf7",gc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",mc="\\u2000-\\u206f",dl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pl="A-Z\\xc0-\\xd6\\xd8-\\xde",or="\\ufe0e\\ufe0f",ui=cp+gc+mc+dl,Mi="['\u2019]",fp="["+So+"]",vc="["+ui+"]",$i="["+pc+"]",hl="\\d+",ha="["+pa+"]",gl="["+hc+"]",yc="[^"+So+ui+hl+pa+hc+pl+"]",ml="\\ud83c[\\udffb-\\udfff]",qr="(?:"+$i+"|"+ml+")",vl="[^"+So+"]",ci="(?:\\ud83c[\\udde6-\\uddff]){2}",yl="[\\ud800-\\udbff][\\udc00-\\udfff]",Fi="["+pl+"]",zs="\\u200d",Ys="(?:"+gl+"|"+yc+")",bl="(?:"+Fi+"|"+yc+")",bc="(?:"+Mi+"(?:d|ll|m|re|s|t|ve))?",Bi="(?:"+Mi+"(?:D|LL|M|RE|S|T|VE))?",_l=qr+"?",ga="["+or+"]?",_c="(?:"+zs+"(?:"+[vl,ci,yl].join("|")+")"+ga+_l+")*",xc="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xl=ga+_l+_c,pp="(?:"+[ha,ci,yl].join("|")+")"+xl,hp="(?:"+[vl+$i+"?",$i,ci,yl,fp].join("|")+")",El=RegExp(Mi,"g"),gp=RegExp($i,"g"),wl=RegExp(ml+"(?="+ml+")|"+hp+xl,"g"),mp=RegExp([Fi+"?"+gl+"+"+bc+"(?="+[vc,Fi,"$"].join("|")+")",bl+"+"+Bi+"(?="+[vc,Fi+Ys,"$"].join("|")+")",Fi+"?"+Ys+"+"+bc,Fi+"+"+Bi,dp,xc,hl,pp].join("|"),"g"),vp=RegExp("["+zs+So+pc+or+"]"),yp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_p=-1,mn={};mn[ue]=mn[de]=mn[ye]=mn[Ne]=mn[Be]=mn[qe]=mn[Xe]=mn[ht]=mn[tn]=!0,mn[Dt]=mn[dt]=mn[yt]=mn[en]=mn[ut]=mn[It]=mn[gn]=mn[X]=mn[N]=mn[z]=mn[ae]=mn[Le]=mn[_e]=mn[oe]=mn[we]=!1;var un={};un[Dt]=un[dt]=un[yt]=un[ut]=un[en]=un[It]=un[ue]=un[de]=un[ye]=un[Ne]=un[Be]=un[N]=un[z]=un[ae]=un[Le]=un[_e]=un[oe]=un[he]=un[qe]=un[Xe]=un[ht]=un[tn]=!0,un[gn]=un[X]=un[we]=!1;var Ec={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Sl={"&":"&","<":"<",">":">",'"':""","'":"'"},wc={"&":"&","<":"<",">":">",""":'"',"'":"'"},Sc={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tl=parseFloat,xp=parseInt,Tc=typeof Wo=="object"&&Wo&&Wo.Object===Object&&Wo,Ep=typeof self=="object"&&self&&self.Object===Object&&self,Tn=Tc||Ep||Function("return this")(),ma=n&&!n.nodeType&&n,Ps=ma&&!0&&e&&!e.nodeType&&e,Cc=Ps&&Ps.exports===ma,Cl=Cc&&Tc.process,Rr=function(){try{var H=Ps&&Ps.require&&Ps.require("util").types;return H||Cl&&Cl.binding&&Cl.binding("util")}catch{}}(),c=Rr&&Rr.isArrayBuffer,g=Rr&&Rr.isDate,b=Rr&&Rr.isMap,E=Rr&&Rr.isRegExp,A=Rr&&Rr.isSet,O=Rr&&Rr.isTypedArray;function D(H,ee,Z){switch(Z.length){case 0:return H.call(ee);case 1:return H.call(ee,Z[0]);case 2:return H.call(ee,Z[0],Z[1]);case 3:return H.call(ee,Z[0],Z[1],Z[2])}return H.apply(ee,Z)}function J(H,ee,Z,Te){for(var Oe=-1,ze=H==null?0:H.length;++Oe-1}function Me(H,ee,Z){for(var Te=-1,Oe=H==null?0:H.length;++Te-1;);return Z}function Oo(H,ee){for(var Z=H.length;Z--&&fn(ee,H[Z],0)>-1;);return Z}function es(H,ee){for(var Z=H.length,Te=0;Z--;)H[Z]===ee&&++Te;return Te}var Ui=Dr(Ec),wp=Dr(Sl);function Sp(H){return"\\"+Sc[H]}function Ac(H,ee){return H==null?r:H[ee]}function Mr(H){return vp.test(H)}function Ol(H){return yp.test(H)}function Js(H){for(var ee,Z=[];!(ee=H.next()).done;)Z.push(ee.value);return Z}function ya(H){var ee=-1,Z=Array(H.size);return H.forEach(function(Te,Oe){Z[++ee]=[Oe,Te]}),Z}function Io(H,ee){return function(Z){return H(ee(Z))}}function ts(H,ee){for(var Z=-1,Te=H.length,Oe=0,ze=[];++Z-1}function nS(i,u){var h=this.__data__,x=jc(h,i);return x<0?(++this.size,h.push([i,u])):h[x][1]=u,this}pi.prototype.clear=qw,pi.prototype.delete=Zw,pi.prototype.get=eS,pi.prototype.has=tS,pi.prototype.set=nS;function hi(i){var u=-1,h=i==null?0:i.length;for(this.clear();++u=u?i:u)),i}function bs(i,u,h,x,k,U){var Q,te=u&v,fe=u&_,Ie=u&w;if(h&&(Q=k?h(i,x,k,U):h(i)),Q!==r)return Q;if(!An(i))return i;var Pe=Tt(i);if(Pe){if(Q=oT(i),!te)return $r(i,Q)}else{var De=gr(i),He=De==X||De==L;if(Ki(i))return ty(i,te);if(De==ae||De==Dt||He&&!k){if(Q=fe||He?{}:_y(i),!te)return fe?XS(i,yS(Q,i)):YS(i,kv(Q,i))}else{if(!un[De])return k?i:{};Q=aT(i,De,te)}}U||(U=new Rs);var et=U.get(i);if(et)return et;U.set(i,Q),Xy(i)?i.forEach(function(ft){Q.add(bs(ft,u,h,ft,i,U))}):zy(i)&&i.forEach(function(ft,Wt){Q.set(Wt,bs(ft,u,h,Wt,i,U))});var ct=Ie?fe?Qp:Xp:fe?Br:nr,Nt=Pe?r:ct(i);return V(Nt||i,function(ft,Wt){Nt&&(Wt=ft,ft=i[Wt]),Ml(Q,Wt,bs(ft,u,h,Wt,i,U))}),Q}function bS(i){var u=nr(i);return function(h){return Lv(h,i,u)}}function Lv(i,u,h){var x=h.length;if(i==null)return!x;for(i=We(i);x--;){var k=h[x],U=u[k],Q=i[k];if(Q===r&&!(k in i)||!U(Q))return!1}return!0}function Nv(i,u,h){if(typeof i!="function")throw new Mt(o);return Wl(function(){i.apply(r,h)},u)}function $l(i,u,h,x){var k=-1,U=me,Q=!0,te=i.length,fe=[],Ie=u.length;if(!te)return fe;h&&(u=Ge(u,xr(h))),x?(U=Me,Q=!1):u.length>=a&&(U=Ao,Q=!1,u=new Lo(u));e:for(;++kk?0:k+h),x=x===r||x>k?k:kt(x),x<0&&(x+=k),x=h>x?0:Jy(x);h0&&h(te)?u>1?ar(te,u-1,h,x,k):St(k,te):x||(k[k.length]=te)}return k}var kp=ay(),Mv=ay(!0);function Zs(i,u){return i&&kp(i,u,nr)}function Lp(i,u){return i&&Mv(i,u,nr)}function Wc(i,u){return Se(u,function(h){return bi(i[h])})}function Ro(i,u){u=Vi(u,i);for(var h=0,x=u.length;i!=null&&hu}function ES(i,u){return i!=null&&_t.call(i,u)}function wS(i,u){return i!=null&&u in We(i)}function SS(i,u,h){return i>=hr(u,h)&&i=120&&Pe.length>=120)?new Lo(Q&&Pe):r}Pe=i[0];var De=-1,He=te[0];e:for(;++De-1;)te!==i&&Rc.call(te,fe,1),Rc.call(i,fe,1);return i}function zv(i,u){for(var h=i?u.length:0,x=h-1;h--;){var k=u[h];if(h==x||k!==U){var U=k;yi(k)?Rc.call(i,k,1):Hp(i,k)}}return i}function Bp(i,u){return i+$c(Av()*(u-i+1))}function $S(i,u,h,x){for(var k=-1,U=Qn(Mc((u-i)/(h||1)),0),Q=Z(U);U--;)Q[x?U:++k]=i,i+=h;return Q}function Up(i,u){var h="";if(!i||u<1||u>$e)return h;do u%2&&(h+=i),u=$c(u/2),u&&(i+=i);while(u);return h}function $t(i,u){return rh(wy(i,u,Ur),i+"")}function FS(i){return Pv(Aa(i))}function BS(i,u){var h=Aa(i);return ef(h,No(u,0,h.length))}function Ul(i,u,h,x){if(!An(i))return i;u=Vi(u,i);for(var k=-1,U=u.length,Q=U-1,te=i;te!=null&&++kk?0:k+u),h=h>k?k:h,h<0&&(h+=k),k=u>h?0:h-u>>>0,u>>>=0;for(var U=Z(k);++x>>1,Q=i[U];Q!==null&&!rs(Q)&&(h?Q<=u:Q=a){var Ie=u?null:ZS(i);if(Ie)return di(Ie);Q=!1,k=Ao,fe=new Lo}else fe=u?[]:te;e:for(;++x=x?i:_s(i,u,h)}var ey=Pw||function(i){return Tn.clearTimeout(i)};function ty(i,u){if(u)return i.slice();var h=i.length,x=Ev?Ev(h):new i.constructor(h);return i.copy(x),x}function Kp(i){var u=new i.constructor(i.byteLength);return new Lc(u).set(new Lc(i)),u}function VS(i,u){var h=u?Kp(i.buffer):i.buffer;return new i.constructor(h,i.byteOffset,i.byteLength)}function GS(i){var u=new i.constructor(i.source,ac.exec(i));return u.lastIndex=i.lastIndex,u}function KS(i){return Dl?We(Dl.call(i)):{}}function ny(i,u){var h=u?Kp(i.buffer):i.buffer;return new i.constructor(h,i.byteOffset,i.length)}function ry(i,u){if(i!==u){var h=i!==r,x=i===null,k=i===i,U=rs(i),Q=u!==r,te=u===null,fe=u===u,Ie=rs(u);if(!te&&!Ie&&!U&&i>u||U&&Q&&fe&&!te&&!Ie||x&&Q&&fe||!h&&fe||!k)return 1;if(!x&&!U&&!Ie&&i=te)return fe;var Ie=h[x];return fe*(Ie=="desc"?-1:1)}}return i.index-u.index}function sy(i,u,h,x){for(var k=-1,U=i.length,Q=h.length,te=-1,fe=u.length,Ie=Qn(U-Q,0),Pe=Z(fe+Ie),De=!x;++te1?h[k-1]:r,Q=k>2?h[2]:r;for(U=i.length>3&&typeof U=="function"?(k--,U):r,Q&&Tr(h[0],h[1],Q)&&(U=k<3?r:U,k=1),u=We(u);++x-1?k[U?u[Q]:Q]:r}}function cy(i){return vi(function(u){var h=u.length,x=h,k=ys.prototype.thru;for(i&&u.reverse();x--;){var U=u[x];if(typeof U!="function")throw new Mt(o);if(k&&!Q&&qc(U)=="wrapper")var Q=new ys([],!0)}for(x=Q?x:h;++x1&&Yt.reverse(),Pe&&fete))return!1;var Ie=U.get(i),Pe=U.get(u);if(Ie&&Pe)return Ie==u&&Pe==i;var De=-1,He=!0,et=h&P?new Lo:r;for(U.set(i,u),U.set(u,i);++De1?"& ":"")+u[x],u=u.join(h>2?", ":" "),i.replace(ip,`{ /* [wrapped with `+u+`] */ -`)}function oC(s){return Ct(s)||$o(s)||!!(Sv&&s&&s[Sv])}function ys(s,u){var p=typeof s;return u=u==null?$e:u,!!u&&(p=="number"||p!="symbol"&&fa.test(s))&&s>-1&&s%1==0&&s0){if(++u>=pe)return arguments[0]}else u=0;return s.apply(r,arguments)}}function ef(s,u){var p=-1,x=s.length,L=x-1;for(u=u===r?x:u;++p1?s[u-1]:r;return p=typeof p=="function"?(s.pop(),p):r,Dy(s,p)});function ky(s){var u=F(s);return u.__chain__=!0,u}function vT(s,u){return u(s),s}function tf(s,u){return u(s)}var yT=vs(function(s){var u=s.length,p=u?s[0]:0,x=this.__wrapped__,L=function(U){return Pp(U,s)};return u>1||this.__actions__.length||!(x instanceof Vt)||!ys(p)?this.thru(L):(x=x.slice(p,+p+(u?1:0)),x.__actions__.push({func:tf,args:[L],thisArg:r}),new yi(x,this.__chain__).thru(function(U){return u&&!U.length&&U.push(r),U}))});function bT(){return ky(this)}function _T(){return new yi(this.value(),this.__chain__)}function xT(){this.__values__===r&&(this.__values__=Xy(this.value()));var s=this.__index__>=this.__values__.length,u=s?r:this.__values__[this.__index__++];return{done:s,value:u}}function ET(){return this}function wT(s){for(var u,p=this;p instanceof Uc;){var x=Oy(p);x.__index__=0,x.__values__=r,u?L.__wrapped__=x:u=x;var L=x;p=p.__wrapped__}return L.__wrapped__=s,u}function ST(){var s=this.__wrapped__;if(s instanceof Vt){var u=s;return this.__actions__.length&&(u=new Vt(this)),u=u.reverse(),u.__actions__.push({func:tf,args:[ih],thisArg:r}),new yi(u,this.__chain__)}return this.thru(ih)}function CT(){return Jv(this.__wrapped__,this.__actions__)}var TT=zc(function(s,u,p){_t.call(s,p)?++s[p]:gs(s,p,1)});function AT(s,u,p){var x=Ct(s)?be:vS;return p&&Cr(s,u,p)&&(u=r),x(s,lt(u,3))}function OT(s,u){var p=Ct(s)?Se:Dv;return p(s,lt(u,3))}var IT=ly(Iy),PT=ly(Py);function LT(s,u){return ar(nf(s,u),1)}function NT(s,u){return ar(nf(s,u),Ae)}function RT(s,u,p){return p=p===r?1:Lt(p),ar(nf(s,u),p)}function My(s,u){var p=Ct(s)?V:js;return p(s,lt(u,3))}function $y(s,u){var p=Ct(s)?se:Rv;return p(s,lt(u,3))}var DT=zc(function(s,u,p){_t.call(s,p)?s[p].push(u):gs(s,p,[u])});function kT(s,u,p,x){s=Fr(s)?s:Aa(s),p=p&&!x?Lt(p):0;var L=s.length;return p<0&&(p=Qn(L+p,0)),lf(s)?p<=L&&s.indexOf(u,p)>-1:!!L&&fn(s,u,p)>-1}var MT=$t(function(s,u,p){var x=-1,L=typeof u=="function",U=Fr(s)?q(s.length):[];return js(s,function(Q){U[++x]=L?k(u,Q,p):Fl(Q,u,p)}),U}),$T=zc(function(s,u,p){gs(s,p,u)});function nf(s,u){var p=Ct(s)?Ke:Uv;return p(s,lt(u,3))}function FT(s,u,p,x){return s==null?[]:(Ct(u)||(u=u==null?[]:[u]),p=x?r:p,Ct(p)||(p=p==null?[]:[p]),Vv(s,u,p))}var BT=zc(function(s,u,p){s[p?0:1].push(u)},function(){return[[],[]]});function UT(s,u,p){var x=Ct(s)?xt:Li,L=arguments.length<3;return x(s,lt(u,4),p,L,js)}function jT(s,u,p){var x=Ct(s)?zn:Li,L=arguments.length<3;return x(s,lt(u,4),p,L,Rv)}function HT(s,u){var p=Ct(s)?Se:Dv;return p(s,of(lt(u,3)))}function WT(s){var u=Ct(s)?Iv:kS;return u(s)}function VT(s,u,p){(p?Cr(s,u,p):u===r)?u=1:u=Lt(u);var x=Ct(s)?dS:MS;return x(s,u)}function KT(s){var u=Ct(s)?pS:FS;return u(s)}function GT(s){if(s==null)return 0;if(Fr(s))return lf(s)?Zi(s):s.length;var u=gr(s);return u==R||u==_e?s.size:Mp(s).length}function zT(s,u,p){var x=Ct(s)?Tn:BS;return p&&Cr(s,u,p)&&(u=r),x(s,lt(u,3))}var YT=$t(function(s,u){if(s==null)return[];var p=u.length;return p>1&&Cr(s,u[0],u[1])?u=[]:p>2&&Cr(u[0],u[1],u[2])&&(u=[u[0]]),Vv(s,ar(u,1),[])}),rf=Ow||function(){return Cn.Date.now()};function XT(s,u){if(typeof u!="function")throw new Mt(o);return s=Lt(s),function(){if(--s<1)return u.apply(this,arguments)}}function Fy(s,u,p){return u=p?r:u,u=s&&u==null?s.length:u,ms(s,m,r,r,r,r,u)}function By(s,u){var p;if(typeof u!="function")throw new Mt(o);return s=Lt(s),function(){return--s>0&&(p=u.apply(this,arguments)),s<=1&&(u=r),p}}var oh=$t(function(s,u,p){var x=M;if(p.length){var L=ti(p,Ca(oh));x|=$}return ms(s,x,u,p,L)}),Uy=$t(function(s,u,p){var x=M|S;if(p.length){var L=ti(p,Ca(Uy));x|=$}return ms(u,x,s,p,L)});function jy(s,u,p){u=p?r:u;var x=ms(s,B,r,r,r,r,r,u);return x.placeholder=jy.placeholder,x}function Hy(s,u,p){u=p?r:u;var x=ms(s,D,r,r,r,r,r,u);return x.placeholder=Hy.placeholder,x}function Wy(s,u,p){var x,L,U,Q,te,fe,Ie=0,Pe=!1,ke=!1,He=!0;if(typeof s!="function")throw new Mt(o);u=Ei(u)||0,An(p)&&(Pe=!!p.leading,ke="maxWait"in p,U=ke?Qn(Ei(p.maxWait)||0,u):U,He="trailing"in p?!!p.trailing:He);function et($n){var Mi=x,xs=L;return x=L=r,Ie=$n,Q=s.apply(xs,Mi),Q}function ct($n){return Ie=$n,te=Wl(Wt,u),Pe?et($n):Q}function Rt($n){var Mi=$n-fe,xs=$n-Ie,lb=u-Mi;return ke?hr(lb,U-xs):lb}function ft($n){var Mi=$n-fe,xs=$n-Ie;return fe===r||Mi>=u||Mi<0||ke&&xs>=U}function Wt(){var $n=rf();if(ft($n))return Yt($n);te=Wl(Wt,Rt($n))}function Yt($n){return te=r,He&&x?et($n):(x=L=r,Q)}function ii(){te!==r&&qv(te),Ie=0,x=fe=L=te=r}function Tr(){return te===r?Q:Yt(rf())}function si(){var $n=rf(),Mi=ft($n);if(x=arguments,L=this,fe=$n,Mi){if(te===r)return ct(fe);if(ke)return qv(te),te=Wl(Wt,u),et(fe)}return te===r&&(te=Wl(Wt,u)),Q}return si.cancel=ii,si.flush=Tr,si}var QT=$t(function(s,u){return Nv(s,1,u)}),JT=$t(function(s,u,p){return Nv(s,Ei(u)||0,p)});function ZT(s){return ms(s,j)}function sf(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Mt(o);var p=function(){var x=arguments,L=u?u.apply(this,x):x[0],U=p.cache;if(U.has(L))return U.get(L);var Q=s.apply(this,x);return p.cache=U.set(L,Q)||U,Q};return p.cache=new(sf.Cache||hs),p}sf.Cache=hs;function of(s){if(typeof s!="function")throw new Mt(o);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function qT(s){return By(2,s)}var eA=US(function(s,u){u=u.length==1&&Ct(u[0])?Ke(u[0],xr(lt())):Ke(ar(u,1),xr(lt()));var p=u.length;return $t(function(x){for(var L=-1,U=hr(x.length,p);++L=u}),$o=$v(function(){return arguments}())?$v:function(s){return Pn(s)&&_t.call(s,"callee")&&!wv.call(s,"callee")},Ct=q.isArray,gA=c?xr(c):wS;function Fr(s){return s!=null&&af(s.length)&&!bs(s)}function Mn(s){return Pn(s)&&Fr(s)}function mA(s){return s===!0||s===!1||Pn(s)&&Sr(s)==en}var Ks=Pw||yh,vA=h?xr(h):SS;function yA(s){return Pn(s)&&s.nodeType===1&&!Vl(s)}function bA(s){if(s==null)return!0;if(Fr(s)&&(Ct(s)||typeof s=="string"||typeof s.splice=="function"||Ks(s)||Ta(s)||$o(s)))return!s.length;var u=gr(s);if(u==R||u==_e)return!s.size;if(Hl(s))return!Mp(s).length;for(var p in s)if(_t.call(s,p))return!1;return!0}function _A(s,u){return Bl(s,u)}function xA(s,u,p){p=typeof p=="function"?p:r;var x=p?p(s,u):r;return x===r?Bl(s,u,r,p):!!x}function lh(s){if(!Pn(s))return!1;var u=Sr(s);return u==gn||u==Ht||typeof s.message=="string"&&typeof s.name=="string"&&!Vl(s)}function EA(s){return typeof s=="number"&&Cv(s)}function bs(s){if(!An(s))return!1;var u=Sr(s);return u==X||u==N||u==Nt||u==De}function Ky(s){return typeof s=="number"&&s==Lt(s)}function af(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=$e}function An(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Pn(s){return s!=null&&typeof s=="object"}var Gy=b?xr(b):TS;function wA(s,u){return s===u||kp(s,u,Zp(u))}function SA(s,u,p){return p=typeof p=="function"?p:r,kp(s,u,Zp(u),p)}function CA(s){return zy(s)&&s!=+s}function TA(s){if(uC(s))throw new Oe(l);return Fv(s)}function AA(s){return s===null}function OA(s){return s==null}function zy(s){return typeof s=="number"||Pn(s)&&Sr(s)==z}function Vl(s){if(!Pn(s)||Sr(s)!=ae)return!1;var u=Rc(s);if(u===null)return!0;var p=_t.call(u,"constructor")&&u.constructor;return typeof p=="function"&&p instanceof p&&Ri.call(p)==Sw}var uh=E?xr(E):AS;function IA(s){return Ky(s)&&s>=-$e&&s<=$e}var Yy=A?xr(A):OS;function lf(s){return typeof s=="string"||!Ct(s)&&Pn(s)&&Sr(s)==oe}function ri(s){return typeof s=="symbol"||Pn(s)&&Sr(s)==he}var Ta=O?xr(O):IS;function PA(s){return s===r}function LA(s){return Pn(s)&&gr(s)==we}function NA(s){return Pn(s)&&Sr(s)==Je}var RA=Jc($p),DA=Jc(function(s,u){return s<=u});function Xy(s){if(!s)return[];if(Fr(s))return lf(s)?Er(s):$r(s);if(Ll&&s[Ll])return Ji(s[Ll]());var u=gr(s),p=u==R?ya:u==_e?ds:Aa;return p(s)}function _s(s){if(!s)return s===0?s:0;if(s=Ei(s),s===Ae||s===-Ae){var u=s<0?-1:1;return u*tt}return s===s?s:0}function Lt(s){var u=_s(s),p=u%1;return u===u?p?u-p:u:0}function Qy(s){return s?Ro(Lt(s),0,ot):0}function Ei(s){if(typeof s=="number")return s;if(ri(s))return Dt;if(An(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=An(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=vi(s);var p=lc.test(s);return p||fl.test(s)?xp(s.slice(2),p?2:8):Ds.test(s)?Dt:+s}function Jy(s){return es(s,Br(s))}function kA(s){return s?Ro(Lt(s),-$e,$e):s===0?s:0}function cn(s){return s==null?"":ni(s)}var MA=wa(function(s,u){if(Hl(u)||Fr(u)){es(u,nr(u),s);return}for(var p in u)_t.call(u,p)&&Ml(s,p,u[p])}),Zy=wa(function(s,u){es(u,Br(u),s)}),uf=wa(function(s,u,p,x){es(u,Br(u),s,x)}),$A=wa(function(s,u,p,x){es(u,nr(u),s,x)}),FA=vs(Pp);function BA(s,u){var p=Ea(s);return u==null?p:Pv(p,u)}var UA=$t(function(s,u){s=We(s);var p=-1,x=u.length,L=x>2?u[2]:r;for(L&&Cr(u[0],u[1],L)&&(x=1);++p1),U}),es(s,Qp(s),p),x&&(p=bi(p,v|_|w,JS));for(var L=u.length;L--;)Hp(p,u[L]);return p});function iO(s,u){return eb(s,of(lt(u)))}var sO=vs(function(s,u){return s==null?{}:NS(s,u)});function eb(s,u){if(s==null)return{};var p=Ke(Qp(s),function(x){return[x]});return u=lt(u),Kv(s,p,function(x,L){return u(x,L[0])})}function oO(s,u,p){u=Ws(u,s);var x=-1,L=u.length;for(L||(L=1,s=r);++xu){var x=s;s=u,u=x}if(p||s%1||u%1){var L=Tv();return hr(s+L*(u-s+Cl("1e-"+((L+"").length-1))),u)}return Bp(s,u)}var vO=Sa(function(s,u,p){return u=u.toLowerCase(),s+(p?rb(u):u)});function rb(s){return dh(cn(s).toLowerCase())}function ib(s){return s=cn(s),s&&s.replace(uc,Bs).replace(gp,"")}function yO(s,u,p){s=cn(s),u=ni(u);var x=s.length;p=p===r?x:Ro(Lt(p),0,x);var L=p;return p-=u.length,p>=0&&s.slice(p,L)==u}function bO(s){return s=cn(s),s&&Ns.test(s)?s.replace(Tt,wp):s}function _O(s){return s=cn(s),s&&Rs.test(s)?s.replace(Gi,"\\$&"):s}var xO=Sa(function(s,u,p){return s+(p?"-":"")+u.toLowerCase()}),EO=Sa(function(s,u,p){return s+(p?" ":"")+u.toLowerCase()}),wO=ay("toLowerCase");function SO(s,u,p){s=cn(s),u=Lt(u);var x=u?Zi(s):0;if(!u||x>=u)return s;var L=(u-x)/2;return Qc($c(L),p)+s+Qc(Mc(L),p)}function CO(s,u,p){s=cn(s),u=Lt(u);var x=u?Zi(s):0;return u&&x>>0,p?(s=cn(s),s&&(typeof u=="string"||u!=null&&!uh(u))&&(u=ni(u),!u&&Mr(s))?Vs(Er(s),0,p):s.split(u,p)):[]}var NO=Sa(function(s,u,p){return s+(p?" ":"")+dh(u)});function RO(s,u,p){return s=cn(s),p=p==null?0:Ro(Lt(p),0,s.length),u=ni(u),s.slice(p,p+u.length)==u}function DO(s,u,p){var x=F.templateSettings;p&&Cr(s,u,p)&&(u=r),s=cn(s),u=uf({},u,x,hy);var L=uf({},u.imports,x.imports,hy),U=nr(L),Q=Al(L,U),te,fe,Ie=0,Pe=u.interpolate||da,ke="__p += '",He=Pt((u.escape||da).source+"|"+Pe.source+"|"+(Pe===ua?oc:da).source+"|"+(u.evaluate||da).source+"|$","g"),et="//# sourceURL="+(_t.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_p+"]")+` -`;s.replace(He,function(ft,Wt,Yt,ii,Tr,si){return Yt||(Yt=ii),ke+=s.slice(Ie,si).replace(wo,Sp),Wt&&(te=!0,ke+=`' + +`)}function uT(i){return Tt(i)||$o(i)||!!(Tv&&i&&i[Tv])}function yi(i,u){var h=typeof i;return u=u==null?$e:u,!!u&&(h=="number"||h!="symbol"&&fa.test(i))&&i>-1&&i%1==0&&i0){if(++u>=pe)return arguments[0]}else u=0;return i.apply(r,arguments)}}function ef(i,u){var h=-1,x=i.length,k=x-1;for(u=u===r?x:u;++h1?i[u-1]:r;return h=typeof h=="function"?(i.pop(),h):r,Dy(i,h)});function My(i){var u=F(i);return u.__chain__=!0,u}function _C(i,u){return u(i),i}function tf(i,u){return u(i)}var xC=vi(function(i){var u=i.length,h=u?i[0]:0,x=this.__wrapped__,k=function(U){return Pp(U,i)};return u>1||this.__actions__.length||!(x instanceof Vt)||!yi(h)?this.thru(k):(x=x.slice(h,+h+(u?1:0)),x.__actions__.push({func:tf,args:[k],thisArg:r}),new ys(x,this.__chain__).thru(function(U){return u&&!U.length&&U.push(r),U}))});function EC(){return My(this)}function wC(){return new ys(this.value(),this.__chain__)}function SC(){this.__values__===r&&(this.__values__=Qy(this.value()));var i=this.__index__>=this.__values__.length,u=i?r:this.__values__[this.__index__++];return{done:i,value:u}}function TC(){return this}function CC(i){for(var u,h=this;h instanceof Uc;){var x=Iy(h);x.__index__=0,x.__values__=r,u?k.__wrapped__=x:u=x;var k=x;h=h.__wrapped__}return k.__wrapped__=i,u}function AC(){var i=this.__wrapped__;if(i instanceof Vt){var u=i;return this.__actions__.length&&(u=new Vt(this)),u=u.reverse(),u.__actions__.push({func:tf,args:[sh],thisArg:r}),new ys(u,this.__chain__)}return this.thru(sh)}function OC(){return qv(this.__wrapped__,this.__actions__)}var IC=zc(function(i,u,h){_t.call(i,h)?++i[h]:gi(i,h,1)});function PC(i,u,h){var x=Tt(i)?be:_S;return h&&Tr(i,u,h)&&(u=r),x(i,lt(u,3))}function kC(i,u){var h=Tt(i)?Se:Dv;return h(i,lt(u,3))}var LC=uy(Py),NC=uy(ky);function RC(i,u){return ar(nf(i,u),1)}function DC(i,u){return ar(nf(i,u),Ae)}function MC(i,u,h){return h=h===r?1:kt(h),ar(nf(i,u),h)}function $y(i,u){var h=Tt(i)?V:Hi;return h(i,lt(u,3))}function Fy(i,u){var h=Tt(i)?ie:Rv;return h(i,lt(u,3))}var $C=zc(function(i,u,h){_t.call(i,h)?i[h].push(u):gi(i,h,[u])});function FC(i,u,h,x){i=Fr(i)?i:Aa(i),h=h&&!x?kt(h):0;var k=i.length;return h<0&&(h=Qn(k+h,0)),lf(i)?h<=k&&i.indexOf(u,h)>-1:!!k&&fn(i,u,h)>-1}var BC=$t(function(i,u,h){var x=-1,k=typeof u=="function",U=Fr(i)?Z(i.length):[];return Hi(i,function(Q){U[++x]=k?D(u,Q,h):Fl(Q,u,h)}),U}),UC=zc(function(i,u,h){gi(i,h,u)});function nf(i,u){var h=Tt(i)?Ge:jv;return h(i,lt(u,3))}function jC(i,u,h,x){return i==null?[]:(Tt(u)||(u=u==null?[]:[u]),h=x?r:h,Tt(h)||(h=h==null?[]:[h]),Gv(i,u,h))}var HC=zc(function(i,u,h){i[h?0:1].push(u)},function(){return[[],[]]});function WC(i,u,h){var x=Tt(i)?xt:ks,k=arguments.length<3;return x(i,lt(u,4),h,k,Hi)}function VC(i,u,h){var x=Tt(i)?zn:ks,k=arguments.length<3;return x(i,lt(u,4),h,k,Rv)}function GC(i,u){var h=Tt(i)?Se:Dv;return h(i,of(lt(u,3)))}function KC(i){var u=Tt(i)?Pv:FS;return u(i)}function zC(i,u,h){(h?Tr(i,u,h):u===r)?u=1:u=kt(u);var x=Tt(i)?gS:BS;return x(i,u)}function YC(i){var u=Tt(i)?mS:jS;return u(i)}function XC(i){if(i==null)return 0;if(Fr(i))return lf(i)?qs(i):i.length;var u=gr(i);return u==N||u==_e?i.size:Mp(i).length}function QC(i,u,h){var x=Tt(i)?Cn:HS;return h&&Tr(i,u,h)&&(u=r),x(i,lt(u,3))}var JC=$t(function(i,u){if(i==null)return[];var h=u.length;return h>1&&Tr(i,u[0],u[1])?u=[]:h>2&&Tr(u[0],u[1],u[2])&&(u=[u[0]]),Gv(i,ar(u,1),[])}),rf=kw||function(){return Tn.Date.now()};function qC(i,u){if(typeof u!="function")throw new Mt(o);return i=kt(i),function(){if(--i<1)return u.apply(this,arguments)}}function By(i,u,h){return u=h?r:u,u=i&&u==null?i.length:u,mi(i,m,r,r,r,r,u)}function Uy(i,u){var h;if(typeof u!="function")throw new Mt(o);return i=kt(i),function(){return--i>0&&(h=u.apply(this,arguments)),i<=1&&(u=r),h}}var oh=$t(function(i,u,h){var x=M;if(h.length){var k=ts(h,Ta(oh));x|=$}return mi(i,x,u,h,k)}),jy=$t(function(i,u,h){var x=M|S;if(h.length){var k=ts(h,Ta(jy));x|=$}return mi(u,x,i,h,k)});function Hy(i,u,h){u=h?r:u;var x=mi(i,B,r,r,r,r,r,u);return x.placeholder=Hy.placeholder,x}function Wy(i,u,h){u=h?r:u;var x=mi(i,R,r,r,r,r,r,u);return x.placeholder=Wy.placeholder,x}function Vy(i,u,h){var x,k,U,Q,te,fe,Ie=0,Pe=!1,De=!1,He=!0;if(typeof i!="function")throw new Mt(o);u=Es(u)||0,An(h)&&(Pe=!!h.leading,De="maxWait"in h,U=De?Qn(Es(h.maxWait)||0,u):U,He="trailing"in h?!!h.trailing:He);function et($n){var Ms=x,xi=k;return x=k=r,Ie=$n,Q=i.apply(xi,Ms),Q}function ct($n){return Ie=$n,te=Wl(Wt,u),Pe?et($n):Q}function Nt($n){var Ms=$n-fe,xi=$n-Ie,ub=u-Ms;return De?hr(ub,U-xi):ub}function ft($n){var Ms=$n-fe,xi=$n-Ie;return fe===r||Ms>=u||Ms<0||De&&xi>=U}function Wt(){var $n=rf();if(ft($n))return Yt($n);te=Wl(Wt,Nt($n))}function Yt($n){return te=r,He&&x?et($n):(x=k=r,Q)}function ss(){te!==r&&ey(te),Ie=0,x=fe=k=te=r}function Cr(){return te===r?Q:Yt(rf())}function is(){var $n=rf(),Ms=ft($n);if(x=arguments,k=this,fe=$n,Ms){if(te===r)return ct(fe);if(De)return ey(te),te=Wl(Wt,u),et(fe)}return te===r&&(te=Wl(Wt,u)),Q}return is.cancel=ss,is.flush=Cr,is}var ZC=$t(function(i,u){return Nv(i,1,u)}),eA=$t(function(i,u,h){return Nv(i,Es(u)||0,h)});function tA(i){return mi(i,j)}function sf(i,u){if(typeof i!="function"||u!=null&&typeof u!="function")throw new Mt(o);var h=function(){var x=arguments,k=u?u.apply(this,x):x[0],U=h.cache;if(U.has(k))return U.get(k);var Q=i.apply(this,x);return h.cache=U.set(k,Q)||U,Q};return h.cache=new(sf.Cache||hi),h}sf.Cache=hi;function of(i){if(typeof i!="function")throw new Mt(o);return function(){var u=arguments;switch(u.length){case 0:return!i.call(this);case 1:return!i.call(this,u[0]);case 2:return!i.call(this,u[0],u[1]);case 3:return!i.call(this,u[0],u[1],u[2])}return!i.apply(this,u)}}function nA(i){return Uy(2,i)}var rA=WS(function(i,u){u=u.length==1&&Tt(u[0])?Ge(u[0],xr(lt())):Ge(ar(u,1),xr(lt()));var h=u.length;return $t(function(x){for(var k=-1,U=hr(x.length,h);++k=u}),$o=Fv(function(){return arguments}())?Fv:function(i){return Pn(i)&&_t.call(i,"callee")&&!Sv.call(i,"callee")},Tt=Z.isArray,yA=c?xr(c):CS;function Fr(i){return i!=null&&af(i.length)&&!bi(i)}function Mn(i){return Pn(i)&&Fr(i)}function bA(i){return i===!0||i===!1||Pn(i)&&Sr(i)==en}var Ki=Nw||yh,_A=g?xr(g):AS;function xA(i){return Pn(i)&&i.nodeType===1&&!Vl(i)}function EA(i){if(i==null)return!0;if(Fr(i)&&(Tt(i)||typeof i=="string"||typeof i.splice=="function"||Ki(i)||Ca(i)||$o(i)))return!i.length;var u=gr(i);if(u==N||u==_e)return!i.size;if(Hl(i))return!Mp(i).length;for(var h in i)if(_t.call(i,h))return!1;return!0}function wA(i,u){return Bl(i,u)}function SA(i,u,h){h=typeof h=="function"?h:r;var x=h?h(i,u):r;return x===r?Bl(i,u,r,h):!!x}function lh(i){if(!Pn(i))return!1;var u=Sr(i);return u==gn||u==Ht||typeof i.message=="string"&&typeof i.name=="string"&&!Vl(i)}function TA(i){return typeof i=="number"&&Cv(i)}function bi(i){if(!An(i))return!1;var u=Sr(i);return u==X||u==L||u==Lt||u==Re}function Ky(i){return typeof i=="number"&&i==kt(i)}function af(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=$e}function An(i){var u=typeof i;return i!=null&&(u=="object"||u=="function")}function Pn(i){return i!=null&&typeof i=="object"}var zy=b?xr(b):IS;function CA(i,u){return i===u||Dp(i,u,qp(u))}function AA(i,u,h){return h=typeof h=="function"?h:r,Dp(i,u,qp(u),h)}function OA(i){return Yy(i)&&i!=+i}function IA(i){if(dT(i))throw new Oe(l);return Bv(i)}function PA(i){return i===null}function kA(i){return i==null}function Yy(i){return typeof i=="number"||Pn(i)&&Sr(i)==z}function Vl(i){if(!Pn(i)||Sr(i)!=ae)return!1;var u=Nc(i);if(u===null)return!0;var h=_t.call(u,"constructor")&&u.constructor;return typeof h=="function"&&h instanceof h&&Ns.call(h)==Aw}var uh=E?xr(E):PS;function LA(i){return Ky(i)&&i>=-$e&&i<=$e}var Xy=A?xr(A):kS;function lf(i){return typeof i=="string"||!Tt(i)&&Pn(i)&&Sr(i)==oe}function rs(i){return typeof i=="symbol"||Pn(i)&&Sr(i)==he}var Ca=O?xr(O):LS;function NA(i){return i===r}function RA(i){return Pn(i)&&gr(i)==we}function DA(i){return Pn(i)&&Sr(i)==Je}var MA=Jc($p),$A=Jc(function(i,u){return i<=u});function Qy(i){if(!i)return[];if(Fr(i))return lf(i)?Er(i):$r(i);if(kl&&i[kl])return Js(i[kl]());var u=gr(i),h=u==N?ya:u==_e?di:Aa;return h(i)}function _i(i){if(!i)return i===0?i:0;if(i=Es(i),i===Ae||i===-Ae){var u=i<0?-1:1;return u*tt}return i===i?i:0}function kt(i){var u=_i(i),h=u%1;return u===u?h?u-h:u:0}function Jy(i){return i?No(kt(i),0,ot):0}function Es(i){if(typeof i=="number")return i;if(rs(i))return Rt;if(An(i)){var u=typeof i.valueOf=="function"?i.valueOf():i;i=An(u)?u+"":u}if(typeof i!="string")return i===0?i:+i;i=vs(i);var h=lc.test(i);return h||fl.test(i)?xp(i.slice(2),h?2:8):Di.test(i)?Rt:+i}function qy(i){return ei(i,Br(i))}function FA(i){return i?No(kt(i),-$e,$e):i===0?i:0}function cn(i){return i==null?"":ns(i)}var BA=wa(function(i,u){if(Hl(u)||Fr(u)){ei(u,nr(u),i);return}for(var h in u)_t.call(u,h)&&Ml(i,h,u[h])}),Zy=wa(function(i,u){ei(u,Br(u),i)}),uf=wa(function(i,u,h,x){ei(u,Br(u),i,x)}),UA=wa(function(i,u,h,x){ei(u,nr(u),i,x)}),jA=vi(Pp);function HA(i,u){var h=Ea(i);return u==null?h:kv(h,u)}var WA=$t(function(i,u){i=We(i);var h=-1,x=u.length,k=x>2?u[2]:r;for(k&&Tr(u[0],u[1],k)&&(x=1);++h1),U}),ei(i,Qp(i),h),x&&(h=bs(h,v|_|w,eT));for(var k=u.length;k--;)Hp(h,u[k]);return h});function aO(i,u){return tb(i,of(lt(u)))}var lO=vi(function(i,u){return i==null?{}:DS(i,u)});function tb(i,u){if(i==null)return{};var h=Ge(Qp(i),function(x){return[x]});return u=lt(u),Kv(i,h,function(x,k){return u(x,k[0])})}function uO(i,u,h){u=Vi(u,i);var x=-1,k=u.length;for(k||(k=1,i=r);++xu){var x=i;i=u,u=x}if(h||i%1||u%1){var k=Av();return hr(i+k*(u-i+Tl("1e-"+((k+"").length-1))),u)}return Bp(i,u)}var _O=Sa(function(i,u,h){return u=u.toLowerCase(),i+(h?sb(u):u)});function sb(i){return dh(cn(i).toLowerCase())}function ib(i){return i=cn(i),i&&i.replace(uc,Ui).replace(gp,"")}function xO(i,u,h){i=cn(i),u=ns(u);var x=i.length;h=h===r?x:No(kt(h),0,x);var k=h;return h-=u.length,h>=0&&i.slice(h,k)==u}function EO(i){return i=cn(i),i&&Ni.test(i)?i.replace(Ct,wp):i}function wO(i){return i=cn(i),i&&Ri.test(i)?i.replace(Ks,"\\$&"):i}var SO=Sa(function(i,u,h){return i+(h?"-":"")+u.toLowerCase()}),TO=Sa(function(i,u,h){return i+(h?" ":"")+u.toLowerCase()}),CO=ly("toLowerCase");function AO(i,u,h){i=cn(i),u=kt(u);var x=u?qs(i):0;if(!u||x>=u)return i;var k=(u-x)/2;return Qc($c(k),h)+i+Qc(Mc(k),h)}function OO(i,u,h){i=cn(i),u=kt(u);var x=u?qs(i):0;return u&&x>>0,h?(i=cn(i),i&&(typeof u=="string"||u!=null&&!uh(u))&&(u=ns(u),!u&&Mr(i))?Gi(Er(i),0,h):i.split(u,h)):[]}var DO=Sa(function(i,u,h){return i+(h?" ":"")+dh(u)});function MO(i,u,h){return i=cn(i),h=h==null?0:No(kt(h),0,i.length),u=ns(u),i.slice(h,h+u.length)==u}function $O(i,u,h){var x=F.templateSettings;h&&Tr(i,u,h)&&(u=r),i=cn(i),u=uf({},u,x,gy);var k=uf({},u.imports,x.imports,gy),U=nr(k),Q=Al(k,U),te,fe,Ie=0,Pe=u.interpolate||da,De="__p += '",He=Pt((u.escape||da).source+"|"+Pe.source+"|"+(Pe===ua?oc:da).source+"|"+(u.evaluate||da).source+"|$","g"),et="//# sourceURL="+(_t.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_p+"]")+` +`;i.replace(He,function(ft,Wt,Yt,ss,Cr,is){return Yt||(Yt=ss),De+=i.slice(Ie,is).replace(wo,Sp),Wt&&(te=!0,De+=`' + __e(`+Wt+`) + -'`),Tr&&(fe=!0,ke+=`'; -`+Tr+`; -__p += '`),Yt&&(ke+=`' + +'`),Cr&&(fe=!0,De+=`'; +`+Cr+`; +__p += '`),Yt&&(De+=`' + ((__t = (`+Yt+`)) == null ? '' : __t) + -'`),Ie=si+ft.length,ft}),ke+=`'; -`;var ct=_t.call(u,"variable")&&u.variable;if(!ct)ke=`with (obj) { -`+ke+` +'`),Ie=is+ft.length,ft}),De+=`'; +`;var ct=_t.call(u,"variable")&&u.variable;if(!ct)De=`with (obj) { +`+De+` } -`;else if(lp.test(ct))throw new Oe(f);ke=(fe?ke.replace(at,""):ke).replace(Qe,"$1").replace(rt,"$1;"),ke="function("+(ct||"obj")+`) { +`;else if(lp.test(ct))throw new Oe(f);De=(fe?De.replace(at,""):De).replace(Qe,"$1").replace(rt,"$1;"),De="function("+(ct||"obj")+`) { `+(ct?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(te?", __e = _.escape":"")+(fe?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+ke+`return __p -}`;var Rt=ob(function(){return ze(U,et+"return "+ke).apply(r,Q)});if(Rt.source=ke,lh(Rt))throw Rt;return Rt}function kO(s){return cn(s).toLowerCase()}function MO(s){return cn(s).toUpperCase()}function $O(s,u,p){if(s=cn(s),s&&(p||u===r))return vi(s);if(!s||!(u=ni(u)))return s;var x=Er(s),L=Er(u),U=an(x,L),Q=Oo(x,L)+1;return Vs(x,U,Q).join("")}function FO(s,u,p){if(s=cn(s),s&&(p||u===r))return s.slice(0,Oc(s)+1);if(!s||!(u=ni(u)))return s;var x=Er(s),L=Oo(x,Er(u))+1;return Vs(x,0,L).join("")}function BO(s,u,p){if(s=cn(s),s&&(p||u===r))return s.replace(Eo,"");if(!s||!(u=ni(u)))return s;var x=Er(s),L=an(x,Er(u));return Vs(x,L).join("")}function UO(s,u){var p=G,x=re;if(An(u)){var L="separator"in u?u.separator:L;p="length"in u?Lt(u.length):p,x="omission"in u?ni(u.omission):x}s=cn(s);var U=s.length;if(Mr(s)){var Q=Er(s);U=Q.length}if(p>=U)return s;var te=p-Zi(x);if(te<1)return x;var fe=Q?Vs(Q,0,te).join(""):s.slice(0,te);if(L===r)return fe+x;if(Q&&(te+=fe.length-te),uh(L)){if(s.slice(te).search(L)){var Ie,Pe=fe;for(L.global||(L=Pt(L.source,cn(ac.exec(L))+"g")),L.lastIndex=0;Ie=L.exec(Pe);)var ke=Ie.index;fe=fe.slice(0,ke===r?te:ke)}}else if(s.indexOf(ni(L),te)!=te){var He=fe.lastIndexOf(L);He>-1&&(fe=fe.slice(0,He))}return fe+x}function jO(s){return s=cn(s),s&&Gn.test(s)?s.replace(bt,Pl):s}var HO=Sa(function(s,u,p){return s+(p?" ":"")+u.toUpperCase()}),dh=ay("toUpperCase");function sb(s,u,p){return s=cn(s),u=p?r:u,u===r?Ol(s)?ne(s):Bt(s):s.match(u)||[]}var ob=$t(function(s,u){try{return k(s,r,u)}catch(p){return lh(p)?p:new Oe(p)}}),WO=vs(function(s,u){return V(u,function(p){p=ts(p),gs(s,p,oh(s[p],s))}),s});function VO(s){var u=s==null?0:s.length,p=lt();return s=u?Ke(s,function(x){if(typeof x[1]!="function")throw new Mt(o);return[p(x[0]),x[1]]}):[],$t(function(x){for(var L=-1;++L$e)return[];var p=ot,x=hr(s,ot);u=lt(u),s-=ot;for(var L=To(x,u);++p0||u<0)?new Vt(p):(s<0?p=p.takeRight(-s):s&&(p=p.drop(s)),u!==r&&(u=Lt(u),p=u<0?p.dropRight(-u):p.take(u-s)),p)},Vt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},Vt.prototype.toArray=function(){return this.take(ot)},qi(Vt.prototype,function(s,u){var p=/^(?:filter|find|map|reject)|While$/.test(u),x=/^(?:head|last)$/.test(u),L=F[x?"take"+(u=="last"?"Right":""):u],U=x||/^find/.test(u);!L||(F.prototype[u]=function(){var Q=this.__wrapped__,te=x?[1]:arguments,fe=Q instanceof Vt,Ie=te[0],Pe=fe||Ct(Q),ke=function(Wt){var Yt=L.apply(F,St([Wt],te));return x&&He?Yt[0]:Yt};Pe&&p&&typeof Ie=="function"&&Ie.length!=1&&(fe=Pe=!1);var He=this.__chain__,et=!!this.__actions__.length,ct=U&&!He,Rt=fe&&!et;if(!U&&Pe){Q=Rt?Q:new Vt(this);var ft=s.apply(Q,te);return ft.__actions__.push({func:tf,args:[ke],thisArg:r}),new yi(ft,He)}return ct&&Rt?s.apply(this,te):(ft=this.thru(ke),ct?x?ft.value()[0]:ft.value():ft)})}),V(["pop","push","shift","sort","splice","unshift"],function(s){var u=Yn[s],p=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",x=/^(?:pop|shift)$/.test(s);F.prototype[s]=function(){var L=arguments;if(x&&!this.__chain__){var U=this.value();return u.apply(Ct(U)?U:[],L)}return this[p](function(Q){return u.apply(Ct(Q)?Q:[],L)})}}),qi(Vt.prototype,function(s,u){var p=F[u];if(p){var x=p.name+"";_t.call(xa,x)||(xa[x]=[]),xa[x].push({name:u,func:p})}}),xa[Yc(r,S).name]=[{name:"wrapper",func:r}],Vt.prototype.clone=jw,Vt.prototype.reverse=Hw,Vt.prototype.value=Ww,F.prototype.at=yT,F.prototype.chain=bT,F.prototype.commit=_T,F.prototype.next=xT,F.prototype.plant=wT,F.prototype.reverse=ST,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=CT,F.prototype.first=F.prototype.head,Ll&&(F.prototype[Ll]=ET),F},ve=ge();Pi?((Pi.exports=ve)._=ve,ma._=ve):Cn._=ve}).call(Wo)})(rg,rg.exports);const OI=rg.exports;var A0={exports:{}},Kg={exports:{}},O0=function(n,r){return function(){for(var a=new Array(arguments.length),l=0;l"u"}function PI(e){return e!==null&&!Vf(e)&&e.constructor!==null&&!Vf(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var I0=ia("ArrayBuffer");function LI(e){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&I0(e.buffer),n}function NI(e){return typeof e=="string"}function RI(e){return typeof e=="number"}function P0(e){return e!==null&&typeof e=="object"}function Nf(e){if(zg(e)!=="object")return!1;var n=Object.getPrototypeOf(e);return n===null||n===Object.prototype}var DI=ia("Date"),kI=ia("File"),MI=ia("Blob"),$I=ia("FileList");function Xg(e){return Gg.call(e)==="[object Function]"}function FI(e){return P0(e)&&Xg(e.pipe)}function BI(e){var n="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Gg.call(e)===n||Xg(e.toString)&&e.toString()===n)}var UI=ia("URLSearchParams");function jI(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function HI(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Qg(e,n){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Yg(e))for(var r=0,i=e.length;r0;)l=i[a],o[l]||(n[l]=e[l],o[l]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,n))&&e!==Object.prototype);return n}function zI(e,n,r){e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=n.length;var i=e.indexOf(n,r);return i!==-1&&i===r}function YI(e){if(!e)return null;var n=e.length;if(Vf(n))return null;for(var r=new Array(n);n-- >0;)r[n]=e[n];return r}var XI=function(e){return function(n){return e&&n instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),fr={isArray:Yg,isArrayBuffer:I0,isBuffer:PI,isFormData:BI,isArrayBufferView:LI,isString:NI,isNumber:RI,isObject:P0,isPlainObject:Nf,isUndefined:Vf,isDate:DI,isFile:kI,isBlob:MI,isFunction:Xg,isStream:FI,isURLSearchParams:UI,isStandardBrowserEnv:HI,forEach:Qg,merge:ig,extend:WI,trim:jI,stripBOM:VI,inherits:KI,toFlatObject:GI,kindOf:zg,kindOfTest:ia,endsWith:zI,toArray:YI,isTypedArray:XI,isFileList:$I},Oa=fr;function ub(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var L0=function(n,r,i){if(!r)return n;var a;if(i)a=i(r);else if(Oa.isURLSearchParams(r))a=r.toString();else{var l=[];Oa.forEach(r,function(d,g){d===null||typeof d>"u"||(Oa.isArray(d)?g=g+"[]":d=[d],Oa.forEach(d,function(v){Oa.isDate(v)?v=v.toISOString():Oa.isObject(v)&&(v=JSON.stringify(v)),l.push(ub(g)+"="+ub(v))}))}),a=l.join("&")}if(a){var o=n.indexOf("#");o!==-1&&(n=n.slice(0,o)),n+=(n.indexOf("?")===-1?"?":"&")+a}return n},QI=fr;function vd(){this.handlers=[]}vd.prototype.use=function(n,r,i){return this.handlers.push({fulfilled:n,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};vd.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)};vd.prototype.forEach=function(n){QI.forEach(this.handlers,function(i){i!==null&&n(i)})};var JI=vd,ZI=fr,qI=function(n,r){ZI.forEach(n,function(a,l){l!==r&&l.toUpperCase()===r.toUpperCase()&&(n[r]=a,delete n[l])})},N0=fr;function Ka(e,n,r,i,a){Error.call(this),this.message=e,this.name="AxiosError",n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a)}N0.inherits(Ka,Error,{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,status:this.response&&this.response.status?this.response.status:null}}});var R0=Ka.prototype,D0={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){D0[e]={value:e}});Object.defineProperties(Ka,D0);Object.defineProperty(R0,"isAxiosError",{value:!0});Ka.from=function(e,n,r,i,a,l){var o=Object.create(R0);return N0.toFlatObject(e,o,function(d){return d!==Error.prototype}),Ka.call(o,e.message,n,r,i,a),o.name=e.name,l&&Object.assign(o,l),o};var rl=Ka,k0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$i=fr;function e2(e,n){n=n||new FormData;var r=[];function i(l){return l===null?"":$i.isDate(l)?l.toISOString():$i.isArrayBuffer(l)||$i.isTypedArray(l)?typeof Blob=="function"?new Blob([l]):Buffer.from(l):l}function a(l,o){if($i.isPlainObject(l)||$i.isArray(l)){if(r.indexOf(l)!==-1)throw Error("Circular reference detected in "+o);r.push(l),$i.forEach(l,function(d,g){if(!$i.isUndefined(d)){var y=o?o+"."+g:g,v;if(d&&!o&&typeof d=="object"){if($i.endsWith(g,"{}"))d=JSON.stringify(d);else if($i.endsWith(g,"[]")&&(v=$i.toArray(d))){v.forEach(function(_){!$i.isUndefined(_)&&n.append(y,i(_))});return}}a(d,y)}}),r.pop()}else n.append(o,i(l))}return a(e),n}var M0=e2,bh,cb;function t2(){if(cb)return bh;cb=1;var e=rl;return bh=function(r,i,a){var l=a.config.validateStatus;!a.status||!l||l(a.status)?r(a):i(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))},bh}var _h,fb;function n2(){if(fb)return _h;fb=1;var e=fr;return _h=e.isStandardBrowserEnv()?function(){return{write:function(i,a,l,o,f,d){var g=[];g.push(i+"="+encodeURIComponent(a)),e.isNumber(l)&&g.push("expires="+new Date(l).toGMTString()),e.isString(o)&&g.push("path="+o),e.isString(f)&&g.push("domain="+f),d===!0&&g.push("secure"),document.cookie=g.join("; ")},read:function(i){var a=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),_h}var r2=function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},i2=function(n,r){return r?n.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):n},s2=r2,o2=i2,$0=function(n,r){return n&&!s2(r)?o2(n,r):r},xh,db;function a2(){if(db)return xh;db=1;var e=fr,n=["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"];return xh=function(i){var a={},l,o,f;return i&&e.forEach(i.split(` -`),function(g){if(f=g.indexOf(":"),l=e.trim(g.substr(0,f)).toLowerCase(),o=e.trim(g.substr(f+1)),l){if(a[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?a[l]=(a[l]?a[l]:[]).concat([o]):a[l]=a[l]?a[l]+", "+o:o}}),a},xh}var Eh,pb;function l2(){if(pb)return Eh;pb=1;var e=fr;return Eh=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),a;function l(o){var f=o;return r&&(i.setAttribute("href",f),f=i.href),i.setAttribute("href",f),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return a=l(window.location.href),function(f){var d=e.isString(f)?l(f):f;return d.protocol===a.protocol&&d.host===a.host}}():function(){return function(){return!0}}(),Eh}var wh,hb;function yd(){if(hb)return wh;hb=1;var e=rl,n=fr;function r(i){e.call(this,i==null?"canceled":i,e.ERR_CANCELED),this.name="CanceledError"}return n.inherits(r,e,{__CANCEL__:!0}),wh=r,wh}var Sh,gb;function u2(){return gb||(gb=1,Sh=function(n){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return r&&r[1]||""}),Sh}var Ch,mb;function vb(){if(mb)return Ch;mb=1;var e=fr,n=t2(),r=n2(),i=L0,a=$0,l=a2(),o=l2(),f=k0,d=rl,g=yd(),y=u2();return Ch=function(_){return new Promise(function(C,P){var M=_.data,S=_.headers,I=_.responseType,B;function D(){_.cancelToken&&_.cancelToken.unsubscribe(B),_.signal&&_.signal.removeEventListener("abort",B)}e.isFormData(M)&&e.isStandardBrowserEnv()&&delete S["Content-Type"];var $=new XMLHttpRequest;if(_.auth){var K=_.auth.username||"",m=_.auth.password?unescape(encodeURIComponent(_.auth.password)):"";S.Authorization="Basic "+btoa(K+":"+m)}var Y=a(_.baseURL,_.url);$.open(_.method.toUpperCase(),i(Y,_.params,_.paramsSerializer),!0),$.timeout=_.timeout;function j(){if(!!$){var pe="getAllResponseHeaders"in $?l($.getAllResponseHeaders()):null,Z=!I||I==="text"||I==="json"?$.responseText:$.response,le={data:Z,status:$.status,statusText:$.statusText,headers:pe,config:_,request:$};n(function(Ee){C(Ee),D()},function(Ee){P(Ee),D()},le),$=null}}if("onloadend"in $?$.onloadend=j:$.onreadystatechange=function(){!$||$.readyState!==4||$.status===0&&!($.responseURL&&$.responseURL.indexOf("file:")===0)||setTimeout(j)},$.onabort=function(){!$||(P(new d("Request aborted",d.ECONNABORTED,_,$)),$=null)},$.onerror=function(){P(new d("Network Error",d.ERR_NETWORK,_,$,$)),$=null},$.ontimeout=function(){var Z=_.timeout?"timeout of "+_.timeout+"ms exceeded":"timeout exceeded",le=_.transitional||f;_.timeoutErrorMessage&&(Z=_.timeoutErrorMessage),P(new d(Z,le.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,_,$)),$=null},e.isStandardBrowserEnv()){var G=(_.withCredentials||o(Y))&&_.xsrfCookieName?r.read(_.xsrfCookieName):void 0;G&&(S[_.xsrfHeaderName]=G)}"setRequestHeader"in $&&e.forEach(S,function(Z,le){typeof M>"u"&&le.toLowerCase()==="content-type"?delete S[le]:$.setRequestHeader(le,Z)}),e.isUndefined(_.withCredentials)||($.withCredentials=!!_.withCredentials),I&&I!=="json"&&($.responseType=_.responseType),typeof _.onDownloadProgress=="function"&&$.addEventListener("progress",_.onDownloadProgress),typeof _.onUploadProgress=="function"&&$.upload&&$.upload.addEventListener("progress",_.onUploadProgress),(_.cancelToken||_.signal)&&(B=function(pe){!$||(P(!pe||pe&&pe.type?new g:pe),$.abort(),$=null)},_.cancelToken&&_.cancelToken.subscribe(B),_.signal&&(_.signal.aborted?B():_.signal.addEventListener("abort",B))),M||(M=null);var re=y(Y);if(re&&["http","https","file"].indexOf(re)===-1){P(new d("Unsupported protocol "+re+":",d.ERR_BAD_REQUEST,_));return}$.send(M)})},Ch}var Th,yb;function c2(){return yb||(yb=1,Th=null),Th}var rr=fr,bb=qI,_b=rl,f2=k0,d2=M0,p2={"Content-Type":"application/x-www-form-urlencoded"};function xb(e,n){!rr.isUndefined(e)&&rr.isUndefined(e["Content-Type"])&&(e["Content-Type"]=n)}function h2(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=vb()),e}function g2(e,n,r){if(rr.isString(e))try{return(n||JSON.parse)(e),rr.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var bd={transitional:f2,adapter:h2(),transformRequest:[function(n,r){if(bb(r,"Accept"),bb(r,"Content-Type"),rr.isFormData(n)||rr.isArrayBuffer(n)||rr.isBuffer(n)||rr.isStream(n)||rr.isFile(n)||rr.isBlob(n))return n;if(rr.isArrayBufferView(n))return n.buffer;if(rr.isURLSearchParams(n))return xb(r,"application/x-www-form-urlencoded;charset=utf-8"),n.toString();var i=rr.isObject(n),a=r&&r["Content-Type"],l;if((l=rr.isFileList(n))||i&&a==="multipart/form-data"){var o=this.env&&this.env.FormData;return d2(l?{"files[]":n}:n,o&&new o)}else if(i||a==="application/json")return xb(r,"application/json"),g2(n);return n}],transformResponse:[function(n){var r=this.transitional||bd.transitional,i=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,l=!i&&this.responseType==="json";if(l||a&&rr.isString(n)&&n.length)try{return JSON.parse(n)}catch(o){if(l)throw o.name==="SyntaxError"?_b.from(o,_b.ERR_BAD_RESPONSE,this,null,this.response):o}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c2()},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};rr.forEach(["delete","get","head"],function(n){bd.headers[n]={}});rr.forEach(["post","put","patch"],function(n){bd.headers[n]=rr.merge(p2)});var Jg=bd,m2=fr,v2=Jg,y2=function(n,r,i){var a=this||v2;return m2.forEach(i,function(o){n=o.call(a,n,r)}),n},Ah,Eb;function F0(){return Eb||(Eb=1,Ah=function(n){return!!(n&&n.__CANCEL__)}),Ah}var wb=fr,Oh=y2,b2=F0(),_2=Jg,x2=yd();function Ih(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new x2}var E2=function(n){Ih(n),n.headers=n.headers||{},n.data=Oh.call(n,n.data,n.headers,n.transformRequest),n.headers=wb.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),wb.forEach(["delete","get","head","post","put","patch","common"],function(a){delete n.headers[a]});var r=n.adapter||_2.adapter;return r(n).then(function(a){return Ih(n),a.data=Oh.call(n,a.data,a.headers,n.transformResponse),a},function(a){return b2(a)||(Ih(n),a&&a.response&&(a.response.data=Oh.call(n,a.response.data,a.response.headers,n.transformResponse))),Promise.reject(a)})},oi=fr,B0=function(n,r){r=r||{};var i={};function a(y,v){return oi.isPlainObject(y)&&oi.isPlainObject(v)?oi.merge(y,v):oi.isPlainObject(v)?oi.merge({},v):oi.isArray(v)?v.slice():v}function l(y){if(oi.isUndefined(r[y])){if(!oi.isUndefined(n[y]))return a(void 0,n[y])}else return a(n[y],r[y])}function o(y){if(!oi.isUndefined(r[y]))return a(void 0,r[y])}function f(y){if(oi.isUndefined(r[y])){if(!oi.isUndefined(n[y]))return a(void 0,n[y])}else return a(void 0,r[y])}function d(y){if(y in r)return a(n[y],r[y]);if(y in n)return a(void 0,n[y])}var g={url:o,method:o,data:o,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:d};return oi.forEach(Object.keys(n).concat(Object.keys(r)),function(v){var _=g[v]||l,w=_(v);oi.isUndefined(w)&&_!==d||(i[v]=w)}),i},Ph,Sb;function U0(){return Sb||(Sb=1,Ph={version:"0.27.2"}),Ph}var w2=U0().version,Js=rl,Zg={};["object","boolean","number","function","string","symbol"].forEach(function(e,n){Zg[e]=function(i){return typeof i===e||"a"+(n<1?"n ":" ")+e}});var Cb={};Zg.transitional=function(n,r,i){function a(l,o){return"[Axios v"+w2+"] Transitional option '"+l+"'"+o+(i?". "+i:"")}return function(l,o,f){if(n===!1)throw new Js(a(o," has been removed"+(r?" in "+r:"")),Js.ERR_DEPRECATED);return r&&!Cb[o]&&(Cb[o]=!0,console.warn(a(o," has been deprecated since v"+r+" and will be removed in the near future"))),n?n(l,o,f):!0}};function S2(e,n,r){if(typeof e!="object")throw new Js("options must be an object",Js.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),a=i.length;a-- >0;){var l=i[a],o=n[l];if(o){var f=e[l],d=f===void 0||o(f,l,e);if(d!==!0)throw new Js("option "+l+" must be "+d,Js.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Js("Unknown option "+l,Js.ERR_BAD_OPTION)}}var C2={assertOptions:S2,validators:Zg},j0=fr,T2=L0,Tb=JI,Ab=E2,_d=B0,A2=$0,H0=C2,Ia=H0.validators;function Ga(e){this.defaults=e,this.interceptors={request:new Tb,response:new Tb}}Ga.prototype.request=function(n,r){typeof n=="string"?(r=r||{},r.url=n):r=n||{},r=_d(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var i=r.transitional;i!==void 0&&H0.assertOptions(i,{silentJSONParsing:Ia.transitional(Ia.boolean),forcedJSONParsing:Ia.transitional(Ia.boolean),clarifyTimeoutError:Ia.transitional(Ia.boolean)},!1);var a=[],l=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(r)===!1||(l=l&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});var o=[];this.interceptors.response.forEach(function(w){o.push(w.fulfilled,w.rejected)});var f;if(!l){var d=[Ab,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(o),f=Promise.resolve(r);d.length;)f=f.then(d.shift(),d.shift());return f}for(var g=r;a.length;){var y=a.shift(),v=a.shift();try{g=y(g)}catch(_){v(_);break}}try{f=Ab(g)}catch(_){return Promise.reject(_)}for(;o.length;)f=f.then(o.shift(),o.shift());return f};Ga.prototype.getUri=function(n){n=_d(this.defaults,n);var r=A2(n.baseURL,n.url);return T2(r,n.params,n.paramsSerializer)};j0.forEach(["delete","get","head","options"],function(n){Ga.prototype[n]=function(r,i){return this.request(_d(i||{},{method:n,url:r,data:(i||{}).data}))}});j0.forEach(["post","put","patch"],function(n){function r(i){return function(l,o,f){return this.request(_d(f||{},{method:n,headers:i?{"Content-Type":"multipart/form-data"}:{},url:l,data:o}))}}Ga.prototype[n]=r(),Ga.prototype[n+"Form"]=r(!0)});var O2=Ga,Lh,Ob;function I2(){if(Ob)return Lh;Ob=1;var e=yd();function n(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(o){i=o});var a=this;this.promise.then(function(l){if(!!a._listeners){var o,f=a._listeners.length;for(o=0;o!!r[a.toLowerCase()]:a=>!!r[a]}const pn={},Ua=[],Lr=()=>{},Df=()=>!1,k2=/^on[^a-z]/,sa=e=>k2.test(e),qg=e=>e.startsWith("onUpdate:"),Zt=Object.assign,em=(e,n)=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)},M2=Object.prototype.hasOwnProperty,nn=(e,n)=>M2.call(e,n),Ge=Array.isArray,ja=e=>il(e)==="[object Map]",oa=e=>il(e)==="[object Set]",Nb=e=>il(e)==="[object Date]",$2=e=>il(e)==="[object RegExp]",gt=e=>typeof e=="function",Ot=e=>typeof e=="string",lo=e=>typeof e=="symbol",hn=e=>e!==null&&typeof e=="object",tm=e=>hn(e)&>(e.then)&>(e.catch),K0=Object.prototype.toString,il=e=>K0.call(e),F2=e=>il(e).slice(8,-1),G0=e=>il(e)==="[object Object]",nm=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xo=Jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),B2=Jr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),xd=e=>{const n=Object.create(null);return r=>n[r]||(n[r]=e(r))},U2=/-(\w)/g,Un=xd(e=>e.replace(U2,(n,r)=>r?r.toUpperCase():"")),j2=/\B([A-Z])/g,fi=xd(e=>e.replace(j2,"-$1").toLowerCase()),vo=xd(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qo=xd(e=>e?`on${vo(e)}`:""),za=(e,n)=>!Object.is(e,n),Ha=(e,n)=>{for(let r=0;r{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:r})},Gf=e=>{const n=parseFloat(e);return isNaN(n)?e:n},zf=e=>{const n=Ot(e)?Number(e):NaN;return isNaN(n)?e:n};let Rb;const sg=()=>Rb||(Rb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),H2="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",W2=Jr(H2);function sl(e){if(Ge(e)){const n={};for(let r=0;r{if(r){const i=r.split(K2);i.length>1&&(n[i[0].trim()]=i[1].trim())}}),n}function Jt(e){let n="";if(Ot(e))n=e;else if(Ge(e))for(let r=0;ruo(r,n))}const ce=e=>Ot(e)?e:e==null?"":Ge(e)||hn(e)&&(e.toString===K0||!gt(e.toString))?JSON.stringify(e,Q0,2):String(e),Q0=(e,n)=>n&&n.__v_isRef?Q0(e,n.value):ja(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((r,[i,a])=>(r[`${i} =>`]=a,r),{})}:oa(n)?{[`Set(${n.size})`]:[...n.values()]}:hn(n)&&!Ge(n)&&!G0(n)?String(n):n;let ui;class wd{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ui,!n&&ui&&(this.index=(ui.scopes||(ui.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const r=ui;try{return ui=this,n()}finally{ui=r}}}on(){ui=this}off(){ui=this.parent}stop(n){if(this._active){let r,i;for(r=0,i=this.effects.length;r{const n=new Set(e);return n.w=0,n.n=0,n},Z0=e=>(e.w&co)>0,q0=e=>(e.n&co)>0,nP=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let r=0;for(let i=0;i{(y==="length"||y>=d)&&f.push(g)})}else switch(r!==void 0&&f.push(o.get(r)),n){case"add":Ge(e)?nm(r)&&f.push(o.get("length")):(f.push(o.get(Jo)),ja(e)&&f.push(o.get(ag)));break;case"delete":Ge(e)||(f.push(o.get(Jo)),ja(e)&&f.push(o.get(ag)));break;case"set":ja(e)&&f.push(o.get(Jo));break}if(f.length===1)f[0]&&lg(f[0]);else{const d=[];for(const g of f)g&&d.push(...g);lg(sm(d))}}function lg(e,n){const r=Ge(e)?e:[...e];for(const i of r)i.computed&&kb(i);for(const i of r)i.computed||kb(i)}function kb(e,n){(e!==ji||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function iP(e,n){var r;return(r=Yf.get(e))==null?void 0:r.get(n)}const sP=Jr("__proto__,__v_isRef,__isVue"),i1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lo)),oP=Cd(),aP=Cd(!1,!0),lP=Cd(!0),uP=Cd(!0,!0),Mb=cP();function cP(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...r){const i=Gt(this);for(let l=0,o=this.length;l{e[n]=function(...r){al();const i=Gt(this)[n].apply(this,r);return ll(),i}}),e}function fP(e){const n=Gt(this);return Qr(n,"has",e),n.hasOwnProperty(e)}function Cd(e=!1,n=!1){return function(i,a,l){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return n;if(a==="__v_raw"&&l===(e?n?f1:c1:n?u1:l1).get(i))return i;const o=Ge(i);if(!e){if(o&&nn(Mb,a))return Reflect.get(Mb,a,l);if(a==="hasOwnProperty")return fP}const f=Reflect.get(i,a,l);return(lo(a)?i1.has(a):sP(a))||(e||Qr(i,"get",a),n)?f:Bn(f)?o&&nm(a)?f:f.value:hn(f)?e?Od(f):ku(f):f}}const dP=s1(),pP=s1(!0);function s1(e=!1){return function(r,i,a,l){let o=r[i];if(fo(o)&&Bn(o)&&!Bn(a))return!1;if(!e&&(!Ya(a)&&!fo(a)&&(o=Gt(o),a=Gt(a)),!Ge(r)&&Bn(o)&&!Bn(a)))return o.value=a,!0;const f=Ge(r)&&nm(i)?Number(i)e,Td=e=>Reflect.getPrototypeOf(e);function cf(e,n,r=!1,i=!1){e=e.__v_raw;const a=Gt(e),l=Gt(n);r||(n!==l&&Qr(a,"get",n),Qr(a,"get",l));const{has:o}=Td(a),f=i?om:r?lm:_u;if(o.call(a,n))return f(e.get(n));if(o.call(a,l))return f(e.get(l));e!==a&&e.get(n)}function ff(e,n=!1){const r=this.__v_raw,i=Gt(r),a=Gt(e);return n||(e!==a&&Qr(i,"has",e),Qr(i,"has",a)),e===a?r.has(e):r.has(e)||r.has(a)}function df(e,n=!1){return e=e.__v_raw,!n&&Qr(Gt(e),"iterate",Jo),Reflect.get(e,"size",e)}function $b(e){e=Gt(e);const n=Gt(this);return Td(n).has.call(n,e)||(n.add(e),As(n,"add",e,e)),this}function Fb(e,n){n=Gt(n);const r=Gt(this),{has:i,get:a}=Td(r);let l=i.call(r,e);l||(e=Gt(e),l=i.call(r,e));const o=a.call(r,e);return r.set(e,n),l?za(n,o)&&As(r,"set",e,n):As(r,"add",e,n),this}function Bb(e){const n=Gt(this),{has:r,get:i}=Td(n);let a=r.call(n,e);a||(e=Gt(e),a=r.call(n,e)),i&&i.call(n,e);const l=n.delete(e);return a&&As(n,"delete",e,void 0),l}function Ub(){const e=Gt(this),n=e.size!==0,r=e.clear();return n&&As(e,"clear",void 0,void 0),r}function pf(e,n){return function(i,a){const l=this,o=l.__v_raw,f=Gt(o),d=n?om:e?lm:_u;return!e&&Qr(f,"iterate",Jo),o.forEach((g,y)=>i.call(a,d(g),d(y),l))}}function hf(e,n,r){return function(...i){const a=this.__v_raw,l=Gt(a),o=ja(l),f=e==="entries"||e===Symbol.iterator&&o,d=e==="keys"&&o,g=a[e](...i),y=r?om:n?lm:_u;return!n&&Qr(l,"iterate",d?ag:Jo),{next(){const{value:v,done:_}=g.next();return _?{value:v,done:_}:{value:f?[y(v[0]),y(v[1])]:y(v),done:_}},[Symbol.iterator](){return this}}}}function Gs(e){return function(...n){return e==="delete"?!1:this}}function bP(){const e={get(l){return cf(this,l)},get size(){return df(this)},has:ff,add:$b,set:Fb,delete:Bb,clear:Ub,forEach:pf(!1,!1)},n={get(l){return cf(this,l,!1,!0)},get size(){return df(this)},has:ff,add:$b,set:Fb,delete:Bb,clear:Ub,forEach:pf(!1,!0)},r={get(l){return cf(this,l,!0)},get size(){return df(this,!0)},has(l){return ff.call(this,l,!0)},add:Gs("add"),set:Gs("set"),delete:Gs("delete"),clear:Gs("clear"),forEach:pf(!0,!1)},i={get(l){return cf(this,l,!0,!0)},get size(){return df(this,!0)},has(l){return ff.call(this,l,!0)},add:Gs("add"),set:Gs("set"),delete:Gs("delete"),clear:Gs("clear"),forEach:pf(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=hf(l,!1,!1),r[l]=hf(l,!0,!1),n[l]=hf(l,!1,!0),i[l]=hf(l,!0,!0)}),[e,r,n,i]}const[_P,xP,EP,wP]=bP();function Ad(e,n){const r=n?e?wP:EP:e?xP:_P;return(i,a,l)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(nn(r,a)&&a in i?r:i,a,l)}const SP={get:Ad(!1,!1)},CP={get:Ad(!1,!0)},TP={get:Ad(!0,!1)},AP={get:Ad(!0,!0)},l1=new WeakMap,u1=new WeakMap,c1=new WeakMap,f1=new WeakMap;function OP(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function IP(e){return e.__v_skip||!Object.isExtensible(e)?0:OP(F2(e))}function ku(e){return fo(e)?e:Id(e,!1,o1,SP,l1)}function am(e){return Id(e,!1,vP,CP,u1)}function Od(e){return Id(e,!0,a1,TP,c1)}function d1(e){return Id(e,!0,yP,AP,f1)}function Id(e,n,r,i,a){if(!hn(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const o=IP(e);if(o===0)return e;const f=new Proxy(e,o===2?i:r);return a.set(e,f),f}function ro(e){return fo(e)?ro(e.__v_raw):!!(e&&e.__v_isReactive)}function fo(e){return!!(e&&e.__v_isReadonly)}function Ya(e){return!!(e&&e.__v_isShallow)}function Pd(e){return ro(e)||fo(e)}function Gt(e){const n=e&&e.__v_raw;return n?Gt(n):e}function Ld(e){return Kf(e,"__v_skip",!0),e}const _u=e=>hn(e)?ku(e):e,lm=e=>hn(e)?Od(e):e;function um(e){no&&ji&&(e=Gt(e),r1(e.dep||(e.dep=sm())))}function Nd(e,n){e=Gt(e);const r=e.dep;r&&lg(r)}function Bn(e){return!!(e&&e.__v_isRef===!0)}function st(e){return p1(e,!1)}function cm(e){return p1(e,!0)}function p1(e,n){return Bn(e)?e:new PP(e,n)}class PP{constructor(n,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?n:Gt(n),this._value=r?n:_u(n)}get value(){return um(this),this._value}set value(n){const r=this.__v_isShallow||Ya(n)||fo(n);n=r?n:Gt(n),za(n,this._rawValue)&&(this._rawValue=n,this._value=r?n:_u(n),Nd(this))}}function h1(e){Nd(e)}function Mu(e){return Bn(e)?e.value:e}function g1(e){return gt(e)?e():Mu(e)}const LP={get:(e,n,r)=>Mu(Reflect.get(e,n,r)),set:(e,n,r,i)=>{const a=e[n];return Bn(a)&&!Bn(r)?(a.value=r,!0):Reflect.set(e,n,r,i)}};function Rd(e){return ro(e)?e:new Proxy(e,LP)}class NP{constructor(n){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:i}=n(()=>um(this),()=>Nd(this));this._get=r,this._set=i}get value(){return this._get()}set value(n){this._set(n)}}function m1(e){return new NP(e)}function v1(e){const n=Ge(e)?new Array(e.length):{};for(const r in e)n[r]=b1(e,r);return n}class RP{constructor(n,r,i){this._object=n,this._key=r,this._defaultValue=i,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}get dep(){return iP(Gt(this._object),this._key)}}class DP{constructor(n){this._getter=n,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function y1(e,n,r){return Bn(e)?e:gt(e)?new DP(e):hn(e)&&arguments.length>1?b1(e,n,r):st(e)}function b1(e,n,r){const i=e[n];return Bn(i)?i:new RP(e,n,r)}class kP{constructor(n,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ol(n,()=>{this._dirty||(this._dirty=!0,Nd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){const n=Gt(this);return um(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}function MP(e,n,r=!1){let i,a;const l=gt(e);return l?(i=e,a=Lr):(i=e.get,a=e.set),new kP(i,a,l||!a,r)}function _1(e,...n){}function x1(e,n){}function os(e,n,r,i){let a;try{a=i?e(...i):e()}catch(l){yo(l,n,r)}return a}function zr(e,n,r,i){if(gt(e)){const l=os(e,n,r,i);return l&&tm(l)&&l.catch(o=>{yo(o,n,r)}),l}const a=[];for(let l=0;l>>1;Eu(vr[i])ss&&vr.splice(n,1)}function Md(e){Ge(e)?Wa.push(...e):(!Ss||!Ss.includes(e,e.allowRecurse?Vo+1:Vo))&&Wa.push(e),w1()}function jb(e,n=xu?ss+1:0){for(;nEu(r)-Eu(i)),Vo=0;Voe.id==null?1/0:e.id,UP=(e,n)=>{const r=Eu(e)-Eu(n);if(r===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return r};function S1(e){ug=!1,xu=!0,vr.sort(UP);const n=Lr;try{for(ss=0;ssKo.emit(a,...l)),gf=[]):typeof window<"u"&&window.HTMLElement&&!((i=(r=window.navigator)==null?void 0:r.userAgent)!=null&&i.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(l=>{dm(l,n)}),setTimeout(()=>{Ko||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,gf=[])},3e3)):gf=[]}function jP(e,n,...r){if(e.isUnmounted)return;const i=e.vnode.props||pn;let a=r;const l=n.startsWith("update:"),o=l&&n.slice(7);if(o&&o in i){const y=`${o==="modelValue"?"model":o}Modifiers`,{number:v,trim:_}=i[y]||pn;_&&(a=r.map(w=>Ot(w)?w.trim():w)),v&&(a=r.map(Gf))}let f,d=i[f=Qo(n)]||i[f=Qo(Un(n))];!d&&l&&(d=i[f=Qo(fi(n))]),d&&zr(d,e,6,a);const g=i[f+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,zr(g,e,6,a)}}function C1(e,n,r=!1){const i=n.emitsCache,a=i.get(e);if(a!==void 0)return a;const l=e.emits;let o={},f=!1;if(!gt(e)){const d=g=>{const y=C1(g,n,!0);y&&(f=!0,Zt(o,y))};!r&&n.mixins.length&&n.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!l&&!f?(hn(e)&&i.set(e,null),null):(Ge(l)?l.forEach(d=>o[d]=null):Zt(o,l),hn(e)&&i.set(e,o),o)}function $d(e,n){return!e||!sa(n)?!1:(n=n.slice(2).replace(/Once$/,""),nn(e,n[0].toLowerCase()+n.slice(1))||nn(e,fi(n))||nn(e,n))}let ir=null,Fd=null;function wu(e){const n=ir;return ir=e,Fd=e&&e.type.__scopeId||null,n}function T1(e){Fd=e}function A1(){Fd=null}const O1=e=>Pr;function Pr(e,n=ir,r){if(!n||e._n)return e;const i=(...a)=>{i._d&&Zf(-1);const l=wu(n);let o;try{o=e(...a)}finally{wu(l),i._d&&Zf(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function kf(e){const{type:n,vnode:r,proxy:i,withProxy:a,props:l,propsOptions:[o],slots:f,attrs:d,emit:g,render:y,renderCache:v,data:_,setupState:w,ctx:C,inheritAttrs:P}=e;let M,S;const I=wu(e);try{if(r.shapeFlag&4){const D=a||i;M=ci(y.call(D,D,v,l,w,_,C)),S=d}else{const D=n;M=ci(D.length>1?D(l,{attrs:d,slots:f,emit:g}):D(l,null)),S=n.props?d:WP(d)}}catch(D){uu.length=0,yo(D,e,1),M=vt(cr)}let B=M;if(S&&P!==!1){const D=Object.keys(S),{shapeFlag:$}=B;D.length&&$&7&&(o&&D.some(qg)&&(S=VP(S,o)),B=Vi(B,S))}return r.dirs&&(B=Vi(B),B.dirs=B.dirs?B.dirs.concat(r.dirs):r.dirs),r.transition&&(B.transition=r.transition),M=B,wu(I),M}function HP(e){let n;for(let r=0;r{let n;for(const r in e)(r==="class"||r==="style"||sa(r))&&((n||(n={}))[r]=e[r]);return n},VP=(e,n)=>{const r={};for(const i in e)(!qg(i)||!(i.slice(9)in n))&&(r[i]=e[i]);return r};function KP(e,n,r){const{props:i,children:a,component:l}=e,{props:o,children:f,patchFlag:d}=n,g=l.emitsOptions;if(n.dirs||n.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return i?Hb(i,o,g):!!o;if(d&8){const y=n.dynamicProps;for(let v=0;ve.__isSuspense,GP={name:"Suspense",__isSuspense:!0,process(e,n,r,i,a,l,o,f,d,g){e==null?zP(n,r,i,a,l,o,f,d,g):YP(e,n,r,i,a,o,f,d,g)},hydrate:XP,create:hm,normalize:QP},P1=GP;function Su(e,n){const r=e.props&&e.props[n];gt(r)&&r()}function zP(e,n,r,i,a,l,o,f,d){const{p:g,o:{createElement:y}}=d,v=y("div"),_=e.suspense=hm(e,a,i,n,v,r,l,o,f,d);g(null,_.pendingBranch=e.ssContent,v,null,i,_,l,o),_.deps>0?(Su(e,"onPending"),Su(e,"onFallback"),g(null,e.ssFallback,n,r,i,null,l,o),Va(_,e.ssFallback)):_.resolve(!1,!0)}function YP(e,n,r,i,a,l,o,f,{p:d,um:g,o:{createElement:y}}){const v=n.suspense=e.suspense;v.vnode=n,n.el=e.el;const _=n.ssContent,w=n.ssFallback,{activeBranch:C,pendingBranch:P,isInFallback:M,isHydrating:S}=v;if(P)v.pendingBranch=_,Hi(_,P)?(d(P,_,v.hiddenContainer,null,a,v,l,o,f),v.deps<=0?v.resolve():M&&(d(C,w,r,i,a,null,l,o,f),Va(v,w))):(v.pendingId++,S?(v.isHydrating=!1,v.activeBranch=P):g(P,a,v),v.deps=0,v.effects.length=0,v.hiddenContainer=y("div"),M?(d(null,_,v.hiddenContainer,null,a,v,l,o,f),v.deps<=0?v.resolve():(d(C,w,r,i,a,null,l,o,f),Va(v,w))):C&&Hi(_,C)?(d(C,_,r,i,a,v,l,o,f),v.resolve(!0)):(d(null,_,v.hiddenContainer,null,a,v,l,o,f),v.deps<=0&&v.resolve()));else if(C&&Hi(_,C))d(C,_,r,i,a,v,l,o,f),Va(v,_);else if(Su(n,"onPending"),v.pendingBranch=_,v.pendingId++,d(null,_,v.hiddenContainer,null,a,v,l,o,f),v.deps<=0)v.resolve();else{const{timeout:I,pendingId:B}=v;I>0?setTimeout(()=>{v.pendingId===B&&v.fallback(w)},I):I===0&&v.fallback(w)}}function hm(e,n,r,i,a,l,o,f,d,g,y=!1){const{p:v,m:_,um:w,n:C,o:{parentNode:P,remove:M}}=g;let S;const I=JP(e);I&&n!=null&&n.pendingBranch&&(S=n.pendingId,n.deps++);const B=e.props?zf(e.props.timeout):void 0,D={vnode:e,parent:n,parentComponent:r,isSVG:o,container:i,hiddenContainer:a,anchor:l,deps:0,pendingId:0,timeout:typeof B=="number"?B:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:y,isUnmounted:!1,effects:[],resolve($=!1,K=!1){const{vnode:m,activeBranch:Y,pendingBranch:j,pendingId:G,effects:re,parentComponent:pe,container:Z}=D;if(D.isHydrating)D.isHydrating=!1;else if(!$){const Ee=Y&&j.transition&&j.transition.mode==="out-in";Ee&&(Y.transition.afterLeave=()=>{G===D.pendingId&&_(j,Z,Ae,0)});let{anchor:Ae}=D;Y&&(Ae=C(Y),w(Y,pe,D,!0)),Ee||_(j,Z,Ae,0)}Va(D,j),D.pendingBranch=null,D.isInFallback=!1;let le=D.parent,Fe=!1;for(;le;){if(le.pendingBranch){le.effects.push(...re),Fe=!0;break}le=le.parent}Fe||Md(re),D.effects=[],I&&n&&n.pendingBranch&&S===n.pendingId&&(n.deps--,n.deps===0&&!K&&n.resolve()),Su(m,"onResolve")},fallback($){if(!D.pendingBranch)return;const{vnode:K,activeBranch:m,parentComponent:Y,container:j,isSVG:G}=D;Su(K,"onFallback");const re=C(m),pe=()=>{!D.isInFallback||(v(null,$,j,re,Y,null,G,f,d),Va(D,$))},Z=$.transition&&$.transition.mode==="out-in";Z&&(m.transition.afterLeave=pe),D.isInFallback=!0,w(m,Y,null,!0),Z||pe()},move($,K,m){D.activeBranch&&_(D.activeBranch,$,K,m),D.container=$},next(){return D.activeBranch&&C(D.activeBranch)},registerDep($,K){const m=!!D.pendingBranch;m&&D.deps++;const Y=$.vnode.el;$.asyncDep.catch(j=>{yo(j,$,0)}).then(j=>{if($.isUnmounted||D.isUnmounted||D.pendingId!==$.suspenseId)return;$.asyncResolved=!0;const{vnode:G}=$;mg($,j,!1),Y&&(G.el=Y);const re=!Y&&$.subTree.el;K($,G,P(Y||$.subTree.el),Y?null:C($.subTree),D,o,d),re&&M(re),pm($,G.el),m&&--D.deps===0&&D.resolve()})},unmount($,K){D.isUnmounted=!0,D.activeBranch&&w(D.activeBranch,r,$,K),D.pendingBranch&&w(D.pendingBranch,r,$,K)}};return D}function XP(e,n,r,i,a,l,o,f,d){const g=n.suspense=hm(n,i,r,e.parentNode,document.createElement("div"),null,a,l,o,f,!0),y=d(e,g.pendingBranch=n.ssContent,r,g,l,o);return g.deps===0&&g.resolve(!1,!0),y}function QP(e){const{shapeFlag:n,children:r}=e,i=n&32;e.ssContent=Wb(i?r.default:r),e.ssFallback=i?Wb(r.fallback):vt(cr)}function Wb(e){let n;if(gt(e)){const r=na&&e._c;r&&(e._d=!1,xe()),e=e(),r&&(e._d=!0,n=Kr,vx())}return Ge(e)&&(e=HP(e)),e=ci(e),n&&!e.dynamicChildren&&(e.dynamicChildren=n.filter(r=>r!==e)),e}function L1(e,n){n&&n.pendingBranch?Ge(e)?n.effects.push(...e):n.effects.push(e):Md(e)}function Va(e,n){e.activeBranch=n;const{vnode:r,parentComponent:i}=e,a=r.el=n.el;i&&i.subTree===r&&(i.vnode.el=a,pm(i,a))}function JP(e){var n;return((n=e.props)==null?void 0:n.suspensible)!=null&&e.props.suspensible!==!1}function N1(e,n){return $u(e,null,n)}function gm(e,n){return $u(e,null,{flush:"post"})}function R1(e,n){return $u(e,null,{flush:"sync"})}const mf={};function Yr(e,n,r){return $u(e,n,r)}function $u(e,n,{immediate:r,deep:i,flush:a,onTrack:l,onTrigger:o}=pn){var f;const d=Sd()===((f=Wn)==null?void 0:f.scope)?Wn:null;let g,y=!1,v=!1;if(Bn(e)?(g=()=>e.value,y=Ya(e)):ro(e)?(g=()=>e,i=!0):Ge(e)?(v=!0,y=e.some(D=>ro(D)||Ya(D)),g=()=>e.map(D=>{if(Bn(D))return D.value;if(ro(D))return zo(D);if(gt(D))return os(D,d,2)})):gt(e)?n?g=()=>os(e,d,2):g=()=>{if(!(d&&d.isUnmounted))return _&&_(),zr(e,d,3,[w])}:g=Lr,n&&i){const D=g;g=()=>zo(D())}let _,w=D=>{_=I.onStop=()=>{os(D,d,4)}},C;if(Xa)if(w=Lr,n?r&&zr(n,d,3,[g(),v?[]:void 0,w]):g(),a==="sync"){const D=$m();C=D.__watcherHandles||(D.__watcherHandles=[])}else return Lr;let P=v?new Array(e.length).fill(mf):mf;const M=()=>{if(!!I.active)if(n){const D=I.run();(i||y||(v?D.some(($,K)=>za($,P[K])):za(D,P)))&&(_&&_(),zr(n,d,3,[D,P===mf?void 0:v&&P[0]===mf?[]:P,w]),P=D)}else I.run()};M.allowRecurse=!!n;let S;a==="sync"?S=M:a==="post"?S=()=>ur(M,d&&d.suspense):(M.pre=!0,d&&(M.id=d.uid),S=()=>kd(M));const I=new ol(g,S);n?r?M():P=I.run():a==="post"?ur(I.run.bind(I),d&&d.suspense):I.run();const B=()=>{I.stop(),d&&d.scope&&em(d.scope.effects,I)};return C&&C.push(B),B}function ZP(e,n,r){const i=this.proxy,a=Ot(e)?e.includes(".")?D1(i,e):()=>i[e]:e.bind(i,i);let l;gt(n)?l=n:(l=n.handler,r=n);const o=Wn;ho(this);const f=$u(a,l.bind(i),r);return o?ho(o):oo(),f}function D1(e,n){const r=n.split(".");return()=>{let i=e;for(let a=0;a{zo(r,n)});else if(G0(e))for(const r in e)zo(e[r],n);return e}function on(e,n){const r=ir;if(r===null)return e;const i=Kd(r)||r.proxy,a=e.dirs||(e.dirs=[]);for(let l=0;l{e.isMounted=!0}),ju(()=>{e.isUnmounting=!0}),e}const wi=[Function,Array],Ud={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wi,onEnter:wi,onAfterEnter:wi,onEnterCancelled:wi,onBeforeLeave:wi,onLeave:wi,onAfterLeave:wi,onLeaveCancelled:wi,onBeforeAppear:wi,onAppear:wi,onAfterAppear:wi,onAppearCancelled:wi},qP={name:"BaseTransition",props:Ud,setup(e,{slots:n}){const r=Rr(),i=Bd();let a;return()=>{const l=n.default&&Fu(n.default(),!0);if(!l||!l.length)return;let o=l[0];if(l.length>1){for(const P of l)if(P.type!==cr){o=P;break}}const f=Gt(e),{mode:d}=f;if(i.isLeaving)return Dh(o);const g=Vb(o);if(!g)return Dh(o);const y=ta(g,f,i,r);po(g,y);const v=r.subTree,_=v&&Vb(v);let w=!1;const{getTransitionKey:C}=g.type;if(C){const P=C();a===void 0?a=P:P!==a&&(a=P,w=!0)}if(_&&_.type!==cr&&(!Hi(g,_)||w)){const P=ta(_,f,i,r);if(po(_,P),d==="out-in")return i.isLeaving=!0,P.afterLeave=()=>{i.isLeaving=!1,r.update.active!==!1&&r.update()},Dh(o);d==="in-out"&&g.type!==cr&&(P.delayLeave=(M,S,I)=>{const B=k1(i,_);B[String(_.key)]=_,M._leaveCb=()=>{S(),M._leaveCb=void 0,delete y.delayedLeave},y.delayedLeave=I})}return o}}},mm=qP;function k1(e,n){const{leavingVNodes:r}=e;let i=r.get(n.type);return i||(i=Object.create(null),r.set(n.type,i)),i}function ta(e,n,r,i){const{appear:a,mode:l,persisted:o=!1,onBeforeEnter:f,onEnter:d,onAfterEnter:g,onEnterCancelled:y,onBeforeLeave:v,onLeave:_,onAfterLeave:w,onLeaveCancelled:C,onBeforeAppear:P,onAppear:M,onAfterAppear:S,onAppearCancelled:I}=n,B=String(e.key),D=k1(r,e),$=(Y,j)=>{Y&&zr(Y,i,9,j)},K=(Y,j)=>{const G=j[1];$(Y,j),Ge(Y)?Y.every(re=>re.length<=1)&&G():Y.length<=1&&G()},m={mode:l,persisted:o,beforeEnter(Y){let j=f;if(!r.isMounted)if(a)j=P||f;else return;Y._leaveCb&&Y._leaveCb(!0);const G=D[B];G&&Hi(e,G)&&G.el._leaveCb&&G.el._leaveCb(),$(j,[Y])},enter(Y){let j=d,G=g,re=y;if(!r.isMounted)if(a)j=M||d,G=S||g,re=I||y;else return;let pe=!1;const Z=Y._enterCb=le=>{pe||(pe=!0,le?$(re,[Y]):$(G,[Y]),m.delayedLeave&&m.delayedLeave(),Y._enterCb=void 0)};j?K(j,[Y,Z]):Z()},leave(Y,j){const G=String(e.key);if(Y._enterCb&&Y._enterCb(!0),r.isUnmounting)return j();$(v,[Y]);let re=!1;const pe=Y._leaveCb=Z=>{re||(re=!0,j(),Z?$(C,[Y]):$(w,[Y]),Y._leaveCb=void 0,D[G]===e&&delete D[G])};D[G]=e,_?K(_,[Y,pe]):pe()},clone(Y){return ta(Y,n,r,i)}};return m}function Dh(e){if(Bu(e))return e=Vi(e),e.children=null,e}function Vb(e){return Bu(e)?e.children?e.children[0]:void 0:e}function po(e,n){e.shapeFlag&6&&e.component?po(e.component.subTree,n):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Fu(e,n=!1,r){let i=[],a=0;for(let l=0;l1)for(let l=0;lZt({name:e.name},n,{setup:e}))():e}const Zo=e=>!!e.type.__asyncLoader;function M1(e){gt(e)&&(e={loader:e});const{loader:n,loadingComponent:r,errorComponent:i,delay:a=200,timeout:l,suspensible:o=!0,onError:f}=e;let d=null,g,y=0;const v=()=>(y++,d=null,_()),_=()=>{let w;return d||(w=d=n().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),f)return new Promise((P,M)=>{f(C,()=>P(v()),()=>M(C),y+1)});throw C}).then(C=>w!==d&&d?d:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),g=C,C)))};return jd({name:"AsyncComponentWrapper",__asyncLoader:_,get __asyncResolved(){return g},setup(){const w=Wn;if(g)return()=>kh(g,w);const C=I=>{d=null,yo(I,w,13,!i)};if(o&&w.suspense||Xa)return _().then(I=>()=>kh(I,w)).catch(I=>(C(I),()=>i?vt(i,{error:I}):null));const P=st(!1),M=st(),S=st(!!a);return a&&setTimeout(()=>{S.value=!1},a),l!=null&&setTimeout(()=>{if(!P.value&&!M.value){const I=new Error(`Async component timed out after ${l}ms.`);C(I),M.value=I}},l),_().then(()=>{P.value=!0,w.parent&&Bu(w.parent.vnode)&&kd(w.parent.update)}).catch(I=>{C(I),M.value=I}),()=>{if(P.value&&g)return kh(g,w);if(M.value&&i)return vt(i,{error:M.value});if(r&&!S.value)return vt(r)}}})}function kh(e,n){const{ref:r,props:i,children:a,ce:l}=n.vnode,o=vt(e,i,a);return o.ref=r,o.ce=l,delete n.vnode.ce,o}const Bu=e=>e.type.__isKeepAlive,eL={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:n}){const r=Rr(),i=r.ctx;if(!i.renderer)return()=>{const I=n.default&&n.default();return I&&I.length===1?I[0]:I};const a=new Map,l=new Set;let o=null;const f=r.suspense,{renderer:{p:d,m:g,um:y,o:{createElement:v}}}=i,_=v("div");i.activate=(I,B,D,$,K)=>{const m=I.component;g(I,B,D,0,f),d(m.vnode,I,B,D,m,f,$,I.slotScopeIds,K),ur(()=>{m.isDeactivated=!1,m.a&&Ha(m.a);const Y=I.props&&I.props.onVnodeMounted;Y&&Vr(Y,m.parent,I)},f)},i.deactivate=I=>{const B=I.component;g(I,_,null,1,f),ur(()=>{B.da&&Ha(B.da);const D=I.props&&I.props.onVnodeUnmounted;D&&Vr(D,B.parent,I),B.isDeactivated=!0},f)};function w(I){Mh(I),y(I,r,f,!0)}function C(I){a.forEach((B,D)=>{const $=yg(B.type);$&&(!I||!I($))&&P(D)})}function P(I){const B=a.get(I);!o||!Hi(B,o)?w(B):o&&Mh(o),a.delete(I),l.delete(I)}Yr(()=>[e.include,e.exclude],([I,B])=>{I&&C(D=>eu(I,D)),B&&C(D=>!eu(B,D))},{flush:"post",deep:!0});let M=null;const S=()=>{M!=null&&a.set(M,$h(r.subTree))};return aa(S),Uu(S),ju(()=>{a.forEach(I=>{const{subTree:B,suspense:D}=r,$=$h(B);if(I.type===$.type&&I.key===$.key){Mh($);const K=$.component.da;K&&ur(K,D);return}w(I)})}),()=>{if(M=null,!n.default)return null;const I=n.default(),B=I[0];if(I.length>1)return o=null,I;if(!Is(B)||!(B.shapeFlag&4)&&!(B.shapeFlag&128))return o=null,B;let D=$h(B);const $=D.type,K=yg(Zo(D)?D.type.__asyncResolved||{}:$),{include:m,exclude:Y,max:j}=e;if(m&&(!K||!eu(m,K))||Y&&K&&eu(Y,K))return o=D,B;const G=D.key==null?$:D.key,re=a.get(G);return D.el&&(D=Vi(D),B.shapeFlag&128&&(B.ssContent=D)),M=G,re?(D.el=re.el,D.component=re.component,D.transition&&po(D,D.transition),D.shapeFlag|=512,l.delete(G),l.add(G)):(l.add(G),j&&l.size>parseInt(j,10)&&P(l.values().next().value)),D.shapeFlag|=256,o=D,I1(B.type)?B:D}}},$1=eL;function eu(e,n){return Ge(e)?e.some(r=>eu(r,n)):Ot(e)?e.split(",").includes(n):$2(e)?e.test(n):!1}function vm(e,n){F1(e,"a",n)}function ym(e,n){F1(e,"da",n)}function F1(e,n,r=Wn){const i=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Hd(n,i,r),r){let a=r.parent;for(;a&&a.parent;)Bu(a.parent.vnode)&&tL(i,n,r,a),a=a.parent}}function tL(e,n,r,i){const a=Hd(n,e,i,!0);ul(()=>{em(i[n],a)},r)}function Mh(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $h(e){return e.shapeFlag&128?e.ssContent:e}function Hd(e,n,r=Wn,i=!1){if(r){const a=r[e]||(r[e]=[]),l=n.__weh||(n.__weh=(...o)=>{if(r.isUnmounted)return;al(),ho(r);const f=zr(n,r,e,o);return oo(),ll(),f});return i?a.unshift(l):a.push(l),l}}const Ps=e=>(n,r=Wn)=>(!Xa||e==="sp")&&Hd(e,(...i)=>n(...i),r),Wd=Ps("bm"),aa=Ps("m"),bm=Ps("bu"),Uu=Ps("u"),ju=Ps("bum"),ul=Ps("um"),_m=Ps("sp"),xm=Ps("rtg"),Em=Ps("rtc");function wm(e,n=Wn){Hd("ec",e,n)}const Sm="components",nL="directives";function rn(e,n){return Cm(Sm,e,!0,n)||e}const B1=Symbol.for("v-ndc");function U1(e){return Ot(e)?Cm(Sm,e,!1)||e:e||B1}function j1(e){return Cm(nL,e)}function Cm(e,n,r=!0,i=!1){const a=ir||Wn;if(a){const l=a.type;if(e===Sm){const f=yg(l,!1);if(f&&(f===n||f===Un(n)||f===vo(Un(n))))return l}const o=Kb(a[e]||l[e],n)||Kb(a.appContext[e],n);return!o&&i?l:o}}function Kb(e,n){return e&&(e[n]||e[Un(n)]||e[vo(Un(n))])}function Nr(e,n,r,i){let a;const l=r&&r[i];if(Ge(e)||Ot(e)){a=new Array(e.length);for(let o=0,f=e.length;on(o,f,void 0,l&&l[f]));else{const o=Object.keys(e);a=new Array(o.length);for(let f=0,d=o.length;f{const l=i.fn(...a);return l&&(l.key=i.key),l}:i.fn)}return e}function Hu(e,n,r={},i,a){if(ir.isCE||ir.parent&&Zo(ir.parent)&&ir.parent.isCE)return n!=="default"&&(r.name=n),vt("slot",r,i&&i());let l=e[n];l&&l._c&&(l._d=!1),xe();const o=l&&W1(l(r)),f=In(Xt,{key:r.key||o&&o.key||`_${n}`},o||(i?i():[]),o&&e._===1?64:-2);return!a&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),l&&l._c&&(l._d=!0),f}function W1(e){return e.some(n=>Is(n)?!(n.type===cr||n.type===Xt&&!W1(n.children)):!0)?e:null}function V1(e,n){const r={};for(const i in e)r[n&&/[A-Z]/.test(i)?`on:${i}`:Qo(i)]=e[i];return r}const cg=e=>e?wx(e)?Kd(e)||e.proxy:cg(e.parent):null,au=Zt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>cg(e.parent),$root:e=>cg(e.root),$emit:e=>e.emit,$options:e=>Tm(e),$forceUpdate:e=>e.f||(e.f=()=>kd(e.update)),$nextTick:e=>e.n||(e.n=Dd.bind(e.proxy)),$watch:e=>ZP.bind(e)}),Fh=(e,n)=>e!==pn&&!e.__isScriptSetup&&nn(e,n),fg={get({_:e},n){const{ctx:r,setupState:i,data:a,props:l,accessCache:o,type:f,appContext:d}=e;let g;if(n[0]!=="$"){const w=o[n];if(w!==void 0)switch(w){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return l[n]}else{if(Fh(i,n))return o[n]=1,i[n];if(a!==pn&&nn(a,n))return o[n]=2,a[n];if((g=e.propsOptions[0])&&nn(g,n))return o[n]=3,l[n];if(r!==pn&&nn(r,n))return o[n]=4,r[n];dg&&(o[n]=0)}}const y=au[n];let v,_;if(y)return n==="$attrs"&&Qr(e,"get",n),y(e);if((v=f.__cssModules)&&(v=v[n]))return v;if(r!==pn&&nn(r,n))return o[n]=4,r[n];if(_=d.config.globalProperties,nn(_,n))return _[n]},set({_:e},n,r){const{data:i,setupState:a,ctx:l}=e;return Fh(a,n)?(a[n]=r,!0):i!==pn&&nn(i,n)?(i[n]=r,!0):nn(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(l[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,propsOptions:l}},o){let f;return!!r[o]||e!==pn&&nn(e,o)||Fh(n,o)||(f=l[0])&&nn(f,o)||nn(i,o)||nn(au,o)||nn(a.config.globalProperties,o)},defineProperty(e,n,r){return r.get!=null?e._.accessCache[n]=0:nn(r,"value")&&this.set(e,n,r.value,null),Reflect.defineProperty(e,n,r)}},rL=Zt({},fg,{get(e,n){if(n!==Symbol.unscopables)return fg.get(e,n,e)},has(e,n){return n[0]!=="_"&&!W2(n)}});function K1(){return null}function G1(){return null}function z1(e){}function Y1(e){}function X1(){return null}function Q1(){}function J1(e,n){return null}function Z1(){return tx().slots}function q1(){return tx().attrs}function ex(e,n,r){const i=Rr();if(r&&r.local){const a=st(e[n]);return Yr(()=>e[n],l=>a.value=l),Yr(a,l=>{l!==e[n]&&i.emit(`update:${n}`,l)}),a}else return{__v_isRef:!0,get value(){return e[n]},set value(a){i.emit(`update:${n}`,a)}}}function tx(){const e=Rr();return e.setupContext||(e.setupContext=Ax(e))}function Cu(e){return Ge(e)?e.reduce((n,r)=>(n[r]=null,n),{}):e}function nx(e,n){const r=Cu(e);for(const i in n){if(i.startsWith("__skip"))continue;let a=r[i];a?Ge(a)||gt(a)?a=r[i]={type:a,default:n[i]}:a.default=n[i]:a===null&&(a=r[i]={default:n[i]}),a&&n[`__skip_${i}`]&&(a.skipFactory=!0)}return r}function rx(e,n){return!e||!n?e||n:Ge(e)&&Ge(n)?e.concat(n):Zt({},Cu(e),Cu(n))}function ix(e,n){const r={};for(const i in e)n.includes(i)||Object.defineProperty(r,i,{enumerable:!0,get:()=>e[i]});return r}function sx(e){const n=Rr();let r=e();return oo(),tm(r)&&(r=r.catch(i=>{throw ho(n),i})),[r,()=>ho(n)]}let dg=!0;function iL(e){const n=Tm(e),r=e.proxy,i=e.ctx;dg=!1,n.beforeCreate&&Gb(n.beforeCreate,e,"bc");const{data:a,computed:l,methods:o,watch:f,provide:d,inject:g,created:y,beforeMount:v,mounted:_,beforeUpdate:w,updated:C,activated:P,deactivated:M,beforeDestroy:S,beforeUnmount:I,destroyed:B,unmounted:D,render:$,renderTracked:K,renderTriggered:m,errorCaptured:Y,serverPrefetch:j,expose:G,inheritAttrs:re,components:pe,directives:Z,filters:le}=n;if(g&&sL(g,i,null),o)for(const Ae in o){const $e=o[Ae];gt($e)&&(i[Ae]=$e.bind(r))}if(a){const Ae=a.call(r,r);hn(Ae)&&(e.data=ku(Ae))}if(dg=!0,l)for(const Ae in l){const $e=l[Ae],tt=gt($e)?$e.bind(r,r):gt($e.get)?$e.get.bind(r,r):Lr,Dt=!gt($e)&>($e.set)?$e.set.bind(r):Lr,ot=Jn({get:tt,set:Dt});Object.defineProperty(i,Ae,{enumerable:!0,configurable:!0,get:()=>ot.value,set:mt=>ot.value=mt})}if(f)for(const Ae in f)ox(f[Ae],i,r,Ae);if(d){const Ae=gt(d)?d.call(r):d;Reflect.ownKeys(Ae).forEach($e=>{io($e,Ae[$e])})}y&&Gb(y,e,"c");function Ee(Ae,$e){Ge($e)?$e.forEach(tt=>Ae(tt.bind(r))):$e&&Ae($e.bind(r))}if(Ee(Wd,v),Ee(aa,_),Ee(bm,w),Ee(Uu,C),Ee(vm,P),Ee(ym,M),Ee(wm,Y),Ee(Em,K),Ee(xm,m),Ee(ju,I),Ee(ul,D),Ee(_m,j),Ge(G))if(G.length){const Ae=e.exposed||(e.exposed={});G.forEach($e=>{Object.defineProperty(Ae,$e,{get:()=>r[$e],set:tt=>r[$e]=tt})})}else e.exposed||(e.exposed={});$&&e.render===Lr&&(e.render=$),re!=null&&(e.inheritAttrs=re),pe&&(e.components=pe),Z&&(e.directives=Z)}function sL(e,n,r=Lr){Ge(e)&&(e=pg(e));for(const i in e){const a=e[i];let l;hn(a)?"default"in a?l=vn(a.from||i,a.default,!0):l=vn(a.from||i):l=vn(a),Bn(l)?Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):n[i]=l}}function Gb(e,n,r){zr(Ge(e)?e.map(i=>i.bind(n.proxy)):e.bind(n.proxy),n,r)}function ox(e,n,r,i){const a=i.includes(".")?D1(r,i):()=>r[i];if(Ot(e)){const l=n[e];gt(l)&&Yr(a,l)}else if(gt(e))Yr(a,e.bind(r));else if(hn(e))if(Ge(e))e.forEach(l=>ox(l,n,r,i));else{const l=gt(e.handler)?e.handler.bind(r):n[e.handler];gt(l)&&Yr(a,l,e)}}function Tm(e){const n=e.type,{mixins:r,extends:i}=n,{mixins:a,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,f=l.get(n);let d;return f?d=f:!a.length&&!r&&!i?d=n:(d={},a.length&&a.forEach(g=>Qf(d,g,o,!0)),Qf(d,n,o)),hn(n)&&l.set(n,d),d}function Qf(e,n,r,i=!1){const{mixins:a,extends:l}=n;l&&Qf(e,l,r,!0),a&&a.forEach(o=>Qf(e,o,r,!0));for(const o in n)if(!(i&&o==="expose")){const f=oL[o]||r&&r[o];e[o]=f?f(e[o],n[o]):n[o]}return e}const oL={data:zb,props:Yb,emits:Yb,methods:tu,computed:tu,beforeCreate:Ar,created:Ar,beforeMount:Ar,mounted:Ar,beforeUpdate:Ar,updated:Ar,beforeDestroy:Ar,beforeUnmount:Ar,destroyed:Ar,unmounted:Ar,activated:Ar,deactivated:Ar,errorCaptured:Ar,serverPrefetch:Ar,components:tu,directives:tu,watch:lL,provide:zb,inject:aL};function zb(e,n){return n?e?function(){return Zt(gt(e)?e.call(this,this):e,gt(n)?n.call(this,this):n)}:n:e}function aL(e,n){return tu(pg(e),pg(n))}function pg(e){if(Ge(e)){const n={};for(let r=0;r1)return r&>(n)?n.call(i&&i.proxy):n}}function lx(){return!!(Wn||ir||Tu)}function fL(e,n,r,i=!1){const a={},l={};Kf(l,Vd,1),e.propsDefaults=Object.create(null),ux(e,n,a,l);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:am(a):e.type.props?e.props=a:e.props=l,e.attrs=l}function dL(e,n,r,i){const{props:a,attrs:l,vnode:{patchFlag:o}}=e,f=Gt(a),[d]=e.propsOptions;let g=!1;if((i||o>0)&&!(o&16)){if(o&8){const y=e.vnode.dynamicProps;for(let v=0;v{d=!0;const[_,w]=cx(v,n,!0);Zt(o,_),w&&f.push(...w)};!r&&n.mixins.length&&n.mixins.forEach(y),e.extends&&y(e.extends),e.mixins&&e.mixins.forEach(y)}if(!l&&!d)return hn(e)&&i.set(e,Ua),Ua;if(Ge(l))for(let y=0;y-1,w[1]=P<0||C-1||nn(w,"default"))&&f.push(v)}}}const g=[o,f];return hn(e)&&i.set(e,g),g}function Xb(e){return e[0]!=="$"}function Qb(e){const n=e&&e.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:e===null?"null":""}function Jb(e,n){return Qb(e)===Qb(n)}function Zb(e,n){return Ge(n)?n.findIndex(r=>Jb(r,e)):gt(n)&&Jb(n,e)?0:-1}const fx=e=>e[0]==="_"||e==="$stable",Am=e=>Ge(e)?e.map(ci):[ci(e)],pL=(e,n,r)=>{if(n._n)return n;const i=Pr((...a)=>Am(n(...a)),r);return i._c=!1,i},dx=(e,n,r)=>{const i=e._ctx;for(const a in e){if(fx(a))continue;const l=e[a];if(gt(l))n[a]=pL(a,l,i);else if(l!=null){const o=Am(l);n[a]=()=>o}}},px=(e,n)=>{const r=Am(n);e.slots.default=()=>r},hL=(e,n)=>{if(e.vnode.shapeFlag&32){const r=n._;r?(e.slots=Gt(n),Kf(n,"_",r)):dx(n,e.slots={})}else e.slots={},n&&px(e,n);Kf(e.slots,Vd,1)},gL=(e,n,r)=>{const{vnode:i,slots:a}=e;let l=!0,o=pn;if(i.shapeFlag&32){const f=n._;f?r&&f===1?l=!1:(Zt(a,n),!r&&f===1&&delete a._):(l=!n.$stable,dx(n,a)),o=n}else n&&(px(e,n),o={default:1});if(l)for(const f in a)!fx(f)&&!(f in o)&&delete a[f]};function Jf(e,n,r,i,a=!1){if(Ge(e)){e.forEach((_,w)=>Jf(_,n&&(Ge(n)?n[w]:n),r,i,a));return}if(Zo(i)&&!a)return;const l=i.shapeFlag&4?Kd(i.component)||i.component.proxy:i.el,o=a?null:l,{i:f,r:d}=e,g=n&&n.r,y=f.refs===pn?f.refs={}:f.refs,v=f.setupState;if(g!=null&&g!==d&&(Ot(g)?(y[g]=null,nn(v,g)&&(v[g]=null)):Bn(g)&&(g.value=null)),gt(d))os(d,f,12,[o,y]);else{const _=Ot(d),w=Bn(d);if(_||w){const C=()=>{if(e.f){const P=_?nn(v,d)?v[d]:y[d]:d.value;a?Ge(P)&&em(P,l):Ge(P)?P.includes(l)||P.push(l):_?(y[d]=[l],nn(v,d)&&(v[d]=y[d])):(d.value=[l],e.k&&(y[e.k]=d.value))}else _?(y[d]=o,nn(v,d)&&(v[d]=o)):w&&(d.value=o,e.k&&(y[e.k]=o))};o?(C.id=-1,ur(C,r)):C()}}}let zs=!1;const vf=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",yf=e=>e.nodeType===8;function mL(e){const{mt:n,p:r,o:{patchProp:i,createText:a,nextSibling:l,parentNode:o,remove:f,insert:d,createComment:g}}=e,y=(S,I)=>{if(!I.hasChildNodes()){r(null,S,I),Xf(),I._vnode=S;return}zs=!1,v(I.firstChild,S,null,null,null),Xf(),I._vnode=S,zs&&console.error("Hydration completed but contains mismatches.")},v=(S,I,B,D,$,K=!1)=>{const m=yf(S)&&S.data==="[",Y=()=>P(S,I,B,D,$,m),{type:j,ref:G,shapeFlag:re,patchFlag:pe}=I;let Z=S.nodeType;I.el=S,pe===-2&&(K=!1,I.dynamicChildren=null);let le=null;switch(j){case Os:Z!==3?I.children===""?(d(I.el=a(""),o(S),S),le=S):le=Y():(S.data!==I.children&&(zs=!0,S.data=I.children),le=l(S));break;case cr:Z!==8||m?le=Y():le=l(S);break;case so:if(m&&(S=l(S),Z=S.nodeType),Z===1||Z===3){le=S;const Fe=!I.children.length;for(let Ee=0;Ee{K=K||!!I.dynamicChildren;const{type:m,props:Y,patchFlag:j,shapeFlag:G,dirs:re}=I,pe=m==="input"&&re||m==="option";if(pe||j!==-1){if(re&&rs(I,null,B,"created"),Y)if(pe||!K||j&48)for(const le in Y)(pe&&le.endsWith("value")||sa(le)&&!Xo(le))&&i(S,le,null,Y[le],!1,void 0,B);else Y.onClick&&i(S,"onClick",null,Y.onClick,!1,void 0,B);let Z;if((Z=Y&&Y.onVnodeBeforeMount)&&Vr(Z,B,I),re&&rs(I,null,B,"beforeMount"),((Z=Y&&Y.onVnodeMounted)||re)&&L1(()=>{Z&&Vr(Z,B,I),re&&rs(I,null,B,"mounted")},D),G&16&&!(Y&&(Y.innerHTML||Y.textContent))){let le=w(S.firstChild,I,S,B,D,$,K);for(;le;){zs=!0;const Fe=le;le=le.nextSibling,f(Fe)}}else G&8&&S.textContent!==I.children&&(zs=!0,S.textContent=I.children)}return S.nextSibling},w=(S,I,B,D,$,K,m)=>{m=m||!!I.dynamicChildren;const Y=I.children,j=Y.length;for(let G=0;G{const{slotScopeIds:m}=I;m&&($=$?$.concat(m):m);const Y=o(S),j=w(l(S),I,Y,B,D,$,K);return j&&yf(j)&&j.data==="]"?l(I.anchor=j):(zs=!0,d(I.anchor=g("]"),Y,j),j)},P=(S,I,B,D,$,K)=>{if(zs=!0,I.el=null,K){const j=M(S);for(;;){const G=l(S);if(G&&G!==j)f(G);else break}}const m=l(S),Y=o(S);return f(S),r(null,I,Y,m,B,D,vf(Y),$),m},M=S=>{let I=0;for(;S;)if(S=l(S),S&&yf(S)&&(S.data==="["&&I++,S.data==="]")){if(I===0)return l(S);I--}return S};return[y,v]}const ur=L1;function Om(e){return hx(e)}function Im(e){return hx(e,mL)}function hx(e,n){const r=sg();r.__VUE__=!0;const{insert:i,remove:a,patchProp:l,createElement:o,createText:f,createComment:d,setText:g,setElementText:y,parentNode:v,nextSibling:_,setScopeId:w=Lr,insertStaticContent:C}=e,P=(X,N,R,z=null,ie=null,ae=null,Te=!1,De=null,Ne=!!N.dynamicChildren)=>{if(X===N)return;X&&!Hi(X,N)&&(z=Nt(X),mt(X,ie,ae,!0),X=null),N.patchFlag===-2&&(Ne=!1,N.dynamicChildren=null);const{type:_e,ref:oe,shapeFlag:he}=N;switch(_e){case Os:M(X,N,R,z);break;case cr:S(X,N,R,z);break;case so:X==null&&I(N,R,z,Te);break;case Xt:pe(X,N,R,z,ie,ae,Te,De,Ne);break;default:he&1?$(X,N,R,z,ie,ae,Te,De,Ne):he&6?Z(X,N,R,z,ie,ae,Te,De,Ne):(he&64||he&128)&&_e.process(X,N,R,z,ie,ae,Te,De,Ne,It)}oe!=null&&ie&&Jf(oe,X&&X.ref,ae,N||X,!N)},M=(X,N,R,z)=>{if(X==null)i(N.el=f(N.children),R,z);else{const ie=N.el=X.el;N.children!==X.children&&g(ie,N.children)}},S=(X,N,R,z)=>{X==null?i(N.el=d(N.children||""),R,z):N.el=X.el},I=(X,N,R,z)=>{[X.el,X.anchor]=C(X.children,N,R,z,X.el,X.anchor)},B=({el:X,anchor:N},R,z)=>{let ie;for(;X&&X!==N;)ie=_(X),i(X,R,z),X=ie;i(N,R,z)},D=({el:X,anchor:N})=>{let R;for(;X&&X!==N;)R=_(X),a(X),X=R;a(N)},$=(X,N,R,z,ie,ae,Te,De,Ne)=>{Te=Te||N.type==="svg",X==null?K(N,R,z,ie,ae,Te,De,Ne):j(X,N,ie,ae,Te,De,Ne)},K=(X,N,R,z,ie,ae,Te,De)=>{let Ne,_e;const{type:oe,props:he,shapeFlag:je,transition:we,dirs:Je}=X;if(Ne=X.el=o(X.type,ae,he&&he.is,he),je&8?y(Ne,X.children):je&16&&Y(X.children,Ne,null,z,ie,ae&&oe!=="foreignObject",Te,De),Je&&rs(X,null,z,"created"),m(Ne,X,X.scopeId,Te,z),he){for(const ut in he)ut!=="value"&&!Xo(ut)&&l(Ne,ut,null,he[ut],ae,X.children,z,ie,dt);"value"in he&&l(Ne,"value",null,he.value),(_e=he.onVnodeBeforeMount)&&Vr(_e,z,X)}Je&&rs(X,null,z,"beforeMount");const yt=(!ie||ie&&!ie.pendingBranch)&&we&&!we.persisted;yt&&we.beforeEnter(Ne),i(Ne,N,R),((_e=he&&he.onVnodeMounted)||yt||Je)&&ur(()=>{_e&&Vr(_e,z,X),yt&&we.enter(Ne),Je&&rs(X,null,z,"mounted")},ie)},m=(X,N,R,z,ie)=>{if(R&&w(X,R),z)for(let ae=0;ae{for(let _e=Ne;_e{const De=N.el=X.el;let{patchFlag:Ne,dynamicChildren:_e,dirs:oe}=N;Ne|=X.patchFlag&16;const he=X.props||pn,je=N.props||pn;let we;R&&Fo(R,!1),(we=je.onVnodeBeforeUpdate)&&Vr(we,R,N,X),oe&&rs(N,X,R,"beforeUpdate"),R&&Fo(R,!0);const Je=ie&&N.type!=="foreignObject";if(_e?G(X.dynamicChildren,_e,De,R,z,Je,ae):Te||$e(X,N,De,null,R,z,Je,ae,!1),Ne>0){if(Ne&16)re(De,N,he,je,R,z,ie);else if(Ne&2&&he.class!==je.class&&l(De,"class",null,je.class,ie),Ne&4&&l(De,"style",he.style,je.style,ie),Ne&8){const yt=N.dynamicProps;for(let ut=0;ut{we&&Vr(we,R,N,X),oe&&rs(N,X,R,"updated")},z)},G=(X,N,R,z,ie,ae,Te)=>{for(let De=0;De{if(R!==z){if(R!==pn)for(const De in R)!Xo(De)&&!(De in z)&&l(X,De,R[De],null,Te,N.children,ie,ae,dt);for(const De in z){if(Xo(De))continue;const Ne=z[De],_e=R[De];Ne!==_e&&De!=="value"&&l(X,De,_e,Ne,Te,N.children,ie,ae,dt)}"value"in z&&l(X,"value",R.value,z.value)}},pe=(X,N,R,z,ie,ae,Te,De,Ne)=>{const _e=N.el=X?X.el:f(""),oe=N.anchor=X?X.anchor:f("");let{patchFlag:he,dynamicChildren:je,slotScopeIds:we}=N;we&&(De=De?De.concat(we):we),X==null?(i(_e,R,z),i(oe,R,z),Y(N.children,R,oe,ie,ae,Te,De,Ne)):he>0&&he&64&&je&&X.dynamicChildren?(G(X.dynamicChildren,je,R,ie,ae,Te,De),(N.key!=null||ie&&N===ie.subTree)&&Pm(X,N,!0)):$e(X,N,R,oe,ie,ae,Te,De,Ne)},Z=(X,N,R,z,ie,ae,Te,De,Ne)=>{N.slotScopeIds=De,X==null?N.shapeFlag&512?ie.ctx.activate(N,R,z,Te,Ne):le(N,R,z,ie,ae,Te,Ne):Fe(X,N,Ne)},le=(X,N,R,z,ie,ae,Te)=>{const De=X.component=Ex(X,z,ie);if(Bu(X)&&(De.ctx.renderer=It),Sx(De),De.asyncDep){if(ie&&ie.registerDep(De,Ee),!X.el){const Ne=De.subTree=vt(cr);S(null,Ne,N,R)}return}Ee(De,X,N,R,ie,ae,Te)},Fe=(X,N,R)=>{const z=N.component=X.component;if(KP(X,N,R))if(z.asyncDep&&!z.asyncResolved){Ae(z,N,R);return}else z.next=N,BP(z.update),z.update();else N.el=X.el,z.vnode=N},Ee=(X,N,R,z,ie,ae,Te)=>{const De=()=>{if(X.isMounted){let{next:oe,bu:he,u:je,parent:we,vnode:Je}=X,yt=oe,ut;Fo(X,!1),oe?(oe.el=Je.el,Ae(X,oe,Te)):oe=Je,he&&Ha(he),(ut=oe.props&&oe.props.onVnodeBeforeUpdate)&&Vr(ut,we,oe,Je),Fo(X,!0);const ue=kf(X),de=X.subTree;X.subTree=ue,P(de,ue,v(de.el),Nt(de),X,ie,ae),oe.el=ue.el,yt===null&&pm(X,ue.el),je&&ur(je,ie),(ut=oe.props&&oe.props.onVnodeUpdated)&&ur(()=>Vr(ut,we,oe,Je),ie)}else{let oe;const{el:he,props:je}=N,{bm:we,m:Je,parent:yt}=X,ut=Zo(N);if(Fo(X,!1),we&&Ha(we),!ut&&(oe=je&&je.onVnodeBeforeMount)&&Vr(oe,yt,N),Fo(X,!0),he&&gn){const ue=()=>{X.subTree=kf(X),gn(he,X.subTree,X,ie,null)};ut?N.type.__asyncLoader().then(()=>!X.isUnmounted&&ue()):ue()}else{const ue=X.subTree=kf(X);P(null,ue,R,z,X,ie,ae),N.el=ue.el}if(Je&&ur(Je,ie),!ut&&(oe=je&&je.onVnodeMounted)){const ue=N;ur(()=>Vr(oe,yt,ue),ie)}(N.shapeFlag&256||yt&&Zo(yt.vnode)&&yt.vnode.shapeFlag&256)&&X.a&&ur(X.a,ie),X.isMounted=!0,N=R=z=null}},Ne=X.effect=new ol(De,()=>kd(_e),X.scope),_e=X.update=()=>Ne.run();_e.id=X.uid,Fo(X,!0),_e()},Ae=(X,N,R)=>{N.component=X;const z=X.vnode.props;X.vnode=N,X.next=null,dL(X,N.props,z,R),gL(X,N.children,R),al(),jb(),ll()},$e=(X,N,R,z,ie,ae,Te,De,Ne=!1)=>{const _e=X&&X.children,oe=X?X.shapeFlag:0,he=N.children,{patchFlag:je,shapeFlag:we}=N;if(je>0){if(je&128){Dt(_e,he,R,z,ie,ae,Te,De,Ne);return}else if(je&256){tt(_e,he,R,z,ie,ae,Te,De,Ne);return}}we&8?(oe&16&&dt(_e,ie,ae),he!==_e&&y(R,he)):oe&16?we&16?Dt(_e,he,R,z,ie,ae,Te,De,Ne):dt(_e,ie,ae,!0):(oe&8&&y(R,""),we&16&&Y(he,R,z,ie,ae,Te,De,Ne))},tt=(X,N,R,z,ie,ae,Te,De,Ne)=>{X=X||Ua,N=N||Ua;const _e=X.length,oe=N.length,he=Math.min(_e,oe);let je;for(je=0;jeoe?dt(X,ie,ae,!0,!1,he):Y(N,R,z,ie,ae,Te,De,Ne,he)},Dt=(X,N,R,z,ie,ae,Te,De,Ne)=>{let _e=0;const oe=N.length;let he=X.length-1,je=oe-1;for(;_e<=he&&_e<=je;){const we=X[_e],Je=N[_e]=Ne?Zs(N[_e]):ci(N[_e]);if(Hi(we,Je))P(we,Je,R,null,ie,ae,Te,De,Ne);else break;_e++}for(;_e<=he&&_e<=je;){const we=X[he],Je=N[je]=Ne?Zs(N[je]):ci(N[je]);if(Hi(we,Je))P(we,Je,R,null,ie,ae,Te,De,Ne);else break;he--,je--}if(_e>he){if(_e<=je){const we=je+1,Je=weje)for(;_e<=he;)mt(X[_e],ie,ae,!0),_e++;else{const we=_e,Je=_e,yt=new Map;for(_e=Je;_e<=je;_e++){const Xe=N[_e]=Ne?Zs(N[_e]):ci(N[_e]);Xe.key!=null&&yt.set(Xe.key,_e)}let ut,ue=0;const de=je-Je+1;let ye=!1,Re=0;const Be=new Array(de);for(_e=0;_e=de){mt(Xe,ie,ae,!0);continue}let ht;if(Xe.key!=null)ht=yt.get(Xe.key);else for(ut=Je;ut<=je;ut++)if(Be[ut-Je]===0&&Hi(Xe,N[ut])){ht=ut;break}ht===void 0?mt(Xe,ie,ae,!0):(Be[ht-Je]=_e+1,ht>=Re?Re=ht:ye=!0,P(Xe,N[ht],R,null,ie,ae,Te,De,Ne),ue++)}const Ze=ye?vL(Be):Ua;for(ut=Ze.length-1,_e=de-1;_e>=0;_e--){const Xe=Je+_e,ht=N[Xe],tn=Xe+1{const{el:ae,type:Te,transition:De,children:Ne,shapeFlag:_e}=X;if(_e&6){ot(X.component.subTree,N,R,z);return}if(_e&128){X.suspense.move(N,R,z);return}if(_e&64){Te.move(X,N,R,It);return}if(Te===Xt){i(ae,N,R);for(let he=0;heDe.enter(ae),ie);else{const{leave:he,delayLeave:je,afterLeave:we}=De,Je=()=>i(ae,N,R),yt=()=>{he(ae,()=>{Je(),we&&we()})};je?je(ae,Je,yt):yt()}else i(ae,N,R)},mt=(X,N,R,z=!1,ie=!1)=>{const{type:ae,props:Te,ref:De,children:Ne,dynamicChildren:_e,shapeFlag:oe,patchFlag:he,dirs:je}=X;if(De!=null&&Jf(De,null,R,X,!0),oe&256){N.ctx.deactivate(X);return}const we=oe&1&&je,Je=!Zo(X);let yt;if(Je&&(yt=Te&&Te.onVnodeBeforeUnmount)&&Vr(yt,N,X),oe&6)kt(X.component,R,z);else{if(oe&128){X.suspense.unmount(R,z);return}we&&rs(X,null,N,"beforeUnmount"),oe&64?X.type.remove(X,N,R,ie,It,z):_e&&(ae!==Xt||he>0&&he&64)?dt(_e,N,R,!1,!0):(ae===Xt&&he&384||!ie&&oe&16)&&dt(Ne,N,R),z&&zt(X)}(Je&&(yt=Te&&Te.onVnodeUnmounted)||we)&&ur(()=>{yt&&Vr(yt,N,X),we&&rs(X,null,N,"unmounted")},R)},zt=X=>{const{type:N,el:R,anchor:z,transition:ie}=X;if(N===Xt){qt(R,z);return}if(N===so){D(X);return}const ae=()=>{a(R),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(X.shapeFlag&1&&ie&&!ie.persisted){const{leave:Te,delayLeave:De}=ie,Ne=()=>Te(R,ae);De?De(X.el,ae,Ne):Ne()}else ae()},qt=(X,N)=>{let R;for(;X!==N;)R=_(X),a(X),X=R;a(N)},kt=(X,N,R)=>{const{bum:z,scope:ie,update:ae,subTree:Te,um:De}=X;z&&Ha(z),ie.stop(),ae&&(ae.active=!1,mt(Te,X,N,R)),De&&ur(De,N),ur(()=>{X.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&X.asyncDep&&!X.asyncResolved&&X.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},dt=(X,N,R,z=!1,ie=!1,ae=0)=>{for(let Te=ae;TeX.shapeFlag&6?Nt(X.component.subTree):X.shapeFlag&128?X.suspense.next():_(X.anchor||X.el),en=(X,N,R)=>{X==null?N._vnode&&mt(N._vnode,null,null,!0):P(N._vnode||null,X,N,null,null,null,R),jb(),Xf(),N._vnode=X},It={p:P,um:mt,m:ot,r:zt,mt:le,mc:Y,pc:$e,pbc:G,n:Nt,o:e};let Ht,gn;return n&&([Ht,gn]=n(It)),{render:en,hydrate:Ht,createApp:cL(en,Ht)}}function Fo({effect:e,update:n},r){e.allowRecurse=n.allowRecurse=r}function Pm(e,n,r=!1){const i=e.children,a=n.children;if(Ge(i)&&Ge(a))for(let l=0;l>1,e[r[f]]0&&(n[i]=r[l-1]),r[l]=i)}}for(l=r.length,o=r[l-1];l-- >0;)r[l]=o,o=n[o];return r}const yL=e=>e.__isTeleport,lu=e=>e&&(e.disabled||e.disabled===""),qb=e=>typeof SVGElement<"u"&&e instanceof SVGElement,gg=(e,n)=>{const r=e&&e.to;return Ot(r)?n?n(r):null:r},bL={__isTeleport:!0,process(e,n,r,i,a,l,o,f,d,g){const{mc:y,pc:v,pbc:_,o:{insert:w,querySelector:C,createText:P,createComment:M}}=g,S=lu(n.props);let{shapeFlag:I,children:B,dynamicChildren:D}=n;if(e==null){const $=n.el=P(""),K=n.anchor=P("");w($,r,i),w(K,r,i);const m=n.target=gg(n.props,C),Y=n.targetAnchor=P("");m&&(w(Y,m),o=o||qb(m));const j=(G,re)=>{I&16&&y(B,G,re,a,l,o,f,d)};S?j(r,K):m&&j(m,Y)}else{n.el=e.el;const $=n.anchor=e.anchor,K=n.target=e.target,m=n.targetAnchor=e.targetAnchor,Y=lu(e.props),j=Y?r:K,G=Y?$:m;if(o=o||qb(K),D?(_(e.dynamicChildren,D,j,a,l,o,f),Pm(e,n,!0)):d||v(e,n,j,G,a,l,o,f,!1),S)Y||bf(n,r,$,g,1);else if((n.props&&n.props.to)!==(e.props&&e.props.to)){const re=n.target=gg(n.props,C);re&&bf(n,re,null,g,0)}else Y&&bf(n,K,m,g,1)}mx(n)},remove(e,n,r,i,{um:a,o:{remove:l}},o){const{shapeFlag:f,children:d,anchor:g,targetAnchor:y,target:v,props:_}=e;if(v&&l(y),(o||!lu(_))&&(l(g),f&16))for(let w=0;w0?Kr||Ua:null,vx(),na>0&&Kr&&Kr.push(e),e}function Le(e,n,r,i,a,l){return yx(T(e,n,r,i,a,l,!0))}function In(e,n,r,i,a){return yx(vt(e,n,r,i,a,!0))}function Is(e){return e?e.__v_isVNode===!0:!1}function Hi(e,n){return e.type===n.type&&e.key===n.key}function bx(e){}const Vd="__vInternal",_x=({key:e})=>e!=null?e:null,Mf=({ref:e,ref_key:n,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Ot(e)||Bn(e)||gt(e)?{i:ir,r:e,k:n,f:!!r}:e:null);function T(e,n=null,r=null,i=0,a=null,l=e===Xt?0:1,o=!1,f=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&_x(n),ref:n&&Mf(n),scopeId:Fd,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ir};return f?(Nm(d,r),l&128&&e.normalize(d)):r&&(d.shapeFlag|=Ot(r)?8:16),na>0&&!o&&Kr&&(d.patchFlag>0||l&6)&&d.patchFlag!==32&&Kr.push(d),d}const vt=xL;function xL(e,n=null,r=null,i=0,a=null,l=!1){if((!e||e===B1)&&(e=cr),Is(e)){const f=Vi(e,n,!0);return r&&Nm(f,r),na>0&&!l&&Kr&&(f.shapeFlag&6?Kr[Kr.indexOf(e)]=f:Kr.push(f)),f.patchFlag|=-2,f}if(TL(e)&&(e=e.__vccOpts),n){n=Lm(n);let{class:f,style:d}=n;f&&!Ot(f)&&(n.class=Jt(f)),hn(d)&&(Pd(d)&&!Ge(d)&&(d=Zt({},d)),n.style=sl(d))}const o=Ot(e)?1:I1(e)?128:yL(e)?64:hn(e)?4:gt(e)?2:0;return T(e,n,r,i,a,o,l,!0)}function Lm(e){return e?Pd(e)||Vd in e?Zt({},e):e:null}function Vi(e,n,r=!1){const{props:i,ref:a,patchFlag:l,children:o}=e,f=n?Rm(i||{},n):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&_x(f),ref:n&&n.ref?r&&a?Ge(a)?a.concat(Mf(n)):[a,Mf(n)]:Mf(n):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Xt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vi(e.ssContent),ssFallback:e.ssFallback&&Vi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ln(e=" ",n=0){return vt(Os,null,e,n)}function xx(e,n){const r=vt(so,null,e);return r.staticCount=n,r}function nt(e="",n=!1){return n?(xe(),In(cr,null,e)):vt(cr,null,e)}function ci(e){return e==null||typeof e=="boolean"?vt(cr):Ge(e)?vt(Xt,null,e.slice()):typeof e=="object"?Zs(e):vt(Os,null,String(e))}function Zs(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Vi(e)}function Nm(e,n){let r=0;const{shapeFlag:i}=e;if(n==null)n=null;else if(Ge(n))r=16;else if(typeof n=="object")if(i&65){const a=n.default;a&&(a._c&&(a._d=!1),Nm(e,a()),a._c&&(a._d=!0));return}else{r=32;const a=n._;!a&&!(Vd in n)?n._ctx=ir:a===3&&ir&&(ir.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else gt(n)?(n={default:n,_ctx:ir},r=32):(n=String(n),i&64?(r=16,n=[ln(n)]):r=8);e.children=n,e.shapeFlag|=r}function Rm(...e){const n={};for(let r=0;rWn||ir;let Dm,Pa,e_="__VUE_INSTANCE_SETTERS__";(Pa=sg()[e_])||(Pa=sg()[e_]=[]),Pa.push(e=>Wn=e),Dm=e=>{Pa.length>1?Pa.forEach(n=>n(e)):Pa[0](e)};const ho=e=>{Dm(e),e.scope.on()},oo=()=>{Wn&&Wn.scope.off(),Dm(null)};function wx(e){return e.vnode.shapeFlag&4}let Xa=!1;function Sx(e,n=!1){Xa=n;const{props:r,children:i}=e.vnode,a=wx(e);fL(e,r,a,n),hL(e,i);const l=a?SL(e,n):void 0;return Xa=!1,l}function SL(e,n){const r=e.type;e.accessCache=Object.create(null),e.proxy=Ld(new Proxy(e.ctx,fg));const{setup:i}=r;if(i){const a=e.setupContext=i.length>1?Ax(e):null;ho(e),al();const l=os(i,e,0,[e.props,a]);if(ll(),oo(),tm(l)){if(l.then(oo,oo),n)return l.then(o=>{mg(e,o,n)}).catch(o=>{yo(o,e,0)});e.asyncDep=l}else mg(e,l,n)}else Tx(e,n)}function mg(e,n,r){gt(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:hn(n)&&(e.setupState=Rd(n)),Tx(e,r)}let qf,vg;function km(e){qf=e,vg=n=>{n.render._rc&&(n.withProxy=new Proxy(n.ctx,rL))}}const Cx=()=>!qf;function Tx(e,n,r){const i=e.type;if(!e.render){if(!n&&qf&&!i.render){const a=i.template||Tm(e).template;if(a){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:f,compilerOptions:d}=i,g=Zt(Zt({isCustomElement:l,delimiters:f},o),d);i.render=qf(a,g)}}e.render=i.render||Lr,vg&&vg(e)}ho(e),al(),iL(e),ll(),oo()}function CL(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(n,r){return Qr(e,"get","$attrs"),n[r]}}))}function Ax(e){const n=r=>{e.exposed=r||{}};return{get attrs(){return CL(e)},slots:e.slots,emit:e.emit,expose:n}}function Kd(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Rd(Ld(e.exposed)),{get(n,r){if(r in n)return n[r];if(r in au)return au[r](e)},has(n,r){return r in n||r in au}}))}function yg(e,n=!0){return gt(e)?e.displayName||e.name:e.name||n&&e.__name}function TL(e){return gt(e)&&"__vccOpts"in e}const Jn=(e,n)=>MP(e,n,Xa);function Wu(e,n,r){const i=arguments.length;return i===2?hn(n)&&!Ge(n)?Is(n)?vt(e,null,[n]):vt(e,n):vt(e,null,n):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Is(r)&&(r=[r]),vt(e,n,r))}const Mm=Symbol.for("v-scx"),$m=()=>vn(Mm);function Ox(){}function Ix(e,n,r,i){const a=r[i];if(a&&Fm(a,e))return a;const l=n();return l.memo=e.slice(),r[i]=l}function Fm(e,n){const r=e.memo;if(r.length!=n.length)return!1;for(let i=0;i0&&Kr&&Kr.push(e),!0}const Bm="3.3.4",AL={createComponentInstance:Ex,setupComponent:Sx,renderComponentRoot:kf,setCurrentRenderingInstance:wu,isVNode:Is,normalizeVNode:ci},Px=AL,Lx=null,Nx=null,OL="http://www.w3.org/2000/svg",Go=typeof document<"u"?document:null,t_=Go&&Go.createElement("template"),IL={insert:(e,n,r)=>{n.insertBefore(e,r||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,r,i)=>{const a=n?Go.createElementNS(OL,e):Go.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>Go.createTextNode(e),createComment:e=>Go.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Go.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,r,i,a,l){const o=r?r.previousSibling:n.lastChild;if(a&&(a===l||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),r),!(a===l||!(a=a.nextSibling)););else{t_.innerHTML=i?`${e}`:e;const f=t_.content;if(i){const d=f.firstChild;for(;d.firstChild;)f.appendChild(d.firstChild);f.removeChild(d)}n.insertBefore(f,r)}return[o?o.nextSibling:n.firstChild,r?r.previousSibling:n.lastChild]}};function PL(e,n,r){const i=e._vtc;i&&(n=(n?[n,...i]:[...i]).join(" ")),n==null?e.removeAttribute("class"):r?e.setAttribute("class",n):e.className=n}function LL(e,n,r){const i=e.style,a=Ot(r);if(r&&!a){if(n&&!Ot(n))for(const l in n)r[l]==null&&bg(i,l,"");for(const l in r)bg(i,l,r[l])}else{const l=i.display;a?n!==r&&(i.cssText=r):n&&e.removeAttribute("style"),"_vod"in e&&(i.display=l)}}const n_=/\s*!important$/;function bg(e,n,r){if(Ge(r))r.forEach(i=>bg(e,n,i));else if(r==null&&(r=""),n.startsWith("--"))e.setProperty(n,r);else{const i=NL(e,n);n_.test(r)?e.setProperty(fi(i),r.replace(n_,""),"important"):e[i]=r}}const r_=["Webkit","Moz","ms"],Bh={};function NL(e,n){const r=Bh[n];if(r)return r;let i=Un(n);if(i!=="filter"&&i in e)return Bh[n]=i;i=vo(i);for(let a=0;aUh||(FL.then(()=>Uh=0),Uh=Date.now());function UL(e,n){const r=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=r.attached)return;zr(jL(i,r.value),n,5,[i])};return r.value=e,r.attached=BL(),r}function jL(e,n){if(Ge(n)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},n.map(i=>a=>!a._stopped&&i&&i(a))}else return n}const o_=/^on[a-z]/,HL=(e,n,r,i,a=!1,l,o,f,d)=>{n==="class"?PL(e,i,a):n==="style"?LL(e,r,i):sa(n)?qg(n)||ML(e,n,r,i,o):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):WL(e,n,i,a))?DL(e,n,i,l,o,f,d):(n==="true-value"?e._trueValue=i:n==="false-value"&&(e._falseValue=i),RL(e,n,i,a))};function WL(e,n,r,i){return i?!!(n==="innerHTML"||n==="textContent"||n in e&&o_.test(n)&>(r)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||o_.test(n)&&Ot(r)?!1:n in e}function Um(e,n){const r=jd(e);class i extends Vu{constructor(l){super(r,l,n)}}return i.def=r,i}const Rx=e=>Um(e,jm),VL=typeof HTMLElement<"u"?HTMLElement:class{};class Vu extends VL{constructor(n,r={},i){super(),this._def=n,this._props=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Dd(()=>{this._connected||(ed(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i{for(const a of i)this._setAttr(a.attributeName)}).observe(this,{attributes:!0});const n=(i,a=!1)=>{const{props:l,styles:o}=i;let f;if(l&&!Ge(l))for(const d in l){const g=l[d];(g===Number||g&&g.type===Number)&&(d in this._props&&(this._props[d]=zf(this._props[d])),(f||(f=Object.create(null)))[Un(d)]=!0)}this._numberProps=f,a&&this._resolveProps(i),this._applyStyles(o),this._update()},r=this._def.__asyncLoader;r?r().then(i=>n(i,!0)):n(this._def)}_resolveProps(n){const{props:r}=n,i=Ge(r)?r:Object.keys(r||{});for(const a of Object.keys(this))a[0]!=="_"&&i.includes(a)&&this._setProp(a,this[a],!0,!1);for(const a of i.map(Un))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(l){this._setProp(a,l)}})}_setAttr(n){let r=this.getAttribute(n);const i=Un(n);this._numberProps&&this._numberProps[i]&&(r=zf(r)),this._setProp(i,r,!1)}_getProp(n){return this._props[n]}_setProp(n,r,i=!0,a=!0){r!==this._props[n]&&(this._props[n]=r,a&&this._instance&&this._update(),i&&(r===!0?this.setAttribute(fi(n),""):typeof r=="string"||typeof r=="number"?this.setAttribute(fi(n),r+""):r||this.removeAttribute(fi(n))))}_update(){ed(this._createVNode(),this.shadowRoot)}_createVNode(){const n=vt(this._def,Zt({},this._props));return this._instance||(n.ce=r=>{this._instance=r,r.isCE=!0;const i=(l,o)=>{this.dispatchEvent(new CustomEvent(l,{detail:o}))};r.emit=(l,...o)=>{i(l,o),fi(l)!==l&&i(fi(l),o)};let a=this;for(;a=a&&(a.parentNode||a.host);)if(a instanceof Vu){r.parent=a._instance,r.provides=a._instance.provides;break}}),n}_applyStyles(n){n&&n.forEach(r=>{const i=document.createElement("style");i.textContent=r,this.shadowRoot.appendChild(i)})}}function Dx(e="$style"){{const n=Rr();if(!n)return pn;const r=n.type.__cssModules;if(!r)return pn;const i=r[e];return i||pn}}function kx(e){const n=Rr();if(!n)return;const r=n.ut=(a=e(n.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${n.uid}"]`)).forEach(l=>xg(l,a))},i=()=>{const a=e(n.proxy);_g(n.subTree,a),r(a)};gm(i),aa(()=>{const a=new MutationObserver(i);a.observe(n.subTree.el.parentNode,{childList:!0}),ul(()=>a.disconnect())})}function _g(e,n){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{_g(r.activeBranch,n)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)xg(e.el,n);else if(e.type===Xt)e.children.forEach(r=>_g(r,n));else if(e.type===so){let{el:r,anchor:i}=e;for(;r&&(xg(r,n),r!==i);)r=r.nextSibling}}function xg(e,n){if(e.nodeType===1){const r=e.style;for(const i in n)r.setProperty(`--${i}`,n[i])}}const Ys="transition",Kl="animation",bo=(e,{slots:n})=>Wu(mm,$x(e),n);bo.displayName="Transition";const Mx={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},KL=bo.props=Zt({},Ud,Mx),Bo=(e,n=[])=>{Ge(e)?e.forEach(r=>r(...n)):e&&e(...n)},a_=e=>e?Ge(e)?e.some(n=>n.length>1):e.length>1:!1;function $x(e){const n={};for(const pe in e)pe in Mx||(n[pe]=e[pe]);if(e.css===!1)return n;const{name:r="v",type:i,duration:a,enterFromClass:l=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:f=`${r}-enter-to`,appearFromClass:d=l,appearActiveClass:g=o,appearToClass:y=f,leaveFromClass:v=`${r}-leave-from`,leaveActiveClass:_=`${r}-leave-active`,leaveToClass:w=`${r}-leave-to`}=e,C=GL(a),P=C&&C[0],M=C&&C[1],{onBeforeEnter:S,onEnter:I,onEnterCancelled:B,onLeave:D,onLeaveCancelled:$,onBeforeAppear:K=S,onAppear:m=I,onAppearCancelled:Y=B}=n,j=(pe,Z,le)=>{Qs(pe,Z?y:f),Qs(pe,Z?g:o),le&&le()},G=(pe,Z)=>{pe._isLeaving=!1,Qs(pe,v),Qs(pe,w),Qs(pe,_),Z&&Z()},re=pe=>(Z,le)=>{const Fe=pe?m:I,Ee=()=>j(Z,pe,le);Bo(Fe,[Z,Ee]),l_(()=>{Qs(Z,pe?d:l),ws(Z,pe?y:f),a_(Fe)||u_(Z,i,P,Ee)})};return Zt(n,{onBeforeEnter(pe){Bo(S,[pe]),ws(pe,l),ws(pe,o)},onBeforeAppear(pe){Bo(K,[pe]),ws(pe,d),ws(pe,g)},onEnter:re(!1),onAppear:re(!0),onLeave(pe,Z){pe._isLeaving=!0;const le=()=>G(pe,Z);ws(pe,v),Bx(),ws(pe,_),l_(()=>{!pe._isLeaving||(Qs(pe,v),ws(pe,w),a_(D)||u_(pe,i,M,le))}),Bo(D,[pe,le])},onEnterCancelled(pe){j(pe,!1),Bo(B,[pe])},onAppearCancelled(pe){j(pe,!0),Bo(Y,[pe])},onLeaveCancelled(pe){G(pe),Bo($,[pe])}})}function GL(e){if(e==null)return null;if(hn(e))return[jh(e.enter),jh(e.leave)];{const n=jh(e);return[n,n]}}function jh(e){return zf(e)}function ws(e,n){n.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(n)}function Qs(e,n){n.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const{_vtc:r}=e;r&&(r.delete(n),r.size||(e._vtc=void 0))}function l_(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zL=0;function u_(e,n,r,i){const a=e._endId=++zL,l=()=>{a===e._endId&&i()};if(r)return setTimeout(l,r);const{type:o,timeout:f,propCount:d}=Fx(e,n);if(!o)return i();const g=o+"end";let y=0;const v=()=>{e.removeEventListener(g,_),l()},_=w=>{w.target===e&&++y>=d&&v()};setTimeout(()=>{y(r[C]||"").split(", "),a=i(`${Ys}Delay`),l=i(`${Ys}Duration`),o=c_(a,l),f=i(`${Kl}Delay`),d=i(`${Kl}Duration`),g=c_(f,d);let y=null,v=0,_=0;n===Ys?o>0&&(y=Ys,v=o,_=l.length):n===Kl?g>0&&(y=Kl,v=g,_=d.length):(v=Math.max(o,g),y=v>0?o>g?Ys:Kl:null,_=y?y===Ys?l.length:d.length:0);const w=y===Ys&&/\b(transform|all)(,|$)/.test(i(`${Ys}Property`).toString());return{type:y,timeout:v,propCount:_,hasTransform:w}}function c_(e,n){for(;e.lengthf_(r)+f_(e[i])))}function f_(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Bx(){return document.body.offsetHeight}const Ux=new WeakMap,jx=new WeakMap,Hx={name:"TransitionGroup",props:Zt({},KL,{tag:String,moveClass:String}),setup(e,{slots:n}){const r=Rr(),i=Bd();let a,l;return Uu(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!ZL(a[0].el,r.vnode.el,o))return;a.forEach(XL),a.forEach(QL);const f=a.filter(JL);Bx(),f.forEach(d=>{const g=d.el,y=g.style;ws(g,o),y.transform=y.webkitTransform=y.transitionDuration="";const v=g._moveCb=_=>{_&&_.target!==g||(!_||/transform$/.test(_.propertyName))&&(g.removeEventListener("transitionend",v),g._moveCb=null,Qs(g,o))};g.addEventListener("transitionend",v)})}),()=>{const o=Gt(e),f=$x(o);let d=o.tag||Xt;a=l,l=n.default?Fu(n.default()):[];for(let g=0;gdelete e.mode;Hx.props;const Wx=Hx;function XL(e){const n=e.el;n._moveCb&&n._moveCb(),n._enterCb&&n._enterCb()}function QL(e){jx.set(e,e.el.getBoundingClientRect())}function JL(e){const n=Ux.get(e),r=jx.get(e),i=n.left-r.left,a=n.top-r.top;if(i||a){const l=e.el.style;return l.transform=l.webkitTransform=`translate(${i}px,${a}px)`,l.transitionDuration="0s",e}}function ZL(e,n,r){const i=e.cloneNode();e._vtc&&e._vtc.forEach(o=>{o.split(/\s+/).forEach(f=>f&&i.classList.remove(f))}),r.split(/\s+/).forEach(o=>o&&i.classList.add(o)),i.style.display="none";const a=n.nodeType===1?n:n.parentNode;a.appendChild(i);const{hasTransform:l}=Fx(i);return a.removeChild(i),l}const go=e=>{const n=e.props["onUpdate:modelValue"]||!1;return Ge(n)?r=>Ha(n,r):n};function qL(e){e.target.composing=!0}function d_(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Vn={created(e,{modifiers:{lazy:n,trim:r,number:i}},a){e._assign=go(a);const l=i||a.props&&a.props.type==="number";Cs(e,n?"change":"input",o=>{if(o.target.composing)return;let f=e.value;r&&(f=f.trim()),l&&(f=Gf(f)),e._assign(f)}),r&&Cs(e,"change",()=>{e.value=e.value.trim()}),n||(Cs(e,"compositionstart",qL),Cs(e,"compositionend",d_),Cs(e,"change",d_))},mounted(e,{value:n}){e.value=n==null?"":n},beforeUpdate(e,{value:n,modifiers:{lazy:r,trim:i,number:a}},l){if(e._assign=go(l),e.composing||document.activeElement===e&&e.type!=="range"&&(r||i&&e.value.trim()===n||(a||e.type==="number")&&Gf(e.value)===n))return;const o=n==null?"":n;e.value!==o&&(e.value=o)}},Ku={deep:!0,created(e,n,r){e._assign=go(r),Cs(e,"change",()=>{const i=e._modelValue,a=Qa(e),l=e.checked,o=e._assign;if(Ge(i)){const f=Ed(i,a),d=f!==-1;if(l&&!d)o(i.concat(a));else if(!l&&d){const g=[...i];g.splice(f,1),o(g)}}else if(oa(i)){const f=new Set(i);l?f.add(a):f.delete(a),o(f)}else o(Vx(e,l))})},mounted:p_,beforeUpdate(e,n,r){e._assign=go(r),p_(e,n,r)}};function p_(e,{value:n,oldValue:r},i){e._modelValue=n,Ge(n)?e.checked=Ed(n,i.props.value)>-1:oa(n)?e.checked=n.has(i.props.value):n!==r&&(e.checked=uo(n,Vx(e,!0)))}const Gu={created(e,{value:n},r){e.checked=uo(n,r.props.value),e._assign=go(r),Cs(e,"change",()=>{e._assign(Qa(e))})},beforeUpdate(e,{value:n,oldValue:r},i){e._assign=go(i),n!==r&&(e.checked=uo(n,i.props.value))}},pi={deep:!0,created(e,{value:n,modifiers:{number:r}},i){const a=oa(n);Cs(e,"change",()=>{const l=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?Gf(Qa(o)):Qa(o));e._assign(e.multiple?a?new Set(l):l:l[0])}),e._assign=go(i)},mounted(e,{value:n}){h_(e,n)},beforeUpdate(e,n,r){e._assign=go(r)},updated(e,{value:n}){h_(e,n)}};function h_(e,n){const r=e.multiple;if(!(r&&!Ge(n)&&!oa(n))){for(let i=0,a=e.options.length;i-1:l.selected=n.has(o);else if(uo(Qa(l),n)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qa(e){return"_value"in e?e._value:e.value}function Vx(e,n){const r=n?"_trueValue":"_falseValue";return r in e?e[r]:n}const Au={created(e,n,r){_f(e,n,r,null,"created")},mounted(e,n,r){_f(e,n,r,null,"mounted")},beforeUpdate(e,n,r,i){_f(e,n,r,i,"beforeUpdate")},updated(e,n,r,i){_f(e,n,r,i,"updated")}};function Kx(e,n){switch(e){case"SELECT":return pi;case"TEXTAREA":return Vn;default:switch(n){case"checkbox":return Ku;case"radio":return Gu;default:return Vn}}}function _f(e,n,r,i,a){const o=Kx(e.tagName,r.props&&r.props.type)[a];o&&o(e,n,r,i)}function eN(){Vn.getSSRProps=({value:e})=>({value:e}),Gu.getSSRProps=({value:e},n)=>{if(n.props&&uo(n.props.value,e))return{checked:!0}},Ku.getSSRProps=({value:e},n)=>{if(Ge(e)){if(n.props&&Ed(e,n.props.value)>-1)return{checked:!0}}else if(oa(e)){if(n.props&&e.has(n.props.value))return{checked:!0}}else if(e)return{checked:!0}},Au.getSSRProps=(e,n)=>{if(typeof n.type!="string")return;const r=Kx(n.type.toUpperCase(),n.props&&n.props.type);if(r.getSSRProps)return r.getSSRProps(e,n)}}const tN=["ctrl","shift","alt","meta"],nN={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,n)=>tN.some(r=>e[`${r}Key`]&&!n.includes(r))},Gx=(e,n)=>(r,...i)=>{for(let a=0;ar=>{if(!("key"in r))return;const i=fi(r.key);if(n.some(a=>a===i||rN[a]===i))return e(r)},Gd={beforeMount(e,{value:n},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&n?r.beforeEnter(e):Gl(e,n)},mounted(e,{value:n},{transition:r}){r&&n&&r.enter(e)},updated(e,{value:n,oldValue:r},{transition:i}){!n!=!r&&(i?n?(i.beforeEnter(e),Gl(e,!0),i.enter(e)):i.leave(e,()=>{Gl(e,!1)}):Gl(e,n))},beforeUnmount(e,{value:n}){Gl(e,n)}};function Gl(e,n){e.style.display=n?e._vod:"none"}function iN(){Gd.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Yx=Zt({patchProp:HL},IL);let cu,g_=!1;function Xx(){return cu||(cu=Om(Yx))}function Qx(){return cu=g_?cu:Im(Yx),g_=!0,cu}const ed=(...e)=>{Xx().render(...e)},jm=(...e)=>{Qx().hydrate(...e)},Hm=(...e)=>{const n=Xx().createApp(...e),{mount:r}=n;return n.mount=i=>{const a=Zx(i);if(!a)return;const l=n._component;!gt(l)&&!l.render&&!l.template&&(l.template=a.innerHTML),a.innerHTML="";const o=r(a,!1,a instanceof SVGElement);return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},n},Jx=(...e)=>{const n=Qx().createApp(...e),{mount:r}=n;return n.mount=i=>{const a=Zx(i);if(a)return r(a,!0,a instanceof SVGElement)},n};function Zx(e){return Ot(e)?document.querySelector(e):e}let m_=!1;const qx=()=>{m_||(m_=!0,eN(),iN())},sN=Object.freeze(Object.defineProperty({__proto__:null,Transition:bo,TransitionGroup:Wx,VueElement:Vu,createApp:Hm,createSSRApp:Jx,defineCustomElement:Um,defineSSRCustomElement:Rx,hydrate:jm,initDirectivesForSSR:qx,render:ed,useCssModule:Dx,useCssVars:kx,vModelCheckbox:Ku,vModelDynamic:Au,vModelRadio:Gu,vModelSelect:pi,vModelText:Vn,vShow:Gd,withKeys:zx,withModifiers:Gx,EffectScope:wd,ReactiveEffect:ol,customRef:m1,effect:e1,effectScope:rm,getCurrentScope:Sd,isProxy:Pd,isReactive:ro,isReadonly:fo,isRef:Bn,isShallow:Ya,markRaw:Ld,onScopeDispose:im,proxyRefs:Rd,reactive:ku,readonly:Od,ref:st,shallowReactive:am,shallowReadonly:d1,shallowRef:cm,stop:t1,toRaw:Gt,toRef:y1,toRefs:v1,toValue:g1,triggerRef:h1,unref:Mu,camelize:Un,capitalize:vo,normalizeClass:Jt,normalizeProps:Y0,normalizeStyle:sl,toDisplayString:ce,toHandlerKey:Qo,BaseTransition:mm,BaseTransitionPropsValidators:Ud,Comment:cr,Fragment:Xt,KeepAlive:$1,Static:so,Suspense:P1,Teleport:gx,Text:Os,assertNumber:x1,callWithAsyncErrorHandling:zr,callWithErrorHandling:os,cloneVNode:Vi,compatUtils:Nx,computed:Jn,createBlock:In,createCommentVNode:nt,createElementBlock:Le,createElementVNode:T,createHydrationRenderer:Im,createPropsRestProxy:ix,createRenderer:Om,createSlots:H1,createStaticVNode:xx,createTextVNode:ln,createVNode:vt,defineAsyncComponent:M1,defineComponent:jd,defineEmits:G1,defineExpose:z1,defineModel:Q1,defineOptions:Y1,defineProps:K1,defineSlots:X1,get devtools(){return Ko},getCurrentInstance:Rr,getTransitionRawChildren:Fu,guardReactiveProps:Lm,h:Wu,handleError:yo,hasInjectionContext:lx,initCustomFormatter:Ox,inject:vn,isMemoSame:Fm,isRuntimeOnly:Cx,isVNode:Is,mergeDefaults:nx,mergeModels:rx,mergeProps:Rm,nextTick:Dd,onActivated:vm,onBeforeMount:Wd,onBeforeUnmount:ju,onBeforeUpdate:bm,onDeactivated:ym,onErrorCaptured:wm,onMounted:aa,onRenderTracked:Em,onRenderTriggered:xm,onServerPrefetch:_m,onUnmounted:ul,onUpdated:Uu,openBlock:xe,popScopeId:A1,provide:io,pushScopeId:T1,queuePostFlushCb:Md,registerRuntimeCompiler:km,renderList:Nr,renderSlot:Hu,resolveComponent:rn,resolveDirective:j1,resolveDynamicComponent:U1,resolveFilter:Lx,resolveTransitionHooks:ta,setBlockTracking:Zf,setDevtoolsHook:dm,setTransitionHooks:po,ssrContextKey:Mm,ssrUtils:Px,toHandlers:V1,transformVNodeArgs:bx,useAttrs:q1,useModel:ex,useSSRContext:$m,useSlots:Z1,useTransitionState:Bd,version:Bm,warn:_1,watch:Yr,watchEffect:N1,watchPostEffect:gm,watchSyncEffect:R1,withAsyncContext:sx,withCtx:Pr,withDefaults:J1,withDirectives:on,withMemo:Ix,withScopeId:O1},Symbol.toStringTag,{value:"Module"}));function Wm(e){throw e}function eE(e){}function Sn(e,n,r,i){const a=e,l=new SyntaxError(String(a));return l.code=e,l.loc=n,l}const Ou=Symbol(""),fu=Symbol(""),Vm=Symbol(""),td=Symbol(""),tE=Symbol(""),ra=Symbol(""),nE=Symbol(""),rE=Symbol(""),Km=Symbol(""),Gm=Symbol(""),zu=Symbol(""),zm=Symbol(""),iE=Symbol(""),Ym=Symbol(""),nd=Symbol(""),Xm=Symbol(""),Qm=Symbol(""),Jm=Symbol(""),Zm=Symbol(""),sE=Symbol(""),oE=Symbol(""),zd=Symbol(""),rd=Symbol(""),qm=Symbol(""),ev=Symbol(""),Iu=Symbol(""),Yu=Symbol(""),tv=Symbol(""),Eg=Symbol(""),oN=Symbol(""),wg=Symbol(""),id=Symbol(""),aN=Symbol(""),lN=Symbol(""),nv=Symbol(""),uN=Symbol(""),cN=Symbol(""),rv=Symbol(""),aE=Symbol(""),Ja={[Ou]:"Fragment",[fu]:"Teleport",[Vm]:"Suspense",[td]:"KeepAlive",[tE]:"BaseTransition",[ra]:"openBlock",[nE]:"createBlock",[rE]:"createElementBlock",[Km]:"createVNode",[Gm]:"createElementVNode",[zu]:"createCommentVNode",[zm]:"createTextVNode",[iE]:"createStaticVNode",[Ym]:"resolveComponent",[nd]:"resolveDynamicComponent",[Xm]:"resolveDirective",[Qm]:"resolveFilter",[Jm]:"withDirectives",[Zm]:"renderList",[sE]:"renderSlot",[oE]:"createSlots",[zd]:"toDisplayString",[rd]:"mergeProps",[qm]:"normalizeClass",[ev]:"normalizeStyle",[Iu]:"normalizeProps",[Yu]:"guardReactiveProps",[tv]:"toHandlers",[Eg]:"camelize",[oN]:"capitalize",[wg]:"toHandlerKey",[id]:"setBlockTracking",[aN]:"pushScopeId",[lN]:"popScopeId",[nv]:"withCtx",[uN]:"unref",[cN]:"isRef",[rv]:"withMemo",[aE]:"isMemoSame"};function fN(e){Object.getOwnPropertySymbols(e).forEach(n=>{Ja[n]=e[n]})}const hi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function dN(e,n=hi){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:n}}function Pu(e,n,r,i,a,l,o,f=!1,d=!1,g=!1,y=hi){return e&&(f?(e.helper(ra),e.helper(el(e.inSSR,g))):e.helper(qa(e.inSSR,g)),o&&e.helper(Jm)),{type:13,tag:n,props:r,children:i,patchFlag:a,dynamicProps:l,directives:o,isBlock:f,disableTracking:d,isComponent:g,loc:y}}function Xu(e,n=hi){return{type:17,loc:n,elements:e}}function Ti(e,n=hi){return{type:15,loc:n,properties:e}}function Dn(e,n){return{type:16,loc:hi,key:Ot(e)?Ft(e,!0):e,value:n}}function Ft(e,n=!1,r=hi,i=0){return{type:4,loc:r,content:e,isStatic:n,constType:n?3:i}}function Wi(e,n=hi){return{type:8,loc:n,children:e}}function Hn(e,n=[],r=hi){return{type:14,loc:r,callee:e,arguments:n}}function Za(e,n=void 0,r=!1,i=!1,a=hi){return{type:18,params:e,returns:n,newline:r,isSlot:i,loc:a}}function Sg(e,n,r,i=!0){return{type:19,test:e,consequent:n,alternate:r,newline:i,loc:hi}}function pN(e,n,r=!1){return{type:20,index:e,value:n,isVNode:r,loc:hi}}function hN(e){return{type:21,body:e,loc:hi}}function qa(e,n){return e||n?Km:Gm}function el(e,n){return e||n?nE:rE}function iv(e,{helper:n,removeHelper:r,inSSR:i}){e.isBlock||(e.isBlock=!0,r(qa(i,e.isComponent)),n(ra),n(el(i,e.isComponent)))}const Gr=e=>e.type===4&&e.isStatic,Ma=(e,n)=>e===n||e===fi(n);function lE(e){if(Ma(e,"Teleport"))return fu;if(Ma(e,"Suspense"))return Vm;if(Ma(e,"KeepAlive"))return td;if(Ma(e,"BaseTransition"))return tE}const gN=/^\d|[^\$\w]/,sv=e=>!gN.test(e),mN=/[A-Za-z_$\xA0-\uFFFF]/,vN=/[\.\?\w$\xA0-\uFFFF]/,yN=/\s+[.[]\s*|\s*[.[]\s+/g,bN=e=>{e=e.trim().replace(yN,o=>o.trim());let n=0,r=[],i=0,a=0,l=null;for(let o=0;on.type===7&&n.name==="bind"&&(!n.arg||n.arg.type!==4||!n.arg.isStatic))}function Hh(e){return e.type===5||e.type===2}function xN(e){return e.type===7&&e.name==="slot"}function ad(e){return e.type===1&&e.tagType===3}function ld(e){return e.type===1&&e.tagType===2}const EN=new Set([Iu,Yu]);function fE(e,n=[]){if(e&&!Ot(e)&&e.type===14){const r=e.callee;if(!Ot(r)&&EN.has(r))return fE(e.arguments[0],n.concat(e))}return[e,n]}function ud(e,n,r){let i,a=e.type===13?e.props:e.arguments[2],l=[],o;if(a&&!Ot(a)&&a.type===14){const f=fE(a);a=f[0],l=f[1],o=l[l.length-1]}if(a==null||Ot(a))i=Ti([n]);else if(a.type===14){const f=a.arguments[0];!Ot(f)&&f.type===15?v_(n,f)||f.properties.unshift(n):a.callee===tv?i=Hn(r.helper(rd),[Ti([n]),a]):a.arguments.unshift(Ti([n])),!i&&(i=a)}else a.type===15?(v_(n,a)||a.properties.unshift(n),i=a):(i=Hn(r.helper(rd),[Ti([n]),a]),o&&o.callee===Yu&&(o=l[l.length-2]));e.type===13?o?o.arguments[0]=i:e.props=i:o?o.arguments[0]=i:e.arguments[2]=i}function v_(e,n){let r=!1;if(e.key.type===4){const i=e.key.content;r=n.properties.some(a=>a.key.type===4&&a.key.content===i)}return r}function Lu(e,n){return`_${n}_${e.replace(/[^\w]/g,(r,i)=>r==="-"?"_":e.charCodeAt(i).toString())}`}function wN(e){return e.type===14&&e.callee===rv?e.arguments[1].returns:e}function y_(e,n){const r=n.options?n.options.compatConfig:n.compatConfig,i=r&&r[e];return e==="MODE"?i||3:i}function qo(e,n){const r=y_("MODE",n),i=y_(e,n);return r===3?i===!0:i!==!1}function Nu(e,n,r,...i){return qo(e,n)}const SN=/&(gt|lt|amp|apos|quot);/g,CN={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},b_={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Df,isPreTag:Df,isCustomElement:Df,decodeEntities:e=>e.replace(SN,(n,r)=>CN[r]),onError:Wm,onWarn:eE,comments:!1};function TN(e,n={}){const r=AN(e,n),i=di(r);return dN(ov(r,0,[]),Oi(r,i))}function AN(e,n){const r=Zt({},b_);let i;for(i in n)r[i]=n[i]===void 0?b_[i]:n[i];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}function ov(e,n,r){const i=Xd(r),a=i?i.ns:0,l=[];for(;!MN(e,n,r);){const f=e.source;let d;if(n===0||n===1){if(!e.inVPre&&br(f,e.options.delimiters[0]))d=DN(e,n);else if(n===0&&f[0]==="<")if(f.length===1)dn(e,5,1);else if(f[1]==="!")br(f,"=0;){const g=o[f];g&&g.type===9&&(d+=g.branches.length)}return()=>{if(l)i.codegenNode=C_(a,d,r);else{const g=oR(i.codegenNode);g.alternate=C_(a,d+i.branches.length-1,r)}}}));function sR(e,n,r,i){if(n.name!=="else"&&(!n.exp||!n.exp.content.trim())){const a=n.exp?n.exp.loc:e.loc;r.onError(Sn(28,n.loc)),n.exp=Ft("true",!1,a)}if(n.name==="if"){const a=S_(e,n),l={type:9,loc:e.loc,branches:[a]};if(r.replaceNode(l),i)return i(l,a,!0)}else{const a=r.parent.children;let l=a.indexOf(e);for(;l-->=-1;){const o=a[l];if(o&&o.type===3){r.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){r.removeNode(o);continue}if(o&&o.type===9){n.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&r.onError(Sn(30,e.loc)),r.removeNode();const f=S_(e,n);o.branches.push(f);const d=i&&i(o,f,!1);Qd(f,r),d&&d(),r.currentNode=null}else r.onError(Sn(30,e.loc));break}}}function S_(e,n){const r=e.tagType===3;return{type:10,loc:e.loc,condition:n.name==="else"?void 0:n.exp,children:r&&!Ci(e,"for")?e.children:[e],userKey:Yd(e,"key"),isTemplateIf:r}}function C_(e,n,r){return e.condition?Sg(e.condition,T_(e,n,r),Hn(r.helper(zu),['""',"true"])):T_(e,n,r)}function T_(e,n,r){const{helper:i}=r,a=Dn("key",Ft(`${n}`,!1,hi,2)),{children:l}=e,o=l[0];if(l.length!==1||o.type!==1)if(l.length===1&&o.type===11){const d=o.codegenNode;return ud(d,a,r),d}else{let d=64;return Pu(r,i(Ou),Ti([a]),l,d+"",void 0,void 0,!0,!1,!1,e.loc)}else{const d=o.codegenNode,g=wN(d);return g.type===13&&iv(g,r),ud(g,a,r),d}}function oR(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const aR=yE("for",(e,n,r)=>{const{helper:i,removeHelper:a}=r;return lR(e,n,r,l=>{const o=Hn(i(Zm),[l.source]),f=ad(e),d=Ci(e,"memo"),g=Yd(e,"key"),y=g&&(g.type===6?Ft(g.value.content,!0):g.exp),v=g?Dn("key",y):null,_=l.source.type===4&&l.source.constType>0,w=_?64:g?128:256;return l.codegenNode=Pu(r,i(Ou),void 0,o,w+"",void 0,void 0,!0,!_,!1,e.loc),()=>{let C;const{children:P}=l,M=P.length!==1||P[0].type!==1,S=ld(e)?e:f&&e.children.length===1&&ld(e.children[0])?e.children[0]:null;if(S?(C=S.codegenNode,f&&v&&ud(C,v,r)):M?C=Pu(r,i(Ou),v?Ti([v]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(C=P[0].codegenNode,f&&v&&ud(C,v,r),C.isBlock!==!_&&(C.isBlock?(a(ra),a(el(r.inSSR,C.isComponent))):a(qa(r.inSSR,C.isComponent))),C.isBlock=!_,C.isBlock?(i(ra),i(el(r.inSSR,C.isComponent))):i(qa(r.inSSR,C.isComponent))),d){const I=Za(Ag(l.parseResult,[Ft("_cached")]));I.body=hN([Wi(["const _memo = (",d.exp,")"]),Wi(["if (_cached",...y?[" && _cached.key === ",y]:[],` && ${r.helperString(aE)}(_cached, _memo)) return _cached`]),Wi(["const _item = ",C]),Ft("_item.memo = _memo"),Ft("return _item")]),o.arguments.push(I,Ft("_cache"),Ft(String(r.cached++)))}else o.arguments.push(Za(Ag(l.parseResult),C,!0))}})});function lR(e,n,r,i){if(!n.exp){r.onError(Sn(31,n.loc));return}const a=EE(n.exp);if(!a){r.onError(Sn(32,n.loc));return}const{addIdentifiers:l,removeIdentifiers:o,scopes:f}=r,{source:d,value:g,key:y,index:v}=a,_={type:11,loc:n.loc,source:d,valueAlias:g,keyAlias:y,objectIndexAlias:v,parseResult:a,children:ad(e)?e.children:[e]};r.replaceNode(_),f.vFor++;const w=i&&i(_);return()=>{f.vFor--,w&&w()}}const uR=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,A_=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cR=/^\(|\)$/g;function EE(e,n){const r=e.loc,i=e.content,a=i.match(uR);if(!a)return;const[,l,o]=a,f={source:xf(r,o.trim(),i.indexOf(o,l.length)),value:void 0,key:void 0,index:void 0};let d=l.trim().replace(cR,"").trim();const g=l.indexOf(d),y=d.match(A_);if(y){d=d.replace(A_,"").trim();const v=y[1].trim();let _;if(v&&(_=i.indexOf(v,g+d.length),f.key=xf(r,v,_)),y[2]){const w=y[2].trim();w&&(f.index=xf(r,w,i.indexOf(w,f.key?_+v.length:g+d.length)))}}return d&&(f.value=xf(r,d,g)),f}function xf(e,n,r){return Ft(n,!1,cE(e,r,n.length))}function Ag({value:e,key:n,index:r},i=[]){return fR([e,n,r,...i])}function fR(e){let n=e.length;for(;n--&&!e[n];);return e.slice(0,n+1).map((r,i)=>r||Ft("_".repeat(i+1),!1))}const O_=Ft("undefined",!1),dR=(e,n)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Ci(e,"slot");if(r)return r.exp,n.scopes.vSlot++,()=>{n.scopes.vSlot--}}},pR=(e,n,r)=>Za(e,n,!1,!0,n.length?n[0].loc:r);function hR(e,n,r=pR){n.helper(nv);const{children:i,loc:a}=e,l=[],o=[];let f=n.scopes.vSlot>0||n.scopes.vFor>0;const d=Ci(e,"slot",!0);if(d){const{arg:M,exp:S}=d;M&&!Gr(M)&&(f=!0),l.push(Dn(M||Ft("default",!0),r(S,i,a)))}let g=!1,y=!1;const v=[],_=new Set;let w=0;for(let M=0;M{const B=r(S,I,a);return n.compatConfig&&(B.isNonScopedSlot=!0),Dn("default",B)};g?v.length&&v.some(S=>wE(S))&&(y?n.onError(Sn(39,v[0].loc)):l.push(M(void 0,v))):l.push(M(void 0,i))}const C=f?2:Ff(e.children)?3:1;let P=Ti(l.concat(Dn("_",Ft(C+"",!1))),a);return o.length&&(P=Hn(n.helper(oE),[P,Xu(o)])),{slots:P,hasDynamicSlots:f}}function Ef(e,n,r){const i=[Dn("name",e),Dn("fn",n)];return r!=null&&i.push(Dn("key",Ft(String(r),!0))),Ti(i)}function Ff(e){for(let n=0;nfunction(){if(e=n.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:i,props:a}=e,l=e.tagType===1;let o=l?mR(e,n):`"${i}"`;const f=hn(o)&&o.callee===nd;let d,g,y,v=0,_,w,C,P=f||o===fu||o===Vm||!l&&(i==="svg"||i==="foreignObject");if(a.length>0){const M=CE(e,n,void 0,l,f);d=M.props,v=M.patchFlag,w=M.dynamicPropNames;const S=M.directives;C=S&&S.length?Xu(S.map(I=>yR(I,n))):void 0,M.shouldUseBlock&&(P=!0)}if(e.children.length>0)if(o===td&&(P=!0,v|=1024),l&&o!==fu&&o!==td){const{slots:S,hasDynamicSlots:I}=hR(e,n);g=S,I&&(v|=1024)}else if(e.children.length===1&&o!==fu){const S=e.children[0],I=S.type,B=I===5||I===8;B&&Ai(S,n)===0&&(v|=1),B||I===2?g=S:g=e.children}else g=e.children;v!==0&&(y=String(v),w&&w.length&&(_=bR(w))),e.codegenNode=Pu(n,o,d,g,y,_,C,!!P,!1,l,e.loc)};function mR(e,n,r=!1){let{tag:i}=e;const a=Og(i),l=Yd(e,"is");if(l)if(a||qo("COMPILER_IS_ON_ELEMENT",n)){const d=l.type===6?l.value&&Ft(l.value.content,!0):l.exp;if(d)return Hn(n.helper(nd),[d])}else l.type===6&&l.value.content.startsWith("vue:")&&(i=l.value.content.slice(4));const o=!a&&Ci(e,"is");if(o&&o.exp)return Hn(n.helper(nd),[o.exp]);const f=lE(i)||n.isBuiltInComponent(i);return f?(r||n.helper(f),f):(n.helper(Ym),n.components.add(i),Lu(i,"component"))}function CE(e,n,r=e.props,i,a,l=!1){const{tag:o,loc:f,children:d}=e;let g=[];const y=[],v=[],_=d.length>0;let w=!1,C=0,P=!1,M=!1,S=!1,I=!1,B=!1,D=!1;const $=[],K=j=>{g.length&&(y.push(Ti(I_(g),f)),g=[]),j&&y.push(j)},m=({key:j,value:G})=>{if(Gr(j)){const re=j.content,pe=sa(re);if(pe&&(!i||a)&&re.toLowerCase()!=="onclick"&&re!=="onUpdate:modelValue"&&!Xo(re)&&(I=!0),pe&&Xo(re)&&(D=!0),G.type===20||(G.type===4||G.type===8)&&Ai(G,n)>0)return;re==="ref"?P=!0:re==="class"?M=!0:re==="style"?S=!0:re!=="key"&&!$.includes(re)&&$.push(re),i&&(re==="class"||re==="style")&&!$.includes(re)&&$.push(re)}else B=!0};for(let j=0;j0&&g.push(Dn(Ft("ref_for",!0),Ft("true")))),pe==="is"&&(Og(o)||Z&&Z.content.startsWith("vue:")||qo("COMPILER_IS_ON_ELEMENT",n)))continue;g.push(Dn(Ft(pe,!0,cE(re,0,pe.length)),Ft(Z?Z.content:"",le,Z?Z.loc:re)))}else{const{name:re,arg:pe,exp:Z,loc:le}=G,Fe=re==="bind",Ee=re==="on";if(re==="slot"){i||n.onError(Sn(40,le));continue}if(re==="once"||re==="memo"||re==="is"||Fe&&Yo(pe,"is")&&(Og(o)||qo("COMPILER_IS_ON_ELEMENT",n))||Ee&&l)continue;if((Fe&&Yo(pe,"key")||Ee&&_&&Yo(pe,"vue:before-update"))&&(w=!0),Fe&&Yo(pe,"ref")&&n.scopes.vFor>0&&g.push(Dn(Ft("ref_for",!0),Ft("true"))),!pe&&(Fe||Ee)){if(B=!0,Z)if(Fe){if(K(),qo("COMPILER_V_BIND_OBJECT_ORDER",n)){y.unshift(Z);continue}y.push(Z)}else K({type:14,loc:le,callee:n.helper(tv),arguments:i?[Z]:[Z,"true"]});else n.onError(Sn(Fe?34:35,le));continue}const Ae=n.directiveTransforms[re];if(Ae){const{props:$e,needRuntime:tt}=Ae(G,e,n);!l&&$e.forEach(m),Ee&&pe&&!Gr(pe)?K(Ti($e,f)):g.push(...$e),tt&&(v.push(G),lo(tt)&&SE.set(G,tt))}else B2(re)||(v.push(G),_&&(w=!0))}}let Y;if(y.length?(K(),y.length>1?Y=Hn(n.helper(rd),y,f):Y=y[0]):g.length&&(Y=Ti(I_(g),f)),B?C|=16:(M&&!i&&(C|=2),S&&!i&&(C|=4),$.length&&(C|=8),I&&(C|=32)),!w&&(C===0||C===32)&&(P||D||v.length>0)&&(C|=512),!n.inSSR&&Y)switch(Y.type){case 15:let j=-1,G=-1,re=!1;for(let le=0;leDn(o,l)),a))}return Xu(r,e.loc)}function bR(e){let n="[";for(let r=0,i=e.length;r{if(ld(e)){const{children:r,loc:i}=e,{slotName:a,slotProps:l}=xR(e,n),o=[n.prefixIdentifiers?"_ctx.$slots":"$slots",a,"{}","undefined","true"];let f=2;l&&(o[2]=l,f=3),r.length&&(o[3]=Za([],r,!1,!1,i),f=4),n.scopeId&&!n.slotted&&(f=5),o.splice(f),e.codegenNode=Hn(n.helper(sE),o,i)}};function xR(e,n){let r='"default"',i;const a=[];for(let l=0;l0){const{props:l,directives:o}=CE(e,n,a,!1,!1);i=l,o.length&&n.onError(Sn(36,o[0].loc))}return{slotName:r,slotProps:i}}const ER=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,TE=(e,n,r,i)=>{const{loc:a,modifiers:l,arg:o}=e;!e.exp&&!l.length&&r.onError(Sn(35,a));let f;if(o.type===4)if(o.isStatic){let v=o.content;v.startsWith("vue:")&&(v=`vnode-${v.slice(4)}`);const _=n.tagType!==0||v.startsWith("vnode")||!/[A-Z]/.test(v)?Qo(Un(v)):`on:${v}`;f=Ft(_,!0,o.loc)}else f=Wi([`${r.helperString(wg)}(`,o,")"]);else f=o,f.children.unshift(`${r.helperString(wg)}(`),f.children.push(")");let d=e.exp;d&&!d.content.trim()&&(d=void 0);let g=r.cacheHandlers&&!d&&!r.inVOnce;if(d){const v=uE(d.content),_=!(v||ER.test(d.content)),w=d.content.includes(";");(_||g&&v)&&(d=Wi([`${_?"$event":"(...args)"} => ${w?"{":"("}`,d,w?"}":")"]))}let y={props:[Dn(f,d||Ft("() => {}",!1,a))]};return i&&(y=i(y)),g&&(y.props[0].value=r.cache(y.props[0].value)),y.props.forEach(v=>v.key.isHandlerKey=!0),y},wR=(e,n,r)=>{const{exp:i,modifiers:a,loc:l}=e,o=e.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),a.includes("camel")&&(o.type===4?o.isStatic?o.content=Un(o.content):o.content=`${r.helperString(Eg)}(${o.content})`:(o.children.unshift(`${r.helperString(Eg)}(`),o.children.push(")"))),r.inSSR||(a.includes("prop")&&P_(o,"."),a.includes("attr")&&P_(o,"^")),!i||i.type===4&&!i.content.trim()?(r.onError(Sn(34,l)),{props:[Dn(o,Ft("",!0,l))]}):{props:[Dn(o,i)]}},P_=(e,n)=>{e.type===4?e.isStatic?e.content=n+e.content:e.content=`\`${n}\${${e.content}}\``:(e.children.unshift(`'${n}' + (`),e.children.push(")"))},SR=(e,n)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let i,a=!1;for(let l=0;ll.type===7&&!n.directiveTransforms[l.name])&&e.tag!=="template")))for(let l=0;l{if(e.type===1&&Ci(e,"once",!0))return L_.has(e)||n.inVOnce||n.inSSR?void 0:(L_.add(e),n.inVOnce=!0,n.helper(id),()=>{n.inVOnce=!1;const r=n.currentNode;r.codegenNode&&(r.codegenNode=n.cache(r.codegenNode,!0))})},AE=(e,n,r)=>{const{exp:i,arg:a}=e;if(!i)return r.onError(Sn(41,e.loc)),wf();const l=i.loc.source,o=i.type===4?i.content:l,f=r.bindingMetadata[l];if(f==="props"||f==="props-aliased")return r.onError(Sn(44,i.loc)),wf();const d=!1;if(!o.trim()||!uE(o)&&!d)return r.onError(Sn(42,i.loc)),wf();const g=a||Ft("modelValue",!0),y=a?Gr(a)?`onUpdate:${Un(a.content)}`:Wi(['"onUpdate:" + ',a]):"onUpdate:modelValue";let v;const _=r.isTS?"($event: any)":"$event";v=Wi([`${_} => ((`,i,") = $event)"]);const w=[Dn(g,e.exp),Dn(y,v)];if(e.modifiers.length&&n.tagType===1){const C=e.modifiers.map(M=>(sv(M)?M:JSON.stringify(M))+": true").join(", "),P=a?Gr(a)?`${a.content}Modifiers`:Wi([a,' + "Modifiers"']):"modelModifiers";w.push(Dn(P,Ft(`{ ${C} }`,!1,e.loc,2)))}return wf(w)};function wf(e=[]){return{props:e}}const TR=/[\w).+\-_$\]]/,AR=(e,n)=>{!qo("COMPILER_FILTER",n)||(e.type===5&&fd(e.content,n),e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&fd(r.exp,n)}))};function fd(e,n){if(e.type===4)N_(e,n);else for(let r=0;r=0&&(I=r.charAt(S),I===" ");S--);(!I||!TR.test(I))&&(o=!0)}}C===void 0?C=r.slice(0,w).trim():y!==0&&M();function M(){P.push(r.slice(y,w).trim()),y=w+1}if(P.length){for(w=0;w{if(e.type===1){const r=Ci(e,"memo");return!r||R_.has(e)?void 0:(R_.add(e),()=>{const i=e.codegenNode||n.currentNode.codegenNode;i&&i.type===13&&(e.tagType!==1&&iv(i,n),e.codegenNode=Hn(n.helper(rv),[r.exp,Za(void 0,i),"_cache",String(n.cached++)]))})}};function PR(e){return[[CR,iR,IR,aR,AR,_R,gR,dR,SR],{on:TE,bind:wR,model:AE}]}function LR(e,n={}){const r=n.onError||Wm,i=n.mode==="module";n.prefixIdentifiers===!0?r(Sn(47)):i&&r(Sn(48));const a=!1;n.cacheHandlers&&r(Sn(49)),n.scopeId&&!i&&r(Sn(50));const l=Ot(e)?TN(e,n):e,[o,f]=PR();return UN(l,Zt({},n,{prefixIdentifiers:a,nodeTransforms:[...o,...n.nodeTransforms||[]],directiveTransforms:Zt({},f,n.directiveTransforms||{})})),WN(l,Zt({},n,{prefixIdentifiers:a}))}const NR=()=>({props:[]}),OE=Symbol(""),IE=Symbol(""),PE=Symbol(""),LE=Symbol(""),Ig=Symbol(""),NE=Symbol(""),RE=Symbol(""),DE=Symbol(""),kE=Symbol(""),ME=Symbol("");fN({[OE]:"vModelRadio",[IE]:"vModelCheckbox",[PE]:"vModelText",[LE]:"vModelSelect",[Ig]:"vModelDynamic",[NE]:"withModifiers",[RE]:"withKeys",[DE]:"vShow",[kE]:"Transition",[ME]:"TransitionGroup"});let La;function RR(e,n=!1){return La||(La=document.createElement("div")),n?(La.innerHTML=`
`,La.children[0].getAttribute("foo")):(La.innerHTML=e,La.textContent)}const DR=Jr("style,iframe,script,noscript",!0),kR={isVoidTag:Z2,isNativeTag:e=>Q2(e)||J2(e),isPreTag:e=>e==="pre",decodeEntities:RR,isBuiltInComponent:e=>{if(Ma(e,"Transition"))return kE;if(Ma(e,"TransitionGroup"))return ME},getNamespace(e,n){let r=n?n.ns:0;if(n&&r===2)if(n.tag==="annotation-xml"){if(e==="svg")return 1;n.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else n&&r===1&&(n.tag==="foreignObject"||n.tag==="desc"||n.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r},getTextMode({tag:e,ns:n}){if(n===0){if(e==="textarea"||e==="title")return 1;if(DR(e))return 2}return 0}},MR=e=>{e.type===1&&e.props.forEach((n,r)=>{n.type===6&&n.name==="style"&&n.value&&(e.props[r]={type:7,name:"bind",arg:Ft("style",!0,n.loc),exp:$R(n.value.content,n.loc),modifiers:[],loc:n.loc})})},$R=(e,n)=>{const r=z0(e);return Ft(JSON.stringify(r),!1,n,3)};function ao(e,n){return Sn(e,n)}const FR=(e,n,r)=>{const{exp:i,loc:a}=e;return i||r.onError(ao(53,a)),n.children.length&&(r.onError(ao(54,a)),n.children.length=0),{props:[Dn(Ft("innerHTML",!0,a),i||Ft("",!0))]}},BR=(e,n,r)=>{const{exp:i,loc:a}=e;return i||r.onError(ao(55,a)),n.children.length&&(r.onError(ao(56,a)),n.children.length=0),{props:[Dn(Ft("textContent",!0),i?Ai(i,r)>0?i:Hn(r.helperString(zd),[i],a):Ft("",!0))]}},UR=(e,n,r)=>{const i=AE(e,n,r);if(!i.props.length||n.tagType===1)return i;e.arg&&r.onError(ao(58,e.arg.loc));const{tag:a}=n,l=r.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||l){let o=PE,f=!1;if(a==="input"||l){const d=Yd(n,"type");if(d){if(d.type===7)o=Ig;else if(d.value)switch(d.value.content){case"radio":o=OE;break;case"checkbox":o=IE;break;case"file":f=!0,r.onError(ao(59,e.loc));break}}else _N(n)&&(o=Ig)}else a==="select"&&(o=LE);f||(i.needRuntime=r.helper(o))}else r.onError(ao(57,e.loc));return i.props=i.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),i},jR=Jr("passive,once,capture"),HR=Jr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),WR=Jr("left,right"),$E=Jr("onkeyup,onkeydown,onkeypress",!0),VR=(e,n,r,i)=>{const a=[],l=[],o=[];for(let f=0;fGr(e)&&e.content.toLowerCase()==="onclick"?Ft(n,!0):e.type!==4?Wi(["(",e,`) === "onClick" ? "${n}" : (`,e,")"]):e,KR=(e,n,r)=>TE(e,n,r,i=>{const{modifiers:a}=e;if(!a.length)return i;let{key:l,value:o}=i.props[0];const{keyModifiers:f,nonKeyModifiers:d,eventOptionModifiers:g}=VR(l,a,r,e.loc);if(d.includes("right")&&(l=D_(l,"onContextmenu")),d.includes("middle")&&(l=D_(l,"onMouseup")),d.length&&(o=Hn(r.helper(NE),[o,JSON.stringify(d)])),f.length&&(!Gr(l)||$E(l.content))&&(o=Hn(r.helper(RE),[o,JSON.stringify(f)])),g.length){const y=g.map(vo).join("");l=Gr(l)?Ft(`${l.content}${y}`,!0):Wi(["(",l,`) + "${y}"`])}return{props:[Dn(l,o)]}}),GR=(e,n,r)=>{const{exp:i,loc:a}=e;return i||r.onError(ao(61,a)),{props:[],needRuntime:r.helper(DE)}},zR=(e,n)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&n.removeNode()},YR=[MR],XR={cloak:NR,html:FR,text:BR,model:UR,on:KR,show:GR};function QR(e,n={}){return LR(e,Zt({},kR,n,{nodeTransforms:[zR,...YR,...n.nodeTransforms||[]],directiveTransforms:Zt({},XR,n.directiveTransforms||{}),transformHoist:null}))}const k_=Object.create(null);function FE(e,n){if(!Ot(e))if(e.nodeType)e=e.innerHTML;else return Lr;const r=e,i=k_[r];if(i)return i;if(e[0]==="#"){const f=document.querySelector(e);e=f?f.innerHTML:""}const a=Zt({hoistStatic:!0,onError:void 0,onWarn:Lr},n);!a.isCustomElement&&typeof customElements<"u"&&(a.isCustomElement=f=>!!customElements.get(f));const{code:l}=QR(e,a),o=new Function("Vue",l)(sN);return o._rc=!0,k_[r]=o}km(FE);const JR=Object.freeze(Object.defineProperty({__proto__:null,compile:FE,EffectScope:wd,ReactiveEffect:ol,customRef:m1,effect:e1,effectScope:rm,getCurrentScope:Sd,isProxy:Pd,isReactive:ro,isReadonly:fo,isRef:Bn,isShallow:Ya,markRaw:Ld,onScopeDispose:im,proxyRefs:Rd,reactive:ku,readonly:Od,ref:st,shallowReactive:am,shallowReadonly:d1,shallowRef:cm,stop:t1,toRaw:Gt,toRef:y1,toRefs:v1,toValue:g1,triggerRef:h1,unref:Mu,camelize:Un,capitalize:vo,normalizeClass:Jt,normalizeProps:Y0,normalizeStyle:sl,toDisplayString:ce,toHandlerKey:Qo,BaseTransition:mm,BaseTransitionPropsValidators:Ud,Comment:cr,Fragment:Xt,KeepAlive:$1,Static:so,Suspense:P1,Teleport:gx,Text:Os,assertNumber:x1,callWithAsyncErrorHandling:zr,callWithErrorHandling:os,cloneVNode:Vi,compatUtils:Nx,computed:Jn,createBlock:In,createCommentVNode:nt,createElementBlock:Le,createElementVNode:T,createHydrationRenderer:Im,createPropsRestProxy:ix,createRenderer:Om,createSlots:H1,createStaticVNode:xx,createTextVNode:ln,createVNode:vt,defineAsyncComponent:M1,defineComponent:jd,defineEmits:G1,defineExpose:z1,defineModel:Q1,defineOptions:Y1,defineProps:K1,defineSlots:X1,get devtools(){return Ko},getCurrentInstance:Rr,getTransitionRawChildren:Fu,guardReactiveProps:Lm,h:Wu,handleError:yo,hasInjectionContext:lx,initCustomFormatter:Ox,inject:vn,isMemoSame:Fm,isRuntimeOnly:Cx,isVNode:Is,mergeDefaults:nx,mergeModels:rx,mergeProps:Rm,nextTick:Dd,onActivated:vm,onBeforeMount:Wd,onBeforeUnmount:ju,onBeforeUpdate:bm,onDeactivated:ym,onErrorCaptured:wm,onMounted:aa,onRenderTracked:Em,onRenderTriggered:xm,onServerPrefetch:_m,onUnmounted:ul,onUpdated:Uu,openBlock:xe,popScopeId:A1,provide:io,pushScopeId:T1,queuePostFlushCb:Md,registerRuntimeCompiler:km,renderList:Nr,renderSlot:Hu,resolveComponent:rn,resolveDirective:j1,resolveDynamicComponent:U1,resolveFilter:Lx,resolveTransitionHooks:ta,setBlockTracking:Zf,setDevtoolsHook:dm,setTransitionHooks:po,ssrContextKey:Mm,ssrUtils:Px,toHandlers:V1,transformVNodeArgs:bx,useAttrs:q1,useModel:ex,useSSRContext:$m,useSlots:Z1,useTransitionState:Bd,version:Bm,warn:_1,watch:Yr,watchEffect:N1,watchPostEffect:gm,watchSyncEffect:R1,withAsyncContext:sx,withCtx:Pr,withDefaults:J1,withDirectives:on,withMemo:Ix,withScopeId:O1,Transition:bo,TransitionGroup:Wx,VueElement:Vu,createApp:Hm,createSSRApp:Jx,defineCustomElement:Um,defineSSRCustomElement:Rx,hydrate:jm,initDirectivesForSSR:qx,render:ed,useCssModule:Dx,useCssVars:kx,vModelCheckbox:Ku,vModelDynamic:Au,vModelRadio:Gu,vModelSelect:pi,vModelText:Vn,vShow:Gd,withKeys:zx,withModifiers:Gx},Symbol.toStringTag,{value:"Module"}));/*! +`),d()),y||a("return "),e.codegenNode?_r(e.codegenNode,r):a("null"),w&&(f(),a("}")),f(),a("}"),{ast:e,code:r.code,preamble:T?P.code:"",map:r.map?r.map.toJSON():void 0}}function XL(e,n){const{ssr:r,prefixIdentifiers:s,push:a,newline:l,runtimeModuleName:o,runtimeGlobalName:f,ssrRuntimeModuleName:d}=n,p=f,y=Array.from(e.helpers);if(y.length>0&&(a(`const _Vue = ${p} +`),e.hoists.length)){const v=[Km,zm,zu,Ym,aE].filter(_=>y.includes(_)).map(EE).join(", ");a(`const { ${v} } = _Vue +`)}QL(e.hoists,n),l(),a("return ")}function Wh(e,n,{helper:r,push:s,newline:a,isTS:l}){const o=r(n==="filter"?Jm:n==="component"?Xm:Qm);for(let f=0;f3||!1;n.push("["),r&&n.indent(),Qu(e,n,r),r&&n.deindent(),n.push("]")}function Qu(e,n,r=!1,s=!0){const{push:a,newline:l}=n;for(let o=0;or||"null")}function rN(e,n){const{push:r,helper:s,pure:a}=n,l=Ot(e.callee)?e.callee:s(e.callee);a&&r(Jd),r(l+"(",e),Qu(e.arguments,n),r(")")}function sN(e,n){const{push:r,indent:s,deindent:a,newline:l}=n,{properties:o}=e;if(!o.length){r("{}",e);return}const f=o.length>1||!1;r(f?"{":"{ "),f&&s();for(let d=0;d "),(d||f)&&(r("{"),s()),o?(d&&r("return "),Ke(o)?lv(o,n):_r(o,n)):f&&_r(f,n),(d||f)&&(a(),r("}")),p&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function aN(e,n){const{test:r,consequent:s,alternate:a,newline:l}=e,{push:o,indent:f,deindent:d,newline:p}=n;if(r.type===4){const v=!ov(r.content);v&&o("("),wE(r,n),v&&o(")")}else o("("),_r(r,n),o(")");l&&f(),n.indentLevel++,l||o(" "),o("? "),_r(s,n),n.indentLevel--,l&&p(),l||o(" "),o(": ");const y=a.type===19;y||n.indentLevel++,_r(a,n),y||n.indentLevel--,l&&d(!0)}function lN(e,n){const{push:r,helper:s,indent:a,deindent:l,newline:o}=n;r(`_cache[${e.index}] || (`),e.isVNode&&(a(),r(`${s(sd)}(-1),`),o()),r(`_cache[${e.index}] = `),_r(e.value,n),e.isVNode&&(r(","),o(),r(`${s(sd)}(1),`),o(),r(`_cache[${e.index}]`),l()),r(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const uN=xE(/^(if|else|else-if)$/,(e,n,r)=>cN(e,n,r,(s,a,l)=>{const o=r.parent.children;let f=o.indexOf(s),d=0;for(;f-->=0;){const p=o[f];p&&p.type===9&&(d+=p.branches.length)}return()=>{if(l)s.codegenNode=A_(a,d,r);else{const p=fN(s.codegenNode);p.alternate=A_(a,d+s.branches.length-1,r)}}}));function cN(e,n,r,s){if(n.name!=="else"&&(!n.exp||!n.exp.content.trim())){const a=n.exp?n.exp.loc:e.loc;r.onError(Sn(28,n.loc)),n.exp=Ft("true",!1,a)}if(n.name==="if"){const a=C_(e,n),l={type:9,loc:e.loc,branches:[a]};if(r.replaceNode(l),s)return s(l,a,!0)}else{const a=r.parent.children;let l=a.indexOf(e);for(;l-->=-1;){const o=a[l];if(o&&o.type===3){r.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){r.removeNode(o);continue}if(o&&o.type===9){n.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&r.onError(Sn(30,e.loc)),r.removeNode();const f=C_(e,n);o.branches.push(f);const d=s&&s(o,f,!1);Qd(f,r),d&&d(),r.currentNode=null}else r.onError(Sn(30,e.loc));break}}}function C_(e,n){const r=e.tagType===3;return{type:10,loc:e.loc,condition:n.name==="else"?void 0:n.exp,children:r&&!Ts(e,"for")?e.children:[e],userKey:Yd(e,"key"),isTemplateIf:r}}function A_(e,n,r){return e.condition?Tg(e.condition,O_(e,n,r),Hn(r.helper(zu),['""',"true"])):O_(e,n,r)}function O_(e,n,r){const{helper:s}=r,a=Rn("key",Ft(`${n}`,!1,hs,2)),{children:l}=e,o=l[0];if(l.length!==1||o.type!==1)if(l.length===1&&o.type===11){const d=o.codegenNode;return ud(d,a,r),d}else{let d=64;return Pu(r,s(Ou),Cs([a]),l,d+"",void 0,void 0,!0,!1,!1,e.loc)}else{const d=o.codegenNode,p=OL(d);return p.type===13&&iv(p,r),ud(p,a,r),d}}function fN(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const dN=xE("for",(e,n,r)=>{const{helper:s,removeHelper:a}=r;return pN(e,n,r,l=>{const o=Hn(s(Zm),[l.source]),f=ad(e),d=Ts(e,"memo"),p=Yd(e,"key"),y=p&&(p.type===6?Ft(p.value.content,!0):p.exp),v=p?Rn("key",y):null,_=l.source.type===4&&l.source.constType>0,w=_?64:p?128:256;return l.codegenNode=Pu(r,s(Ou),void 0,o,w+"",void 0,void 0,!0,!_,!1,e.loc),()=>{let T;const{children:P}=l,M=P.length!==1||P[0].type!==1,S=ld(e)?e:f&&e.children.length===1&&ld(e.children[0])?e.children[0]:null;if(S?(T=S.codegenNode,f&&v&&ud(T,v,r)):M?T=Pu(r,s(Ou),v?Cs([v]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(T=P[0].codegenNode,f&&v&&ud(T,v,r),T.isBlock!==!_&&(T.isBlock?(a(ra),a(el(r.inSSR,T.isComponent))):a(Za(r.inSSR,T.isComponent))),T.isBlock=!_,T.isBlock?(s(ra),s(el(r.inSSR,T.isComponent))):s(Za(r.inSSR,T.isComponent))),d){const I=qa(Og(l.parseResult,[Ft("_cached")]));I.body=bL([Ws(["const _memo = (",d.exp,")"]),Ws(["if (_cached",...y?[" && _cached.key === ",y]:[],` && ${r.helperString(cE)}(_cached, _memo)) return _cached`]),Ws(["const _item = ",T]),Ft("_item.memo = _memo"),Ft("return _item")]),o.arguments.push(I,Ft("_cache"),Ft(String(r.cached++)))}else o.arguments.push(qa(Og(l.parseResult),T,!0))}})});function pN(e,n,r,s){if(!n.exp){r.onError(Sn(31,n.loc));return}const a=TE(n.exp);if(!a){r.onError(Sn(32,n.loc));return}const{addIdentifiers:l,removeIdentifiers:o,scopes:f}=r,{source:d,value:p,key:y,index:v}=a,_={type:11,loc:n.loc,source:d,valueAlias:p,keyAlias:y,objectIndexAlias:v,parseResult:a,children:ad(e)?e.children:[e]};r.replaceNode(_),f.vFor++;const w=s&&s(_);return()=>{f.vFor--,w&&w()}}const hN=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,I_=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,gN=/^\(|\)$/g;function TE(e,n){const r=e.loc,s=e.content,a=s.match(hN);if(!a)return;const[,l,o]=a,f={source:xf(r,o.trim(),s.indexOf(o,l.length)),value:void 0,key:void 0,index:void 0};let d=l.trim().replace(gN,"").trim();const p=l.indexOf(d),y=d.match(I_);if(y){d=d.replace(I_,"").trim();const v=y[1].trim();let _;if(v&&(_=s.indexOf(v,p+d.length),f.key=xf(r,v,_)),y[2]){const w=y[2].trim();w&&(f.index=xf(r,w,s.indexOf(w,f.key?_+v.length:p+d.length)))}}return d&&(f.value=xf(r,d,p)),f}function xf(e,n,r){return Ft(n,!1,pE(e,r,n.length))}function Og({value:e,key:n,index:r},s=[]){return mN([e,n,r,...s])}function mN(e){let n=e.length;for(;n--&&!e[n];);return e.slice(0,n+1).map((r,s)=>r||Ft("_".repeat(s+1),!1))}const P_=Ft("undefined",!1),vN=(e,n)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Ts(e,"slot");if(r)return r.exp,n.scopes.vSlot++,()=>{n.scopes.vSlot--}}},yN=(e,n,r)=>qa(e,n,!1,!0,n.length?n[0].loc:r);function bN(e,n,r=yN){n.helper(rv);const{children:s,loc:a}=e,l=[],o=[];let f=n.scopes.vSlot>0||n.scopes.vFor>0;const d=Ts(e,"slot",!0);if(d){const{arg:M,exp:S}=d;M&&!Kr(M)&&(f=!0),l.push(Rn(M||Ft("default",!0),r(S,s,a)))}let p=!1,y=!1;const v=[],_=new Set;let w=0;for(let M=0;M{const B=r(S,I,a);return n.compatConfig&&(B.isNonScopedSlot=!0),Rn("default",B)};p?v.length&&v.some(S=>CE(S))&&(y?n.onError(Sn(39,v[0].loc)):l.push(M(void 0,v))):l.push(M(void 0,s))}const T=f?2:Ff(e.children)?3:1;let P=Cs(l.concat(Rn("_",Ft(T+"",!1))),a);return o.length&&(P=Hn(n.helper(uE),[P,Xu(o)])),{slots:P,hasDynamicSlots:f}}function Ef(e,n,r){const s=[Rn("name",e),Rn("fn",n)];return r!=null&&s.push(Rn("key",Ft(String(r),!0))),Cs(s)}function Ff(e){for(let n=0;nfunction(){if(e=n.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:a}=e,l=e.tagType===1;let o=l?xN(e,n):`"${s}"`;const f=hn(o)&&o.callee===nd;let d,p,y,v=0,_,w,T,P=f||o===fu||o===Gm||!l&&(s==="svg"||s==="foreignObject");if(a.length>0){const M=OE(e,n,void 0,l,f);d=M.props,v=M.patchFlag,w=M.dynamicPropNames;const S=M.directives;T=S&&S.length?Xu(S.map(I=>wN(I,n))):void 0,M.shouldUseBlock&&(P=!0)}if(e.children.length>0)if(o===td&&(P=!0,v|=1024),l&&o!==fu&&o!==td){const{slots:S,hasDynamicSlots:I}=bN(e,n);p=S,I&&(v|=1024)}else if(e.children.length===1&&o!==fu){const S=e.children[0],I=S.type,B=I===5||I===8;B&&As(S,n)===0&&(v|=1),B||I===2?p=S:p=e.children}else p=e.children;v!==0&&(y=String(v),w&&w.length&&(_=SN(w))),e.codegenNode=Pu(n,o,d,p,y,_,T,!!P,!1,l,e.loc)};function xN(e,n,r=!1){let{tag:s}=e;const a=Ig(s),l=Yd(e,"is");if(l)if(a||Zo("COMPILER_IS_ON_ELEMENT",n)){const d=l.type===6?l.value&&Ft(l.value.content,!0):l.exp;if(d)return Hn(n.helper(nd),[d])}else l.type===6&&l.value.content.startsWith("vue:")&&(s=l.value.content.slice(4));const o=!a&&Ts(e,"is");if(o&&o.exp)return Hn(n.helper(nd),[o.exp]);const f=fE(s)||n.isBuiltInComponent(s);return f?(r||n.helper(f),f):(n.helper(Xm),n.components.add(s),ku(s,"component"))}function OE(e,n,r=e.props,s,a,l=!1){const{tag:o,loc:f,children:d}=e;let p=[];const y=[],v=[],_=d.length>0;let w=!1,T=0,P=!1,M=!1,S=!1,I=!1,B=!1,R=!1;const $=[],G=j=>{p.length&&(y.push(Cs(k_(p),f)),p=[]),j&&y.push(j)},m=({key:j,value:K})=>{if(Kr(j)){const re=j.content,pe=ia(re);if(pe&&(!s||a)&&re.toLowerCase()!=="onclick"&&re!=="onUpdate:modelValue"&&!Xo(re)&&(I=!0),pe&&Xo(re)&&(R=!0),K.type===20||(K.type===4||K.type===8)&&As(K,n)>0)return;re==="ref"?P=!0:re==="class"?M=!0:re==="style"?S=!0:re!=="key"&&!$.includes(re)&&$.push(re),s&&(re==="class"||re==="style")&&!$.includes(re)&&$.push(re)}else B=!0};for(let j=0;j0&&p.push(Rn(Ft("ref_for",!0),Ft("true")))),pe==="is"&&(Ig(o)||q&&q.content.startsWith("vue:")||Zo("COMPILER_IS_ON_ELEMENT",n)))continue;p.push(Rn(Ft(pe,!0,pE(re,0,pe.length)),Ft(q?q.content:"",le,q?q.loc:re)))}else{const{name:re,arg:pe,exp:q,loc:le}=K,Fe=re==="bind",Ee=re==="on";if(re==="slot"){s||n.onError(Sn(40,le));continue}if(re==="once"||re==="memo"||re==="is"||Fe&&Yo(pe,"is")&&(Ig(o)||Zo("COMPILER_IS_ON_ELEMENT",n))||Ee&&l)continue;if((Fe&&Yo(pe,"key")||Ee&&_&&Yo(pe,"vue:before-update"))&&(w=!0),Fe&&Yo(pe,"ref")&&n.scopes.vFor>0&&p.push(Rn(Ft("ref_for",!0),Ft("true"))),!pe&&(Fe||Ee)){if(B=!0,q)if(Fe){if(G(),Zo("COMPILER_V_BIND_OBJECT_ORDER",n)){y.unshift(q);continue}y.push(q)}else G({type:14,loc:le,callee:n.helper(nv),arguments:s?[q]:[q,"true"]});else n.onError(Sn(Fe?34:35,le));continue}const Ae=n.directiveTransforms[re];if(Ae){const{props:$e,needRuntime:tt}=Ae(K,e,n);!l&&$e.forEach(m),Ee&&pe&&!Kr(pe)?G(Cs($e,f)):p.push(...$e),tt&&(v.push(K),lo(tt)&&AE.set(K,tt))}else VP(re)||(v.push(K),_&&(w=!0))}}let Y;if(y.length?(G(),y.length>1?Y=Hn(n.helper(rd),y,f):Y=y[0]):p.length&&(Y=Cs(k_(p),f)),B?T|=16:(M&&!s&&(T|=2),S&&!s&&(T|=4),$.length&&(T|=8),I&&(T|=32)),!w&&(T===0||T===32)&&(P||R||v.length>0)&&(T|=512),!n.inSSR&&Y)switch(Y.type){case 15:let j=-1,K=-1,re=!1;for(let le=0;leRn(o,l)),a))}return Xu(r,e.loc)}function SN(e){let n="[";for(let r=0,s=e.length;r{if(ld(e)){const{children:r,loc:s}=e,{slotName:a,slotProps:l}=CN(e,n),o=[n.prefixIdentifiers?"_ctx.$slots":"$slots",a,"{}","undefined","true"];let f=2;l&&(o[2]=l,f=3),r.length&&(o[3]=qa([],r,!1,!1,s),f=4),n.scopeId&&!n.slotted&&(f=5),o.splice(f),e.codegenNode=Hn(n.helper(lE),o,s)}};function CN(e,n){let r='"default"',s;const a=[];for(let l=0;l0){const{props:l,directives:o}=OE(e,n,a,!1,!1);s=l,o.length&&n.onError(Sn(36,o[0].loc))}return{slotName:r,slotProps:s}}const AN=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,IE=(e,n,r,s)=>{const{loc:a,modifiers:l,arg:o}=e;!e.exp&&!l.length&&r.onError(Sn(35,a));let f;if(o.type===4)if(o.isStatic){let v=o.content;v.startsWith("vue:")&&(v=`vnode-${v.slice(4)}`);const _=n.tagType!==0||v.startsWith("vnode")||!/[A-Z]/.test(v)?Qo(Un(v)):`on:${v}`;f=Ft(_,!0,o.loc)}else f=Ws([`${r.helperString(Sg)}(`,o,")"]);else f=o,f.children.unshift(`${r.helperString(Sg)}(`),f.children.push(")");let d=e.exp;d&&!d.content.trim()&&(d=void 0);let p=r.cacheHandlers&&!d&&!r.inVOnce;if(d){const v=dE(d.content),_=!(v||AN.test(d.content)),w=d.content.includes(";");(_||p&&v)&&(d=Ws([`${_?"$event":"(...args)"} => ${w?"{":"("}`,d,w?"}":")"]))}let y={props:[Rn(f,d||Ft("() => {}",!1,a))]};return s&&(y=s(y)),p&&(y.props[0].value=r.cache(y.props[0].value)),y.props.forEach(v=>v.key.isHandlerKey=!0),y},ON=(e,n,r)=>{const{exp:s,modifiers:a,loc:l}=e,o=e.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),a.includes("camel")&&(o.type===4?o.isStatic?o.content=Un(o.content):o.content=`${r.helperString(wg)}(${o.content})`:(o.children.unshift(`${r.helperString(wg)}(`),o.children.push(")"))),r.inSSR||(a.includes("prop")&&L_(o,"."),a.includes("attr")&&L_(o,"^")),!s||s.type===4&&!s.content.trim()?(r.onError(Sn(34,l)),{props:[Rn(o,Ft("",!0,l))]}):{props:[Rn(o,s)]}},L_=(e,n)=>{e.type===4?e.isStatic?e.content=n+e.content:e.content=`\`${n}\${${e.content}}\``:(e.children.unshift(`'${n}' + (`),e.children.push(")"))},IN=(e,n)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let s,a=!1;for(let l=0;ll.type===7&&!n.directiveTransforms[l.name])&&e.tag!=="template")))for(let l=0;l{if(e.type===1&&Ts(e,"once",!0))return N_.has(e)||n.inVOnce||n.inSSR?void 0:(N_.add(e),n.inVOnce=!0,n.helper(sd),()=>{n.inVOnce=!1;const r=n.currentNode;r.codegenNode&&(r.codegenNode=n.cache(r.codegenNode,!0))})},PE=(e,n,r)=>{const{exp:s,arg:a}=e;if(!s)return r.onError(Sn(41,e.loc)),wf();const l=s.loc.source,o=s.type===4?s.content:l,f=r.bindingMetadata[l];if(f==="props"||f==="props-aliased")return r.onError(Sn(44,s.loc)),wf();const d=!1;if(!o.trim()||!dE(o)&&!d)return r.onError(Sn(42,s.loc)),wf();const p=a||Ft("modelValue",!0),y=a?Kr(a)?`onUpdate:${Un(a.content)}`:Ws(['"onUpdate:" + ',a]):"onUpdate:modelValue";let v;const _=r.isTS?"($event: any)":"$event";v=Ws([`${_} => ((`,s,") = $event)"]);const w=[Rn(p,e.exp),Rn(y,v)];if(e.modifiers.length&&n.tagType===1){const T=e.modifiers.map(M=>(ov(M)?M:JSON.stringify(M))+": true").join(", "),P=a?Kr(a)?`${a.content}Modifiers`:Ws([a,' + "Modifiers"']):"modelModifiers";w.push(Rn(P,Ft(`{ ${T} }`,!1,e.loc,2)))}return wf(w)};function wf(e=[]){return{props:e}}const kN=/[\w).+\-_$\]]/,LN=(e,n)=>{!Zo("COMPILER_FILTER",n)||(e.type===5&&fd(e.content,n),e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&fd(r.exp,n)}))};function fd(e,n){if(e.type===4)R_(e,n);else for(let r=0;r=0&&(I=r.charAt(S),I===" ");S--);(!I||!kN.test(I))&&(o=!0)}}T===void 0?T=r.slice(0,w).trim():y!==0&&M();function M(){P.push(r.slice(y,w).trim()),y=w+1}if(P.length){for(w=0;w{if(e.type===1){const r=Ts(e,"memo");return!r||D_.has(e)?void 0:(D_.add(e),()=>{const s=e.codegenNode||n.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&iv(s,n),e.codegenNode=Hn(n.helper(sv),[r.exp,qa(void 0,s),"_cache",String(n.cached++)]))})}};function DN(e){return[[PN,uN,RN,dN,LN,TN,_N,vN,IN],{on:IE,bind:ON,model:PE}]}function MN(e,n={}){const r=n.onError||Vm,s=n.mode==="module";n.prefixIdentifiers===!0?r(Sn(47)):s&&r(Sn(48));const a=!1;n.cacheHandlers&&r(Sn(49)),n.scopeId&&!s&&r(Sn(50));const l=Ot(e)?kL(e,n):e,[o,f]=DN();return GL(l,qt({},n,{prefixIdentifiers:a,nodeTransforms:[...o,...n.nodeTransforms||[]],directiveTransforms:qt({},f,n.directiveTransforms||{})})),YL(l,qt({},n,{prefixIdentifiers:a}))}const $N=()=>({props:[]}),kE=Symbol(""),LE=Symbol(""),NE=Symbol(""),RE=Symbol(""),Pg=Symbol(""),DE=Symbol(""),ME=Symbol(""),$E=Symbol(""),FE=Symbol(""),BE=Symbol("");mL({[kE]:"vModelRadio",[LE]:"vModelCheckbox",[NE]:"vModelText",[RE]:"vModelSelect",[Pg]:"vModelDynamic",[DE]:"withModifiers",[ME]:"withKeys",[$E]:"vShow",[FE]:"Transition",[BE]:"TransitionGroup"});let ka;function FN(e,n=!1){return ka||(ka=document.createElement("div")),n?(ka.innerHTML=`
`,ka.children[0].getAttribute("foo")):(ka.innerHTML=e,ka.textContent)}const BN=Jr("style,iframe,script,noscript",!0),UN={isVoidTag:r2,isNativeTag:e=>t2(e)||n2(e),isPreTag:e=>e==="pre",decodeEntities:FN,isBuiltInComponent:e=>{if(Ma(e,"Transition"))return FE;if(Ma(e,"TransitionGroup"))return BE},getNamespace(e,n){let r=n?n.ns:0;if(n&&r===2)if(n.tag==="annotation-xml"){if(e==="svg")return 1;n.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else n&&r===1&&(n.tag==="foreignObject"||n.tag==="desc"||n.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r},getTextMode({tag:e,ns:n}){if(n===0){if(e==="textarea"||e==="title")return 1;if(BN(e))return 2}return 0}},jN=e=>{e.type===1&&e.props.forEach((n,r)=>{n.type===6&&n.name==="style"&&n.value&&(e.props[r]={type:7,name:"bind",arg:Ft("style",!0,n.loc),exp:HN(n.value.content,n.loc),modifiers:[],loc:n.loc})})},HN=(e,n)=>{const r=Q0(e);return Ft(JSON.stringify(r),!1,n,3)};function ao(e,n){return Sn(e,n)}const WN=(e,n,r)=>{const{exp:s,loc:a}=e;return s||r.onError(ao(53,a)),n.children.length&&(r.onError(ao(54,a)),n.children.length=0),{props:[Rn(Ft("innerHTML",!0,a),s||Ft("",!0))]}},VN=(e,n,r)=>{const{exp:s,loc:a}=e;return s||r.onError(ao(55,a)),n.children.length&&(r.onError(ao(56,a)),n.children.length=0),{props:[Rn(Ft("textContent",!0),s?As(s,r)>0?s:Hn(r.helperString(zd),[s],a):Ft("",!0))]}},GN=(e,n,r)=>{const s=PE(e,n,r);if(!s.props.length||n.tagType===1)return s;e.arg&&r.onError(ao(58,e.arg.loc));const{tag:a}=n,l=r.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||l){let o=NE,f=!1;if(a==="input"||l){const d=Yd(n,"type");if(d){if(d.type===7)o=Pg;else if(d.value)switch(d.value.content){case"radio":o=kE;break;case"checkbox":o=LE;break;case"file":f=!0,r.onError(ao(59,e.loc));break}}else TL(n)&&(o=Pg)}else a==="select"&&(o=RE);f||(s.needRuntime=r.helper(o))}else r.onError(ao(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},KN=Jr("passive,once,capture"),zN=Jr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),YN=Jr("left,right"),UE=Jr("onkeyup,onkeydown,onkeypress",!0),XN=(e,n,r,s)=>{const a=[],l=[],o=[];for(let f=0;fKr(e)&&e.content.toLowerCase()==="onclick"?Ft(n,!0):e.type!==4?Ws(["(",e,`) === "onClick" ? "${n}" : (`,e,")"]):e,QN=(e,n,r)=>IE(e,n,r,s=>{const{modifiers:a}=e;if(!a.length)return s;let{key:l,value:o}=s.props[0];const{keyModifiers:f,nonKeyModifiers:d,eventOptionModifiers:p}=XN(l,a,r,e.loc);if(d.includes("right")&&(l=M_(l,"onContextmenu")),d.includes("middle")&&(l=M_(l,"onMouseup")),d.length&&(o=Hn(r.helper(DE),[o,JSON.stringify(d)])),f.length&&(!Kr(l)||UE(l.content))&&(o=Hn(r.helper(ME),[o,JSON.stringify(f)])),p.length){const y=p.map(vo).join("");l=Kr(l)?Ft(`${l.content}${y}`,!0):Ws(["(",l,`) + "${y}"`])}return{props:[Rn(l,o)]}}),JN=(e,n,r)=>{const{exp:s,loc:a}=e;return s||r.onError(ao(61,a)),{props:[],needRuntime:r.helper($E)}},qN=(e,n)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&n.removeNode()},ZN=[jN],eR={cloak:$N,html:WN,text:VN,model:GN,on:QN,show:JN};function tR(e,n={}){return MN(e,qt({},UN,n,{nodeTransforms:[qN,...ZN,...n.nodeTransforms||[]],directiveTransforms:qt({},eR,n.directiveTransforms||{}),transformHoist:null}))}const $_=Object.create(null);function jE(e,n){if(!Ot(e))if(e.nodeType)e=e.innerHTML;else return kr;const r=e,s=$_[r];if(s)return s;if(e[0]==="#"){const f=document.querySelector(e);e=f?f.innerHTML:""}const a=qt({hoistStatic:!0,onError:void 0,onWarn:kr},n);!a.isCustomElement&&typeof customElements<"u"&&(a.isCustomElement=f=>!!customElements.get(f));const{code:l}=tR(e,a),o=new Function("Vue",l)(cL);return o._rc=!0,$_[r]=o}Mm(jE);const nR=Object.freeze(Object.defineProperty({__proto__:null,compile:jE,EffectScope:wd,ReactiveEffect:ol,customRef:b1,effect:r1,effectScope:sm,getCurrentScope:Sd,isProxy:Pd,isReactive:so,isReadonly:fo,isRef:Bn,isShallow:Ya,markRaw:kd,onScopeDispose:im,proxyRefs:Nd,reactive:Du,readonly:Od,ref:it,shallowReactive:lm,shallowReadonly:g1,shallowRef:fm,stop:s1,toRaw:Kt,toRef:x1,toRefs:_1,toValue:y1,triggerRef:v1,unref:Mu,camelize:Un,capitalize:vo,normalizeClass:Jt,normalizeProps:J0,normalizeStyle:il,toDisplayString:ce,toHandlerKey:Qo,BaseTransition:vm,BaseTransitionPropsValidators:Ud,Comment:cr,Fragment:Xt,KeepAlive:U1,Static:io,Suspense:N1,Teleport:yx,Text:Ii,assertNumber:S1,callWithAsyncErrorHandling:zr,callWithErrorHandling:oi,cloneVNode:Vs,compatUtils:Dx,computed:Jn,createBlock:In,createCommentVNode:nt,createElementBlock:ke,createElementVNode:C,createHydrationRenderer:Pm,createPropsRestProxy:ax,createRenderer:Im,createSlots:G1,createStaticVNode:Sx,createTextVNode:ln,createVNode:vt,defineAsyncComponent:B1,defineComponent:jd,defineEmits:X1,defineExpose:Q1,defineModel:Z1,defineOptions:J1,defineProps:Y1,defineSlots:q1,get devtools(){return Go},getCurrentInstance:Nr,getTransitionRawChildren:Fu,guardReactiveProps:Lm,h:Wu,handleError:yo,hasInjectionContext:fx,initCustomFormatter:kx,inject:vn,isMemoSame:Bm,isRuntimeOnly:Ox,isVNode:Pi,mergeDefaults:ix,mergeModels:ox,mergeProps:Rm,nextTick:Rd,onActivated:ym,onBeforeMount:Wd,onBeforeUnmount:ju,onBeforeUpdate:_m,onDeactivated:bm,onErrorCaptured:Sm,onMounted:aa,onRenderTracked:wm,onRenderTriggered:Em,onServerPrefetch:xm,onUnmounted:ul,onUpdated:Uu,openBlock:xe,popScopeId:P1,provide:Ci,pushScopeId:I1,queuePostFlushCb:Md,registerRuntimeCompiler:Mm,renderList:Lr,renderSlot:Hu,resolveComponent:rn,resolveDirective:V1,resolveDynamicComponent:W1,resolveFilter:Rx,resolveTransitionHooks:ta,setBlockTracking:qf,setDevtoolsHook:pm,setTransitionHooks:po,ssrContextKey:$m,ssrUtils:Nx,toHandlers:z1,transformVNodeArgs:Ex,useAttrs:nx,useModel:rx,useSSRContext:Fm,useSlots:tx,useTransitionState:Bd,version:Um,warn:w1,watch:Yr,watchEffect:D1,watchPostEffect:mm,watchSyncEffect:M1,withAsyncContext:lx,withCtx:Pr,withDefaults:ex,withDirectives:on,withMemo:Lx,withScopeId:k1,Transition:bo,TransitionGroup:Kx,VueElement:Vu,createApp:Wm,createSSRApp:eE,defineCustomElement:jm,defineSSRCustomElement:Mx,hydrate:Hm,initDirectivesForSSR:nE,render:ed,useCssModule:$x,useCssVars:Fx,vModelCheckbox:Gu,vModelDynamic:Au,vModelRadio:Ku,vModelSelect:ps,vModelText:Vn,vShow:Kd,withKeys:Qx,withModifiers:Xx},Symbol.toStringTag,{value:"Module"}));/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Pg=typeof window<"u",ZR=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",_o=e=>ZR?Symbol(e):e,qR=(e,n,r)=>eD({l:e,k:n,s:r}),eD=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Zn=e=>typeof e=="number"&&isFinite(e),tD=e=>uv(e)==="[object Date]",mo=e=>uv(e)==="[object RegExp]",Zd=e=>wt(e)&&Object.keys(e).length===0;function nD(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const sr=Object.assign;let M_;const pu=()=>M_||(M_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $_(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const rD=Object.prototype.hasOwnProperty;function lv(e,n){return rD.call(e,n)}const bn=Array.isArray,Fn=e=>typeof e=="function",Ve=e=>typeof e=="string",Qt=e=>typeof e=="boolean",_n=e=>e!==null&&typeof e=="object",BE=Object.prototype.toString,uv=e=>BE.call(e),wt=e=>uv(e)==="[object Object]",iD=e=>e==null?"":bn(e)||wt(e)&&e.toString===BE?JSON.stringify(e,null,2):String(e);/*! + */const kg=typeof window<"u",rR=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",_o=e=>rR?Symbol(e):e,sR=(e,n,r)=>iR({l:e,k:n,s:r}),iR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qn=e=>typeof e=="number"&&isFinite(e),oR=e=>cv(e)==="[object Date]",mo=e=>cv(e)==="[object RegExp]",qd=e=>wt(e)&&Object.keys(e).length===0;function aR(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const ir=Object.assign;let F_;const pu=()=>F_||(F_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function B_(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const lR=Object.prototype.hasOwnProperty;function uv(e,n){return lR.call(e,n)}const bn=Array.isArray,Fn=e=>typeof e=="function",Ve=e=>typeof e=="string",Qt=e=>typeof e=="boolean",_n=e=>e!==null&&typeof e=="object",HE=Object.prototype.toString,cv=e=>HE.call(e),wt=e=>cv(e)==="[object Object]",uR=e=>e==null?"":bn(e)||wt(e)&&e.toString===HE?JSON.stringify(e,null,2):String(e);/*! * message-compiler v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const sn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function qd(e,n,r={}){const{domain:i,messages:a,args:l}=r,o=e,f=new SyntaxError(String(o));return f.code=e,n&&(f.location=n),f.domain=i,f}function sD(e){throw e}function oD(e,n,r){return{line:e,column:n,offset:r}}function Lg(e,n,r){const i={start:e,end:n};return r!=null&&(i.source=r),i}const Es=" ",aD="\r",Ir=` -`,lD=String.fromCharCode(8232),uD=String.fromCharCode(8233);function cD(e){const n=e;let r=0,i=1,a=1,l=0;const o=m=>n[m]===aD&&n[m+1]===Ir,f=m=>n[m]===Ir,d=m=>n[m]===uD,g=m=>n[m]===lD,y=m=>o(m)||f(m)||d(m)||g(m),v=()=>r,_=()=>i,w=()=>a,C=()=>l,P=m=>o(m)||d(m)||g(m)?Ir:n[m],M=()=>P(r),S=()=>P(r+l);function I(){return l=0,y(r)&&(i++,a=0),o(r)&&r++,r++,a++,n[r]}function B(){return o(r+l)&&l++,l++,n[r+l]}function D(){r=0,i=1,a=1,l=0}function $(m=0){l=m}function K(){const m=r+l;for(;m!==r;)I();l=0}return{index:v,line:_,column:w,peekOffset:C,charAt:P,currentChar:M,currentPeek:S,next:I,peek:B,reset:D,resetPeek:$,skipToPeek:K}}const Xs=void 0,F_="'",fD="tokenizer";function dD(e,n={}){const r=n.location!==!1,i=cD(e),a=()=>i.index(),l=()=>oD(i.line(),i.column(),i.index()),o=l(),f=a(),d={currentType:14,offset:f,startLoc:o,endLoc:o,lastType:14,lastOffset:f,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},g=()=>d,{onError:y}=n;function v(N,R,z,...ie){const ae=g();if(R.column+=z,R.offset+=z,y){const Te=Lg(ae.startLoc,R),De=qd(N,Te,{domain:fD,args:ie});y(De)}}function _(N,R,z){N.endLoc=l(),N.currentType=R;const ie={type:R};return r&&(ie.loc=Lg(N.startLoc,N.endLoc)),z!=null&&(ie.value=z),ie}const w=N=>_(N,14);function C(N,R){return N.currentChar()===R?(N.next(),R):(v(sn.EXPECTED_TOKEN,l(),0,R),"")}function P(N){let R="";for(;N.currentPeek()===Es||N.currentPeek()===Ir;)R+=N.currentPeek(),N.peek();return R}function M(N){const R=P(N);return N.skipToPeek(),R}function S(N){if(N===Xs)return!1;const R=N.charCodeAt(0);return R>=97&&R<=122||R>=65&&R<=90||R===95}function I(N){if(N===Xs)return!1;const R=N.charCodeAt(0);return R>=48&&R<=57}function B(N,R){const{currentType:z}=R;if(z!==2)return!1;P(N);const ie=S(N.currentPeek());return N.resetPeek(),ie}function D(N,R){const{currentType:z}=R;if(z!==2)return!1;P(N);const ie=N.currentPeek()==="-"?N.peek():N.currentPeek(),ae=I(ie);return N.resetPeek(),ae}function $(N,R){const{currentType:z}=R;if(z!==2)return!1;P(N);const ie=N.currentPeek()===F_;return N.resetPeek(),ie}function K(N,R){const{currentType:z}=R;if(z!==8)return!1;P(N);const ie=N.currentPeek()===".";return N.resetPeek(),ie}function m(N,R){const{currentType:z}=R;if(z!==9)return!1;P(N);const ie=S(N.currentPeek());return N.resetPeek(),ie}function Y(N,R){const{currentType:z}=R;if(!(z===8||z===12))return!1;P(N);const ie=N.currentPeek()===":";return N.resetPeek(),ie}function j(N,R){const{currentType:z}=R;if(z!==10)return!1;const ie=()=>{const Te=N.currentPeek();return Te==="{"?S(N.peek()):Te==="@"||Te==="%"||Te==="|"||Te===":"||Te==="."||Te===Es||!Te?!1:Te===Ir?(N.peek(),ie()):S(Te)},ae=ie();return N.resetPeek(),ae}function G(N){P(N);const R=N.currentPeek()==="|";return N.resetPeek(),R}function re(N){const R=P(N),z=N.currentPeek()==="%"&&N.peek()==="{";return N.resetPeek(),{isModulo:z,hasSpace:R.length>0}}function pe(N,R=!0){const z=(ae=!1,Te="",De=!1)=>{const Ne=N.currentPeek();return Ne==="{"?Te==="%"?!1:ae:Ne==="@"||!Ne?Te==="%"?!0:ae:Ne==="%"?(N.peek(),z(ae,"%",!0)):Ne==="|"?Te==="%"||De?!0:!(Te===Es||Te===Ir):Ne===Es?(N.peek(),z(!0,Es,De)):Ne===Ir?(N.peek(),z(!0,Ir,De)):!0},ie=z();return R&&N.resetPeek(),ie}function Z(N,R){const z=N.currentChar();return z===Xs?Xs:R(z)?(N.next(),z):null}function le(N){return Z(N,z=>{const ie=z.charCodeAt(0);return ie>=97&&ie<=122||ie>=65&&ie<=90||ie>=48&&ie<=57||ie===95||ie===36})}function Fe(N){return Z(N,z=>{const ie=z.charCodeAt(0);return ie>=48&&ie<=57})}function Ee(N){return Z(N,z=>{const ie=z.charCodeAt(0);return ie>=48&&ie<=57||ie>=65&&ie<=70||ie>=97&&ie<=102})}function Ae(N){let R="",z="";for(;R=Fe(N);)z+=R;return z}function $e(N){M(N);const R=N.currentChar();return R!=="%"&&v(sn.EXPECTED_TOKEN,l(),0,R),N.next(),"%"}function tt(N){let R="";for(;;){const z=N.currentChar();if(z==="{"||z==="}"||z==="@"||z==="|"||!z)break;if(z==="%")if(pe(N))R+=z,N.next();else break;else if(z===Es||z===Ir)if(pe(N))R+=z,N.next();else{if(G(N))break;R+=z,N.next()}else R+=z,N.next()}return R}function Dt(N){M(N);let R="",z="";for(;R=le(N);)z+=R;return N.currentChar()===Xs&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),z}function ot(N){M(N);let R="";return N.currentChar()==="-"?(N.next(),R+=`-${Ae(N)}`):R+=Ae(N),N.currentChar()===Xs&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),R}function mt(N){M(N),C(N,"'");let R="",z="";const ie=Te=>Te!==F_&&Te!==Ir;for(;R=Z(N,ie);)R==="\\"?z+=zt(N):z+=R;const ae=N.currentChar();return ae===Ir||ae===Xs?(v(sn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),ae===Ir&&(N.next(),C(N,"'")),z):(C(N,"'"),z)}function zt(N){const R=N.currentChar();switch(R){case"\\":case"'":return N.next(),`\\${R}`;case"u":return qt(N,R,4);case"U":return qt(N,R,6);default:return v(sn.UNKNOWN_ESCAPE_SEQUENCE,l(),0,R),""}}function qt(N,R,z){C(N,R);let ie="";for(let ae=0;aeae!=="{"&&ae!=="}"&&ae!==Es&&ae!==Ir;for(;R=Z(N,ie);)z+=R;return z}function dt(N){let R="",z="";for(;R=le(N);)z+=R;return z}function Nt(N){const R=(z=!1,ie)=>{const ae=N.currentChar();return ae==="{"||ae==="%"||ae==="@"||ae==="|"||!ae||ae===Es?ie:ae===Ir?(ie+=ae,N.next(),R(z,ie)):(ie+=ae,N.next(),R(!0,ie))};return R(!1,"")}function en(N){M(N);const R=C(N,"|");return M(N),R}function It(N,R){let z=null;switch(N.currentChar()){case"{":return R.braceNest>=1&&v(sn.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),N.next(),z=_(R,2,"{"),M(N),R.braceNest++,z;case"}":return R.braceNest>0&&R.currentType===2&&v(sn.EMPTY_PLACEHOLDER,l(),0),N.next(),z=_(R,3,"}"),R.braceNest--,R.braceNest>0&&M(N),R.inLinked&&R.braceNest===0&&(R.inLinked=!1),z;case"@":return R.braceNest>0&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),z=Ht(N,R)||w(R),R.braceNest=0,z;default:let ae=!0,Te=!0,De=!0;if(G(N))return R.braceNest>0&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),z=_(R,1,en(N)),R.braceNest=0,R.inLinked=!1,z;if(R.braceNest>0&&(R.currentType===5||R.currentType===6||R.currentType===7))return v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),R.braceNest=0,gn(N,R);if(ae=B(N,R))return z=_(R,5,Dt(N)),M(N),z;if(Te=D(N,R))return z=_(R,6,ot(N)),M(N),z;if(De=$(N,R))return z=_(R,7,mt(N)),M(N),z;if(!ae&&!Te&&!De)return z=_(R,13,kt(N)),v(sn.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,z.value),M(N),z;break}return z}function Ht(N,R){const{currentType:z}=R;let ie=null;const ae=N.currentChar();switch((z===8||z===9||z===12||z===10)&&(ae===Ir||ae===Es)&&v(sn.INVALID_LINKED_FORMAT,l(),0),ae){case"@":return N.next(),ie=_(R,8,"@"),R.inLinked=!0,ie;case".":return M(N),N.next(),_(R,9,".");case":":return M(N),N.next(),_(R,10,":");default:return G(N)?(ie=_(R,1,en(N)),R.braceNest=0,R.inLinked=!1,ie):K(N,R)||Y(N,R)?(M(N),Ht(N,R)):m(N,R)?(M(N),_(R,12,dt(N))):j(N,R)?(M(N),ae==="{"?It(N,R)||ie:_(R,11,Nt(N))):(z===8&&v(sn.INVALID_LINKED_FORMAT,l(),0),R.braceNest=0,R.inLinked=!1,gn(N,R))}}function gn(N,R){let z={type:14};if(R.braceNest>0)return It(N,R)||w(R);if(R.inLinked)return Ht(N,R)||w(R);switch(N.currentChar()){case"{":return It(N,R)||w(R);case"}":return v(sn.UNBALANCED_CLOSING_BRACE,l(),0),N.next(),_(R,3,"}");case"@":return Ht(N,R)||w(R);default:if(G(N))return z=_(R,1,en(N)),R.braceNest=0,R.inLinked=!1,z;const{isModulo:ae,hasSpace:Te}=re(N);if(ae)return Te?_(R,0,tt(N)):_(R,4,$e(N));if(pe(N))return _(R,0,tt(N));break}return z}function X(){const{currentType:N,offset:R,startLoc:z,endLoc:ie}=d;return d.lastType=N,d.lastOffset=R,d.lastStartLoc=z,d.lastEndLoc=ie,d.offset=a(),d.startLoc=l(),i.currentChar()===Xs?_(d,14):gn(i,d)}return{nextToken:X,currentOffset:a,currentPosition:l,context:g}}const pD="parser",hD=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function gD(e,n,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(n||r,16);return i<=55295||i>=57344?String.fromCodePoint(i):"\uFFFD"}}}function mD(e={}){const n=e.location!==!1,{onError:r}=e;function i(S,I,B,D,...$){const K=S.currentPosition();if(K.offset+=D,K.column+=D,r){const m=Lg(B,K),Y=qd(I,m,{domain:pD,args:$});r(Y)}}function a(S,I,B){const D={type:S,start:I,end:I};return n&&(D.loc={start:B,end:B}),D}function l(S,I,B,D){S.end=I,D&&(S.type=D),n&&S.loc&&(S.loc.end=B)}function o(S,I){const B=S.context(),D=a(3,B.offset,B.startLoc);return D.value=I,l(D,S.currentOffset(),S.currentPosition()),D}function f(S,I){const B=S.context(),{lastOffset:D,lastStartLoc:$}=B,K=a(5,D,$);return K.index=parseInt(I,10),S.nextToken(),l(K,S.currentOffset(),S.currentPosition()),K}function d(S,I){const B=S.context(),{lastOffset:D,lastStartLoc:$}=B,K=a(4,D,$);return K.key=I,S.nextToken(),l(K,S.currentOffset(),S.currentPosition()),K}function g(S,I){const B=S.context(),{lastOffset:D,lastStartLoc:$}=B,K=a(9,D,$);return K.value=I.replace(hD,gD),S.nextToken(),l(K,S.currentOffset(),S.currentPosition()),K}function y(S){const I=S.nextToken(),B=S.context(),{lastOffset:D,lastStartLoc:$}=B,K=a(8,D,$);return I.type!==12?(i(S,sn.UNEXPECTED_EMPTY_LINKED_MODIFIER,B.lastStartLoc,0),K.value="",l(K,D,$),{nextConsumeToken:I,node:K}):(I.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,ns(I)),K.value=I.value||"",l(K,S.currentOffset(),S.currentPosition()),{node:K})}function v(S,I){const B=S.context(),D=a(7,B.offset,B.startLoc);return D.value=I,l(D,S.currentOffset(),S.currentPosition()),D}function _(S){const I=S.context(),B=a(6,I.offset,I.startLoc);let D=S.nextToken();if(D.type===9){const $=y(S);B.modifier=$.node,D=$.nextConsumeToken||S.nextToken()}switch(D.type!==10&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(D)),D=S.nextToken(),D.type===2&&(D=S.nextToken()),D.type){case 11:D.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(D)),B.key=v(S,D.value||"");break;case 5:D.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(D)),B.key=d(S,D.value||"");break;case 6:D.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(D)),B.key=f(S,D.value||"");break;case 7:D.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(D)),B.key=g(S,D.value||"");break;default:i(S,sn.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const $=S.context(),K=a(7,$.offset,$.startLoc);return K.value="",l(K,$.offset,$.startLoc),B.key=K,l(B,$.offset,$.startLoc),{nextConsumeToken:D,node:B}}return l(B,S.currentOffset(),S.currentPosition()),{node:B}}function w(S){const I=S.context(),B=I.currentType===1?S.currentOffset():I.offset,D=I.currentType===1?I.endLoc:I.startLoc,$=a(2,B,D);$.items=[];let K=null;do{const j=K||S.nextToken();switch(K=null,j.type){case 0:j.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(j)),$.items.push(o(S,j.value||""));break;case 6:j.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(j)),$.items.push(f(S,j.value||""));break;case 5:j.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(j)),$.items.push(d(S,j.value||""));break;case 7:j.value==null&&i(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ns(j)),$.items.push(g(S,j.value||""));break;case 8:const G=_(S);$.items.push(G.node),K=G.nextConsumeToken||null;break}}while(I.currentType!==14&&I.currentType!==1);const m=I.currentType===1?I.lastOffset:S.currentOffset(),Y=I.currentType===1?I.lastEndLoc:S.currentPosition();return l($,m,Y),$}function C(S,I,B,D){const $=S.context();let K=D.items.length===0;const m=a(1,I,B);m.cases=[],m.cases.push(D);do{const Y=w(S);K||(K=Y.items.length===0),m.cases.push(Y)}while($.currentType!==14);return K&&i(S,sn.MUST_HAVE_MESSAGES_IN_PLURAL,B,0),l(m,S.currentOffset(),S.currentPosition()),m}function P(S){const I=S.context(),{offset:B,startLoc:D}=I,$=w(S);return I.currentType===14?$:C(S,B,D,$)}function M(S){const I=dD(S,sr({},e)),B=I.context(),D=a(0,B.offset,B.startLoc);return n&&D.loc&&(D.loc.source=S),D.body=P(I),B.currentType!==14&&i(I,sn.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,S[B.offset]||""),l(D,I.currentOffset(),I.currentPosition()),D}return{parse:M}}function ns(e){if(e.type===14)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"\u2026":n}function vD(e,n={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:l=>(r.helpers.add(l),l)}}function B_(e,n){for(let r=0;ro;function d(P,M){o.code+=P}function g(P,M=!0){const S=M?a:"";d(l?S+" ".repeat(P):S)}function y(P=!0){const M=++o.indentLevel;P&&g(M)}function v(P=!0){const M=--o.indentLevel;P&&g(M)}function _(){g(o.indentLevel)}return{context:f,push:d,indent:y,deindent:v,newline:_,helper:P=>`_${P}`,needIndent:()=>o.needIndent}}function _D(e,n){const{helper:r}=e;e.push(`${r("linked")}(`),tl(e,n.key),n.modifier?(e.push(", "),tl(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xD(e,n){const{helper:r,needIndent:i}=e;e.push(`${r("normalize")}([`),e.indent(i());const a=n.items.length;for(let l=0;l1){e.push(`${r("plural")}([`),e.indent(i());const a=n.cases.length;for(let l=0;l{const r=Ve(n.mode)?n.mode:"normal",i=Ve(n.filename)?n.filename:"message.intl",a=!!n.sourceMap,l=n.breakLineCode!=null?n.breakLineCode:r==="arrow"?";":` -`,o=n.needIndent?n.needIndent:r!=="arrow",f=e.helpers||[],d=bD(e,{mode:r,filename:i,sourceMap:a,breakLineCode:l,needIndent:o});d.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(o),f.length>0&&(d.push(`const { ${f.map(v=>`${v}: _${v}`).join(", ")} } = ctx`),d.newline()),d.push("return "),tl(d,e),d.deindent(o),d.push("}");const{code:g,map:y}=d.context();return{ast:e,code:g,map:y?y.toJSON():void 0}};function CD(e,n={}){const r=sr({},n),a=mD(r).parse(e);return yD(a,r),SD(a,r)}/*! + */const sn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Zd(e,n,r={}){const{domain:s,messages:a,args:l}=r,o=e,f=new SyntaxError(String(o));return f.code=e,n&&(f.location=n),f.domain=s,f}function cR(e){throw e}function fR(e,n,r){return{line:e,column:n,offset:r}}function Lg(e,n,r){const s={start:e,end:n};return r!=null&&(s.source=r),s}const Ei=" ",dR="\r",Ir=` +`,pR=String.fromCharCode(8232),hR=String.fromCharCode(8233);function gR(e){const n=e;let r=0,s=1,a=1,l=0;const o=m=>n[m]===dR&&n[m+1]===Ir,f=m=>n[m]===Ir,d=m=>n[m]===hR,p=m=>n[m]===pR,y=m=>o(m)||f(m)||d(m)||p(m),v=()=>r,_=()=>s,w=()=>a,T=()=>l,P=m=>o(m)||d(m)||p(m)?Ir:n[m],M=()=>P(r),S=()=>P(r+l);function I(){return l=0,y(r)&&(s++,a=0),o(r)&&r++,r++,a++,n[r]}function B(){return o(r+l)&&l++,l++,n[r+l]}function R(){r=0,s=1,a=1,l=0}function $(m=0){l=m}function G(){const m=r+l;for(;m!==r;)I();l=0}return{index:v,line:_,column:w,peekOffset:T,charAt:P,currentChar:M,currentPeek:S,next:I,peek:B,reset:R,resetPeek:$,skipToPeek:G}}const Qi=void 0,U_="'",mR="tokenizer";function vR(e,n={}){const r=n.location!==!1,s=gR(e),a=()=>s.index(),l=()=>fR(s.line(),s.column(),s.index()),o=l(),f=a(),d={currentType:14,offset:f,startLoc:o,endLoc:o,lastType:14,lastOffset:f,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},p=()=>d,{onError:y}=n;function v(L,N,z,...se){const ae=p();if(N.column+=z,N.offset+=z,y){const Ce=Lg(ae.startLoc,N),Re=Zd(L,Ce,{domain:mR,args:se});y(Re)}}function _(L,N,z){L.endLoc=l(),L.currentType=N;const se={type:N};return r&&(se.loc=Lg(L.startLoc,L.endLoc)),z!=null&&(se.value=z),se}const w=L=>_(L,14);function T(L,N){return L.currentChar()===N?(L.next(),N):(v(sn.EXPECTED_TOKEN,l(),0,N),"")}function P(L){let N="";for(;L.currentPeek()===Ei||L.currentPeek()===Ir;)N+=L.currentPeek(),L.peek();return N}function M(L){const N=P(L);return L.skipToPeek(),N}function S(L){if(L===Qi)return!1;const N=L.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function I(L){if(L===Qi)return!1;const N=L.charCodeAt(0);return N>=48&&N<=57}function B(L,N){const{currentType:z}=N;if(z!==2)return!1;P(L);const se=S(L.currentPeek());return L.resetPeek(),se}function R(L,N){const{currentType:z}=N;if(z!==2)return!1;P(L);const se=L.currentPeek()==="-"?L.peek():L.currentPeek(),ae=I(se);return L.resetPeek(),ae}function $(L,N){const{currentType:z}=N;if(z!==2)return!1;P(L);const se=L.currentPeek()===U_;return L.resetPeek(),se}function G(L,N){const{currentType:z}=N;if(z!==8)return!1;P(L);const se=L.currentPeek()===".";return L.resetPeek(),se}function m(L,N){const{currentType:z}=N;if(z!==9)return!1;P(L);const se=S(L.currentPeek());return L.resetPeek(),se}function Y(L,N){const{currentType:z}=N;if(!(z===8||z===12))return!1;P(L);const se=L.currentPeek()===":";return L.resetPeek(),se}function j(L,N){const{currentType:z}=N;if(z!==10)return!1;const se=()=>{const Ce=L.currentPeek();return Ce==="{"?S(L.peek()):Ce==="@"||Ce==="%"||Ce==="|"||Ce===":"||Ce==="."||Ce===Ei||!Ce?!1:Ce===Ir?(L.peek(),se()):S(Ce)},ae=se();return L.resetPeek(),ae}function K(L){P(L);const N=L.currentPeek()==="|";return L.resetPeek(),N}function re(L){const N=P(L),z=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:z,hasSpace:N.length>0}}function pe(L,N=!0){const z=(ae=!1,Ce="",Re=!1)=>{const Le=L.currentPeek();return Le==="{"?Ce==="%"?!1:ae:Le==="@"||!Le?Ce==="%"?!0:ae:Le==="%"?(L.peek(),z(ae,"%",!0)):Le==="|"?Ce==="%"||Re?!0:!(Ce===Ei||Ce===Ir):Le===Ei?(L.peek(),z(!0,Ei,Re)):Le===Ir?(L.peek(),z(!0,Ir,Re)):!0},se=z();return N&&L.resetPeek(),se}function q(L,N){const z=L.currentChar();return z===Qi?Qi:N(z)?(L.next(),z):null}function le(L){return q(L,z=>{const se=z.charCodeAt(0);return se>=97&&se<=122||se>=65&&se<=90||se>=48&&se<=57||se===95||se===36})}function Fe(L){return q(L,z=>{const se=z.charCodeAt(0);return se>=48&&se<=57})}function Ee(L){return q(L,z=>{const se=z.charCodeAt(0);return se>=48&&se<=57||se>=65&&se<=70||se>=97&&se<=102})}function Ae(L){let N="",z="";for(;N=Fe(L);)z+=N;return z}function $e(L){M(L);const N=L.currentChar();return N!=="%"&&v(sn.EXPECTED_TOKEN,l(),0,N),L.next(),"%"}function tt(L){let N="";for(;;){const z=L.currentChar();if(z==="{"||z==="}"||z==="@"||z==="|"||!z)break;if(z==="%")if(pe(L))N+=z,L.next();else break;else if(z===Ei||z===Ir)if(pe(L))N+=z,L.next();else{if(K(L))break;N+=z,L.next()}else N+=z,L.next()}return N}function Rt(L){M(L);let N="",z="";for(;N=le(L);)z+=N;return L.currentChar()===Qi&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),z}function ot(L){M(L);let N="";return L.currentChar()==="-"?(L.next(),N+=`-${Ae(L)}`):N+=Ae(L),L.currentChar()===Qi&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),N}function mt(L){M(L),T(L,"'");let N="",z="";const se=Ce=>Ce!==U_&&Ce!==Ir;for(;N=q(L,se);)N==="\\"?z+=zt(L):z+=N;const ae=L.currentChar();return ae===Ir||ae===Qi?(v(sn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),ae===Ir&&(L.next(),T(L,"'")),z):(T(L,"'"),z)}function zt(L){const N=L.currentChar();switch(N){case"\\":case"'":return L.next(),`\\${N}`;case"u":return Zt(L,N,4);case"U":return Zt(L,N,6);default:return v(sn.UNKNOWN_ESCAPE_SEQUENCE,l(),0,N),""}}function Zt(L,N,z){T(L,N);let se="";for(let ae=0;aeae!=="{"&&ae!=="}"&&ae!==Ei&&ae!==Ir;for(;N=q(L,se);)z+=N;return z}function dt(L){let N="",z="";for(;N=le(L);)z+=N;return z}function Lt(L){const N=(z=!1,se)=>{const ae=L.currentChar();return ae==="{"||ae==="%"||ae==="@"||ae==="|"||!ae||ae===Ei?se:ae===Ir?(se+=ae,L.next(),N(z,se)):(se+=ae,L.next(),N(!0,se))};return N(!1,"")}function en(L){M(L);const N=T(L,"|");return M(L),N}function It(L,N){let z=null;switch(L.currentChar()){case"{":return N.braceNest>=1&&v(sn.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),L.next(),z=_(N,2,"{"),M(L),N.braceNest++,z;case"}":return N.braceNest>0&&N.currentType===2&&v(sn.EMPTY_PLACEHOLDER,l(),0),L.next(),z=_(N,3,"}"),N.braceNest--,N.braceNest>0&&M(L),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),z;case"@":return N.braceNest>0&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),z=Ht(L,N)||w(N),N.braceNest=0,z;default:let ae=!0,Ce=!0,Re=!0;if(K(L))return N.braceNest>0&&v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),z=_(N,1,en(L)),N.braceNest=0,N.inLinked=!1,z;if(N.braceNest>0&&(N.currentType===5||N.currentType===6||N.currentType===7))return v(sn.UNTERMINATED_CLOSING_BRACE,l(),0),N.braceNest=0,gn(L,N);if(ae=B(L,N))return z=_(N,5,Rt(L)),M(L),z;if(Ce=R(L,N))return z=_(N,6,ot(L)),M(L),z;if(Re=$(L,N))return z=_(N,7,mt(L)),M(L),z;if(!ae&&!Ce&&!Re)return z=_(N,13,Dt(L)),v(sn.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,z.value),M(L),z;break}return z}function Ht(L,N){const{currentType:z}=N;let se=null;const ae=L.currentChar();switch((z===8||z===9||z===12||z===10)&&(ae===Ir||ae===Ei)&&v(sn.INVALID_LINKED_FORMAT,l(),0),ae){case"@":return L.next(),se=_(N,8,"@"),N.inLinked=!0,se;case".":return M(L),L.next(),_(N,9,".");case":":return M(L),L.next(),_(N,10,":");default:return K(L)?(se=_(N,1,en(L)),N.braceNest=0,N.inLinked=!1,se):G(L,N)||Y(L,N)?(M(L),Ht(L,N)):m(L,N)?(M(L),_(N,12,dt(L))):j(L,N)?(M(L),ae==="{"?It(L,N)||se:_(N,11,Lt(L))):(z===8&&v(sn.INVALID_LINKED_FORMAT,l(),0),N.braceNest=0,N.inLinked=!1,gn(L,N))}}function gn(L,N){let z={type:14};if(N.braceNest>0)return It(L,N)||w(N);if(N.inLinked)return Ht(L,N)||w(N);switch(L.currentChar()){case"{":return It(L,N)||w(N);case"}":return v(sn.UNBALANCED_CLOSING_BRACE,l(),0),L.next(),_(N,3,"}");case"@":return Ht(L,N)||w(N);default:if(K(L))return z=_(N,1,en(L)),N.braceNest=0,N.inLinked=!1,z;const{isModulo:ae,hasSpace:Ce}=re(L);if(ae)return Ce?_(N,0,tt(L)):_(N,4,$e(L));if(pe(L))return _(N,0,tt(L));break}return z}function X(){const{currentType:L,offset:N,startLoc:z,endLoc:se}=d;return d.lastType=L,d.lastOffset=N,d.lastStartLoc=z,d.lastEndLoc=se,d.offset=a(),d.startLoc=l(),s.currentChar()===Qi?_(d,14):gn(s,d)}return{nextToken:X,currentOffset:a,currentPosition:l,context:p}}const yR="parser",bR=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _R(e,n,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(n||r,16);return s<=55295||s>=57344?String.fromCodePoint(s):"\uFFFD"}}}function xR(e={}){const n=e.location!==!1,{onError:r}=e;function s(S,I,B,R,...$){const G=S.currentPosition();if(G.offset+=R,G.column+=R,r){const m=Lg(B,G),Y=Zd(I,m,{domain:yR,args:$});r(Y)}}function a(S,I,B){const R={type:S,start:I,end:I};return n&&(R.loc={start:B,end:B}),R}function l(S,I,B,R){S.end=I,R&&(S.type=R),n&&S.loc&&(S.loc.end=B)}function o(S,I){const B=S.context(),R=a(3,B.offset,B.startLoc);return R.value=I,l(R,S.currentOffset(),S.currentPosition()),R}function f(S,I){const B=S.context(),{lastOffset:R,lastStartLoc:$}=B,G=a(5,R,$);return G.index=parseInt(I,10),S.nextToken(),l(G,S.currentOffset(),S.currentPosition()),G}function d(S,I){const B=S.context(),{lastOffset:R,lastStartLoc:$}=B,G=a(4,R,$);return G.key=I,S.nextToken(),l(G,S.currentOffset(),S.currentPosition()),G}function p(S,I){const B=S.context(),{lastOffset:R,lastStartLoc:$}=B,G=a(9,R,$);return G.value=I.replace(bR,_R),S.nextToken(),l(G,S.currentOffset(),S.currentPosition()),G}function y(S){const I=S.nextToken(),B=S.context(),{lastOffset:R,lastStartLoc:$}=B,G=a(8,R,$);return I.type!==12?(s(S,sn.UNEXPECTED_EMPTY_LINKED_MODIFIER,B.lastStartLoc,0),G.value="",l(G,R,$),{nextConsumeToken:I,node:G}):(I.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,ni(I)),G.value=I.value||"",l(G,S.currentOffset(),S.currentPosition()),{node:G})}function v(S,I){const B=S.context(),R=a(7,B.offset,B.startLoc);return R.value=I,l(R,S.currentOffset(),S.currentPosition()),R}function _(S){const I=S.context(),B=a(6,I.offset,I.startLoc);let R=S.nextToken();if(R.type===9){const $=y(S);B.modifier=$.node,R=$.nextConsumeToken||S.nextToken()}switch(R.type!==10&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(R)),R=S.nextToken(),R.type===2&&(R=S.nextToken()),R.type){case 11:R.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(R)),B.key=v(S,R.value||"");break;case 5:R.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(R)),B.key=d(S,R.value||"");break;case 6:R.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(R)),B.key=f(S,R.value||"");break;case 7:R.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(R)),B.key=p(S,R.value||"");break;default:s(S,sn.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const $=S.context(),G=a(7,$.offset,$.startLoc);return G.value="",l(G,$.offset,$.startLoc),B.key=G,l(B,$.offset,$.startLoc),{nextConsumeToken:R,node:B}}return l(B,S.currentOffset(),S.currentPosition()),{node:B}}function w(S){const I=S.context(),B=I.currentType===1?S.currentOffset():I.offset,R=I.currentType===1?I.endLoc:I.startLoc,$=a(2,B,R);$.items=[];let G=null;do{const j=G||S.nextToken();switch(G=null,j.type){case 0:j.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(j)),$.items.push(o(S,j.value||""));break;case 6:j.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(j)),$.items.push(f(S,j.value||""));break;case 5:j.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(j)),$.items.push(d(S,j.value||""));break;case 7:j.value==null&&s(S,sn.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,ni(j)),$.items.push(p(S,j.value||""));break;case 8:const K=_(S);$.items.push(K.node),G=K.nextConsumeToken||null;break}}while(I.currentType!==14&&I.currentType!==1);const m=I.currentType===1?I.lastOffset:S.currentOffset(),Y=I.currentType===1?I.lastEndLoc:S.currentPosition();return l($,m,Y),$}function T(S,I,B,R){const $=S.context();let G=R.items.length===0;const m=a(1,I,B);m.cases=[],m.cases.push(R);do{const Y=w(S);G||(G=Y.items.length===0),m.cases.push(Y)}while($.currentType!==14);return G&&s(S,sn.MUST_HAVE_MESSAGES_IN_PLURAL,B,0),l(m,S.currentOffset(),S.currentPosition()),m}function P(S){const I=S.context(),{offset:B,startLoc:R}=I,$=w(S);return I.currentType===14?$:T(S,B,R,$)}function M(S){const I=vR(S,ir({},e)),B=I.context(),R=a(0,B.offset,B.startLoc);return n&&R.loc&&(R.loc.source=S),R.body=P(I),B.currentType!==14&&s(I,sn.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,S[B.offset]||""),l(R,I.currentOffset(),I.currentPosition()),R}return{parse:M}}function ni(e){if(e.type===14)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"\u2026":n}function ER(e,n={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:l=>(r.helpers.add(l),l)}}function j_(e,n){for(let r=0;ro;function d(P,M){o.code+=P}function p(P,M=!0){const S=M?a:"";d(l?S+" ".repeat(P):S)}function y(P=!0){const M=++o.indentLevel;P&&p(M)}function v(P=!0){const M=--o.indentLevel;P&&p(M)}function _(){p(o.indentLevel)}return{context:f,push:d,indent:y,deindent:v,newline:_,helper:P=>`_${P}`,needIndent:()=>o.needIndent}}function TR(e,n){const{helper:r}=e;e.push(`${r("linked")}(`),tl(e,n.key),n.modifier?(e.push(", "),tl(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function CR(e,n){const{helper:r,needIndent:s}=e;e.push(`${r("normalize")}([`),e.indent(s());const a=n.items.length;for(let l=0;l1){e.push(`${r("plural")}([`),e.indent(s());const a=n.cases.length;for(let l=0;l{const r=Ve(n.mode)?n.mode:"normal",s=Ve(n.filename)?n.filename:"message.intl",a=!!n.sourceMap,l=n.breakLineCode!=null?n.breakLineCode:r==="arrow"?";":` +`,o=n.needIndent?n.needIndent:r!=="arrow",f=e.helpers||[],d=SR(e,{mode:r,filename:s,sourceMap:a,breakLineCode:l,needIndent:o});d.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(o),f.length>0&&(d.push(`const { ${f.map(v=>`${v}: _${v}`).join(", ")} } = ctx`),d.newline()),d.push("return "),tl(d,e),d.deindent(o),d.push("}");const{code:p,map:y}=d.context();return{ast:e,code:p,map:y?y.toJSON():void 0}};function PR(e,n={}){const r=ir({},n),a=xR(r).parse(e);return wR(a,r),IR(a,r)}/*! * devtools-if v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const UE={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! + */const WE={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! * core-base v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const xo=[];xo[0]={w:[0],i:[3,0],["["]:[4],o:[7]};xo[1]={w:[1],["."]:[2],["["]:[4],o:[7]};xo[2]={w:[2],i:[3,0],[0]:[3,0]};xo[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};xo[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};xo[5]={["'"]:[4,0],o:8,l:[5,0]};xo[6]={['"']:[4,0],o:8,l:[6,0]};const TD=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function AD(e){return TD.test(e)}function OD(e){const n=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return n===r&&(n===34||n===39)?e.slice(1,-1):e}function ID(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function PD(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:AD(n)?OD(n):"*"+n}function LD(e){const n=[];let r=-1,i=0,a=0,l,o,f,d,g,y,v;const _=[];_[0]=()=>{o===void 0?o=f:o+=f},_[1]=()=>{o!==void 0&&(n.push(o),o=void 0)},_[2]=()=>{_[0](),a++},_[3]=()=>{if(a>0)a--,i=4,_[0]();else{if(a=0,o===void 0||(o=PD(o),o===!1))return!1;_[1]()}};function w(){const C=e[r+1];if(i===5&&C==="'"||i===6&&C==='"')return r++,f="\\"+C,_[0](),!0}for(;i!==null;)if(r++,l=e[r],!(l==="\\"&&w())){if(d=ID(l),v=xo[i],g=v[d]||v.l||8,g===8||(i=g[0],g[1]!==void 0&&(y=_[g[1]],y&&(f=l,y()===!1))))return;if(i===7)return n}}const U_=new Map;function ND(e,n){return _n(e)?e[n]:null}function RD(e,n){if(!_n(e))return null;let r=U_.get(n);if(r||(r=LD(n),r&&U_.set(n,r)),!r)return null;const i=r.length;let a=e,l=0;for(;le,kD=e=>"",MD="text",$D=e=>e.length===0?"":e.join(""),FD=iD;function j_(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function BD(e){const n=Zn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Zn(e.named.count)||Zn(e.named.n))?Zn(e.named.count)?e.named.count:Zn(e.named.n)?e.named.n:n:n}function UD(e,n){n.count||(n.count=e),n.n||(n.n=e)}function jD(e={}){const n=e.locale,r=BD(e),i=_n(e.pluralRules)&&Ve(n)&&Fn(e.pluralRules[n])?e.pluralRules[n]:j_,a=_n(e.pluralRules)&&Ve(n)&&Fn(e.pluralRules[n])?j_:void 0,l=S=>S[i(r,S.length,a)],o=e.list||[],f=S=>o[S],d=e.named||{};Zn(e.pluralIndex)&&UD(r,d);const g=S=>d[S];function y(S){const I=Fn(e.messages)?e.messages(S):_n(e.messages)?e.messages[S]:!1;return I||(e.parent?e.parent.message(S):kD)}const v=S=>e.modifiers?e.modifiers[S]:DD,_=wt(e.processor)&&Fn(e.processor.normalize)?e.processor.normalize:$D,w=wt(e.processor)&&Fn(e.processor.interpolate)?e.processor.interpolate:FD,C=wt(e.processor)&&Ve(e.processor.type)?e.processor.type:MD,M={list:f,named:g,plural:l,linked:(S,...I)=>{const[B,D]=I;let $="text",K="";I.length===1?_n(B)?(K=B.modifier||K,$=B.type||$):Ve(B)&&(K=B||K):I.length===2&&(Ve(B)&&(K=B||K),Ve(D)&&($=D||$));let m=y(S)(M);return $==="vnode"&&bn(m)&&K&&(m=m[0]),K?v(K)(m,$):m},message:y,type:C,interpolate:w,normalize:_};return M}let Du=null;function HD(e){Du=e}function WD(e,n,r){Du&&Du.emit(UE.I18nInit,{timestamp:Date.now(),i18n:e,version:n,meta:r})}const VD=KD(UE.FunctionTranslate);function KD(e){return n=>Du&&Du.emit(e,n)}const GD={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function zD(e,n,r){return[...new Set([r,...bn(n)?n:_n(n)?Object.keys(n):Ve(n)?[n]:[r]])]}function jE(e,n,r){const i=Ve(r)?r:Ju,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let l=a.__localeChainCache.get(i);if(!l){l=[];let o=[r];for(;bn(o);)o=H_(l,o,n);const f=bn(n)||!wt(n)?n:n.default?n.default:null;o=Ve(f)?[f]:f,bn(o)&&H_(l,o,!1),a.__localeChainCache.set(i,l)}return l}function H_(e,n,r){let i=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function JD(){return{upper:(e,n)=>n==="text"&&Ve(e)?e.toUpperCase():n==="vnode"&&_n(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&Ve(e)?e.toLowerCase():n==="vnode"&&_n(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&Ve(e)?V_(e):n==="vnode"&&_n(e)&&"__v_isVNode"in e?V_(e.children):e}}let HE;function ZD(e){HE=e}let WE;function qD(e){WE=e}let VE;function ek(e){VE=e}let KE=null;const K_=e=>{KE=e},tk=()=>KE;let GE=null;const G_=e=>{GE=e},nk=()=>GE;let z_=0;function rk(e={}){const n=Ve(e.version)?e.version:QD,r=Ve(e.locale)?e.locale:Ju,i=bn(e.fallbackLocale)||wt(e.fallbackLocale)||Ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=wt(e.messages)?e.messages:{[r]:{}},l=wt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},o=wt(e.numberFormats)?e.numberFormats:{[r]:{}},f=sr({},e.modifiers||{},JD()),d=e.pluralRules||{},g=Fn(e.missing)?e.missing:null,y=Qt(e.missingWarn)||mo(e.missingWarn)?e.missingWarn:!0,v=Qt(e.fallbackWarn)||mo(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,w=!!e.unresolving,C=Fn(e.postTranslation)?e.postTranslation:null,P=wt(e.processor)?e.processor:null,M=Qt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,I=Fn(e.messageCompiler)?e.messageCompiler:HE,B=Fn(e.messageResolver)?e.messageResolver:WE||ND,D=Fn(e.localeFallbacker)?e.localeFallbacker:VE||zD,$=_n(e.fallbackContext)?e.fallbackContext:void 0,K=Fn(e.onWarn)?e.onWarn:nD,m=e,Y=_n(m.__datetimeFormatters)?m.__datetimeFormatters:new Map,j=_n(m.__numberFormatters)?m.__numberFormatters:new Map,G=_n(m.__meta)?m.__meta:{};z_++;const re={version:n,cid:z_,locale:r,fallbackLocale:i,messages:a,modifiers:f,pluralRules:d,missing:g,missingWarn:y,fallbackWarn:v,fallbackFormat:_,unresolving:w,postTranslation:C,processor:P,warnHtmlMessage:M,escapeParameter:S,messageCompiler:I,messageResolver:B,localeFallbacker:D,fallbackContext:$,onWarn:K,__meta:G};return re.datetimeFormats=l,re.numberFormats=o,re.__datetimeFormatters=Y,re.__numberFormatters=j,__INTLIFY_PROD_DEVTOOLS__&&WD(re,n,G),re}function fv(e,n,r,i,a){const{missing:l,onWarn:o}=e;if(l!==null){const f=l(e,r,n,a);return Ve(f)?f:n}else return n}function Yl(e,n,r){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,r,n)}const ik=e=>e;let Y_=Object.create(null);function sk(e,n={}){{const i=(n.onCacheKey||ik)(e),a=Y_[i];if(a)return a;let l=!1;const o=n.onError||sD;n.onError=g=>{l=!0,o(g)};const{code:f}=CD(e,n),d=new Function(`return ${f}`)();return l?d:Y_[i]=d}}let zE=sn.__EXTEND_POINT__;const Vh=()=>++zE,$a={INVALID_ARGUMENT:zE,INVALID_DATE_ARGUMENT:Vh(),INVALID_ISO_DATE_ARGUMENT:Vh(),__EXTEND_POINT__:Vh()};function Fa(e){return qd(e,null,void 0)}const X_=()=>"",is=e=>Fn(e);function Q_(e,...n){const{fallbackFormat:r,postTranslation:i,unresolving:a,messageCompiler:l,fallbackLocale:o,messages:f}=e,[d,g]=Ng(...n),y=Qt(g.missingWarn)?g.missingWarn:e.missingWarn,v=Qt(g.fallbackWarn)?g.fallbackWarn:e.fallbackWarn,_=Qt(g.escapeParameter)?g.escapeParameter:e.escapeParameter,w=!!g.resolvedMessage,C=Ve(g.default)||Qt(g.default)?Qt(g.default)?l?d:()=>d:g.default:r?l?d:()=>d:"",P=r||C!=="",M=Ve(g.locale)?g.locale:e.locale;_&&ok(g);let[S,I,B]=w?[d,M,f[M]||{}]:YE(e,d,M,o,v,y),D=S,$=d;if(!w&&!(Ve(D)||is(D))&&P&&(D=C,$=D),!w&&(!(Ve(D)||is(D))||!Ve(I)))return a?ep:d;let K=!1;const m=()=>{K=!0},Y=is(D)?D:XE(e,d,I,D,$,m);if(K)return D;const j=uk(e,I,B,g),G=jD(j),re=ak(e,Y,G),pe=i?i(re,d):re;if(__INTLIFY_PROD_DEVTOOLS__){const Z={timestamp:Date.now(),key:Ve(d)?d:is(D)?D.key:"",locale:I||(is(D)?D.locale:""),format:Ve(D)?D:is(D)?D.source:"",message:pe};Z.meta=sr({},e.__meta,tk()||{}),VD(Z)}return pe}function ok(e){bn(e.list)?e.list=e.list.map(n=>Ve(n)?$_(n):n):_n(e.named)&&Object.keys(e.named).forEach(n=>{Ve(e.named[n])&&(e.named[n]=$_(e.named[n]))})}function YE(e,n,r,i,a,l){const{messages:o,onWarn:f,messageResolver:d,localeFallbacker:g}=e,y=g(e,i,r);let v={},_,w=null;const C="translate";for(let P=0;Pi;return g.locale=r,g.key=n,g}const d=o(i,lk(e,r,a,i,f,l));return d.locale=r,d.key=n,d.source=i,d}function ak(e,n,r){return n(r)}function Ng(...e){const[n,r,i]=e,a={};if(!Ve(n)&&!Zn(n)&&!is(n))throw Fa($a.INVALID_ARGUMENT);const l=Zn(n)?String(n):(is(n),n);return Zn(r)?a.plural=r:Ve(r)?a.default=r:wt(r)&&!Zd(r)?a.named=r:bn(r)&&(a.list=r),Zn(i)?a.plural=i:Ve(i)?a.default=i:wt(i)&&sr(a,i),[l,a]}function lk(e,n,r,i,a,l){return{warnHtmlMessage:a,onError:o=>{throw l&&l(o),o},onCacheKey:o=>qR(n,r,o)}}function uk(e,n,r,i){const{modifiers:a,pluralRules:l,messageResolver:o,fallbackLocale:f,fallbackWarn:d,missingWarn:g,fallbackContext:y}=e,_={locale:n,modifiers:a,pluralRules:l,messages:w=>{let C=o(r,w);if(C==null&&y){const[,,P]=YE(y,w,n,f,d,g);C=o(P,w)}if(Ve(C)){let P=!1;const S=XE(e,w,n,C,w,()=>{P=!0});return P?X_:S}else return is(C)?C:X_}};return e.processor&&(_.processor=e.processor),i.list&&(_.list=i.list),i.named&&(_.named=i.named),Zn(i.plural)&&(_.pluralIndex=i.plural),_}function J_(e,...n){const{datetimeFormats:r,unresolving:i,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:f}=e,[d,g,y,v]=Rg(...n),_=Qt(y.missingWarn)?y.missingWarn:e.missingWarn;Qt(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const w=!!y.part,C=Ve(y.locale)?y.locale:e.locale,P=o(e,a,C);if(!Ve(d)||d==="")return new Intl.DateTimeFormat(C,v).format(g);let M={},S,I=null;const B="datetime format";for(let K=0;K{QE.includes(d)?o[d]=r[d]:l[d]=r[d]}),Ve(i)?l.locale=i:wt(i)&&(o=i),wt(a)&&(o=a),[l.key||"",f,l,o]}function Z_(e,n,r){const i=e;for(const a in r){const l=`${n}__${a}`;!i.__datetimeFormatters.has(l)||i.__datetimeFormatters.delete(l)}}function q_(e,...n){const{numberFormats:r,unresolving:i,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:f}=e,[d,g,y,v]=Dg(...n),_=Qt(y.missingWarn)?y.missingWarn:e.missingWarn;Qt(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const w=!!y.part,C=Ve(y.locale)?y.locale:e.locale,P=o(e,a,C);if(!Ve(d)||d==="")return new Intl.NumberFormat(C,v).format(g);let M={},S,I=null;const B="number format";for(let K=0;K{JE.includes(d)?o[d]=r[d]:l[d]=r[d]}),Ve(i)?l.locale=i:wt(i)&&(o=i),wt(a)&&(o=a),[l.key||"",f,l,o]}function e0(e,n,r){const i=e;for(const a in r){const l=`${n}__${a}`;!i.__numberFormatters.has(l)||i.__numberFormatters.delete(l)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pu().__INTLIFY_PROD_DEVTOOLS__=!1);/*! + */const xo=[];xo[0]={w:[0],i:[3,0],["["]:[4],o:[7]};xo[1]={w:[1],["."]:[2],["["]:[4],o:[7]};xo[2]={w:[2],i:[3,0],[0]:[3,0]};xo[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};xo[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};xo[5]={["'"]:[4,0],o:8,l:[5,0]};xo[6]={['"']:[4,0],o:8,l:[6,0]};const kR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function LR(e){return kR.test(e)}function NR(e){const n=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return n===r&&(n===34||n===39)?e.slice(1,-1):e}function RR(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function DR(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:LR(n)?NR(n):"*"+n}function MR(e){const n=[];let r=-1,s=0,a=0,l,o,f,d,p,y,v;const _=[];_[0]=()=>{o===void 0?o=f:o+=f},_[1]=()=>{o!==void 0&&(n.push(o),o=void 0)},_[2]=()=>{_[0](),a++},_[3]=()=>{if(a>0)a--,s=4,_[0]();else{if(a=0,o===void 0||(o=DR(o),o===!1))return!1;_[1]()}};function w(){const T=e[r+1];if(s===5&&T==="'"||s===6&&T==='"')return r++,f="\\"+T,_[0](),!0}for(;s!==null;)if(r++,l=e[r],!(l==="\\"&&w())){if(d=RR(l),v=xo[s],p=v[d]||v.l||8,p===8||(s=p[0],p[1]!==void 0&&(y=_[p[1]],y&&(f=l,y()===!1))))return;if(s===7)return n}}const H_=new Map;function $R(e,n){return _n(e)?e[n]:null}function FR(e,n){if(!_n(e))return null;let r=H_.get(n);if(r||(r=MR(n),r&&H_.set(n,r)),!r)return null;const s=r.length;let a=e,l=0;for(;le,UR=e=>"",jR="text",HR=e=>e.length===0?"":e.join(""),WR=uR;function W_(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function VR(e){const n=qn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(qn(e.named.count)||qn(e.named.n))?qn(e.named.count)?e.named.count:qn(e.named.n)?e.named.n:n:n}function GR(e,n){n.count||(n.count=e),n.n||(n.n=e)}function KR(e={}){const n=e.locale,r=VR(e),s=_n(e.pluralRules)&&Ve(n)&&Fn(e.pluralRules[n])?e.pluralRules[n]:W_,a=_n(e.pluralRules)&&Ve(n)&&Fn(e.pluralRules[n])?W_:void 0,l=S=>S[s(r,S.length,a)],o=e.list||[],f=S=>o[S],d=e.named||{};qn(e.pluralIndex)&&GR(r,d);const p=S=>d[S];function y(S){const I=Fn(e.messages)?e.messages(S):_n(e.messages)?e.messages[S]:!1;return I||(e.parent?e.parent.message(S):UR)}const v=S=>e.modifiers?e.modifiers[S]:BR,_=wt(e.processor)&&Fn(e.processor.normalize)?e.processor.normalize:HR,w=wt(e.processor)&&Fn(e.processor.interpolate)?e.processor.interpolate:WR,T=wt(e.processor)&&Ve(e.processor.type)?e.processor.type:jR,M={list:f,named:p,plural:l,linked:(S,...I)=>{const[B,R]=I;let $="text",G="";I.length===1?_n(B)?(G=B.modifier||G,$=B.type||$):Ve(B)&&(G=B||G):I.length===2&&(Ve(B)&&(G=B||G),Ve(R)&&($=R||$));let m=y(S)(M);return $==="vnode"&&bn(m)&&G&&(m=m[0]),G?v(G)(m,$):m},message:y,type:T,interpolate:w,normalize:_};return M}let Ru=null;function zR(e){Ru=e}function YR(e,n,r){Ru&&Ru.emit(WE.I18nInit,{timestamp:Date.now(),i18n:e,version:n,meta:r})}const XR=QR(WE.FunctionTranslate);function QR(e){return n=>Ru&&Ru.emit(e,n)}const JR={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function qR(e,n,r){return[...new Set([r,...bn(n)?n:_n(n)?Object.keys(n):Ve(n)?[n]:[r]])]}function VE(e,n,r){const s=Ve(r)?r:Ju,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let l=a.__localeChainCache.get(s);if(!l){l=[];let o=[r];for(;bn(o);)o=V_(l,o,n);const f=bn(n)||!wt(n)?n:n.default?n.default:null;o=Ve(f)?[f]:f,bn(o)&&V_(l,o,!1),a.__localeChainCache.set(s,l)}return l}function V_(e,n,r){let s=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function nD(){return{upper:(e,n)=>n==="text"&&Ve(e)?e.toUpperCase():n==="vnode"&&_n(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&Ve(e)?e.toLowerCase():n==="vnode"&&_n(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&Ve(e)?K_(e):n==="vnode"&&_n(e)&&"__v_isVNode"in e?K_(e.children):e}}let GE;function rD(e){GE=e}let KE;function sD(e){KE=e}let zE;function iD(e){zE=e}let YE=null;const z_=e=>{YE=e},oD=()=>YE;let XE=null;const Y_=e=>{XE=e},aD=()=>XE;let X_=0;function lD(e={}){const n=Ve(e.version)?e.version:tD,r=Ve(e.locale)?e.locale:Ju,s=bn(e.fallbackLocale)||wt(e.fallbackLocale)||Ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=wt(e.messages)?e.messages:{[r]:{}},l=wt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},o=wt(e.numberFormats)?e.numberFormats:{[r]:{}},f=ir({},e.modifiers||{},nD()),d=e.pluralRules||{},p=Fn(e.missing)?e.missing:null,y=Qt(e.missingWarn)||mo(e.missingWarn)?e.missingWarn:!0,v=Qt(e.fallbackWarn)||mo(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,w=!!e.unresolving,T=Fn(e.postTranslation)?e.postTranslation:null,P=wt(e.processor)?e.processor:null,M=Qt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,I=Fn(e.messageCompiler)?e.messageCompiler:GE,B=Fn(e.messageResolver)?e.messageResolver:KE||$R,R=Fn(e.localeFallbacker)?e.localeFallbacker:zE||qR,$=_n(e.fallbackContext)?e.fallbackContext:void 0,G=Fn(e.onWarn)?e.onWarn:aR,m=e,Y=_n(m.__datetimeFormatters)?m.__datetimeFormatters:new Map,j=_n(m.__numberFormatters)?m.__numberFormatters:new Map,K=_n(m.__meta)?m.__meta:{};X_++;const re={version:n,cid:X_,locale:r,fallbackLocale:s,messages:a,modifiers:f,pluralRules:d,missing:p,missingWarn:y,fallbackWarn:v,fallbackFormat:_,unresolving:w,postTranslation:T,processor:P,warnHtmlMessage:M,escapeParameter:S,messageCompiler:I,messageResolver:B,localeFallbacker:R,fallbackContext:$,onWarn:G,__meta:K};return re.datetimeFormats=l,re.numberFormats=o,re.__datetimeFormatters=Y,re.__numberFormatters=j,__INTLIFY_PROD_DEVTOOLS__&&YR(re,n,K),re}function dv(e,n,r,s,a){const{missing:l,onWarn:o}=e;if(l!==null){const f=l(e,r,n,a);return Ve(f)?f:n}else return n}function Yl(e,n,r){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,r,n)}const uD=e=>e;let Q_=Object.create(null);function cD(e,n={}){{const s=(n.onCacheKey||uD)(e),a=Q_[s];if(a)return a;let l=!1;const o=n.onError||cR;n.onError=p=>{l=!0,o(p)};const{code:f}=PR(e,n),d=new Function(`return ${f}`)();return l?d:Q_[s]=d}}let QE=sn.__EXTEND_POINT__;const Vh=()=>++QE,$a={INVALID_ARGUMENT:QE,INVALID_DATE_ARGUMENT:Vh(),INVALID_ISO_DATE_ARGUMENT:Vh(),__EXTEND_POINT__:Vh()};function Fa(e){return Zd(e,null,void 0)}const J_=()=>"",si=e=>Fn(e);function q_(e,...n){const{fallbackFormat:r,postTranslation:s,unresolving:a,messageCompiler:l,fallbackLocale:o,messages:f}=e,[d,p]=Ng(...n),y=Qt(p.missingWarn)?p.missingWarn:e.missingWarn,v=Qt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,_=Qt(p.escapeParameter)?p.escapeParameter:e.escapeParameter,w=!!p.resolvedMessage,T=Ve(p.default)||Qt(p.default)?Qt(p.default)?l?d:()=>d:p.default:r?l?d:()=>d:"",P=r||T!=="",M=Ve(p.locale)?p.locale:e.locale;_&&fD(p);let[S,I,B]=w?[d,M,f[M]||{}]:JE(e,d,M,o,v,y),R=S,$=d;if(!w&&!(Ve(R)||si(R))&&P&&(R=T,$=R),!w&&(!(Ve(R)||si(R))||!Ve(I)))return a?ep:d;let G=!1;const m=()=>{G=!0},Y=si(R)?R:qE(e,d,I,R,$,m);if(G)return R;const j=hD(e,I,B,p),K=KR(j),re=dD(e,Y,K),pe=s?s(re,d):re;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:Ve(d)?d:si(R)?R.key:"",locale:I||(si(R)?R.locale:""),format:Ve(R)?R:si(R)?R.source:"",message:pe};q.meta=ir({},e.__meta,oD()||{}),XR(q)}return pe}function fD(e){bn(e.list)?e.list=e.list.map(n=>Ve(n)?B_(n):n):_n(e.named)&&Object.keys(e.named).forEach(n=>{Ve(e.named[n])&&(e.named[n]=B_(e.named[n]))})}function JE(e,n,r,s,a,l){const{messages:o,onWarn:f,messageResolver:d,localeFallbacker:p}=e,y=p(e,s,r);let v={},_,w=null;const T="translate";for(let P=0;Ps;return p.locale=r,p.key=n,p}const d=o(s,pD(e,r,a,s,f,l));return d.locale=r,d.key=n,d.source=s,d}function dD(e,n,r){return n(r)}function Ng(...e){const[n,r,s]=e,a={};if(!Ve(n)&&!qn(n)&&!si(n))throw Fa($a.INVALID_ARGUMENT);const l=qn(n)?String(n):(si(n),n);return qn(r)?a.plural=r:Ve(r)?a.default=r:wt(r)&&!qd(r)?a.named=r:bn(r)&&(a.list=r),qn(s)?a.plural=s:Ve(s)?a.default=s:wt(s)&&ir(a,s),[l,a]}function pD(e,n,r,s,a,l){return{warnHtmlMessage:a,onError:o=>{throw l&&l(o),o},onCacheKey:o=>sR(n,r,o)}}function hD(e,n,r,s){const{modifiers:a,pluralRules:l,messageResolver:o,fallbackLocale:f,fallbackWarn:d,missingWarn:p,fallbackContext:y}=e,_={locale:n,modifiers:a,pluralRules:l,messages:w=>{let T=o(r,w);if(T==null&&y){const[,,P]=JE(y,w,n,f,d,p);T=o(P,w)}if(Ve(T)){let P=!1;const S=qE(e,w,n,T,w,()=>{P=!0});return P?J_:S}else return si(T)?T:J_}};return e.processor&&(_.processor=e.processor),s.list&&(_.list=s.list),s.named&&(_.named=s.named),qn(s.plural)&&(_.pluralIndex=s.plural),_}function Z_(e,...n){const{datetimeFormats:r,unresolving:s,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:f}=e,[d,p,y,v]=Rg(...n),_=Qt(y.missingWarn)?y.missingWarn:e.missingWarn;Qt(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const w=!!y.part,T=Ve(y.locale)?y.locale:e.locale,P=o(e,a,T);if(!Ve(d)||d==="")return new Intl.DateTimeFormat(T,v).format(p);let M={},S,I=null;const B="datetime format";for(let G=0;G{ZE.includes(d)?o[d]=r[d]:l[d]=r[d]}),Ve(s)?l.locale=s:wt(s)&&(o=s),wt(a)&&(o=a),[l.key||"",f,l,o]}function e0(e,n,r){const s=e;for(const a in r){const l=`${n}__${a}`;!s.__datetimeFormatters.has(l)||s.__datetimeFormatters.delete(l)}}function t0(e,...n){const{numberFormats:r,unresolving:s,fallbackLocale:a,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:f}=e,[d,p,y,v]=Dg(...n),_=Qt(y.missingWarn)?y.missingWarn:e.missingWarn;Qt(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const w=!!y.part,T=Ve(y.locale)?y.locale:e.locale,P=o(e,a,T);if(!Ve(d)||d==="")return new Intl.NumberFormat(T,v).format(p);let M={},S,I=null;const B="number format";for(let G=0;G{ew.includes(d)?o[d]=r[d]:l[d]=r[d]}),Ve(s)?l.locale=s:wt(s)&&(o=s),wt(a)&&(o=a),[l.key||"",f,l,o]}function n0(e,n,r){const s=e;for(const a in r){const l=`${n}__${a}`;!s.__numberFormatters.has(l)||s.__numberFormatters.delete(l)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pu().__INTLIFY_PROD_DEVTOOLS__=!1);/*! * vue-i18n v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const ck="9.2.2";function fk(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(pu().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(pu().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pu().__INTLIFY_PROD_DEVTOOLS__=!1)}GD.__EXTEND_POINT__;let ZE=sn.__EXTEND_POINT__;const jr=()=>++ZE,Kn={UNEXPECTED_RETURN_TYPE:ZE,INVALID_ARGUMENT:jr(),MUST_BE_CALL_SETUP_TOP:jr(),NOT_INSLALLED:jr(),NOT_AVAILABLE_IN_LEGACY_MODE:jr(),REQUIRED_VALUE:jr(),INVALID_VALUE:jr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:jr(),NOT_INSLALLED_WITH_PROVIDE:jr(),UNEXPECTED_ERROR:jr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:jr(),BRIDGE_SUPPORT_VUE_2_ONLY:jr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:jr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:jr(),__EXTEND_POINT__:jr()};function er(e,...n){return qd(e,null,void 0)}const kg=_o("__transrateVNode"),Mg=_o("__datetimeParts"),$g=_o("__numberParts"),qE=_o("__setPluralRules");_o("__intlifyMeta");const ew=_o("__injectWithOption");function Fg(e){if(!_n(e))return e;for(const n in e)if(!!lv(e,n))if(!n.includes("."))_n(e[n])&&Fg(e[n]);else{const r=n.split("."),i=r.length-1;let a=e;for(let l=0;l{if("locale"in f&&"resource"in f){const{locale:d,resource:g}=f;d?(o[d]=o[d]||{},hu(g,o[d])):hu(g,o)}else Ve(f)&&hu(JSON.parse(f),o)}),a==null&&l)for(const f in o)lv(o,f)&&Fg(o[f]);return o}const Sf=e=>!_n(e)||bn(e);function hu(e,n){if(Sf(e)||Sf(n))throw er(Kn.INVALID_VALUE);for(const r in e)lv(e,r)&&(Sf(e[r])||Sf(n[r])?n[r]=e[r]:hu(e[r],n[r]))}function tw(e){return e.type}function nw(e,n,r){let i=_n(n.messages)?n.messages:{};"__i18nGlobal"in r&&(i=tp(e.locale.value,{messages:i,__i18n:r.__i18nGlobal}));const a=Object.keys(i);a.length&&a.forEach(l=>{e.mergeLocaleMessage(l,i[l])});{if(_n(n.datetimeFormats)){const l=Object.keys(n.datetimeFormats);l.length&&l.forEach(o=>{e.mergeDateTimeFormat(o,n.datetimeFormats[o])})}if(_n(n.numberFormats)){const l=Object.keys(n.numberFormats);l.length&&l.forEach(o=>{e.mergeNumberFormat(o,n.numberFormats[o])})}}}function t0(e){return vt(Os,null,e,0)}const n0="__INTLIFY_META__";let r0=0;function i0(e){return(n,r,i,a)=>e(r,i,Rr()||void 0,a)}const dk=()=>{const e=Rr();let n=null;return e&&(n=tw(e)[n0])?{[n0]:n}:null};function dv(e={},n){const{__root:r}=e,i=r===void 0;let a=Qt(e.inheritLocale)?e.inheritLocale:!0;const l=st(r&&a?r.locale.value:Ve(e.locale)?e.locale:Ju),o=st(r&&a?r.fallbackLocale.value:Ve(e.fallbackLocale)||bn(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),f=st(tp(l.value,e)),d=st(wt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),g=st(wt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let y=r?r.missingWarn:Qt(e.missingWarn)||mo(e.missingWarn)?e.missingWarn:!0,v=r?r.fallbackWarn:Qt(e.fallbackWarn)||mo(e.fallbackWarn)?e.fallbackWarn:!0,_=r?r.fallbackRoot:Qt(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,C=Fn(e.missing)?e.missing:null,P=Fn(e.missing)?i0(e.missing):null,M=Fn(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:Qt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,I=!!e.escapeParameter;const B=r?r.modifiers:wt(e.modifiers)?e.modifiers:{};let D=e.pluralRules||r&&r.pluralRules,$;$=(()=>{i&&G_(null);const oe={version:ck,locale:l.value,fallbackLocale:o.value,messages:f.value,modifiers:B,pluralRules:D,missing:P===null?void 0:P,missingWarn:y,fallbackWarn:v,fallbackFormat:w,unresolving:!0,postTranslation:M===null?void 0:M,warnHtmlMessage:S,escapeParameter:I,messageResolver:e.messageResolver,__meta:{framework:"vue"}};oe.datetimeFormats=d.value,oe.numberFormats=g.value,oe.__datetimeFormatters=wt($)?$.__datetimeFormatters:void 0,oe.__numberFormatters=wt($)?$.__numberFormatters:void 0;const he=rk(oe);return i&&G_(he),he})(),Yl($,l.value,o.value);function m(){return[l.value,o.value,f.value,d.value,g.value]}const Y=Jn({get:()=>l.value,set:oe=>{l.value=oe,$.locale=l.value}}),j=Jn({get:()=>o.value,set:oe=>{o.value=oe,$.fallbackLocale=o.value,Yl($,l.value,oe)}}),G=Jn(()=>f.value),re=Jn(()=>d.value),pe=Jn(()=>g.value);function Z(){return Fn(M)?M:null}function le(oe){M=oe,$.postTranslation=oe}function Fe(){return C}function Ee(oe){oe!==null&&(P=i0(oe)),C=oe,$.missing=P}const Ae=(oe,he,je,we,Je,yt)=>{m();let ut;if(__INTLIFY_PROD_DEVTOOLS__)try{K_(dk()),i||($.fallbackContext=r?nk():void 0),ut=oe($)}finally{K_(null),i||($.fallbackContext=void 0)}else ut=oe($);if(Zn(ut)&&ut===ep){const[ue,de]=he();return r&&_?we(r):Je(ue)}else{if(yt(ut))return ut;throw er(Kn.UNEXPECTED_RETURN_TYPE)}};function $e(...oe){return Ae(he=>Reflect.apply(Q_,null,[he,...oe]),()=>Ng(...oe),"translate",he=>Reflect.apply(he.t,he,[...oe]),he=>he,he=>Ve(he))}function tt(...oe){const[he,je,we]=oe;if(we&&!_n(we))throw er(Kn.INVALID_ARGUMENT);return $e(he,je,sr({resolvedMessage:!0},we||{}))}function Dt(...oe){return Ae(he=>Reflect.apply(J_,null,[he,...oe]),()=>Rg(...oe),"datetime format",he=>Reflect.apply(he.d,he,[...oe]),()=>W_,he=>Ve(he))}function ot(...oe){return Ae(he=>Reflect.apply(q_,null,[he,...oe]),()=>Dg(...oe),"number format",he=>Reflect.apply(he.n,he,[...oe]),()=>W_,he=>Ve(he))}function mt(oe){return oe.map(he=>Ve(he)||Zn(he)||Qt(he)?t0(String(he)):he)}const qt={normalize:mt,interpolate:oe=>oe,type:"vnode"};function kt(...oe){return Ae(he=>{let je;const we=he;try{we.processor=qt,je=Reflect.apply(Q_,null,[we,...oe])}finally{we.processor=null}return je},()=>Ng(...oe),"translate",he=>he[kg](...oe),he=>[t0(he)],he=>bn(he))}function dt(...oe){return Ae(he=>Reflect.apply(q_,null,[he,...oe]),()=>Dg(...oe),"number format",he=>he[$g](...oe),()=>[],he=>Ve(he)||bn(he))}function Nt(...oe){return Ae(he=>Reflect.apply(J_,null,[he,...oe]),()=>Rg(...oe),"datetime format",he=>he[Mg](...oe),()=>[],he=>Ve(he)||bn(he))}function en(oe){D=oe,$.pluralRules=D}function It(oe,he){const je=Ve(he)?he:l.value,we=X(je);return $.messageResolver(we,oe)!==null}function Ht(oe){let he=null;const je=jE($,o.value,l.value);for(let we=0;we{a&&(l.value=oe,$.locale=oe,Yl($,l.value,o.value))}),Yr(r.fallbackLocale,oe=>{a&&(o.value=oe,$.fallbackLocale=oe,Yl($,l.value,o.value))}));const _e={id:r0,locale:Y,fallbackLocale:j,get inheritLocale(){return a},set inheritLocale(oe){a=oe,oe&&r&&(l.value=r.locale.value,o.value=r.fallbackLocale.value,Yl($,l.value,o.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:G,get modifiers(){return B},get pluralRules(){return D||{}},get isGlobal(){return i},get missingWarn(){return y},set missingWarn(oe){y=oe,$.missingWarn=y},get fallbackWarn(){return v},set fallbackWarn(oe){v=oe,$.fallbackWarn=v},get fallbackRoot(){return _},set fallbackRoot(oe){_=oe},get fallbackFormat(){return w},set fallbackFormat(oe){w=oe,$.fallbackFormat=w},get warnHtmlMessage(){return S},set warnHtmlMessage(oe){S=oe,$.warnHtmlMessage=oe},get escapeParameter(){return I},set escapeParameter(oe){I=oe,$.escapeParameter=oe},t:$e,getLocaleMessage:X,setLocaleMessage:N,mergeLocaleMessage:R,getPostTranslationHandler:Z,setPostTranslationHandler:le,getMissingHandler:Fe,setMissingHandler:Ee,[qE]:en};return _e.datetimeFormats=re,_e.numberFormats=pe,_e.rt=tt,_e.te=It,_e.tm=gn,_e.d=Dt,_e.n=ot,_e.getDateTimeFormat=z,_e.setDateTimeFormat=ie,_e.mergeDateTimeFormat=ae,_e.getNumberFormat=Te,_e.setNumberFormat=De,_e.mergeNumberFormat=Ne,_e[ew]=e.__injectWithOption,_e[kg]=kt,_e[Mg]=Nt,_e[$g]=dt,_e}function pk(e){const n=Ve(e.locale)?e.locale:Ju,r=Ve(e.fallbackLocale)||bn(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Fn(e.missing)?e.missing:void 0,a=Qt(e.silentTranslationWarn)||mo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Qt(e.silentFallbackWarn)||mo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Qt(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.formatFallbackMessages,d=wt(e.modifiers)?e.modifiers:{},g=e.pluralizationRules,y=Fn(e.postTranslation)?e.postTranslation:void 0,v=Ve(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,_=!!e.escapeParameterHtml,w=Qt(e.sync)?e.sync:!0;let C=e.messages;if(wt(e.sharedMessages)){const $=e.sharedMessages;C=Object.keys($).reduce((m,Y)=>{const j=m[Y]||(m[Y]={});return sr(j,$[Y]),m},C||{})}const{__i18n:P,__root:M,__injectWithOption:S}=e,I=e.datetimeFormats,B=e.numberFormats,D=e.flatJson;return{locale:n,fallbackLocale:r,messages:C,flatJson:D,datetimeFormats:I,numberFormats:B,missing:i,missingWarn:a,fallbackWarn:l,fallbackRoot:o,fallbackFormat:f,modifiers:d,pluralRules:g,postTranslation:y,warnHtmlMessage:v,escapeParameter:_,messageResolver:e.messageResolver,inheritLocale:w,__i18n:P,__root:M,__injectWithOption:S}}function Bg(e={},n){{const r=dv(pk(e)),i={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return Qt(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=Qt(a)?!a:a},get silentFallbackWarn(){return Qt(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=Qt(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[l,o,f]=a,d={};let g=null,y=null;if(!Ve(l))throw er(Kn.INVALID_ARGUMENT);const v=l;return Ve(o)?d.locale=o:bn(o)?g=o:wt(o)&&(y=o),bn(f)?g=f:wt(f)&&(y=f),Reflect.apply(r.t,r,[v,g||y||{},d])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[l,o,f]=a,d={plural:1};let g=null,y=null;if(!Ve(l))throw er(Kn.INVALID_ARGUMENT);const v=l;return Ve(o)?d.locale=o:Zn(o)?d.plural=o:bn(o)?g=o:wt(o)&&(y=o),Ve(f)?d.locale=f:bn(f)?g=f:wt(f)&&(y=f),Reflect.apply(r.t,r,[v,g||y||{},d])},te(a,l){return r.te(a,l)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,l){r.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){r.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,l){r.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){r.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,l){r.setNumberFormat(a,l)},mergeNumberFormat(a,l){r.mergeNumberFormat(a,l)},getChoiceIndex(a,l){return-1},__onComponentInstanceCreated(a){const{componentInstanceCreatedListener:l}=e;l&&l(a,i)}};return i}}const pv={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function hk({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,a)=>i=[...i,...bn(a.children)?a.children:[a]],[]):n.reduce((r,i)=>{const a=e[i];return a&&(r[i]=a()),r},{})}function rw(e){return Xt}const s0={name:"i18n-t",props:sr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Zn(e)||!isNaN(e)}},pv),setup(e,n){const{slots:r,attrs:i}=n,a=e.i18n||la({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(r).filter(v=>v!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Ve(e.plural)?+e.plural:e.plural);const f=hk(n,l),d=a[kg](e.keypath,f,o),g=sr({},i),y=Ve(e.tag)||_n(e.tag)?e.tag:rw();return Wu(y,g,d)}}};function gk(e){return bn(e)&&!Ve(e[0])}function iw(e,n,r,i){const{slots:a,attrs:l}=n;return()=>{const o={part:!0};let f={};e.locale&&(o.locale=e.locale),Ve(e.format)?o.key=e.format:_n(e.format)&&(Ve(e.format.key)&&(o.key=e.format.key),f=Object.keys(e.format).reduce((_,w)=>r.includes(w)?sr({},_,{[w]:e.format[w]}):_,{}));const d=i(e.value,o,f);let g=[o.key];bn(d)?g=d.map((_,w)=>{const C=a[_.type],P=C?C({[_.type]:_.value,index:w,parts:d}):[_.value];return gk(P)&&(P[0].key=`${_.type}-${w}`),P}):Ve(d)&&(g=[d]);const y=sr({},l),v=Ve(e.tag)||_n(e.tag)?e.tag:rw();return Wu(v,y,g)}}const o0={name:"i18n-n",props:sr({value:{type:Number,required:!0},format:{type:[String,Object]}},pv),setup(e,n){const r=e.i18n||la({useScope:"parent",__useComponent:!0});return iw(e,n,JE,(...i)=>r[$g](...i))}},a0={name:"i18n-d",props:sr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pv),setup(e,n){const r=e.i18n||la({useScope:"parent",__useComponent:!0});return iw(e,n,QE,(...i)=>r[Mg](...i))}};function mk(e,n){const r=e;if(e.mode==="composition")return r.__getInstance(n)||e.global;{const i=r.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function vk(e){const n=o=>{const{instance:f,modifiers:d,value:g}=o;if(!f||!f.$)throw er(Kn.UNEXPECTED_ERROR);const y=mk(e,f.$),v=l0(g);return[Reflect.apply(y.t,y,[...u0(v)]),y]};return{created:(o,f)=>{const[d,g]=n(f);Pg&&e.global===g&&(o.__i18nWatcher=Yr(g.locale,()=>{f.instance&&f.instance.$forceUpdate()})),o.__composer=g,o.textContent=d},unmounted:o=>{Pg&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:f})=>{if(o.__composer){const d=o.__composer,g=l0(f);o.textContent=Reflect.apply(d.t,d,[...u0(g)])}},getSSRProps:o=>{const[f]=n(o);return{textContent:f}}}}function l0(e){if(Ve(e))return{path:e};if(wt(e)){if(!("path"in e))throw er(Kn.REQUIRED_VALUE,"path");return e}else throw er(Kn.INVALID_VALUE)}function u0(e){const{path:n,locale:r,args:i,choice:a,plural:l}=e,o={},f=i||{};return Ve(r)&&(o.locale=r),Zn(a)&&(o.plural=a),Zn(l)&&(o.plural=l),[n,f,o]}function yk(e,n,...r){const i=wt(r[0])?r[0]:{},a=!!i.useI18nComponentName;(Qt(i.globalInstall)?i.globalInstall:!0)&&(e.component(a?"i18n":s0.name,s0),e.component(o0.name,o0),e.component(a0.name,a0)),e.directive("t",vk(n))}function bk(e,n,r){return{beforeCreate(){const i=Rr();if(!i)throw er(Kn.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const l=a.i18n;a.__i18n&&(l.__i18n=a.__i18n),l.__root=n,this===this.$root?this.$i18n=c0(e,l):(l.__injectWithOption=!0,this.$i18n=Bg(l))}else a.__i18n?this===this.$root?this.$i18n=c0(e,a):this.$i18n=Bg({__i18n:a.__i18n,__injectWithOption:!0,__root:n}):this.$i18n=e;a.__i18nGlobal&&nw(n,a,a),e.__onComponentInstanceCreated(this.$i18n),r.__setInstance(i,this.$i18n),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$tc=(...l)=>this.$i18n.tc(...l),this.$te=(l,o)=>this.$i18n.te(l,o),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l)},mounted(){},unmounted(){const i=Rr();if(!i)throw er(Kn.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__deleteInstance(i),delete this.$i18n}}}function c0(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[qE](n.pluralizationRules||e.pluralizationRules);const r=tp(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(r).forEach(i=>e.mergeLocaleMessage(i,r[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const _k=_o("global-vue-i18n");function xk(e={},n){const r=__VUE_I18N_LEGACY_API__&&Qt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Qt(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,l=new Map,[o,f]=Ek(e,r),d=_o("");function g(_){return l.get(_)||null}function y(_,w){l.set(_,w)}function v(_){l.delete(_)}{const _={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return a},async install(w,...C){w.__VUE_I18N_SYMBOL__=d,w.provide(w.__VUE_I18N_SYMBOL__,_),!r&&i&&Lk(w,_.global),__VUE_I18N_FULL_INSTALL__&&yk(w,_,...C),__VUE_I18N_LEGACY_API__&&r&&w.mixin(bk(f,f.__composer,_));const P=w.unmount;w.unmount=()=>{_.dispose(),P()}},get global(){return f},dispose(){o.stop()},__instances:l,__getInstance:g,__setInstance:y,__deleteInstance:v};return _}}function la(e={}){const n=Rr();if(n==null)throw er(Kn.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw er(Kn.NOT_INSLALLED);const r=wk(n),i=Ck(r),a=tw(n),l=Sk(e,a);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw er(Kn.NOT_AVAILABLE_IN_LEGACY_MODE);return Ok(n,l,i,e)}if(l==="global")return nw(i,e,a),i;if(l==="parent"){let d=Tk(r,n,e.__useComponent);return d==null&&(d=i),d}const o=r;let f=o.__getInstance(n);if(f==null){const d=sr({},e);"__i18n"in a&&(d.__i18n=a.__i18n),i&&(d.__root=i),f=dv(d),Ak(o,n),o.__setInstance(n,f)}return f}function Ek(e,n,r){const i=rm();{const a=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Bg(e)):i.run(()=>dv(e));if(a==null)throw er(Kn.UNEXPECTED_ERROR);return[i,a]}}function wk(e){{const n=vn(e.isCE?_k:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw er(e.isCE?Kn.NOT_INSLALLED_WITH_PROVIDE:Kn.UNEXPECTED_ERROR);return n}}function Sk(e,n){return Zd(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Ck(e){return e.mode==="composition"?e.global:e.global.__composer}function Tk(e,n,r=!1){let i=null;const a=n.root;let l=n.parent;for(;l!=null;){const o=e;if(e.mode==="composition")i=o.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const f=o.__getInstance(l);f!=null&&(i=f.__composer,r&&i&&!i[ew]&&(i=null))}if(i!=null||a===l)break;l=l.parent}return i}function Ak(e,n,r){aa(()=>{},n),ul(()=>{e.__deleteInstance(n)},n)}function Ok(e,n,r,i={}){const a=n==="local",l=cm(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw er(Kn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Qt(i.inheritLocale)?i.inheritLocale:!0,f=st(a&&o?r.locale.value:Ve(i.locale)?i.locale:Ju),d=st(a&&o?r.fallbackLocale.value:Ve(i.fallbackLocale)||bn(i.fallbackLocale)||wt(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:f.value),g=st(tp(f.value,i)),y=st(wt(i.datetimeFormats)?i.datetimeFormats:{[f.value]:{}}),v=st(wt(i.numberFormats)?i.numberFormats:{[f.value]:{}}),_=a?r.missingWarn:Qt(i.missingWarn)||mo(i.missingWarn)?i.missingWarn:!0,w=a?r.fallbackWarn:Qt(i.fallbackWarn)||mo(i.fallbackWarn)?i.fallbackWarn:!0,C=a?r.fallbackRoot:Qt(i.fallbackRoot)?i.fallbackRoot:!0,P=!!i.fallbackFormat,M=Fn(i.missing)?i.missing:null,S=Fn(i.postTranslation)?i.postTranslation:null,I=a?r.warnHtmlMessage:Qt(i.warnHtmlMessage)?i.warnHtmlMessage:!0,B=!!i.escapeParameter,D=a?r.modifiers:wt(i.modifiers)?i.modifiers:{},$=i.pluralRules||a&&r.pluralRules;function K(){return[f.value,d.value,g.value,y.value,v.value]}const m=Jn({get:()=>l.value?l.value.locale.value:f.value,set:R=>{l.value&&(l.value.locale.value=R),f.value=R}}),Y=Jn({get:()=>l.value?l.value.fallbackLocale.value:d.value,set:R=>{l.value&&(l.value.fallbackLocale.value=R),d.value=R}}),j=Jn(()=>l.value?l.value.messages.value:g.value),G=Jn(()=>y.value),re=Jn(()=>v.value);function pe(){return l.value?l.value.getPostTranslationHandler():S}function Z(R){l.value&&l.value.setPostTranslationHandler(R)}function le(){return l.value?l.value.getMissingHandler():M}function Fe(R){l.value&&l.value.setMissingHandler(R)}function Ee(R){return K(),R()}function Ae(...R){return l.value?Ee(()=>Reflect.apply(l.value.t,null,[...R])):Ee(()=>"")}function $e(...R){return l.value?Reflect.apply(l.value.rt,null,[...R]):""}function tt(...R){return l.value?Ee(()=>Reflect.apply(l.value.d,null,[...R])):Ee(()=>"")}function Dt(...R){return l.value?Ee(()=>Reflect.apply(l.value.n,null,[...R])):Ee(()=>"")}function ot(R){return l.value?l.value.tm(R):{}}function mt(R,z){return l.value?l.value.te(R,z):!1}function zt(R){return l.value?l.value.getLocaleMessage(R):{}}function qt(R,z){l.value&&(l.value.setLocaleMessage(R,z),g.value[R]=z)}function kt(R,z){l.value&&l.value.mergeLocaleMessage(R,z)}function dt(R){return l.value?l.value.getDateTimeFormat(R):{}}function Nt(R,z){l.value&&(l.value.setDateTimeFormat(R,z),y.value[R]=z)}function en(R,z){l.value&&l.value.mergeDateTimeFormat(R,z)}function It(R){return l.value?l.value.getNumberFormat(R):{}}function Ht(R,z){l.value&&(l.value.setNumberFormat(R,z),v.value[R]=z)}function gn(R,z){l.value&&l.value.mergeNumberFormat(R,z)}const X={get id(){return l.value?l.value.id:-1},locale:m,fallbackLocale:Y,messages:j,datetimeFormats:G,numberFormats:re,get inheritLocale(){return l.value?l.value.inheritLocale:o},set inheritLocale(R){l.value&&(l.value.inheritLocale=R)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(g.value)},get modifiers(){return l.value?l.value.modifiers:D},get pluralRules(){return l.value?l.value.pluralRules:$},get isGlobal(){return l.value?l.value.isGlobal:!1},get missingWarn(){return l.value?l.value.missingWarn:_},set missingWarn(R){l.value&&(l.value.missingWarn=R)},get fallbackWarn(){return l.value?l.value.fallbackWarn:w},set fallbackWarn(R){l.value&&(l.value.missingWarn=R)},get fallbackRoot(){return l.value?l.value.fallbackRoot:C},set fallbackRoot(R){l.value&&(l.value.fallbackRoot=R)},get fallbackFormat(){return l.value?l.value.fallbackFormat:P},set fallbackFormat(R){l.value&&(l.value.fallbackFormat=R)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:I},set warnHtmlMessage(R){l.value&&(l.value.warnHtmlMessage=R)},get escapeParameter(){return l.value?l.value.escapeParameter:B},set escapeParameter(R){l.value&&(l.value.escapeParameter=R)},t:Ae,getPostTranslationHandler:pe,setPostTranslationHandler:Z,getMissingHandler:le,setMissingHandler:Fe,rt:$e,d:tt,n:Dt,tm:ot,te:mt,getLocaleMessage:zt,setLocaleMessage:qt,mergeLocaleMessage:kt,getDateTimeFormat:dt,setDateTimeFormat:Nt,mergeDateTimeFormat:en,getNumberFormat:It,setNumberFormat:Ht,mergeNumberFormat:gn};function N(R){R.locale.value=f.value,R.fallbackLocale.value=d.value,Object.keys(g.value).forEach(z=>{R.mergeLocaleMessage(z,g.value[z])}),Object.keys(y.value).forEach(z=>{R.mergeDateTimeFormat(z,y.value[z])}),Object.keys(v.value).forEach(z=>{R.mergeNumberFormat(z,v.value[z])}),R.escapeParameter=B,R.fallbackFormat=P,R.fallbackRoot=C,R.fallbackWarn=w,R.missingWarn=_,R.warnHtmlMessage=I}return Wd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw er(Kn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const R=l.value=e.proxy.$i18n.__composer;n==="global"?(f.value=R.locale.value,d.value=R.fallbackLocale.value,g.value=R.messages.value,y.value=R.datetimeFormats.value,v.value=R.numberFormats.value):a&&N(R)}),X}const Ik=["locale","fallbackLocale","availableLocales"],Pk=["t","rt","d","n","tm"];function Lk(e,n){const r=Object.create(null);Ik.forEach(i=>{const a=Object.getOwnPropertyDescriptor(n,i);if(!a)throw er(Kn.UNEXPECTED_ERROR);const l=Bn(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,i,l)}),e.config.globalProperties.$i18n=r,Pk.forEach(i=>{const a=Object.getOwnPropertyDescriptor(n,i);if(!a||!a.value)throw er(Kn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,a)})}ZD(sk);qD(RD);ek(jE);fk();if(__INTLIFY_PROD_DEVTOOLS__){const e=pu();e.__INTLIFY__=!0,HD(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Nk={"buckaroo.response.invalid_parameter_originaltransaction":"Invalid parameter originaltransaction.","buckaroo.response.an_error_occurred_while_processing_the_transaction_unable_to_pay_more_with_giftcards":"An error occurred while processing the transaction: Unable to pay more with giftcards","countries.afghanistan":"Afghanistan","countries.albania":"Albania","countries.algeria":"Algeria","countries.american_samoa":"American Samoa","countries.andorra":"Andorra","countries.angola":"Angola","countries.anguilla":"Anguilla","countries.antigua_and_barbuda":"Antigua and Barbuda","countries.argentina":"Argentina","countries.armenia":"Armenia","countries.aruba":"Aruba","countries.australia":"Australia","countries.austria":"Austria","countries.azerbaijan":"Azerbaijan","countries.bahamas":"Bahamas","countries.bahrain":"Bahrain","countries.bangladesh":"Bangladesh","countries.barbados":"Barbados","countries.belarus":"Belarus","countries.belgium":"Belgium","countries.belize":"Belize","countries.benin":"Benin","countries.bermuda":"Bermuda","countries.bhutan":"Bhutan","countries.bolivia":"Bolivia","countries.bosnia_and_herzegovina":"Bosnia and Herzegovina","countries.botswana":"Botswana","countries.brazil":"Brazil","countries.brunei_darussalam":"Brunei Darussalam","countries.bulgaria":"Bulgaria","countries.burkina_faso":"Burkina Faso","countries.burundi":"Burundi","countries.cambodia":"Cambodia","countries.cameroon":"Cameroon","countries.canada":"Canada","countries.cape_verde":"Cape Verde","countries.cayman_islands":"Cayman Islands","countries.central_african_republic":"Central African Republic","countries.chad":"Chad","countries.chile":"Chile","countries.china":"China","countries.colombia":"Colombia","countries.comoros":"Comoros","countries.republic_of_the_congo":"Democratic Republic of the Congo","countries.democratic_republic_of_the_congo":"Democratic Republic of the Congo","countries.cook_islands":"Island","countries.costa_rica":"Costa Rica","countries.c\xF4te_d'ivoire":"Cote Divoire","countries.croatia":"Croatia","countries.cuba":"Cuba","countries.cura\xE7ao":"Curacao","countries.cyprus":"Cyprus","countries.czech_republic":"Czech Republic","countries.denmark":"Denmark","countries.djibouti":"Djibouti","countries.dominica":"Dominica","countries.dominican_republic":"Dominican Republic","countries.ecuador":"Ecuador","countries.egypt":"Egypt","countries.el_salvador":"El Salvador","countries.equatorial_guinea":"Equatorial Guinea","countries.eritrea":"Eritrea","countries.estonia":"Estonia","countries.ethiopia":"Ethiopia","countries.falkland_island":"Falkland Island","countries.faroe_islands":"Faroe Islands","countries.fiji":"Fiji","countries.finland":"Finland","countries.france":"France","countries.french_polynesia":"French Polynesia","countries.gabon":"Gabon","countries.gambia":"Gambia","countries.georgia":"Georgia","countries.germany":"Germany","countries.ghana":"Ghana","countries.gibraltar":"Gibraltar","countries.greece":"Greece","countries.greenland":"Greenland","countries.grenada":"Grenada","countries.guam":"Guam","countries.guatemala":"Guatemala","countries.guernsey":"Guernsey","countries.guinea":"Guinea","countries.guinea-bissau":"Guinea-Bissau","countries.guyana":"Guyana","countries.haiti":"Haiti","countries.honduras":"Honduras","countries.hong_kong":"Hong Kong","countries.hungary":"Hungary","countries.iceland":"Iceland","countries.india":"India","countries.indonesia":"Indonesia","countries.iran":"Iran","countries.iraq":"Iraq","countries.ireland":"Ireland","countries.isle_of_man":"Isle of Man","countries.israel":"Israel","countries.italy":"Italy","countries.jamaica":"Jamaica","countries.japan":"Japan","countries.jersey":"Jersey","countries.jordan":"Jordan","countries.kazakhstan":"Kazakhstan","countries.kenya":"Kenya","countries.kiribati":"Kiribati","countries.north_korea":"North Korea","countries.south_korea":"South Korea","countries.kosovo":"Kosovo","countries.kuwait":"Kuwait","countries.kyrgyzstan":"Kyrgyzstan","countries.laos":"Laos","countries.latvia":"Latvia","countries.lebanon":"Lebanon","countries.lesotho":"Lesotho","countries.liberia":"Liberia","countries.libya":"Libya","countries.liechtenstein":"Liechtenstein","countries.lithuania":"Lithuania","countries.luxembourg":"Luxembourg","countries.macau":"Macao","countries.macedonia":"Macedonia","countries.madagascar":"Madagascar","countries.malawi":"Malawi","countries.malaysia":"Malaysia","countries.maldives":"Maldives","countries.mali":"Mali","countries.malta":"Malta","countries.marshall_islands":"Marshall Islands","countries.mauritania":"Mauritania","countries.mauritius":"Mauritius","countries.mayotte":"Mayotte","countries.mexico":"Mexico","countries.micronesia":"Micronesia","countries.moldova":"Moldova","countries.monaco":"Monaco","countries.mongolia":"Mongolia","countries.montenegro":"Montenegro","countries.montserrat":"Montserrat","countries.morocco":"Morocco","countries.mozambique":"Mozambique","countries.myanmar":"Myanmar","countries.namibia":"Namibia","countries.nauru":"Nauru","countries.nepal":"Nepal","countries.netherlands":"Netherlands","countries.new_caledonia":"New Caledonia","countries.new_zealand":"New Zealand","countries.nicaragua":"Nicaragua","countries.niger":"Niger","countries.nigeria":"Nigeria","countries.niue":"Niue","countries.norfolk_island":"Norfolk Island","countries.northern_mariana_islands":"Northern Mariana Islands","countries.norway":"Norway","countries.oman":"Oman","countries.pakistan":"Pakistan","countries.palau":"Palau","countries.palestine":"Palestine","countries.panama":"Panama","countries.papua_new_guinea":"Papua New Guinea","countries.paraguay":"Paraguay","countries.peru":"Peru","countries.philippines":"Philippines","countries.pitcairn":"Pitekaien","countries.poland":"Poland","countries.portugal":"Portugal","countries.puerto_rico":"Puerto Rico","countries.qatar":"Qatar","countries.romania":"Romania","countries.russia":"Russia","countries.rwanda":"Rwanda","countries.saint_helena":"St. Helena","countries.saint_kitts_and_nevis":"Saint Kitts and Nevis","countries.saint_lucia":"Saint Lucia","countries.saint_vincent_and_the_grenadines":"Saint Vincent and the Grenadines","countries.samoa":"Samoa","countries.san_marino":"San Marino","countries.sao_tome_and_principe":"Sao Tome and Principe","countries.saudi_arabia":"Saudi Arabia","countries.senegal":"Senegal","countries.serbia":"Serbia","countries.seychelles":"Seychelles","countries.sierra_leone":"Sierra Leone","countries.singapore":"Singapore","countries.slovakia":"Slovakia","countries.slovenia":"Slovenia","countries.solomon_islands":"Solomon Islands","countries.somalia":"Somalia","countries.south_africa":"South Africa","countries.south_sudan":"South Sudan","countries.spain":"Spain","countries.sri_lanka":"Sri Lanka","countries.sudan":"Sudan","countries.suriname":"Surinam","countries.swaziland":"Swaziland","countries.sweden":"Sweden","countries.switzerland":"Switzerland","countries.syrian_arab_republic":"Syrian Arab Republic","countries.taiwan":"Taiwan","countries.tajikistan":"Tajikistan","countries.tanzania":"Tanzania","countries.thailand":"Thailand","countries.east_timor":"East Timor","countries.togo":"Togo","countries.tokelau":"Tokelau","countries.tonga":"Tonga","countries.trinidad_and_tobago":"Trinidad and Tobago","countries.tunisia":"Tunisia","countries.turkey":"Turkey","countries.turkmenistan":"Turkmenistan","countries.turks_and_caicos_islands":"Turks and Caicos Islands","countries.tuvalu":"Tuvalu","countries.uganda":"Uganda","countries.ukraine":"Ukraine","countries.united_arab_emirates":"United Arab Emirates","countries.united_kingdom":"United Kingdom","countries.united states":"United States","countries.uruguay":"Uruguay","countries.uzbekistan":"Uzbekistan","countries.vanuatu":"Vanuatu","countries.venezuela":"Venezuela","countries.vietnam":"Vietnam","countries.british_virgin_islands":"The British Virgin Islands","countries.us_virgin_islands":"US Virgin Islands","countries.wallis_and_futuna":"Wallis and Futuna","countries.western_sahara":"Western Sahara","countries.yemen":"Yemen","countries.zambia":"Zambia","countries.zimbabwe":"Zimbabwe","dashboard.channel_selector.select_channel":"Select Channel","dashboard.channel_selector.select_channel_label":"Each channel has its configuration settings.","dashboard.country_select.search_countries":"Search Countries","dashboard.menu.channel":"Channel","dashboard.menu.settings":"Settings","dashboard.menu.payment_methods":"Payment methods","dashboard.menu.verification_methods":"Verification methods","dashboard.menu.order_payment_methods":"Order Payments Methods","dashboard.pages.order_payment_methods.if_you_have_any_questions":"If you have any questions about this plugin from Buckaroo, then you can contact us by e-mail:","dashboard.pages.order_payment_methods.order_payment_methods":"Order Payment Methods","dashboard.pages.order_payment_methods.order_payment_methods_label":"Change the order of payment methods.","dashboard.pages.order_payment_methods.all_countries":"All Countries","dashboard.pages.order_payment_methods.all_coquesuntries":"All Countries","dashboard.pages.order_payment_methods.search_country":"Search country","dashboard.pages.order_payment_methods.payment_method_order_updated_successfully":"Payment method order updated successfully.","dashboard.pages.order_payment_methods.something_went_wrong":"Something went wrong.","dashboard.pages.order_payment_methods.how_to_order_payment_method":"How to change the order of the payment methods in the checkout","dashboard.pages.order_payment_methods.explanation_intro":`You can easily change the order of the payment methods by dragging them into the right place, from top to bottom. + */const gD="9.2.2";function mD(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(pu().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(pu().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pu().__INTLIFY_PROD_DEVTOOLS__=!1)}JR.__EXTEND_POINT__;let tw=sn.__EXTEND_POINT__;const jr=()=>++tw,Gn={UNEXPECTED_RETURN_TYPE:tw,INVALID_ARGUMENT:jr(),MUST_BE_CALL_SETUP_TOP:jr(),NOT_INSLALLED:jr(),NOT_AVAILABLE_IN_LEGACY_MODE:jr(),REQUIRED_VALUE:jr(),INVALID_VALUE:jr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:jr(),NOT_INSLALLED_WITH_PROVIDE:jr(),UNEXPECTED_ERROR:jr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:jr(),BRIDGE_SUPPORT_VUE_2_ONLY:jr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:jr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:jr(),__EXTEND_POINT__:jr()};function er(e,...n){return Zd(e,null,void 0)}const Mg=_o("__transrateVNode"),$g=_o("__datetimeParts"),Fg=_o("__numberParts"),nw=_o("__setPluralRules");_o("__intlifyMeta");const rw=_o("__injectWithOption");function Bg(e){if(!_n(e))return e;for(const n in e)if(!!uv(e,n))if(!n.includes("."))_n(e[n])&&Bg(e[n]);else{const r=n.split("."),s=r.length-1;let a=e;for(let l=0;l{if("locale"in f&&"resource"in f){const{locale:d,resource:p}=f;d?(o[d]=o[d]||{},hu(p,o[d])):hu(p,o)}else Ve(f)&&hu(JSON.parse(f),o)}),a==null&&l)for(const f in o)uv(o,f)&&Bg(o[f]);return o}const Sf=e=>!_n(e)||bn(e);function hu(e,n){if(Sf(e)||Sf(n))throw er(Gn.INVALID_VALUE);for(const r in e)uv(e,r)&&(Sf(e[r])||Sf(n[r])?n[r]=e[r]:hu(e[r],n[r]))}function sw(e){return e.type}function iw(e,n,r){let s=_n(n.messages)?n.messages:{};"__i18nGlobal"in r&&(s=tp(e.locale.value,{messages:s,__i18n:r.__i18nGlobal}));const a=Object.keys(s);a.length&&a.forEach(l=>{e.mergeLocaleMessage(l,s[l])});{if(_n(n.datetimeFormats)){const l=Object.keys(n.datetimeFormats);l.length&&l.forEach(o=>{e.mergeDateTimeFormat(o,n.datetimeFormats[o])})}if(_n(n.numberFormats)){const l=Object.keys(n.numberFormats);l.length&&l.forEach(o=>{e.mergeNumberFormat(o,n.numberFormats[o])})}}}function r0(e){return vt(Ii,null,e,0)}const s0="__INTLIFY_META__";let i0=0;function o0(e){return(n,r,s,a)=>e(r,s,Nr()||void 0,a)}const vD=()=>{const e=Nr();let n=null;return e&&(n=sw(e)[s0])?{[s0]:n}:null};function pv(e={},n){const{__root:r}=e,s=r===void 0;let a=Qt(e.inheritLocale)?e.inheritLocale:!0;const l=it(r&&a?r.locale.value:Ve(e.locale)?e.locale:Ju),o=it(r&&a?r.fallbackLocale.value:Ve(e.fallbackLocale)||bn(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),f=it(tp(l.value,e)),d=it(wt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),p=it(wt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let y=r?r.missingWarn:Qt(e.missingWarn)||mo(e.missingWarn)?e.missingWarn:!0,v=r?r.fallbackWarn:Qt(e.fallbackWarn)||mo(e.fallbackWarn)?e.fallbackWarn:!0,_=r?r.fallbackRoot:Qt(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,T=Fn(e.missing)?e.missing:null,P=Fn(e.missing)?o0(e.missing):null,M=Fn(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:Qt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,I=!!e.escapeParameter;const B=r?r.modifiers:wt(e.modifiers)?e.modifiers:{};let R=e.pluralRules||r&&r.pluralRules,$;$=(()=>{s&&Y_(null);const oe={version:gD,locale:l.value,fallbackLocale:o.value,messages:f.value,modifiers:B,pluralRules:R,missing:P===null?void 0:P,missingWarn:y,fallbackWarn:v,fallbackFormat:w,unresolving:!0,postTranslation:M===null?void 0:M,warnHtmlMessage:S,escapeParameter:I,messageResolver:e.messageResolver,__meta:{framework:"vue"}};oe.datetimeFormats=d.value,oe.numberFormats=p.value,oe.__datetimeFormatters=wt($)?$.__datetimeFormatters:void 0,oe.__numberFormatters=wt($)?$.__numberFormatters:void 0;const he=lD(oe);return s&&Y_(he),he})(),Yl($,l.value,o.value);function m(){return[l.value,o.value,f.value,d.value,p.value]}const Y=Jn({get:()=>l.value,set:oe=>{l.value=oe,$.locale=l.value}}),j=Jn({get:()=>o.value,set:oe=>{o.value=oe,$.fallbackLocale=o.value,Yl($,l.value,oe)}}),K=Jn(()=>f.value),re=Jn(()=>d.value),pe=Jn(()=>p.value);function q(){return Fn(M)?M:null}function le(oe){M=oe,$.postTranslation=oe}function Fe(){return T}function Ee(oe){oe!==null&&(P=o0(oe)),T=oe,$.missing=P}const Ae=(oe,he,je,we,Je,yt)=>{m();let ut;if(__INTLIFY_PROD_DEVTOOLS__)try{z_(vD()),s||($.fallbackContext=r?aD():void 0),ut=oe($)}finally{z_(null),s||($.fallbackContext=void 0)}else ut=oe($);if(qn(ut)&&ut===ep){const[ue,de]=he();return r&&_?we(r):Je(ue)}else{if(yt(ut))return ut;throw er(Gn.UNEXPECTED_RETURN_TYPE)}};function $e(...oe){return Ae(he=>Reflect.apply(q_,null,[he,...oe]),()=>Ng(...oe),"translate",he=>Reflect.apply(he.t,he,[...oe]),he=>he,he=>Ve(he))}function tt(...oe){const[he,je,we]=oe;if(we&&!_n(we))throw er(Gn.INVALID_ARGUMENT);return $e(he,je,ir({resolvedMessage:!0},we||{}))}function Rt(...oe){return Ae(he=>Reflect.apply(Z_,null,[he,...oe]),()=>Rg(...oe),"datetime format",he=>Reflect.apply(he.d,he,[...oe]),()=>G_,he=>Ve(he))}function ot(...oe){return Ae(he=>Reflect.apply(t0,null,[he,...oe]),()=>Dg(...oe),"number format",he=>Reflect.apply(he.n,he,[...oe]),()=>G_,he=>Ve(he))}function mt(oe){return oe.map(he=>Ve(he)||qn(he)||Qt(he)?r0(String(he)):he)}const Zt={normalize:mt,interpolate:oe=>oe,type:"vnode"};function Dt(...oe){return Ae(he=>{let je;const we=he;try{we.processor=Zt,je=Reflect.apply(q_,null,[we,...oe])}finally{we.processor=null}return je},()=>Ng(...oe),"translate",he=>he[Mg](...oe),he=>[r0(he)],he=>bn(he))}function dt(...oe){return Ae(he=>Reflect.apply(t0,null,[he,...oe]),()=>Dg(...oe),"number format",he=>he[Fg](...oe),()=>[],he=>Ve(he)||bn(he))}function Lt(...oe){return Ae(he=>Reflect.apply(Z_,null,[he,...oe]),()=>Rg(...oe),"datetime format",he=>he[$g](...oe),()=>[],he=>Ve(he)||bn(he))}function en(oe){R=oe,$.pluralRules=R}function It(oe,he){const je=Ve(he)?he:l.value,we=X(je);return $.messageResolver(we,oe)!==null}function Ht(oe){let he=null;const je=VE($,o.value,l.value);for(let we=0;we{a&&(l.value=oe,$.locale=oe,Yl($,l.value,o.value))}),Yr(r.fallbackLocale,oe=>{a&&(o.value=oe,$.fallbackLocale=oe,Yl($,l.value,o.value))}));const _e={id:i0,locale:Y,fallbackLocale:j,get inheritLocale(){return a},set inheritLocale(oe){a=oe,oe&&r&&(l.value=r.locale.value,o.value=r.fallbackLocale.value,Yl($,l.value,o.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:K,get modifiers(){return B},get pluralRules(){return R||{}},get isGlobal(){return s},get missingWarn(){return y},set missingWarn(oe){y=oe,$.missingWarn=y},get fallbackWarn(){return v},set fallbackWarn(oe){v=oe,$.fallbackWarn=v},get fallbackRoot(){return _},set fallbackRoot(oe){_=oe},get fallbackFormat(){return w},set fallbackFormat(oe){w=oe,$.fallbackFormat=w},get warnHtmlMessage(){return S},set warnHtmlMessage(oe){S=oe,$.warnHtmlMessage=oe},get escapeParameter(){return I},set escapeParameter(oe){I=oe,$.escapeParameter=oe},t:$e,getLocaleMessage:X,setLocaleMessage:L,mergeLocaleMessage:N,getPostTranslationHandler:q,setPostTranslationHandler:le,getMissingHandler:Fe,setMissingHandler:Ee,[nw]:en};return _e.datetimeFormats=re,_e.numberFormats=pe,_e.rt=tt,_e.te=It,_e.tm=gn,_e.d=Rt,_e.n=ot,_e.getDateTimeFormat=z,_e.setDateTimeFormat=se,_e.mergeDateTimeFormat=ae,_e.getNumberFormat=Ce,_e.setNumberFormat=Re,_e.mergeNumberFormat=Le,_e[rw]=e.__injectWithOption,_e[Mg]=Dt,_e[$g]=Lt,_e[Fg]=dt,_e}function yD(e){const n=Ve(e.locale)?e.locale:Ju,r=Ve(e.fallbackLocale)||bn(e.fallbackLocale)||wt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=Fn(e.missing)?e.missing:void 0,a=Qt(e.silentTranslationWarn)||mo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Qt(e.silentFallbackWarn)||mo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Qt(e.fallbackRoot)?e.fallbackRoot:!0,f=!!e.formatFallbackMessages,d=wt(e.modifiers)?e.modifiers:{},p=e.pluralizationRules,y=Fn(e.postTranslation)?e.postTranslation:void 0,v=Ve(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,_=!!e.escapeParameterHtml,w=Qt(e.sync)?e.sync:!0;let T=e.messages;if(wt(e.sharedMessages)){const $=e.sharedMessages;T=Object.keys($).reduce((m,Y)=>{const j=m[Y]||(m[Y]={});return ir(j,$[Y]),m},T||{})}const{__i18n:P,__root:M,__injectWithOption:S}=e,I=e.datetimeFormats,B=e.numberFormats,R=e.flatJson;return{locale:n,fallbackLocale:r,messages:T,flatJson:R,datetimeFormats:I,numberFormats:B,missing:s,missingWarn:a,fallbackWarn:l,fallbackRoot:o,fallbackFormat:f,modifiers:d,pluralRules:p,postTranslation:y,warnHtmlMessage:v,escapeParameter:_,messageResolver:e.messageResolver,inheritLocale:w,__i18n:P,__root:M,__injectWithOption:S}}function Ug(e={},n){{const r=pv(yD(e)),s={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return Qt(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=Qt(a)?!a:a},get silentFallbackWarn(){return Qt(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=Qt(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[l,o,f]=a,d={};let p=null,y=null;if(!Ve(l))throw er(Gn.INVALID_ARGUMENT);const v=l;return Ve(o)?d.locale=o:bn(o)?p=o:wt(o)&&(y=o),bn(f)?p=f:wt(f)&&(y=f),Reflect.apply(r.t,r,[v,p||y||{},d])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[l,o,f]=a,d={plural:1};let p=null,y=null;if(!Ve(l))throw er(Gn.INVALID_ARGUMENT);const v=l;return Ve(o)?d.locale=o:qn(o)?d.plural=o:bn(o)?p=o:wt(o)&&(y=o),Ve(f)?d.locale=f:bn(f)?p=f:wt(f)&&(y=f),Reflect.apply(r.t,r,[v,p||y||{},d])},te(a,l){return r.te(a,l)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,l){r.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){r.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,l){r.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){r.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,l){r.setNumberFormat(a,l)},mergeNumberFormat(a,l){r.mergeNumberFormat(a,l)},getChoiceIndex(a,l){return-1},__onComponentInstanceCreated(a){const{componentInstanceCreatedListener:l}=e;l&&l(a,s)}};return s}}const hv={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function bD({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((s,a)=>s=[...s,...bn(a.children)?a.children:[a]],[]):n.reduce((r,s)=>{const a=e[s];return a&&(r[s]=a()),r},{})}function ow(e){return Xt}const a0={name:"i18n-t",props:ir({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>qn(e)||!isNaN(e)}},hv),setup(e,n){const{slots:r,attrs:s}=n,a=e.i18n||la({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(r).filter(v=>v!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Ve(e.plural)?+e.plural:e.plural);const f=bD(n,l),d=a[Mg](e.keypath,f,o),p=ir({},s),y=Ve(e.tag)||_n(e.tag)?e.tag:ow();return Wu(y,p,d)}}};function _D(e){return bn(e)&&!Ve(e[0])}function aw(e,n,r,s){const{slots:a,attrs:l}=n;return()=>{const o={part:!0};let f={};e.locale&&(o.locale=e.locale),Ve(e.format)?o.key=e.format:_n(e.format)&&(Ve(e.format.key)&&(o.key=e.format.key),f=Object.keys(e.format).reduce((_,w)=>r.includes(w)?ir({},_,{[w]:e.format[w]}):_,{}));const d=s(e.value,o,f);let p=[o.key];bn(d)?p=d.map((_,w)=>{const T=a[_.type],P=T?T({[_.type]:_.value,index:w,parts:d}):[_.value];return _D(P)&&(P[0].key=`${_.type}-${w}`),P}):Ve(d)&&(p=[d]);const y=ir({},l),v=Ve(e.tag)||_n(e.tag)?e.tag:ow();return Wu(v,y,p)}}const l0={name:"i18n-n",props:ir({value:{type:Number,required:!0},format:{type:[String,Object]}},hv),setup(e,n){const r=e.i18n||la({useScope:"parent",__useComponent:!0});return aw(e,n,ew,(...s)=>r[Fg](...s))}},u0={name:"i18n-d",props:ir({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},hv),setup(e,n){const r=e.i18n||la({useScope:"parent",__useComponent:!0});return aw(e,n,ZE,(...s)=>r[$g](...s))}};function xD(e,n){const r=e;if(e.mode==="composition")return r.__getInstance(n)||e.global;{const s=r.__getInstance(n);return s!=null?s.__composer:e.global.__composer}}function ED(e){const n=o=>{const{instance:f,modifiers:d,value:p}=o;if(!f||!f.$)throw er(Gn.UNEXPECTED_ERROR);const y=xD(e,f.$),v=c0(p);return[Reflect.apply(y.t,y,[...f0(v)]),y]};return{created:(o,f)=>{const[d,p]=n(f);kg&&e.global===p&&(o.__i18nWatcher=Yr(p.locale,()=>{f.instance&&f.instance.$forceUpdate()})),o.__composer=p,o.textContent=d},unmounted:o=>{kg&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:f})=>{if(o.__composer){const d=o.__composer,p=c0(f);o.textContent=Reflect.apply(d.t,d,[...f0(p)])}},getSSRProps:o=>{const[f]=n(o);return{textContent:f}}}}function c0(e){if(Ve(e))return{path:e};if(wt(e)){if(!("path"in e))throw er(Gn.REQUIRED_VALUE,"path");return e}else throw er(Gn.INVALID_VALUE)}function f0(e){const{path:n,locale:r,args:s,choice:a,plural:l}=e,o={},f=s||{};return Ve(r)&&(o.locale=r),qn(a)&&(o.plural=a),qn(l)&&(o.plural=l),[n,f,o]}function wD(e,n,...r){const s=wt(r[0])?r[0]:{},a=!!s.useI18nComponentName;(Qt(s.globalInstall)?s.globalInstall:!0)&&(e.component(a?"i18n":a0.name,a0),e.component(l0.name,l0),e.component(u0.name,u0)),e.directive("t",ED(n))}function SD(e,n,r){return{beforeCreate(){const s=Nr();if(!s)throw er(Gn.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const l=a.i18n;a.__i18n&&(l.__i18n=a.__i18n),l.__root=n,this===this.$root?this.$i18n=d0(e,l):(l.__injectWithOption=!0,this.$i18n=Ug(l))}else a.__i18n?this===this.$root?this.$i18n=d0(e,a):this.$i18n=Ug({__i18n:a.__i18n,__injectWithOption:!0,__root:n}):this.$i18n=e;a.__i18nGlobal&&iw(n,a,a),e.__onComponentInstanceCreated(this.$i18n),r.__setInstance(s,this.$i18n),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$tc=(...l)=>this.$i18n.tc(...l),this.$te=(l,o)=>this.$i18n.te(l,o),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l)},mounted(){},unmounted(){const s=Nr();if(!s)throw er(Gn.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__deleteInstance(s),delete this.$i18n}}}function d0(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[nw](n.pluralizationRules||e.pluralizationRules);const r=tp(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(r).forEach(s=>e.mergeLocaleMessage(s,r[s])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,n.datetimeFormats[s])),n.numberFormats&&Object.keys(n.numberFormats).forEach(s=>e.mergeNumberFormat(s,n.numberFormats[s])),e}const TD=_o("global-vue-i18n");function CD(e={},n){const r=__VUE_I18N_LEGACY_API__&&Qt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=Qt(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,l=new Map,[o,f]=AD(e,r),d=_o("");function p(_){return l.get(_)||null}function y(_,w){l.set(_,w)}function v(_){l.delete(_)}{const _={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return a},async install(w,...T){w.__VUE_I18N_SYMBOL__=d,w.provide(w.__VUE_I18N_SYMBOL__,_),!r&&s&&MD(w,_.global),__VUE_I18N_FULL_INSTALL__&&wD(w,_,...T),__VUE_I18N_LEGACY_API__&&r&&w.mixin(SD(f,f.__composer,_));const P=w.unmount;w.unmount=()=>{_.dispose(),P()}},get global(){return f},dispose(){o.stop()},__instances:l,__getInstance:p,__setInstance:y,__deleteInstance:v};return _}}function la(e={}){const n=Nr();if(n==null)throw er(Gn.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw er(Gn.NOT_INSLALLED);const r=OD(n),s=PD(r),a=sw(n),l=ID(e,a);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw er(Gn.NOT_AVAILABLE_IN_LEGACY_MODE);return ND(n,l,s,e)}if(l==="global")return iw(s,e,a),s;if(l==="parent"){let d=kD(r,n,e.__useComponent);return d==null&&(d=s),d}const o=r;let f=o.__getInstance(n);if(f==null){const d=ir({},e);"__i18n"in a&&(d.__i18n=a.__i18n),s&&(d.__root=s),f=pv(d),LD(o,n),o.__setInstance(n,f)}return f}function AD(e,n,r){const s=sm();{const a=__VUE_I18N_LEGACY_API__&&n?s.run(()=>Ug(e)):s.run(()=>pv(e));if(a==null)throw er(Gn.UNEXPECTED_ERROR);return[s,a]}}function OD(e){{const n=vn(e.isCE?TD:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw er(e.isCE?Gn.NOT_INSLALLED_WITH_PROVIDE:Gn.UNEXPECTED_ERROR);return n}}function ID(e,n){return qd(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function PD(e){return e.mode==="composition"?e.global:e.global.__composer}function kD(e,n,r=!1){let s=null;const a=n.root;let l=n.parent;for(;l!=null;){const o=e;if(e.mode==="composition")s=o.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const f=o.__getInstance(l);f!=null&&(s=f.__composer,r&&s&&!s[rw]&&(s=null))}if(s!=null||a===l)break;l=l.parent}return s}function LD(e,n,r){aa(()=>{},n),ul(()=>{e.__deleteInstance(n)},n)}function ND(e,n,r,s={}){const a=n==="local",l=fm(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw er(Gn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Qt(s.inheritLocale)?s.inheritLocale:!0,f=it(a&&o?r.locale.value:Ve(s.locale)?s.locale:Ju),d=it(a&&o?r.fallbackLocale.value:Ve(s.fallbackLocale)||bn(s.fallbackLocale)||wt(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:f.value),p=it(tp(f.value,s)),y=it(wt(s.datetimeFormats)?s.datetimeFormats:{[f.value]:{}}),v=it(wt(s.numberFormats)?s.numberFormats:{[f.value]:{}}),_=a?r.missingWarn:Qt(s.missingWarn)||mo(s.missingWarn)?s.missingWarn:!0,w=a?r.fallbackWarn:Qt(s.fallbackWarn)||mo(s.fallbackWarn)?s.fallbackWarn:!0,T=a?r.fallbackRoot:Qt(s.fallbackRoot)?s.fallbackRoot:!0,P=!!s.fallbackFormat,M=Fn(s.missing)?s.missing:null,S=Fn(s.postTranslation)?s.postTranslation:null,I=a?r.warnHtmlMessage:Qt(s.warnHtmlMessage)?s.warnHtmlMessage:!0,B=!!s.escapeParameter,R=a?r.modifiers:wt(s.modifiers)?s.modifiers:{},$=s.pluralRules||a&&r.pluralRules;function G(){return[f.value,d.value,p.value,y.value,v.value]}const m=Jn({get:()=>l.value?l.value.locale.value:f.value,set:N=>{l.value&&(l.value.locale.value=N),f.value=N}}),Y=Jn({get:()=>l.value?l.value.fallbackLocale.value:d.value,set:N=>{l.value&&(l.value.fallbackLocale.value=N),d.value=N}}),j=Jn(()=>l.value?l.value.messages.value:p.value),K=Jn(()=>y.value),re=Jn(()=>v.value);function pe(){return l.value?l.value.getPostTranslationHandler():S}function q(N){l.value&&l.value.setPostTranslationHandler(N)}function le(){return l.value?l.value.getMissingHandler():M}function Fe(N){l.value&&l.value.setMissingHandler(N)}function Ee(N){return G(),N()}function Ae(...N){return l.value?Ee(()=>Reflect.apply(l.value.t,null,[...N])):Ee(()=>"")}function $e(...N){return l.value?Reflect.apply(l.value.rt,null,[...N]):""}function tt(...N){return l.value?Ee(()=>Reflect.apply(l.value.d,null,[...N])):Ee(()=>"")}function Rt(...N){return l.value?Ee(()=>Reflect.apply(l.value.n,null,[...N])):Ee(()=>"")}function ot(N){return l.value?l.value.tm(N):{}}function mt(N,z){return l.value?l.value.te(N,z):!1}function zt(N){return l.value?l.value.getLocaleMessage(N):{}}function Zt(N,z){l.value&&(l.value.setLocaleMessage(N,z),p.value[N]=z)}function Dt(N,z){l.value&&l.value.mergeLocaleMessage(N,z)}function dt(N){return l.value?l.value.getDateTimeFormat(N):{}}function Lt(N,z){l.value&&(l.value.setDateTimeFormat(N,z),y.value[N]=z)}function en(N,z){l.value&&l.value.mergeDateTimeFormat(N,z)}function It(N){return l.value?l.value.getNumberFormat(N):{}}function Ht(N,z){l.value&&(l.value.setNumberFormat(N,z),v.value[N]=z)}function gn(N,z){l.value&&l.value.mergeNumberFormat(N,z)}const X={get id(){return l.value?l.value.id:-1},locale:m,fallbackLocale:Y,messages:j,datetimeFormats:K,numberFormats:re,get inheritLocale(){return l.value?l.value.inheritLocale:o},set inheritLocale(N){l.value&&(l.value.inheritLocale=N)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(p.value)},get modifiers(){return l.value?l.value.modifiers:R},get pluralRules(){return l.value?l.value.pluralRules:$},get isGlobal(){return l.value?l.value.isGlobal:!1},get missingWarn(){return l.value?l.value.missingWarn:_},set missingWarn(N){l.value&&(l.value.missingWarn=N)},get fallbackWarn(){return l.value?l.value.fallbackWarn:w},set fallbackWarn(N){l.value&&(l.value.missingWarn=N)},get fallbackRoot(){return l.value?l.value.fallbackRoot:T},set fallbackRoot(N){l.value&&(l.value.fallbackRoot=N)},get fallbackFormat(){return l.value?l.value.fallbackFormat:P},set fallbackFormat(N){l.value&&(l.value.fallbackFormat=N)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:I},set warnHtmlMessage(N){l.value&&(l.value.warnHtmlMessage=N)},get escapeParameter(){return l.value?l.value.escapeParameter:B},set escapeParameter(N){l.value&&(l.value.escapeParameter=N)},t:Ae,getPostTranslationHandler:pe,setPostTranslationHandler:q,getMissingHandler:le,setMissingHandler:Fe,rt:$e,d:tt,n:Rt,tm:ot,te:mt,getLocaleMessage:zt,setLocaleMessage:Zt,mergeLocaleMessage:Dt,getDateTimeFormat:dt,setDateTimeFormat:Lt,mergeDateTimeFormat:en,getNumberFormat:It,setNumberFormat:Ht,mergeNumberFormat:gn};function L(N){N.locale.value=f.value,N.fallbackLocale.value=d.value,Object.keys(p.value).forEach(z=>{N.mergeLocaleMessage(z,p.value[z])}),Object.keys(y.value).forEach(z=>{N.mergeDateTimeFormat(z,y.value[z])}),Object.keys(v.value).forEach(z=>{N.mergeNumberFormat(z,v.value[z])}),N.escapeParameter=B,N.fallbackFormat=P,N.fallbackRoot=T,N.fallbackWarn=w,N.missingWarn=_,N.warnHtmlMessage=I}return Wd(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw er(Gn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const N=l.value=e.proxy.$i18n.__composer;n==="global"?(f.value=N.locale.value,d.value=N.fallbackLocale.value,p.value=N.messages.value,y.value=N.datetimeFormats.value,v.value=N.numberFormats.value):a&&L(N)}),X}const RD=["locale","fallbackLocale","availableLocales"],DD=["t","rt","d","n","tm"];function MD(e,n){const r=Object.create(null);RD.forEach(s=>{const a=Object.getOwnPropertyDescriptor(n,s);if(!a)throw er(Gn.UNEXPECTED_ERROR);const l=Bn(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,s,l)}),e.config.globalProperties.$i18n=r,DD.forEach(s=>{const a=Object.getOwnPropertyDescriptor(n,s);if(!a||!a.value)throw er(Gn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)})}rD(cD);sD(FR);iD(VE);mD();if(__INTLIFY_PROD_DEVTOOLS__){const e=pu();e.__INTLIFY__=!0,zR(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const $D={"buckaroo.response.invalid_parameter_originaltransaction":"Invalid parameter originaltransaction.","buckaroo.response.an_error_occurred_while_processing_the_transaction_unable_to_pay_more_with_giftcards":"An error occurred while processing the transaction: Unable to pay more with giftcards","countries.afghanistan":"Afghanistan","countries.albania":"Albania","countries.algeria":"Algeria","countries.american_samoa":"American Samoa","countries.andorra":"Andorra","countries.angola":"Angola","countries.anguilla":"Anguilla","countries.antigua_and_barbuda":"Antigua and Barbuda","countries.argentina":"Argentina","countries.armenia":"Armenia","countries.aruba":"Aruba","countries.australia":"Australia","countries.austria":"Austria","countries.azerbaijan":"Azerbaijan","countries.bahamas":"Bahamas","countries.bahrain":"Bahrain","countries.bangladesh":"Bangladesh","countries.barbados":"Barbados","countries.belarus":"Belarus","countries.belgium":"Belgium","countries.belize":"Belize","countries.benin":"Benin","countries.bermuda":"Bermuda","countries.bhutan":"Bhutan","countries.bolivia":"Bolivia","countries.bosnia_and_herzegovina":"Bosnia and Herzegovina","countries.botswana":"Botswana","countries.brazil":"Brazil","countries.brunei_darussalam":"Brunei Darussalam","countries.bulgaria":"Bulgaria","countries.burkina_faso":"Burkina Faso","countries.burundi":"Burundi","countries.cambodia":"Cambodia","countries.cameroon":"Cameroon","countries.canada":"Canada","countries.cape_verde":"Cape Verde","countries.cayman_islands":"Cayman Islands","countries.central_african_republic":"Central African Republic","countries.chad":"Chad","countries.chile":"Chile","countries.china":"China","countries.colombia":"Colombia","countries.comoros":"Comoros","countries.republic_of_the_congo":"Democratic Republic of the Congo","countries.democratic_republic_of_the_congo":"Democratic Republic of the Congo","countries.cook_islands":"Island","countries.costa_rica":"Costa Rica","countries.c\xF4te_d'ivoire":"Cote Divoire","countries.croatia":"Croatia","countries.cuba":"Cuba","countries.cura\xE7ao":"Curacao","countries.cyprus":"Cyprus","countries.czech_republic":"Czech Republic","countries.denmark":"Denmark","countries.djibouti":"Djibouti","countries.dominica":"Dominica","countries.dominican_republic":"Dominican Republic","countries.ecuador":"Ecuador","countries.egypt":"Egypt","countries.el_salvador":"El Salvador","countries.equatorial_guinea":"Equatorial Guinea","countries.eritrea":"Eritrea","countries.estonia":"Estonia","countries.ethiopia":"Ethiopia","countries.falkland_island":"Falkland Island","countries.faroe_islands":"Faroe Islands","countries.fiji":"Fiji","countries.finland":"Finland","countries.france":"France","countries.french_polynesia":"French Polynesia","countries.gabon":"Gabon","countries.gambia":"Gambia","countries.georgia":"Georgia","countries.germany":"Germany","countries.ghana":"Ghana","countries.gibraltar":"Gibraltar","countries.greece":"Greece","countries.greenland":"Greenland","countries.grenada":"Grenada","countries.guam":"Guam","countries.guatemala":"Guatemala","countries.guernsey":"Guernsey","countries.guinea":"Guinea","countries.guinea-bissau":"Guinea-Bissau","countries.guyana":"Guyana","countries.haiti":"Haiti","countries.honduras":"Honduras","countries.hong_kong":"Hong Kong","countries.hungary":"Hungary","countries.iceland":"Iceland","countries.india":"India","countries.indonesia":"Indonesia","countries.iran":"Iran","countries.iraq":"Iraq","countries.ireland":"Ireland","countries.isle_of_man":"Isle of Man","countries.israel":"Israel","countries.italy":"Italy","countries.jamaica":"Jamaica","countries.japan":"Japan","countries.jersey":"Jersey","countries.jordan":"Jordan","countries.kazakhstan":"Kazakhstan","countries.kenya":"Kenya","countries.kiribati":"Kiribati","countries.north_korea":"North Korea","countries.south_korea":"South Korea","countries.kosovo":"Kosovo","countries.kuwait":"Kuwait","countries.kyrgyzstan":"Kyrgyzstan","countries.laos":"Laos","countries.latvia":"Latvia","countries.lebanon":"Lebanon","countries.lesotho":"Lesotho","countries.liberia":"Liberia","countries.libya":"Libya","countries.liechtenstein":"Liechtenstein","countries.lithuania":"Lithuania","countries.luxembourg":"Luxembourg","countries.macau":"Macao","countries.macedonia":"Macedonia","countries.madagascar":"Madagascar","countries.malawi":"Malawi","countries.malaysia":"Malaysia","countries.maldives":"Maldives","countries.mali":"Mali","countries.malta":"Malta","countries.marshall_islands":"Marshall Islands","countries.mauritania":"Mauritania","countries.mauritius":"Mauritius","countries.mayotte":"Mayotte","countries.mexico":"Mexico","countries.micronesia":"Micronesia","countries.moldova":"Moldova","countries.monaco":"Monaco","countries.mongolia":"Mongolia","countries.montenegro":"Montenegro","countries.montserrat":"Montserrat","countries.morocco":"Morocco","countries.mozambique":"Mozambique","countries.myanmar":"Myanmar","countries.namibia":"Namibia","countries.nauru":"Nauru","countries.nepal":"Nepal","countries.netherlands":"Netherlands","countries.new_caledonia":"New Caledonia","countries.new_zealand":"New Zealand","countries.nicaragua":"Nicaragua","countries.niger":"Niger","countries.nigeria":"Nigeria","countries.niue":"Niue","countries.norfolk_island":"Norfolk Island","countries.northern_mariana_islands":"Northern Mariana Islands","countries.norway":"Norway","countries.oman":"Oman","countries.pakistan":"Pakistan","countries.palau":"Palau","countries.palestine":"Palestine","countries.panama":"Panama","countries.papua_new_guinea":"Papua New Guinea","countries.paraguay":"Paraguay","countries.peru":"Peru","countries.philippines":"Philippines","countries.pitcairn":"Pitekaien","countries.poland":"Poland","countries.portugal":"Portugal","countries.puerto_rico":"Puerto Rico","countries.qatar":"Qatar","countries.romania":"Romania","countries.russia":"Russia","countries.rwanda":"Rwanda","countries.saint_helena":"St. Helena","countries.saint_kitts_and_nevis":"Saint Kitts and Nevis","countries.saint_lucia":"Saint Lucia","countries.saint_vincent_and_the_grenadines":"Saint Vincent and the Grenadines","countries.samoa":"Samoa","countries.san_marino":"San Marino","countries.sao_tome_and_principe":"Sao Tome and Principe","countries.saudi_arabia":"Saudi Arabia","countries.senegal":"Senegal","countries.serbia":"Serbia","countries.seychelles":"Seychelles","countries.sierra_leone":"Sierra Leone","countries.singapore":"Singapore","countries.slovakia":"Slovakia","countries.slovenia":"Slovenia","countries.solomon_islands":"Solomon Islands","countries.somalia":"Somalia","countries.south_africa":"South Africa","countries.south_sudan":"South Sudan","countries.spain":"Spain","countries.sri_lanka":"Sri Lanka","countries.sudan":"Sudan","countries.suriname":"Surinam","countries.swaziland":"Swaziland","countries.sweden":"Sweden","countries.switzerland":"Switzerland","countries.syrian_arab_republic":"Syrian Arab Republic","countries.taiwan":"Taiwan","countries.tajikistan":"Tajikistan","countries.tanzania":"Tanzania","countries.thailand":"Thailand","countries.east_timor":"East Timor","countries.togo":"Togo","countries.tokelau":"Tokelau","countries.tonga":"Tonga","countries.trinidad_and_tobago":"Trinidad and Tobago","countries.tunisia":"Tunisia","countries.turkey":"Turkey","countries.turkmenistan":"Turkmenistan","countries.turks_and_caicos_islands":"Turks and Caicos Islands","countries.tuvalu":"Tuvalu","countries.uganda":"Uganda","countries.ukraine":"Ukraine","countries.united_arab_emirates":"United Arab Emirates","countries.united_kingdom":"United Kingdom","countries.united states":"United States","countries.uruguay":"Uruguay","countries.uzbekistan":"Uzbekistan","countries.vanuatu":"Vanuatu","countries.venezuela":"Venezuela","countries.vietnam":"Vietnam","countries.british_virgin_islands":"The British Virgin Islands","countries.us_virgin_islands":"US Virgin Islands","countries.wallis_and_futuna":"Wallis and Futuna","countries.western_sahara":"Western Sahara","countries.yemen":"Yemen","countries.zambia":"Zambia","countries.zimbabwe":"Zimbabwe","dashboard.channel_selector.select_channel":"Select Channel","dashboard.channel_selector.select_channel_label":"Each channel has its configuration settings.","dashboard.country_select.search_countries":"Search Countries","dashboard.menu.channel":"Channel","dashboard.menu.settings":"Settings","dashboard.menu.payment_methods":"Payment methods","dashboard.menu.verification_methods":"Verification methods","dashboard.menu.order_payment_methods":"Order Payments Methods","dashboard.pages.order_payment_methods.if_you_have_any_questions":"If you have any questions about this plugin from Buckaroo, then you can contact us by e-mail:","dashboard.pages.order_payment_methods.order_payment_methods":"Order Payment Methods","dashboard.pages.order_payment_methods.order_payment_methods_label":"Change the order of payment methods.","dashboard.pages.order_payment_methods.all_countries":"All Countries","dashboard.pages.order_payment_methods.all_coquesuntries":"All Countries","dashboard.pages.order_payment_methods.search_country":"Search country","dashboard.pages.order_payment_methods.payment_method_order_updated_successfully":"Payment method order updated successfully.","dashboard.pages.order_payment_methods.something_went_wrong":"Something went wrong.","dashboard.pages.order_payment_methods.how_to_order_payment_method":"How to change the order of the payment methods in the checkout","dashboard.pages.order_payment_methods.explanation_intro":`You can easily change the order of the payment methods by dragging them into the right place, from top to bottom. Even setting a specific payment method order for a specific country is possible. This so you can highlight local payment methods for customers across different countries.`,"dashboard.pages.order_payment_methods.step_one":`First select the country for which you want to change the display order of the payment methods. Or you can select \u201CAll Countries\u201D to use a specific order of the payment methods globally.`,"dashboard.pages.order_payment_methods.step_two":`Drag and drop the payment methods in the order of your liking. This can be done by dragging them from top to bottom with the arrow icons.`,"dashboard.pages.order_payment_methods.step_three":"Save your chosen payment methods order and check if the payment methods are showed in the correct order in the checkout of your webshop.","dashboard.pages.payments.service_code_label":"After you request your custom giftcard by Intersolve you will receive an email about your service code. If you have any questions about this do not hesitate to mail us at ","dashboard.pages.payments.configure_your_payment_name_settings":"Configure your {payment_name} settings","dashboard.pages.payments.configure_your_verification_name_settings":"Configure your {verification_name} settings","dashboard.pages.payments.modes_settings.live":"Live","dashboard.pages.payments.modes_settings.test":"Test","dashboard.pages.payments.modes_settings.off":"Off","dashboard.pages.payments.configure":"Configure","dashboard.pages.payments.settings":"Settings","dashboard.pages.payments.save":"Save","dashboard.pages.payments.mode":"Mode","dashboard.pages.payments.mode_label":'When set to "Live" you can do actual payments. When set to "Testing" you can do test transactions. This payment method will not appear when it is set to "Off".',"dashboard.pages.payments.front_label":"Front Label","dashboard.pages.payments.front_label_label":"This name will be displayed for this payment method in the checkout. When this field is empty, the standard payment method name will be displayed.","dashboard.pages.payments.payment_fee_incl_vat":"Payment fee incl. VAT","dashboard.pages.payments.payment_fee_incl_vat_label":"You can charge a fee when the customer select this payment. Specify static (e.g. 1.50). Decimals must be separated by a dot (.)","dashboard.pages.payments.order_amount_allowed":"Order amount allowed","dashboard.pages.payments.order_amount_allowed_label":"This method will only be shown when this condition is met.","dashboard.pages.payments.minimum_order_amount":"Minimum order amount","dashboard.pages.payments.maximum_order_amount":"Maximum order amount","dashboard.pages.payments.countries":"Countries","dashboard.pages.payments.countries_label":"The payment method will only be showed for selected countries. You can leave this setting empty to display the payment method for all countries.","dashboard.pages.payments.all_countries":"All Countries","dashboard.pages.payments.clear":"Clear","dashboard.pages.payments.search_country":"Search Country","dashboard.pages.payments.show_country_number_and_more":"and {country_number} more...","dashboard.pages.payments.show_less":"Show less","dashboard.pages.payments.client_side":"Client Side Encryption","dashboard.pages.payments.client_side_label":"Enable or disable client sided payment method behavior.","dashboard.pages.payments.seperate_authorize_and_capture":"Seperate authorize and capture","dashboard.pages.payments.seperate_authorize_and_capture_label":"When this option is enabled you have to manually capture the creditcard payment.","dashboard.pages.payments.allowed_creditcards":"Allowed Creditcards","dashboard.pages.payments.allowed_creditcards_label":"Only selected credit cards will this method be shown","dashboard.pages.payments.search_creditcard":"Search Creditcard","dashboard.pages.payments.allowed_giftcards":"Allowed giftcards","dashboard.pages.payments.allowed_giftcards_label":"Only selected giftcards will this method be shown","dashboard.pages.payments.add_custom_giftcard":"Add custom giftcard","dashboard.pages.payments.search_giftcard":"Search Giftcard","dashboard.pages.payments.custom_giftcard":"Custom giftcard","dashboard.pages.payments.add":"Add","dashboard.pages.payments.edit":"Edit","dashboard.pages.payments.remove":"Remove","dashboard.pages.payments.giftcard_name":"Giftcard Name","dashboard.pages.payments.enter_giftcard_details":"Enter giftcard details","dashboard.pages.payments.service_code":"Service Code","dashboard.pages.payments.custom_icon_url":"Custom Icon URL","dashboard.pages.payments.payment_methods":"Payments methods","dashboard.pages.payments.verification_methods":"Verifications methods","dashboard.pages.payments.configure_your_payment_method_settings":"Configure your payment method settings","dashboard.pages.payments.configure_your_verification_method_settings":"Configure your verification method settings","dashboard.pages.payments.customer_type":"Customer type","dashboard.pages.payments.display_type":"Button Display Type","dashboard.pages.payments.display_type_label":"This setting determines how the bank selection for this payment method will be displayed in the checkout.
You can choose between radio buttons or a dropdown selection.","dashboard.pages.payments.display_types.radio":"Radio","dashboard.pages.payments.display_types.dropdown":"Dropdown","dashboard.pages.payments.send_email_instruction":"Send payment instruction email","dashboard.pages.payments.send_email_instruction_yes":"Yes","dashboard.pages.payments.send_email_instruction_no":"No","dashboard.pages.payments.send_email_merchant":"Merchant sends email","dashboard.pages.payments.due_date":"Due date (in days)","dashboard.pages.payments.allowed_methods":"Allowed payment methods","dashboard.pages.payments.vat_type_for_wrap":"Vat type for gift wrapping","dashboard.pages.payments.vat_type_for_wrap_select":"Please select vat type for gift wrapping","dashboard.pages.payments.min_order_amount_b2b":"Minimum B2B order amount","dashboard.pages.payments.max_order_amount_b2c":"Maximum B2B order amount","dashboard.pages.payments.in3.version.label":"In3 version","dashboard.pages.payments.in3.version.v3":"V3 (V3)","dashboard.pages.payments.in3.version.v2":"V2 (Capayable/In2)","dashboard.pages.payments.customer.type_label":"Customer Type","dashboard.pages.payments.customer.type.both":"Both","dashboard.pages.payments.customer.type.b2c":"B2C","dashboard.pages.payments.customer.type.b2c.long":"Business-to-consumer","dashboard.pages.payments.customer.type.b2b":"B2B","dashboard.pages.payments.customer.type.b2b.long":"Business-to-Business","dashboard.pages.payments.logo":"Payment logo","dashboard.pages.payments.seller_protection":"Seller protection","dashboard.pages.payments.seller_protection_enable":"Enable PayPal Seller Protection","dashboard.pages.payments.seller_protection_enabled":"Yes","dashboard.pages.payments.seller_protection_disabled":"No","dashboard.pages.payments.idin.display_mode":"iDIN mode:","dashboard.pages.payments.idin.display_mode.product":"Specific products","dashboard.pages.payments.idin.display_mode.global":"Global","dashboard.pages.payments.idin.display_mode_label":`With this setting you can select whether iDIN is enabled for all the products in the store (globally) or only for specific products. -For specific products you also need to enable it for the products in the PrestaShop catalog.`,"dashboard.pages.settings.credentials_label":"Get your credentials from the Buckaroo Plaza","dashboard.pages.settings.refunds_label_label":"When enabled you can do (partial) refunds directly from your PrestaShop admin area Read more","dashboard.pages.settings.refunds_label_explanation":"This description is used for the refunds and will be visible in Buckaroo and on the bank statement of the consumer. We recommend using the webshop name for recognition.","dashboard.pages.settings.settings":"Settings","dashboard.pages.settings.settings_label":"Configure your settings","dashboard.pages.settings.mode":"Mode","dashboard.pages.settings.mode_label":"Easily change the mode","dashboard.pages.settings.no_im_testing":"No, I'm Testing","dashboard.pages.settings.when_your_shop_is_not_live_yet":"When your shop is not live yet","dashboard.pages.settings.yes_im_ready_to_receive_payments":"Yes, I'm ready to receive payments","dashboard.pages.settings.your_shop_is_live_and_ready_to_receive_real_payments":"Your shop is live and ready to receive real payments","dashboard.pages.settings.credentials":"Credentials","dashboard.pages.settings.test_connection":"Test Connection","dashboard.pages.settings.successfully_verified_the_credentials":"Successfully verified the credentials!","dashboard.pages.settings.the_credentials_are_not_valid":"The credentials are not valid!","dashboard.pages.settings.website_key":"Website key","dashboard.pages.settings.secret_key":"Secret key","dashboard.pages.settings.transaction_description":"Transaction Description","dashboard.pages.settings.transaction_description_label":'Transaction description can be filled with static text and tags like: {order_number} and {shop_name}.',"dashboard.pages.settings.example":"Example","dashboard.pages.settings.order_number":"Order number","dashboard.pages.settings.shop_name":"Shop name","dashboard.pages.settings.order_number2":"order_number","dashboard.pages.settings.shop_name2":"shop_name","dashboard.pages.settings.refunds":"Refunds","dashboard.pages.settings.refunds_label":"Refund Description","dashboard.pages.settings.return_url":"Return URL","dashboard.pages.settings.return_url_label":"Set a custom return URL after the customer finishes the payment.","dashboard.pages.settings.return_url_explanation":"When this field is left empty, the customer will return to the default PrestaShop confirmation page.","dashboard.pages.settings.checkout_url":"Checkout URL","dashboard.pages.settings.checkout_url_label":"Set a custom checkout URL after the customer cancel the payment or something went wrong during the process.","dashboard.pages.settings.checkout_url_explanation":"When this field is left empty, the customer will return to the default PrestaShop checkout page.","dashboard.pages.settings.save":"Save","dashboard.pages.settings.add":"Add","dashboard.pages.settings.remove":"Remove","dashboard.pages.settings.custom_scripts":"Custom scripts","dashboard.pages.settings.custom_scripts_label":"Add custom javascript or css to your checkout.","dashboard.pages.settings.custom_scripts_placeholder":"Javascript / CSS (https://example.com/style.css)","dashboard.pages.settings.settings_successfully_updated":"Settings successfully updated.","dashboard.pages.settings.welcome_to_buckaroo":"Welcome to Buckaroo","dashboard.pages.settings.explanation_intro":"Welcome to the configuration panel of the Buckaroo Payment app for your PrestaShop webshop. In this panel you can set the app completely to your liking. Below you will find the steps to configue the settings. For further questions, please refer to our documentation page.","dashboard.pages.settings.step_one":"Fill in your websitekey","dashboard.pages.settings.step_two":"Fill in your secretkey","dashboard.pages.settings.step_three":"Click on \u2018test connection\u2019, when oke proceed to step 4.","dashboard.pages.settings.step_four":"Configure advanced settings & payment methods","dashboard.pages.settings.step_five":"Start testing, when testing is oke you can start LIVE transactions","dashboard.pages.settings.if_you_have_any_questions":"If you have any questions about the above, you can contact us by email:","dashboard.pages.settings.if_you_have_any_questions_link":" or phone ","dashboard.pages.settings.advance_settings":"Advanced Settings","dashboard.pages.settings.hide_advance_settings":"Hide Advanced Settings","dashboard.pages.settings.re_stock_products":"Re-stock Products","dashboard.pages.settings.re_stock_products_label":"Whether refunded products should be returned to inventory (increasing the quantity in stock).","dashboard.pages.settings.generate_credit_slip":"Generate a Credit Slip","dashboard.pages.settings.generate_credit_slip_label":"Whether a credit note should be generated.","dashboard.pages.settings.generate_voucher":"Generate a Voucher","dashboard.pages.settings.generate_voucher_label":"Whether a voucher should be generated.","dashboard.pages.settings.generate_negative_payments":"Create Negative Payments on Refund","dashboard.pages.settings.generate_negative_payments_label":"Whether a negative payment does also need to be created when performing a refund.","payment_methods.applepay":"Apple Pay","payment_methods.creditcard":"Cards","payment_methods.giftcard":"Giftcard","payment_methods.ideal":"iDEAL","payment_methods.paybybank":"PayByBank","payment_methods.sepadirectdebit":"SEPA Direct Debit","payment_methods.kbc":"KBC","payment_methods.in3":"In3","payment_methods.billink":"Billink","payment_methods.eps":"EPS","payment_methods.przelewy24":"Przelewy24","payment_methods.payperemail":"PayPerEmail","payment_methods.payconiq":"Payconiq","payment_methods.tinka":"Tinka","payment_methods.paypal":"PayPal","payment_methods.bancontactmrcash":"Bancontact","payment_methods.sofortueberweisung":"Sofort","payment_methods.giropay":"Giropay","payment_methods.klarna":"Klarna","payment_methods.afterpay":"Riverty","payment_methods.trustly":"Trustly","payment_methods.belfius":"Belfius","payment_methods.transfer":"Transfer","payment_methods.wechatpay":"WeChatPay","payment_methods.alipay":"Alipay","payment_methods.idin":"iDIN","payment_methods.multibanco":"Multibanco","payment_methods.mbway":"MB WAY","verification_methods.idin":"iDIN"},Rk={"buckaroo.response.invalid_parameter_originaltransaction":"Ongeldige parameter originaltransaction.","buckaroo.response.an_error_occurred_while_processing_the_transaction_unable_to_pay_more_with_giftcards":"Er is een fout opgetreden tijdens het verwerken van de transactie: Je kunt niet meer cadeaukaarten gebruiken","countries.afghanistan":"Afghanistan","countries.albania":"Albani\xEB","countries.algeria":"Algerije","countries.american_samoa":"Amerikaans Samoa","countries.andorra":"Andorra","countries.angola":"Angola","countries.anguilla":"Anguilla","countries.antigua_and_barbuda":"Antigua en Barbuda","countries.argentina":"Argentini\xEB","countries.armenia":"Armeni\xEB","countries.aruba":"Aruba","countries.australia":"Australi\xEB","countries.austria":"Oostenrijk","countries.azerbaijan":"Azerbeidzjan","countries.bahamas":"Bahamas","countries.bahrain":"Bahrein","countries.bangladesh":"Bangladesh","countries.barbados":"Barbados","countries.belarus":"Wit-Rusland","countries.belgium":"Belgi\xEB","countries.belize":"Belize","countries.benin":"Benin","countries.bermuda":"Bermuda","countries.bhutan":"Bhutan","countries.bolivia":"Bolivia","countries.bosnia_and_herzegovina":"Bosni\xEB en Herzegovina","countries.botswana":"Botswana","countries.brazil":"Brazili\xEB","countries.brunei_darussalam":"Brunei Darussalam","countries.bulgaria":"Bulgarije","countries.burkina_faso":"Burkina Faso","countries.burundi":"Burundi","countries.cambodia":"Cambodja","countries.cameroon":"Kameroen","countries.canada":"Canada","countries.cape_verde":"Kaapverdi\xEB","countries.cayman_islands":"Kaaimaneilanden","countries.central_african_republic":"Centraal-Afrikaanse Republiek","countries.chad":"Tsjaad","countries.chile":"Chili","countries.china":"China","countries.colombia":"Colombia","countries.comoros":"Comoren","countries.republic_of_the_congo":"Republiek Congo","countries.democratic_republic_of_the_congo":"Democratische Republiek Congo","countries.cook_islands":"Cookeilanden","countries.costa_rica":"Costa Rica","countries.c\xF4te_d'ivoire":"Ivoorkust","countries.croatia":"Kroati\xEB","countries.cuba":"Cuba","countries.cura\xE7ao":"Cura\xE7ao","countries.cyprus":"Cyprus","countries.czech_republic":"Tsjechische Republiek","countries.denmark":"Denemarken","countries.djibouti":"Djibouti","countries.dominica":"Dominica","countries.dominican_republic":"Dominicaanse Republiek","countries.ecuador":"Ecuador","countries.egypt":"Egypte","countries.el_salvador":"El Salvador","countries.equatorial_guinea":"Equatoriaal-Guinea","countries.eritrea":"Eritrea","countries.estonia":"Estland","countries.ethiopia":"Ethiopi\xEB","countries.falkland_island":"Falklandeiland","countries.faroe_islands":"Faer\xF6er Eilanden","countries.fiji":"Fiji","countries.finland":"Finland","countries.france":"Frankrijk","countries.french_polynesia":"Frans-Polynesi\xEB","countries.gabon":"Gabon","countries.gambia":"Gambia","countries.georgia":"Georgi\xEB","countries.germany":"Duitsland","countries.ghana":"Ghana","countries.gibraltar":"Gibraltar","countries.greece":"Griekenland","countries.greenland":"Groenland","countries.grenada":"Grenada","countries.guam":"Guam","countries.guatemala":"Guatemala","countries.guernsey":"Guernsey","countries.guinea":"Guinee","countries.guinea-bissau":"Guinee-Bissau","countries.guyana":"Guyana","countries.haiti":"Ha\xEFti","countries.honduras":"Honduras","countries.hong_kong":"Hongkong","countries.hungary":"Hongarije","countries.iceland":"IJsland","countries.india":"India","countries.indonesia":"Indonesi\xEB","countries.iran":"Iran","countries.iraq":"Irak","countries.ireland":"Ierland","countries.isle_of_man":"Man","countries.israel":"Isra\xEBl","countries.italy":"Itali\xEB","countries.jamaica":"Jamaica","countries.japan":"Japan","countries.jersey":"Jersey","countries.jordan":"Jordani\xEB","countries.kazakhstan":"Kazachstan","countries.kenya":"Kenia","countries.kiribati":"Kiribati","countries.north_korea":"Noord-Korea","countries.south_korea":"Zuid-Korea","countries.kosovo":"Kosovo","countries.kuwait":"Koeweit","countries.kyrgyzstan":"Kirgizi\xEB","countries.laos":"Laos","countries.latvia":"Letland","countries.lebanon":"Libanon","countries.lesotho":"Lesotho","countries.liberia":"Liberia","countries.libya":"Libi\xEB","countries.liechtenstein":"Liechtenstein","countries.lithuania":"Litouwen","countries.luxembourg":"Luxemburg","countries.macau":"Macau","countries.macedonia":"Macedoni\xEB","countries.madagascar":"Madagaskar","countries.malawi":"Malawi","countries.malaysia":"Maleisi\xEB","countries.maldives":"Maldiven","countries.mali":"Mali","countries.malta":"Malta","countries.marshall_islands":"Marshalleilanden","countries.mauritania":"Mauritani\xEB","countries.mauritius":"Mauritius","countries.mayotte":"Mayotte","countries.mexico":"Mexico","countries.micronesia":"Micronesi\xEB","countries.moldova":"Moldavi\xEB","countries.monaco":"Monaco","countries.mongolia":"Mongoli\xEB","countries.montenegro":"Montenegro","countries.montserrat":"Montserrat","countries.morocco":"Marokko","countries.mozambique":"Mozambique","countries.myanmar":"Myanmar","countries.namibia":"Namibi\xEB","countries.nauru":"Nauru","countries.nepal":"Nepal","countries.netherlands":"Nederland","countries.new_caledonia":"Nieuw-Caledoni\xEB","countries.new_zealand":"Nieuw-Zeeland","countries.nicaragua":"Nicaragua","countries.niger":"Niger","countries.nigeria":"Nigeria","countries.niue":"Niue","countries.norfolk_island":"Norfolkeiland","countries.northern_mariana_islands":"Noordelijke Marianen","countries.norway":"Noorwegen","countries.oman":"Oman","countries.pakistan":"Pakistan","countries.palau":"Palau","countries.palestine":"Palestina","countries.panama":"Panama","countries.papua_new_guinea":"Papoea-Nieuw-Guinea","countries.paraguay":"Paraguay","countries.peru":"Peru","countries.philippines":"Filipijnen","countries.pitcairn":"Pitcairn","countries.poland":"Polen","countries.portugal":"Portugal","countries.puerto_rico":"Puerto Rico","countries.qatar":"Qatar","countries.romania":"Roemeni\xEB","countries.russia":"Rusland","countries.rwanda":"Rwanda","countries.saint_helena":"Sint-Helena","countries.saint_kitts_and_nevis":"Saint Kitts en Nevis","countries.saint_lucia":"Saint Lucia","countries.saint_vincent_and_the_grenadines":"Saint Vincent en de Grenadines","countries.samoa":"Samoa","countries.san_marino":"San Marino","countries.s\xE3o_tom\xE9_and_pr\xEDncipe":"Sao Tom\xE9 en Principe","countries.saudi_arabia":"Saoedi-Arabi\xEB","countries.senegal":"Senegal","countries.serbia":"Servi\xEB","countries.seychelles":"Seychellen","countries.sierra_leone":"Sierra Leone","countries.singapore":"Singapore","countries.sint_maarten":"Sint-Maarten","countries.slovakia":"Slowakije","countries.slovenia":"Sloveni\xEB","countries.solomon_islands":"Salomonseilanden","countries.somalia":"Somali\xEB","countries.south_africa":"Zuid-Afrika","countries.south_sudan":"Zuid-Soedan","countries.spain":"Spanje","countries.sri_lanka":"Sri Lanka","countries.sudan":"Soedan","countries.suriname":"Suriname","countries.swaziland":"Swaziland","countries.sweden":"Zweden","countries.switzerland":"Zwitserland","countries.syria":"Syri\xEB","countries.taiwan":"Taiwan","countries.tajikistan":"Tadzjikistan","countries.tanzania":"Tanzania","countries.thailand":"Thailand","countries.timor-leste":"Oost-Timor","countries.togo":"Togo","countries.tonga":"Tonga","countries.trinidad_and_tobago":"Trinidad en Tobago","countries.tunisia":"Tunesi\xEB","countries.turkey":"Turkije","countries.turkmenistan":"Turkmenistan","countries.turks_and_caicos_islands":"Turks- en Caicoseilanden","countries.tuvalu":"Tuvalu","countries.uganda":"Oeganda","countries.ukraine":"Oekra\xEFne","countries.united_arab_emirates":"Verenigde Arabische Emiraten","countries.united_kingdom":"Verenigd Koninkrijk","countries.united_states":"Verenigde Staten","countries.uruguay":"Uruguay","countries.uzbekistan":"Oezbekistan","countries.vanuatu":"Vanuatu","countries.vatican_city":"Vaticaanstad","countries.venezuela":"Venezuela","countries.vietnam":"Vietnam","countries.british_virgin_islands":"Britse Maagdeneilanden","countries.us_virgin_islands":"Amerikaanse Maagdeneilanden","countries.wallis_and_futuna":"Wallis en Futuna","countries.western_sahara":"Westelijke Sahara","countries.yemen":"Jemen","countries.zambia":"Zambia","countries.zimbabwe":"Zimbabwe","dashboard.channel_selector.select_channel":"Selecteer Kanaal","dashboard.channel_selector.select_channel_label":"Elk kanaal heeft zijn eigen configuratie-instellingen.","dashboard.country_select.search_countries":"Zoek Landen","dashboard.menu.channel":"Kanaal","dashboard.menu.settings":"Instellingen","dashboard.menu.payment_methods":"Betaalmethoden","dashboard.menu.verification_methods":"Verificatiemethoden","dashboard.menu.order_payment_methods":"Betaalmethoden Volgorde","dashboard.pages.order_payment_methods.order_payment_methods":"Betaalmethode volgorde","dashboard.pages.order_payment_methods.if_you_have_any_questions":"Heeft u vragen over deze plugin van Buckaroo, dan kunt u contact met ons opnemen via e-mail:","dashboard.pages.order_payment_methods.if_you_have_any_questions_link":" of telefoon ","dashboard.pages.order_payment_methods.order_payment_methods_label":"Wijzig de volgorde van betaalmethoden","dashboard.pages.order_payment_methods.all_countries":"Alle landen","dashboard.pages.order_payment_methods.search_country":"Zoek land","dashboard.pages.order_payment_methods.payment_method_order_updated_successfully":"Betaalmethoden volgorde succesvol ge\xFCpdatet.","dashboard.pages.order_payment_methods.something_went_wrong":"Er is iets fout gegaan.","dashboard.pages.order_payment_methods.how_to_order_payment_method":"Hoe u uw betaalmethode volgorde aan kunt passen","dashboard.pages.order_payment_methods.explanation_intro":"Om de betaalmethoden per land in de juiste volgorde in te stellen, dien je aan de linkerkant van dit scherm het gewenste land te selecteren. Je krijgt dan een overzicht van de betaalmethoden die voor dat land 'aan' staan. Je kunt ze vervolgens in de juiste volgorde zetten door te slepen page.","dashboard.pages.order_payment_methods.step_one":"Selecteer het land waarvoor je de volgorde van de betaalmethoden wilt wijzigen.","dashboard.pages.order_payment_methods.step_two":"Sleep de betaalmethoden in de volgorde van je voorkeur.","dashboard.pages.order_payment_methods.step_three":"Sla op en controleer in je webshop (checkout) of alles correct is.","dashboard.pages.payments.configure_your_payment_name_settings":"Configureer je instellingen voor {payment_name}","dashboard.pages.payments.configure_your_verification_name_settings":"Configureer je instellingen voor {verification_name}","dashboard.pages.payments.modes_settings.live":"Live","dashboard.pages.payments.modes_settings.test":"Test","dashboard.pages.payments.modes_settings.off":"Uit","dashboard.pages.payments.configure":"Configureer","dashboard.pages.payments.settings":"Instellingen","dashboard.pages.payments.save":"Opslaan","dashboard.pages.payments.mode":"Modus","dashboard.pages.payments.mode_label":'Indien ingesteld op "Live", dan kun je daadwerkelijke betalingen doen. Indien ingesteld op "Test", dan kun je testtransacties doen. De betaalmethode verschijnt niet als deze op "Uit" staat.',"dashboard.pages.payments.front_label":"Betaalmethode naam","dashboard.pages.payments.front_label_label":"Deze naam wordt weergegeven in de checkout.","dashboard.pages.payments.payment_fee_incl_vat":"Betaalkosten incl. BTW","dashboard.pages.payments.payment_fee_incl_vat_label":"Je kunt kosten in rekening brengen wanneer de klant deze betaling selecteert. Specificeer statisch (bijv. 1,50). Decimalen moeten worden gescheiden door een punt (.)","dashboard.pages.payments.order_amount_allowed":"Bestelbedrag restricties","dashboard.pages.payments.order_amount_allowed_label":"Deze methode wordt alleen weergegeven als aan deze voorwaarde is voldaan.","dashboard.pages.payments.minimum_order_amount":"Minimaal toegestane bestelbedrag","dashboard.pages.payments.maximum_order_amount":"Maximaal toegestane bestelbedrag","dashboard.pages.payments.countries":"Landen","dashboard.pages.payments.countries_label":"Alleen geselecteerde landen zullen deze betaalmethode tonen, laat dit veld leeg om de methode voor alle landen in te schakelen.","dashboard.pages.payments.all_countries":"Alle landen","dashboard.pages.payments.clear":"Resetten","dashboard.pages.payments.search_country":"Zoek Land","dashboard.pages.payments.show_country_number_and_more":"en {country_number} meer...","dashboard.pages.payments.show_less":"Minder tonen","dashboard.pages.payments.client_side":"Cli\xEBnt Side Encryption","dashboard.pages.payments.client_side_label":"Gedrag van cli\xEBntzijdige betaalmethode in- of uitschakelen.","dashboard.pages.payments.seperate_authorize_and_capture":"Losse authorize en capture","dashboard.pages.payments.seperate_authorize_and_capture_label":"Wanneer deze optie is ingeschakeld, dien je de betaling van de creditcard handmatig vast te leggen (capture).","dashboard.pages.payments.allowed_creditcards":"Toegestane Creditcards","dashboard.pages.payments.allowed_creditcards_label":"Alleen geselecteerde creditcards worden op deze manier getoond","dashboard.pages.payments.search_creditcard":"Zoek Creditcard","dashboard.pages.payments.allowed_giftcards":"Toegestane cadeaukaarten","dashboard.pages.payments.allowed_giftcards_label":"Alleen geselecteerde cadeaukaarten worden op deze manier getoond","dashboard.pages.payments.add_custom_giftcard":"Eigen cadeaukaart toevoegen","dashboard.pages.payments.search_giftcard":"Zoek Cadeaukaart","dashboard.pages.payments.custom_giftcard":"Eigen cadeaukaart","dashboard.pages.payments.add":"Toevoegen","dashboard.pages.payments.edit":"Aanpassen","dashboard.pages.payments.remove":"Verwijderen","dashboard.pages.payments.giftcard_name":"Cadeaukaart Naam","dashboard.pages.payments.enter_giftcard_details":"Voer cadeaukaartgegevens in","dashboard.pages.payments.service_code":"Service Code","dashboard.pages.payments.custom_icon_url":"Aangepaste cadeaukaart logo URL","dashboard.pages.payments.payment_methods":"Betalingsmethoden","dashboard.pages.payments.verification_methods":"Betalingsmethoden","dashboard.pages.payments.configure_your_payment_method_settings":"Configureer uw betalingsmethode-instellingen","dashboard.pages.payments.configure_your_verification_method_settings":"Configureer uw instellingen voor de verificatiemethode","dashboard.pages.payments.customer_type":"Klant type","dashboard.pages.payments.display_type":"Weergavetype","dashboard.pages.payments.display_type_label":"Deze instelling bepaalt hoe de bankselectie voor deze betaalmethode wordt weergegeven bij het afrekenen.
Je kunt kiezen tussen keuzerondjes of een vervolgkeuzelijst.","dashboard.pages.payments.display_types.radio":"Radio","dashboard.pages.payments.display_types.dropdown":"Laten vallen","dashboard.pages.payments.send_email_instruction":"Stuur betalingsinstructie e-mail","dashboard.pages.payments.send_email_instruction_yes":"Ja","dashboard.pages.payments.send_email_instruction_no":"Nee","dashboard.pages.payments.send_email_merchant":"Merchant stuurt e-mail","dashboard.pages.payments.due_date":"Vervaldatum (in dagen)","dashboard.pages.payments.allowed_methods":"Toegestane betaalmethoden","dashboard.pages.payments.vat_type_for_wrap":"BTW-type voor cadeauverpakking","dashboard.pages.payments.vat_type_for_wrap_select":"Selecteer BTW-type voor cadeauverpakking","dashboard.pages.payments.min_order_amount_b2b":"Minimale B2B bestelbedrag","dashboard.pages.payments.max_order_amount_b2c":"Maximale B2B bestelbedrag","dashboard.pages.payments.in3.version.label":"In3 versie","dashboard.pages.payments.in3.version.v3":"V3 (V3)","dashboard.pages.payments.in3.version.v2":"V2 (Capayable/In2)","dashboard.pages.payments.customer.type_label":"Klanttype","dashboard.pages.payments.customer.type.both":"Beide","dashboard.pages.payments.customer.type.b2c":"B2C","dashboard.pages.payments.customer.type.b2c.long":"Business-to-consumer","dashboard.pages.payments.customer.type.b2b":"B2B","dashboard.pages.payments.customer.type.b2b.long":"Business-to-Business","dashboard.pages.payments.logo":"Betaalmethode logo","dashboard.pages.payments.seller_protection":"Verkopersbescherming","dashboard.pages.payments.seller_protection_enable":"Schakel de PayPal Verkopersbescherming in","dashboard.pages.payments.seller_protection_enabled":"Ja","dashboard.pages.payments.seller_protection_disabled":"Nee","dashboard.pages.payments.idin.display_mode":"iDIN modus:","dashboard.pages.payments.idin.display_mode.product":"Specifieke producten","dashboard.pages.payments.idin.display_mode.global":"Globaal","dashboard.pages.payments.idin.display_mode_label":"Met deze instelling kun je selecteren of iDIN is ingeschakeld voor alle producten in de winkel (globaal) of alleen voor specifieke producten. Voor specifieke producten moet je het ook inschakelen voor de producten in de PrestaShop-catalogus.","dashboard.pages.settings.settings":"Instellingen","dashboard.pages.settings.settings_label":"Configureer je instellingen","dashboard.pages.settings.mode":"Modus","dashboard.pages.settings.mode_label":"Verander eenvoudig de modus","dashboard.pages.settings.no_im_testing":"Nee, ik wil testen","dashboard.pages.settings.when_your_shop_is_not_live_yet":"Wanneer je webwinkel nog niet live is","dashboard.pages.settings.yes_im_ready_to_receive_payments":"Ja, ik ben klaar om betalingen te ontvangen","dashboard.pages.settings.your_shop_is_live_and_ready_to_receive_real_payments":"Je webwinkel is live en klaar om echte betalingen te ontvangen","dashboard.pages.settings.credentials":"Identificatie","dashboard.pages.settings.test_connection":"Test Gegevens","dashboard.pages.settings.successfully_verified_the_credentials":"De inloggegevens zijn succesvol geverifieerd!","dashboard.pages.settings.the_credentials_are_not_valid":"De inloggegevens zijn onjuist!","dashboard.pages.settings.website_key":"Website key","dashboard.pages.settings.secret_key":"Secret key","dashboard.pages.settings.transaction_description":"Transactie Beschrijving","dashboard.pages.settings.transaction_description_label":'De transactiebeschrijving kan worden gevuld met een statische tekst en tags zoals: {order_number} en {shop_name}.',"dashboard.pages.settings.example":"Voorbeeld","dashboard.pages.settings.order_number":"Bestellingsnummer","dashboard.pages.settings.shop_name":"Winkelnaam","dashboard.pages.settings.order_number2":"bestellingsnummer","dashboard.pages.settings.shop_name2":"winkelnaam","dashboard.pages.settings.refunds":"Terugbetalingen","dashboard.pages.settings.refunds_label":"Terugbetaling omschrijving","dashboard.pages.settings.return_url":"Return-URL","dashboard.pages.settings.return_url_label":"Stel een aangepaste return-URL in nadat de klant de betaling heeft voltooid.","dashboard.pages.settings.return_url_explanation":"Wanneer dit veld leeg wordt gelaten, keert de klant terug naar de standaard PrestaShop bevestigingspagina.","dashboard.pages.settings.checkout_url":"Cancel-URL","dashboard.pages.settings.checkout_url_label":"Stel een aangepaste cancel-URL in nadat de klant de betaling heeft geannuleerd of als er iets mis is gegaan tijdens het proces.","dashboard.pages.settings.checkout_url_explanation":"Wanneer dit veld leeg wordt gelaten, keert de klant terug naar de standaard PrestaShop afrekenpagina.","dashboard.pages.settings.save":"Opslaan","dashboard.pages.settings.add":"Toevoegen","dashboard.pages.settings.remove":"Verwijder","dashboard.pages.settings.custom_scripts":"Aangepaste scripts","dashboard.pages.settings.custom_scripts_label":"Voeg aangepaste javascript of css code toe aan je checkout.","dashboard.pages.settings.custom_scripts_placeholder":"Javascript / CSS (https://example.com/style.css)","dashboard.pages.settings.settings_successfully_updated":"Instellingen succesvol bijgewerkt.","dashboard.pages.settings.welcome_to_buckaroo":"Welkom bij Buckaroo","dashboard.pages.settings.explanation_intro":"Welkom bij het configuratiescherm van de Buckaroo Payment app voor jouw PrestaShop webshop. In dit scherm kun je de app helemaal naar wens instellen. Hieronder vind je de stappen om de instellingen te configureren. Voor verdere vragen verwijzen wij je naar onze documentatie.","dashboard.pages.settings.step_three":"Klik op \u2018test verbinding\u2019, indien correct ga verder naar stap 4.","dashboard.pages.settings.step_four":"Configureer de geavanceerde instellingen & Betaalmethodes","dashboard.pages.settings.step_five":"Begin met testen, als het testen goed gaat, kun je LIVE transacties starten","dashboard.pages.settings.advance_settings":"Geavanceerde Instellingen","dashboard.pages.settings.hide_advance_settings":"Geavanceerde Instellingen Verbergen","dashboard.pages.settings.re_stock_products":"Voorraad aanvullen bij retourproducten","dashboard.pages.settings.re_stock_products_label":"Of terugbetaalde producten moeten worden teruggeplaatst in de voorraad (waardoor de voorraadhoeveelheid wordt verhoogd).","dashboard.pages.settings.generate_credit_slip":"Een creditnota genereren","dashboard.pages.settings.generate_credit_slip_label":"Of er een creditnota moet worden gegenereerd.","dashboard.pages.settings.generate_voucher":"Een voucher genereren","dashboard.pages.settings.generate_voucher_label":"Of er een voucher moet worden gegenereerd.","dashboard.pages.settings.generate_negative_payments":"Een negatieve betaling bij terugbetalingen aanmaken","dashboard.pages.settings.generate_negative_payments_label":"Of er ook een negatieve betaling moet worden gecre\xEBerd bij het uitvoeren van een terugbetaling.","payment_methods.applepay":"Apple Pay","payment_methods.creditcard":"Creditcard","payment_methods.giftcard":"Giftcard","payment_methods.ideal":"iDEAL","payment_methods.paybybank":"PayByBank","payment_methods.sepadirectdebit":"SEPA Direct Debit","payment_methods.kbc":"KBC","payment_methods.in3":"In3","payment_methods.billink":"Billink","payment_methods.eps":"EPS","payment_methods.przelewy24":"Przelewy24","payment_methods.payperemail":"PayPerEmail","payment_methods.payconiq":"Payconiq","payment_methods.tinka":"Tinka","payment_methods.paypal":"PayPal","payment_methods.bancontactmrcash":"Bancontact","payment_methods.sofortueberweisung":"Sofort","payment_methods.giropay":"Giropay","payment_methods.klarna":"Klarna","payment_methods.afterpay":"Riverty","payment_methods.trustly":"Trustly","payment_methods.transfer":"Transfer","payment_methods.wechatpay":"WeChatPay","payment_methods.alipay":"Alipay","payment_methods.idin":"iDIN","payment_methods.multibanco":"Multibanco","payment_methods.mbway":"MB WAY","verification_methods.idin":"iDIN"};/* +For specific products you also need to enable it for the products in the PrestaShop catalog.`,"dashboard.pages.settings.credentials_label":"Get your credentials from the Buckaroo Plaza","dashboard.pages.settings.refunds_label_label":"When enabled you can do (partial) refunds directly from your PrestaShop admin area Read more","dashboard.pages.settings.refunds_label_explanation":"This description is used for the refunds and will be visible in Buckaroo and on the bank statement of the consumer. We recommend using the webshop name for recognition.","dashboard.pages.settings.settings":"Settings","dashboard.pages.settings.settings_label":"Configure your settings","dashboard.pages.settings.mode":"Mode","dashboard.pages.settings.mode_label":"Easily change the mode","dashboard.pages.settings.no_im_testing":"No, I'm Testing","dashboard.pages.settings.when_your_shop_is_not_live_yet":"When your shop is not live yet","dashboard.pages.settings.yes_im_ready_to_receive_payments":"Yes, I'm ready to receive payments","dashboard.pages.settings.your_shop_is_live_and_ready_to_receive_real_payments":"Your shop is live and ready to receive real payments","dashboard.pages.settings.credentials":"Credentials","dashboard.pages.settings.test_connection":"Test Connection","dashboard.pages.settings.successfully_verified_the_credentials":"Successfully verified the credentials!","dashboard.pages.settings.the_credentials_are_not_valid":"The credentials are not valid!","dashboard.pages.settings.website_key":"Website key","dashboard.pages.settings.secret_key":"Secret key","dashboard.pages.settings.transaction_description":"Transaction Description","dashboard.pages.settings.transaction_description_label":'Transaction description can be filled with static text and tags like: {order_number} and {shop_name}.',"dashboard.pages.settings.example":"Example","dashboard.pages.settings.order_number":"Order number","dashboard.pages.settings.shop_name":"Shop name","dashboard.pages.settings.order_number2":"order_number","dashboard.pages.settings.shop_name2":"shop_name","dashboard.pages.settings.refunds":"Refunds","dashboard.pages.settings.refunds_label":"Refund Description","dashboard.pages.settings.return_url":"Return URL","dashboard.pages.settings.return_url_label":"Set a custom return URL after the customer finishes the payment.","dashboard.pages.settings.return_url_explanation":"When this field is left empty, the customer will return to the default PrestaShop confirmation page.","dashboard.pages.settings.checkout_url":"Checkout URL","dashboard.pages.settings.checkout_url_label":"Set a custom checkout URL after the customer cancel the payment or something went wrong during the process.","dashboard.pages.settings.checkout_url_explanation":"When this field is left empty, the customer will return to the default PrestaShop checkout page.","dashboard.pages.settings.save":"Save","dashboard.pages.settings.add":"Add","dashboard.pages.settings.remove":"Remove","dashboard.pages.settings.custom_scripts":"Custom scripts","dashboard.pages.settings.custom_scripts_label":"Add custom javascript or css to your checkout.","dashboard.pages.settings.custom_scripts_placeholder":"Javascript / CSS (https://example.com/style.css)","dashboard.pages.settings.settings_successfully_updated":"Settings successfully updated.","dashboard.pages.settings.welcome_to_buckaroo":"Welcome to Buckaroo","dashboard.pages.settings.explanation_intro":"Welcome to the configuration panel of the Buckaroo Payment app for your PrestaShop webshop. In this panel you can set the app completely to your liking. Below you will find the steps to configue the settings. For further questions, please refer to our documentation page.","dashboard.pages.settings.step_one":"Fill in your websitekey","dashboard.pages.settings.step_two":"Fill in your secretkey","dashboard.pages.settings.step_three":"Click on \u2018test connection\u2019, when oke proceed to step 4.","dashboard.pages.settings.step_four":"Configure advanced settings & payment methods","dashboard.pages.settings.step_five":"Start testing, when testing is oke you can start LIVE transactions","dashboard.pages.settings.if_you_have_any_questions":"If you have any questions about the above, you can contact us by email:","dashboard.pages.settings.if_you_have_any_questions_link":" or phone ","dashboard.pages.settings.advance_settings":"Advanced Settings","dashboard.pages.settings.hide_advance_settings":"Hide Advanced Settings","dashboard.pages.settings.re_stock_products":"Re-stock Products","dashboard.pages.settings.re_stock_products_label":"Whether refunded products should be returned to inventory (increasing the quantity in stock).","dashboard.pages.settings.generate_credit_slip":"Generate a Credit Slip","dashboard.pages.settings.generate_credit_slip_label":"Whether a credit note should be generated.","dashboard.pages.settings.generate_voucher":"Generate a Voucher","dashboard.pages.settings.generate_voucher_label":"Whether a voucher should be generated.","dashboard.pages.settings.generate_negative_payments":"Create Negative Payments on Refund","dashboard.pages.settings.generate_negative_payments_label":"Whether a negative payment does also need to be created when performing a refund.","payment_methods.applepay":"Apple Pay","payment_methods.creditcard":"Cards","payment_methods.giftcard":"Giftcard","payment_methods.ideal":"iDEAL","payment_methods.paybybank":"PayByBank","payment_methods.sepadirectdebit":"SEPA Direct Debit","payment_methods.kbc":"KBC","payment_methods.in3":"In3","payment_methods.billink":"Billink","payment_methods.eps":"EPS","payment_methods.przelewy24":"Przelewy24","payment_methods.payperemail":"PayPerEmail","payment_methods.payconiq":"Payconiq","payment_methods.tinka":"Tinka","payment_methods.paypal":"PayPal","payment_methods.bancontactmrcash":"Bancontact","payment_methods.sofortueberweisung":"Sofort","payment_methods.giropay":"Giropay","payment_methods.klarna":"Klarna","payment_methods.afterpay":"Riverty","payment_methods.trustly":"Trustly","payment_methods.belfius":"Belfius","payment_methods.transfer":"Transfer","payment_methods.wechatpay":"WeChatPay","payment_methods.alipay":"Alipay","payment_methods.idin":"iDIN","payment_methods.multibanco":"Multibanco","payment_methods.mbway":"MB WAY","verification_methods.idin":"iDIN"},FD={"buckaroo.response.invalid_parameter_originaltransaction":"Ongeldige parameter originaltransaction.","buckaroo.response.an_error_occurred_while_processing_the_transaction_unable_to_pay_more_with_giftcards":"Er is een fout opgetreden tijdens het verwerken van de transactie: Je kunt niet meer cadeaukaarten gebruiken","countries.afghanistan":"Afghanistan","countries.albania":"Albani\xEB","countries.algeria":"Algerije","countries.american_samoa":"Amerikaans Samoa","countries.andorra":"Andorra","countries.angola":"Angola","countries.anguilla":"Anguilla","countries.antigua_and_barbuda":"Antigua en Barbuda","countries.argentina":"Argentini\xEB","countries.armenia":"Armeni\xEB","countries.aruba":"Aruba","countries.australia":"Australi\xEB","countries.austria":"Oostenrijk","countries.azerbaijan":"Azerbeidzjan","countries.bahamas":"Bahamas","countries.bahrain":"Bahrein","countries.bangladesh":"Bangladesh","countries.barbados":"Barbados","countries.belarus":"Wit-Rusland","countries.belgium":"Belgi\xEB","countries.belize":"Belize","countries.benin":"Benin","countries.bermuda":"Bermuda","countries.bhutan":"Bhutan","countries.bolivia":"Bolivia","countries.bosnia_and_herzegovina":"Bosni\xEB en Herzegovina","countries.botswana":"Botswana","countries.brazil":"Brazili\xEB","countries.brunei_darussalam":"Brunei Darussalam","countries.bulgaria":"Bulgarije","countries.burkina_faso":"Burkina Faso","countries.burundi":"Burundi","countries.cambodia":"Cambodja","countries.cameroon":"Kameroen","countries.canada":"Canada","countries.cape_verde":"Kaapverdi\xEB","countries.cayman_islands":"Kaaimaneilanden","countries.central_african_republic":"Centraal-Afrikaanse Republiek","countries.chad":"Tsjaad","countries.chile":"Chili","countries.china":"China","countries.colombia":"Colombia","countries.comoros":"Comoren","countries.republic_of_the_congo":"Republiek Congo","countries.democratic_republic_of_the_congo":"Democratische Republiek Congo","countries.cook_islands":"Cookeilanden","countries.costa_rica":"Costa Rica","countries.c\xF4te_d'ivoire":"Ivoorkust","countries.croatia":"Kroati\xEB","countries.cuba":"Cuba","countries.cura\xE7ao":"Cura\xE7ao","countries.cyprus":"Cyprus","countries.czech_republic":"Tsjechische Republiek","countries.denmark":"Denemarken","countries.djibouti":"Djibouti","countries.dominica":"Dominica","countries.dominican_republic":"Dominicaanse Republiek","countries.ecuador":"Ecuador","countries.egypt":"Egypte","countries.el_salvador":"El Salvador","countries.equatorial_guinea":"Equatoriaal-Guinea","countries.eritrea":"Eritrea","countries.estonia":"Estland","countries.ethiopia":"Ethiopi\xEB","countries.falkland_island":"Falklandeiland","countries.faroe_islands":"Faer\xF6er Eilanden","countries.fiji":"Fiji","countries.finland":"Finland","countries.france":"Frankrijk","countries.french_polynesia":"Frans-Polynesi\xEB","countries.gabon":"Gabon","countries.gambia":"Gambia","countries.georgia":"Georgi\xEB","countries.germany":"Duitsland","countries.ghana":"Ghana","countries.gibraltar":"Gibraltar","countries.greece":"Griekenland","countries.greenland":"Groenland","countries.grenada":"Grenada","countries.guam":"Guam","countries.guatemala":"Guatemala","countries.guernsey":"Guernsey","countries.guinea":"Guinee","countries.guinea-bissau":"Guinee-Bissau","countries.guyana":"Guyana","countries.haiti":"Ha\xEFti","countries.honduras":"Honduras","countries.hong_kong":"Hongkong","countries.hungary":"Hongarije","countries.iceland":"IJsland","countries.india":"India","countries.indonesia":"Indonesi\xEB","countries.iran":"Iran","countries.iraq":"Irak","countries.ireland":"Ierland","countries.isle_of_man":"Man","countries.israel":"Isra\xEBl","countries.italy":"Itali\xEB","countries.jamaica":"Jamaica","countries.japan":"Japan","countries.jersey":"Jersey","countries.jordan":"Jordani\xEB","countries.kazakhstan":"Kazachstan","countries.kenya":"Kenia","countries.kiribati":"Kiribati","countries.north_korea":"Noord-Korea","countries.south_korea":"Zuid-Korea","countries.kosovo":"Kosovo","countries.kuwait":"Koeweit","countries.kyrgyzstan":"Kirgizi\xEB","countries.laos":"Laos","countries.latvia":"Letland","countries.lebanon":"Libanon","countries.lesotho":"Lesotho","countries.liberia":"Liberia","countries.libya":"Libi\xEB","countries.liechtenstein":"Liechtenstein","countries.lithuania":"Litouwen","countries.luxembourg":"Luxemburg","countries.macau":"Macau","countries.macedonia":"Macedoni\xEB","countries.madagascar":"Madagaskar","countries.malawi":"Malawi","countries.malaysia":"Maleisi\xEB","countries.maldives":"Maldiven","countries.mali":"Mali","countries.malta":"Malta","countries.marshall_islands":"Marshalleilanden","countries.mauritania":"Mauritani\xEB","countries.mauritius":"Mauritius","countries.mayotte":"Mayotte","countries.mexico":"Mexico","countries.micronesia":"Micronesi\xEB","countries.moldova":"Moldavi\xEB","countries.monaco":"Monaco","countries.mongolia":"Mongoli\xEB","countries.montenegro":"Montenegro","countries.montserrat":"Montserrat","countries.morocco":"Marokko","countries.mozambique":"Mozambique","countries.myanmar":"Myanmar","countries.namibia":"Namibi\xEB","countries.nauru":"Nauru","countries.nepal":"Nepal","countries.netherlands":"Nederland","countries.new_caledonia":"Nieuw-Caledoni\xEB","countries.new_zealand":"Nieuw-Zeeland","countries.nicaragua":"Nicaragua","countries.niger":"Niger","countries.nigeria":"Nigeria","countries.niue":"Niue","countries.norfolk_island":"Norfolkeiland","countries.northern_mariana_islands":"Noordelijke Marianen","countries.norway":"Noorwegen","countries.oman":"Oman","countries.pakistan":"Pakistan","countries.palau":"Palau","countries.palestine":"Palestina","countries.panama":"Panama","countries.papua_new_guinea":"Papoea-Nieuw-Guinea","countries.paraguay":"Paraguay","countries.peru":"Peru","countries.philippines":"Filipijnen","countries.pitcairn":"Pitcairn","countries.poland":"Polen","countries.portugal":"Portugal","countries.puerto_rico":"Puerto Rico","countries.qatar":"Qatar","countries.romania":"Roemeni\xEB","countries.russia":"Rusland","countries.rwanda":"Rwanda","countries.saint_helena":"Sint-Helena","countries.saint_kitts_and_nevis":"Saint Kitts en Nevis","countries.saint_lucia":"Saint Lucia","countries.saint_vincent_and_the_grenadines":"Saint Vincent en de Grenadines","countries.samoa":"Samoa","countries.san_marino":"San Marino","countries.s\xE3o_tom\xE9_and_pr\xEDncipe":"Sao Tom\xE9 en Principe","countries.saudi_arabia":"Saoedi-Arabi\xEB","countries.senegal":"Senegal","countries.serbia":"Servi\xEB","countries.seychelles":"Seychellen","countries.sierra_leone":"Sierra Leone","countries.singapore":"Singapore","countries.sint_maarten":"Sint-Maarten","countries.slovakia":"Slowakije","countries.slovenia":"Sloveni\xEB","countries.solomon_islands":"Salomonseilanden","countries.somalia":"Somali\xEB","countries.south_africa":"Zuid-Afrika","countries.south_sudan":"Zuid-Soedan","countries.spain":"Spanje","countries.sri_lanka":"Sri Lanka","countries.sudan":"Soedan","countries.suriname":"Suriname","countries.swaziland":"Swaziland","countries.sweden":"Zweden","countries.switzerland":"Zwitserland","countries.syria":"Syri\xEB","countries.taiwan":"Taiwan","countries.tajikistan":"Tadzjikistan","countries.tanzania":"Tanzania","countries.thailand":"Thailand","countries.timor-leste":"Oost-Timor","countries.togo":"Togo","countries.tonga":"Tonga","countries.trinidad_and_tobago":"Trinidad en Tobago","countries.tunisia":"Tunesi\xEB","countries.turkey":"Turkije","countries.turkmenistan":"Turkmenistan","countries.turks_and_caicos_islands":"Turks- en Caicoseilanden","countries.tuvalu":"Tuvalu","countries.uganda":"Oeganda","countries.ukraine":"Oekra\xEFne","countries.united_arab_emirates":"Verenigde Arabische Emiraten","countries.united_kingdom":"Verenigd Koninkrijk","countries.united_states":"Verenigde Staten","countries.uruguay":"Uruguay","countries.uzbekistan":"Oezbekistan","countries.vanuatu":"Vanuatu","countries.vatican_city":"Vaticaanstad","countries.venezuela":"Venezuela","countries.vietnam":"Vietnam","countries.british_virgin_islands":"Britse Maagdeneilanden","countries.us_virgin_islands":"Amerikaanse Maagdeneilanden","countries.wallis_and_futuna":"Wallis en Futuna","countries.western_sahara":"Westelijke Sahara","countries.yemen":"Jemen","countries.zambia":"Zambia","countries.zimbabwe":"Zimbabwe","dashboard.channel_selector.select_channel":"Selecteer Kanaal","dashboard.channel_selector.select_channel_label":"Elk kanaal heeft zijn eigen configuratie-instellingen.","dashboard.country_select.search_countries":"Zoek Landen","dashboard.menu.channel":"Kanaal","dashboard.menu.settings":"Instellingen","dashboard.menu.payment_methods":"Betaalmethoden","dashboard.menu.verification_methods":"Verificatiemethoden","dashboard.menu.order_payment_methods":"Betaalmethoden Volgorde","dashboard.pages.order_payment_methods.order_payment_methods":"Betaalmethode volgorde","dashboard.pages.order_payment_methods.if_you_have_any_questions":"Heeft u vragen over deze plugin van Buckaroo, dan kunt u contact met ons opnemen via e-mail:","dashboard.pages.order_payment_methods.if_you_have_any_questions_link":" of telefoon ","dashboard.pages.order_payment_methods.order_payment_methods_label":"Wijzig de volgorde van betaalmethoden","dashboard.pages.order_payment_methods.all_countries":"Alle landen","dashboard.pages.order_payment_methods.search_country":"Zoek land","dashboard.pages.order_payment_methods.payment_method_order_updated_successfully":"Betaalmethoden volgorde succesvol ge\xFCpdatet.","dashboard.pages.order_payment_methods.something_went_wrong":"Er is iets fout gegaan.","dashboard.pages.order_payment_methods.how_to_order_payment_method":"Hoe u uw betaalmethode volgorde aan kunt passen","dashboard.pages.order_payment_methods.explanation_intro":"Om de betaalmethoden per land in de juiste volgorde in te stellen, dien je aan de linkerkant van dit scherm het gewenste land te selecteren. Je krijgt dan een overzicht van de betaalmethoden die voor dat land 'aan' staan. Je kunt ze vervolgens in de juiste volgorde zetten door te slepen page.","dashboard.pages.order_payment_methods.step_one":"Selecteer het land waarvoor je de volgorde van de betaalmethoden wilt wijzigen.","dashboard.pages.order_payment_methods.step_two":"Sleep de betaalmethoden in de volgorde van je voorkeur.","dashboard.pages.order_payment_methods.step_three":"Sla op en controleer in je webshop (checkout) of alles correct is.","dashboard.pages.payments.configure_your_payment_name_settings":"Configureer je instellingen voor {payment_name}","dashboard.pages.payments.configure_your_verification_name_settings":"Configureer je instellingen voor {verification_name}","dashboard.pages.payments.modes_settings.live":"Live","dashboard.pages.payments.modes_settings.test":"Test","dashboard.pages.payments.modes_settings.off":"Uit","dashboard.pages.payments.configure":"Configureer","dashboard.pages.payments.settings":"Instellingen","dashboard.pages.payments.save":"Opslaan","dashboard.pages.payments.mode":"Modus","dashboard.pages.payments.mode_label":'Indien ingesteld op "Live", dan kun je daadwerkelijke betalingen doen. Indien ingesteld op "Test", dan kun je testtransacties doen. De betaalmethode verschijnt niet als deze op "Uit" staat.',"dashboard.pages.payments.front_label":"Betaalmethode naam","dashboard.pages.payments.front_label_label":"Deze naam wordt weergegeven in de checkout.","dashboard.pages.payments.payment_fee_incl_vat":"Betaalkosten incl. BTW","dashboard.pages.payments.payment_fee_incl_vat_label":"Je kunt kosten in rekening brengen wanneer de klant deze betaling selecteert. Specificeer statisch (bijv. 1,50). Decimalen moeten worden gescheiden door een punt (.)","dashboard.pages.payments.order_amount_allowed":"Bestelbedrag restricties","dashboard.pages.payments.order_amount_allowed_label":"Deze methode wordt alleen weergegeven als aan deze voorwaarde is voldaan.","dashboard.pages.payments.minimum_order_amount":"Minimaal toegestane bestelbedrag","dashboard.pages.payments.maximum_order_amount":"Maximaal toegestane bestelbedrag","dashboard.pages.payments.countries":"Landen","dashboard.pages.payments.countries_label":"Alleen geselecteerde landen zullen deze betaalmethode tonen, laat dit veld leeg om de methode voor alle landen in te schakelen.","dashboard.pages.payments.all_countries":"Alle landen","dashboard.pages.payments.clear":"Resetten","dashboard.pages.payments.search_country":"Zoek Land","dashboard.pages.payments.show_country_number_and_more":"en {country_number} meer...","dashboard.pages.payments.show_less":"Minder tonen","dashboard.pages.payments.client_side":"Cli\xEBnt Side Encryption","dashboard.pages.payments.client_side_label":"Gedrag van cli\xEBntzijdige betaalmethode in- of uitschakelen.","dashboard.pages.payments.seperate_authorize_and_capture":"Losse authorize en capture","dashboard.pages.payments.seperate_authorize_and_capture_label":"Wanneer deze optie is ingeschakeld, dien je de betaling van de creditcard handmatig vast te leggen (capture).","dashboard.pages.payments.allowed_creditcards":"Toegestane Creditcards","dashboard.pages.payments.allowed_creditcards_label":"Alleen geselecteerde creditcards worden op deze manier getoond","dashboard.pages.payments.search_creditcard":"Zoek Creditcard","dashboard.pages.payments.allowed_giftcards":"Toegestane cadeaukaarten","dashboard.pages.payments.allowed_giftcards_label":"Alleen geselecteerde cadeaukaarten worden op deze manier getoond","dashboard.pages.payments.add_custom_giftcard":"Eigen cadeaukaart toevoegen","dashboard.pages.payments.search_giftcard":"Zoek Cadeaukaart","dashboard.pages.payments.custom_giftcard":"Eigen cadeaukaart","dashboard.pages.payments.add":"Toevoegen","dashboard.pages.payments.edit":"Aanpassen","dashboard.pages.payments.remove":"Verwijderen","dashboard.pages.payments.giftcard_name":"Cadeaukaart Naam","dashboard.pages.payments.enter_giftcard_details":"Voer cadeaukaartgegevens in","dashboard.pages.payments.service_code":"Service Code","dashboard.pages.payments.custom_icon_url":"Aangepaste cadeaukaart logo URL","dashboard.pages.payments.payment_methods":"Betalingsmethoden","dashboard.pages.payments.verification_methods":"Betalingsmethoden","dashboard.pages.payments.configure_your_payment_method_settings":"Configureer uw betalingsmethode-instellingen","dashboard.pages.payments.configure_your_verification_method_settings":"Configureer uw instellingen voor de verificatiemethode","dashboard.pages.payments.customer_type":"Klant type","dashboard.pages.payments.display_type":"Weergavetype","dashboard.pages.payments.display_type_label":"Deze instelling bepaalt hoe de bankselectie voor deze betaalmethode wordt weergegeven bij het afrekenen.
Je kunt kiezen tussen keuzerondjes of een vervolgkeuzelijst.","dashboard.pages.payments.display_types.radio":"Radio","dashboard.pages.payments.display_types.dropdown":"Laten vallen","dashboard.pages.payments.send_email_instruction":"Stuur betalingsinstructie e-mail","dashboard.pages.payments.send_email_instruction_yes":"Ja","dashboard.pages.payments.send_email_instruction_no":"Nee","dashboard.pages.payments.send_email_merchant":"Merchant stuurt e-mail","dashboard.pages.payments.due_date":"Vervaldatum (in dagen)","dashboard.pages.payments.allowed_methods":"Toegestane betaalmethoden","dashboard.pages.payments.vat_type_for_wrap":"BTW-type voor cadeauverpakking","dashboard.pages.payments.vat_type_for_wrap_select":"Selecteer BTW-type voor cadeauverpakking","dashboard.pages.payments.min_order_amount_b2b":"Minimale B2B bestelbedrag","dashboard.pages.payments.max_order_amount_b2c":"Maximale B2B bestelbedrag","dashboard.pages.payments.in3.version.label":"In3 versie","dashboard.pages.payments.in3.version.v3":"V3 (V3)","dashboard.pages.payments.in3.version.v2":"V2 (Capayable/In2)","dashboard.pages.payments.customer.type_label":"Klanttype","dashboard.pages.payments.customer.type.both":"Beide","dashboard.pages.payments.customer.type.b2c":"B2C","dashboard.pages.payments.customer.type.b2c.long":"Business-to-consumer","dashboard.pages.payments.customer.type.b2b":"B2B","dashboard.pages.payments.customer.type.b2b.long":"Business-to-Business","dashboard.pages.payments.logo":"Betaalmethode logo","dashboard.pages.payments.seller_protection":"Verkopersbescherming","dashboard.pages.payments.seller_protection_enable":"Schakel de PayPal Verkopersbescherming in","dashboard.pages.payments.seller_protection_enabled":"Ja","dashboard.pages.payments.seller_protection_disabled":"Nee","dashboard.pages.payments.idin.display_mode":"iDIN modus:","dashboard.pages.payments.idin.display_mode.product":"Specifieke producten","dashboard.pages.payments.idin.display_mode.global":"Globaal","dashboard.pages.payments.idin.display_mode_label":"Met deze instelling kun je selecteren of iDIN is ingeschakeld voor alle producten in de winkel (globaal) of alleen voor specifieke producten. Voor specifieke producten moet je het ook inschakelen voor de producten in de PrestaShop-catalogus.","dashboard.pages.settings.settings":"Instellingen","dashboard.pages.settings.settings_label":"Configureer je instellingen","dashboard.pages.settings.mode":"Modus","dashboard.pages.settings.mode_label":"Verander eenvoudig de modus","dashboard.pages.settings.no_im_testing":"Nee, ik wil testen","dashboard.pages.settings.when_your_shop_is_not_live_yet":"Wanneer je webwinkel nog niet live is","dashboard.pages.settings.yes_im_ready_to_receive_payments":"Ja, ik ben klaar om betalingen te ontvangen","dashboard.pages.settings.your_shop_is_live_and_ready_to_receive_real_payments":"Je webwinkel is live en klaar om echte betalingen te ontvangen","dashboard.pages.settings.credentials":"Identificatie","dashboard.pages.settings.test_connection":"Test Gegevens","dashboard.pages.settings.successfully_verified_the_credentials":"De inloggegevens zijn succesvol geverifieerd!","dashboard.pages.settings.the_credentials_are_not_valid":"De inloggegevens zijn onjuist!","dashboard.pages.settings.website_key":"Website key","dashboard.pages.settings.secret_key":"Secret key","dashboard.pages.settings.transaction_description":"Transactie Beschrijving","dashboard.pages.settings.transaction_description_label":'De transactiebeschrijving kan worden gevuld met een statische tekst en tags zoals: {order_number} en {shop_name}.',"dashboard.pages.settings.example":"Voorbeeld","dashboard.pages.settings.order_number":"Bestellingsnummer","dashboard.pages.settings.shop_name":"Winkelnaam","dashboard.pages.settings.order_number2":"bestellingsnummer","dashboard.pages.settings.shop_name2":"winkelnaam","dashboard.pages.settings.refunds":"Terugbetalingen","dashboard.pages.settings.refunds_label":"Terugbetaling omschrijving","dashboard.pages.settings.return_url":"Return-URL","dashboard.pages.settings.return_url_label":"Stel een aangepaste return-URL in nadat de klant de betaling heeft voltooid.","dashboard.pages.settings.return_url_explanation":"Wanneer dit veld leeg wordt gelaten, keert de klant terug naar de standaard PrestaShop bevestigingspagina.","dashboard.pages.settings.checkout_url":"Cancel-URL","dashboard.pages.settings.checkout_url_label":"Stel een aangepaste cancel-URL in nadat de klant de betaling heeft geannuleerd of als er iets mis is gegaan tijdens het proces.","dashboard.pages.settings.checkout_url_explanation":"Wanneer dit veld leeg wordt gelaten, keert de klant terug naar de standaard PrestaShop afrekenpagina.","dashboard.pages.settings.save":"Opslaan","dashboard.pages.settings.add":"Toevoegen","dashboard.pages.settings.remove":"Verwijder","dashboard.pages.settings.custom_scripts":"Aangepaste scripts","dashboard.pages.settings.custom_scripts_label":"Voeg aangepaste javascript of css code toe aan je checkout.","dashboard.pages.settings.custom_scripts_placeholder":"Javascript / CSS (https://example.com/style.css)","dashboard.pages.settings.settings_successfully_updated":"Instellingen succesvol bijgewerkt.","dashboard.pages.settings.welcome_to_buckaroo":"Welkom bij Buckaroo","dashboard.pages.settings.explanation_intro":"Welkom bij het configuratiescherm van de Buckaroo Payment app voor jouw PrestaShop webshop. In dit scherm kun je de app helemaal naar wens instellen. Hieronder vind je de stappen om de instellingen te configureren. Voor verdere vragen verwijzen wij je naar onze documentatie.","dashboard.pages.settings.step_three":"Klik op \u2018test verbinding\u2019, indien correct ga verder naar stap 4.","dashboard.pages.settings.step_four":"Configureer de geavanceerde instellingen & Betaalmethodes","dashboard.pages.settings.step_five":"Begin met testen, als het testen goed gaat, kun je LIVE transacties starten","dashboard.pages.settings.advance_settings":"Geavanceerde Instellingen","dashboard.pages.settings.hide_advance_settings":"Geavanceerde Instellingen Verbergen","dashboard.pages.settings.re_stock_products":"Voorraad aanvullen bij retourproducten","dashboard.pages.settings.re_stock_products_label":"Of terugbetaalde producten moeten worden teruggeplaatst in de voorraad (waardoor de voorraadhoeveelheid wordt verhoogd).","dashboard.pages.settings.generate_credit_slip":"Een creditnota genereren","dashboard.pages.settings.generate_credit_slip_label":"Of er een creditnota moet worden gegenereerd.","dashboard.pages.settings.generate_voucher":"Een voucher genereren","dashboard.pages.settings.generate_voucher_label":"Of er een voucher moet worden gegenereerd.","dashboard.pages.settings.generate_negative_payments":"Een negatieve betaling bij terugbetalingen aanmaken","dashboard.pages.settings.generate_negative_payments_label":"Of er ook een negatieve betaling moet worden gecre\xEBerd bij het uitvoeren van een terugbetaling.","payment_methods.applepay":"Apple Pay","payment_methods.creditcard":"Creditcard","payment_methods.giftcard":"Giftcard","payment_methods.ideal":"iDEAL","payment_methods.paybybank":"PayByBank","payment_methods.sepadirectdebit":"SEPA Direct Debit","payment_methods.kbc":"KBC","payment_methods.in3":"In3","payment_methods.billink":"Billink","payment_methods.eps":"EPS","payment_methods.przelewy24":"Przelewy24","payment_methods.payperemail":"PayPerEmail","payment_methods.payconiq":"Payconiq","payment_methods.tinka":"Tinka","payment_methods.paypal":"PayPal","payment_methods.bancontactmrcash":"Bancontact","payment_methods.sofortueberweisung":"Sofort","payment_methods.giropay":"Giropay","payment_methods.klarna":"Klarna","payment_methods.afterpay":"Riverty","payment_methods.trustly":"Trustly","payment_methods.transfer":"Transfer","payment_methods.wechatpay":"WeChatPay","payment_methods.alipay":"Alipay","payment_methods.idin":"iDIN","payment_methods.multibanco":"Multibanco","payment_methods.mbway":"MB WAY","verification_methods.idin":"iDIN"};/* * * * @@ -71,7 +71,7 @@ For specific products you also need to enable it for the products in the PrestaS * @author Buckaroo.nl * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0 Academic Free License (AFL 3.0) - */const Dk={en:Nk,nl:Rk},kk=xk({legacy:!1,locale:"en",messages:Dk}),xn=(e,n)=>{const r=e.__vccOpts||e;for(const[i,a]of n)r[i]=a;return r},Mk={props:["color"],setup(e){const n=st("text-primary");return e.color&&(n.value=e.color),{loadingColor:n}}},$k={class:"flex justify-center"},Fk=T("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),Bk=T("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),Uk=[Fk,Bk];function jk(e,n,r,i,a,l){return xe(),Le("div",$k,[(xe(),Le("svg",{class:Jt("animate-spin h-5 w-5 "+i.loadingColor),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Uk,2))])}const hv=xn(Mk,[["render",jk]]);function Hk(e){return Sd()?(im(e),!0):!1}function sw(e){return typeof e=="function"?e():Mu(e)}const Zu=typeof window<"u",ow=()=>{},Wk=Vk();function Vk(){var e;return Zu&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function nu(e){var n;const r=sw(e);return(n=r==null?void 0:r.$el)!=null?n:r}const aw=Zu?window:void 0;Zu&&window.document;Zu&&window.navigator;Zu&&window.location;function Kh(...e){let n,r,i,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,i,a]=e,n=aw):[n,r,i,a]=e,!n)return ow;Array.isArray(r)||(r=[r]),Array.isArray(i)||(i=[i]);const l=[],o=()=>{l.forEach(y=>y()),l.length=0},f=(y,v,_,w)=>(y.addEventListener(v,_,w),()=>y.removeEventListener(v,_,w)),d=Yr(()=>[nu(n),sw(a)],([y,v])=>{o(),y&&l.push(...r.flatMap(_=>i.map(w=>f(y,_,w,v))))},{immediate:!0,flush:"post"}),g=()=>{d(),o()};return Hk(g),g}let f0=!1;function Kk(e,n,r={}){const{window:i=aw,ignore:a=[],capture:l=!0,detectIframe:o=!1}=r;if(!i)return;Wk&&!f0&&(f0=!0,Array.from(i.document.body.children).forEach(_=>_.addEventListener("click",ow)));let f=!0;const d=_=>a.some(w=>{if(typeof w=="string")return Array.from(i.document.querySelectorAll(w)).some(C=>C===_.target||_.composedPath().includes(C));{const C=nu(w);return C&&(_.target===C||_.composedPath().includes(C))}}),y=[Kh(i,"click",_=>{const w=nu(e);if(!(!w||w===_.target||_.composedPath().includes(w))){if(_.detail===0&&(f=!d(_)),!f){f=!0;return}n(_)}},{passive:!0,capture:l}),Kh(i,"pointerdown",_=>{const w=nu(e);w&&(f=!_.composedPath().includes(w)&&!d(_))},{passive:!0}),o&&Kh(i,"blur",_=>{setTimeout(()=>{var w;const C=nu(e);((w=i.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(C!=null&&C.contains(i.document.activeElement))&&n(_)},0)})].filter(Boolean);return()=>y.forEach(_=>_())}const lw="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAALABADAREAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAABgj/xAAhEAACAwEAAwACAwAAAAAAAAABAgMEBQYHERIhIgAVQf/EABgBAAIDAAAAAAAAAAAAAAAAAAMGAQIE/8QAJBEAAgIBAwQCAwAAAAAAAAAAAQIDEQQFEiEABiIxE2EVMkH/2gAMAwEAAhEDEQA/AKjjqc2nC2el/rau7Yz8K1DFo1UxwQ7ZrkpMUuyNIFjaSQqEL/Kr8fopVz61qeZiRzQ/G6IwbhiPYN2tkGuDY5+qqum7tXQsHUc3Eb5omdZI72rKCQWC0wERSySAG3KLPlZN9DOzqchS4iDqr1PN5rb1+cpy1dLVh59kjiGYFilrx2NGFvotXkkVpF9AKwKK0YdLaDqmblLDA8MkqIFbarADk/s/JYiya4A9cbhzp7q7fwMPJzJIsmKMtJKpLLOWsMbjUiHYpCkBqZiefPY23qatHzJ5GPll+RG9EmNmct0sFOlHn1kihjiytBUVQIx+AEH4/wBJcn2XYl4yNKw5u3svNkS5XLAsSbI3gV74H0P7z76S9I1HKxtcwMWJyI0aFgB63FVYt9tZPJs14jxAHRXU8veQtDyfpeN7+5FZ5nR4CjesZs1Cs8RsJytaQSL7j9oxMUYYqR9ooRvpP1/k4Gl4n4TFnCU8YG1gSCPI8WDde7B4Nm/Z6Hruq5i67mLv4llYODRDWxuwRV82DVqaZSCAev/Z",uw="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAALABADAREAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAABQYHCf/EACUQAAEDAwQCAgMAAAAAAAAAAAECAwQFERIABwgxBiETIxQyQf/EABoBAAEFAQAAAAAAAAAAAAAAAAgBAgMFBgf/xAAnEQABAwMBBwUAAAAAAAAAAAABAgMhABExBAUGCBRhcdESEzNR4f/aAAwDAQACEQMRAD8Au0Djhx1boFNSN7vAXgIMe0oxqcr8j60/bkXTfP8Aa9z32dVadyXUJDZZVcR8cx9xmu2v8QWocfW7awUSQOYVYAm4GAIEYHalnyrjpx2TSai4ORXgMQohyF5hqmo+OzajncPAjG2XY67Gkc3HfUggNKHX2/yp9PxDqS4m7QVIjmFG84kHOMHtWW7W+26cKmxKRH8kaEWDHbisIVTYiyhptIShOSmio2SALkk+tEzrWENqKkixJvk0M52bpXSVLRcnqfNB6pu5uBVY0iHOrTK2pTS2HQmnxkFSFpKVDJLYIuCR6P8AdZvU6l0XR6oNPa2Rom1BxKJEiT5r/9k=",Gk={name:"LanguageSelector",setup(){const{locale:e}=la(),n=st(!1),r=st(null),i=st(e.value);return Kk(r,()=>n.value=!1),{showMenu:n,languageMenuRef:r,currentLanguage:i,changeLanguage:l=>{e.value=l,n.value=!1,i.value=l}}}},zk={class:"md:px-6 w-full text-white text-sm relative"},Yk={key:0,class:"flex space-x-1"},Xk=T("img",{src:lw,class:"w-4"},null,-1),Qk=T("span",{class:"text-xs"},[ln("English "),T("i",{class:"fas fa-chevron-down text-[8px]"})],-1),Jk=[Xk,Qk],Zk={key:1,class:"flex space-x-1"},qk=T("img",{src:uw,class:"w-4"},null,-1),eM=T("span",{class:"text-xs"},[ln("Nederlands "),T("i",{class:"fas fa-chevron-down text-[8px]"})],-1),tM=[qk,eM],nM={key:0,ref:"languageMenuRef",class:"bg-white text-gray-800 rounded-lg inline-block shadow-xl mt-1 absolute w-1/2 overflow-hidden"},rM=T("img",{src:uw,class:"w-4"},null,-1),iM=T("div",null,"Nederlands",-1),sM=T("img",{src:lw,class:"w-4"},null,-1),oM=T("div",null,"English",-1);function aM(e,n,r,i,a,l){return xe(),Le("div",zk,[T("div",null,[T("div",{class:"inline-block hover:bg-sixthly p-2 cursor-pointer rounded-lg",onClick:n[0]||(n[0]=o=>i.showMenu=!i.showMenu)},[i.currentLanguage==="en"?(xe(),Le("div",Yk,Jk)):nt("",!0),i.currentLanguage==="nl"?(xe(),Le("div",Zk,tM)):nt("",!0)])]),vt(bo,{"enter-from-class":"opacity-0 translate-y-3","enter-to-class":"opacity-100 translate-y-0","enter-active-class":"transform transition ease-out duration-200","leave-active-class":"transform transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-3"},{default:Pr(()=>[i.showMenu?(xe(),Le("ul",nM,[i.currentLanguage!=="nl"?(xe(),Le("li",{key:0,onClick:n[1]||(n[1]=o=>i.changeLanguage("nl")),class:"p-2 flex space-x-2 cursor-pointer hover:bg-gray-200"},[rM,ln(),iM])):nt("",!0),i.currentLanguage!=="en"?(xe(),Le("li",{key:1,onClick:n[2]||(n[2]=o=>i.changeLanguage("en")),class:"p-2 flex space-x-2 cursor-pointer hover:bg-gray-200"},[sM,ln(),oM])):nt("",!0)],512)):nt("",!0)]),_:1})])}const lM=xn(Gk,[["render",aM]]),uM="/modules/buckaroo3/views/media/logo-0fae5e59.png",cM={name:"Menu.vue",components:{LanguageSelector:lM},setup(e,{emit:n}){const r=vn("view"),i=vn("app");return{view:r,app:i,setView:l=>{r.value=l,n("changedView",l)}}}},fM={class:"md:border-l-2 md:border-primary space-y-5"},dM=T("div",{class:"md:px-8 md:py-5 p-5 md:w-52 w-36"},[T("img",{src:uM})],-1),pM={class:"text-sm space-y-2 flex md:flex-col"},hM=T("i",{class:"fas fa-cogs md:text-base text-xl"},null,-1),gM={class:"md:inline block md:text-sm text-xs"},mM=T("i",{class:"fas fa-credit-card md:text-base text-xl"},null,-1),vM={class:"md:inline block md:text-sm text-xs"},yM=T("i",{class:"fas fa-badge-check md:text-base text-xl"},null,-1),bM={class:"md:inline block md:text-sm text-xs"},_M=T("i",{class:"fas fa-sort-numeric-up md:text-base text-xl"},null,-1),xM={class:"md:inline block md:text-sm text-xs"};function EM(e,n,r,i,a,l){const o=rn("LanguageSelector");return xe(),Le("div",fM,[T("div",null,[dM,vt(o)]),T("ul",pM,[T("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":i.view==="settings","hover:bg-seventhly text-eightly":i.view!=="settings"}]),onClick:n[0]||(n[0]=f=>i.setView("settings"))},[hM,ln(),T("span",gM,ce(e.$t("dashboard.menu.settings")),1)],2),T("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":i.view==="payment_methods","hover:bg-seventhly text-eightly":i.view!=="payment_methods"}]),onClick:n[1]||(n[1]=f=>i.setView("payment_methods"))},[mM,ln(),T("span",vM,ce(e.$t("dashboard.menu.payment_methods")),1)],2),T("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":i.view==="verification_methods","hover:bg-seventhly text-eightly":i.view!=="verification_methods"}]),onClick:n[2]||(n[2]=f=>i.setView("verification_methods"))},[yM,ln(),T("span",bM,ce(e.$t("dashboard.menu.verification_methods")),1)],2),T("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":i.view==="order_payment_methods","hover:bg-seventhly text-eightly":i.view!=="order_payment_methods"}]),onClick:n[3]||(n[3]=f=>i.setView("order_payment_methods"))},[_M,ln(),T("span",xM,ce(e.$t("dashboard.pages.order_payment_methods.order_payment_methods")),1)],2)])])}const wM=xn(cM,[["render",EM]]),Ki=(e,n)=>{const r=vn("signedJWT"),i=vn("baseUrl");var a=e,l={Authorization:`Bearer ${r!=null?r:n}`,"Content-Type":"application/json"};const o=st(),f=st(!1),d=st(),g=V0.create({baseURL:i+""}),y=w=>{f.value=!0,d.value=void 0;let C="";return w&&(C="?"+Object.entries(w).map(([P,M])=>`${encodeURIComponent(P)}=${encodeURIComponent(M)}`).join("&")),g.get(a+C,{headers:l}).then(P=>o.value=P.data).catch(P=>{throw d.value=P,P}).finally(()=>f.value=!1)},v=w=>(f.value=!0,d.value=void 0,g.post(a,w,{headers:l}).then(C=>o.value=C.data).catch(C=>{throw d.value=C,C}).finally(()=>f.value=!1)),_=Jn(()=>d.value?d.value.message:null);return Yr(d,w=>{}),{loading:f,data:o,error:d,get:y,post:v,errorMessage:_}};var cw={exports:{}},Gh={exports:{}};/*! + */const BD={en:$D,nl:FD},UD=CD({legacy:!1,locale:"en",messages:BD}),xn=(e,n)=>{const r=e.__vccOpts||e;for(const[s,a]of n)r[s]=a;return r},jD={props:["color"],setup(e){const n=it("text-primary");return e.color&&(n.value=e.color),{loadingColor:n}}},HD={class:"flex justify-center"},WD=C("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),VD=C("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),GD=[WD,VD];function KD(e,n,r,s,a,l){return xe(),ke("div",HD,[(xe(),ke("svg",{class:Jt("animate-spin h-5 w-5 "+s.loadingColor),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},GD,2))])}const gv=xn(jD,[["render",KD]]);function zD(e){return Sd()?(im(e),!0):!1}function lw(e){return typeof e=="function"?e():Mu(e)}const qu=typeof window<"u",uw=()=>{},YD=XD();function XD(){var e;return qu&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function nu(e){var n;const r=lw(e);return(n=r==null?void 0:r.$el)!=null?n:r}const cw=qu?window:void 0;qu&&window.document;qu&&window.navigator;qu&&window.location;function Gh(...e){let n,r,s,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,s,a]=e,n=cw):[n,r,s,a]=e,!n)return uw;Array.isArray(r)||(r=[r]),Array.isArray(s)||(s=[s]);const l=[],o=()=>{l.forEach(y=>y()),l.length=0},f=(y,v,_,w)=>(y.addEventListener(v,_,w),()=>y.removeEventListener(v,_,w)),d=Yr(()=>[nu(n),lw(a)],([y,v])=>{o(),y&&l.push(...r.flatMap(_=>s.map(w=>f(y,_,w,v))))},{immediate:!0,flush:"post"}),p=()=>{d(),o()};return zD(p),p}let p0=!1;function QD(e,n,r={}){const{window:s=cw,ignore:a=[],capture:l=!0,detectIframe:o=!1}=r;if(!s)return;YD&&!p0&&(p0=!0,Array.from(s.document.body.children).forEach(_=>_.addEventListener("click",uw)));let f=!0;const d=_=>a.some(w=>{if(typeof w=="string")return Array.from(s.document.querySelectorAll(w)).some(T=>T===_.target||_.composedPath().includes(T));{const T=nu(w);return T&&(_.target===T||_.composedPath().includes(T))}}),y=[Gh(s,"click",_=>{const w=nu(e);if(!(!w||w===_.target||_.composedPath().includes(w))){if(_.detail===0&&(f=!d(_)),!f){f=!0;return}n(_)}},{passive:!0,capture:l}),Gh(s,"pointerdown",_=>{const w=nu(e);w&&(f=!_.composedPath().includes(w)&&!d(_))},{passive:!0}),o&&Gh(s,"blur",_=>{setTimeout(()=>{var w;const T=nu(e);((w=s.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(T!=null&&T.contains(s.document.activeElement))&&n(_)},0)})].filter(Boolean);return()=>y.forEach(_=>_())}const fw="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAALABADAREAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAABgj/xAAhEAACAwEAAwACAwAAAAAAAAABAgMEBQYHERIhIgAVQf/EABgBAAIDAAAAAAAAAAAAAAAAAAMGAQIE/8QAJBEAAgIBAwQCAwAAAAAAAAAAAQIDEQQFEiEABiIxE2EVMkH/2gAMAwEAAhEDEQA/AKjjqc2nC2el/rau7Yz8K1DFo1UxwQ7ZrkpMUuyNIFjaSQqEL/Kr8fopVz61qeZiRzQ/G6IwbhiPYN2tkGuDY5+qqum7tXQsHUc3Eb5omdZI72rKCQWC0wERSySAG3KLPlZN9DOzqchS4iDqr1PN5rb1+cpy1dLVh59kjiGYFilrx2NGFvotXkkVpF9AKwKK0YdLaDqmblLDA8MkqIFbarADk/s/JYiya4A9cbhzp7q7fwMPJzJIsmKMtJKpLLOWsMbjUiHYpCkBqZiefPY23qatHzJ5GPll+RG9EmNmct0sFOlHn1kihjiytBUVQIx+AEH4/wBJcn2XYl4yNKw5u3svNkS5XLAsSbI3gV74H0P7z76S9I1HKxtcwMWJyI0aFgB63FVYt9tZPJs14jxAHRXU8veQtDyfpeN7+5FZ5nR4CjesZs1Cs8RsJytaQSL7j9oxMUYYqR9ooRvpP1/k4Gl4n4TFnCU8YG1gSCPI8WDde7B4Nm/Z6Hruq5i67mLv4llYODRDWxuwRV82DVqaZSCAev/Z",dw="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAALABADAREAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAABQYHCf/EACUQAAEDAwQCAgMAAAAAAAAAAAECAwQFERIABwgxBiETIxQyQf/EABoBAAEFAQAAAAAAAAAAAAAAAAgBAgMFBgf/xAAnEQABAwMBBwUAAAAAAAAAAAABAgMhABExBAUGCBRhcdESEzNR4f/aAAwDAQACEQMRAD8Au0Djhx1boFNSN7vAXgIMe0oxqcr8j60/bkXTfP8Aa9z32dVadyXUJDZZVcR8cx9xmu2v8QWocfW7awUSQOYVYAm4GAIEYHalnyrjpx2TSai4ORXgMQohyF5hqmo+OzajncPAjG2XY67Gkc3HfUggNKHX2/yp9PxDqS4m7QVIjmFG84kHOMHtWW7W+26cKmxKRH8kaEWDHbisIVTYiyhptIShOSmio2SALkk+tEzrWENqKkixJvk0M52bpXSVLRcnqfNB6pu5uBVY0iHOrTK2pTS2HQmnxkFSFpKVDJLYIuCR6P8AdZvU6l0XR6oNPa2Rom1BxKJEiT5r/9k=",JD={name:"LanguageSelector",setup(){const{locale:e}=la(),n=it(!1),r=it(null),s=it(e.value);return QD(r,()=>n.value=!1),{showMenu:n,languageMenuRef:r,currentLanguage:s,changeLanguage:l=>{e.value=l,n.value=!1,s.value=l}}}},qD={class:"md:px-6 w-full text-white text-sm relative"},ZD={key:0,class:"flex space-x-1"},eM=C("img",{src:fw,class:"w-4"},null,-1),tM=C("span",{class:"text-xs"},[ln("English "),C("i",{class:"fas fa-chevron-down text-[8px]"})],-1),nM=[eM,tM],rM={key:1,class:"flex space-x-1"},sM=C("img",{src:dw,class:"w-4"},null,-1),iM=C("span",{class:"text-xs"},[ln("Nederlands "),C("i",{class:"fas fa-chevron-down text-[8px]"})],-1),oM=[sM,iM],aM={key:0,ref:"languageMenuRef",class:"bg-white text-gray-800 rounded-lg inline-block shadow-xl mt-1 absolute w-1/2 overflow-hidden"},lM=C("img",{src:dw,class:"w-4"},null,-1),uM=C("div",null,"Nederlands",-1),cM=C("img",{src:fw,class:"w-4"},null,-1),fM=C("div",null,"English",-1);function dM(e,n,r,s,a,l){return xe(),ke("div",qD,[C("div",null,[C("div",{class:"inline-block hover:bg-sixthly p-2 cursor-pointer rounded-lg",onClick:n[0]||(n[0]=o=>s.showMenu=!s.showMenu)},[s.currentLanguage==="en"?(xe(),ke("div",ZD,nM)):nt("",!0),s.currentLanguage==="nl"?(xe(),ke("div",rM,oM)):nt("",!0)])]),vt(bo,{"enter-from-class":"opacity-0 translate-y-3","enter-to-class":"opacity-100 translate-y-0","enter-active-class":"transform transition ease-out duration-200","leave-active-class":"transform transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-3"},{default:Pr(()=>[s.showMenu?(xe(),ke("ul",aM,[s.currentLanguage!=="nl"?(xe(),ke("li",{key:0,onClick:n[1]||(n[1]=o=>s.changeLanguage("nl")),class:"p-2 flex space-x-2 cursor-pointer hover:bg-gray-200"},[lM,ln(),uM])):nt("",!0),s.currentLanguage!=="en"?(xe(),ke("li",{key:1,onClick:n[2]||(n[2]=o=>s.changeLanguage("en")),class:"p-2 flex space-x-2 cursor-pointer hover:bg-gray-200"},[cM,ln(),fM])):nt("",!0)],512)):nt("",!0)]),_:1})])}const pM=xn(JD,[["render",dM]]),hM="/modules/buckaroo3/views/media/logo-0fae5e59.png",gM={name:"Menu.vue",components:{LanguageSelector:pM},setup(e,{emit:n}){const r=vn("view"),s=vn("app");return{view:r,app:s,setView:l=>{r.value=l,n("changedView",l)}}}},mM={class:"md:border-l-2 md:border-primary space-y-5"},vM=C("div",{class:"md:px-8 md:py-5 p-5 md:w-52 w-36"},[C("img",{src:hM})],-1),yM={class:"text-sm space-y-2 flex md:flex-col"},bM=C("i",{class:"fas fa-cogs md:text-base text-xl"},null,-1),_M={class:"md:inline block md:text-sm text-xs"},xM=C("i",{class:"fas fa-credit-card md:text-base text-xl"},null,-1),EM={class:"md:inline block md:text-sm text-xs"},wM=C("i",{class:"fas fa-badge-check md:text-base text-xl"},null,-1),SM={class:"md:inline block md:text-sm text-xs"},TM=C("i",{class:"fas fa-sort-numeric-up md:text-base text-xl"},null,-1),CM={class:"md:inline block md:text-sm text-xs"};function AM(e,n,r,s,a,l){const o=rn("LanguageSelector");return xe(),ke("div",mM,[C("div",null,[vM,vt(o)]),C("ul",yM,[C("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":s.view==="settings","hover:bg-seventhly text-eightly":s.view!=="settings"}]),onClick:n[0]||(n[0]=f=>s.setView("settings"))},[bM,ln(),C("span",_M,ce(e.$t("dashboard.menu.settings")),1)],2),C("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":s.view==="payment_methods","hover:bg-seventhly text-eightly":s.view!=="payment_methods"}]),onClick:n[1]||(n[1]=f=>s.setView("payment_methods"))},[xM,ln(),C("span",EM,ce(e.$t("dashboard.menu.payment_methods")),1)],2),C("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":s.view==="verification_methods","hover:bg-seventhly text-eightly":s.view!=="verification_methods"}]),onClick:n[2]||(n[2]=f=>s.setView("verification_methods"))},[wM,ln(),C("span",SM,ce(e.$t("dashboard.menu.verification_methods")),1)],2),C("li",{class:Jt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":s.view==="order_payment_methods","hover:bg-seventhly text-eightly":s.view!=="order_payment_methods"}]),onClick:n[3]||(n[3]=f=>s.setView("order_payment_methods"))},[TM,ln(),C("span",CM,ce(e.$t("dashboard.pages.order_payment_methods.order_payment_methods")),1)],2)])])}const OM=xn(gM,[["render",AM]]);var IM=Object.assign||function(e){for(var n,r=1;r"u"?"undefined":h0(o))==="object"?f:"")+"]",o,a)}):(typeof s>"u"?"undefined":h0(s))==="object"?Object.keys(s).forEach(function(o){return n.buildQueryParams(r+"["+o+"]",s[o],a)}):a(r,s)},this.getRoute=function(r){var s=n.contextRouting.prefix+r;if(n.routesRouting[s])return n.routesRouting[s];if(!n.routesRouting[r])throw new Error('The route "'+r+'" does not exist.');return n.routesRouting[r]},this.generate=function(r,s,a){var l=n.getRoute(r),o=s||{},f=IM({},o),d="_scheme",p="",y=!0,v="";if((l.tokens||[]).forEach(function(T){if(T[0]==="text")return p=T[1]+p,void(y=!1);if(T[0]==="variable"){var P=(l.defaults||{})[T[3]];if(y==!1||!P||(o||{})[T[3]]&&o[T[3]]!==l.defaults[T[3]]){var M;if((o||{})[T[3]])M=o[T[3]],delete f[T[3]];else if(P)M=l.defaults[T[3]];else{if(y)return;throw new Error('The route "'+r+'" requires the parameter "'+T[3]+'".')}var S=M===!0||M===!1||M==="";if(!S||!y){var I=encodeURIComponent(M).replace(/%2F/g,"/");I==="null"&&M===null&&(I=""),p=T[1]+I+p}y=!1}else P&&delete f[T[3]];return}throw new Error('The token type "'+T[0]+'" is not supported.')}),p==""&&(p="/"),(l.hosttokens||[]).forEach(function(T){var P;return T[0]==="text"?void(v=T[1]+v):void(T[0]==="variable"&&((o||{})[T[3]]?(P=o[T[3]],delete f[T[3]]):l.defaults[T[3]]&&(P=l.defaults[T[3]]),v=T[1]+P+v))}),p=n.contextRouting.base_url+p,l.requirements[d]&&n.getScheme()!==l.requirements[d]?p=l.requirements[d]+"://"+(v||n.getHost())+p:v&&n.getHost()!==v?p=n.getScheme()+"://"+v+p:a===!0&&(p=n.getScheme()+"://"+n.getHost()+p),0{const n=vn("csrfToken"),r=vn("adminUrl");let s=new UM(r,n);const a=it(),l=it(!1),o=it(),f=z0.create({baseURL:r+""}),d=v=>(l.value=!0,o.value=void 0,console.log(s.generate(e,v)),f.get(s.generate(e,v)).then(_=>a.value=_.data).catch(_=>{throw o.value=_,_}).finally(()=>l.value=!1)),p=(v,_)=>(l.value=!0,o.value=void 0,console.log(s.generate(e,_)),f.post(s.generate(e,_),v).then(w=>a.value=w.data).catch(w=>{throw o.value=w,w}).finally(()=>l.value=!1)),y=Jn(()=>o.value?o.value.message:null);return Yr(o,v=>{}),{loading:l,data:a,error:o,get:d,post:p,errorMessage:y}};var pw={exports:{}},zh={exports:{}};/*! * jQuery JavaScript Library v3.7.0 * https://jquery.com/ * @@ -80,16 +80,16 @@ For specific products you also need to enable it for the products in the PrestaS * https://jquery.org/license * * Date: 2023-05-11T18:29Z - */var d0;function SM(){return d0||(d0=1,function(e){(function(n,r){e.exports=n.document?r(n,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return r(i)}})(typeof window<"u"?window:Wo,function(n,r){var i=[],a=Object.getPrototypeOf,l=i.slice,o=i.flat?function(c){return i.flat.call(c)}:function(c){return i.concat.apply([],c)},f=i.push,d=i.indexOf,g={},y=g.toString,v=g.hasOwnProperty,_=v.toString,w=_.call(Object),C={},P=function(h){return typeof h=="function"&&typeof h.nodeType!="number"&&typeof h.item!="function"},M=function(h){return h!=null&&h===h.window},S=n.document,I={type:!0,src:!0,nonce:!0,noModule:!0};function B(c,h,b){b=b||S;var E,A,O=b.createElement("script");if(O.text=c,h)for(E in I)A=h[E]||h.getAttribute&&h.getAttribute(E),A&&O.setAttribute(E,A);b.head.appendChild(O).parentNode.removeChild(O)}function D(c){return c==null?c+"":typeof c=="object"||typeof c=="function"?g[y.call(c)]||"object":typeof c}var $="3.7.0",K=/HTML$/i,m=function(c,h){return new m.fn.init(c,h)};m.fn=m.prototype={jquery:$,constructor:m,length:0,toArray:function(){return l.call(this)},get:function(c){return c==null?l.call(this):c<0?this[c+this.length]:this[c]},pushStack:function(c){var h=m.merge(this.constructor(),c);return h.prevObject=this,h},each:function(c){return m.each(this,c)},map:function(c){return this.pushStack(m.map(this,function(h,b){return c.call(h,b,h)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(c,h){return(h+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(c,h){return h%2}))},eq:function(c){var h=this.length,b=+c+(c<0?h:0);return this.pushStack(b>=0&&b0&&h-1 in c}function j(c,h){return c.nodeName&&c.nodeName.toLowerCase()===h.toLowerCase()}var G=i.pop,re=i.sort,pe=i.splice,Z="[\\x20\\t\\r\\n\\f]",le=new RegExp("^"+Z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Z+"+$","g");m.contains=function(c,h){var b=h&&h.parentNode;return c===b||!!(b&&b.nodeType===1&&(c.contains?c.contains(b):c.compareDocumentPosition&&c.compareDocumentPosition(b)&16))};var Fe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Ee(c,h){return h?c==="\0"?"\uFFFD":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}m.escapeSelector=function(c){return(c+"").replace(Fe,Ee)};var Ae=S,$e=f;(function(){var c,h,b,E,A,O=$e,k,J,V,se,be,Se=m.expando,me=0,Me=0,Ke=Oo(),St=Oo(),xt=Oo(),zn=Oo(),Tn=function(W,ne){return W===ne&&(A=!0),0},gi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",mi="(?:\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Bt="\\["+Z+"*("+mi+")(?:"+Z+"*([*^$|!~]?=)"+Z+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+mi+"))|)"+Z+"*\\]",Xi=":("+mi+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Bt+")*)|.*)\\)|)",Ut=new RegExp(Z+"+","g"),fn=new RegExp("^"+Z+"*,"+Z+"*"),Co=new RegExp("^"+Z+"*([>+~]|"+Z+")"+Z+"*"),va=new RegExp(Z+"|>"),qr=new RegExp(Xi),fs=new RegExp("^"+mi+"$"),kr={ID:new RegExp("^#("+mi+")"),CLASS:new RegExp("^\\.("+mi+")"),TAG:new RegExp("^("+mi+"|[*])"),ATTR:new RegExp("^"+Bt),PSEUDO:new RegExp("^"+Xi),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Z+"*(even|odd|(([+-]|)(\\d*)n|)"+Z+"*(?:([+-]|)"+Z+"*(\\d+)|))"+Z+"*\\)|)","i"),bool:new RegExp("^(?:"+gi+")$","i"),needsContext:new RegExp("^"+Z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Z+"*((?:-\\d)?\\d*)"+Z+"*\\)|)(?=[^-]|$)","i")},Li=/^(?:input|select|textarea|button)$/i,Qi=/^h\d$/i,pr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,To=/[+~]/,Ni=new RegExp("\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\([^\\r\\n\\f])","g"),vi=function(W,ne){var ge="0x"+W.slice(1)-65536;return ne||(ge<0?String.fromCharCode(ge+65536):String.fromCharCode(ge>>10|55296,ge&1023|56320))},xr=function(){Ji()},Al=ds(function(W){return W.disabled===!0&&j(W,"fieldset")},{dir:"parentNode",next:"legend"});function Ao(){try{return k.activeElement}catch{}}try{O.apply(i=l.call(Ae.childNodes),Ae.childNodes),i[Ae.childNodes.length].nodeType}catch{O={apply:function(ne,ge){$e.apply(ne,l.call(ge))},call:function(ne){$e.apply(ne,l.call(arguments,1))}}}function an(W,ne,ge,ve){var H,ee,q,Ce,Oe,ze,Ye,We=ne&&ne.ownerDocument,Pt=ne?ne.nodeType:9;if(ge=ge||[],typeof W!="string"||!W||Pt!==1&&Pt!==9&&Pt!==11)return ge;if(!ve&&(Ji(ne),ne=ne||k,V)){if(Pt!==11&&(Oe=pr.exec(W)))if(H=Oe[1]){if(Pt===9)if(q=ne.getElementById(H)){if(q.id===H)return O.call(ge,q),ge}else return ge;else if(We&&(q=We.getElementById(H))&&an.contains(ne,q)&&q.id===H)return O.call(ge,q),ge}else{if(Oe[2])return O.apply(ge,ne.getElementsByTagName(W)),ge;if((H=Oe[3])&&ne.getElementsByClassName)return O.apply(ge,ne.getElementsByClassName(H)),ge}if(!zn[W+" "]&&(!se||!se.test(W))){if(Ye=W,We=ne,Pt===1&&(va.test(W)||Co.test(W))){for(We=To.test(W)&&Ol(ne.parentNode)||ne,(We!=ne||!C.scope)&&((Ce=ne.getAttribute("id"))?Ce=m.escapeSelector(Ce):ne.setAttribute("id",Ce=Se)),ze=Io(W),ee=ze.length;ee--;)ze[ee]=(Ce?"#"+Ce:":scope")+" "+ti(ze[ee]);Ye=ze.join(",")}try{return O.apply(ge,We.querySelectorAll(Ye)),ge}catch{zn(W,!0)}finally{Ce===Se&&ne.removeAttribute("id")}}}return Ic(W.replace(le,"$1"),ne,ge,ve)}function Oo(){var W=[];function ne(ge,ve){return W.push(ge+" ")>h.cacheLength&&delete ne[W.shift()],ne[ge+" "]=ve}return ne}function ei(W){return W[Se]=!0,W}function Bs(W){var ne=k.createElement("fieldset");try{return!!W(ne)}catch{return!1}finally{ne.parentNode&&ne.parentNode.removeChild(ne),ne=null}}function wp(W){return function(ne){return j(ne,"input")&&ne.type===W}}function Sp(W){return function(ne){return(j(ne,"input")||j(ne,"button"))&&ne.type===W}}function Ac(W){return function(ne){return"form"in ne?ne.parentNode&&ne.disabled===!1?"label"in ne?"label"in ne.parentNode?ne.parentNode.disabled===W:ne.disabled===W:ne.isDisabled===W||ne.isDisabled!==!W&&Al(ne)===W:ne.disabled===W:"label"in ne?ne.disabled===W:!1}}function Mr(W){return ei(function(ne){return ne=+ne,ei(function(ge,ve){for(var H,ee=W([],ge.length,ne),q=ee.length;q--;)ge[H=ee[q]]&&(ge[H]=!(ve[H]=ge[H]))})})}function Ol(W){return W&&typeof W.getElementsByTagName<"u"&&W}function Ji(W){var ne,ge=W?W.ownerDocument||W:Ae;return ge==k||ge.nodeType!==9||!ge.documentElement||(k=ge,J=k.documentElement,V=!m.isXMLDoc(k),be=J.matches||J.webkitMatchesSelector||J.msMatchesSelector,Ae!=k&&(ne=k.defaultView)&&ne.top!==ne&&ne.addEventListener("unload",xr),C.getById=Bs(function(ve){return J.appendChild(ve).id=m.expando,!k.getElementsByName||!k.getElementsByName(m.expando).length}),C.disconnectedMatch=Bs(function(ve){return be.call(ve,"*")}),C.scope=Bs(function(){return k.querySelectorAll(":scope")}),C.cssHas=Bs(function(){try{return k.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),C.getById?(h.filter.ID=function(ve){var H=ve.replace(Ni,vi);return function(ee){return ee.getAttribute("id")===H}},h.find.ID=function(ve,H){if(typeof H.getElementById<"u"&&V){var ee=H.getElementById(ve);return ee?[ee]:[]}}):(h.filter.ID=function(ve){var H=ve.replace(Ni,vi);return function(ee){var q=typeof ee.getAttributeNode<"u"&&ee.getAttributeNode("id");return q&&q.value===H}},h.find.ID=function(ve,H){if(typeof H.getElementById<"u"&&V){var ee,q,Ce,Oe=H.getElementById(ve);if(Oe){if(ee=Oe.getAttributeNode("id"),ee&&ee.value===ve)return[Oe];for(Ce=H.getElementsByName(ve),q=0;Oe=Ce[q++];)if(ee=Oe.getAttributeNode("id"),ee&&ee.value===ve)return[Oe]}return[]}}),h.find.TAG=function(ve,H){return typeof H.getElementsByTagName<"u"?H.getElementsByTagName(ve):H.querySelectorAll(ve)},h.find.CLASS=function(ve,H){if(typeof H.getElementsByClassName<"u"&&V)return H.getElementsByClassName(ve)},se=[],Bs(function(ve){var H;J.appendChild(ve).innerHTML="",ve.querySelectorAll("[selected]").length||se.push("\\["+Z+"*(?:value|"+gi+")"),ve.querySelectorAll("[id~="+Se+"-]").length||se.push("~="),ve.querySelectorAll("a#"+Se+"+*").length||se.push(".#.+[+~]"),ve.querySelectorAll(":checked").length||se.push(":checked"),H=k.createElement("input"),H.setAttribute("type","hidden"),ve.appendChild(H).setAttribute("name","D"),J.appendChild(ve).disabled=!0,ve.querySelectorAll(":disabled").length!==2&&se.push(":enabled",":disabled"),H=k.createElement("input"),H.setAttribute("name",""),ve.appendChild(H),ve.querySelectorAll("[name='']").length||se.push("\\["+Z+"*name"+Z+"*="+Z+`*(?:''|"")`)}),C.cssHas||se.push(":has"),se=se.length&&new RegExp(se.join("|")),Tn=function(ve,H){if(ve===H)return A=!0,0;var ee=!ve.compareDocumentPosition-!H.compareDocumentPosition;return ee||(ee=(ve.ownerDocument||ve)==(H.ownerDocument||H)?ve.compareDocumentPosition(H):1,ee&1||!C.sortDetached&&H.compareDocumentPosition(ve)===ee?ve===k||ve.ownerDocument==Ae&&an.contains(Ae,ve)?-1:H===k||H.ownerDocument==Ae&&an.contains(Ae,H)?1:E?d.call(E,ve)-d.call(E,H):0:ee&4?-1:1)}),k}an.matches=function(W,ne){return an(W,null,null,ne)},an.matchesSelector=function(W,ne){if(Ji(W),V&&!zn[ne+" "]&&(!se||!se.test(ne)))try{var ge=be.call(W,ne);if(ge||C.disconnectedMatch||W.document&&W.document.nodeType!==11)return ge}catch{zn(ne,!0)}return an(ne,k,null,[W]).length>0},an.contains=function(W,ne){return(W.ownerDocument||W)!=k&&Ji(W),m.contains(W,ne)},an.attr=function(W,ne){(W.ownerDocument||W)!=k&&Ji(W);var ge=h.attrHandle[ne.toLowerCase()],ve=ge&&v.call(h.attrHandle,ne.toLowerCase())?ge(W,ne,!V):void 0;return ve!==void 0?ve:W.getAttribute(ne)},an.error=function(W){throw new Error("Syntax error, unrecognized expression: "+W)},m.uniqueSort=function(W){var ne,ge=[],ve=0,H=0;if(A=!C.sortStable,E=!C.sortStable&&l.call(W,0),re.call(W,Tn),A){for(;ne=W[H++];)ne===W[H]&&(ve=ge.push(H));for(;ve--;)pe.call(W,ge[ve],1)}return E=null,W},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(l.apply(this)))},h=m.expr={cacheLength:50,createPseudo:ei,match:kr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(W){return W[1]=W[1].replace(Ni,vi),W[3]=(W[3]||W[4]||W[5]||"").replace(Ni,vi),W[2]==="~="&&(W[3]=" "+W[3]+" "),W.slice(0,4)},CHILD:function(W){return W[1]=W[1].toLowerCase(),W[1].slice(0,3)==="nth"?(W[3]||an.error(W[0]),W[4]=+(W[4]?W[5]+(W[6]||1):2*(W[3]==="even"||W[3]==="odd")),W[5]=+(W[7]+W[8]||W[3]==="odd")):W[3]&&an.error(W[0]),W},PSEUDO:function(W){var ne,ge=!W[6]&&W[2];return kr.CHILD.test(W[0])?null:(W[3]?W[2]=W[4]||W[5]||"":ge&&qr.test(ge)&&(ne=Io(ge,!0))&&(ne=ge.indexOf(")",ge.length-ne)-ge.length)&&(W[0]=W[0].slice(0,ne),W[2]=ge.slice(0,ne)),W.slice(0,3))}},filter:{TAG:function(W){var ne=W.replace(Ni,vi).toLowerCase();return W==="*"?function(){return!0}:function(ge){return j(ge,ne)}},CLASS:function(W){var ne=Ke[W+" "];return ne||(ne=new RegExp("(^|"+Z+")"+W+"("+Z+"|$)"))&&Ke(W,function(ge){return ne.test(typeof ge.className=="string"&&ge.className||typeof ge.getAttribute<"u"&&ge.getAttribute("class")||"")})},ATTR:function(W,ne,ge){return function(ve){var H=an.attr(ve,W);return H==null?ne==="!=":ne?(H+="",ne==="="?H===ge:ne==="!="?H!==ge:ne==="^="?ge&&H.indexOf(ge)===0:ne==="*="?ge&&H.indexOf(ge)>-1:ne==="$="?ge&&H.slice(-ge.length)===ge:ne==="~="?(" "+H.replace(Ut," ")+" ").indexOf(ge)>-1:ne==="|="?H===ge||H.slice(0,ge.length+1)===ge+"-":!1):!0}},CHILD:function(W,ne,ge,ve,H){var ee=W.slice(0,3)!=="nth",q=W.slice(-4)!=="last",Ce=ne==="of-type";return ve===1&&H===0?function(Oe){return!!Oe.parentNode}:function(Oe,ze,Ye){var We,Pt,it,Mt,Yn,tr=ee!==q?"nextSibling":"previousSibling",Xn=Oe.parentNode,wr=Ce&&Oe.nodeName.toLowerCase(),Ri=!Ye&&!Ce,_t=!1;if(Xn){if(ee){for(;tr;){for(it=Oe;it=it[tr];)if(Ce?j(it,wr):it.nodeType===1)return!1;Yn=tr=W==="only"&&!Yn&&"nextSibling"}return!0}if(Yn=[q?Xn.firstChild:Xn.lastChild],q&&Ri){for(Pt=Xn[Se]||(Xn[Se]={}),We=Pt[W]||[],Mt=We[0]===me&&We[1],_t=Mt&&We[2],it=Mt&&Xn.childNodes[Mt];it=++Mt&&it&&it[tr]||(_t=Mt=0)||Yn.pop();)if(it.nodeType===1&&++_t&&it===Oe){Pt[W]=[me,Mt,_t];break}}else if(Ri&&(Pt=Oe[Se]||(Oe[Se]={}),We=Pt[W]||[],Mt=We[0]===me&&We[1],_t=Mt),_t===!1)for(;(it=++Mt&&it&&it[tr]||(_t=Mt=0)||Yn.pop())&&!((Ce?j(it,wr):it.nodeType===1)&&++_t&&(Ri&&(Pt=it[Se]||(it[Se]={}),Pt[W]=[me,_t]),it===Oe)););return _t-=H,_t===ve||_t%ve===0&&_t/ve>=0}}},PSEUDO:function(W,ne){var ge,ve=h.pseudos[W]||h.setFilters[W.toLowerCase()]||an.error("unsupported pseudo: "+W);return ve[Se]?ve(ne):ve.length>1?(ge=[W,W,"",ne],h.setFilters.hasOwnProperty(W.toLowerCase())?ei(function(H,ee){for(var q,Ce=ve(H,ne),Oe=Ce.length;Oe--;)q=d.call(H,Ce[Oe]),H[q]=!(ee[q]=Ce[Oe])}):function(H){return ve(H,0,ge)}):ve}},pseudos:{not:ei(function(W){var ne=[],ge=[],ve=Pl(W.replace(le,"$1"));return ve[Se]?ei(function(H,ee,q,Ce){for(var Oe,ze=ve(H,null,Ce,[]),Ye=H.length;Ye--;)(Oe=ze[Ye])&&(H[Ye]=!(ee[Ye]=Oe))}):function(H,ee,q){return ne[0]=H,ve(ne,null,q,ge),ne[0]=null,!ge.pop()}}),has:ei(function(W){return function(ne){return an(W,ne).length>0}}),contains:ei(function(W){return W=W.replace(Ni,vi),function(ne){return(ne.textContent||m.text(ne)).indexOf(W)>-1}}),lang:ei(function(W){return fs.test(W||"")||an.error("unsupported lang: "+W),W=W.replace(Ni,vi).toLowerCase(),function(ne){var ge;do if(ge=V?ne.lang:ne.getAttribute("xml:lang")||ne.getAttribute("lang"))return ge=ge.toLowerCase(),ge===W||ge.indexOf(W+"-")===0;while((ne=ne.parentNode)&&ne.nodeType===1);return!1}}),target:function(W){var ne=n.location&&n.location.hash;return ne&&ne.slice(1)===W.id},root:function(W){return W===J},focus:function(W){return W===Ao()&&k.hasFocus()&&!!(W.type||W.href||~W.tabIndex)},enabled:Ac(!1),disabled:Ac(!0),checked:function(W){return j(W,"input")&&!!W.checked||j(W,"option")&&!!W.selected},selected:function(W){return W.parentNode&&W.parentNode.selectedIndex,W.selected===!0},empty:function(W){for(W=W.firstChild;W;W=W.nextSibling)if(W.nodeType<6)return!1;return!0},parent:function(W){return!h.pseudos.empty(W)},header:function(W){return Qi.test(W.nodeName)},input:function(W){return Li.test(W.nodeName)},button:function(W){return j(W,"input")&&W.type==="button"||j(W,"button")},text:function(W){var ne;return j(W,"input")&&W.type==="text"&&((ne=W.getAttribute("type"))==null||ne.toLowerCase()==="text")},first:Mr(function(){return[0]}),last:Mr(function(W,ne){return[ne-1]}),eq:Mr(function(W,ne,ge){return[ge<0?ge+ne:ge]}),even:Mr(function(W,ne){for(var ge=0;gene?ve=ne:ve=ge;--ve>=0;)W.push(ve);return W}),gt:Mr(function(W,ne,ge){for(var ve=ge<0?ge+ne:ge;++ve1?function(ne,ge,ve){for(var H=W.length;H--;)if(!W[H](ne,ge,ve))return!1;return!0}:W[0]}function Cp(W,ne,ge){for(var ve=0,H=ne.length;ve-1&&(q[Ye]=!(Ce[Ye]=Pt))}}else it=ba(it===Ce?it.splice(tr,it.length):it),H?H(null,Ce,it,ze):O.apply(Ce,it)})}function Er(W){for(var ne,ge,ve,H=W.length,ee=h.relative[W[0].type],q=ee||h.relative[" "],Ce=ee?1:0,Oe=ds(function(We){return We===ne},q,!0),ze=ds(function(We){return d.call(ne,We)>-1},q,!0),Ye=[function(We,Pt,it){var Mt=!ee&&(it||Pt!=b)||((ne=Pt).nodeType?Oe(We,Pt,it):ze(We,Pt,it));return ne=null,Mt}];Ce1&&Il(Ye),Ce>1&&ti(W.slice(0,Ce-1).concat({value:W[Ce-2].type===" "?"*":""})).replace(le,"$1"),ge,Ce0,ve=W.length>0,H=function(ee,q,Ce,Oe,ze){var Ye,We,Pt,it=0,Mt="0",Yn=ee&&[],tr=[],Xn=b,wr=ee||ve&&h.find.TAG("*",ze),Ri=me+=Xn==null?1:Math.random()||.1,_t=wr.length;for(ze&&(b=q==k||q||ze);Mt!==_t&&(Ye=wr[Mt])!=null;Mt++){if(ve&&Ye){for(We=0,!q&&Ye.ownerDocument!=k&&(Ji(Ye),Ce=!V);Pt=W[We++];)if(Pt(Ye,q||k,Ce)){O.call(Oe,Ye);break}ze&&(me=Ri)}ge&&((Ye=!Pt&&Ye)&&it--,ee&&Yn.push(Ye))}if(it+=Mt,ge&&Mt!==it){for(We=0;Pt=ne[We++];)Pt(Yn,tr,q,Ce);if(ee){if(it>0)for(;Mt--;)Yn[Mt]||tr[Mt]||(tr[Mt]=G.call(Oe));tr=ba(tr)}O.apply(Oe,tr),ze&&!ee&&tr.length>0&&it+ne.length>1&&m.uniqueSort(Oe)}return ze&&(me=Ri,b=Xn),Yn};return ge?ei(H):H}function Pl(W,ne){var ge,ve=[],H=[],ee=xt[W+" "];if(!ee){for(ne||(ne=Io(W)),ge=ne.length;ge--;)ee=Er(ne[ge]),ee[Se]?ve.push(ee):H.push(ee);ee=xt(W,Oc(H,ve)),ee.selector=W}return ee}function Ic(W,ne,ge,ve){var H,ee,q,Ce,Oe,ze=typeof W=="function"&&W,Ye=!ve&&Io(W=ze.selector||W);if(ge=ge||[],Ye.length===1){if(ee=Ye[0]=Ye[0].slice(0),ee.length>2&&(q=ee[0]).type==="ID"&&ne.nodeType===9&&V&&h.relative[ee[1].type]){if(ne=(h.find.ID(q.matches[0].replace(Ni,vi),ne)||[])[0],ne)ze&&(ne=ne.parentNode);else return ge;W=W.slice(ee.shift().value.length)}for(H=kr.needsContext.test(W)?0:ee.length;H--&&(q=ee[H],!h.relative[Ce=q.type]);)if((Oe=h.find[Ce])&&(ve=Oe(q.matches[0].replace(Ni,vi),To.test(ee[0].type)&&Ol(ne.parentNode)||ne))){if(ee.splice(H,1),W=ve.length&&ti(ee),!W)return O.apply(ge,ve),ge;break}}return(ze||Pl(W,Ye))(ve,ne,!V,ge,!ne||To.test(W)&&Ol(ne.parentNode)||ne),ge}C.sortStable=Se.split("").sort(Tn).join("")===Se,Ji(),C.sortDetached=Bs(function(W){return W.compareDocumentPosition(k.createElement("fieldset"))&1}),m.find=an,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,an.compile=Pl,an.select=Ic,an.setDocument=Ji,an.escape=m.escapeSelector,an.getText=m.text,an.isXML=m.isXMLDoc,an.selectors=m.expr,an.support=m.support,an.uniqueSort=m.uniqueSort})();var tt=function(c,h,b){for(var E=[],A=b!==void 0;(c=c[h])&&c.nodeType!==9;)if(c.nodeType===1){if(A&&m(c).is(b))break;E.push(c)}return E},Dt=function(c,h){for(var b=[];c;c=c.nextSibling)c.nodeType===1&&c!==h&&b.push(c);return b},ot=m.expr.match.needsContext,mt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function zt(c,h,b){return P(h)?m.grep(c,function(E,A){return!!h.call(E,A,E)!==b}):h.nodeType?m.grep(c,function(E){return E===h!==b}):typeof h!="string"?m.grep(c,function(E){return d.call(h,E)>-1!==b}):m.filter(h,c,b)}m.filter=function(c,h,b){var E=h[0];return b&&(c=":not("+c+")"),h.length===1&&E.nodeType===1?m.find.matchesSelector(E,c)?[E]:[]:m.find.matches(c,m.grep(h,function(A){return A.nodeType===1}))},m.fn.extend({find:function(c){var h,b,E=this.length,A=this;if(typeof c!="string")return this.pushStack(m(c).filter(function(){for(h=0;h1?m.uniqueSort(b):b},filter:function(c){return this.pushStack(zt(this,c||[],!1))},not:function(c){return this.pushStack(zt(this,c||[],!0))},is:function(c){return!!zt(this,typeof c=="string"&&ot.test(c)?m(c):c||[],!1).length}});var qt,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,dt=m.fn.init=function(c,h,b){var E,A;if(!c)return this;if(b=b||qt,typeof c=="string")if(c[0]==="<"&&c[c.length-1]===">"&&c.length>=3?E=[null,c,null]:E=kt.exec(c),E&&(E[1]||!h))if(E[1]){if(h=h instanceof m?h[0]:h,m.merge(this,m.parseHTML(E[1],h&&h.nodeType?h.ownerDocument||h:S,!0)),mt.test(E[1])&&m.isPlainObject(h))for(E in h)P(this[E])?this[E](h[E]):this.attr(E,h[E]);return this}else return A=S.getElementById(E[2]),A&&(this[0]=A,this.length=1),this;else return!h||h.jquery?(h||b).find(c):this.constructor(h).find(c);else{if(c.nodeType)return this[0]=c,this.length=1,this;if(P(c))return b.ready!==void 0?b.ready(c):c(m)}return m.makeArray(c,this)};dt.prototype=m.fn,qt=m(S);var Nt=/^(?:parents|prev(?:Until|All))/,en={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(c){var h=m(c,this),b=h.length;return this.filter(function(){for(var E=0;E-1:b.nodeType===1&&m.find.matchesSelector(b,c))){O.push(b);break}}return this.pushStack(O.length>1?m.uniqueSort(O):O)},index:function(c){return c?typeof c=="string"?d.call(m(c),this[0]):d.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,h){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(c,h))))},addBack:function(c){return this.add(c==null?this.prevObject:this.prevObject.filter(c))}});function It(c,h){for(;(c=c[h])&&c.nodeType!==1;);return c}m.each({parent:function(c){var h=c.parentNode;return h&&h.nodeType!==11?h:null},parents:function(c){return tt(c,"parentNode")},parentsUntil:function(c,h,b){return tt(c,"parentNode",b)},next:function(c){return It(c,"nextSibling")},prev:function(c){return It(c,"previousSibling")},nextAll:function(c){return tt(c,"nextSibling")},prevAll:function(c){return tt(c,"previousSibling")},nextUntil:function(c,h,b){return tt(c,"nextSibling",b)},prevUntil:function(c,h,b){return tt(c,"previousSibling",b)},siblings:function(c){return Dt((c.parentNode||{}).firstChild,c)},children:function(c){return Dt(c.firstChild)},contents:function(c){return c.contentDocument!=null&&a(c.contentDocument)?c.contentDocument:(j(c,"template")&&(c=c.content||c),m.merge([],c.childNodes))}},function(c,h){m.fn[c]=function(b,E){var A=m.map(this,h,b);return c.slice(-5)!=="Until"&&(E=b),E&&typeof E=="string"&&(A=m.filter(E,A)),this.length>1&&(en[c]||m.uniqueSort(A),Nt.test(c)&&A.reverse()),this.pushStack(A)}});var Ht=/[^\x20\t\r\n\f]+/g;function gn(c){var h={};return m.each(c.match(Ht)||[],function(b,E){h[E]=!0}),h}m.Callbacks=function(c){c=typeof c=="string"?gn(c):m.extend({},c);var h,b,E,A,O=[],k=[],J=-1,V=function(){for(A=A||c.once,E=h=!0;k.length;J=-1)for(b=k.shift();++J-1;)O.splice(me,1),me<=J&&J--}),this},has:function(be){return be?m.inArray(be,O)>-1:O.length>0},empty:function(){return O&&(O=[]),this},disable:function(){return A=k=[],O=b="",this},disabled:function(){return!O},lock:function(){return A=k=[],!b&&!h&&(O=b=""),this},locked:function(){return!!A},fireWith:function(be,Se){return A||(Se=Se||[],Se=[be,Se.slice?Se.slice():Se],k.push(Se),h||V()),this},fire:function(){return se.fireWith(this,arguments),this},fired:function(){return!!E}};return se};function X(c){return c}function N(c){throw c}function R(c,h,b,E){var A;try{c&&P(A=c.promise)?A.call(c).done(h).fail(b):c&&P(A=c.then)?A.call(c,h,b):h.apply(void 0,[c].slice(E))}catch(O){b.apply(void 0,[O])}}m.extend({Deferred:function(c){var h=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],b="pending",E={state:function(){return b},always:function(){return A.done(arguments).fail(arguments),this},catch:function(O){return E.then(null,O)},pipe:function(){var O=arguments;return m.Deferred(function(k){m.each(h,function(J,V){var se=P(O[V[4]])&&O[V[4]];A[V[1]](function(){var be=se&&se.apply(this,arguments);be&&P(be.promise)?be.promise().progress(k.notify).done(k.resolve).fail(k.reject):k[V[0]+"With"](this,se?[be]:arguments)})}),O=null}).promise()},then:function(O,k,J){var V=0;function se(be,Se,me,Me){return function(){var Ke=this,St=arguments,xt=function(){var Tn,gi;if(!(be=V&&(me!==N&&(Ke=void 0,St=[Tn]),Se.rejectWith(Ke,St))}};be?zn():(m.Deferred.getErrorHook?zn.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(zn.error=m.Deferred.getStackHook()),n.setTimeout(zn))}}return m.Deferred(function(be){h[0][3].add(se(0,be,P(J)?J:X,be.notifyWith)),h[1][3].add(se(0,be,P(O)?O:X)),h[2][3].add(se(0,be,P(k)?k:N))}).promise()},promise:function(O){return O!=null?m.extend(O,E):E}},A={};return m.each(h,function(O,k){var J=k[2],V=k[5];E[k[1]]=J.add,V&&J.add(function(){b=V},h[3-O][2].disable,h[3-O][3].disable,h[0][2].lock,h[0][3].lock),J.add(k[3].fire),A[k[0]]=function(){return A[k[0]+"With"](this===A?void 0:this,arguments),this},A[k[0]+"With"]=J.fireWith}),E.promise(A),c&&c.call(A,A),A},when:function(c){var h=arguments.length,b=h,E=Array(b),A=l.call(arguments),O=m.Deferred(),k=function(J){return function(V){E[J]=this,A[J]=arguments.length>1?l.call(arguments):V,--h||O.resolveWith(E,A)}};if(h<=1&&(R(c,O.done(k(b)).resolve,O.reject,!h),O.state()==="pending"||P(A[b]&&A[b].then)))return O.then();for(;b--;)R(A[b],k(b),O.reject);return O.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(c,h){n.console&&n.console.warn&&c&&z.test(c.name)&&n.console.warn("jQuery.Deferred exception: "+c.message,c.stack,h)},m.readyException=function(c){n.setTimeout(function(){throw c})};var ie=m.Deferred();m.fn.ready=function(c){return ie.then(c).catch(function(h){m.readyException(h)}),this},m.extend({isReady:!1,readyWait:1,ready:function(c){(c===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(c!==!0&&--m.readyWait>0)&&ie.resolveWith(S,[m]))}}),m.ready.then=ie.then;function ae(){S.removeEventListener("DOMContentLoaded",ae),n.removeEventListener("load",ae),m.ready()}S.readyState==="complete"||S.readyState!=="loading"&&!S.documentElement.doScroll?n.setTimeout(m.ready):(S.addEventListener("DOMContentLoaded",ae),n.addEventListener("load",ae));var Te=function(c,h,b,E,A,O,k){var J=0,V=c.length,se=b==null;if(D(b)==="object"){A=!0;for(J in b)Te(c,h,J,b[J],!0,O,k)}else if(E!==void 0&&(A=!0,P(E)||(k=!0),se&&(k?(h.call(c,E),h=null):(se=h,h=function(be,Se,me){return se.call(m(be),me)})),h))for(;J1,null,!0)},removeData:function(c){return this.each(function(){Je.remove(this,c)})}}),m.extend({queue:function(c,h,b){var E;if(c)return h=(h||"fx")+"queue",E=we.get(c,h),b&&(!E||Array.isArray(b)?E=we.access(c,h,m.makeArray(b)):E.push(b)),E||[]},dequeue:function(c,h){h=h||"fx";var b=m.queue(c,h),E=b.length,A=b.shift(),O=m._queueHooks(c,h),k=function(){m.dequeue(c,h)};A==="inprogress"&&(A=b.shift(),E--),A&&(h==="fx"&&b.unshift("inprogress"),delete O.stop,A.call(c,k,O)),!E&&O&&O.empty.fire()},_queueHooks:function(c,h){var b=h+"queueHooks";return we.get(c,b)||we.access(c,b,{empty:m.Callbacks("once memory").add(function(){we.remove(c,[h+"queue",b])})})}}),m.fn.extend({queue:function(c,h){var b=2;return typeof c!="string"&&(h=c,c="fx",b--),arguments.length\x20\t\r\n\f]*)/i,Ns=/^$|^module$|\/(?:java|ecma)script/i;(function(){var c=S.createDocumentFragment(),h=c.appendChild(S.createElement("div")),b=S.createElement("input");b.setAttribute("type","radio"),b.setAttribute("checked","checked"),b.setAttribute("name","t"),h.appendChild(b),C.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="",C.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="",C.option=!!h.lastChild})();var dr={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};dr.tbody=dr.tfoot=dr.colgroup=dr.caption=dr.thead,dr.th=dr.td,C.option||(dr.optgroup=dr.option=[1,""]);function kn(c,h){var b;return typeof c.getElementsByTagName<"u"?b=c.getElementsByTagName(h||"*"):typeof c.querySelectorAll<"u"?b=c.querySelectorAll(h||"*"):b=[],h===void 0||h&&j(c,h)?m.merge([c],b):b}function ua(c,h){for(var b=0,E=c.length;b-1){A&&A.push(O);continue}if(se=Xe(O),k=kn(Se.appendChild(O),"script"),se&&ua(k),b)for(be=0;O=k[be++];)Ns.test(O.type||"")&&b.push(O)}return Se}var ic=/^([^.]*)(?:\.(.+)|)/;function Gi(){return!0}function Rs(){return!1}function Eo(c,h,b,E,A,O){var k,J;if(typeof h=="object"){typeof b!="string"&&(E=E||b,b=void 0);for(J in h)Eo(c,J,b,E,h[J],O);return c}if(E==null&&A==null?(A=b,E=b=void 0):A==null&&(typeof b=="string"?(A=E,E=void 0):(A=E,E=b,b=void 0)),A===!1)A=Rs;else if(!A)return c;return O===1&&(k=A,A=function(V){return m().off(V),k.apply(this,arguments)},A.guid=k.guid||(k.guid=m.guid++)),c.each(function(){m.event.add(this,h,A,E,b)})}m.event={global:{},add:function(c,h,b,E,A){var O,k,J,V,se,be,Se,me,Me,Ke,St,xt=we.get(c);if(!!he(c))for(b.handler&&(O=b,b=O.handler,A=O.selector),A&&m.find.matchesSelector(Ze,A),b.guid||(b.guid=m.guid++),(V=xt.events)||(V=xt.events=Object.create(null)),(k=xt.handle)||(k=xt.handle=function(zn){return typeof m<"u"&&m.event.triggered!==zn.type?m.event.dispatch.apply(c,arguments):void 0}),h=(h||"").match(Ht)||[""],se=h.length;se--;)J=ic.exec(h[se])||[],Me=St=J[1],Ke=(J[2]||"").split(".").sort(),Me&&(Se=m.event.special[Me]||{},Me=(A?Se.delegateType:Se.bindType)||Me,Se=m.event.special[Me]||{},be=m.extend({type:Me,origType:St,data:E,handler:b,guid:b.guid,selector:A,needsContext:A&&m.expr.match.needsContext.test(A),namespace:Ke.join(".")},O),(me=V[Me])||(me=V[Me]=[],me.delegateCount=0,(!Se.setup||Se.setup.call(c,E,Ke,k)===!1)&&c.addEventListener&&c.addEventListener(Me,k)),Se.add&&(Se.add.call(c,be),be.handler.guid||(be.handler.guid=b.guid)),A?me.splice(me.delegateCount++,0,be):me.push(be),m.event.global[Me]=!0)},remove:function(c,h,b,E,A){var O,k,J,V,se,be,Se,me,Me,Ke,St,xt=we.hasData(c)&&we.get(c);if(!(!xt||!(V=xt.events))){for(h=(h||"").match(Ht)||[""],se=h.length;se--;){if(J=ic.exec(h[se])||[],Me=St=J[1],Ke=(J[2]||"").split(".").sort(),!Me){for(Me in V)m.event.remove(c,Me+h[se],b,E,!0);continue}for(Se=m.event.special[Me]||{},Me=(E?Se.delegateType:Se.bindType)||Me,me=V[Me]||[],J=J[2]&&new RegExp("(^|\\.)"+Ke.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=O=me.length;O--;)be=me[O],(A||St===be.origType)&&(!b||b.guid===be.guid)&&(!J||J.test(be.namespace))&&(!E||E===be.selector||E==="**"&&be.selector)&&(me.splice(O,1),be.selector&&me.delegateCount--,Se.remove&&Se.remove.call(c,be));k&&!me.length&&((!Se.teardown||Se.teardown.call(c,Ke,xt.handle)===!1)&&m.removeEvent(c,Me,xt.handle),delete V[Me])}m.isEmptyObject(V)&&we.remove(c,"handle events")}},dispatch:function(c){var h,b,E,A,O,k,J=new Array(arguments.length),V=m.event.fix(c),se=(we.get(this,"events")||Object.create(null))[V.type]||[],be=m.event.special[V.type]||{};for(J[0]=V,h=1;h=1)){for(;se!==this;se=se.parentNode||this)if(se.nodeType===1&&!(c.type==="click"&&se.disabled===!0)){for(O=[],k={},b=0;b-1:m.find(A,this,null,[se]).length),k[A]&&O.push(E);O.length&&J.push({elem:se,handlers:O})}}return se=this,V\s*$/g;function sc(c,h){return j(c,"table")&&j(h.nodeType!==11?h:h.firstChild,"tr")&&m(c).children("tbody")[0]||c}function lp(c){return c.type=(c.getAttribute("type")!==null)+"/"+c.type,c}function up(c){return(c.type||"").slice(0,5)==="true/"?c.type=c.type.slice(5):c.removeAttribute("type"),c}function oc(c,h){var b,E,A,O,k,J,V;if(h.nodeType===1){if(we.hasData(c)&&(O=we.get(c),V=O.events,V)){we.remove(h,"handle events");for(A in V)for(b=0,E=V[A].length;b1&&typeof Me=="string"&&!C.checkClone&&op.test(Me))return c.each(function(St){var xt=c.eq(St);Ke&&(h[0]=Me.call(this,St,xt.html())),Ds(xt,h,b,E)});if(Se&&(A=rc(h,c[0].ownerDocument,!1,c,E),O=A.firstChild,A.childNodes.length===1&&(A=O),O||E)){for(k=m.map(kn(A,"script"),lp),J=k.length;be0&&ua(k,!V&&kn(c,"script")),J},cleanData:function(c){for(var h,b,E,A=m.event.special,O=0;(b=c[O])!==void 0;O++)if(he(b)){if(h=b[we.expando]){if(h.events)for(E in h.events)A[E]?m.event.remove(b,E):m.removeEvent(b,E,h.handle);b[we.expando]=void 0}b[Je.expando]&&(b[Je.expando]=void 0)}}}),m.fn.extend({detach:function(c){return lc(this,c,!0)},remove:function(c){return lc(this,c)},text:function(c){return Te(this,function(h){return h===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=h)})},null,c,arguments.length)},append:function(){return Ds(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=sc(this,c);h.appendChild(c)}})},prepend:function(){return Ds(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=sc(this,c);h.insertBefore(c,h.firstChild)}})},before:function(){return Ds(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return Ds(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},empty:function(){for(var c,h=0;(c=this[h])!=null;h++)c.nodeType===1&&(m.cleanData(kn(c,!1)),c.textContent="");return this},clone:function(c,h){return c=c==null?!1:c,h=h==null?c:h,this.map(function(){return m.clone(this,c,h)})},html:function(c){return Te(this,function(h){var b=this[0]||{},E=0,A=this.length;if(h===void 0&&b.nodeType===1)return b.innerHTML;if(typeof h=="string"&&!sp.test(h)&&!dr[(Gn.exec(h)||["",""])[1].toLowerCase()]){h=m.htmlPrefilter(h);try{for(;E=0&&(V+=Math.max(0,Math.ceil(c["offset"+h[0].toUpperCase()+h.slice(1)]-O-V-J-.5))||0),V+se}function pl(c,h,b){var E=fa(c),A=!C.boxSizingReliable()||b,O=A&&m.css(c,"boxSizing",!1,E)==="border-box",k=O,J=wo(c,h,E),V="offset"+h[0].toUpperCase()+h.slice(1);if(cl.test(J)){if(!b)return J;J="auto"}return(!C.boxSizingReliable()&&O||!C.reliableTrDimensions()&&j(c,"tr")||J==="auto"||!parseFloat(J)&&m.css(c,"display",!1,E)==="inline")&&c.getClientRects().length&&(O=m.css(c,"boxSizing",!1,E)==="border-box",k=V in c,k&&(J=c[V])),J=parseFloat(J)||0,J+dl(c,h,b||(O?"border":"content"),k,E,J)+"px"}m.extend({cssHooks:{opacity:{get:function(c,h){if(h){var b=wo(c,"opacity");return b===""?"1":b}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(c,h,b,E){if(!(!c||c.nodeType===3||c.nodeType===8||!c.style)){var A,O,k,J=oe(h),V=fl.test(h),se=c.style;if(V||(h=pa(J)),k=m.cssHooks[h]||m.cssHooks[J],b!==void 0){if(O=typeof b,O==="string"&&(A=Re.exec(b))&&A[1]&&(b=at(c,h,A),O="number"),b==null||b!==b)return;O==="number"&&!V&&(b+=A&&A[3]||(m.cssNumber[J]?"":"px")),!C.clearCloneStyle&&b===""&&h.indexOf("background")===0&&(se[h]="inherit"),(!k||!("set"in k)||(b=k.set(c,b,E))!==void 0)&&(V?se.setProperty(h,b):se[h]=b)}else return k&&"get"in k&&(A=k.get(c,!1,E))!==void 0?A:se[h]}},css:function(c,h,b,E){var A,O,k,J=oe(h),V=fl.test(h);return V||(h=pa(J)),k=m.cssHooks[h]||m.cssHooks[J],k&&"get"in k&&(A=k.get(c,!0,b)),A===void 0&&(A=wo(c,h,E)),A==="normal"&&h in gc&&(A=gc[h]),b===""||b?(O=parseFloat(A),b===!0||isFinite(O)?O||0:A):A}}),m.each(["height","width"],function(c,h){m.cssHooks[h]={get:function(b,E,A){if(E)return hc.test(m.css(b,"display"))&&(!b.getClientRects().length||!b.getBoundingClientRect().width)?uc(b,cp,function(){return pl(b,h,A)}):pl(b,h,A)},set:function(b,E,A){var O,k=fa(b),J=!C.scrollboxSize()&&k.position==="absolute",V=J||A,se=V&&m.css(b,"boxSizing",!1,k)==="border-box",be=A?dl(b,h,A,se,k):0;return se&&J&&(be-=Math.ceil(b["offset"+h[0].toUpperCase()+h.slice(1)]-parseFloat(k[h])-dl(b,h,"border",!1,k)-.5)),be&&(O=Re.exec(E))&&(O[3]||"px")!=="px"&&(b.style[h]=E,E=m.css(b,h)),mc(b,E,be)}}}),m.cssHooks.marginLeft=So(C.reliableMarginLeft,function(c,h){if(h)return(parseFloat(wo(c,"marginLeft"))||c.getBoundingClientRect().left-uc(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(c,h){m.cssHooks[c+h]={expand:function(b){for(var E=0,A={},O=typeof b=="string"?b.split(" "):[b];E<4;E++)A[c+Be[E]+h]=O[E]||O[E-2]||O[0];return A}},c!=="margin"&&(m.cssHooks[c+h].set=mc)}),m.fn.extend({css:function(c,h){return Te(this,function(b,E,A){var O,k,J={},V=0;if(Array.isArray(E)){for(O=fa(b),k=E.length;V1)}});function or(c,h,b,E,A){return new or.prototype.init(c,h,b,E,A)}m.Tween=or,or.prototype={constructor:or,init:function(c,h,b,E,A,O){this.elem=c,this.prop=b,this.easing=A||m.easing._default,this.options=h,this.start=this.now=this.cur(),this.end=E,this.unit=O||(m.cssNumber[b]?"":"px")},cur:function(){var c=or.propHooks[this.prop];return c&&c.get?c.get(this):or.propHooks._default.get(this)},run:function(c){var h,b=or.propHooks[this.prop];return this.options.duration?this.pos=h=m.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=h=c,this.now=(this.end-this.start)*h+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),b&&b.set?b.set(this):or.propHooks._default.set(this),this}},or.prototype.init.prototype=or.prototype,or.propHooks={_default:{get:function(c){var h;return c.elem.nodeType!==1||c.elem[c.prop]!=null&&c.elem.style[c.prop]==null?c.elem[c.prop]:(h=m.css(c.elem,c.prop,""),!h||h==="auto"?0:h)},set:function(c){m.fx.step[c.prop]?m.fx.step[c.prop](c):c.elem.nodeType===1&&(m.cssHooks[c.prop]||c.elem.style[pa(c.prop)]!=null)?m.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}},or.propHooks.scrollTop=or.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}},m.easing={linear:function(c){return c},swing:function(c){return .5-Math.cos(c*Math.PI)/2},_default:"swing"},m.fx=or.prototype.init,m.fx.step={};var us,ks,fp=/^(?:toggle|show|hide)$/,vc=/queueHooks$/;function Ms(){ks&&(S.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Ms):n.setTimeout(Ms,m.fx.interval),m.fx.tick())}function hl(){return n.setTimeout(function(){us=void 0}),us=Date.now()}function ha(c,h){var b,E=0,A={height:c};for(h=h?1:0;E<4;E+=2-h)b=Be[E],A["margin"+b]=A["padding"+b]=c;return h&&(A.opacity=A.width=c),A}function gl(c,h,b){for(var E,A=(Zr.tweeners[h]||[]).concat(Zr.tweeners["*"]),O=0,k=A.length;O1)},removeAttr:function(c){return this.each(function(){m.removeAttr(this,c)})}}),m.extend({attr:function(c,h,b){var E,A,O=c.nodeType;if(!(O===3||O===8||O===2)){if(typeof c.getAttribute>"u")return m.prop(c,h,b);if((O!==1||!m.isXMLDoc(c))&&(A=m.attrHooks[h.toLowerCase()]||(m.expr.match.bool.test(h)?vl:void 0)),b!==void 0){if(b===null){m.removeAttr(c,h);return}return A&&"set"in A&&(E=A.set(c,b,h))!==void 0?E:(c.setAttribute(h,b+""),b)}return A&&"get"in A&&(E=A.get(c,h))!==null?E:(E=m.find.attr(c,h),E==null?void 0:E)}},attrHooks:{type:{set:function(c,h){if(!C.radioValue&&h==="radio"&&j(c,"input")){var b=c.value;return c.setAttribute("type",h),b&&(c.value=b),h}}}},removeAttr:function(c,h){var b,E=0,A=h&&h.match(Ht);if(A&&c.nodeType===1)for(;b=A[E++];)c.removeAttribute(b)}}),vl={set:function(c,h,b){return h===!1?m.removeAttr(c,b):c.setAttribute(b,b),b}},m.each(m.expr.match.bool.source.match(/\w+/g),function(c,h){var b=cs[h]||m.find.attr;cs[h]=function(E,A,O){var k,J,V=A.toLowerCase();return O||(J=cs[V],cs[V]=k,k=b(E,A,O)!=null?V:null,cs[V]=J),k}});var yl=/^(?:input|select|textarea|button)$/i,$s=/^(?:a|area)$/i;m.fn.extend({prop:function(c,h){return Te(this,m.prop,c,h,arguments.length>1)},removeProp:function(c){return this.each(function(){delete this[m.propFix[c]||c]})}}),m.extend({prop:function(c,h,b){var E,A,O=c.nodeType;if(!(O===3||O===8||O===2))return(O!==1||!m.isXMLDoc(c))&&(h=m.propFix[h]||h,A=m.propHooks[h]),b!==void 0?A&&"set"in A&&(E=A.set(c,b,h))!==void 0?E:c[h]=b:A&&"get"in A&&(E=A.get(c,h))!==null?E:c[h]},propHooks:{tabIndex:{get:function(c){var h=m.find.attr(c,"tabindex");return h?parseInt(h,10):yl.test(c.nodeName)||$s.test(c.nodeName)&&c.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(m.propHooks.selected={get:function(c){var h=c.parentNode;return h&&h.parentNode&&h.parentNode.selectedIndex,null},set:function(c){var h=c.parentNode;h&&(h.selectedIndex,h.parentNode&&h.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function zi(c){var h=c.match(Ht)||[];return h.join(" ")}function Yi(c){return c.getAttribute&&c.getAttribute("class")||""}function bl(c){return Array.isArray(c)?c:typeof c=="string"?c.match(Ht)||[]:[]}m.fn.extend({addClass:function(c){var h,b,E,A,O,k;return P(c)?this.each(function(J){m(this).addClass(c.call(this,J,Yi(this)))}):(h=bl(c),h.length?this.each(function(){if(E=Yi(this),b=this.nodeType===1&&" "+zi(E)+" ",b){for(O=0;O-1;)b=b.replace(" "+A+" "," ");k=zi(b),E!==k&&this.setAttribute("class",k)}}):this):this.attr("class","")},toggleClass:function(c,h){var b,E,A,O,k=typeof c,J=k==="string"||Array.isArray(c);return P(c)?this.each(function(V){m(this).toggleClass(c.call(this,V,Yi(this),h),h)}):typeof h=="boolean"&&J?h?this.addClass(c):this.removeClass(c):(b=bl(c),this.each(function(){if(J)for(O=m(this),A=0;A-1)return!0;return!1}});var bc=/\r/g;m.fn.extend({val:function(c){var h,b,E,A=this[0];return arguments.length?(E=P(c),this.each(function(O){var k;this.nodeType===1&&(E?k=c.call(this,O,m(this).val()):k=c,k==null?k="":typeof k=="number"?k+="":Array.isArray(k)&&(k=m.map(k,function(J){return J==null?"":J+""})),h=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!h||!("set"in h)||h.set(this,k,"value")===void 0)&&(this.value=k))})):A?(h=m.valHooks[A.type]||m.valHooks[A.nodeName.toLowerCase()],h&&"get"in h&&(b=h.get(A,"value"))!==void 0?b:(b=A.value,typeof b=="string"?b.replace(bc,""):b==null?"":b)):void 0}}),m.extend({valHooks:{option:{get:function(c){var h=m.find.attr(c,"value");return h!=null?h:zi(m.text(c))}},select:{get:function(c){var h,b,E,A=c.options,O=c.selectedIndex,k=c.type==="select-one",J=k?null:[],V=k?O+1:A.length;for(O<0?E=V:E=k?O:0;E-1)&&(b=!0);return b||(c.selectedIndex=-1),O}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(c,h){if(Array.isArray(h))return c.checked=m.inArray(m(c).val(),h)>-1}},C.checkOn||(m.valHooks[this].get=function(c){return c.getAttribute("value")===null?"on":c.value})});var Fs=n.location,_l={guid:Date.now()},ga=/\?/;m.parseXML=function(c){var h,b;if(!c||typeof c!="string")return null;try{h=new n.DOMParser().parseFromString(c,"text/xml")}catch{}return b=h&&h.getElementsByTagName("parsererror")[0],(!h||b)&&m.error("Invalid XML: "+(b?m.map(b.childNodes,function(E){return E.textContent}).join(` -`):c)),h};var _c=/^(?:focusinfocus|focusoutblur)$/,xc=function(c){c.stopPropagation()};m.extend(m.event,{trigger:function(c,h,b,E){var A,O,k,J,V,se,be,Se,me=[b||S],Me=v.call(c,"type")?c.type:c,Ke=v.call(c,"namespace")?c.namespace.split("."):[];if(O=Se=k=b=b||S,!(b.nodeType===3||b.nodeType===8)&&!_c.test(Me+m.event.triggered)&&(Me.indexOf(".")>-1&&(Ke=Me.split("."),Me=Ke.shift(),Ke.sort()),V=Me.indexOf(":")<0&&"on"+Me,c=c[m.expando]?c:new m.Event(Me,typeof c=="object"&&c),c.isTrigger=E?2:3,c.namespace=Ke.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+Ke.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=b),h=h==null?[c]:m.makeArray(h,[c]),be=m.event.special[Me]||{},!(!E&&be.trigger&&be.trigger.apply(b,h)===!1))){if(!E&&!be.noBubble&&!M(b)){for(J=be.delegateType||Me,_c.test(J+Me)||(O=O.parentNode);O;O=O.parentNode)me.push(O),k=O;k===(b.ownerDocument||S)&&me.push(k.defaultView||k.parentWindow||n)}for(A=0;(O=me[A++])&&!c.isPropagationStopped();)Se=O,c.type=A>1?J:be.bindType||Me,se=(we.get(O,"events")||Object.create(null))[c.type]&&we.get(O,"handle"),se&&se.apply(O,h),se=V&&O[V],se&&se.apply&&he(O)&&(c.result=se.apply(O,h),c.result===!1&&c.preventDefault());return c.type=Me,!E&&!c.isDefaultPrevented()&&(!be._default||be._default.apply(me.pop(),h)===!1)&&he(b)&&V&&P(b[Me])&&!M(b)&&(k=b[V],k&&(b[V]=null),m.event.triggered=Me,c.isPropagationStopped()&&Se.addEventListener(Me,xc),b[Me](),c.isPropagationStopped()&&Se.removeEventListener(Me,xc),m.event.triggered=void 0,k&&(b[V]=k)),c.result}},simulate:function(c,h,b){var E=m.extend(new m.Event,b,{type:c,isSimulated:!0});m.event.trigger(E,null,h)}}),m.fn.extend({trigger:function(c,h){return this.each(function(){m.event.trigger(c,h,this)})},triggerHandler:function(c,h){var b=this[0];if(b)return m.event.trigger(c,h,b,!0)}});var dp=/\[\]$/,xl=/\r?\n/g,pp=/^(?:submit|button|image|reset|file)$/i,hp=/^(?:input|select|textarea|keygen)/i;function El(c,h,b,E){var A;if(Array.isArray(h))m.each(h,function(O,k){b||dp.test(c)?E(c,k):El(c+"["+(typeof k=="object"&&k!=null?O:"")+"]",k,b,E)});else if(!b&&D(h)==="object")for(A in h)El(c+"["+A+"]",h[A],b,E);else E(c,h)}m.param=function(c,h){var b,E=[],A=function(O,k){var J=P(k)?k():k;E[E.length]=encodeURIComponent(O)+"="+encodeURIComponent(J==null?"":J)};if(c==null)return"";if(Array.isArray(c)||c.jquery&&!m.isPlainObject(c))m.each(c,function(){A(this.name,this.value)});else for(b in c)El(b,c[b],h,A);return E.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var c=m.prop(this,"elements");return c?m.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!m(this).is(":disabled")&&hp.test(this.nodeName)&&!pp.test(c)&&(this.checked||!Tt.test(c))}).map(function(c,h){var b=m(this).val();return b==null?null:Array.isArray(b)?m.map(b,function(E){return{name:h.name,value:E.replace(xl,`\r -`)}}):{name:h.name,value:b.replace(xl,`\r -`)}}).get()}});var gp=/%20/g,wl=/#.*$/,mp=/([?&])_=[^&]*/,vp=/^(.*?):[ \t]*([^\r\n]*)$/mg,yp=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,bp=/^(?:GET|HEAD)$/,_p=/^\/\//,mn={},un={},Ec="*/".concat("*"),Sl=S.createElement("a");Sl.href=Fs.href;function wc(c){return function(h,b){typeof h!="string"&&(b=h,h="*");var E,A=0,O=h.toLowerCase().match(Ht)||[];if(P(b))for(;E=O[A++];)E[0]==="+"?(E=E.slice(1)||"*",(c[E]=c[E]||[]).unshift(b)):(c[E]=c[E]||[]).push(b)}}function Sc(c,h,b,E){var A={},O=c===un;function k(J){var V;return A[J]=!0,m.each(c[J]||[],function(se,be){var Se=be(h,b,E);if(typeof Se=="string"&&!O&&!A[Se])return h.dataTypes.unshift(Se),k(Se),!1;if(O)return!(V=Se)}),V}return k(h.dataTypes[0])||!A["*"]&&k("*")}function Cl(c,h){var b,E,A=m.ajaxSettings.flatOptions||{};for(b in h)h[b]!==void 0&&((A[b]?c:E||(E={}))[b]=h[b]);return E&&m.extend(!0,c,E),c}function xp(c,h,b){for(var E,A,O,k,J=c.contents,V=c.dataTypes;V[0]==="*";)V.shift(),E===void 0&&(E=c.mimeType||h.getResponseHeader("Content-Type"));if(E){for(A in J)if(J[A]&&J[A].test(E)){V.unshift(A);break}}if(V[0]in b)O=V[0];else{for(A in b){if(!V[0]||c.converters[A+" "+V[0]]){O=A;break}k||(k=A)}O=O||k}if(O)return O!==V[0]&&V.unshift(O),b[O]}function Cc(c,h,b,E){var A,O,k,J,V,se={},be=c.dataTypes.slice();if(be[1])for(k in c.converters)se[k.toLowerCase()]=c.converters[k];for(O=be.shift();O;)if(c.responseFields[O]&&(b[c.responseFields[O]]=h),!V&&E&&c.dataFilter&&(h=c.dataFilter(h,c.dataType)),V=O,O=be.shift(),O){if(O==="*")O=V;else if(V!=="*"&&V!==O){if(k=se[V+" "+O]||se["* "+O],!k){for(A in se)if(J=A.split(" "),J[1]===O&&(k=se[V+" "+J[0]]||se["* "+J[0]],k)){k===!0?k=se[A]:se[A]!==!0&&(O=J[0],be.unshift(J[1]));break}}if(k!==!0)if(k&&c.throws)h=k(h);else try{h=k(h)}catch(Se){return{state:"parsererror",error:k?Se:"No conversion from "+V+" to "+O}}}}return{state:"success",data:h}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fs.href,type:"GET",isLocal:yp.test(Fs.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ec,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":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,h){return h?Cl(Cl(c,m.ajaxSettings),h):Cl(m.ajaxSettings,c)},ajaxPrefilter:wc(mn),ajaxTransport:wc(un),ajax:function(c,h){typeof c=="object"&&(h=c,c=void 0),h=h||{};var b,E,A,O,k,J,V,se,be,Se,me=m.ajaxSetup({},h),Me=me.context||me,Ke=me.context&&(Me.nodeType||Me.jquery)?m(Me):m.event,St=m.Deferred(),xt=m.Callbacks("once memory"),zn=me.statusCode||{},Tn={},gi={},mi="canceled",Bt={readyState:0,getResponseHeader:function(Ut){var fn;if(V){if(!O)for(O={};fn=vp.exec(A);)O[fn[1].toLowerCase()+" "]=(O[fn[1].toLowerCase()+" "]||[]).concat(fn[2]);fn=O[Ut.toLowerCase()+" "]}return fn==null?null:fn.join(", ")},getAllResponseHeaders:function(){return V?A:null},setRequestHeader:function(Ut,fn){return V==null&&(Ut=gi[Ut.toLowerCase()]=gi[Ut.toLowerCase()]||Ut,Tn[Ut]=fn),this},overrideMimeType:function(Ut){return V==null&&(me.mimeType=Ut),this},statusCode:function(Ut){var fn;if(Ut)if(V)Bt.always(Ut[Bt.status]);else for(fn in Ut)zn[fn]=[zn[fn],Ut[fn]];return this},abort:function(Ut){var fn=Ut||mi;return b&&b.abort(fn),Xi(0,fn),this}};if(St.promise(Bt),me.url=((c||me.url||Fs.href)+"").replace(_p,Fs.protocol+"//"),me.type=h.method||h.type||me.method||me.type,me.dataTypes=(me.dataType||"*").toLowerCase().match(Ht)||[""],me.crossDomain==null){J=S.createElement("a");try{J.href=me.url,J.href=J.href,me.crossDomain=Sl.protocol+"//"+Sl.host!=J.protocol+"//"+J.host}catch{me.crossDomain=!0}}if(me.data&&me.processData&&typeof me.data!="string"&&(me.data=m.param(me.data,me.traditional)),Sc(mn,me,h,Bt),V)return Bt;se=m.event&&me.global,se&&m.active++===0&&m.event.trigger("ajaxStart"),me.type=me.type.toUpperCase(),me.hasContent=!bp.test(me.type),E=me.url.replace(wl,""),me.hasContent?me.data&&me.processData&&(me.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(me.data=me.data.replace(gp,"+")):(Se=me.url.slice(E.length),me.data&&(me.processData||typeof me.data=="string")&&(E+=(ga.test(E)?"&":"?")+me.data,delete me.data),me.cache===!1&&(E=E.replace(mp,"$1"),Se=(ga.test(E)?"&":"?")+"_="+_l.guid+++Se),me.url=E+Se),me.ifModified&&(m.lastModified[E]&&Bt.setRequestHeader("If-Modified-Since",m.lastModified[E]),m.etag[E]&&Bt.setRequestHeader("If-None-Match",m.etag[E])),(me.data&&me.hasContent&&me.contentType!==!1||h.contentType)&&Bt.setRequestHeader("Content-Type",me.contentType),Bt.setRequestHeader("Accept",me.dataTypes[0]&&me.accepts[me.dataTypes[0]]?me.accepts[me.dataTypes[0]]+(me.dataTypes[0]!=="*"?", "+Ec+"; q=0.01":""):me.accepts["*"]);for(be in me.headers)Bt.setRequestHeader(be,me.headers[be]);if(me.beforeSend&&(me.beforeSend.call(Me,Bt,me)===!1||V))return Bt.abort();if(mi="abort",xt.add(me.complete),Bt.done(me.success),Bt.fail(me.error),b=Sc(un,me,h,Bt),!b)Xi(-1,"No Transport");else{if(Bt.readyState=1,se&&Ke.trigger("ajaxSend",[Bt,me]),V)return Bt;me.async&&me.timeout>0&&(k=n.setTimeout(function(){Bt.abort("timeout")},me.timeout));try{V=!1,b.send(Tn,Xi)}catch(Ut){if(V)throw Ut;Xi(-1,Ut)}}function Xi(Ut,fn,Co,va){var qr,fs,kr,Li,Qi,pr=fn;V||(V=!0,k&&n.clearTimeout(k),b=void 0,A=va||"",Bt.readyState=Ut>0?4:0,qr=Ut>=200&&Ut<300||Ut===304,Co&&(Li=xp(me,Bt,Co)),!qr&&m.inArray("script",me.dataTypes)>-1&&m.inArray("json",me.dataTypes)<0&&(me.converters["text script"]=function(){}),Li=Cc(me,Li,Bt,qr),qr?(me.ifModified&&(Qi=Bt.getResponseHeader("Last-Modified"),Qi&&(m.lastModified[E]=Qi),Qi=Bt.getResponseHeader("etag"),Qi&&(m.etag[E]=Qi)),Ut===204||me.type==="HEAD"?pr="nocontent":Ut===304?pr="notmodified":(pr=Li.state,fs=Li.data,kr=Li.error,qr=!kr)):(kr=pr,(Ut||!pr)&&(pr="error",Ut<0&&(Ut=0))),Bt.status=Ut,Bt.statusText=(fn||pr)+"",qr?St.resolveWith(Me,[fs,pr,Bt]):St.rejectWith(Me,[Bt,pr,kr]),Bt.statusCode(zn),zn=void 0,se&&Ke.trigger(qr?"ajaxSuccess":"ajaxError",[Bt,me,qr?fs:kr]),xt.fireWith(Me,[Bt,pr]),se&&(Ke.trigger("ajaxComplete",[Bt,me]),--m.active||m.event.trigger("ajaxStop")))}return Bt},getJSON:function(c,h,b){return m.get(c,h,b,"json")},getScript:function(c,h){return m.get(c,void 0,h,"script")}}),m.each(["get","post"],function(c,h){m[h]=function(b,E,A,O){return P(E)&&(O=O||A,A=E,E=void 0),m.ajax(m.extend({url:b,type:h,dataType:O,data:E,success:A},m.isPlainObject(b)&&b))}}),m.ajaxPrefilter(function(c){var h;for(h in c.headers)h.toLowerCase()==="content-type"&&(c.contentType=c.headers[h]||"")}),m._evalUrl=function(c,h,b){return m.ajax({url:c,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(E){m.globalEval(E,h,b)}})},m.fn.extend({wrapAll:function(c){var h;return this[0]&&(P(c)&&(c=c.call(this[0])),h=m(c,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&h.insertBefore(this[0]),h.map(function(){for(var b=this;b.firstElementChild;)b=b.firstElementChild;return b}).append(this)),this},wrapInner:function(c){return P(c)?this.each(function(h){m(this).wrapInner(c.call(this,h))}):this.each(function(){var h=m(this),b=h.contents();b.length?b.wrapAll(c):h.append(c)})},wrap:function(c){var h=P(c);return this.each(function(b){m(this).wrapAll(h?c.call(this,b):c)})},unwrap:function(c){return this.parent(c).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(c){return!m.expr.pseudos.visible(c)},m.expr.pseudos.visible=function(c){return!!(c.offsetWidth||c.offsetHeight||c.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch{}};var Ep={0:200,1223:204},Cn=m.ajaxSettings.xhr();C.cors=!!Cn&&"withCredentials"in Cn,C.ajax=Cn=!!Cn,m.ajaxTransport(function(c){var h,b;if(C.cors||Cn&&!c.crossDomain)return{send:function(E,A){var O,k=c.xhr();if(k.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(O in c.xhrFields)k[O]=c.xhrFields[O];c.mimeType&&k.overrideMimeType&&k.overrideMimeType(c.mimeType),!c.crossDomain&&!E["X-Requested-With"]&&(E["X-Requested-With"]="XMLHttpRequest");for(O in E)k.setRequestHeader(O,E[O]);h=function(J){return function(){h&&(h=b=k.onload=k.onerror=k.onabort=k.ontimeout=k.onreadystatechange=null,J==="abort"?k.abort():J==="error"?typeof k.status!="number"?A(0,"error"):A(k.status,k.statusText):A(Ep[k.status]||k.status,k.statusText,(k.responseType||"text")!=="text"||typeof k.responseText!="string"?{binary:k.response}:{text:k.responseText},k.getAllResponseHeaders()))}},k.onload=h(),b=k.onerror=k.ontimeout=h("error"),k.onabort!==void 0?k.onabort=b:k.onreadystatechange=function(){k.readyState===4&&n.setTimeout(function(){h&&b()})},h=h("abort");try{k.send(c.hasContent&&c.data||null)}catch(J){if(h)throw J}},abort:function(){h&&h()}}}),m.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return m.globalEval(c),c}}}),m.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),c.crossDomain&&(c.type="GET")}),m.ajaxTransport("script",function(c){if(c.crossDomain||c.scriptAttrs){var h,b;return{send:function(E,A){h=m(" \ No newline at end of file