diff --git a/features/ui/frontend/cart/adding_product_to_cart.feature b/features/ui/frontend/cart/adding_product_to_cart.feature index 0f7dcb2839..36c0ddb5d2 100644 --- a/features/ui/frontend/cart/adding_product_to_cart.feature +++ b/features/ui/frontend/cart/adding_product_to_cart.feature @@ -11,7 +11,7 @@ Feature: Adding a product to the cart Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" And I should see "TShirt" with unit price "€100.00" in my cart Scenario: Adding a product to the cart as a logged in customer @@ -23,5 +23,5 @@ Feature: Adding a product to the cart Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "RACING CAR" + And this item should have name "Racing Car" And I should see "Racing Car" with unit price "€1,000.00" in my cart diff --git a/features/ui/frontend/cart/adding_product_to_cart_with_maximum_qty.feature b/features/ui/frontend/cart/adding_product_to_cart_with_maximum_qty.feature index 61e4205fca..0cd8f0c3c2 100644 --- a/features/ui/frontend/cart/adding_product_to_cart_with_maximum_qty.feature +++ b/features/ui/frontend/cart/adding_product_to_cart_with_maximum_qty.feature @@ -13,19 +13,19 @@ Feature: Adding a product to the cart with maximum Quantity to Order Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" And I should see "TShirt" with unit price "€100.00" in my cart Scenario: Adding product to cart with less than minimum quantity to order Given the product "TShirt" has a maximum order quantity of "100" When I add 101 of this product to the cart Then I should be on the cart summary page - And I should be notified that I can only order a maximum of 100 of TSHIRT + And I should be notified that I can only order a maximum of 100 of TShirt Scenario: Adding product to cart with less than minimum quantity to order with smaller quantities Given the product "TShirt" has a maximum order quantity of "2" When I add 3 of this product to the cart Then I should be on the cart summary page - And I should be notified that I can only order a maximum of 2 of TSHIRT + And I should be notified that I can only order a maximum of 2 of TShirt diff --git a/features/ui/frontend/cart/adding_product_to_cart_with_minimum_qty.feature b/features/ui/frontend/cart/adding_product_to_cart_with_minimum_qty.feature index 60e8047205..9920c7548d 100644 --- a/features/ui/frontend/cart/adding_product_to_cart_with_minimum_qty.feature +++ b/features/ui/frontend/cart/adding_product_to_cart_with_minimum_qty.feature @@ -13,19 +13,19 @@ Feature: Adding a product to the cart with minimum Quantity to Order Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" And I should see "TShirt" with unit price "€100.00" in my cart Scenario: Adding product to cart with less than minimum quantity to order Given the product "TShirt" has a minimum order quantity of "100" When I add 99 of this product to the cart Then I should be on the cart summary page - And I should be notified that I need to order at least 100 of TSHIRT + And I should be notified that I need to order at least 100 of TShirt Scenario: Adding product to cart with less than minimum quantity to order with smaller quantities Given the product "TShirt" has a minimum order quantity of "2" When I add 1 of this product to the cart Then I should be on the cart summary page - And I should be notified that I need to order at least 2 of TSHIRT + And I should be notified that I need to order at least 2 of TShirt diff --git a/features/ui/frontend/cart/adding_product_to_cart_with_out_of_stock_product.feature b/features/ui/frontend/cart/adding_product_to_cart_with_out_of_stock_product.feature index 9d30a3ad8c..f6775de7b7 100644 --- a/features/ui/frontend/cart/adding_product_to_cart_with_out_of_stock_product.feature +++ b/features/ui/frontend/cart/adding_product_to_cart_with_out_of_stock_product.feature @@ -15,13 +15,13 @@ Feature: Adding a product to the cart with a Product that is tracked and out-of- Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" And I should see "TShirt" with unit price "€100.00" in my cart Scenario: Adding product to cart with more than stocked quantity When I add 3 of this product to the cart Then I should be on the cart summary page - And I should be notified that TSHIRT does not have sufficient stock + And I should be notified that TShirt does not have sufficient stock Scenario: Adding product, with on-hold stock, to cart with more than stocked quantity Given the product has 2 on hold @@ -31,5 +31,5 @@ Feature: Adding a product to the cart with a Product that is tracked and out-of- Given the product has 1 on hold When I add 2 of this product to the cart Then I should be on the cart summary page - And I should be notified that TSHIRT does not have sufficient stock + And I should be notified that TShirt does not have sufficient stock diff --git a/features/ui/frontend/cart/automatic_cart_price_rule.feature b/features/ui/frontend/cart/automatic_cart_price_rule.feature index 81e34465b0..d26e0849e7 100644 --- a/features/ui/frontend/cart/automatic_cart_price_rule.feature +++ b/features/ui/frontend/cart/automatic_cart_price_rule.feature @@ -15,7 +15,7 @@ Feature: Getting an automatic cart price rule Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" And I should see "TShirt" with unit price "€100.00" in my cart And my cart's total should be "€80.00" @@ -25,6 +25,6 @@ Feature: Getting an automatic cart price rule Then I should be on the cart summary page And I should be notified that the product has been successfully added And there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" And I should see "TShirt" with unit price "€100.00" in my cart And my cart's total should be "€70.00" diff --git a/features/ui/frontend/cart/keep_cart_after_login.feature b/features/ui/frontend/cart/keep_cart_after_login.feature index 733b657736..13cc7d9992 100644 --- a/features/ui/frontend/cart/keep_cart_after_login.feature +++ b/features/ui/frontend/cart/keep_cart_after_login.feature @@ -13,11 +13,11 @@ Feature: Maintaining cart after login When I log in as "elon@musk.com" with "cybertruck" password And I see the summary of my cart Then there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" Scenario: Having cart maintained after registration Given I add this product to the cart When I register with email "elon@spacex.com" and password "bigbigbooster" And I see the summary of my cart Then there should be one item in my cart - And this item should have name "TSHIRT" + And this item should have name "TShirt" diff --git a/features/ui/frontend/category/view_category.feature b/features/ui/frontend/category/view_category.feature index 0432e0c904..c202894d2a 100644 --- a/features/ui/frontend/category/view_category.feature +++ b/features/ui/frontend/category/view_category.feature @@ -56,13 +56,13 @@ Feature: Viewing a product details When I switch to category "Coats" on main menu Then I should see 3 products in the category list And I change order to "Name Descending" - And I should see products in order "WINTER COAT,RAIN COAT,JACKET" in list + And I should see products in order "Winter Coat,Rain Coat,Jacket" in list And I change order to "Name Ascending" - And I should see products in order "JACKET,RAIN COAT,WINTER COAT" in list + And I should see products in order "Jacket,Rain Coat,Winter Coat" in list When I switch to category "Shoes" on left menu And I change order to "Name Descending" - And I should see products in order "SHOE 2,SHOE" in list + And I should see products in order "Shoe 2,Shoe" in list And I switch to view to "grid" - And I should see products in order "SHOE 2,SHOE" in grid + And I should see products in order "Shoe 2,Shoe" in grid And I change order to "Name Ascending" - And I should see products in order "SHOE,SHOE 2" in grid \ No newline at end of file + And I should see products in order "Shoe,Shoe 2" in grid \ No newline at end of file diff --git a/features/ui/frontend/payment/concurrency.feature b/features/ui/frontend/payment/concurrency.feature index 7deef6e057..20ff8faaeb 100644 --- a/features/ui/frontend/payment/concurrency.feature +++ b/features/ui/frontend/payment/concurrency.feature @@ -10,6 +10,7 @@ Feature: Create a new order And the site has a tax rule group "AT" And the tax rule group has a tax rule for country "Austria" with tax rate "AT" And the site has a product "T-Shirt" priced at 2000 + And the product is active and published and available for store "Austria" And the product has the tax rule group "AT" And the site has a customer "some-customer@something.com" And the customer "some-customer@something.com" has an address with country "Austria", "4600", "Wels", "Freiung", "9-11/N3" diff --git a/src/CoreShop/Behat/Context/Ui/Frontend/CartContext.php b/src/CoreShop/Behat/Context/Ui/Frontend/CartContext.php index 8bae131390..67e1e80e96 100644 --- a/src/CoreShop/Behat/Context/Ui/Frontend/CartContext.php +++ b/src/CoreShop/Behat/Context/Ui/Frontend/CartContext.php @@ -159,7 +159,7 @@ public function shouldBeOnMyCartSummaryPage(): void */ public function iShouldBeNotifiedThatItHasBeenSuccessfullyAdded(): void { - $this->notificationChecker->checkNotification('ITEM ADDED', NotificationType::success()); + $this->notificationChecker->checkNotification('Item added', NotificationType::success()); } /** @@ -167,7 +167,7 @@ public function iShouldBeNotifiedThatItHasBeenSuccessfullyAdded(): void */ public function iShouldBeNotifiedThatTheVoucherHasBeenApplied(): void { - $this->notificationChecker->checkNotification('VOUCHER HAS BEEN SUCCESSFULLY APPLIED', NotificationType::success()); + $this->notificationChecker->checkNotification('Voucher has been successfully applied', NotificationType::success()); } /** @@ -175,7 +175,7 @@ public function iShouldBeNotifiedThatTheVoucherHasBeenApplied(): void */ public function iShouldBeNotifiedThatTheVoucherIsInvalid(): void { - $this->notificationChecker->checkNotification('THIS VOUCHER IS INVALID', NotificationType::error()); + $this->notificationChecker->checkNotification('This voucher is invalid', NotificationType::error()); } /** @@ -184,7 +184,7 @@ public function iShouldBeNotifiedThatTheVoucherIsInvalid(): void public function iShouldBeNotifiedThatItNeedToOrderAtLeastOf(string $quantity, string $productName): void { $this->notificationChecker->checkNotification( - sprintf('YOU NEED TO ORDER AT LEAST %s UNITS OF %s.', $quantity, $productName), + sprintf('You need to order at least %s units of %s.', $quantity, $productName), NotificationType::error(), ); } @@ -195,7 +195,7 @@ public function iShouldBeNotifiedThatItNeedToOrderAtLeastOf(string $quantity, st public function iShouldBeNotifiedThatICanOnlyOrderAMaximumQuantityOf(string $quantity, string $productName): void { $this->notificationChecker->checkNotification( - sprintf('YOU CAN ORDER A MAXIMUM OF %s UNITS OF %s.', $quantity, $productName), + sprintf('You can order a maximum of %s units of %s.', $quantity, $productName), NotificationType::error(), ); } @@ -206,7 +206,7 @@ public function iShouldBeNotifiedThatICanOnlyOrderAMaximumQuantityOf(string $qua public function iShouldBeNotifiedThatDoesNotHaveSufficientStock(string $productName): void { $this->notificationChecker->checkNotification( - sprintf('%s DOES NOT HAVE SUFFICIENT STOCK.', $productName), + sprintf('%s does not have sufficient stock.', $productName), NotificationType::error(), ); } diff --git a/src/CoreShop/Behat/Element/Frontend/Account/RegisterElement.php b/src/CoreShop/Behat/Element/Frontend/Account/RegisterElement.php index 3f94b6e8e1..367392ad64 100644 --- a/src/CoreShop/Behat/Element/Frontend/Account/RegisterElement.php +++ b/src/CoreShop/Behat/Element/Frontend/Account/RegisterElement.php @@ -148,7 +148,7 @@ public function specifyAddressPhoneNumber(?string $phoneNumber): void public function acceptTermsOfService(): void { - $this->getElement('terms_of_service')->check(); + $this->getElement('terms_of_service')->click(); } protected function getDefinedElements(): array diff --git a/src/CoreShop/Behat/Page/Frontend/Checkout/CustomerPage.php b/src/CoreShop/Behat/Page/Frontend/Checkout/CustomerPage.php index 4339251125..b714c212e6 100644 --- a/src/CoreShop/Behat/Page/Frontend/Checkout/CustomerPage.php +++ b/src/CoreShop/Behat/Page/Frontend/Checkout/CustomerPage.php @@ -111,7 +111,7 @@ public function specifyGuestAddressCountry(?int $country): void public function acceptTermsOfService(): void { - $this->getElement('terms_of_service')->check(); + $this->getElement('terms_of_service')->click(); } public function submitGuestCheckout(): void diff --git a/src/CoreShop/Behat/Page/Frontend/Checkout/SummaryPage.php b/src/CoreShop/Behat/Page/Frontend/Checkout/SummaryPage.php index b6672d1dfa..6318d8831a 100644 --- a/src/CoreShop/Behat/Page/Frontend/Checkout/SummaryPage.php +++ b/src/CoreShop/Behat/Page/Frontend/Checkout/SummaryPage.php @@ -39,7 +39,7 @@ public function acceptTermsOfService(): void public function declineTermsOfService(): void { - $this->getElement('terms_of_service')->uncheck(); + $this->getElement('terms_of_service')->click(); } public function submitQuote(): void diff --git a/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php b/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php index 0481fe57f7..38bdebf80f 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php +++ b/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php @@ -56,26 +56,24 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\Session; -use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Validator\ConstraintViolationListInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; use Symfony\Contracts\Service\Attribute\SubscribedService; class CartController extends FrontendController { - #[Route('/coreshop_get_cart_items', name: 'coreshop_get_cart_items')] - public function widgetAction(Request $request, ShopperContextInterface $shopperContext): Response + public function widgetAction(Request $request): Response { $multiCartEnabled = $this->getParameter('coreshop.storage_list.multi_list.order'); $params = [ 'cart' => $this->getCart(), - 'multi_cart_enabled' => $this->getParameter('coreshop.storage_list.multi_list.order') + 'multi_cart_enabled' => $this->getParameter('coreshop.storage_list.multi_list.order'), ]; if ($multiCartEnabled) { $form = $this->container->get('form.factory')->createNamed('coreshop', CartListType::class, ['list' => $this->getCart()], [ - 'context' => $shopperContext->getContext(), + 'context' => $this->container->get(ShopperContextInterface::class)->getContext(), ]); $params['form'] = $form->createView(); @@ -270,7 +268,7 @@ public function addItemAction(Request $request): Response $addToCart->getCartItem()->getQuantity(), ); - $this->addFlash('coreshop_global_success', $this->container->get('translator')->trans('coreshop.ui.item_added')); + $this->addFlash('success', $this->container->get('translator')->trans('coreshop.ui.item_added')); if ($request->isXmlHttpRequest()) { return new JsonResponse([ @@ -282,7 +280,7 @@ public function addItemAction(Request $request): Response } foreach ($form->getErrors(true, true) as $error) { - $this->addFlash('coreshop_global_error', $error->getMessage()); + $this->addFlash('error', $error->getMessage()); } if ($request->isXmlHttpRequest()) { @@ -308,7 +306,6 @@ public function addItemAction(Request $request): Response [ 'form' => $form->createView(), 'product' => $product, - '_redirect' => $redirect, ], ); } diff --git a/src/CoreShop/Bundle/FrontendBundle/Controller/Extend/CartWidgetController.php b/src/CoreShop/Bundle/FrontendBundle/Controller/Extend/CartWidgetController.php index 37dd70a4e0..1eabcc2803 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Controller/Extend/CartWidgetController.php +++ b/src/CoreShop/Bundle/FrontendBundle/Controller/Extend/CartWidgetController.php @@ -20,25 +20,25 @@ use CoreShop\Bundle\FrontendBundle\Controller\FrontendController; use CoreShop\Component\Core\Context\ShopperContextInterface; -use Symfony\Component\HttpFoundation\JsonResponse; -use Symfony\Component\Routing\Attribute\Route; use Psr\Container\ContainerInterface; +use Symfony\Component\HttpFoundation\JsonResponse; class CartWidgetController extends FrontendController { private ShopperContextInterface $shopperContext; - public function __construct(ShopperContextInterface $shopperContext, ContainerInterface $container) - { + public function __construct( + ShopperContextInterface $shopperContext, + ContainerInterface $container, + ) { parent::__construct($container); $this->shopperContext = $shopperContext; } - public function cartNumberAction(): JsonResponse { $items = $this->shopperContext->getCart()->getItems(); + return new JsonResponse(count($items)); } - -} \ No newline at end of file +} diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/assets/js/app.ts b/src/CoreShop/Bundle/FrontendBundle/Resources/assets/js/app.ts index c22eaf9717..5c705f114e 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/assets/js/app.ts +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/assets/js/app.ts @@ -11,12 +11,12 @@ import './scripts/shop.js'; import './scripts/variant.js'; import './scripts/map.js'; import {Carousel} from './scripts/carousel'; -import {CartInfo} from './scripts/cartInfo'; +//import {CartInfo} from './scripts/cartInfo'; document.addEventListener('DOMContentLoaded', function () { - const CartWidget = new CartInfo('/coreshop_get_cart_items', '.js-cart-widget'); + // const CartWidget = new CartInfo('/coreshop_get_cart_items', '.js-cart-widget'); const CarouselProducts = new Carousel(); - console.log(CartWidget); + //console.log(CartWidget); console.log(CarouselProducts); }) \ No newline at end of file diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/config/pimcore/routing.yml b/src/CoreShop/Bundle/FrontendBundle/Resources/config/pimcore/routing.yml index 3b82502031..4f0acd4744 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/config/pimcore/routing.yml +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/config/pimcore/routing.yml @@ -4,8 +4,4 @@ coreshop_payment_after: defaults: _controller: CoreShop\Bundle\PayumBundle\Controller\PaymentController::afterCaptureAction -coreshop_get_cart_items: - path: /coreshop_get_cart_items - methods: [GET] - defaults: - _controller: CoreShop\Bundle\FrontendBundle\Controller\CartController::widgetAction + diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/public/build/app.js b/src/CoreShop/Bundle/FrontendBundle/Resources/public/build/app.js index 657f8ca4cc..84c4cdf5e0 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/public/build/app.js +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/public/build/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var e={8434:()=>{window.coreshopQuantitySelector=function(e){!function(){const e=document.querySelectorAll("input.cs-unit-input"),t=document.querySelector("select.cs-unit-selector");t&&t.addEventListener("change",(function(){if(!this.dataset.csUnitIdentifier)return;const e=this.dataset.csUnitIdentifier,t=document.querySelector('input[data-cs-unit-identifier="'.concat(e,'"]')),i=1;t&&(t.step=i,t.dataset.csUnitPrecision=0,function(e,t,i){e.min=0,e.max=1e9,e.step=i,e.dataset.csUnitPrecision=t}(t,0,i.toString()))})),e&&e.forEach((function(e){!function(e,t,i){const n=document.createElement("div");n.classList.add("touchspin-container");const r=document.createElement("button");r.type="button",r.textContent="-",r.classList.add("touchspin-decrement");const s=document.createElement("button");s.type="button",s.textContent="+",s.classList.add("touchspin-increment"),e.parentNode.insertBefore(n,e),n.appendChild(r),n.appendChild(e),n.appendChild(s),r.addEventListener("click",(function(){let t=parseInt(e.value)||0;t-=parseInt(i),t>=0&&(e.value=t)})),s.addEventListener("click",(function(){let t=parseInt(e.value)||0;t+=parseInt(i),e.value=t})),e.addEventListener("input",(function(){let t=parseInt(e.value);isNaN(t)?e.value=0:e.value=t}))}(e,0,"1")}))}()}},5238:(e,t,i)=>{i(3921),window.coreshopVariantSelector=function(e){let t=null,i={},n=[];const r=function(){i.attributes.forEach((e=>{e.elements=t.querySelectorAll('[data-group="'.concat(e.group.id,'"]')),n.push(e)}))},s=function(){n.forEach(((e,t)=>{e.prevGroup=n[t-1]||null,e.nextGroup=n[t+1]||null,e.selected?x(e):v(e)}))},o=function(){n.forEach((e=>a(e)))},a=function(e){e.elements.forEach((t=>function(e,t){e.onchange=()=>l(t,e)}(t,e)))},l=function(e,i){window.variantReady=!1,t.dispatchEvent(f("change",{element:i})),i.value?c(e,i):d(e),window.variantReady=!0},c=function(e,i){e.selected=parseInt(i.value),t.dispatchEvent(f("select",{element:i})),e.nextGroup?(b(e.nextGroup),x(e.nextGroup)):(t.dispatchEvent(f("redirect",{element:i})),u())},d=function(e){delete e.selected,e.nextGroup&&b(e.nextGroup)},u=function(){const e=p(),t=h(e);null!=t&&t.url&&(window.location.href=t.url)},p=function(){return Object.fromEntries(n.filter((e=>e.selected)).map((e=>[e.group.id,e.selected])))},h=function(e){return Object.values(i.index).find((t=>JSON.stringify(t.attributes)===JSON.stringify(e)))},f=function(e){return new CustomEvent("variant_selector."+e,{bubbles:!0,cancelable:!1,detail:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})},m=function(e){e.disabled=!0,e.checked=!1,"select"===e.tagName.toLowerCase()&&g(e)},g=function(e){e.querySelectorAll('option:not([value=""])').forEach((t=>e.removeChild(t)))},v=function(e){delete e.selected,e.elements.forEach(m)},b=function(e){for(;e;)v(e),e=e.nextGroup},y=function(e,t){return e.products.some((e=>function(e,t){return t.every((t=>{var n;return(null===(n=i.index[e.id].attributes)||void 0===n?void 0:n[t.group])===t.selected}))}(e,t)))},_=function(e){const t=[];let i=e.prevGroup;for(;i;)i.selected&&i.nextGroup&&t.push({group:i.group.id,selected:i.selected}),i=i.prevGroup;return t},w=function(e,t,i){"select"===e.tagName.toLowerCase()?t.forEach((t=>function(e,t,i){const n=new Option(t.attribute.name,t.attribute.id);n.id="attribute-"+t.attribute.id,i.selected===t.attribute.id&&(n.selected=!0),e.add(n),e.disabled=!1}(e,t,i))):t.forEach((t=>function(e,t,i){parseInt(e.dataset.group)===i.group.id&&parseInt(e.value)===t.attribute.id&&(e.disabled=!1,i.selected===t.attribute.id&&(e.checked=!0))}(e,t,i)))},x=function(e){const t=function(e,t){const i=_(t);return e.filter((e=>y(e,i)))}(e.attributes.slice(),e)||e.attributes;!function(e,t){e.elements.forEach((i=>w(i,t,e)))}(e,t)};e&&(t=e,i=JSON.parse(t.dataset.config),r(),s(),o())}},1432:(e,t,i)=>{i(2762),function(){"use strict";const e={init:function(e){const t={prototypePrefix:!1,containerSelector:!1,selectorAttr:!1,...e};document.querySelectorAll(this.selector).forEach((e=>{this.show(e,t,!1),e.addEventListener("change",(()=>{this.show(e,t,!0)}))}))},show:function(e,t,i){let n=e.value,r=e.id;if(t.selectorAttr){const i=Array.from(e.options).find((e=>e.value===n));i&&(n=i.getAttribute(t.selectorAttr))}t.prototypePrefix&&(r=t.prototypePrefix);const s=document.getElementById("".concat(r,"_").concat(n));let o=this.getContainer(t,s);o&&(s?!i&&o.innerHTML.trim()||(o.innerHTML=s.dataset.prototype):o.innerHTML="")},getContainer:function(e,t){if(e.containerSelector)return document.querySelector(e.containerSelector);{const e=t?t.dataset.container:null;return document.getElementById(e)}}};NodeList.prototype.handlePrototypes=function(t){if(e[t])return e[t].apply(this,Array.prototype.slice.call(arguments,1));if("object"!=typeof t&&t)throw new Error("Method "+t+" does not exist on handlePrototypes");return e.init.apply(this,arguments)},HTMLElement.prototype.handlePrototypes=function(t){return e.handlePrototypes.call([this],t)}}()},6876:()=>{document.addEventListener("DOMContentLoaded",(function(){const e=document.getElementById("map-block");if(e){e.style.height=document.getElementById("map-wrapper").clientHeight+"px",window.addEventListener("load",(function(){const t={zoom:18,center:new google.maps.LatLng(48.1592513,14.02302510000004),disableDefaultUI:!0},i=new google.maps.Map(e,t);console.log(i)}))}}))},208:(e,t,i)=>{i(5440),i(2762),i(2953),i(8408);const n=window.shop||{};!function(e){e.init=function(){e.initChangeAddress(),e.initCartShipmentCalculator(),e.initQuantityValidator(),e.initCategorySelect(),function(e){const t={prototypePrefix:e.prototypePrefix||!1,containerSelector:e.containerSelector||!1,selectorAttr:e.selectorAttr||!1};function i(e,i){const s=n(e),o=t.prototypePrefix||e.id,a=document.getElementById("".concat(o,"_").concat(s)),l=r(a);!l||!i&&l.innerHTML.trim()||(l.innerHTML=a?a.dataset.prototype:"")}function n(e){return t.selectorAttr?e.querySelector('[value="'.concat(e.value,'"]')).getAttribute(t.selectorAttr):e.value}function r(e){return t.containerSelector?document.querySelector(t.containerSelector):e?document.querySelector(e.dataset.container):null}document.querySelectorAll("[data-".concat(t.prototypePrefix,"]")).forEach((function(e){i(e,!1),e.addEventListener("change",(function(){i(e,!0)}))}))}({prototypePrefix:"paymentProvider",containerSelector:".paymentSettings",selectorAttr:"data-factory"}),document.querySelectorAll(".copy-to-clipboard").forEach((function(e){e.addEventListener("click",(function(){!function(e){const t=e.dataset.target,i=document.getElementById(t);i&&(i.select(),i.setSelectionRange(0,99999),navigator.clipboard.writeText(i.value).then((()=>{console.log(e.dataset.copiedText)})))}(this)}))}))},e.initCategorySelect=function(){document.querySelectorAll(".site-reload").forEach((function(e){e.addEventListener("change",(function(){location.href=function(e,t,i){const n=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=-1!==e.indexOf("?")?"&":"?";return e.match(n)?e.replace(n,"$1"+t+"="+i+"$2"):e+r+t+"="+i}(window.location.href,this.name,this.value)}))}))},e.initQuantityValidator=function(){coreshopQuantitySelector({buttondown_class:"btn btn-secondary",buttonup_class:"btn btn-secondary"})},e.initCartShipmentCalculator=function(){document.addEventListener("submit",(function(e){const t=e.target.closest('form[name="coreshop_shipping_calculator"]');t&&function(e){event.preventDefault(),e.classList.add("loading"),e.querySelector('button[type="submit"]').setAttribute("disabled","disabled"),e.closest(".cart-shipment-calculation-box").querySelector(".cart-shipment-available-carriers").style.opacity=.2,fetch(e.action,{method:"POST",body:new URLSearchParams(new FormData(e))}).then((e=>e.text())).then((t=>function(e,t){e.classList.remove("loading"),e.closest(".cart-shipment-calculation-box").outerHTML=t}(e,t))).catch((t=>function(e,t){console.error("Error:",t),e.classList.remove("loading"),e.querySelector('button[type="submit"]').removeAttribute("disabled")}(e,t)))}(t)}))},e.initChangeAddress=function(){const e=document.querySelector(".checkout-step.step-address");if(!e)return;!function(e,t,i){e.addEventListener("change",(()=>function(e,t){const i=e.options[e.selectedIndex],n=JSON.parse(i.dataset.address).html;document.querySelector(".panel-invoice-address").innerHTML=n||"",function(e,t){e&&(e.disabled=t,t&&(e.checked=!1,e.dispatchEvent(new Event("change"))))}(t,"invoice"===i.dataset.addressType)}(e,i))),t.addEventListener("change",(()=>function(e){const t=e.options[e.selectedIndex],i=JSON.parse(t.dataset.address).html;document.querySelector(".panel-shipping-address").innerHTML=i||""}(t))),i&&i.addEventListener("change",(()=>function(e,t,i){const n=document.querySelector(".shipping-address-selector"),r=document.querySelector(".card-footer");e.checked?(n.style.display="none",i.value=t.value,i.dispatchEvent(new Event("change")),r&&r.classList.add("d-none")):(n.style.display="",r&&r.classList.remove("d-none"))}(i,e,t)))}(e.querySelector('select[name="coreshop[invoiceAddress]"]'),e.querySelector('select[name="coreshop[shippingAddress]"]'),e.querySelector('[name="coreshop[useInvoiceAsShipping]"]'))}}(n),document.addEventListener("DOMContentLoaded",(function(){n.init()}))},719:()=>{var e;e=window.variant||(window.variant={}),document.addEventListener("DOMContentLoaded",(function(){window.variantReady=!1,e.init(),window.variantReady=!0})),e.init=function(){const e=document.querySelector(".product-info__attributes");e&&(coreshopVariantSelector(e),e.addEventListener("variant_selector.select",(e=>{const t=document.querySelector(".product-info .product-details .options");if(t){const e=t.querySelectorAll('[type="submit"]');t.classList.add("disabled"),e.forEach((e=>{e.disabled=!0}))}})))}},9306:(e,t,i)=>{"use strict";var n=i(4901),r=i(6823),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not a function")}},3506:(e,t,i)=>{"use strict";var n=i(3925),r=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s("Can't set "+r(e)+" as a prototype")}},6469:(e,t,i)=>{"use strict";var n=i(8227),r=i(2360),s=i(4913).f,o=n("unscopables"),a=Array.prototype;void 0===a[o]&&s(a,o,{configurable:!0,value:r(null)}),e.exports=function(e){a[o][e]=!0}},7829:(e,t,i)=>{"use strict";var n=i(8183).charAt;e.exports=function(e,t,i){return t+(i?n(e,t).length:1)}},679:(e,t,i)=>{"use strict";var n=i(1625),r=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new r("Incorrect invocation")}},8551:(e,t,i)=>{"use strict";var n=i(34),r=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not an object")}},9617:(e,t,i)=>{"use strict";var n=i(5397),r=i(5610),s=i(6198),o=function(e){return function(t,i,o){var a=n(t),l=s(a);if(0===l)return!e&&-1;var c,d=r(o,l);if(e&&i!=i){for(;l>d;)if((c=a[d++])!=c)return!0}else for(;l>d;d++)if((e||d in a)&&a[d]===i)return e||d||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},7680:(e,t,i)=>{"use strict";var n=i(9504);e.exports=n([].slice)},4488:(e,t,i)=>{"use strict";var n=i(7680),r=Math.floor,s=function(e,t){var i=e.length;if(i<8)for(var o,a,l=1;l0;)e[a]=e[--a];a!==l++&&(e[a]=o)}else for(var c=r(i/2),d=s(n(e,0,c),t),u=s(n(e,c),t),p=d.length,h=u.length,f=0,m=0;f{"use strict";var n=i(9504),r=n({}.toString),s=n("".slice);e.exports=function(e){return s(r(e),8,-1)}},6955:(e,t,i)=>{"use strict";var n=i(2140),r=i(4901),s=i(2195),o=i(8227)("toStringTag"),a=Object,l="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?i:l?s(t):"Object"===(n=s(t))&&r(t.callee)?"Arguments":n}},7740:(e,t,i)=>{"use strict";var n=i(9297),r=i(5031),s=i(7347),o=i(4913);e.exports=function(e,t,i){for(var a=r(t),l=o.f,c=s.f,d=0;d{"use strict";var n=i(9039);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2529:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:(e,t,i)=>{"use strict";var n=i(3724),r=i(4913),s=i(6980);e.exports=n?function(e,t,i){return r.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4659:(e,t,i)=>{"use strict";var n=i(3724),r=i(4913),s=i(6980);e.exports=function(e,t,i){n?r.f(e,t,s(0,i)):e[t]=i}},2106:(e,t,i)=>{"use strict";var n=i(283),r=i(4913);e.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}},6840:(e,t,i)=>{"use strict";var n=i(4901),r=i(4913),s=i(283),o=i(9433);e.exports=function(e,t,i,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(n(i)&&s(i,c,a),a.global)l?e[t]=i:o(t,i);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:r.f(e,t,{value:i,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},6279:(e,t,i)=>{"use strict";var n=i(6840);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},9433:(e,t,i)=>{"use strict";var n=i(4576),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},3724:(e,t,i)=>{"use strict";var n=i(9039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,t,i)=>{"use strict";var n=i(4576),r=i(34),s=n.document,o=r(s)&&r(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},7400:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(e,t,i)=>{"use strict";var n=i(4055)("span").classList,r=n&&n.constructor&&n.constructor.prototype;e.exports=r===Object.prototype?void 0:r},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:(e,t,i)=>{"use strict";var n=i(4576).navigator,r=n&&n.userAgent;e.exports=r?String(r):""},9519:(e,t,i)=>{"use strict";var n,r,s=i(4576),o=i(2839),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,d=c&&c.v8;d&&(r=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},6518:(e,t,i)=>{"use strict";var n=i(4576),r=i(7347).f,s=i(6699),o=i(6840),a=i(9433),l=i(7740),c=i(2796);e.exports=function(e,t){var i,d,u,p,h,f=e.target,m=e.global,g=e.stat;if(i=m?n:g?n[f]||a(f,{}):n[f]&&n[f].prototype)for(d in t){if(p=t[d],u=e.dontCallGetSet?(h=r(i,d))&&h.value:i[d],!c(m?d:f+(g?".":"#")+d,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(e.sham||u&&u.sham)&&s(p,"sham",!0),o(i,d,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,t,i)=>{"use strict";i(7495);var n=i(9565),r=i(6840),s=i(7323),o=i(9039),a=i(8227),l=i(6699),c=a("species"),d=RegExp.prototype;e.exports=function(e,t,i,u){var p=a(e),h=!o((function(){var t={};return t[p]=function(){return 7},7!==""[e](t)})),f=h&&!o((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[c]=function(){return i},i.flags="",i[p]=/./[p]),i.exec=function(){return t=!0,null},i[p](""),!t}));if(!h||!f||i){var m=/./[p],g=t(p,""[e],(function(e,t,i,r,o){var a=t.exec;return a===s||a===d.exec?h&&!o?{done:!0,value:n(m,t,i,r)}:{done:!0,value:n(e,i,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(d,p,g[1])}u&&l(d[p],"sham",!0)}},8745:(e,t,i)=>{"use strict";var n=i(616),r=Function.prototype,s=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(s):function(){return o.apply(s,arguments)})},6080:(e,t,i)=>{"use strict";var n=i(7476),r=i(9306),s=i(616),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},616:(e,t,i)=>{"use strict";var n=i(9039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:(e,t,i)=>{"use strict";var n=i(616),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},350:(e,t,i)=>{"use strict";var n=i(3724),r=i(9297),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},6706:(e,t,i)=>{"use strict";var n=i(9504),r=i(9306);e.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}},7476:(e,t,i)=>{"use strict";var n=i(2195),r=i(9504);e.exports=function(e){if("Function"===n(e))return r(e)}},9504:(e,t,i)=>{"use strict";var n=i(616),r=Function.prototype,s=r.call,o=n&&r.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},7751:(e,t,i)=>{"use strict";var n=i(4576),r=i(4901);e.exports=function(e,t){return arguments.length<2?(i=n[e],r(i)?i:void 0):n[e]&&n[e][t];var i}},851:(e,t,i)=>{"use strict";var n=i(6955),r=i(5966),s=i(4117),o=i(6269),a=i(8227)("iterator");e.exports=function(e){if(!s(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}},81:(e,t,i)=>{"use strict";var n=i(9565),r=i(9306),s=i(8551),o=i(6823),a=i(851),l=TypeError;e.exports=function(e,t){var i=arguments.length<2?a(e):t;if(r(i))return s(n(i,e));throw new l(o(e)+" is not iterable")}},5966:(e,t,i)=>{"use strict";var n=i(9306),r=i(4117);e.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}},2478:(e,t,i)=>{"use strict";var n=i(9504),r=i(8981),s=Math.floor,o=n("".charAt),a=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,i,n,u,p){var h=i+e.length,f=n.length,m=d;return void 0!==u&&(u=r(u),m=c),a(p,m,(function(r,a){var c;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,i);case"'":return l(t,h);case"<":c=u[l(a,1,-1)];break;default:var d=+a;if(0===d)return r;if(d>f){var p=s(d/10);return 0===p?r:p<=f?void 0===n[p-1]?o(a,1):n[p-1]+o(a,1):r}c=n[d-1]}return void 0===c?"":c}))}},4576:function(e,t,i){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,t,i)=>{"use strict";var n=i(9504),r=i(8981),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},421:e=>{"use strict";e.exports={}},397:(e,t,i)=>{"use strict";var n=i(7751);e.exports=n("document","documentElement")},5917:(e,t,i)=>{"use strict";var n=i(3724),r=i(9039),s=i(4055);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},7055:(e,t,i)=>{"use strict";var n=i(9504),r=i(9039),s=i(2195),o=Object,a=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):o(e)}:o},3706:(e,t,i)=>{"use strict";var n=i(9504),r=i(4901),s=i(7629),o=n(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},1181:(e,t,i)=>{"use strict";var n,r,s,o=i(8622),a=i(4576),l=i(34),c=i(6699),d=i(9297),u=i(7629),p=i(6119),h=i(421),f="Object already initialized",m=a.TypeError,g=a.WeakMap;if(o||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m(f);return t.facade=e,v.set(e,t),t},r=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,n=function(e,t){if(d(e,b))throw new m(f);return t.facade=e,c(e,b,t),t},r=function(e){return d(e,b)?e[b]:{}},s=function(e){return d(e,b)}}e.exports={set:n,get:r,has:s,enforce:function(e){return s(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=r(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return i}}}},4209:(e,t,i)=>{"use strict";var n=i(8227),r=i(6269),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[s]===e)}},4901:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2796:(e,t,i)=>{"use strict";var n=i(9039),r=i(4901),s=/#|\.prototype\./,o=function(e,t){var i=l[a(e)];return i===d||i!==c&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",d=o.POLYFILL="P";e.exports=o},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,t,i)=>{"use strict";var n=i(4901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3925:(e,t,i)=>{"use strict";var n=i(34);e.exports=function(e){return n(e)||null===e}},6395:e=>{"use strict";e.exports=!1},757:(e,t,i)=>{"use strict";var n=i(7751),r=i(4901),s=i(1625),o=i(7040),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&s(t.prototype,a(e))}},2652:(e,t,i)=>{"use strict";var n=i(6080),r=i(9565),s=i(8551),o=i(6823),a=i(4209),l=i(6198),c=i(1625),d=i(81),u=i(851),p=i(9539),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,i){var g,v,b,y,_,w,x,S=i&&i.that,T=!(!i||!i.AS_ENTRIES),E=!(!i||!i.IS_RECORD),C=!(!i||!i.IS_ITERATOR),A=!(!i||!i.INTERRUPTED),O=n(t,S),L=function(e){return g&&p(g,"normal",e),new f(!0,e)},P=function(e){return T?(s(e),A?O(e[0],e[1],L):O(e[0],e[1])):A?O(e,L):O(e)};if(E)g=e.iterator;else if(C)g=e;else{if(!(v=u(e)))throw new h(o(e)+" is not iterable");if(a(v)){for(b=0,y=l(e);y>b;b++)if((_=P(e[b]))&&c(m,_))return _;return new f(!1)}g=d(e,v)}for(w=E?e.next:g.next;!(x=r(w,g)).done;){try{_=P(x.value)}catch(e){p(g,"throw",e)}if("object"==typeof _&&_&&c(m,_))return _}return new f(!1)}},9539:(e,t,i)=>{"use strict";var n=i(9565),r=i(8551),s=i(5966);e.exports=function(e,t,i){var o,a;r(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw i;return i}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw i;if(a)throw o;return r(o),i}},3994:(e,t,i)=>{"use strict";var n=i(7657).IteratorPrototype,r=i(2360),s=i(6980),o=i(687),a=i(6269),l=function(){return this};e.exports=function(e,t,i,c){var d=t+" Iterator";return e.prototype=r(n,{next:s(+!c,i)}),o(e,d,!1,!0),a[d]=l,e}},1088:(e,t,i)=>{"use strict";var n=i(6518),r=i(9565),s=i(6395),o=i(350),a=i(4901),l=i(3994),c=i(2787),d=i(2967),u=i(687),p=i(6699),h=i(6840),f=i(8227),m=i(6269),g=i(7657),v=o.PROPER,b=o.CONFIGURABLE,y=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=f("iterator"),x="keys",S="values",T="entries",E=function(){return this};e.exports=function(e,t,i,o,f,g,C){l(i,t,o);var A,O,L,P=function(e){if(e===f&&j)return j;if(!_&&e&&e in M)return M[e];switch(e){case x:case S:case T:return function(){return new i(this,e)}}return function(){return new i(this)}},k=t+" Iterator",I=!1,M=e.prototype,D=M[w]||M["@@iterator"]||f&&M[f],j=!_&&D||P(f),N="Array"===t&&M.entries||D;if(N&&(A=c(N.call(new e)))!==Object.prototype&&A.next&&(s||c(A)===y||(d?d(A,y):a(A[w])||h(A,w,E)),u(A,k,!0,!0),s&&(m[k]=E)),v&&f===S&&D&&D.name!==S&&(!s&&b?p(M,"name",S):(I=!0,j=function(){return r(D,this)})),f)if(O={values:P(S),keys:g?j:P(x),entries:P(T)},C)for(L in O)(_||I||!(L in M))&&h(M,L,O[L]);else n({target:t,proto:!0,forced:_||I},O);return s&&!C||M[w]===j||h(M,w,j,{name:f}),m[t]=j,O}},7657:(e,t,i)=>{"use strict";var n,r,s,o=i(9039),a=i(4901),l=i(34),c=i(2360),d=i(2787),u=i(6840),p=i(8227),h=i(6395),f=p("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(r=d(d(s)))!==Object.prototype&&(n=r):m=!0),!l(n)||o((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=c(n)),a(n[f])||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},6269:e=>{"use strict";e.exports={}},6198:(e,t,i)=>{"use strict";var n=i(8014);e.exports=function(e){return n(e.length)}},283:(e,t,i)=>{"use strict";var n=i(9504),r=i(9039),s=i(4901),o=i(9297),a=i(3724),l=i(350).CONFIGURABLE,c=i(3706),d=i(1181),u=d.enforce,p=d.get,h=String,f=Object.defineProperty,m=n("".slice),g=n("".replace),v=n([].join),b=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),_=e.exports=function(e,t,i){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),b&&i&&o(i,"arity")&&e.length!==i.arity&&f(e,"length",{value:i.arity});try{i&&o(i,"constructor")&&i.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return o(n,"source")||(n.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return s(this)&&p(this).source||c(this)}),"toString")},741:e=>{"use strict";var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?i:t)(n)}},2360:(e,t,i)=>{"use strict";var n,r=i(8551),s=i(6801),o=i(8727),a=i(421),l=i(397),c=i(4055),d=i(6119),u="prototype",p="script",h=d("IE_PROTO"),f=function(){},m=function(e){return"<"+p+">"+e+""},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,i;v="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),i="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var r=o.length;r--;)delete v[u][o[r]];return v()};a[h]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(f[u]=r(e),i=new f,f[u]=null,i[h]=e):i=v(),void 0===t?i:s.f(i,t)}},6801:(e,t,i)=>{"use strict";var n=i(3724),r=i(8686),s=i(4913),o=i(8551),a=i(5397),l=i(1072);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var i,n=a(t),r=l(t),c=r.length,d=0;c>d;)s.f(e,i=r[d++],n[i]);return e}},4913:(e,t,i)=>{"use strict";var n=i(3724),r=i(5917),s=i(8686),o=i(8551),a=i(6969),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";t.f=n?s?function(e,t,i){if(o(e),t=a(t),o(i),"function"==typeof e&&"prototype"===t&&"value"in i&&h in i&&!i[h]){var n=d(e,t);n&&n[h]&&(e[t]=i.value,i={configurable:p in i?i[p]:n[p],enumerable:u in i?i[u]:n[u],writable:!1})}return c(e,t,i)}:c:function(e,t,i){if(o(e),t=a(t),o(i),r)try{return c(e,t,i)}catch(e){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},7347:(e,t,i)=>{"use strict";var n=i(3724),r=i(9565),s=i(8773),o=i(6980),a=i(5397),l=i(6969),c=i(9297),d=i(5917),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=l(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return o(!r(s.f,e,t),e[t])}},8480:(e,t,i)=>{"use strict";var n=i(1828),r=i(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},3717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2787:(e,t,i)=>{"use strict";var n=i(9297),r=i(4901),s=i(8981),o=i(6119),a=i(2211),l=o("IE_PROTO"),c=Object,d=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=s(e);if(n(t,l))return t[l];var i=t.constructor;return r(i)&&t instanceof i?i.prototype:t instanceof c?d:null}},1625:(e,t,i)=>{"use strict";var n=i(9504);e.exports=n({}.isPrototypeOf)},1828:(e,t,i)=>{"use strict";var n=i(9504),r=i(9297),s=i(5397),o=i(9617).indexOf,a=i(421),l=n([].push);e.exports=function(e,t){var i,n=s(e),c=0,d=[];for(i in n)!r(a,i)&&r(n,i)&&l(d,i);for(;t.length>c;)r(n,i=t[c++])&&(~o(d,i)||l(d,i));return d}},1072:(e,t,i)=>{"use strict";var n=i(1828),r=i(8727);e.exports=Object.keys||function(e){return n(e,r)}},8773:(e,t)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},2967:(e,t,i)=>{"use strict";var n=i(6706),r=i(34),s=i(7750),o=i(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=n(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return s(i),o(n),r(i)?(t?e(i,n):i.__proto__=n,i):i}}():void 0)},4270:(e,t,i)=>{"use strict";var n=i(9565),r=i(4901),s=i(34),o=TypeError;e.exports=function(e,t){var i,a;if("string"===t&&r(i=e.toString)&&!s(a=n(i,e)))return a;if(r(i=e.valueOf)&&!s(a=n(i,e)))return a;if("string"!==t&&r(i=e.toString)&&!s(a=n(i,e)))return a;throw new o("Can't convert object to primitive value")}},5031:(e,t,i)=>{"use strict";var n=i(7751),r=i(9504),s=i(8480),o=i(3717),a=i(8551),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),i=o.f;return i?l(t,i(e)):t}},6682:(e,t,i)=>{"use strict";var n=i(9565),r=i(8551),s=i(4901),o=i(2195),a=i(7323),l=TypeError;e.exports=function(e,t){var i=e.exec;if(s(i)){var c=n(i,e,t);return null!==c&&r(c),c}if("RegExp"===o(e))return n(a,e,t);throw new l("RegExp#exec called on incompatible receiver")}},7323:(e,t,i)=>{"use strict";var n,r,s=i(9565),o=i(9504),a=i(655),l=i(7979),c=i(8429),d=i(5745),u=i(2360),p=i(1181).get,h=i(3635),f=i(8814),m=d("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,b=o("".charAt),y=o("".indexOf),_=o("".replace),w=o("".slice),x=(r=/b*/g,s(g,n=/a/,"a"),s(g,r,"a"),0!==n.lastIndex||0!==r.lastIndex),S=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(x||T||S||h||f)&&(v=function(e){var t,i,n,r,o,c,d,h=this,f=p(h),E=a(e),C=f.raw;if(C)return C.lastIndex=h.lastIndex,t=s(v,C,E),h.lastIndex=C.lastIndex,t;var A=f.groups,O=S&&h.sticky,L=s(l,h),P=h.source,k=0,I=E;if(O&&(L=_(L,"y",""),-1===y(L,"g")&&(L+="g"),I=w(E,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==b(E,h.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),i=new RegExp("^(?:"+P+")",L)),T&&(i=new RegExp("^"+P+"$(?!\\s)",L)),x&&(n=h.lastIndex),r=s(g,O?i:h,I),O?r?(r.input=w(r.input,k),r[0]=w(r[0],k),r.index=h.lastIndex,h.lastIndex+=r[0].length):h.lastIndex=0:x&&r&&(h.lastIndex=h.global?r.index+r[0].length:n),T&&r&&r.length>1&&s(m,r[0],i,(function(){for(o=1;o{"use strict";var n=i(8551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},8429:(e,t,i)=>{"use strict";var n=i(9039),r=i(4576).RegExp,s=n((function(){var e=r("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),o=s||n((function(){return!r("a","y").sticky})),a=s||n((function(){var e=r("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:o,UNSUPPORTED_Y:s}},3635:(e,t,i)=>{"use strict";var n=i(9039),r=i(4576).RegExp;e.exports=n((function(){var e=r(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,t,i)=>{"use strict";var n=i(9039),r=i(4576).RegExp;e.exports=n((function(){var e=r("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,t,i)=>{"use strict";var n=i(4117),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},3389:(e,t,i)=>{"use strict";var n=i(4576),r=i(3724),s=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!r)return n[e];var t=s(n,e);return t&&t.value}},687:(e,t,i)=>{"use strict";var n=i(4913).f,r=i(9297),s=i(8227)("toStringTag");e.exports=function(e,t,i){e&&!i&&(e=e.prototype),e&&!r(e,s)&&n(e,s,{configurable:!0,value:t})}},6119:(e,t,i)=>{"use strict";var n=i(5745),r=i(3392),s=n("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},7629:(e,t,i)=>{"use strict";var n=i(6395),r=i(4576),s=i(9433),o="__core-js_shared__",a=e.exports=r[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,t,i)=>{"use strict";var n=i(7629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},8183:(e,t,i)=>{"use strict";var n=i(9504),r=i(1291),s=i(655),o=i(7750),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),d=function(e){return function(t,i){var n,d,u=s(o(t)),p=r(i),h=u.length;return p<0||p>=h?e?"":void 0:(n=l(u,p))<55296||n>56319||p+1===h||(d=l(u,p+1))<56320||d>57343?e?a(u,p):n:e?c(u,p,p+2):d-56320+(n-55296<<10)+65536}};e.exports={codeAt:d(!1),charAt:d(!0)}},706:(e,t,i)=>{"use strict";var n=i(350).PROPER,r=i(9039),s=i(7452);e.exports=function(e){return r((function(){return!!s[e]()||"​…᠎"!=="​…᠎"[e]()||n&&s[e].name!==e}))}},3802:(e,t,i)=>{"use strict";var n=i(9504),r=i(7750),s=i(655),o=i(7452),a=n("".replace),l=RegExp("^["+o+"]+"),c=RegExp("(^|[^"+o+"])["+o+"]+$"),d=function(e){return function(t){var i=s(r(t));return 1&e&&(i=a(i,l,"")),2&e&&(i=a(i,c,"$1")),i}};e.exports={start:d(1),end:d(2),trim:d(3)}},4495:(e,t,i)=>{"use strict";var n=i(9519),r=i(9039),s=i(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5610:(e,t,i)=>{"use strict";var n=i(1291),r=Math.max,s=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):s(i,t)}},5397:(e,t,i)=>{"use strict";var n=i(7055),r=i(7750);e.exports=function(e){return n(r(e))}},1291:(e,t,i)=>{"use strict";var n=i(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8014:(e,t,i)=>{"use strict";var n=i(1291),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},8981:(e,t,i)=>{"use strict";var n=i(7750),r=Object;e.exports=function(e){return r(n(e))}},2777:(e,t,i)=>{"use strict";var n=i(9565),r=i(34),s=i(757),o=i(5966),a=i(4270),l=i(8227),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!r(e)||s(e))return e;var i,l=o(e,d);if(l){if(void 0===t&&(t="default"),i=n(l,e,t),!r(i)||s(i))return i;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6969:(e,t,i)=>{"use strict";var n=i(2777),r=i(757);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},2140:(e,t,i)=>{"use strict";var n={};n[i(8227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655:(e,t,i)=>{"use strict";var n=i(6955),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},6823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:(e,t,i)=>{"use strict";var n=i(9504),r=0,s=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+s,36)}},7416:(e,t,i)=>{"use strict";var n=i(9039),r=i(8227),s=i(3724),o=i(6395),a=r("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,i=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,i){t.delete("b"),n+=i+e})),i.delete("a",2),i.delete("b",void 0),o&&(!e.toJSON||!i.has("a",1)||i.has("a",2)||!i.has("a",void 0)||i.has("b"))||!t.size&&(o||!s)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},7040:(e,t,i)=>{"use strict";var n=i(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,t,i)=>{"use strict";var n=i(3724),r=i(9039);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var t=TypeError;e.exports=function(e,i){if(e{"use strict";var n=i(4576),r=i(4901),s=n.WeakMap;e.exports=r(s)&&/native code/.test(String(s))},8227:(e,t,i)=>{"use strict";var n=i(4576),r=i(5745),s=i(9297),o=i(3392),a=i(4495),l=i(7040),c=n.Symbol,d=r("wks"),u=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return s(d,e)||(d[e]=a&&s(c,e)?c[e]:u("Symbol."+e)),d[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},3792:(e,t,i)=>{"use strict";var n=i(5397),r=i(6469),s=i(6269),o=i(1181),a=i(4913).f,l=i(1088),c=i(2529),d=i(6395),u=i(3724),p="Array Iterator",h=o.set,f=o.getterFor(p);e.exports=l(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(i,!1);case"values":return c(t[i],!1)}return c([i,t[i]],!1)}),"values");var m=s.Arguments=s.Array;if(r("keys"),r("values"),r("entries"),!d&&u&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(e){}},3921:(e,t,i)=>{"use strict";var n=i(6518),r=i(2652),s=i(4659);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,i){s(t,e,i)}),{AS_ENTRIES:!0}),t}})},7495:(e,t,i)=>{"use strict";var n=i(6518),r=i(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},7337:(e,t,i)=>{"use strict";var n=i(6518),r=i(9504),s=i(5610),o=RangeError,a=String.fromCharCode,l=String.fromCodePoint,c=r([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,i=[],n=arguments.length,r=0;n>r;){if(t=+arguments[r++],s(t,1114111)!==t)throw new o(t+" is not a valid code point");i[r]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320)}return c(i,"")}})},5440:(e,t,i)=>{"use strict";var n=i(8745),r=i(9565),s=i(9504),o=i(9228),a=i(9039),l=i(8551),c=i(4901),d=i(4117),u=i(1291),p=i(8014),h=i(655),f=i(7750),m=i(7829),g=i(5966),v=i(2478),b=i(6682),y=i(8227)("replace"),_=Math.max,w=Math.min,x=s([].concat),S=s([].push),T=s("".indexOf),E=s("".slice),C="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");o("replace",(function(e,t,i){var s=A?"$":"$0";return[function(e,i){var n=f(this),s=d(e)?void 0:g(e,y);return s?r(s,e,n,i):r(t,h(n),e,i)},function(e,r){var o=l(this),a=h(e);if("string"==typeof r&&-1===T(r,s)&&-1===T(r,"$<")){var d=i(t,o,a,r);if(d.done)return d.value}var f=c(r);f||(r=h(r));var g,y=o.global;y&&(g=o.unicode,o.lastIndex=0);for(var C,A=[];null!==(C=b(o,a))&&(S(A,C),y);){""===h(C[0])&&(o.lastIndex=m(a,p(o.lastIndex),g))}for(var O,L="",P=0,k=0;k=P&&(L+=E(a,P,D)+I,P=D+M.length)}return L+E(a,P)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!C||A)},2762:(e,t,i)=>{"use strict";var n=i(6518),r=i(3802).trim;n({target:"String",proto:!0,forced:i(706)("trim")},{trim:function(){return r(this)}})},9463:(e,t,i)=>{"use strict";var n=i(6518),r=i(3724),s=i(4576),o=i(9504),a=i(9297),l=i(4901),c=i(1625),d=i(655),u=i(2106),p=i(7740),h=s.Symbol,f=h&&h.prototype;if(r&&l(h)&&(!("description"in f)||void 0!==h().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:d(arguments[0]),t=c(f,this)?new h(e):void 0===e?h():h(e);return""===e&&(m[t]=!0),t};p(g,h),g.prototype=f,f.constructor=g;var v="Symbol(description detection)"===String(h("description detection")),b=o(f.valueOf),y=o(f.toString),_=/^Symbol\((.*)\)[^)]+$/,w=o("".replace),x=o("".slice);u(f,"description",{configurable:!0,get:function(){var e=b(this);if(a(m,e))return"";var t=y(e),i=v?x(t,7,-1):w(t,_,"$1");return""===i?void 0:i}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},2953:(e,t,i)=>{"use strict";var n=i(4576),r=i(7400),s=i(9296),o=i(3792),a=i(6699),l=i(687),c=i(8227)("iterator"),d=o.values,u=function(e,t){if(e){if(e[c]!==d)try{a(e,c,d)}catch(t){e[c]=d}if(l(e,t,!0),r[t])for(var i in o)if(e[i]!==o[i])try{a(e,i,o[i])}catch(t){e[i]=o[i]}}};for(var p in r)u(n[p]&&n[p].prototype,p);u(s,"DOMTokenList")},8406:(e,t,i)=>{"use strict";i(3792),i(7337);var n=i(6518),r=i(4576),s=i(3389),o=i(7751),a=i(9565),l=i(9504),c=i(3724),d=i(7416),u=i(6840),p=i(2106),h=i(6279),f=i(687),m=i(3994),g=i(1181),v=i(679),b=i(4901),y=i(9297),_=i(6080),w=i(6955),x=i(8551),S=i(34),T=i(655),E=i(2360),C=i(6980),A=i(81),O=i(851),L=i(2529),P=i(2812),k=i(8227),I=i(4488),M=k("iterator"),D="URLSearchParams",j=D+"Iterator",N=g.set,$=g.getterFor(D),z=g.getterFor(j),R=s("fetch"),F=s("Request"),G=s("Headers"),B=F&&F.prototype,V=G&&G.prototype,H=r.TypeError,q=r.encodeURIComponent,W=String.fromCharCode,U=o("String","fromCodePoint"),Y=parseInt,X=l("".charAt),K=l([].join),Q=l([].push),J=l("".replace),Z=l([].shift),ee=l([].splice),te=l("".split),ie=l("".slice),ne=l(/./.exec),re=/\+/g,se=/^[0-9a-f]+$/i,oe=function(e,t){var i=ie(e,t,t+2);return ne(se,i)?Y(i,16):NaN},ae=function(e){for(var t=0,i=128;i>0&&e&i;i>>=1)t++;return t},le=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ce=function(e){for(var t=(e=J(e,re," ")).length,i="",n=0;nt){i+="%",n++;continue}var s=oe(e,n+1);if(s!=s){i+=r,n++;continue}n+=2;var o=ae(s);if(0===o)r=W(s);else{if(1===o||o>4){i+="�",n++;continue}for(var a=[s],l=1;lt||"%"!==X(e,n));){var c=oe(e,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Q(a,c),n+=2,l++}if(a.length!==o){i+="�";continue}var d=le(a);null===d?i+="�":r=U(d)}}i+=r,n++}return i},de=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pe=function(e){return ue[e]},he=function(e){return J(q(e),de,pe)},fe=m((function(e,t){N(this,{type:j,target:$(e).entries,index:0,kind:t})}),D,(function(){var e=z(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,L(void 0,!0);var n=t[i];switch(e.kind){case"keys":return L(n.key,!1);case"values":return L(n.value,!1)}return L([n.key,n.value],!1)}),!0),me=function(e){this.entries=[],this.url=null,void 0!==e&&(S(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===X(e,0)?ie(e,1):e:T(e)))};me.prototype={type:D,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,i,n,r,s,o,l,c=this.entries,d=O(e);if(d)for(i=(t=A(e,d)).next;!(n=a(i,t)).done;){if(s=(r=A(x(n.value))).next,(o=a(s,r)).done||(l=a(s,r)).done||!a(s,r).done)throw new H("Expected sequence with length 2");Q(c,{key:T(o.value),value:T(l.value)})}else for(var u in e)y(e,u)&&Q(c,{key:u,value:T(e[u])})},parseQuery:function(e){if(e)for(var t,i,n=this.entries,r=te(e,"&"),s=0;s0?arguments[0]:void 0));c||(this.size=e.entries.length)},ve=ge.prototype;if(h(ve,{append:function(e,t){var i=$(this);P(arguments.length,2),Q(i.entries,{key:T(e),value:T(t)}),c||this.length++,i.updateURL()},delete:function(e){for(var t=$(this),i=P(arguments.length,1),n=t.entries,r=T(e),s=i<2?void 0:arguments[1],o=void 0===s?s:T(s),a=0;at.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,i=$(this).entries,n=_(e,arguments.length>1?arguments[1]:void 0),r=0;r1?_e(arguments[1]):{})}}),b(F)){var we=function(e){return v(this,B),new F(e,arguments.length>1?_e(arguments[1]):{})};B.constructor=we,we.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:we})}}e.exports={URLSearchParams:ge,getState:$}},8408:(e,t,i)=>{"use strict";i(8406)}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,i),s.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};i.r(e),i.d(e,{afterMain:()=>w,afterRead:()=>b,afterWrite:()=>T,applyStyles:()=>k,arrow:()=>Q,auto:()=>o,basePlacements:()=>a,beforeMain:()=>y,beforeRead:()=>g,beforeWrite:()=>x,bottom:()=>n,clippingParents:()=>d,computeStyles:()=>te,createPopper:()=>ke,createPopperBase:()=>Pe,createPopperLite:()=>Ie,detectOverflow:()=>ve,end:()=>c,eventListeners:()=>ne,flip:()=>be,hide:()=>we,left:()=>s,main:()=>_,modifierPhases:()=>E,offset:()=>xe,placements:()=>m,popper:()=>p,popperGenerator:()=>Le,popperOffsets:()=>Se,preventOverflow:()=>Te,read:()=>v,reference:()=>h,right:()=>r,start:()=>l,top:()=>t,variationPlacements:()=>f,viewport:()=>u,write:()=>S});var t="top",n="bottom",r="right",s="left",o="auto",a=[t,n,r,s],l="start",c="end",d="clippingParents",u="viewport",p="popper",h="reference",f=a.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]),m=[].concat(a,[o]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]),g="beforeRead",v="read",b="afterRead",y="beforeMain",_="main",w="afterMain",x="beforeWrite",S="write",T="afterWrite",E=[g,v,b,y,_,w,x,S,T];function C(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof A(e).Element||e instanceof Element}function L(e){return e instanceof A(e).HTMLElement||e instanceof HTMLElement}function P(e){return"undefined"!=typeof ShadowRoot&&(e instanceof A(e).ShadowRoot||e instanceof ShadowRoot)}const k={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];L(r)&&C(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});L(n)&&C(n)&&(Object.assign(n.style,s),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}var M=Math.max,D=Math.min,j=Math.round;function N(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function $(){return!/^((?!chrome|android).)*safari/i.test(N())}function z(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,s=1;t&&L(e)&&(r=e.offsetWidth>0&&j(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&j(n.height)/e.offsetHeight||1);var o=(O(e)?A(e):window).visualViewport,a=!$()&&i,l=(n.left+(a&&o?o.offsetLeft:0))/r,c=(n.top+(a&&o?o.offsetTop:0))/s,d=n.width/r,u=n.height/s;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function R(e){var t=z(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function F(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&P(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function G(e){return A(e).getComputedStyle(e)}function B(e){return["table","td","th"].indexOf(C(e))>=0}function V(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(P(e)?e.host:null)||V(e)}function q(e){return L(e)&&"fixed"!==G(e).position?e.offsetParent:null}function W(e){for(var t=A(e),i=q(e);i&&B(i)&&"static"===G(i).position;)i=q(i);return i&&("html"===C(i)||"body"===C(i)&&"static"===G(i).position)?t:i||function(e){var t=/firefox/i.test(N());if(/Trident/i.test(N())&&L(e)&&"fixed"===G(e).position)return null;var i=H(e);for(P(i)&&(i=i.host);L(i)&&["html","body"].indexOf(C(i))<0;){var n=G(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e,t,i){return M(e,D(t,i))}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function K(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var i,o=e.state,l=e.name,c=e.options,d=o.elements.arrow,u=o.modifiersData.popperOffsets,p=I(o.placement),h=U(p),f=[s,r].indexOf(p)>=0?"height":"width";if(d&&u){var m=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:K(e,a))}(c.padding,o),g=R(d),v="y"===h?t:s,b="y"===h?n:r,y=o.rects.reference[f]+o.rects.reference[h]-u[h]-o.rects.popper[f],_=u[h]-o.rects.reference[h],w=W(d),x=w?"y"===h?w.clientHeight||0:w.clientWidth||0:0,S=y/2-_/2,T=m[v],E=x-g[f]-m[b],C=x/2-g[f]/2+S,A=Y(T,C,E),O=h;o.modifiersData[l]=((i={})[O]=A,i.centerOffset=A-C,i)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&F(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function J(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var i,o=e.popper,a=e.popperRect,l=e.placement,d=e.variation,u=e.offsets,p=e.position,h=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,g=e.isFixed,v=u.x,b=void 0===v?0:v,y=u.y,_=void 0===y?0:y,w="function"==typeof m?m({x:b,y:_}):{x:b,y:_};b=w.x,_=w.y;var x=u.hasOwnProperty("x"),S=u.hasOwnProperty("y"),T=s,E=t,C=window;if(f){var O=W(o),L="clientHeight",P="clientWidth";if(O===A(o)&&"static"!==G(O=V(o)).position&&"absolute"===p&&(L="scrollHeight",P="scrollWidth"),l===t||(l===s||l===r)&&d===c)E=n,_-=(g&&O===C&&C.visualViewport?C.visualViewport.height:O[L])-a.height,_*=h?1:-1;if(l===s||(l===t||l===n)&&d===c)T=r,b-=(g&&O===C&&C.visualViewport?C.visualViewport.width:O[P])-a.width,b*=h?1:-1}var k,I=Object.assign({position:p},f&&Z),M=!0===m?function(e,t){var i=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:j(i*r)/r||0,y:j(n*r)/r||0}}({x:b,y:_},A(o)):{x:b,y:_};return b=M.x,_=M.y,h?Object.assign({},I,((k={})[E]=S?"0":"",k[T]=x?"0":"",k.transform=(C.devicePixelRatio||1)<=1?"translate("+b+"px, "+_+"px)":"translate3d("+b+"px, "+_+"px, 0)",k)):Object.assign({},I,((i={})[E]=S?_+"px":"",i[T]=x?b+"px":"",i.transform="",i))}const te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,r=void 0===n||n,s=i.adaptive,o=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:I(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ie={passive:!0};const ne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,r=n.scroll,s=void 0===r||r,o=n.resize,a=void 0===o||o,l=A(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach((function(e){e.addEventListener("scroll",i.update,ie)})),a&&l.addEventListener("resize",i.update,ie),function(){s&&c.forEach((function(e){e.removeEventListener("scroll",i.update,ie)})),a&&l.removeEventListener("resize",i.update,ie)}},data:{}};var re={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var oe={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return oe[e]}))}function le(e){var t=A(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return z(V(e)).left+le(e).scrollLeft}function de(e){var t=G(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function ue(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:L(e)&&de(e)?e:ue(H(e))}function pe(e,t){var i;void 0===t&&(t=[]);var n=ue(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),s=A(n),o=r?[s].concat(s.visualViewport||[],de(n)?n:[]):n,a=t.concat(o);return r?a:a.concat(pe(H(o)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,i){return t===u?he(function(e,t){var i=A(e),n=V(e),r=i.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=$();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+ce(e),y:l}}(e,i)):O(t)?function(e,t){var i=z(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):he(function(e){var t,i=V(e),n=le(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=M(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=M(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+ce(e),l=-n.scrollTop;return"rtl"===G(r||i).direction&&(a+=M(i.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(V(e)))}function me(e,t,i,n){var r="clippingParents"===t?function(e){var t=pe(H(e)),i=["absolute","fixed"].indexOf(G(e).position)>=0&&L(e)?W(e):e;return O(i)?t.filter((function(e){return O(e)&&F(e,i)&&"body"!==C(e)})):[]}(e):[].concat(t),s=[].concat(r,[i]),o=s[0],a=s.reduce((function(t,i){var r=fe(e,i,n);return t.top=M(r.top,t.top),t.right=D(r.right,t.right),t.bottom=D(r.bottom,t.bottom),t.left=M(r.left,t.left),t}),fe(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ge(e){var i,o=e.reference,a=e.element,d=e.placement,u=d?I(d):null,p=d?J(d):null,h=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2;switch(u){case t:i={x:h,y:o.y-a.height};break;case n:i={x:h,y:o.y+o.height};break;case r:i={x:o.x+o.width,y:f};break;case s:i={x:o.x-a.width,y:f};break;default:i={x:o.x,y:o.y}}var m=u?U(u):null;if(null!=m){var g="y"===m?"height":"width";switch(p){case l:i[m]=i[m]-(o[g]/2-a[g]/2);break;case c:i[m]=i[m]+(o[g]/2-a[g]/2)}}return i}function ve(e,i){void 0===i&&(i={});var s=i,o=s.placement,l=void 0===o?e.placement:o,c=s.strategy,f=void 0===c?e.strategy:c,m=s.boundary,g=void 0===m?d:m,v=s.rootBoundary,b=void 0===v?u:v,y=s.elementContext,_=void 0===y?p:y,w=s.altBoundary,x=void 0!==w&&w,S=s.padding,T=void 0===S?0:S,E=X("number"!=typeof T?T:K(T,a)),C=_===p?h:p,A=e.rects.popper,L=e.elements[x?C:_],P=me(O(L)?L:L.contextElement||V(e.elements.popper),g,b,f),k=z(e.elements.reference),I=ge({reference:k,element:A,strategy:"absolute",placement:l}),M=he(Object.assign({},A,I)),D=_===p?M:k,j={top:P.top-D.top+E.top,bottom:D.bottom-P.bottom+E.bottom,left:P.left-D.left+E.left,right:D.right-P.right+E.right},N=e.modifiersData.offset;if(_===p&&N){var $=N[l];Object.keys(j).forEach((function(e){var i=[r,n].indexOf(e)>=0?1:-1,s=[t,n].indexOf(e)>=0?"y":"x";j[e]+=$[s]*i}))}return j}const be={name:"flip",enabled:!0,phase:"main",fn:function(e){var i=e.state,c=e.options,d=e.name;if(!i.modifiersData[d]._skip){for(var u=c.mainAxis,p=void 0===u||u,h=c.altAxis,g=void 0===h||h,v=c.fallbackPlacements,b=c.padding,y=c.boundary,_=c.rootBoundary,w=c.altBoundary,x=c.flipVariations,S=void 0===x||x,T=c.allowedAutoPlacements,E=i.options.placement,C=I(E),A=v||(C===E||!S?[se(E)]:function(e){if(I(e)===o)return[];var t=se(e);return[ae(e),t,ae(t)]}(E)),O=[E].concat(A).reduce((function(e,t){return e.concat(I(t)===o?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,l=i.flipVariations,c=i.allowedAutoPlacements,d=void 0===c?m:c,u=J(n),p=u?l?f:f.filter((function(e){return J(e)===u})):a,h=p.filter((function(e){return d.indexOf(e)>=0}));0===h.length&&(h=p);var g=h.reduce((function(t,i){return t[i]=ve(e,{placement:i,boundary:r,rootBoundary:s,padding:o})[I(i)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}(i,{placement:t,boundary:y,rootBoundary:_,padding:b,flipVariations:S,allowedAutoPlacements:T}):t)}),[]),L=i.rects.reference,P=i.rects.popper,k=new Map,M=!0,D=O[0],j=0;j=0,F=R?"width":"height",G=ve(i,{placement:N,boundary:y,rootBoundary:_,altBoundary:w,padding:b}),B=R?z?r:s:z?n:t;L[F]>P[F]&&(B=se(B));var V=se(B),H=[];if(p&&H.push(G[$]<=0),g&&H.push(G[B]<=0,G[V]<=0),H.every((function(e){return e}))){D=N,M=!1;break}k.set(N,H)}if(M)for(var q=function(e){var t=O.find((function(t){var i=k.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},W=S?3:1;W>0;W--){if("break"===q(W))break}i.placement!==D&&(i.modifiersData[d]._skip=!0,i.placement=D,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function _e(e){return[t,r,n,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=ye(o,n),c=ye(a,r,s),d=_e(l),u=_e(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};const xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var i=e.state,n=e.options,o=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(e,n){return e[n]=function(e,i,n){var o=I(e),a=[s,t].indexOf(o)>=0?-1:1,l="function"==typeof n?n(Object.assign({},i,{placement:e})):n,c=l[0],d=l[1];return c=c||0,d=(d||0)*a,[s,r].indexOf(o)>=0?{x:d,y:c}:{x:c,y:d}}(n,i.rects,l),e}),{}),d=c[i.placement],u=d.x,p=d.y;null!=i.modifiersData.popperOffsets&&(i.modifiersData.popperOffsets.x+=u,i.modifiersData.popperOffsets.y+=p),i.modifiersData[o]=c}};const Se={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Te={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var i=e.state,o=e.options,a=e.name,c=o.mainAxis,d=void 0===c||c,u=o.altAxis,p=void 0!==u&&u,h=o.boundary,f=o.rootBoundary,m=o.altBoundary,g=o.padding,v=o.tether,b=void 0===v||v,y=o.tetherOffset,_=void 0===y?0:y,w=ve(i,{boundary:h,rootBoundary:f,padding:g,altBoundary:m}),x=I(i.placement),S=J(i.placement),T=!S,E=U(x),C="x"===E?"y":"x",A=i.modifiersData.popperOffsets,O=i.rects.reference,L=i.rects.popper,P="function"==typeof _?_(Object.assign({},i.rects,{placement:i.placement})):_,k="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),j=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,N={x:0,y:0};if(A){if(d){var $,z="y"===E?t:s,F="y"===E?n:r,G="y"===E?"height":"width",B=A[E],V=B+w[z],H=B-w[F],q=b?-L[G]/2:0,X=S===l?O[G]:L[G],K=S===l?-L[G]:-O[G],Q=i.elements.arrow,Z=b&&Q?R(Q):{width:0,height:0},ee=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[z],ie=ee[F],ne=Y(0,O[G],Z[G]),re=T?O[G]/2-q-ne-te-k.mainAxis:X-ne-te-k.mainAxis,se=T?-O[G]/2+q+ne+ie+k.mainAxis:K+ne+ie+k.mainAxis,oe=i.elements.arrow&&W(i.elements.arrow),ae=oe?"y"===E?oe.clientTop||0:oe.clientLeft||0:0,le=null!=($=null==j?void 0:j[E])?$:0,ce=B+se-le,de=Y(b?D(V,B+re-le-ae):V,B,b?M(H,ce):H);A[E]=de,N[E]=de-B}if(p){var ue,pe="x"===E?t:s,he="x"===E?n:r,fe=A[C],me="y"===C?"height":"width",ge=fe+w[pe],be=fe-w[he],ye=-1!==[t,s].indexOf(x),_e=null!=(ue=null==j?void 0:j[C])?ue:0,we=ye?ge:fe-O[me]-L[me]-_e+k.altAxis,xe=ye?fe+O[me]+L[me]-_e-k.altAxis:be,Se=b&&ye?function(e,t,i){var n=Y(e,t,i);return n>i?i:n}(we,fe,xe):Y(b?we:ge,fe,b?xe:be);A[C]=Se,N[C]=Se-fe}i.modifiersData[a]=N}},requiresIfExists:["offset"]};function Ee(e,t,i){void 0===i&&(i=!1);var n,r,s=L(t),o=L(t)&&function(e){var t=e.getBoundingClientRect(),i=j(t.width)/e.offsetWidth||1,n=j(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=V(t),l=z(e,o,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!i)&&(("body"!==C(t)||de(a))&&(c=(n=t)!==A(n)&&L(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:le(n)),L(t)?((d=z(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=ce(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Ce(e){var t=new Map,i=new Set,n=[];function r(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||r(e)})),n}var Ae={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){for(var e=arguments.length,t=new Array(e),i=0;iMe.has(e)&&Me.get(e).get(t)||null,remove(e,t){if(!Me.has(e))return;const i=Me.get(e);i.delete(t),0===i.size&&Me.delete(e)}},je="transitionend",Ne=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),$e=e=>{e.dispatchEvent(new Event(je))},ze=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Re=e=>ze(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Ne(e)):null,Fe=e=>{if(!ze(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(!i)return t;if(i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},Ge=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),Be=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Be(e.parentNode):null},Ve=()=>{},He=e=>{e.offsetHeight},qe=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,We=[],Ue=()=>"rtl"===document.documentElement.dir,Ye=e=>{var t;t=()=>{const t=qe();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(We.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of We)e()})),We.push(t)):t()},Xe=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,Ke=(e,t,i=!0)=>{if(!i)return void Xe(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),r=Number.parseFloat(i);return n||r?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let r=!1;const s=({target:i})=>{i===t&&(r=!0,t.removeEventListener(je,s),Xe(e))};t.addEventListener(je,s),setTimeout((()=>{r||$e(t)}),n)},Qe=(e,t,i,n)=>{const r=e.length;let s=e.indexOf(t);return-1===s?!i&&n?e[r-1]:e[0]:(s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},Je=/[^.]*(?=\..*)\.|.*/,Ze=/\..*/,et=/::\d+$/,tt={};let it=1;const nt={mouseenter:"mouseover",mouseleave:"mouseout"},rt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function st(e,t){return t&&`${t}::${it++}`||e.uidEvent||it++}function ot(e){const t=st(e);return e.uidEvent=t,tt[t]=tt[t]||{},tt[t]}function at(e,t,i=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===i))}function lt(e,t,i){const n="string"==typeof t,r=n?i:t||i;let s=pt(e);return rt.has(s)||(s=e),[n,r,s]}function ct(e,t,i,n,r){if("string"!=typeof t||!e)return;let[s,o,a]=lt(t,i,n);if(t in nt){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=ot(e),c=l[a]||(l[a]={}),d=at(c,o,s?i:null);if(d)return void(d.oneOff=d.oneOff&&r);const u=st(o,t.replace(Je,"")),p=s?function(e,t,i){return function n(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return ft(r,{delegateTarget:o}),n.oneOff&&ht.off(e,r.type,t,i),i.apply(o,[r])}}(e,i,o):function(e,t){return function i(n){return ft(n,{delegateTarget:e}),i.oneOff&&ht.off(e,n.type,t),t.apply(e,[n])}}(e,o);p.delegationSelector=s?i:null,p.callable=o,p.oneOff=r,p.uidEvent=u,c[u]=p,e.addEventListener(a,p,s)}function dt(e,t,i,n,r){const s=at(t[i],n,r);s&&(e.removeEventListener(i,s,Boolean(r)),delete t[i][s.uidEvent])}function ut(e,t,i,n){const r=t[i]||{};for(const[s,o]of Object.entries(r))s.includes(n)&&dt(e,t,i,o.callable,o.delegationSelector)}function pt(e){return e=e.replace(Ze,""),nt[e]||e}const ht={on(e,t,i,n){ct(e,t,i,n,!1)},one(e,t,i,n){ct(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[r,s,o]=lt(t,i,n),a=o!==t,l=ot(e),c=l[o]||{},d=t.startsWith(".");if(void 0===s){if(d)for(const i of Object.keys(l))ut(e,l,i,t.slice(1));for(const[i,n]of Object.entries(c)){const r=i.replace(et,"");a&&!t.includes(r)||dt(e,l,o,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;dt(e,l,o,s,r?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=qe();let r=null,s=!0,o=!0,a=!1;t!==pt(t)&&n&&(r=n.Event(t,i),n(e).trigger(r),s=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const l=ft(new Event(t,{bubbles:s,cancelable:!0}),i);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function ft(e,t={}){for(const[i,n]of Object.entries(t))try{e[i]=n}catch(t){Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}function mt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function gt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const vt={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${gt(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${gt(t)}`)},getDataAttributes(e){if(!e)return{};const t={},i=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=mt(e.dataset[n])}return t},getDataAttribute:(e,t)=>mt(e.getAttribute(`data-bs-${gt(t)}`))};class bt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=ze(t)?vt.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...ze(t)?vt.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const t=e[n],s=ze(t)?"element":null==(i=t)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${r}".`)}var i}}class yt extends bt{constructor(e,t){super(),(e=Re(e))&&(this._element=e,this._config=this._getConfig(t),De.set(this._element,this.constructor.DATA_KEY,this))}dispose(){De.remove(this._element,this.constructor.DATA_KEY),ht.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){Ke(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return De.get(Re(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const _t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t?t.split(",").map((e=>Ne(e))).join(","):null},wt={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!Ge(e)&&Fe(e)))},getSelectorFromElement(e){const t=_t(e);return t&&wt.findOne(t)?t:null},getElementFromSelector(e){const t=_t(e);return t?wt.findOne(t):null},getMultipleElementsFromSelector(e){const t=_t(e);return t?wt.find(t):[]}},xt=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;ht.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Ge(this))return;const r=wt.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(r)[t]()}))},St=".bs.alert",Tt=`close${St}`,Et=`closed${St}`;class Ct extends yt{static get NAME(){return"alert"}close(){if(ht.trigger(this._element,Tt).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ht.trigger(this._element,Et),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Ct.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}xt(Ct,"close"),Ye(Ct);const At='[data-bs-toggle="button"]';class Ot extends yt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Ot.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}ht.on(document,"click.bs.button.data-api",At,(e=>{e.preventDefault();const t=e.target.closest(At);Ot.getOrCreateInstance(t).toggle()})),Ye(Ot);const Lt=".bs.swipe",Pt=`touchstart${Lt}`,kt=`touchmove${Lt}`,It=`touchend${Lt}`,Mt=`pointerdown${Lt}`,Dt=`pointerup${Lt}`,jt={endCallback:null,leftCallback:null,rightCallback:null},Nt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class $t extends bt{constructor(e,t){super(),this._element=e,e&&$t.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return jt}static get DefaultType(){return Nt}static get NAME(){return"swipe"}dispose(){ht.off(this._element,Lt)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Xe(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Xe(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ht.on(this._element,Mt,(e=>this._start(e))),ht.on(this._element,Dt,(e=>this._end(e))),this._element.classList.add("pointer-event")):(ht.on(this._element,Pt,(e=>this._start(e))),ht.on(this._element,kt,(e=>this._move(e))),ht.on(this._element,It,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const zt=".bs.carousel",Rt=".data-api",Ft="ArrowLeft",Gt="ArrowRight",Bt="next",Vt="prev",Ht="left",qt="right",Wt=`slide${zt}`,Ut=`slid${zt}`,Yt=`keydown${zt}`,Xt=`mouseenter${zt}`,Kt=`mouseleave${zt}`,Qt=`dragstart${zt}`,Jt=`load${zt}${Rt}`,Zt=`click${zt}${Rt}`,ei="carousel",ti="active",ii=".active",ni=".carousel-item",ri=ii+ni,si={[Ft]:qt,[Gt]:Ht},oi={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ai={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class li extends yt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=wt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ei&&this.cycle()}static get Default(){return oi}static get DefaultType(){return ai}static get NAME(){return"carousel"}next(){this._slide(Bt)}nextWhenVisible(){!document.hidden&&Fe(this._element)&&this.next()}prev(){this._slide(Vt)}pause(){this._isSliding&&$e(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?ht.one(this._element,Ut,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void ht.one(this._element,Ut,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?Bt:Vt;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ht.on(this._element,Yt,(e=>this._keydown(e))),"hover"===this._config.pause&&(ht.on(this._element,Xt,(()=>this.pause())),ht.on(this._element,Kt,(()=>this._maybeEnableCycle()))),this._config.touch&&$t.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of wt.find(".carousel-item img",this._element))ht.on(e,Qt,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(Ht)),rightCallback:()=>this._slide(this._directionToOrder(qt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new $t(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=si[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=wt.findOne(ii,this._indicatorsElement);t.classList.remove(ti),t.removeAttribute("aria-current");const i=wt.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(ti),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===Bt,r=t||Qe(this._getItems(),i,n,this._config.wrap);if(r===i)return;const s=this._getItemIndex(r),o=t=>ht.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:s});if(o(Wt).defaultPrevented)return;if(!i||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";r.classList.add(c),He(r),i.classList.add(l),r.classList.add(l);this._queueCallback((()=>{r.classList.remove(l,c),r.classList.add(ti),i.classList.remove(ti,c,l),this._isSliding=!1,o(Ut)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return wt.findOne(ri,this._element)}_getItems(){return wt.find(ni,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ue()?e===Ht?Vt:Bt:e===Ht?Bt:Vt}_orderToDirection(e){return Ue()?e===Vt?Ht:qt:e===Vt?qt:Ht}static jQueryInterface(e){return this.each((function(){const t=li.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}ht.on(document,Zt,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=wt.getElementFromSelector(this);if(!t||!t.classList.contains(ei))return;e.preventDefault();const i=li.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===vt.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),ht.on(window,Jt,(()=>{const e=wt.find('[data-bs-ride="carousel"]');for(const t of e)li.getOrCreateInstance(t)})),Ye(li);const ci=".bs.collapse",di=`show${ci}`,ui=`shown${ci}`,pi=`hide${ci}`,hi=`hidden${ci}`,fi=`click${ci}.data-api`,mi="show",gi="collapse",vi="collapsing",bi=`:scope .${gi} .${gi}`,yi='[data-bs-toggle="collapse"]',_i={parent:null,toggle:!0},wi={parent:"(null|element)",toggle:"boolean"};class xi extends yt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=wt.find(yi);for(const e of i){const t=wt.getSelectorFromElement(e),i=wt.find(t).filter((e=>e===this._element));null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return _i}static get DefaultType(){return wi}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>xi.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(ht.trigger(this._element,di).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(gi),this._element.classList.add(vi),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(gi,mi),this._element.style[t]="",ht.trigger(this._element,ui)}),this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ht.trigger(this._element,pi).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,He(this._element),this._element.classList.add(vi),this._element.classList.remove(gi,mi);for(const e of this._triggerArray){const t=wt.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(gi),ht.trigger(this._element,hi)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(mi)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=Re(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(yi);for(const t of e){const e=wt.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=wt.find(bi,this._config.parent);return wt.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const i=xi.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}ht.on(document,fi,yi,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of wt.getMultipleElementsFromSelector(this))xi.getOrCreateInstance(e,{toggle:!1}).toggle()})),Ye(xi);const Si="dropdown",Ti=".bs.dropdown",Ei=".data-api",Ci="ArrowUp",Ai="ArrowDown",Oi=`hide${Ti}`,Li=`hidden${Ti}`,Pi=`show${Ti}`,ki=`shown${Ti}`,Ii=`click${Ti}${Ei}`,Mi=`keydown${Ti}${Ei}`,Di=`keyup${Ti}${Ei}`,ji="show",Ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$i=`${Ni}.${ji}`,zi=".dropdown-menu",Ri=Ue()?"top-end":"top-start",Fi=Ue()?"top-start":"top-end",Gi=Ue()?"bottom-end":"bottom-start",Bi=Ue()?"bottom-start":"bottom-end",Vi=Ue()?"left-start":"right-start",Hi=Ue()?"right-start":"left-start",qi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Wi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ui extends yt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=wt.next(this._element,zi)[0]||wt.prev(this._element,zi)[0]||wt.findOne(zi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qi}static get DefaultType(){return Wi}static get NAME(){return Si}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ge(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ht.trigger(this._element,Pi,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))ht.on(e,"mouseover",Ve);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ji),this._element.classList.add(ji),ht.trigger(this._element,ki,e)}}hide(){if(Ge(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ht.trigger(this._element,Oi,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.off(e,"mouseover",Ve);this._popper&&this._popper.destroy(),this._menu.classList.remove(ji),this._element.classList.remove(ji),this._element.setAttribute("aria-expanded","false"),vt.removeDataAttribute(this._menu,"popper"),ht.trigger(this._element,Li,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!ze(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Si.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){let e=this._element;"parent"===this._config.reference?e=this._parent:ze(this._config.reference)?e=Re(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ke(e,this._menu,t)}_isShown(){return this._menu.classList.contains(ji)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Vi;if(e.classList.contains("dropstart"))return Hi;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Fi:Ri:t?Bi:Gi}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(vt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Xe(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const i=wt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>Fe(e)));i.length&&Qe(i,t,e===Ai,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Ui.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=wt.find($i);for(const i of t){const t=Ui.getInstance(i);if(!t||!1===t._config.autoClose)continue;const n=e.composedPath(),r=n.includes(t._menu);if(n.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=[Ci,Ai].includes(e.key);if(!n&&!i)return;if(t&&!i)return;e.preventDefault();const r=this.matches(Ni)?this:wt.prev(this,Ni)[0]||wt.next(this,Ni)[0]||wt.findOne(Ni,e.delegateTarget.parentNode),s=Ui.getOrCreateInstance(r);if(n)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}}ht.on(document,Mi,Ni,Ui.dataApiKeydownHandler),ht.on(document,Mi,zi,Ui.dataApiKeydownHandler),ht.on(document,Ii,Ui.clearMenus),ht.on(document,Di,Ui.clearMenus),ht.on(document,Ii,Ni,(function(e){e.preventDefault(),Ui.getOrCreateInstance(this).toggle()})),Ye(Ui);const Yi="backdrop",Xi="show",Ki=`mousedown.bs.${Yi}`,Qi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ji={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Zi extends bt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qi}static get DefaultType(){return Ji}static get NAME(){return Yi}show(e){if(!this._config.isVisible)return void Xe(e);this._append();const t=this._getElement();this._config.isAnimated&&He(t),t.classList.add(Xi),this._emulateAnimation((()=>{Xe(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Xi),this._emulateAnimation((()=>{this.dispose(),Xe(e)}))):Xe(e)}dispose(){this._isAppended&&(ht.off(this._element,Ki),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Re(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ht.on(e,Ki,(()=>{Xe(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){Ke(e,this._getElement(),this._config.isAnimated)}}const en=".bs.focustrap",tn=`focusin${en}`,nn=`keydown.tab${en}`,rn="backward",sn={autofocus:!0,trapElement:null},on={autofocus:"boolean",trapElement:"element"};class an extends bt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return sn}static get DefaultType(){return on}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ht.off(document,en),ht.on(document,tn,(e=>this._handleFocusin(e))),ht.on(document,nn,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ht.off(document,en))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=wt.focusableChildren(t);0===i.length?t.focus():this._lastTabNavDirection===rn?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?rn:"forward")}}const ln=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",cn=".sticky-top",dn="padding-right",un="margin-right";class pn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dn,(t=>t+e)),this._setElementAttributes(ln,dn,(t=>t+e)),this._setElementAttributes(cn,un,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dn),this._resetElementAttributes(ln,dn),this._resetElementAttributes(cn,un)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${i(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&vt.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=vt.getDataAttribute(e,t);null!==i?(vt.removeDataAttribute(e,t),e.style.setProperty(t,i)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(ze(e))t(e);else for(const i of wt.find(e,this._element))t(i)}}const hn=".bs.modal",fn=`hide${hn}`,mn=`hidePrevented${hn}`,gn=`hidden${hn}`,vn=`show${hn}`,bn=`shown${hn}`,yn=`resize${hn}`,_n=`click.dismiss${hn}`,wn=`mousedown.dismiss${hn}`,xn=`keydown.dismiss${hn}`,Sn=`click${hn}.data-api`,Tn="modal-open",En="show",Cn="modal-static",An={backdrop:!0,focus:!0,keyboard:!0},On={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ln extends yt{constructor(e,t){super(e,t),this._dialog=wt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new pn,this._addEventListeners()}static get Default(){return An}static get DefaultType(){return On}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;ht.trigger(this._element,vn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Tn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;ht.trigger(this._element,fn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(En),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){ht.off(window,hn),ht.off(this._dialog,hn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Zi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new an({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=wt.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),He(this._element),this._element.classList.add(En);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ht.trigger(this._element,bn,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){ht.on(this._element,xn,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),ht.on(window,yn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),ht.on(this._element,wn,(e=>{ht.one(this._element,_n,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Tn),this._resetAdjustments(),this._scrollBar.reset(),ht.trigger(this._element,gn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ht.trigger(this._element,mn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Cn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Cn),this._queueCallback((()=>{this._element.classList.remove(Cn),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const e=Ue()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!i&&e){const e=Ue()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=Ln.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}ht.on(document,Sn,'[data-bs-toggle="modal"]',(function(e){const t=wt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ht.one(t,vn,(e=>{e.defaultPrevented||ht.one(t,gn,(()=>{Fe(this)&&this.focus()}))}));const i=wt.findOne(".modal.show");i&&Ln.getInstance(i).hide();Ln.getOrCreateInstance(t).toggle(this)})),xt(Ln),Ye(Ln);const Pn=".bs.offcanvas",kn=".data-api",In=`load${Pn}${kn}`,Mn="show",Dn="showing",jn="hiding",Nn=".offcanvas.show",$n=`show${Pn}`,zn=`shown${Pn}`,Rn=`hide${Pn}`,Fn=`hidePrevented${Pn}`,Gn=`hidden${Pn}`,Bn=`resize${Pn}`,Vn=`click${Pn}${kn}`,Hn=`keydown.dismiss${Pn}`,qn={backdrop:!0,keyboard:!0,scroll:!1},Wn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Un extends yt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qn}static get DefaultType(){return Wn}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(ht.trigger(this._element,$n,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new pn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Mn),this._element.classList.remove(Dn),ht.trigger(this._element,zn,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(ht.trigger(this._element,Rn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(jn),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Mn,jn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new pn).reset(),ht.trigger(this._element,Gn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Zi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():ht.trigger(this._element,Fn)}:null})}_initializeFocusTrap(){return new an({trapElement:this._element})}_addEventListeners(){ht.on(this._element,Hn,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():ht.trigger(this._element,Fn))}))}static jQueryInterface(e){return this.each((function(){const t=Un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}ht.on(document,Vn,'[data-bs-toggle="offcanvas"]',(function(e){const t=wt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ge(this))return;ht.one(t,Gn,(()=>{Fe(this)&&this.focus()}));const i=wt.findOne(Nn);i&&i!==t&&Un.getInstance(i).hide();Un.getOrCreateInstance(t).toggle(this)})),ht.on(window,In,(()=>{for(const e of wt.find(Nn))Un.getOrCreateInstance(e).show()})),ht.on(window,Bn,(()=>{for(const e of wt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Un.getOrCreateInstance(e).hide()})),xt(Un),Ye(Un);const Yn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Kn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Qn=(e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!Xn.has(i)||Boolean(Kn.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(i)))};const Jn={allowList:Yn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Zn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},er={entry:"(string|element|function|null)",selector:"(string|element)"};class tr extends bt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,i]of Object.entries(this._config.content))this._setContent(e,i,t);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},er)}_setContent(e,t,i){const n=wt.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?ze(t)?this._putElementInTemplate(Re(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...n.body.querySelectorAll("*"));for(const e of r){const i=e.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){e.remove();continue}const n=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[i]||[]);for(const t of n)Qn(t,r)||e.removeAttribute(t.nodeName)}return n.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Xe(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const ir=new Set(["sanitize","allowList","sanitizeFn"]),nr="fade",rr="show",sr=".tooltip-inner",or=".modal",ar="hide.bs.modal",lr="hover",cr="focus",dr={AUTO:"auto",TOP:"top",RIGHT:Ue()?"left":"right",BOTTOM:"bottom",LEFT:Ue()?"right":"left"},ur={allowList:Yn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},pr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class hr extends yt{constructor(e,t){super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ur}static get DefaultType(){return pr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),ht.off(this._element.closest(or),ar,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=ht.trigger(this._element,this.constructor.eventName("show")),t=(Be(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),ht.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(rr),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.on(e,"mouseover",Ve);this._queueCallback((()=>{ht.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(ht.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(rr),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.off(e,"mouseover",Ve);this._activeTrigger.click=!1,this._activeTrigger[cr]=!1,this._activeTrigger[lr]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ht.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(nr,rr),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(nr),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new tr({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[sr]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(nr)}_isShown(){return this.tip&&this.tip.classList.contains(rr)}_createPopper(e){const t=Xe(this._config.placement,[this,e,this._element]),i=dr[t.toUpperCase()];return ke(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Xe(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Xe(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)ht.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===lr?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===lr?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");ht.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?cr:lr]=!0,t._enter()})),ht.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?cr:lr]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},ht.on(this._element.closest(or),ar,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vt.getDataAttributes(this._element);for(const e of Object.keys(t))ir.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:Re(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,i]of Object.entries(this._config))this.constructor.Default[t]!==i&&(e[t]=i);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=hr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ye(hr);const fr=".popover-header",mr=".popover-body",gr={...hr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},vr={...hr.DefaultType,content:"(null|string|element|function)"};class br extends hr{static get Default(){return gr}static get DefaultType(){return vr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fr]:this._getTitle(),[mr]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=br.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ye(br);const yr=".bs.scrollspy",_r=`activate${yr}`,wr=`click${yr}`,xr=`load${yr}.data-api`,Sr="active",Tr="[href]",Er=".nav-link",Cr=`${Er}, .nav-item > ${Er}, .list-group-item`,Ar={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Or={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Lr extends yt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ar}static get DefaultType(){return Or}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Re(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ht.off(this._config.target,wr),ht.on(this._config.target,wr,Tr,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(i(s),!n)return}else r||e||i(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=wt.find(Tr,this._config.target);for(const t of e){if(!t.hash||Ge(t))continue;const e=wt.findOne(decodeURI(t.hash),this._element);Fe(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Sr),this._activateParents(e),ht.trigger(this._element,_r,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))wt.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Sr);else for(const t of wt.parents(e,".nav, .list-group"))for(const e of wt.prev(t,Cr))e.classList.add(Sr)}_clearActiveClass(e){e.classList.remove(Sr);const t=wt.find(`${Tr}.${Sr}`,e);for(const e of t)e.classList.remove(Sr)}static jQueryInterface(e){return this.each((function(){const t=Lr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(window,xr,(()=>{for(const e of wt.find('[data-bs-spy="scroll"]'))Lr.getOrCreateInstance(e)})),Ye(Lr);const Pr=".bs.tab",kr=`hide${Pr}`,Ir=`hidden${Pr}`,Mr=`show${Pr}`,Dr=`shown${Pr}`,jr=`click${Pr}`,Nr=`keydown${Pr}`,$r=`load${Pr}`,zr="ArrowLeft",Rr="ArrowRight",Fr="ArrowUp",Gr="ArrowDown",Br="Home",Vr="End",Hr="active",qr="fade",Wr="show",Ur=".dropdown-toggle",Yr=`:not(${Ur})`,Xr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Kr=`${`.nav-link${Yr}, .list-group-item${Yr}, [role="tab"]${Yr}`}, ${Xr}`,Qr=`.${Hr}[data-bs-toggle="tab"], .${Hr}[data-bs-toggle="pill"], .${Hr}[data-bs-toggle="list"]`;class Jr extends yt{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ht.on(this._element,Nr,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?ht.trigger(t,kr,{relatedTarget:e}):null;ht.trigger(e,Mr,{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Hr),this._activate(wt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ht.trigger(e,Dr,{relatedTarget:t})):e.classList.add(Wr)}),e,e.classList.contains(qr))}_deactivate(e,t){if(!e)return;e.classList.remove(Hr),e.blur(),this._deactivate(wt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ht.trigger(e,Ir,{relatedTarget:t})):e.classList.remove(Wr)}),e,e.classList.contains(qr))}_keydown(e){if(![zr,Rr,Fr,Gr,Br,Vr].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!Ge(e)));let i;if([Br,Vr].includes(e.key))i=t[e.key===Br?0:t.length-1];else{const n=[Rr,Gr].includes(e.key);i=Qe(t,e.target,n,!0)}i&&(i.focus({preventScroll:!0}),Jr.getOrCreateInstance(i).show())}_getChildren(){return wt.find(Kr,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=wt.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(e,n)=>{const r=wt.findOne(e,i);r&&r.classList.toggle(n,t)};n(Ur,Hr),n(".dropdown-menu",Wr),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(Hr)}_getInnerElement(e){return e.matches(Kr)?e:wt.findOne(Kr,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Jr.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(document,jr,Xr,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ge(this)||Jr.getOrCreateInstance(this).show()})),ht.on(window,$r,(()=>{for(const e of wt.find(Qr))Jr.getOrCreateInstance(e)})),Ye(Jr);const Zr=".bs.toast",es=`mouseover${Zr}`,ts=`mouseout${Zr}`,is=`focusin${Zr}`,ns=`focusout${Zr}`,rs=`hide${Zr}`,ss=`hidden${Zr}`,os=`show${Zr}`,as=`shown${Zr}`,ls="hide",cs="show",ds="showing",us={animation:"boolean",autohide:"boolean",delay:"number"},ps={animation:!0,autohide:!0,delay:5e3};class hs extends yt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ps}static get DefaultType(){return us}static get NAME(){return"toast"}show(){if(ht.trigger(this._element,os).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ls),He(this._element),this._element.classList.add(cs,ds),this._queueCallback((()=>{this._element.classList.remove(ds),ht.trigger(this._element,as),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(ht.trigger(this._element,rs).defaultPrevented)return;this._element.classList.add(ds),this._queueCallback((()=>{this._element.classList.add(ls),this._element.classList.remove(ds,cs),ht.trigger(this._element,ss)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(cs),super.dispose()}isShown(){return this._element.classList.contains(cs)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){ht.on(this._element,es,(e=>this._onInteraction(e,!0))),ht.on(this._element,ts,(e=>this._onInteraction(e,!1))),ht.on(this._element,is,(e=>this._onInteraction(e,!0))),ht.on(this._element,ns,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=hs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}xt(hs),Ye(hs);i(1432),i(8434),i(5238),i(208),i(719),i(6876);function fs(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function ms(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:fs(t[i])&&fs(e[i])&&Object.keys(t[i]).length>0&&ms(e[i],t[i])}))}const gs={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function vs(){const e="undefined"!=typeof document?document:{};return ms(e,gs),e}const bs={document:gs,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function ys(){const e="undefined"!=typeof window?window:{};return ms(e,bs),e}function _s(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function ws(){return Date.now()}function xs(e,t){void 0===t&&(t="x");const i=ys();let n,r,s;const o=function(e){const t=ys();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function Ss(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Ts(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(e)<0));for(let t=0,n=i.length;ts?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const e=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=s+c*(i-s);if(d(p,i)&&(p=i),t.wrapperEl.scrollTo({[n]:p}),d(p,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:p})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(u)};u()}function As(e,t){void 0===t&&(t="");const i=[...e.children];return e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function Os(e){try{return void console.warn(e)}catch(e){}}function Ls(e,t){void 0===t&&(t=[]);const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),i}function Ps(e,t){return ys().getComputedStyle(e,null).getPropertyValue(t)}function ks(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function Is(e,t,i){const n=ys();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let Ms,Ds,js;function Ns(){return Ms||(Ms=function(){const e=ys(),t=vs();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),Ms}function $s(e){return void 0===e&&(e={}),Ds||(Ds=function(e){let{userAgent:t}=void 0===e?{}:e;const i=Ns(),n=ys(),r=n.navigator.platform,s=t||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let d=s.match(/(iPad).*OS\s([\d_]+)/);const u=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let f="MacIntel"===r;return!d&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(d=s.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),c&&!h&&(o.os="android",o.android=!0),(d||p||u)&&(o.os="ios",o.ios=!0),o}(e)),Ds}function zs(){return js||(js=function(){const e=ys(),t=$s();let i=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));i=e<16||16===e&&n<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=n();return{isSafari:i||s,needPerspectiveFix:i,need3dFix:s||r&&t.ios,isWebView:r}}()),js}var Rs={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const r=i?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function r(){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,s=new Array(i),o=0;o=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,n;for(var r=arguments.length,s=new Array(r),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...i])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,i)}))})),e}};const Fs=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)};const Gs=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)};const Bs=(e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},Vs=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Hs=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=r,s=[i-t];return s.push(...Array.from({length:t}).map(((e,t)=>i+n+t))),void e.slides.forEach(((t,i)=>{s.includes(t.column)&&Vs(e,i)}))}const s=r+n-1;if(e.params.rewind||e.params.loop)for(let n=r-t;n<=s+t;n+=1){const t=(n%i+i)%i;(ts)&&Vs(e,t)}else for(let n=Math.max(r-t,0);n<=Math.min(s+t,i-1);n+=1)n!==r&&(n>s||n=0?y=parseFloat(y.replace("%",""))/100*s:"string"==typeof y&&(y=parseFloat(y)),e.virtualSize=-y,d.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),i.centeredSlides&&i.cssMode&&(Es(n,"--swiper-centered-offset-before",""),Es(n,"--swiper-centered-offset-after",""));const S=i.grid&&i.grid.rows>1&&e.grid;let T;S?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const E="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let n=0;n1&&p.push(e.virtualSize-s)}if(l&&i.loop){const t=f[0]+y;if(i.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/i.slidesPerGroup),r=t*i.slidesPerGroup;for(let e=0;e!(i.cssMode&&!i.loop)||t!==d.length-1)).forEach((e=>{e.style[t]=`${y}px`}))}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(y||0)})),e-=y;const t=e>s?e-s:0;p=p.map((e=>e<=0?-m:e>t?t+g:e))}if(i.centerInsufficientSlides){let e=0;f.forEach((t=>{e+=t+(y||0)})),e-=y;const t=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(e+t{p[t]=e-i})),h.forEach(((e,t)=>{h[t]=e+i}))}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Es(n,"--swiper-centered-offset-before",-p[0]+"px"),Es(n,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+i))}if(u!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);u<=i.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{i.push(e)}));else for(r=0;rt.slides.length&&!n)break;i.push(o(e))}else i.push(o(t.activeIndex));for(r=0;rs?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p1&&h<=t.size||p<=0&&h>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),Fs(l,m,i.slideVisibleClass),Fs(l,f,i.slideFullyVisibleClass),l.progress=r?-d:d,l.originalProgress=r?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,c=o;if(0===n)r=0,s=!0,o=!0;else{r=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=i||r<=0,o=a||r>=1,i&&(r=0),a&&(r=1)}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[i],s=t.slidesGrid[n],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=r?(l-r)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(t,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,slidesEl:n,activeIndex:r}=e,s=e.virtual&&i.virtual.enabled,o=e.grid&&i.grid&&i.grid.rows>1,a=e=>As(n,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let l,c,d;if(s)if(i.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=t.filter((e=>e.column===r))[0],d=t.filter((e=>e.column===r+1))[0],c=t.filter((e=>e.column===r-1))[0]):l=t[r];l&&(o||(d=function(e,t){const i=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=t[0]),c=function(e,t){const i=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{Gs(e,e===l,i.slideActiveClass),Gs(e,e===d,i.slideNextClass),Gs(e,e===c,i.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:r,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,c=e;const d=e=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e=t[e]&&n=t[e]&&n=t[e]&&(r=e);return i.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),n.indexOf(i)>=0)l=n.indexOf(i);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),c===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=d(c);else if(u){const e=t.slides.filter((e=>e.column===c))[0];let i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(t.slides.indexOf(e),0)),p=Math.floor(i/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:p,previousIndex:s,activeIndex:c}),t.initialized&&Hs(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const i=this,n=i.params;let r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&i.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)}));let s,o=!1;if(r)for(let e=0;el?l:n&&eo?"next":s=l.length&&(g=l.length-1);const v=-l[g];if(a.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(o=e)}if(s.initialized&&o!==u){if(!s.allowSlideNext&&(p?v>s.translate&&v>s.minTranslate():vs.translate&&v>s.maxTranslate()&&(u||0)!==o)return!1}let b;o!==(d||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(v),b=o>u?"next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=i}))):h[e?"scrollLeft":"scrollTop"]=i,y&&requestAnimationFrame((()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1}));else{if(!s.support.smoothScroll)return Cs({swiper:s,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,b),0===t?s.transitionEnd(i,b):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,b))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){if(void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){const t=o*r.params.grid.rows;e=r.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=r.getSlideIndexByData(o);const t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:i}=r.params;let a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),i&&a%2==0&&(a+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame((()=>{r.slideTo(o,t,i,n)})),r},slideNext:function(e,t,i){void 0===t&&(t=!0);const n=this,{enabled:r,params:s,animating:o}=n;if(!r||n.destroyed)return n;void 0===e&&(e=n.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex{n.slideTo(n.activeIndex+l,e,t,i)})),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===t&&(t=!0);const n=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);const d=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(a?n.translate:-n.translate),h=s.map((e=>u(e)));let f=s[h.indexOf(p)-1];if(void 0===f&&r.cssMode){let e;s.forEach(((t,i)=>{p>=t&&(e=i)})),void 0!==e&&(f=s[e>0?e-1:e])}let m=0;if(void 0!==f&&(m=o.indexOf(f),m<0&&(m=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame((()=>{n.slideTo(m,e,t,i)})),!0):n.slideTo(m,e,t,i)},slideReset:function(e,t,i){void 0===t&&(t=!0);const n=this;if(!n.destroyed)return void 0===e&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===t&&(t=!0),void 0===n&&(n=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const e=r.snapGrid[a];l-e>(r.snapGrid[a+1]-e)*n&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];l-e<=(r.snapGrid[a]-e)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?se.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=e.getSlideIndex(As(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),_s((()=>{e.slideTo(s)}))):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=e.getSlideIndex(As(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),_s((()=>{e.slideTo(s)}))):e.slideTo(s)}else e.slideTo(s)}};var Xs={loopCreate:function(e){const t=this,{params:i,slidesEl:n}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{As(n,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},s=t.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(s?i.grid.rows:1),a=t.slides.length%o!=0,l=s&&t.slides.length%i.grid.rows!=0,c=e=>{for(let n=0;n1;c.lengthe.classList.contains(h.slideActiveClass)))[0]):w=s;const x="next"===n||!n,S="prev"===n||!n;let T=0,E=0;const C=b?Math.ceil(c.length/h.grid.rows):c.length,A=(b?c[s].column:s)+(f&&void 0===r?-m/2+.5:0);if(A=0;t-=1)c[t].column===e&&y.push(t)}else y.push(C-t-1)}}else if(A+m>C-v){E=Math.max(A-(C-2*v),g);for(let e=0;e{e.column===t&&_.push(i)})):_.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),S&&y.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),x&&_.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():b&&(y.length>0&&S||_.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),h.watchSlidesProgress&&l.updateSlidesOffset(),i)if(y.length>0&&S){if(void 0===t){const e=l.slidesGrid[w],t=l.slidesGrid[w+T]-e;a?l.setTranslate(l.translate-t):(l.slideTo(w+Math.ceil(T),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=b?y.length/h.grid.rows:y.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(_.length>0&&x)if(void 0===t){const e=l.slidesGrid[w],t=l.slidesGrid[w-E]-e;a?l.setTranslate(l.translate-t):(l.slideTo(w-E,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=b?_.length/h.grid.rows:_.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!o){const e={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&i})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&i})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{i.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function Ks(e,t,i){const n=ys(),{params:r}=e,s=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return!s||!(i<=o||i>=n.innerWidth-o)||"prevent"===s&&(t.preventDefault(),!0)}function Qs(e){const t=this,i=vs();let n=e;n.originalEvent&&(n=n.originalEvent);const r=t.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void Ks(t,n,n.targetTouches[0].pageX);const{params:s,touches:o,enabled:a}=t;if(!a)return;if(!s.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=n.target;if("wrapper"===s.touchEventsTarget&&!function(e,t){const i=t.contains(e);if(!i&&t instanceof HTMLSlotElement)return[...t.assignedElements()].includes(e);return i}(l,t.wrapperEl))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!s.noSwipingClass&&""!==s.noSwipingClass,d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(l=d[0]);const u=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!(!n.target||!n.target.shadowRoot);if(s.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===vs()||i===ys())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(u,l):l.closest(u)))return void(t.allowClick=!0);if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=n.pageX,o.currentY=n.pageY;const h=o.currentX,f=o.currentY;if(!Ks(t,n,h))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=f,r.touchStartTime=ws(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let m=!0;l.matches(r.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==l&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!l.matches(r.focusableElements))&&i.activeElement.blur();const g=m&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!g||l.isContentEditable||n.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function Js(e){const t=vs(),i=this,n=i.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:a}=i;if(!a)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==n.touchId)return;if(c.pointerId!==n.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter((e=>e.identifier===n.touchId))[0],!l||l.identifier!==n.touchId)return}else l=c;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",c));const d=l.pageX,u=l.pageY;if(c.preventedByNestedSwiper)return s.startX=d,void(s.startY=u);if(!i.allowTouchMove)return c.target.matches(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:d,startY:u,currentX:d,currentY:u}),n.touchStartTime=ws()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(us.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(ds.startX&&i.translate>=i.minTranslate())return;if(t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);n.allowTouchCallbacks&&i.emit("touchMove",c),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=d,s.currentY=u;const p=s.currentX-s.startX,h=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(p**2+h**2)=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",c),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===c.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let f=i.isHorizontal()?p:h,m=i.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),s.diff=f,f*=r.touchRatio,o&&(f=-f,m=-m);const g=i.touchesDirection;i.swipeDirection=f>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const v=i.params.loop&&!r.cssMode,b="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!n.isMoved){if(v&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)}if((new Date).getTime(),n.isMoved&&n.allowThresholdMove&&g!==i.touchesDirection&&v&&b&&Math.abs(f)>=1)return Object.assign(s,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);i.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=f+n.startTranslate;let y=!0,_=r.resistanceRatio;if(r.touchReleaseOnEdges&&(_=0),f>0?(v&&b&&n.allowThresholdMove&&n.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]-("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.activeIndex+1]+i.params.spaceBetween:0)-i.params.spaceBetween:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(y=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+f)**_))):f<0&&(v&&b&&n.allowThresholdMove&&n.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween+("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween:0):i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Zs(e){const t=this,i=t.touchEventsData;let n,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(n=[...r.changedTouches].filter((e=>e.identifier===i.touchId))[0],!n||n.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(r.pointerId!==i.pointerId)return;n=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{params:s,touches:o,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&t.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=ws(),u=d-i.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),u<300&&d-i.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(i.lastClickTime=ws(),_s((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let p;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?a?t.translate:-t.translate:-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let f=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&p=l[e])&&(f=e,m=l[l.length-1]-l[l.length-2])}let g=null,v=null;s.rewind&&(t.isBeginning?v=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const b=(p-l[f])/m,y=fs.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?g:f+y):t.slideTo(f)),"prev"===t.swipeDirection&&(b>1-s.longSwipesRatio?t.slideTo(f+y):null!==v&&b<0&&Math.abs(b)>s.longSwipesRatio?t.slideTo(v):t.slideTo(f))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(f+y):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+y),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:f))}}function eo(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function to(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function io(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function no(e){const t=this;Bs(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function ro(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const so=(e,t)=>{const i=vs(),{params:n,el:r,wrapperEl:s,device:o}=e,a=!!n.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",e.onClick,!0),n.cssMode&&s[l]("scroll",e.onScroll),n.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",eo,!0):e[c]("observerUpdate",eo,!0),r[l]("load",e.onLoad,{capture:!0}))};const oo=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var ao={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function lo(e,t){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],r=i[n];"object"==typeof r&&null!==r?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in r?("object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),Ts(t,i)):Ts(t,i)):Ts(t,i)}}const co={eventsEmitter:Rs,update:qs,translate:Ws,transition:{setTransition:function(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`,i.wrapperEl.style.transitionDelay=0===e?"0ms":""),i.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Us({swiper:i,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),Us({swiper:i,runCallbacks:e,direction:t,step:"End"}))}},slide:Ys,loop:Xs,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=Qs.bind(e),e.onTouchMove=Js.bind(e),e.onTouchEnd=Zs.bind(e),e.onDocumentTouchStart=ro.bind(e),t.cssMode&&(e.onScroll=io.bind(e)),e.onClick=to.bind(e),e.onLoad=no.bind(e),so(e,"on")},detachEvents:function(){so(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:i,params:n,el:r}=e,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const a=(o in s?s[o]:void 0)||e.originalParams,l=oo(e,n),c=oo(e,a),d=e.params.grabCursor,u=a.grabCursor,p=n.enabled;l&&!c?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(r.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&"column"===a.grid.fill||!a.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!u?e.unsetGrabCursor():!d&&u&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===a[t])return;const i=n[t]&&n[t].enabled,r=a[t]&&a[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()}));const h=a.direction&&a.direction!==n.direction,f=n.loop&&(a.slidesPerView!==n.slidesPerView||h),m=n.loop;h&&i&&e.changeDirection(),Ts(e.params,a);const g=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),i&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&v?(e.loopCreate(t),e.updateSlides()):m&&!v&&e.loopDestroy()),e.emit("breakpoint",a)},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1;const r=ys(),s="window"===t?r.innerHeight:i.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:i,rtl:n,el:r,device:s}=e,o=function(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&i.push(t+n)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},uo={};class po{constructor(){let e,t;for(var i=arguments.length,n=new Array(i),r=0;r1){const e=[];return s.querySelectorAll(t.el).forEach((i=>{const n=Ts({},t,{el:i});e.push(new po(n))})),e}const o=this;o.__swiper__=!0,o.support=Ns(),o.device=$s({userAgent:t.userAgent}),o.browser=zs(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const a={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:lo(t,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const l=Ts({},ao,a);return o.params=Ts({},l,uo,t),o.originalParams=Ts({},o.params),o.passedParams=Ts({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,n=ks(As(t,`.${i.slideClass}, swiper-slide`)[0]);return ks(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=As(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),r=(i.maxTranslate()-n)*e+n;i.translateTo(r,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[a]?Math.ceil(n[a].swiperSlideSize):0;for(let i=a+1;io&&(e=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e=0;e-=1){r[a]-r[e]{t.complete&&Bs(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){return i.shadowRoot.querySelector(n())}return As(i,n())[0]})();return!r&&t.params.createElements&&(r=Ls("div",t.params.wrapperClass),i.append(r),As(i,`.${t.params.slideClass}`).forEach((e=>{r.append(e)}))),Object.assign(t,{el:i,wrapperEl:r,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:r,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===Ps(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===Ps(i,"direction")),wrongRTL:"-webkit-box"===Ps(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach((e=>{e.complete?Bs(t,e):e.addEventListener("load",(e=>{Bs(t,e.target)}))})),Hs(t),t.initialized=!0,Hs(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,el:r,wrapperEl:s,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static extendDefaults(e){Ts(uo,e)}static get extendedDefaults(){return uo}static get defaults(){return ao}static installModule(e){po.prototype.__modules__||(po.prototype.__modules__=[]);const t=po.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>po.installModule(e))),po):(po.installModule(e),po)}}function ho(e){let{swiper:t,extendParams:i,on:n}=e;i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,s=!1;function o(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,n=e.clickedSlide;if(n&&n.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;r=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,t.params.loop?t.slideToLoop(r):t.slideTo(r)}function a(){const{thumbs:e}=t.params;if(r)return!1;r=!0;const i=t.constructor;if(e.swiper instanceof i)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(Ss(e.swiper)){const n=Object.assign({},e.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new i(n),s=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",o),!0}function l(e){const i=t.thumbs.swiper;if(!i||i.destroyed)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const s=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.forEach((e=>e.classList.remove(s))),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e{e.classList.add(s)}));else for(let e=0;ee.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];s=i.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else s=t.realIndex,l=s>t.previousIndex?"next":"prev";a&&(s+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(s)<0&&(i.params.centeredSlides?s=s>r?s-Math.floor(n/2)+1:s+Math.floor(n/2)-1:s>r&&i.params.slidesPerGroup,i.slideTo(s,e?0:void 0))}}t.thumbs={swiper:null},n("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const i=vs(),n=()=>{const n="string"==typeof e.swiper?i.querySelector(e.swiper):e.swiper;if(n&&n.swiper)e.swiper=n.swiper,a(),l(!0);else if(n){const i=`${t.params.eventsPrefix}init`,r=s=>{e.swiper=s.detail[0],n.removeEventListener(i,r),a(),l(!0),e.swiper.update(),t.update()};n.addEventListener(i,r)}return n},r=()=>{if(t.destroyed)return;n()||requestAnimationFrame(r)};requestAnimationFrame(r)}else a(),l(!0)})),n("slideChange update resize observerUpdate",(()=>{l()})),n("setTransition",((e,i)=>{const n=t.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)})),n("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&s&&e.destroy()})),Object.assign(t.thumbs,{init:a,update:l})}Object.keys(co).forEach((e=>{Object.keys(co[e]).forEach((t=>{po.prototype[t]=co[e][t]}))})),po.use([function(e){let{swiper:t,on:i,emit:n}=e;const r=ys();let s=null,o=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};i("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver((e=>{o=r.requestAnimationFrame((()=>{const{width:i,height:n}=t;let r=i,s=n;e.forEach((e=>{let{contentBoxSize:i,contentRect:n,target:o}=e;o&&o!==t.el||(r=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)})),r===i&&s===n||a()}))})),s.observe(t.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))})),i("destroy",(()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:i,on:n,emit:r}=e;const s=[],o=ys(),a=function(e,i){void 0===i&&(i={});const n=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const i=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0)}));n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),s.push(n)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=function(e,t){const i=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i}(t.hostEl);for(let t=0;t{s.forEach((e=>{e.disconnect()})),s.splice(0,s.length)}))}]);var fo=function(){this._initCarousel=function(){var e=new po(".js-slider-thumbnail",{slidesPerView:3,freeMode:!0,spaceBetween:"8px",watchSlidesProgress:!0}),t=new po(".js-slider",{modules:[ho],navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:{swiper:e}});console.log(t)},this._initCarousel()},mo=(i(9463),i(2953),function(e,t,i,n){return new(i||(i=Promise))((function(r,s){function o(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))}),go=function(e,t){var i,n,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(i=1,n&&(r=2&a[0]?n.return:a[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;switch(n=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]{var e={8434:()=>{window.coreshopQuantitySelector=function(e){!function(){const e=document.querySelectorAll("input.cs-unit-input"),t=document.querySelector("select.cs-unit-selector");t&&t.addEventListener("change",(function(){if(!this.dataset.csUnitIdentifier)return;const e=this.dataset.csUnitIdentifier,t=document.querySelector('input[data-cs-unit-identifier="'.concat(e,'"]')),i=1;t&&(t.step=i,t.dataset.csUnitPrecision=0,function(e,t,i){e.min=0,e.max=1e9,e.step=i,e.dataset.csUnitPrecision=t}(t,0,i.toString()))})),e&&e.forEach((function(e){!function(e,t,i){const n=document.createElement("div");n.classList.add("touchspin-container");const r=document.createElement("button");r.type="button",r.textContent="-",r.classList.add("touchspin-decrement");const s=document.createElement("button");s.type="button",s.textContent="+",s.classList.add("touchspin-increment"),e.parentNode.insertBefore(n,e),n.appendChild(r),n.appendChild(e),n.appendChild(s),r.addEventListener("click",(function(){let t=parseInt(e.value)||0;t-=parseInt(i),t>=0&&(e.value=t)})),s.addEventListener("click",(function(){let t=parseInt(e.value)||0;t+=parseInt(i),e.value=t})),e.addEventListener("input",(function(){let t=parseInt(e.value);isNaN(t)?e.value=0:e.value=t}))}(e,0,"1")}))}()}},5238:(e,t,i)=>{i(3921),window.coreshopVariantSelector=function(e){let t=null,i={},n=[];const r=function(){i.attributes.forEach((e=>{e.elements=t.querySelectorAll('[data-group="'.concat(e.group.id,'"]')),n.push(e)}))},s=function(){n.forEach(((e,t)=>{e.prevGroup=n[t-1]||null,e.nextGroup=n[t+1]||null,e.selected?x(e):v(e)}))},o=function(){n.forEach((e=>a(e)))},a=function(e){e.elements.forEach((t=>function(e,t){e.onchange=()=>l(t,e)}(t,e)))},l=function(e,i){window.variantReady=!1,t.dispatchEvent(f("change",{element:i})),i.value?c(e,i):d(e),window.variantReady=!0},c=function(e,i){e.selected=parseInt(i.value),t.dispatchEvent(f("select",{element:i})),e.nextGroup?(b(e.nextGroup),x(e.nextGroup)):(t.dispatchEvent(f("redirect",{element:i})),u())},d=function(e){delete e.selected,e.nextGroup&&b(e.nextGroup)},u=function(){const e=p(),t=h(e);null!=t&&t.url&&(window.location.href=t.url)},p=function(){return Object.fromEntries(n.filter((e=>e.selected)).map((e=>[e.group.id,e.selected])))},h=function(e){return Object.values(i.index).find((t=>JSON.stringify(t.attributes)===JSON.stringify(e)))},f=function(e){return new CustomEvent("variant_selector."+e,{bubbles:!0,cancelable:!1,detail:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})},m=function(e){e.disabled=!0,e.checked=!1,"select"===e.tagName.toLowerCase()&&g(e)},g=function(e){e.querySelectorAll('option:not([value=""])').forEach((t=>e.removeChild(t)))},v=function(e){delete e.selected,e.elements.forEach(m)},b=function(e){for(;e;)v(e),e=e.nextGroup},y=function(e,t){return e.products.some((e=>function(e,t){return t.every((t=>{var n;return(null===(n=i.index[e.id].attributes)||void 0===n?void 0:n[t.group])===t.selected}))}(e,t)))},_=function(e){const t=[];let i=e.prevGroup;for(;i;)i.selected&&i.nextGroup&&t.push({group:i.group.id,selected:i.selected}),i=i.prevGroup;return t},w=function(e,t,i){"select"===e.tagName.toLowerCase()?t.forEach((t=>function(e,t,i){const n=new Option(t.attribute.name,t.attribute.id);n.id="attribute-"+t.attribute.id,i.selected===t.attribute.id&&(n.selected=!0),e.add(n),e.disabled=!1}(e,t,i))):t.forEach((t=>function(e,t,i){parseInt(e.dataset.group)===i.group.id&&parseInt(e.value)===t.attribute.id&&(e.disabled=!1,i.selected===t.attribute.id&&(e.checked=!0))}(e,t,i)))},x=function(e){const t=function(e,t){const i=_(t);return e.filter((e=>y(e,i)))}(e.attributes.slice(),e)||e.attributes;!function(e,t){e.elements.forEach((i=>w(i,t,e)))}(e,t)};e&&(t=e,i=JSON.parse(t.dataset.config),r(),s(),o())}},1432:(e,t,i)=>{i(2762),function(){"use strict";const e={init:function(e){const t={prototypePrefix:!1,containerSelector:!1,selectorAttr:!1,...e};document.querySelectorAll(this.selector).forEach((e=>{this.show(e,t,!1),e.addEventListener("change",(()=>{this.show(e,t,!0)}))}))},show:function(e,t,i){let n=e.value,r=e.id;if(t.selectorAttr){const i=Array.from(e.options).find((e=>e.value===n));i&&(n=i.getAttribute(t.selectorAttr))}t.prototypePrefix&&(r=t.prototypePrefix);const s=document.getElementById("".concat(r,"_").concat(n));let o=this.getContainer(t,s);o&&(s?!i&&o.innerHTML.trim()||(o.innerHTML=s.dataset.prototype):o.innerHTML="")},getContainer:function(e,t){if(e.containerSelector)return document.querySelector(e.containerSelector);{const e=t?t.dataset.container:null;return document.getElementById(e)}}};NodeList.prototype.handlePrototypes=function(t){if(e[t])return e[t].apply(this,Array.prototype.slice.call(arguments,1));if("object"!=typeof t&&t)throw new Error("Method "+t+" does not exist on handlePrototypes");return e.init.apply(this,arguments)},HTMLElement.prototype.handlePrototypes=function(t){return e.handlePrototypes.call([this],t)}}()},6876:()=>{document.addEventListener("DOMContentLoaded",(function(){const e=document.getElementById("map-block");if(e){e.style.height=document.getElementById("map-wrapper").clientHeight+"px",window.addEventListener("load",(function(){const t={zoom:18,center:new google.maps.LatLng(48.1592513,14.02302510000004),disableDefaultUI:!0},i=new google.maps.Map(e,t);console.log(i)}))}}))},208:(e,t,i)=>{i(5440),i(2762),i(2953),i(8408);const n=window.shop||{};!function(e){e.init=function(){e.initChangeAddress(),e.initCartShipmentCalculator(),e.initQuantityValidator(),e.initCategorySelect(),function(e){const t={prototypePrefix:e.prototypePrefix||!1,containerSelector:e.containerSelector||!1,selectorAttr:e.selectorAttr||!1};function i(e,i){const s=n(e),o=t.prototypePrefix||e.id,a=document.getElementById("".concat(o,"_").concat(s)),l=r(a);!l||!i&&l.innerHTML.trim()||(l.innerHTML=a?a.dataset.prototype:"")}function n(e){return t.selectorAttr?e.querySelector('[value="'.concat(e.value,'"]')).getAttribute(t.selectorAttr):e.value}function r(e){return t.containerSelector?document.querySelector(t.containerSelector):e?document.querySelector(e.dataset.container):null}document.querySelectorAll("[data-".concat(t.prototypePrefix,"]")).forEach((function(e){i(e,!1),e.addEventListener("change",(function(){i(e,!0)}))}))}({prototypePrefix:"paymentProvider",containerSelector:".paymentSettings",selectorAttr:"data-factory"}),document.querySelectorAll(".copy-to-clipboard").forEach((function(e){e.addEventListener("click",(function(){!function(e){const t=e.dataset.target,i=document.getElementById(t);i&&(i.select(),i.setSelectionRange(0,99999),navigator.clipboard.writeText(i.value).then((()=>{console.log(e.dataset.copiedText)})))}(this)}))}))},e.initCategorySelect=function(){document.querySelectorAll(".site-reload").forEach((function(e){e.addEventListener("change",(function(){location.href=function(e,t,i){const n=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=-1!==e.indexOf("?")?"&":"?";return e.match(n)?e.replace(n,"$1"+t+"="+i+"$2"):e+r+t+"="+i}(window.location.href,this.name,this.value)}))}))},e.initQuantityValidator=function(){coreshopQuantitySelector({buttondown_class:"btn btn-secondary",buttonup_class:"btn btn-secondary"})},e.initCartShipmentCalculator=function(){document.addEventListener("submit",(function(e){const t=e.target.closest('form[name="coreshop_shipping_calculator"]');t&&function(e){event.preventDefault(),e.classList.add("loading"),e.querySelector('button[type="submit"]').setAttribute("disabled","disabled"),e.closest(".cart-shipment-calculation-box").querySelector(".cart-shipment-available-carriers").style.opacity=.2,fetch(e.action,{method:"POST",body:new URLSearchParams(new FormData(e))}).then((e=>e.text())).then((t=>function(e,t){e.classList.remove("loading"),e.closest(".cart-shipment-calculation-box").outerHTML=t}(e,t))).catch((t=>function(e,t){console.error("Error:",t),e.classList.remove("loading"),e.querySelector('button[type="submit"]').removeAttribute("disabled")}(e,t)))}(t)}))},e.initChangeAddress=function(){const e=document.querySelector(".checkout-step.step-address");if(!e)return;!function(e,t,i){e.addEventListener("change",(()=>function(e,t){const i=e.options[e.selectedIndex],n=JSON.parse(i.dataset.address).html;document.querySelector(".panel-invoice-address").innerHTML=n||"",function(e,t){e&&(e.disabled=t,t&&(e.checked=!1,e.dispatchEvent(new Event("change"))))}(t,"invoice"===i.dataset.addressType)}(e,i))),t.addEventListener("change",(()=>function(e){const t=e.options[e.selectedIndex],i=JSON.parse(t.dataset.address).html;document.querySelector(".panel-shipping-address").innerHTML=i||""}(t))),i&&i.addEventListener("change",(()=>function(e,t,i){const n=document.querySelector(".shipping-address-selector"),r=document.querySelector(".card-footer");e.checked?(n.style.display="none",i.value=t.value,i.dispatchEvent(new Event("change")),r&&r.classList.add("d-none")):(n.style.display="",r&&r.classList.remove("d-none"))}(i,e,t)))}(e.querySelector('select[name="coreshop[invoiceAddress]"]'),e.querySelector('select[name="coreshop[shippingAddress]"]'),e.querySelector('[name="coreshop[useInvoiceAsShipping]"]'))}}(n),document.addEventListener("DOMContentLoaded",(function(){n.init()}))},719:()=>{var e;e=window.variant||(window.variant={}),document.addEventListener("DOMContentLoaded",(function(){window.variantReady=!1,e.init(),window.variantReady=!0})),e.init=function(){const e=document.querySelector(".product-info__attributes");e&&(coreshopVariantSelector(e),e.addEventListener("variant_selector.select",(e=>{const t=document.querySelector(".product-info .product-details .options");if(t){const e=t.querySelectorAll('[type="submit"]');t.classList.add("disabled"),e.forEach((e=>{e.disabled=!0}))}})))}},9306:(e,t,i)=>{"use strict";var n=i(4901),r=i(6823),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not a function")}},3506:(e,t,i)=>{"use strict";var n=i(3925),r=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s("Can't set "+r(e)+" as a prototype")}},6469:(e,t,i)=>{"use strict";var n=i(8227),r=i(2360),s=i(4913).f,o=n("unscopables"),a=Array.prototype;void 0===a[o]&&s(a,o,{configurable:!0,value:r(null)}),e.exports=function(e){a[o][e]=!0}},7829:(e,t,i)=>{"use strict";var n=i(8183).charAt;e.exports=function(e,t,i){return t+(i?n(e,t).length:1)}},679:(e,t,i)=>{"use strict";var n=i(1625),r=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new r("Incorrect invocation")}},8551:(e,t,i)=>{"use strict";var n=i(34),r=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not an object")}},9617:(e,t,i)=>{"use strict";var n=i(5397),r=i(5610),s=i(6198),o=function(e){return function(t,i,o){var a=n(t),l=s(a);if(0===l)return!e&&-1;var c,d=r(o,l);if(e&&i!=i){for(;l>d;)if((c=a[d++])!=c)return!0}else for(;l>d;d++)if((e||d in a)&&a[d]===i)return e||d||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},7680:(e,t,i)=>{"use strict";var n=i(9504);e.exports=n([].slice)},4488:(e,t,i)=>{"use strict";var n=i(7680),r=Math.floor,s=function(e,t){var i=e.length;if(i<8)for(var o,a,l=1;l0;)e[a]=e[--a];a!==l++&&(e[a]=o)}else for(var c=r(i/2),d=s(n(e,0,c),t),u=s(n(e,c),t),p=d.length,h=u.length,f=0,m=0;f{"use strict";var n=i(9504),r=n({}.toString),s=n("".slice);e.exports=function(e){return s(r(e),8,-1)}},6955:(e,t,i)=>{"use strict";var n=i(2140),r=i(4901),s=i(2195),o=i(8227)("toStringTag"),a=Object,l="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?i:l?s(t):"Object"===(n=s(t))&&r(t.callee)?"Arguments":n}},7740:(e,t,i)=>{"use strict";var n=i(9297),r=i(5031),s=i(7347),o=i(4913);e.exports=function(e,t,i){for(var a=r(t),l=o.f,c=s.f,d=0;d{"use strict";var n=i(9039);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2529:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:(e,t,i)=>{"use strict";var n=i(3724),r=i(4913),s=i(6980);e.exports=n?function(e,t,i){return r.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4659:(e,t,i)=>{"use strict";var n=i(3724),r=i(4913),s=i(6980);e.exports=function(e,t,i){n?r.f(e,t,s(0,i)):e[t]=i}},2106:(e,t,i)=>{"use strict";var n=i(283),r=i(4913);e.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}},6840:(e,t,i)=>{"use strict";var n=i(4901),r=i(4913),s=i(283),o=i(9433);e.exports=function(e,t,i,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(n(i)&&s(i,c,a),a.global)l?e[t]=i:o(t,i);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:r.f(e,t,{value:i,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},6279:(e,t,i)=>{"use strict";var n=i(6840);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},9433:(e,t,i)=>{"use strict";var n=i(4576),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},3724:(e,t,i)=>{"use strict";var n=i(9039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,t,i)=>{"use strict";var n=i(4576),r=i(34),s=n.document,o=r(s)&&r(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},7400:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(e,t,i)=>{"use strict";var n=i(4055)("span").classList,r=n&&n.constructor&&n.constructor.prototype;e.exports=r===Object.prototype?void 0:r},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:(e,t,i)=>{"use strict";var n=i(4576).navigator,r=n&&n.userAgent;e.exports=r?String(r):""},9519:(e,t,i)=>{"use strict";var n,r,s=i(4576),o=i(2839),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,d=c&&c.v8;d&&(r=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},6518:(e,t,i)=>{"use strict";var n=i(4576),r=i(7347).f,s=i(6699),o=i(6840),a=i(9433),l=i(7740),c=i(2796);e.exports=function(e,t){var i,d,u,p,h,f=e.target,m=e.global,g=e.stat;if(i=m?n:g?n[f]||a(f,{}):n[f]&&n[f].prototype)for(d in t){if(p=t[d],u=e.dontCallGetSet?(h=r(i,d))&&h.value:i[d],!c(m?d:f+(g?".":"#")+d,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(e.sham||u&&u.sham)&&s(p,"sham",!0),o(i,d,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,t,i)=>{"use strict";i(7495);var n=i(9565),r=i(6840),s=i(7323),o=i(9039),a=i(8227),l=i(6699),c=a("species"),d=RegExp.prototype;e.exports=function(e,t,i,u){var p=a(e),h=!o((function(){var t={};return t[p]=function(){return 7},7!==""[e](t)})),f=h&&!o((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[c]=function(){return i},i.flags="",i[p]=/./[p]),i.exec=function(){return t=!0,null},i[p](""),!t}));if(!h||!f||i){var m=/./[p],g=t(p,""[e],(function(e,t,i,r,o){var a=t.exec;return a===s||a===d.exec?h&&!o?{done:!0,value:n(m,t,i,r)}:{done:!0,value:n(e,i,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(d,p,g[1])}u&&l(d[p],"sham",!0)}},8745:(e,t,i)=>{"use strict";var n=i(616),r=Function.prototype,s=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(s):function(){return o.apply(s,arguments)})},6080:(e,t,i)=>{"use strict";var n=i(7476),r=i(9306),s=i(616),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},616:(e,t,i)=>{"use strict";var n=i(9039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:(e,t,i)=>{"use strict";var n=i(616),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},350:(e,t,i)=>{"use strict";var n=i(3724),r=i(9297),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},6706:(e,t,i)=>{"use strict";var n=i(9504),r=i(9306);e.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}},7476:(e,t,i)=>{"use strict";var n=i(2195),r=i(9504);e.exports=function(e){if("Function"===n(e))return r(e)}},9504:(e,t,i)=>{"use strict";var n=i(616),r=Function.prototype,s=r.call,o=n&&r.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},7751:(e,t,i)=>{"use strict";var n=i(4576),r=i(4901);e.exports=function(e,t){return arguments.length<2?(i=n[e],r(i)?i:void 0):n[e]&&n[e][t];var i}},851:(e,t,i)=>{"use strict";var n=i(6955),r=i(5966),s=i(4117),o=i(6269),a=i(8227)("iterator");e.exports=function(e){if(!s(e))return r(e,a)||r(e,"@@iterator")||o[n(e)]}},81:(e,t,i)=>{"use strict";var n=i(9565),r=i(9306),s=i(8551),o=i(6823),a=i(851),l=TypeError;e.exports=function(e,t){var i=arguments.length<2?a(e):t;if(r(i))return s(n(i,e));throw new l(o(e)+" is not iterable")}},5966:(e,t,i)=>{"use strict";var n=i(9306),r=i(4117);e.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}},2478:(e,t,i)=>{"use strict";var n=i(9504),r=i(8981),s=Math.floor,o=n("".charAt),a=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,i,n,u,p){var h=i+e.length,f=n.length,m=d;return void 0!==u&&(u=r(u),m=c),a(p,m,(function(r,a){var c;switch(o(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,i);case"'":return l(t,h);case"<":c=u[l(a,1,-1)];break;default:var d=+a;if(0===d)return r;if(d>f){var p=s(d/10);return 0===p?r:p<=f?void 0===n[p-1]?o(a,1):n[p-1]+o(a,1):r}c=n[d-1]}return void 0===c?"":c}))}},4576:function(e,t,i){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,t,i)=>{"use strict";var n=i(9504),r=i(8981),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},421:e=>{"use strict";e.exports={}},397:(e,t,i)=>{"use strict";var n=i(7751);e.exports=n("document","documentElement")},5917:(e,t,i)=>{"use strict";var n=i(3724),r=i(9039),s=i(4055);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},7055:(e,t,i)=>{"use strict";var n=i(9504),r=i(9039),s=i(2195),o=Object,a=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):o(e)}:o},3706:(e,t,i)=>{"use strict";var n=i(9504),r=i(4901),s=i(7629),o=n(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},1181:(e,t,i)=>{"use strict";var n,r,s,o=i(8622),a=i(4576),l=i(34),c=i(6699),d=i(9297),u=i(7629),p=i(6119),h=i(421),f="Object already initialized",m=a.TypeError,g=a.WeakMap;if(o||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m(f);return t.facade=e,v.set(e,t),t},r=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var b=p("state");h[b]=!0,n=function(e,t){if(d(e,b))throw new m(f);return t.facade=e,c(e,b,t),t},r=function(e){return d(e,b)?e[b]:{}},s=function(e){return d(e,b)}}e.exports={set:n,get:r,has:s,enforce:function(e){return s(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=r(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return i}}}},4209:(e,t,i)=>{"use strict";var n=i(8227),r=i(6269),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[s]===e)}},4901:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2796:(e,t,i)=>{"use strict";var n=i(9039),r=i(4901),s=/#|\.prototype\./,o=function(e,t){var i=l[a(e)];return i===d||i!==c&&(r(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",d=o.POLYFILL="P";e.exports=o},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,t,i)=>{"use strict";var n=i(4901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3925:(e,t,i)=>{"use strict";var n=i(34);e.exports=function(e){return n(e)||null===e}},6395:e=>{"use strict";e.exports=!1},757:(e,t,i)=>{"use strict";var n=i(7751),r=i(4901),s=i(1625),o=i(7040),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&s(t.prototype,a(e))}},2652:(e,t,i)=>{"use strict";var n=i(6080),r=i(9565),s=i(8551),o=i(6823),a=i(4209),l=i(6198),c=i(1625),d=i(81),u=i(851),p=i(9539),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,i){var g,v,b,y,_,w,x,S=i&&i.that,T=!(!i||!i.AS_ENTRIES),E=!(!i||!i.IS_RECORD),C=!(!i||!i.IS_ITERATOR),A=!(!i||!i.INTERRUPTED),O=n(t,S),L=function(e){return g&&p(g,"normal",e),new f(!0,e)},P=function(e){return T?(s(e),A?O(e[0],e[1],L):O(e[0],e[1])):A?O(e,L):O(e)};if(E)g=e.iterator;else if(C)g=e;else{if(!(v=u(e)))throw new h(o(e)+" is not iterable");if(a(v)){for(b=0,y=l(e);y>b;b++)if((_=P(e[b]))&&c(m,_))return _;return new f(!1)}g=d(e,v)}for(w=E?e.next:g.next;!(x=r(w,g)).done;){try{_=P(x.value)}catch(e){p(g,"throw",e)}if("object"==typeof _&&_&&c(m,_))return _}return new f(!1)}},9539:(e,t,i)=>{"use strict";var n=i(9565),r=i(8551),s=i(5966);e.exports=function(e,t,i){var o,a;r(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw i;return i}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw i;if(a)throw o;return r(o),i}},3994:(e,t,i)=>{"use strict";var n=i(7657).IteratorPrototype,r=i(2360),s=i(6980),o=i(687),a=i(6269),l=function(){return this};e.exports=function(e,t,i,c){var d=t+" Iterator";return e.prototype=r(n,{next:s(+!c,i)}),o(e,d,!1,!0),a[d]=l,e}},1088:(e,t,i)=>{"use strict";var n=i(6518),r=i(9565),s=i(6395),o=i(350),a=i(4901),l=i(3994),c=i(2787),d=i(2967),u=i(687),p=i(6699),h=i(6840),f=i(8227),m=i(6269),g=i(7657),v=o.PROPER,b=o.CONFIGURABLE,y=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=f("iterator"),x="keys",S="values",T="entries",E=function(){return this};e.exports=function(e,t,i,o,f,g,C){l(i,t,o);var A,O,L,P=function(e){if(e===f&&j)return j;if(!_&&e&&e in I)return I[e];switch(e){case x:case S:case T:return function(){return new i(this,e)}}return function(){return new i(this)}},k=t+" Iterator",M=!1,I=e.prototype,D=I[w]||I["@@iterator"]||f&&I[f],j=!_&&D||P(f),N="Array"===t&&I.entries||D;if(N&&(A=c(N.call(new e)))!==Object.prototype&&A.next&&(s||c(A)===y||(d?d(A,y):a(A[w])||h(A,w,E)),u(A,k,!0,!0),s&&(m[k]=E)),v&&f===S&&D&&D.name!==S&&(!s&&b?p(I,"name",S):(M=!0,j=function(){return r(D,this)})),f)if(O={values:P(S),keys:g?j:P(x),entries:P(T)},C)for(L in O)(_||M||!(L in I))&&h(I,L,O[L]);else n({target:t,proto:!0,forced:_||M},O);return s&&!C||I[w]===j||h(I,w,j,{name:f}),m[t]=j,O}},7657:(e,t,i)=>{"use strict";var n,r,s,o=i(9039),a=i(4901),l=i(34),c=i(2360),d=i(2787),u=i(6840),p=i(8227),h=i(6395),f=p("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(r=d(d(s)))!==Object.prototype&&(n=r):m=!0),!l(n)||o((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=c(n)),a(n[f])||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},6269:e=>{"use strict";e.exports={}},6198:(e,t,i)=>{"use strict";var n=i(8014);e.exports=function(e){return n(e.length)}},283:(e,t,i)=>{"use strict";var n=i(9504),r=i(9039),s=i(4901),o=i(9297),a=i(3724),l=i(350).CONFIGURABLE,c=i(3706),d=i(1181),u=d.enforce,p=d.get,h=String,f=Object.defineProperty,m=n("".slice),g=n("".replace),v=n([].join),b=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),_=e.exports=function(e,t,i){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),b&&i&&o(i,"arity")&&e.length!==i.arity&&f(e,"length",{value:i.arity});try{i&&o(i,"constructor")&&i.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return o(n,"source")||(n.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return s(this)&&p(this).source||c(this)}),"toString")},741:e=>{"use strict";var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?i:t)(n)}},2360:(e,t,i)=>{"use strict";var n,r=i(8551),s=i(6801),o=i(8727),a=i(421),l=i(397),c=i(4055),d=i(6119),u="prototype",p="script",h=d("IE_PROTO"),f=function(){},m=function(e){return"<"+p+">"+e+""},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,i;v="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),i="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var r=o.length;r--;)delete v[u][o[r]];return v()};a[h]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(f[u]=r(e),i=new f,f[u]=null,i[h]=e):i=v(),void 0===t?i:s.f(i,t)}},6801:(e,t,i)=>{"use strict";var n=i(3724),r=i(8686),s=i(4913),o=i(8551),a=i(5397),l=i(1072);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var i,n=a(t),r=l(t),c=r.length,d=0;c>d;)s.f(e,i=r[d++],n[i]);return e}},4913:(e,t,i)=>{"use strict";var n=i(3724),r=i(5917),s=i(8686),o=i(8551),a=i(6969),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";t.f=n?s?function(e,t,i){if(o(e),t=a(t),o(i),"function"==typeof e&&"prototype"===t&&"value"in i&&h in i&&!i[h]){var n=d(e,t);n&&n[h]&&(e[t]=i.value,i={configurable:p in i?i[p]:n[p],enumerable:u in i?i[u]:n[u],writable:!1})}return c(e,t,i)}:c:function(e,t,i){if(o(e),t=a(t),o(i),r)try{return c(e,t,i)}catch(e){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},7347:(e,t,i)=>{"use strict";var n=i(3724),r=i(9565),s=i(8773),o=i(6980),a=i(5397),l=i(6969),c=i(9297),d=i(5917),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=l(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return o(!r(s.f,e,t),e[t])}},8480:(e,t,i)=>{"use strict";var n=i(1828),r=i(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},3717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2787:(e,t,i)=>{"use strict";var n=i(9297),r=i(4901),s=i(8981),o=i(6119),a=i(2211),l=o("IE_PROTO"),c=Object,d=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=s(e);if(n(t,l))return t[l];var i=t.constructor;return r(i)&&t instanceof i?i.prototype:t instanceof c?d:null}},1625:(e,t,i)=>{"use strict";var n=i(9504);e.exports=n({}.isPrototypeOf)},1828:(e,t,i)=>{"use strict";var n=i(9504),r=i(9297),s=i(5397),o=i(9617).indexOf,a=i(421),l=n([].push);e.exports=function(e,t){var i,n=s(e),c=0,d=[];for(i in n)!r(a,i)&&r(n,i)&&l(d,i);for(;t.length>c;)r(n,i=t[c++])&&(~o(d,i)||l(d,i));return d}},1072:(e,t,i)=>{"use strict";var n=i(1828),r=i(8727);e.exports=Object.keys||function(e){return n(e,r)}},8773:(e,t)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},2967:(e,t,i)=>{"use strict";var n=i(6706),r=i(34),s=i(7750),o=i(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=n(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return s(i),o(n),r(i)?(t?e(i,n):i.__proto__=n,i):i}}():void 0)},4270:(e,t,i)=>{"use strict";var n=i(9565),r=i(4901),s=i(34),o=TypeError;e.exports=function(e,t){var i,a;if("string"===t&&r(i=e.toString)&&!s(a=n(i,e)))return a;if(r(i=e.valueOf)&&!s(a=n(i,e)))return a;if("string"!==t&&r(i=e.toString)&&!s(a=n(i,e)))return a;throw new o("Can't convert object to primitive value")}},5031:(e,t,i)=>{"use strict";var n=i(7751),r=i(9504),s=i(8480),o=i(3717),a=i(8551),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),i=o.f;return i?l(t,i(e)):t}},6682:(e,t,i)=>{"use strict";var n=i(9565),r=i(8551),s=i(4901),o=i(2195),a=i(7323),l=TypeError;e.exports=function(e,t){var i=e.exec;if(s(i)){var c=n(i,e,t);return null!==c&&r(c),c}if("RegExp"===o(e))return n(a,e,t);throw new l("RegExp#exec called on incompatible receiver")}},7323:(e,t,i)=>{"use strict";var n,r,s=i(9565),o=i(9504),a=i(655),l=i(7979),c=i(8429),d=i(5745),u=i(2360),p=i(1181).get,h=i(3635),f=i(8814),m=d("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,b=o("".charAt),y=o("".indexOf),_=o("".replace),w=o("".slice),x=(r=/b*/g,s(g,n=/a/,"a"),s(g,r,"a"),0!==n.lastIndex||0!==r.lastIndex),S=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(x||T||S||h||f)&&(v=function(e){var t,i,n,r,o,c,d,h=this,f=p(h),E=a(e),C=f.raw;if(C)return C.lastIndex=h.lastIndex,t=s(v,C,E),h.lastIndex=C.lastIndex,t;var A=f.groups,O=S&&h.sticky,L=s(l,h),P=h.source,k=0,M=E;if(O&&(L=_(L,"y",""),-1===y(L,"g")&&(L+="g"),M=w(E,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==b(E,h.lastIndex-1))&&(P="(?: "+P+")",M=" "+M,k++),i=new RegExp("^(?:"+P+")",L)),T&&(i=new RegExp("^"+P+"$(?!\\s)",L)),x&&(n=h.lastIndex),r=s(g,O?i:h,M),O?r?(r.input=w(r.input,k),r[0]=w(r[0],k),r.index=h.lastIndex,h.lastIndex+=r[0].length):h.lastIndex=0:x&&r&&(h.lastIndex=h.global?r.index+r[0].length:n),T&&r&&r.length>1&&s(m,r[0],i,(function(){for(o=1;o{"use strict";var n=i(8551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},8429:(e,t,i)=>{"use strict";var n=i(9039),r=i(4576).RegExp,s=n((function(){var e=r("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),o=s||n((function(){return!r("a","y").sticky})),a=s||n((function(){var e=r("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:o,UNSUPPORTED_Y:s}},3635:(e,t,i)=>{"use strict";var n=i(9039),r=i(4576).RegExp;e.exports=n((function(){var e=r(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,t,i)=>{"use strict";var n=i(9039),r=i(4576).RegExp;e.exports=n((function(){var e=r("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,t,i)=>{"use strict";var n=i(4117),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},3389:(e,t,i)=>{"use strict";var n=i(4576),r=i(3724),s=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!r)return n[e];var t=s(n,e);return t&&t.value}},687:(e,t,i)=>{"use strict";var n=i(4913).f,r=i(9297),s=i(8227)("toStringTag");e.exports=function(e,t,i){e&&!i&&(e=e.prototype),e&&!r(e,s)&&n(e,s,{configurable:!0,value:t})}},6119:(e,t,i)=>{"use strict";var n=i(5745),r=i(3392),s=n("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},7629:(e,t,i)=>{"use strict";var n=i(6395),r=i(4576),s=i(9433),o="__core-js_shared__",a=e.exports=r[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,t,i)=>{"use strict";var n=i(7629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},8183:(e,t,i)=>{"use strict";var n=i(9504),r=i(1291),s=i(655),o=i(7750),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),d=function(e){return function(t,i){var n,d,u=s(o(t)),p=r(i),h=u.length;return p<0||p>=h?e?"":void 0:(n=l(u,p))<55296||n>56319||p+1===h||(d=l(u,p+1))<56320||d>57343?e?a(u,p):n:e?c(u,p,p+2):d-56320+(n-55296<<10)+65536}};e.exports={codeAt:d(!1),charAt:d(!0)}},706:(e,t,i)=>{"use strict";var n=i(350).PROPER,r=i(9039),s=i(7452);e.exports=function(e){return r((function(){return!!s[e]()||"​…᠎"!=="​…᠎"[e]()||n&&s[e].name!==e}))}},3802:(e,t,i)=>{"use strict";var n=i(9504),r=i(7750),s=i(655),o=i(7452),a=n("".replace),l=RegExp("^["+o+"]+"),c=RegExp("(^|[^"+o+"])["+o+"]+$"),d=function(e){return function(t){var i=s(r(t));return 1&e&&(i=a(i,l,"")),2&e&&(i=a(i,c,"$1")),i}};e.exports={start:d(1),end:d(2),trim:d(3)}},4495:(e,t,i)=>{"use strict";var n=i(9519),r=i(9039),s=i(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5610:(e,t,i)=>{"use strict";var n=i(1291),r=Math.max,s=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):s(i,t)}},5397:(e,t,i)=>{"use strict";var n=i(7055),r=i(7750);e.exports=function(e){return n(r(e))}},1291:(e,t,i)=>{"use strict";var n=i(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8014:(e,t,i)=>{"use strict";var n=i(1291),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},8981:(e,t,i)=>{"use strict";var n=i(7750),r=Object;e.exports=function(e){return r(n(e))}},2777:(e,t,i)=>{"use strict";var n=i(9565),r=i(34),s=i(757),o=i(5966),a=i(4270),l=i(8227),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!r(e)||s(e))return e;var i,l=o(e,d);if(l){if(void 0===t&&(t="default"),i=n(l,e,t),!r(i)||s(i))return i;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6969:(e,t,i)=>{"use strict";var n=i(2777),r=i(757);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},2140:(e,t,i)=>{"use strict";var n={};n[i(8227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655:(e,t,i)=>{"use strict";var n=i(6955),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},6823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:(e,t,i)=>{"use strict";var n=i(9504),r=0,s=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+s,36)}},7416:(e,t,i)=>{"use strict";var n=i(9039),r=i(8227),s=i(3724),o=i(6395),a=r("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,i=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,i){t.delete("b"),n+=i+e})),i.delete("a",2),i.delete("b",void 0),o&&(!e.toJSON||!i.has("a",1)||i.has("a",2)||!i.has("a",void 0)||i.has("b"))||!t.size&&(o||!s)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},7040:(e,t,i)=>{"use strict";var n=i(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,t,i)=>{"use strict";var n=i(3724),r=i(9039);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var t=TypeError;e.exports=function(e,i){if(e{"use strict";var n=i(4576),r=i(4901),s=n.WeakMap;e.exports=r(s)&&/native code/.test(String(s))},8227:(e,t,i)=>{"use strict";var n=i(4576),r=i(5745),s=i(9297),o=i(3392),a=i(4495),l=i(7040),c=n.Symbol,d=r("wks"),u=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return s(d,e)||(d[e]=a&&s(c,e)?c[e]:u("Symbol."+e)),d[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},3792:(e,t,i)=>{"use strict";var n=i(5397),r=i(6469),s=i(6269),o=i(1181),a=i(4913).f,l=i(1088),c=i(2529),d=i(6395),u=i(3724),p="Array Iterator",h=o.set,f=o.getterFor(p);e.exports=l(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(i,!1);case"values":return c(t[i],!1)}return c([i,t[i]],!1)}),"values");var m=s.Arguments=s.Array;if(r("keys"),r("values"),r("entries"),!d&&u&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(e){}},3921:(e,t,i)=>{"use strict";var n=i(6518),r=i(2652),s=i(4659);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,i){s(t,e,i)}),{AS_ENTRIES:!0}),t}})},7495:(e,t,i)=>{"use strict";var n=i(6518),r=i(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},7337:(e,t,i)=>{"use strict";var n=i(6518),r=i(9504),s=i(5610),o=RangeError,a=String.fromCharCode,l=String.fromCodePoint,c=r([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,i=[],n=arguments.length,r=0;n>r;){if(t=+arguments[r++],s(t,1114111)!==t)throw new o(t+" is not a valid code point");i[r]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320)}return c(i,"")}})},5440:(e,t,i)=>{"use strict";var n=i(8745),r=i(9565),s=i(9504),o=i(9228),a=i(9039),l=i(8551),c=i(4901),d=i(4117),u=i(1291),p=i(8014),h=i(655),f=i(7750),m=i(7829),g=i(5966),v=i(2478),b=i(6682),y=i(8227)("replace"),_=Math.max,w=Math.min,x=s([].concat),S=s([].push),T=s("".indexOf),E=s("".slice),C="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");o("replace",(function(e,t,i){var s=A?"$":"$0";return[function(e,i){var n=f(this),s=d(e)?void 0:g(e,y);return s?r(s,e,n,i):r(t,h(n),e,i)},function(e,r){var o=l(this),a=h(e);if("string"==typeof r&&-1===T(r,s)&&-1===T(r,"$<")){var d=i(t,o,a,r);if(d.done)return d.value}var f=c(r);f||(r=h(r));var g,y=o.global;y&&(g=o.unicode,o.lastIndex=0);for(var C,A=[];null!==(C=b(o,a))&&(S(A,C),y);){""===h(C[0])&&(o.lastIndex=m(a,p(o.lastIndex),g))}for(var O,L="",P=0,k=0;k=P&&(L+=E(a,P,D)+M,P=D+I.length)}return L+E(a,P)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!C||A)},2762:(e,t,i)=>{"use strict";var n=i(6518),r=i(3802).trim;n({target:"String",proto:!0,forced:i(706)("trim")},{trim:function(){return r(this)}})},2953:(e,t,i)=>{"use strict";var n=i(4576),r=i(7400),s=i(9296),o=i(3792),a=i(6699),l=i(687),c=i(8227)("iterator"),d=o.values,u=function(e,t){if(e){if(e[c]!==d)try{a(e,c,d)}catch(t){e[c]=d}if(l(e,t,!0),r[t])for(var i in o)if(e[i]!==o[i])try{a(e,i,o[i])}catch(t){e[i]=o[i]}}};for(var p in r)u(n[p]&&n[p].prototype,p);u(s,"DOMTokenList")},8406:(e,t,i)=>{"use strict";i(3792),i(7337);var n=i(6518),r=i(4576),s=i(3389),o=i(7751),a=i(9565),l=i(9504),c=i(3724),d=i(7416),u=i(6840),p=i(2106),h=i(6279),f=i(687),m=i(3994),g=i(1181),v=i(679),b=i(4901),y=i(9297),_=i(6080),w=i(6955),x=i(8551),S=i(34),T=i(655),E=i(2360),C=i(6980),A=i(81),O=i(851),L=i(2529),P=i(2812),k=i(8227),M=i(4488),I=k("iterator"),D="URLSearchParams",j=D+"Iterator",N=g.set,$=g.getterFor(D),z=g.getterFor(j),R=s("fetch"),F=s("Request"),G=s("Headers"),B=F&&F.prototype,V=G&&G.prototype,H=r.TypeError,q=r.encodeURIComponent,W=String.fromCharCode,U=o("String","fromCodePoint"),Y=parseInt,X=l("".charAt),K=l([].join),Q=l([].push),J=l("".replace),Z=l([].shift),ee=l([].splice),te=l("".split),ie=l("".slice),ne=l(/./.exec),re=/\+/g,se=/^[0-9a-f]+$/i,oe=function(e,t){var i=ie(e,t,t+2);return ne(se,i)?Y(i,16):NaN},ae=function(e){for(var t=0,i=128;i>0&&e&i;i>>=1)t++;return t},le=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ce=function(e){for(var t=(e=J(e,re," ")).length,i="",n=0;nt){i+="%",n++;continue}var s=oe(e,n+1);if(s!=s){i+=r,n++;continue}n+=2;var o=ae(s);if(0===o)r=W(s);else{if(1===o||o>4){i+="�",n++;continue}for(var a=[s],l=1;lt||"%"!==X(e,n));){var c=oe(e,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;Q(a,c),n+=2,l++}if(a.length!==o){i+="�";continue}var d=le(a);null===d?i+="�":r=U(d)}}i+=r,n++}return i},de=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pe=function(e){return ue[e]},he=function(e){return J(q(e),de,pe)},fe=m((function(e,t){N(this,{type:j,target:$(e).entries,index:0,kind:t})}),D,(function(){var e=z(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,L(void 0,!0);var n=t[i];switch(e.kind){case"keys":return L(n.key,!1);case"values":return L(n.value,!1)}return L([n.key,n.value],!1)}),!0),me=function(e){this.entries=[],this.url=null,void 0!==e&&(S(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===X(e,0)?ie(e,1):e:T(e)))};me.prototype={type:D,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,i,n,r,s,o,l,c=this.entries,d=O(e);if(d)for(i=(t=A(e,d)).next;!(n=a(i,t)).done;){if(s=(r=A(x(n.value))).next,(o=a(s,r)).done||(l=a(s,r)).done||!a(s,r).done)throw new H("Expected sequence with length 2");Q(c,{key:T(o.value),value:T(l.value)})}else for(var u in e)y(e,u)&&Q(c,{key:u,value:T(e[u])})},parseQuery:function(e){if(e)for(var t,i,n=this.entries,r=te(e,"&"),s=0;s0?arguments[0]:void 0));c||(this.size=e.entries.length)},ve=ge.prototype;if(h(ve,{append:function(e,t){var i=$(this);P(arguments.length,2),Q(i.entries,{key:T(e),value:T(t)}),c||this.length++,i.updateURL()},delete:function(e){for(var t=$(this),i=P(arguments.length,1),n=t.entries,r=T(e),s=i<2?void 0:arguments[1],o=void 0===s?s:T(s),a=0;at.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,i=$(this).entries,n=_(e,arguments.length>1?arguments[1]:void 0),r=0;r1?_e(arguments[1]):{})}}),b(F)){var we=function(e){return v(this,B),new F(e,arguments.length>1?_e(arguments[1]):{})};B.constructor=we,we.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:we})}}e.exports={URLSearchParams:ge,getState:$}},8408:(e,t,i)=>{"use strict";i(8406)}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,i),s.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};i.r(e),i.d(e,{afterMain:()=>w,afterRead:()=>b,afterWrite:()=>T,applyStyles:()=>k,arrow:()=>Q,auto:()=>o,basePlacements:()=>a,beforeMain:()=>y,beforeRead:()=>g,beforeWrite:()=>x,bottom:()=>n,clippingParents:()=>d,computeStyles:()=>te,createPopper:()=>ke,createPopperBase:()=>Pe,createPopperLite:()=>Me,detectOverflow:()=>ve,end:()=>c,eventListeners:()=>ne,flip:()=>be,hide:()=>we,left:()=>s,main:()=>_,modifierPhases:()=>E,offset:()=>xe,placements:()=>m,popper:()=>p,popperGenerator:()=>Le,popperOffsets:()=>Se,preventOverflow:()=>Te,read:()=>v,reference:()=>h,right:()=>r,start:()=>l,top:()=>t,variationPlacements:()=>f,viewport:()=>u,write:()=>S});var t="top",n="bottom",r="right",s="left",o="auto",a=[t,n,r,s],l="start",c="end",d="clippingParents",u="viewport",p="popper",h="reference",f=a.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]),m=[].concat(a,[o]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]),g="beforeRead",v="read",b="afterRead",y="beforeMain",_="main",w="afterMain",x="beforeWrite",S="write",T="afterWrite",E=[g,v,b,y,_,w,x,S,T];function C(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof A(e).Element||e instanceof Element}function L(e){return e instanceof A(e).HTMLElement||e instanceof HTMLElement}function P(e){return"undefined"!=typeof ShadowRoot&&(e instanceof A(e).ShadowRoot||e instanceof ShadowRoot)}const k={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];L(r)&&C(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});L(n)&&C(n)&&(Object.assign(n.style,s),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function M(e){return e.split("-")[0]}var I=Math.max,D=Math.min,j=Math.round;function N(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function $(){return!/^((?!chrome|android).)*safari/i.test(N())}function z(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,s=1;t&&L(e)&&(r=e.offsetWidth>0&&j(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&j(n.height)/e.offsetHeight||1);var o=(O(e)?A(e):window).visualViewport,a=!$()&&i,l=(n.left+(a&&o?o.offsetLeft:0))/r,c=(n.top+(a&&o?o.offsetTop:0))/s,d=n.width/r,u=n.height/s;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function R(e){var t=z(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function F(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&P(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function G(e){return A(e).getComputedStyle(e)}function B(e){return["table","td","th"].indexOf(C(e))>=0}function V(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(P(e)?e.host:null)||V(e)}function q(e){return L(e)&&"fixed"!==G(e).position?e.offsetParent:null}function W(e){for(var t=A(e),i=q(e);i&&B(i)&&"static"===G(i).position;)i=q(i);return i&&("html"===C(i)||"body"===C(i)&&"static"===G(i).position)?t:i||function(e){var t=/firefox/i.test(N());if(/Trident/i.test(N())&&L(e)&&"fixed"===G(e).position)return null;var i=H(e);for(P(i)&&(i=i.host);L(i)&&["html","body"].indexOf(C(i))<0;){var n=G(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e,t,i){return I(e,D(t,i))}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function K(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var i,o=e.state,l=e.name,c=e.options,d=o.elements.arrow,u=o.modifiersData.popperOffsets,p=M(o.placement),h=U(p),f=[s,r].indexOf(p)>=0?"height":"width";if(d&&u){var m=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:K(e,a))}(c.padding,o),g=R(d),v="y"===h?t:s,b="y"===h?n:r,y=o.rects.reference[f]+o.rects.reference[h]-u[h]-o.rects.popper[f],_=u[h]-o.rects.reference[h],w=W(d),x=w?"y"===h?w.clientHeight||0:w.clientWidth||0:0,S=y/2-_/2,T=m[v],E=x-g[f]-m[b],C=x/2-g[f]/2+S,A=Y(T,C,E),O=h;o.modifiersData[l]=((i={})[O]=A,i.centerOffset=A-C,i)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&F(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function J(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var i,o=e.popper,a=e.popperRect,l=e.placement,d=e.variation,u=e.offsets,p=e.position,h=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,g=e.isFixed,v=u.x,b=void 0===v?0:v,y=u.y,_=void 0===y?0:y,w="function"==typeof m?m({x:b,y:_}):{x:b,y:_};b=w.x,_=w.y;var x=u.hasOwnProperty("x"),S=u.hasOwnProperty("y"),T=s,E=t,C=window;if(f){var O=W(o),L="clientHeight",P="clientWidth";if(O===A(o)&&"static"!==G(O=V(o)).position&&"absolute"===p&&(L="scrollHeight",P="scrollWidth"),l===t||(l===s||l===r)&&d===c)E=n,_-=(g&&O===C&&C.visualViewport?C.visualViewport.height:O[L])-a.height,_*=h?1:-1;if(l===s||(l===t||l===n)&&d===c)T=r,b-=(g&&O===C&&C.visualViewport?C.visualViewport.width:O[P])-a.width,b*=h?1:-1}var k,M=Object.assign({position:p},f&&Z),I=!0===m?function(e,t){var i=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:j(i*r)/r||0,y:j(n*r)/r||0}}({x:b,y:_},A(o)):{x:b,y:_};return b=I.x,_=I.y,h?Object.assign({},M,((k={})[E]=S?"0":"",k[T]=x?"0":"",k.transform=(C.devicePixelRatio||1)<=1?"translate("+b+"px, "+_+"px)":"translate3d("+b+"px, "+_+"px, 0)",k)):Object.assign({},M,((i={})[E]=S?_+"px":"",i[T]=x?b+"px":"",i.transform="",i))}const te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,r=void 0===n||n,s=i.adaptive,o=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:M(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ie={passive:!0};const ne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,r=n.scroll,s=void 0===r||r,o=n.resize,a=void 0===o||o,l=A(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach((function(e){e.addEventListener("scroll",i.update,ie)})),a&&l.addEventListener("resize",i.update,ie),function(){s&&c.forEach((function(e){e.removeEventListener("scroll",i.update,ie)})),a&&l.removeEventListener("resize",i.update,ie)}},data:{}};var re={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var oe={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return oe[e]}))}function le(e){var t=A(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return z(V(e)).left+le(e).scrollLeft}function de(e){var t=G(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function ue(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:L(e)&&de(e)?e:ue(H(e))}function pe(e,t){var i;void 0===t&&(t=[]);var n=ue(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),s=A(n),o=r?[s].concat(s.visualViewport||[],de(n)?n:[]):n,a=t.concat(o);return r?a:a.concat(pe(H(o)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,i){return t===u?he(function(e,t){var i=A(e),n=V(e),r=i.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=$();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+ce(e),y:l}}(e,i)):O(t)?function(e,t){var i=z(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):he(function(e){var t,i=V(e),n=le(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=I(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=I(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+ce(e),l=-n.scrollTop;return"rtl"===G(r||i).direction&&(a+=I(i.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(V(e)))}function me(e,t,i,n){var r="clippingParents"===t?function(e){var t=pe(H(e)),i=["absolute","fixed"].indexOf(G(e).position)>=0&&L(e)?W(e):e;return O(i)?t.filter((function(e){return O(e)&&F(e,i)&&"body"!==C(e)})):[]}(e):[].concat(t),s=[].concat(r,[i]),o=s[0],a=s.reduce((function(t,i){var r=fe(e,i,n);return t.top=I(r.top,t.top),t.right=D(r.right,t.right),t.bottom=D(r.bottom,t.bottom),t.left=I(r.left,t.left),t}),fe(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ge(e){var i,o=e.reference,a=e.element,d=e.placement,u=d?M(d):null,p=d?J(d):null,h=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2;switch(u){case t:i={x:h,y:o.y-a.height};break;case n:i={x:h,y:o.y+o.height};break;case r:i={x:o.x+o.width,y:f};break;case s:i={x:o.x-a.width,y:f};break;default:i={x:o.x,y:o.y}}var m=u?U(u):null;if(null!=m){var g="y"===m?"height":"width";switch(p){case l:i[m]=i[m]-(o[g]/2-a[g]/2);break;case c:i[m]=i[m]+(o[g]/2-a[g]/2)}}return i}function ve(e,i){void 0===i&&(i={});var s=i,o=s.placement,l=void 0===o?e.placement:o,c=s.strategy,f=void 0===c?e.strategy:c,m=s.boundary,g=void 0===m?d:m,v=s.rootBoundary,b=void 0===v?u:v,y=s.elementContext,_=void 0===y?p:y,w=s.altBoundary,x=void 0!==w&&w,S=s.padding,T=void 0===S?0:S,E=X("number"!=typeof T?T:K(T,a)),C=_===p?h:p,A=e.rects.popper,L=e.elements[x?C:_],P=me(O(L)?L:L.contextElement||V(e.elements.popper),g,b,f),k=z(e.elements.reference),M=ge({reference:k,element:A,strategy:"absolute",placement:l}),I=he(Object.assign({},A,M)),D=_===p?I:k,j={top:P.top-D.top+E.top,bottom:D.bottom-P.bottom+E.bottom,left:P.left-D.left+E.left,right:D.right-P.right+E.right},N=e.modifiersData.offset;if(_===p&&N){var $=N[l];Object.keys(j).forEach((function(e){var i=[r,n].indexOf(e)>=0?1:-1,s=[t,n].indexOf(e)>=0?"y":"x";j[e]+=$[s]*i}))}return j}const be={name:"flip",enabled:!0,phase:"main",fn:function(e){var i=e.state,c=e.options,d=e.name;if(!i.modifiersData[d]._skip){for(var u=c.mainAxis,p=void 0===u||u,h=c.altAxis,g=void 0===h||h,v=c.fallbackPlacements,b=c.padding,y=c.boundary,_=c.rootBoundary,w=c.altBoundary,x=c.flipVariations,S=void 0===x||x,T=c.allowedAutoPlacements,E=i.options.placement,C=M(E),A=v||(C===E||!S?[se(E)]:function(e){if(M(e)===o)return[];var t=se(e);return[ae(e),t,ae(t)]}(E)),O=[E].concat(A).reduce((function(e,t){return e.concat(M(t)===o?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,r=i.boundary,s=i.rootBoundary,o=i.padding,l=i.flipVariations,c=i.allowedAutoPlacements,d=void 0===c?m:c,u=J(n),p=u?l?f:f.filter((function(e){return J(e)===u})):a,h=p.filter((function(e){return d.indexOf(e)>=0}));0===h.length&&(h=p);var g=h.reduce((function(t,i){return t[i]=ve(e,{placement:i,boundary:r,rootBoundary:s,padding:o})[M(i)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}(i,{placement:t,boundary:y,rootBoundary:_,padding:b,flipVariations:S,allowedAutoPlacements:T}):t)}),[]),L=i.rects.reference,P=i.rects.popper,k=new Map,I=!0,D=O[0],j=0;j=0,F=R?"width":"height",G=ve(i,{placement:N,boundary:y,rootBoundary:_,altBoundary:w,padding:b}),B=R?z?r:s:z?n:t;L[F]>P[F]&&(B=se(B));var V=se(B),H=[];if(p&&H.push(G[$]<=0),g&&H.push(G[B]<=0,G[V]<=0),H.every((function(e){return e}))){D=N,I=!1;break}k.set(N,H)}if(I)for(var q=function(e){var t=O.find((function(t){var i=k.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},W=S?3:1;W>0;W--){if("break"===q(W))break}i.placement!==D&&(i.modifiersData[d]._skip=!0,i.placement=D,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function _e(e){return[t,r,n,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=ye(o,n),c=ye(a,r,s),d=_e(l),u=_e(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};const xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var i=e.state,n=e.options,o=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(e,n){return e[n]=function(e,i,n){var o=M(e),a=[s,t].indexOf(o)>=0?-1:1,l="function"==typeof n?n(Object.assign({},i,{placement:e})):n,c=l[0],d=l[1];return c=c||0,d=(d||0)*a,[s,r].indexOf(o)>=0?{x:d,y:c}:{x:c,y:d}}(n,i.rects,l),e}),{}),d=c[i.placement],u=d.x,p=d.y;null!=i.modifiersData.popperOffsets&&(i.modifiersData.popperOffsets.x+=u,i.modifiersData.popperOffsets.y+=p),i.modifiersData[o]=c}};const Se={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Te={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var i=e.state,o=e.options,a=e.name,c=o.mainAxis,d=void 0===c||c,u=o.altAxis,p=void 0!==u&&u,h=o.boundary,f=o.rootBoundary,m=o.altBoundary,g=o.padding,v=o.tether,b=void 0===v||v,y=o.tetherOffset,_=void 0===y?0:y,w=ve(i,{boundary:h,rootBoundary:f,padding:g,altBoundary:m}),x=M(i.placement),S=J(i.placement),T=!S,E=U(x),C="x"===E?"y":"x",A=i.modifiersData.popperOffsets,O=i.rects.reference,L=i.rects.popper,P="function"==typeof _?_(Object.assign({},i.rects,{placement:i.placement})):_,k="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),j=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,N={x:0,y:0};if(A){if(d){var $,z="y"===E?t:s,F="y"===E?n:r,G="y"===E?"height":"width",B=A[E],V=B+w[z],H=B-w[F],q=b?-L[G]/2:0,X=S===l?O[G]:L[G],K=S===l?-L[G]:-O[G],Q=i.elements.arrow,Z=b&&Q?R(Q):{width:0,height:0},ee=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[z],ie=ee[F],ne=Y(0,O[G],Z[G]),re=T?O[G]/2-q-ne-te-k.mainAxis:X-ne-te-k.mainAxis,se=T?-O[G]/2+q+ne+ie+k.mainAxis:K+ne+ie+k.mainAxis,oe=i.elements.arrow&&W(i.elements.arrow),ae=oe?"y"===E?oe.clientTop||0:oe.clientLeft||0:0,le=null!=($=null==j?void 0:j[E])?$:0,ce=B+se-le,de=Y(b?D(V,B+re-le-ae):V,B,b?I(H,ce):H);A[E]=de,N[E]=de-B}if(p){var ue,pe="x"===E?t:s,he="x"===E?n:r,fe=A[C],me="y"===C?"height":"width",ge=fe+w[pe],be=fe-w[he],ye=-1!==[t,s].indexOf(x),_e=null!=(ue=null==j?void 0:j[C])?ue:0,we=ye?ge:fe-O[me]-L[me]-_e+k.altAxis,xe=ye?fe+O[me]+L[me]-_e-k.altAxis:be,Se=b&&ye?function(e,t,i){var n=Y(e,t,i);return n>i?i:n}(we,fe,xe):Y(b?we:ge,fe,b?xe:be);A[C]=Se,N[C]=Se-fe}i.modifiersData[a]=N}},requiresIfExists:["offset"]};function Ee(e,t,i){void 0===i&&(i=!1);var n,r,s=L(t),o=L(t)&&function(e){var t=e.getBoundingClientRect(),i=j(t.width)/e.offsetWidth||1,n=j(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=V(t),l=z(e,o,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!i)&&(("body"!==C(t)||de(a))&&(c=(n=t)!==A(n)&&L(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:le(n)),L(t)?((d=z(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=ce(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Ce(e){var t=new Map,i=new Set,n=[];function r(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||r(e)})),n}var Ae={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){for(var e=arguments.length,t=new Array(e),i=0;iIe.has(e)&&Ie.get(e).get(t)||null,remove(e,t){if(!Ie.has(e))return;const i=Ie.get(e);i.delete(t),0===i.size&&Ie.delete(e)}},je="transitionend",Ne=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),$e=e=>{e.dispatchEvent(new Event(je))},ze=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Re=e=>ze(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Ne(e)):null,Fe=e=>{if(!ze(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(!i)return t;if(i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},Ge=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),Be=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Be(e.parentNode):null},Ve=()=>{},He=e=>{e.offsetHeight},qe=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,We=[],Ue=()=>"rtl"===document.documentElement.dir,Ye=e=>{var t;t=()=>{const t=qe();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(We.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of We)e()})),We.push(t)):t()},Xe=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,Ke=(e,t,i=!0)=>{if(!i)return void Xe(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),r=Number.parseFloat(i);return n||r?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let r=!1;const s=({target:i})=>{i===t&&(r=!0,t.removeEventListener(je,s),Xe(e))};t.addEventListener(je,s),setTimeout((()=>{r||$e(t)}),n)},Qe=(e,t,i,n)=>{const r=e.length;let s=e.indexOf(t);return-1===s?!i&&n?e[r-1]:e[0]:(s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},Je=/[^.]*(?=\..*)\.|.*/,Ze=/\..*/,et=/::\d+$/,tt={};let it=1;const nt={mouseenter:"mouseover",mouseleave:"mouseout"},rt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function st(e,t){return t&&`${t}::${it++}`||e.uidEvent||it++}function ot(e){const t=st(e);return e.uidEvent=t,tt[t]=tt[t]||{},tt[t]}function at(e,t,i=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===i))}function lt(e,t,i){const n="string"==typeof t,r=n?i:t||i;let s=pt(e);return rt.has(s)||(s=e),[n,r,s]}function ct(e,t,i,n,r){if("string"!=typeof t||!e)return;let[s,o,a]=lt(t,i,n);if(t in nt){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=ot(e),c=l[a]||(l[a]={}),d=at(c,o,s?i:null);if(d)return void(d.oneOff=d.oneOff&&r);const u=st(o,t.replace(Je,"")),p=s?function(e,t,i){return function n(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return ft(r,{delegateTarget:o}),n.oneOff&&ht.off(e,r.type,t,i),i.apply(o,[r])}}(e,i,o):function(e,t){return function i(n){return ft(n,{delegateTarget:e}),i.oneOff&&ht.off(e,n.type,t),t.apply(e,[n])}}(e,o);p.delegationSelector=s?i:null,p.callable=o,p.oneOff=r,p.uidEvent=u,c[u]=p,e.addEventListener(a,p,s)}function dt(e,t,i,n,r){const s=at(t[i],n,r);s&&(e.removeEventListener(i,s,Boolean(r)),delete t[i][s.uidEvent])}function ut(e,t,i,n){const r=t[i]||{};for(const[s,o]of Object.entries(r))s.includes(n)&&dt(e,t,i,o.callable,o.delegationSelector)}function pt(e){return e=e.replace(Ze,""),nt[e]||e}const ht={on(e,t,i,n){ct(e,t,i,n,!1)},one(e,t,i,n){ct(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[r,s,o]=lt(t,i,n),a=o!==t,l=ot(e),c=l[o]||{},d=t.startsWith(".");if(void 0===s){if(d)for(const i of Object.keys(l))ut(e,l,i,t.slice(1));for(const[i,n]of Object.entries(c)){const r=i.replace(et,"");a&&!t.includes(r)||dt(e,l,o,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;dt(e,l,o,s,r?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=qe();let r=null,s=!0,o=!0,a=!1;t!==pt(t)&&n&&(r=n.Event(t,i),n(e).trigger(r),s=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const l=ft(new Event(t,{bubbles:s,cancelable:!0}),i);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function ft(e,t={}){for(const[i,n]of Object.entries(t))try{e[i]=n}catch(t){Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}function mt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function gt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const vt={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${gt(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${gt(t)}`)},getDataAttributes(e){if(!e)return{};const t={},i=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=mt(e.dataset[n])}return t},getDataAttribute:(e,t)=>mt(e.getAttribute(`data-bs-${gt(t)}`))};class bt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=ze(t)?vt.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...ze(t)?vt.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const t=e[n],s=ze(t)?"element":null==(i=t)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${r}".`)}var i}}class yt extends bt{constructor(e,t){super(),(e=Re(e))&&(this._element=e,this._config=this._getConfig(t),De.set(this._element,this.constructor.DATA_KEY,this))}dispose(){De.remove(this._element,this.constructor.DATA_KEY),ht.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){Ke(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return De.get(Re(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const _t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t?t.split(",").map((e=>Ne(e))).join(","):null},wt={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!Ge(e)&&Fe(e)))},getSelectorFromElement(e){const t=_t(e);return t&&wt.findOne(t)?t:null},getElementFromSelector(e){const t=_t(e);return t?wt.findOne(t):null},getMultipleElementsFromSelector(e){const t=_t(e);return t?wt.find(t):[]}},xt=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;ht.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Ge(this))return;const r=wt.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(r)[t]()}))},St=".bs.alert",Tt=`close${St}`,Et=`closed${St}`;class Ct extends yt{static get NAME(){return"alert"}close(){if(ht.trigger(this._element,Tt).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ht.trigger(this._element,Et),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Ct.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}xt(Ct,"close"),Ye(Ct);const At='[data-bs-toggle="button"]';class Ot extends yt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Ot.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}ht.on(document,"click.bs.button.data-api",At,(e=>{e.preventDefault();const t=e.target.closest(At);Ot.getOrCreateInstance(t).toggle()})),Ye(Ot);const Lt=".bs.swipe",Pt=`touchstart${Lt}`,kt=`touchmove${Lt}`,Mt=`touchend${Lt}`,It=`pointerdown${Lt}`,Dt=`pointerup${Lt}`,jt={endCallback:null,leftCallback:null,rightCallback:null},Nt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class $t extends bt{constructor(e,t){super(),this._element=e,e&&$t.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return jt}static get DefaultType(){return Nt}static get NAME(){return"swipe"}dispose(){ht.off(this._element,Lt)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Xe(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Xe(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ht.on(this._element,It,(e=>this._start(e))),ht.on(this._element,Dt,(e=>this._end(e))),this._element.classList.add("pointer-event")):(ht.on(this._element,Pt,(e=>this._start(e))),ht.on(this._element,kt,(e=>this._move(e))),ht.on(this._element,Mt,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const zt=".bs.carousel",Rt=".data-api",Ft="ArrowLeft",Gt="ArrowRight",Bt="next",Vt="prev",Ht="left",qt="right",Wt=`slide${zt}`,Ut=`slid${zt}`,Yt=`keydown${zt}`,Xt=`mouseenter${zt}`,Kt=`mouseleave${zt}`,Qt=`dragstart${zt}`,Jt=`load${zt}${Rt}`,Zt=`click${zt}${Rt}`,ei="carousel",ti="active",ii=".active",ni=".carousel-item",ri=ii+ni,si={[Ft]:qt,[Gt]:Ht},oi={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ai={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class li extends yt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=wt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ei&&this.cycle()}static get Default(){return oi}static get DefaultType(){return ai}static get NAME(){return"carousel"}next(){this._slide(Bt)}nextWhenVisible(){!document.hidden&&Fe(this._element)&&this.next()}prev(){this._slide(Vt)}pause(){this._isSliding&&$e(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?ht.one(this._element,Ut,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void ht.one(this._element,Ut,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?Bt:Vt;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ht.on(this._element,Yt,(e=>this._keydown(e))),"hover"===this._config.pause&&(ht.on(this._element,Xt,(()=>this.pause())),ht.on(this._element,Kt,(()=>this._maybeEnableCycle()))),this._config.touch&&$t.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of wt.find(".carousel-item img",this._element))ht.on(e,Qt,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(Ht)),rightCallback:()=>this._slide(this._directionToOrder(qt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new $t(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=si[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=wt.findOne(ii,this._indicatorsElement);t.classList.remove(ti),t.removeAttribute("aria-current");const i=wt.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(ti),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===Bt,r=t||Qe(this._getItems(),i,n,this._config.wrap);if(r===i)return;const s=this._getItemIndex(r),o=t=>ht.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:s});if(o(Wt).defaultPrevented)return;if(!i||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";r.classList.add(c),He(r),i.classList.add(l),r.classList.add(l);this._queueCallback((()=>{r.classList.remove(l,c),r.classList.add(ti),i.classList.remove(ti,c,l),this._isSliding=!1,o(Ut)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return wt.findOne(ri,this._element)}_getItems(){return wt.find(ni,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ue()?e===Ht?Vt:Bt:e===Ht?Bt:Vt}_orderToDirection(e){return Ue()?e===Vt?Ht:qt:e===Vt?qt:Ht}static jQueryInterface(e){return this.each((function(){const t=li.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}ht.on(document,Zt,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=wt.getElementFromSelector(this);if(!t||!t.classList.contains(ei))return;e.preventDefault();const i=li.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===vt.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),ht.on(window,Jt,(()=>{const e=wt.find('[data-bs-ride="carousel"]');for(const t of e)li.getOrCreateInstance(t)})),Ye(li);const ci=".bs.collapse",di=`show${ci}`,ui=`shown${ci}`,pi=`hide${ci}`,hi=`hidden${ci}`,fi=`click${ci}.data-api`,mi="show",gi="collapse",vi="collapsing",bi=`:scope .${gi} .${gi}`,yi='[data-bs-toggle="collapse"]',_i={parent:null,toggle:!0},wi={parent:"(null|element)",toggle:"boolean"};class xi extends yt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=wt.find(yi);for(const e of i){const t=wt.getSelectorFromElement(e),i=wt.find(t).filter((e=>e===this._element));null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return _i}static get DefaultType(){return wi}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>xi.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(ht.trigger(this._element,di).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(gi),this._element.classList.add(vi),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(gi,mi),this._element.style[t]="",ht.trigger(this._element,ui)}),this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ht.trigger(this._element,pi).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,He(this._element),this._element.classList.add(vi),this._element.classList.remove(gi,mi);for(const e of this._triggerArray){const t=wt.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(gi),ht.trigger(this._element,hi)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(mi)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=Re(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(yi);for(const t of e){const e=wt.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=wt.find(bi,this._config.parent);return wt.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const i=xi.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}ht.on(document,fi,yi,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of wt.getMultipleElementsFromSelector(this))xi.getOrCreateInstance(e,{toggle:!1}).toggle()})),Ye(xi);const Si="dropdown",Ti=".bs.dropdown",Ei=".data-api",Ci="ArrowUp",Ai="ArrowDown",Oi=`hide${Ti}`,Li=`hidden${Ti}`,Pi=`show${Ti}`,ki=`shown${Ti}`,Mi=`click${Ti}${Ei}`,Ii=`keydown${Ti}${Ei}`,Di=`keyup${Ti}${Ei}`,ji="show",Ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$i=`${Ni}.${ji}`,zi=".dropdown-menu",Ri=Ue()?"top-end":"top-start",Fi=Ue()?"top-start":"top-end",Gi=Ue()?"bottom-end":"bottom-start",Bi=Ue()?"bottom-start":"bottom-end",Vi=Ue()?"left-start":"right-start",Hi=Ue()?"right-start":"left-start",qi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Wi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ui extends yt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=wt.next(this._element,zi)[0]||wt.prev(this._element,zi)[0]||wt.findOne(zi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qi}static get DefaultType(){return Wi}static get NAME(){return Si}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ge(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ht.trigger(this._element,Pi,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))ht.on(e,"mouseover",Ve);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ji),this._element.classList.add(ji),ht.trigger(this._element,ki,e)}}hide(){if(Ge(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ht.trigger(this._element,Oi,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.off(e,"mouseover",Ve);this._popper&&this._popper.destroy(),this._menu.classList.remove(ji),this._element.classList.remove(ji),this._element.setAttribute("aria-expanded","false"),vt.removeDataAttribute(this._menu,"popper"),ht.trigger(this._element,Li,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!ze(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Si.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){let e=this._element;"parent"===this._config.reference?e=this._parent:ze(this._config.reference)?e=Re(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ke(e,this._menu,t)}_isShown(){return this._menu.classList.contains(ji)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Vi;if(e.classList.contains("dropstart"))return Hi;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Fi:Ri:t?Bi:Gi}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(vt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Xe(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const i=wt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>Fe(e)));i.length&&Qe(i,t,e===Ai,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Ui.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=wt.find($i);for(const i of t){const t=Ui.getInstance(i);if(!t||!1===t._config.autoClose)continue;const n=e.composedPath(),r=n.includes(t._menu);if(n.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=[Ci,Ai].includes(e.key);if(!n&&!i)return;if(t&&!i)return;e.preventDefault();const r=this.matches(Ni)?this:wt.prev(this,Ni)[0]||wt.next(this,Ni)[0]||wt.findOne(Ni,e.delegateTarget.parentNode),s=Ui.getOrCreateInstance(r);if(n)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}}ht.on(document,Ii,Ni,Ui.dataApiKeydownHandler),ht.on(document,Ii,zi,Ui.dataApiKeydownHandler),ht.on(document,Mi,Ui.clearMenus),ht.on(document,Di,Ui.clearMenus),ht.on(document,Mi,Ni,(function(e){e.preventDefault(),Ui.getOrCreateInstance(this).toggle()})),Ye(Ui);const Yi="backdrop",Xi="show",Ki=`mousedown.bs.${Yi}`,Qi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ji={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Zi extends bt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qi}static get DefaultType(){return Ji}static get NAME(){return Yi}show(e){if(!this._config.isVisible)return void Xe(e);this._append();const t=this._getElement();this._config.isAnimated&&He(t),t.classList.add(Xi),this._emulateAnimation((()=>{Xe(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Xi),this._emulateAnimation((()=>{this.dispose(),Xe(e)}))):Xe(e)}dispose(){this._isAppended&&(ht.off(this._element,Ki),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Re(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ht.on(e,Ki,(()=>{Xe(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){Ke(e,this._getElement(),this._config.isAnimated)}}const en=".bs.focustrap",tn=`focusin${en}`,nn=`keydown.tab${en}`,rn="backward",sn={autofocus:!0,trapElement:null},on={autofocus:"boolean",trapElement:"element"};class an extends bt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return sn}static get DefaultType(){return on}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ht.off(document,en),ht.on(document,tn,(e=>this._handleFocusin(e))),ht.on(document,nn,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ht.off(document,en))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=wt.focusableChildren(t);0===i.length?t.focus():this._lastTabNavDirection===rn?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?rn:"forward")}}const ln=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",cn=".sticky-top",dn="padding-right",un="margin-right";class pn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dn,(t=>t+e)),this._setElementAttributes(ln,dn,(t=>t+e)),this._setElementAttributes(cn,un,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dn),this._resetElementAttributes(ln,dn),this._resetElementAttributes(cn,un)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${i(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&vt.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=vt.getDataAttribute(e,t);null!==i?(vt.removeDataAttribute(e,t),e.style.setProperty(t,i)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(ze(e))t(e);else for(const i of wt.find(e,this._element))t(i)}}const hn=".bs.modal",fn=`hide${hn}`,mn=`hidePrevented${hn}`,gn=`hidden${hn}`,vn=`show${hn}`,bn=`shown${hn}`,yn=`resize${hn}`,_n=`click.dismiss${hn}`,wn=`mousedown.dismiss${hn}`,xn=`keydown.dismiss${hn}`,Sn=`click${hn}.data-api`,Tn="modal-open",En="show",Cn="modal-static",An={backdrop:!0,focus:!0,keyboard:!0},On={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ln extends yt{constructor(e,t){super(e,t),this._dialog=wt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new pn,this._addEventListeners()}static get Default(){return An}static get DefaultType(){return On}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;ht.trigger(this._element,vn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Tn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;ht.trigger(this._element,fn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(En),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){ht.off(window,hn),ht.off(this._dialog,hn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Zi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new an({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=wt.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),He(this._element),this._element.classList.add(En);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ht.trigger(this._element,bn,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){ht.on(this._element,xn,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),ht.on(window,yn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),ht.on(this._element,wn,(e=>{ht.one(this._element,_n,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Tn),this._resetAdjustments(),this._scrollBar.reset(),ht.trigger(this._element,gn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ht.trigger(this._element,mn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Cn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Cn),this._queueCallback((()=>{this._element.classList.remove(Cn),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const e=Ue()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!i&&e){const e=Ue()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=Ln.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}ht.on(document,Sn,'[data-bs-toggle="modal"]',(function(e){const t=wt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ht.one(t,vn,(e=>{e.defaultPrevented||ht.one(t,gn,(()=>{Fe(this)&&this.focus()}))}));const i=wt.findOne(".modal.show");i&&Ln.getInstance(i).hide();Ln.getOrCreateInstance(t).toggle(this)})),xt(Ln),Ye(Ln);const Pn=".bs.offcanvas",kn=".data-api",Mn=`load${Pn}${kn}`,In="show",Dn="showing",jn="hiding",Nn=".offcanvas.show",$n=`show${Pn}`,zn=`shown${Pn}`,Rn=`hide${Pn}`,Fn=`hidePrevented${Pn}`,Gn=`hidden${Pn}`,Bn=`resize${Pn}`,Vn=`click${Pn}${kn}`,Hn=`keydown.dismiss${Pn}`,qn={backdrop:!0,keyboard:!0,scroll:!1},Wn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Un extends yt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qn}static get DefaultType(){return Wn}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(ht.trigger(this._element,$n,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new pn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(In),this._element.classList.remove(Dn),ht.trigger(this._element,zn,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(ht.trigger(this._element,Rn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(jn),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(In,jn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new pn).reset(),ht.trigger(this._element,Gn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Zi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():ht.trigger(this._element,Fn)}:null})}_initializeFocusTrap(){return new an({trapElement:this._element})}_addEventListeners(){ht.on(this._element,Hn,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():ht.trigger(this._element,Fn))}))}static jQueryInterface(e){return this.each((function(){const t=Un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}ht.on(document,Vn,'[data-bs-toggle="offcanvas"]',(function(e){const t=wt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ge(this))return;ht.one(t,Gn,(()=>{Fe(this)&&this.focus()}));const i=wt.findOne(Nn);i&&i!==t&&Un.getInstance(i).hide();Un.getOrCreateInstance(t).toggle(this)})),ht.on(window,Mn,(()=>{for(const e of wt.find(Nn))Un.getOrCreateInstance(e).show()})),ht.on(window,Bn,(()=>{for(const e of wt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Un.getOrCreateInstance(e).hide()})),xt(Un),Ye(Un);const Yn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Kn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Qn=(e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!Xn.has(i)||Boolean(Kn.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(i)))};const Jn={allowList:Yn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Zn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},er={entry:"(string|element|function|null)",selector:"(string|element)"};class tr extends bt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,i]of Object.entries(this._config.content))this._setContent(e,i,t);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},er)}_setContent(e,t,i){const n=wt.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?ze(t)?this._putElementInTemplate(Re(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...n.body.querySelectorAll("*"));for(const e of r){const i=e.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){e.remove();continue}const n=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[i]||[]);for(const t of n)Qn(t,r)||e.removeAttribute(t.nodeName)}return n.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Xe(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const ir=new Set(["sanitize","allowList","sanitizeFn"]),nr="fade",rr="show",sr=".tooltip-inner",or=".modal",ar="hide.bs.modal",lr="hover",cr="focus",dr={AUTO:"auto",TOP:"top",RIGHT:Ue()?"left":"right",BOTTOM:"bottom",LEFT:Ue()?"right":"left"},ur={allowList:Yn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},pr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class hr extends yt{constructor(e,t){super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ur}static get DefaultType(){return pr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),ht.off(this._element.closest(or),ar,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=ht.trigger(this._element,this.constructor.eventName("show")),t=(Be(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),ht.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(rr),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.on(e,"mouseover",Ve);this._queueCallback((()=>{ht.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(ht.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(rr),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.off(e,"mouseover",Ve);this._activeTrigger.click=!1,this._activeTrigger[cr]=!1,this._activeTrigger[lr]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ht.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(nr,rr),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(nr),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new tr({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[sr]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(nr)}_isShown(){return this.tip&&this.tip.classList.contains(rr)}_createPopper(e){const t=Xe(this._config.placement,[this,e,this._element]),i=dr[t.toUpperCase()];return ke(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Xe(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Xe(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)ht.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===lr?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===lr?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");ht.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?cr:lr]=!0,t._enter()})),ht.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?cr:lr]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},ht.on(this._element.closest(or),ar,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vt.getDataAttributes(this._element);for(const e of Object.keys(t))ir.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:Re(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,i]of Object.entries(this._config))this.constructor.Default[t]!==i&&(e[t]=i);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=hr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ye(hr);const fr=".popover-header",mr=".popover-body",gr={...hr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},vr={...hr.DefaultType,content:"(null|string|element|function)"};class br extends hr{static get Default(){return gr}static get DefaultType(){return vr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fr]:this._getTitle(),[mr]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=br.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ye(br);const yr=".bs.scrollspy",_r=`activate${yr}`,wr=`click${yr}`,xr=`load${yr}.data-api`,Sr="active",Tr="[href]",Er=".nav-link",Cr=`${Er}, .nav-item > ${Er}, .list-group-item`,Ar={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Or={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Lr extends yt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ar}static get DefaultType(){return Or}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Re(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ht.off(this._config.target,wr),ht.on(this._config.target,wr,Tr,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(i(s),!n)return}else r||e||i(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=wt.find(Tr,this._config.target);for(const t of e){if(!t.hash||Ge(t))continue;const e=wt.findOne(decodeURI(t.hash),this._element);Fe(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Sr),this._activateParents(e),ht.trigger(this._element,_r,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))wt.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Sr);else for(const t of wt.parents(e,".nav, .list-group"))for(const e of wt.prev(t,Cr))e.classList.add(Sr)}_clearActiveClass(e){e.classList.remove(Sr);const t=wt.find(`${Tr}.${Sr}`,e);for(const e of t)e.classList.remove(Sr)}static jQueryInterface(e){return this.each((function(){const t=Lr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(window,xr,(()=>{for(const e of wt.find('[data-bs-spy="scroll"]'))Lr.getOrCreateInstance(e)})),Ye(Lr);const Pr=".bs.tab",kr=`hide${Pr}`,Mr=`hidden${Pr}`,Ir=`show${Pr}`,Dr=`shown${Pr}`,jr=`click${Pr}`,Nr=`keydown${Pr}`,$r=`load${Pr}`,zr="ArrowLeft",Rr="ArrowRight",Fr="ArrowUp",Gr="ArrowDown",Br="Home",Vr="End",Hr="active",qr="fade",Wr="show",Ur=".dropdown-toggle",Yr=`:not(${Ur})`,Xr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Kr=`${`.nav-link${Yr}, .list-group-item${Yr}, [role="tab"]${Yr}`}, ${Xr}`,Qr=`.${Hr}[data-bs-toggle="tab"], .${Hr}[data-bs-toggle="pill"], .${Hr}[data-bs-toggle="list"]`;class Jr extends yt{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ht.on(this._element,Nr,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?ht.trigger(t,kr,{relatedTarget:e}):null;ht.trigger(e,Ir,{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Hr),this._activate(wt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ht.trigger(e,Dr,{relatedTarget:t})):e.classList.add(Wr)}),e,e.classList.contains(qr))}_deactivate(e,t){if(!e)return;e.classList.remove(Hr),e.blur(),this._deactivate(wt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ht.trigger(e,Mr,{relatedTarget:t})):e.classList.remove(Wr)}),e,e.classList.contains(qr))}_keydown(e){if(![zr,Rr,Fr,Gr,Br,Vr].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!Ge(e)));let i;if([Br,Vr].includes(e.key))i=t[e.key===Br?0:t.length-1];else{const n=[Rr,Gr].includes(e.key);i=Qe(t,e.target,n,!0)}i&&(i.focus({preventScroll:!0}),Jr.getOrCreateInstance(i).show())}_getChildren(){return wt.find(Kr,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=wt.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(e,n)=>{const r=wt.findOne(e,i);r&&r.classList.toggle(n,t)};n(Ur,Hr),n(".dropdown-menu",Wr),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(Hr)}_getInnerElement(e){return e.matches(Kr)?e:wt.findOne(Kr,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Jr.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(document,jr,Xr,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ge(this)||Jr.getOrCreateInstance(this).show()})),ht.on(window,$r,(()=>{for(const e of wt.find(Qr))Jr.getOrCreateInstance(e)})),Ye(Jr);const Zr=".bs.toast",es=`mouseover${Zr}`,ts=`mouseout${Zr}`,is=`focusin${Zr}`,ns=`focusout${Zr}`,rs=`hide${Zr}`,ss=`hidden${Zr}`,os=`show${Zr}`,as=`shown${Zr}`,ls="hide",cs="show",ds="showing",us={animation:"boolean",autohide:"boolean",delay:"number"},ps={animation:!0,autohide:!0,delay:5e3};class hs extends yt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ps}static get DefaultType(){return us}static get NAME(){return"toast"}show(){if(ht.trigger(this._element,os).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ls),He(this._element),this._element.classList.add(cs,ds),this._queueCallback((()=>{this._element.classList.remove(ds),ht.trigger(this._element,as),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(ht.trigger(this._element,rs).defaultPrevented)return;this._element.classList.add(ds),this._queueCallback((()=>{this._element.classList.add(ls),this._element.classList.remove(ds,cs),ht.trigger(this._element,ss)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(cs),super.dispose()}isShown(){return this._element.classList.contains(cs)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){ht.on(this._element,es,(e=>this._onInteraction(e,!0))),ht.on(this._element,ts,(e=>this._onInteraction(e,!1))),ht.on(this._element,is,(e=>this._onInteraction(e,!0))),ht.on(this._element,ns,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=hs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}xt(hs),Ye(hs);i(1432),i(8434),i(5238),i(208),i(719),i(6876);function fs(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function ms(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:fs(t[i])&&fs(e[i])&&Object.keys(t[i]).length>0&&ms(e[i],t[i])}))}const gs={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function vs(){const e="undefined"!=typeof document?document:{};return ms(e,gs),e}const bs={document:gs,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function ys(){const e="undefined"!=typeof window?window:{};return ms(e,bs),e}function _s(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function ws(){return Date.now()}function xs(e,t){void 0===t&&(t="x");const i=ys();let n,r,s;const o=function(e){const t=ys();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function Ss(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Ts(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(e)<0));for(let t=0,n=i.length;ts?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const e=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=s+c*(i-s);if(d(p,i)&&(p=i),t.wrapperEl.scrollTo({[n]:p}),d(p,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:p})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(u)};u()}function As(e,t){void 0===t&&(t="");const i=[...e.children];return e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function Os(e){try{return void console.warn(e)}catch(e){}}function Ls(e,t){void 0===t&&(t=[]);const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),i}function Ps(e,t){return ys().getComputedStyle(e,null).getPropertyValue(t)}function ks(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function Ms(e,t,i){const n=ys();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let Is,Ds,js;function Ns(){return Is||(Is=function(){const e=ys(),t=vs();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),Is}function $s(e){return void 0===e&&(e={}),Ds||(Ds=function(e){let{userAgent:t}=void 0===e?{}:e;const i=Ns(),n=ys(),r=n.navigator.platform,s=t||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let d=s.match(/(iPad).*OS\s([\d_]+)/);const u=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let f="MacIntel"===r;return!d&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(d=s.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),c&&!h&&(o.os="android",o.android=!0),(d||p||u)&&(o.os="ios",o.ios=!0),o}(e)),Ds}function zs(){return js||(js=function(){const e=ys(),t=$s();let i=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));i=e<16||16===e&&n<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=n();return{isSafari:i||s,needPerspectiveFix:i,need3dFix:s||r&&t.ios,isWebView:r}}()),js}var Rs={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const r=i?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function r(){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,s=new Array(i),o=0;o=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,n;for(var r=arguments.length,s=new Array(r),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...i])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,i)}))})),e}};const Fs=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)};const Gs=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)};const Bs=(e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},Vs=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Hs=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=r,s=[i-t];return s.push(...Array.from({length:t}).map(((e,t)=>i+n+t))),void e.slides.forEach(((t,i)=>{s.includes(t.column)&&Vs(e,i)}))}const s=r+n-1;if(e.params.rewind||e.params.loop)for(let n=r-t;n<=s+t;n+=1){const t=(n%i+i)%i;(ts)&&Vs(e,t)}else for(let n=Math.max(r-t,0);n<=Math.min(s+t,i-1);n+=1)n!==r&&(n>s||n=0?y=parseFloat(y.replace("%",""))/100*s:"string"==typeof y&&(y=parseFloat(y)),e.virtualSize=-y,d.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),i.centeredSlides&&i.cssMode&&(Es(n,"--swiper-centered-offset-before",""),Es(n,"--swiper-centered-offset-after",""));const S=i.grid&&i.grid.rows>1&&e.grid;let T;S?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const E="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let n=0;n1&&p.push(e.virtualSize-s)}if(l&&i.loop){const t=f[0]+y;if(i.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/i.slidesPerGroup),r=t*i.slidesPerGroup;for(let e=0;e!(i.cssMode&&!i.loop)||t!==d.length-1)).forEach((e=>{e.style[t]=`${y}px`}))}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(y||0)})),e-=y;const t=e>s?e-s:0;p=p.map((e=>e<=0?-m:e>t?t+g:e))}if(i.centerInsufficientSlides){let e=0;f.forEach((t=>{e+=t+(y||0)})),e-=y;const t=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(e+t{p[t]=e-i})),h.forEach(((e,t)=>{h[t]=e+i}))}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Es(n,"--swiper-centered-offset-before",-p[0]+"px"),Es(n,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+i))}if(u!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);u<=i.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{i.push(e)}));else for(r=0;rt.slides.length&&!n)break;i.push(o(e))}else i.push(o(t.activeIndex));for(r=0;rs?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p1&&h<=t.size||p<=0&&h>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),Fs(l,m,i.slideVisibleClass),Fs(l,f,i.slideFullyVisibleClass),l.progress=r?-d:d,l.originalProgress=r?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,c=o;if(0===n)r=0,s=!0,o=!0;else{r=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=i||r<=0,o=a||r>=1,i&&(r=0),a&&(r=1)}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[i],s=t.slidesGrid[n],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=r?(l-r)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(t,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,slidesEl:n,activeIndex:r}=e,s=e.virtual&&i.virtual.enabled,o=e.grid&&i.grid&&i.grid.rows>1,a=e=>As(n,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let l,c,d;if(s)if(i.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=t.filter((e=>e.column===r))[0],d=t.filter((e=>e.column===r+1))[0],c=t.filter((e=>e.column===r-1))[0]):l=t[r];l&&(o||(d=function(e,t){const i=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=t[0]),c=function(e,t){const i=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{Gs(e,e===l,i.slideActiveClass),Gs(e,e===d,i.slideNextClass),Gs(e,e===c,i.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:r,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,c=e;const d=e=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e=t[e]&&n=t[e]&&n=t[e]&&(r=e);return i.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),n.indexOf(i)>=0)l=n.indexOf(i);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),c===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=d(c);else if(u){const e=t.slides.filter((e=>e.column===c))[0];let i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(t.slides.indexOf(e),0)),p=Math.floor(i/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:p,previousIndex:s,activeIndex:c}),t.initialized&&Hs(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const i=this,n=i.params;let r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&i.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)}));let s,o=!1;if(r)for(let e=0;el?l:n&&eo?"next":s=l.length&&(g=l.length-1);const v=-l[g];if(a.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(o=e)}if(s.initialized&&o!==u){if(!s.allowSlideNext&&(p?v>s.translate&&v>s.minTranslate():vs.translate&&v>s.maxTranslate()&&(u||0)!==o)return!1}let b;o!==(d||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(v),b=o>u?"next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=i}))):h[e?"scrollLeft":"scrollTop"]=i,y&&requestAnimationFrame((()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1}));else{if(!s.support.smoothScroll)return Cs({swiper:s,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,b),0===t?s.transitionEnd(i,b):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,b))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){if(void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){const t=o*r.params.grid.rows;e=r.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=r.getSlideIndexByData(o);const t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:i}=r.params;let a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),i&&a%2==0&&(a+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame((()=>{r.slideTo(o,t,i,n)})),r},slideNext:function(e,t,i){void 0===t&&(t=!0);const n=this,{enabled:r,params:s,animating:o}=n;if(!r||n.destroyed)return n;void 0===e&&(e=n.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex{n.slideTo(n.activeIndex+l,e,t,i)})),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===t&&(t=!0);const n=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);const d=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(a?n.translate:-n.translate),h=s.map((e=>u(e)));let f=s[h.indexOf(p)-1];if(void 0===f&&r.cssMode){let e;s.forEach(((t,i)=>{p>=t&&(e=i)})),void 0!==e&&(f=s[e>0?e-1:e])}let m=0;if(void 0!==f&&(m=o.indexOf(f),m<0&&(m=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame((()=>{n.slideTo(m,e,t,i)})),!0):n.slideTo(m,e,t,i)},slideReset:function(e,t,i){void 0===t&&(t=!0);const n=this;if(!n.destroyed)return void 0===e&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===t&&(t=!0),void 0===n&&(n=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const e=r.snapGrid[a];l-e>(r.snapGrid[a+1]-e)*n&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];l-e<=(r.snapGrid[a]-e)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?se.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=e.getSlideIndex(As(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),_s((()=>{e.slideTo(s)}))):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=e.getSlideIndex(As(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),_s((()=>{e.slideTo(s)}))):e.slideTo(s)}else e.slideTo(s)}};var Xs={loopCreate:function(e){const t=this,{params:i,slidesEl:n}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{As(n,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},s=t.grid&&i.grid&&i.grid.rows>1,o=i.slidesPerGroup*(s?i.grid.rows:1),a=t.slides.length%o!=0,l=s&&t.slides.length%i.grid.rows!=0,c=e=>{for(let n=0;n1;c.lengthe.classList.contains(h.slideActiveClass)))[0]):w=s;const x="next"===n||!n,S="prev"===n||!n;let T=0,E=0;const C=b?Math.ceil(c.length/h.grid.rows):c.length,A=(b?c[s].column:s)+(f&&void 0===r?-m/2+.5:0);if(A=0;t-=1)c[t].column===e&&y.push(t)}else y.push(C-t-1)}}else if(A+m>C-v){E=Math.max(A-(C-2*v),g);for(let e=0;e{e.column===t&&_.push(i)})):_.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),S&&y.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),x&&_.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():b&&(y.length>0&&S||_.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),h.watchSlidesProgress&&l.updateSlidesOffset(),i)if(y.length>0&&S){if(void 0===t){const e=l.slidesGrid[w],t=l.slidesGrid[w+T]-e;a?l.setTranslate(l.translate-t):(l.slideTo(w+Math.ceil(T),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=b?y.length/h.grid.rows:y.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(_.length>0&&x)if(void 0===t){const e=l.slidesGrid[w],t=l.slidesGrid[w-E]-e;a?l.setTranslate(l.translate-t):(l.slideTo(w-E,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=b?_.length/h.grid.rows:_.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!o){const e={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&i})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&i})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{i.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function Ks(e,t,i){const n=ys(),{params:r}=e,s=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return!s||!(i<=o||i>=n.innerWidth-o)||"prevent"===s&&(t.preventDefault(),!0)}function Qs(e){const t=this,i=vs();let n=e;n.originalEvent&&(n=n.originalEvent);const r=t.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void Ks(t,n,n.targetTouches[0].pageX);const{params:s,touches:o,enabled:a}=t;if(!a)return;if(!s.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=n.target;if("wrapper"===s.touchEventsTarget&&!function(e,t){const i=t.contains(e);if(!i&&t instanceof HTMLSlotElement)return[...t.assignedElements()].includes(e);return i}(l,t.wrapperEl))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!s.noSwipingClass&&""!==s.noSwipingClass,d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(l=d[0]);const u=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!(!n.target||!n.target.shadowRoot);if(s.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===vs()||i===ys())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(u,l):l.closest(u)))return void(t.allowClick=!0);if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=n.pageX,o.currentY=n.pageY;const h=o.currentX,f=o.currentY;if(!Ks(t,n,h))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=f,r.touchStartTime=ws(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let m=!0;l.matches(r.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==l&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!l.matches(r.focusableElements))&&i.activeElement.blur();const g=m&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!g||l.isContentEditable||n.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function Js(e){const t=vs(),i=this,n=i.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:a}=i;if(!a)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==n.touchId)return;if(c.pointerId!==n.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter((e=>e.identifier===n.touchId))[0],!l||l.identifier!==n.touchId)return}else l=c;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",c));const d=l.pageX,u=l.pageY;if(c.preventedByNestedSwiper)return s.startX=d,void(s.startY=u);if(!i.allowTouchMove)return c.target.matches(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:d,startY:u,currentX:d,currentY:u}),n.touchStartTime=ws()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(us.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(ds.startX&&i.translate>=i.minTranslate())return;if(t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);n.allowTouchCallbacks&&i.emit("touchMove",c),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=d,s.currentY=u;const p=s.currentX-s.startX,h=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(p**2+h**2)=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",c),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===c.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let f=i.isHorizontal()?p:h,m=i.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),s.diff=f,f*=r.touchRatio,o&&(f=-f,m=-m);const g=i.touchesDirection;i.swipeDirection=f>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const v=i.params.loop&&!r.cssMode,b="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!n.isMoved){if(v&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)}if((new Date).getTime(),n.isMoved&&n.allowThresholdMove&&g!==i.touchesDirection&&v&&b&&Math.abs(f)>=1)return Object.assign(s,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);i.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=f+n.startTranslate;let y=!0,_=r.resistanceRatio;if(r.touchReleaseOnEdges&&(_=0),f>0?(v&&b&&n.allowThresholdMove&&n.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]-("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.activeIndex+1]+i.params.spaceBetween:0)-i.params.spaceBetween:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(y=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+f)**_))):f<0&&(v&&b&&n.allowThresholdMove&&n.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween+("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween:0):i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Zs(e){const t=this,i=t.touchEventsData;let n,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(n=[...r.changedTouches].filter((e=>e.identifier===i.touchId))[0],!n||n.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(r.pointerId!==i.pointerId)return;n=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{params:s,touches:o,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&t.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=ws(),u=d-i.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),u<300&&d-i.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(i.lastClickTime=ws(),_s((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let p;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?a?t.translate:-t.translate:-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let f=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&p=l[e])&&(f=e,m=l[l.length-1]-l[l.length-2])}let g=null,v=null;s.rewind&&(t.isBeginning?v=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const b=(p-l[f])/m,y=fs.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?g:f+y):t.slideTo(f)),"prev"===t.swipeDirection&&(b>1-s.longSwipesRatio?t.slideTo(f+y):null!==v&&b<0&&Math.abs(b)>s.longSwipesRatio?t.slideTo(v):t.slideTo(f))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(f+y):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+y),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:f))}}function eo(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function to(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function io(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function no(e){const t=this;Bs(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function ro(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const so=(e,t)=>{const i=vs(),{params:n,el:r,wrapperEl:s,device:o}=e,a=!!n.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",e.onClick,!0),n.cssMode&&s[l]("scroll",e.onScroll),n.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",eo,!0):e[c]("observerUpdate",eo,!0),r[l]("load",e.onLoad,{capture:!0}))};const oo=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var ao={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function lo(e,t){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],r=i[n];"object"==typeof r&&null!==r?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in r?("object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),Ts(t,i)):Ts(t,i)):Ts(t,i)}}const co={eventsEmitter:Rs,update:qs,translate:Ws,transition:{setTransition:function(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`,i.wrapperEl.style.transitionDelay=0===e?"0ms":""),i.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Us({swiper:i,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),Us({swiper:i,runCallbacks:e,direction:t,step:"End"}))}},slide:Ys,loop:Xs,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=Qs.bind(e),e.onTouchMove=Js.bind(e),e.onTouchEnd=Zs.bind(e),e.onDocumentTouchStart=ro.bind(e),t.cssMode&&(e.onScroll=io.bind(e)),e.onClick=to.bind(e),e.onLoad=no.bind(e),so(e,"on")},detachEvents:function(){so(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:i,params:n,el:r}=e,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const a=(o in s?s[o]:void 0)||e.originalParams,l=oo(e,n),c=oo(e,a),d=e.params.grabCursor,u=a.grabCursor,p=n.enabled;l&&!c?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(r.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&"column"===a.grid.fill||!a.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!u?e.unsetGrabCursor():!d&&u&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===a[t])return;const i=n[t]&&n[t].enabled,r=a[t]&&a[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()}));const h=a.direction&&a.direction!==n.direction,f=n.loop&&(a.slidesPerView!==n.slidesPerView||h),m=n.loop;h&&i&&e.changeDirection(),Ts(e.params,a);const g=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),i&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&v?(e.loopCreate(t),e.updateSlides()):m&&!v&&e.loopDestroy()),e.emit("breakpoint",a)},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1;const r=ys(),s="window"===t?r.innerHeight:i.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:i,rtl:n,el:r,device:s}=e,o=function(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&i.push(t+n)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},uo={};class po{constructor(){let e,t;for(var i=arguments.length,n=new Array(i),r=0;r1){const e=[];return s.querySelectorAll(t.el).forEach((i=>{const n=Ts({},t,{el:i});e.push(new po(n))})),e}const o=this;o.__swiper__=!0,o.support=Ns(),o.device=$s({userAgent:t.userAgent}),o.browser=zs(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const a={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:lo(t,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const l=Ts({},ao,a);return o.params=Ts({},l,uo,t),o.originalParams=Ts({},o.params),o.passedParams=Ts({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,n=ks(As(t,`.${i.slideClass}, swiper-slide`)[0]);return ks(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=As(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),r=(i.maxTranslate()-n)*e+n;i.translateTo(r,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[a]?Math.ceil(n[a].swiperSlideSize):0;for(let i=a+1;io&&(e=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e=0;e-=1){r[a]-r[e]{t.complete&&Bs(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){return i.shadowRoot.querySelector(n())}return As(i,n())[0]})();return!r&&t.params.createElements&&(r=Ls("div",t.params.wrapperClass),i.append(r),As(i,`.${t.params.slideClass}`).forEach((e=>{r.append(e)}))),Object.assign(t,{el:i,wrapperEl:r,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:r,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===Ps(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===Ps(i,"direction")),wrongRTL:"-webkit-box"===Ps(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach((e=>{e.complete?Bs(t,e):e.addEventListener("load",(e=>{Bs(t,e.target)}))})),Hs(t),t.initialized=!0,Hs(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,el:r,wrapperEl:s,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static extendDefaults(e){Ts(uo,e)}static get extendedDefaults(){return uo}static get defaults(){return ao}static installModule(e){po.prototype.__modules__||(po.prototype.__modules__=[]);const t=po.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>po.installModule(e))),po):(po.installModule(e),po)}}function ho(e){let{swiper:t,extendParams:i,on:n}=e;i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,s=!1;function o(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,n=e.clickedSlide;if(n&&n.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;r=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,t.params.loop?t.slideToLoop(r):t.slideTo(r)}function a(){const{thumbs:e}=t.params;if(r)return!1;r=!0;const i=t.constructor;if(e.swiper instanceof i)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(Ss(e.swiper)){const n=Object.assign({},e.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new i(n),s=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",o),!0}function l(e){const i=t.thumbs.swiper;if(!i||i.destroyed)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const s=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.forEach((e=>e.classList.remove(s))),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e{e.classList.add(s)}));else for(let e=0;ee.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];s=i.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else s=t.realIndex,l=s>t.previousIndex?"next":"prev";a&&(s+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(s)<0&&(i.params.centeredSlides?s=s>r?s-Math.floor(n/2)+1:s+Math.floor(n/2)-1:s>r&&i.params.slidesPerGroup,i.slideTo(s,e?0:void 0))}}t.thumbs={swiper:null},n("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const i=vs(),n=()=>{const n="string"==typeof e.swiper?i.querySelector(e.swiper):e.swiper;if(n&&n.swiper)e.swiper=n.swiper,a(),l(!0);else if(n){const i=`${t.params.eventsPrefix}init`,r=s=>{e.swiper=s.detail[0],n.removeEventListener(i,r),a(),l(!0),e.swiper.update(),t.update()};n.addEventListener(i,r)}return n},r=()=>{if(t.destroyed)return;n()||requestAnimationFrame(r)};requestAnimationFrame(r)}else a(),l(!0)})),n("slideChange update resize observerUpdate",(()=>{l()})),n("setTransition",((e,i)=>{const n=t.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)})),n("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&s&&e.destroy()})),Object.assign(t.thumbs,{init:a,update:l})}Object.keys(co).forEach((e=>{Object.keys(co[e]).forEach((t=>{po.prototype[t]=co[e][t]}))})),po.use([function(e){let{swiper:t,on:i,emit:n}=e;const r=ys();let s=null,o=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};i("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver((e=>{o=r.requestAnimationFrame((()=>{const{width:i,height:n}=t;let r=i,s=n;e.forEach((e=>{let{contentBoxSize:i,contentRect:n,target:o}=e;o&&o!==t.el||(r=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)})),r===i&&s===n||a()}))})),s.observe(t.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))})),i("destroy",(()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:i,on:n,emit:r}=e;const s=[],o=ys(),a=function(e,i){void 0===i&&(i={});const n=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const i=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0)}));n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),s.push(n)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=function(e,t){const i=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i}(t.hostEl);for(let t=0;t{s.forEach((e=>{e.disconnect()})),s.splice(0,s.length)}))}]);var fo=function(){this._initCarousel=function(){var e=new po(".js-slider-thumbnail",{slidesPerView:3,freeMode:!0,spaceBetween:"8px",watchSlidesProgress:!0}),t=new po(".js-slider",{modules:[ho],navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:{swiper:e}});console.log(t)},this._initCarousel()};document.addEventListener("DOMContentLoaded",(function(){var e=new fo;console.log(e)}))})()})(); \ No newline at end of file diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/translations/messages.en.yaml b/src/CoreShop/Bundle/FrontendBundle/Resources/translations/messages.en.yaml index 0ac5eabbda..789c24ed6d 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/translations/messages.en.yaml +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/translations/messages.en.yaml @@ -138,8 +138,8 @@ coreshop.ui.wishlist: 'Wishlist' coreshop.ui.wishlist_empty: 'Your wishlist is empty' coreshop.ui.error: 'There was an Error' coreshop.ui.success: 'The operation was successful' -coreshop.ui.error.voucher.not_found: 'This Voucher is invalid' -coreshop.ui.error.voucher.invalid: 'This Voucher is invalid' +coreshop.ui.error.voucher.not_found: 'This voucher is invalid' +coreshop.ui.error.voucher.invalid: 'This voucher is invalid' coreshop.ui.success.voucher.stored: 'Voucher has been successfully applied' coreshop.ui.success.voucher.successfully_removed: 'Voucher has been successfully removed' coreshop.ui.voucher.code: 'Voucher' diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/Summary/_item.html.twig b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/Summary/_item.html.twig index a866c3e16e..48236f1122 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/Summary/_item.html.twig +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/Summary/_item.html.twig @@ -49,7 +49,7 @@
Total:
-
+
{% if item.discount < 0 %} ({{ currency.convertAndFormat(item.discount) }}) {% endif %} @@ -96,7 +96,7 @@ title="{{ 'coreshop.ui.remove'|trans }}" class="btn btn-link" data-id="{{ item.id }}" - {{ coreshop_test_html_attribute('wishlist-remove-button', item.name) }} + {{ coreshop_test_html_attribute('cart-remove-button', item.name) }} > {{ 'coreshop.ui.remove'|trans }} diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/_widget.html.twig b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/_widget.html.twig index 1068f47b78..2e81fab5c5 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/_widget.html.twig +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Cart/_widget.html.twig @@ -5,7 +5,7 @@ {% if cart.hasItems %}{{ cart.items|length }}{% else %}0{% endif %} - + {{ currency.convertAndFormat(cart.total) }}
diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_grid.html.twig b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_grid.html.twig index 69a3bec485..63383eb9ca 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_grid.html.twig +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_grid.html.twig @@ -1,28 +1,23 @@ {% import "@CoreShopFrontend/Common/Macro/product_price.html.twig" as product_price %} -{% set wishlist_allowed = is_granted('CORESHOP_WISHLIST') and is_granted('CORESHOP_WISHLIST_ADD_ITEM') %} -
-
-
+ +
+
+
{% if product.image is pimcore_asset_image %} - {{ product.image|pimcore_image_thumbnail_html('coreshop_productList', {'imgAttributes': {'class': 'card-img-top object-fit-cover'}, 'alt': product.name, 'id': 'image' ~ product.id}) }} + {{ product.image|pimcore_image_thumbnail_html('coreshop_productList', {'imgAttributes': {'class': 'img-fluid'}}) }} - -
- {% if wishlist_allowed %} - {{ render(url('coreshop_partial_wishlist_add', {'product': product.id|coreshop_string, '_redirect': app.request.requestUri})) }} - {% endif %} -
{% endif %}
-
-
- {{ product.name }} +
+

+ {{ product.name }} +

+
+ {{ product.shortDescription }}
- {{ product.shortDescription }}
- -
+
{% set attributeGroups = coreshop_variant_attribute_list_variants(product, true)|sort((a, b) => a.group.sorting <=> b.group.sorting) %} {% for attributeGroup in attributeGroups %} {% if attributeGroup.type == "Pimcore\\Model\\DataObject\\CoreShopAttributeColor" %} @@ -31,18 +26,18 @@ {% include '@CoreShopFrontend/Product/attributes/detail/_text.html.twig' with { group: attributeGroup } %} {% endif %} {% endfor %} -
-
- {{ product_price.display_product_price(product, null, false, false) }} -
- - {% if coreshop_add_to_cart_available(product) and is_granted('CORESHOP_CART') and is_granted('CORESHOP_CART_ADD_ITEM') %} -
- {% if coreshop_inventory_is_available(product) %} - {{ render(url('coreshop_partial_cart_add', {'product': product.id|coreshop_string, '_redirect': app.request.requestUri})) }} - {% endif %} +
+ {{ product_price.display_product_price(product) }}
- {% endif %} + {% if coreshop_add_to_cart_available(product) and is_granted('CORESHOP_CART') and is_granted('CORESHOP_CART_ADD_ITEM') %} +
+ {% if coreshop_inventory_is_available(product) %} + {{ render(url('coreshop_partial_wishlist_add', {'product': product.id|coreshop_string})) }} + {{ render(url('coreshop_partial_cart_add', {'product': product.id|coreshop_string})) }} + {% endif %} +
+ {% endif %} +
diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_list.html.twig b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_list.html.twig index 8fbc172a69..5bd8d819e4 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_list.html.twig +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_list.html.twig @@ -1,60 +1,46 @@ {% import "@CoreShopFrontend/Common/Macro/product_price.html.twig" as product_price %} -{% set wishlist_allowed = is_granted('CORESHOP_WISHLIST') and is_granted('CORESHOP_WISHLIST_ADD_ITEM') %}
-
+
-
+
{% if product.image is pimcore_asset_image %} - {{ product.image|pimcore_image_thumbnail_html("coreshop_productList", {"imgAttributes": {"class": "img-fluid w-100"}}) }} + {{ product.image|pimcore_image_thumbnail_html("coreshop_productList", {"imgAttributes": {"class": "img-fluid"}}) }} {% endif %} -
- {% if wishlist_allowed %} - {{ render(url('coreshop_partial_wishlist_add', {'product': product.id|coreshop_string})) }} - {% endif %} -

- {{ product.name }} + {{ product.name }}

{{ product.shortDescription }}
{% set attributeGroups = coreshop_variant_attribute_list_variants(product, true)|sort((a, b) => a.group.sorting <=> b.group.sorting) %} - {% if attributeGroups|length > 0 %} -
- {% for attributeGroup in attributeGroups %} - {% if attributeGroup.type == "Pimcore\\Model\\DataObject\\CoreShopAttributeColor" %} - {% include '@CoreShopFrontend/Product/attributes/detail/_color.html.twig' with { group: attributeGroup } %} - {% else %} - {% include '@CoreShopFrontend/Product/attributes/detail/_text.html.twig' with { group: attributeGroup } %} - {% endif %} - {% endfor %} -
- {% endif %} - + {% for attributeGroup in attributeGroups %} + {% if attributeGroup.type == "Pimcore\\Model\\DataObject\\CoreShopAttributeColor" %} + {% include '@CoreShopFrontend/Product/attributes/detail/_color.html.twig' with { group: attributeGroup } %} + {% else %} + {% include '@CoreShopFrontend/Product/attributes/detail/_text.html.twig' with { group: attributeGroup } %} + {% endif %} + {% endfor %} -
- {{ product_price.display_product_price(product, null, false, false) }} +
+ {{ product_price.display_product_price(product) }}
{% if coreshop_add_to_cart_available(product) and is_granted('CORESHOP_CART') and is_granted('CORESHOP_CART_ADD_ITEM') %}
{% if coreshop_inventory_is_available(product) %} - {{ render(url('coreshop_partial_cart_add', {'product': product.id|coreshop_string, '_redirect': app.request.requestUri})) }} + {{ render(url('coreshop_partial_wishlist_add', {'product': product.id|coreshop_string})) }} + {{ render(url('coreshop_partial_cart_add', {'product': product.id|coreshop_string})) }} {% endif %}
- {% else %} - - {{ 'coreshop.ui.read_more'|trans }} - {% endif %}
diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_menu.html.twig b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_menu.html.twig index 1ffacdd496..a784c0a13e 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_menu.html.twig +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Category/_menu.html.twig @@ -1,6 +1,6 @@