From c5303815f72e34419ab30e446e83f03c5ad62bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Mon, 9 Dec 2024 22:11:22 +0100 Subject: [PATCH 1/6] wip - careers --- .../0305_alter_districtcustompage_options.py | 17 +++ .../0063_alter_electionssimplepage_options.py | 17 +++ .../0132_alter_mainsimplepage_options.py | 17 +++ .../0133_maincareerpage_maincareerspage.py | 40 +++++ ...4_alter_maincareerpage_options_and_more.py | 21 +++ ...35_maincareerpage_created_date_and_more.py | 49 ++++++ .../0136_maincareerpage_category.py | 19 +++ ...37_maincareerspage_perex_col_1_and_more.py | 28 ++++ main/models.py | 143 +++++++++++++++++- main/templates/main/main_article_page.html | 2 +- main/templates/main/main_careers_page.html | 25 +++ shared/models/main.py | 2 +- shared/static/styleguide2/main.css | 2 +- shared/static/styleguide2/main.js | 17 ++- shared/static/styleguide2/pirati-ui.svg | 2 +- .../molecules/boxes/main/career_box.html | 24 +++ .../organisms/header/main/careers_header.html | 29 ++++ .../organisms/header/simple_header.html | 8 +- 18 files changed, 447 insertions(+), 15 deletions(-) create mode 100644 district/migrations/0305_alter_districtcustompage_options.py create mode 100644 elections/migrations/0063_alter_electionssimplepage_options.py create mode 100644 main/migrations/0132_alter_mainsimplepage_options.py create mode 100644 main/migrations/0133_maincareerpage_maincareerspage.py create mode 100644 main/migrations/0134_alter_maincareerpage_options_and_more.py create mode 100644 main/migrations/0135_maincareerpage_created_date_and_more.py create mode 100644 main/migrations/0136_maincareerpage_category.py create mode 100644 main/migrations/0137_maincareerspage_perex_col_1_and_more.py create mode 100644 main/templates/main/main_careers_page.html create mode 100644 shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html create mode 100644 shared/templates/styleguide2/includes/organisms/header/main/careers_header.html diff --git a/district/migrations/0305_alter_districtcustompage_options.py b/district/migrations/0305_alter_districtcustompage_options.py new file mode 100644 index 00000000..6b20ce54 --- /dev/null +++ b/district/migrations/0305_alter_districtcustompage_options.py @@ -0,0 +1,17 @@ +# Generated by Django 5.0.7 on 2024-12-09 14:52 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('district', '0304_remove_districtoctopuspersonpage_originating_group_and_more'), + ] + + operations = [ + migrations.AlterModelOptions( + name='districtcustompage', + options={'verbose_name': 'Jednoduchá stránka'}, + ), + ] diff --git a/elections/migrations/0063_alter_electionssimplepage_options.py b/elections/migrations/0063_alter_electionssimplepage_options.py new file mode 100644 index 00000000..085f69f1 --- /dev/null +++ b/elections/migrations/0063_alter_electionssimplepage_options.py @@ -0,0 +1,17 @@ +# Generated by Django 5.0.7 on 2024-12-09 14:52 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('elections', '0062_alter_electionsarticlepage_content'), + ] + + operations = [ + migrations.AlterModelOptions( + name='electionssimplepage', + options={'verbose_name': 'Jednoduchá stránka'}, + ), + ] diff --git a/main/migrations/0132_alter_mainsimplepage_options.py b/main/migrations/0132_alter_mainsimplepage_options.py new file mode 100644 index 00000000..9c491cb2 --- /dev/null +++ b/main/migrations/0132_alter_mainsimplepage_options.py @@ -0,0 +1,17 @@ +# Generated by Django 5.0.7 on 2024-12-09 14:52 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0131_alter_mainarticlepage_content_and_more'), + ] + + operations = [ + migrations.AlterModelOptions( + name='mainsimplepage', + options={'verbose_name': 'Jednoduchá stránka'}, + ), + ] diff --git a/main/migrations/0133_maincareerpage_maincareerspage.py b/main/migrations/0133_maincareerpage_maincareerspage.py new file mode 100644 index 00000000..8861b37f --- /dev/null +++ b/main/migrations/0133_maincareerpage_maincareerspage.py @@ -0,0 +1,40 @@ +# Generated by Django 5.0.7 on 2024-12-09 15:00 + +import django.db.models.deletion +import shared.models.main +import wagtailmetadata.models +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0132_alter_mainsimplepage_options'), + ('wagtailcore', '0094_alter_page_locale'), + ('wagtailimages', '0026_delete_uploadedimage'), + ] + + operations = [ + migrations.CreateModel( + name='MainCareerPage', + fields=[ + ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), + ('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')), + ], + options={ + 'abstract': False, + }, + bases=(shared.models.main.SubpageMixin, wagtailmetadata.models.WagtailImageMetadataMixin, 'wagtailcore.page', models.Model), + ), + migrations.CreateModel( + name='MainCareersPage', + fields=[ + ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), + ('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')), + ], + options={ + 'abstract': False, + }, + bases=(shared.models.main.SubpageMixin, wagtailmetadata.models.WagtailImageMetadataMixin, 'wagtailcore.page', models.Model), + ), + ] diff --git a/main/migrations/0134_alter_maincareerpage_options_and_more.py b/main/migrations/0134_alter_maincareerpage_options_and_more.py new file mode 100644 index 00000000..d393524d --- /dev/null +++ b/main/migrations/0134_alter_maincareerpage_options_and_more.py @@ -0,0 +1,21 @@ +# Generated by Django 5.0.7 on 2024-12-09 15:02 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0133_maincareerpage_maincareerspage'), + ] + + operations = [ + migrations.AlterModelOptions( + name='maincareerpage', + options={'verbose_name': 'Pracovní nabídka'}, + ), + migrations.AlterModelOptions( + name='maincareerspage', + options={'verbose_name': 'Kariéry'}, + ), + ] diff --git a/main/migrations/0135_maincareerpage_created_date_and_more.py b/main/migrations/0135_maincareerpage_created_date_and_more.py new file mode 100644 index 00000000..9d496acf --- /dev/null +++ b/main/migrations/0135_maincareerpage_created_date_and_more.py @@ -0,0 +1,49 @@ +# Generated by Django 5.0.7 on 2024-12-09 15:36 + +import datetime +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0134_alter_maincareerpage_options_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='maincareerpage', + name='created_date', + field=models.DateField(default=datetime.date.today, verbose_name='Datum vytvoření'), + ), + migrations.AddField( + model_name='maincareerpage', + name='employment_relationship', + field=models.CharField(default=None, help_text="Např. 'Rámcová smlouva na dobu určitou'", max_length=128, verbose_name='Poměr'), + preserve_default=False, + ), + migrations.AddField( + model_name='maincareerpage', + name='location', + field=models.CharField(default=None, help_text="Např. 'Středočeský kraj'", max_length=64, verbose_name='Místo výkonu práce'), + preserve_default=False, + ), + migrations.AddField( + model_name='maincareerpage', + name='pay_rate', + field=models.CharField(default=None, help_text="Např. '300-350 Kč/h'", max_length=64, verbose_name='Odměna'), + preserve_default=False, + ), + migrations.AddField( + model_name='maincareerpage', + name='submission_end_date', + field=models.DateField(default=None, verbose_name='Datum konce přihlášek'), + preserve_default=False, + ), + migrations.AddField( + model_name='maincareerpage', + name='time_cost', + field=models.CharField(default=None, help_text="Např. '8h denně'", max_length=64, verbose_name='Časová náročnost'), + preserve_default=False, + ), + ] diff --git a/main/migrations/0136_maincareerpage_category.py b/main/migrations/0136_maincareerpage_category.py new file mode 100644 index 00000000..67b5a7e1 --- /dev/null +++ b/main/migrations/0136_maincareerpage_category.py @@ -0,0 +1,19 @@ +# Generated by Django 5.0.7 on 2024-12-09 16:06 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0135_maincareerpage_created_date_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='maincareerpage', + name='category', + field=models.CharField(default='Bez kategorie', help_text="Např. 'Koordinátor/ka', 'Programátor/ka', 'Volební manažer/ka', ...", verbose_name='Kategorie pracovní pozice'), + preserve_default=False, + ), + ] diff --git a/main/migrations/0137_maincareerspage_perex_col_1_and_more.py b/main/migrations/0137_maincareerspage_perex_col_1_and_more.py new file mode 100644 index 00000000..89f09a9c --- /dev/null +++ b/main/migrations/0137_maincareerspage_perex_col_1_and_more.py @@ -0,0 +1,28 @@ +# Generated by Django 5.0.7 on 2024-12-09 21:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0136_maincareerpage_category'), + ] + + operations = [ + migrations.AddField( + model_name='maincareerspage', + name='perex_col_1', + field=models.TextField(blank=True, null=True, verbose_name='Perex - první sloupec'), + ), + migrations.AddField( + model_name='maincareerspage', + name='perex_col_2', + field=models.TextField(blank=True, null=True, verbose_name='Perex - druhý sloupec'), + ), + migrations.AddField( + model_name='maincareerspage', + name='subheading', + field=models.CharField(blank=True, help_text='Text pod hlavním nadpisem stránky', max_length=32, null=True, verbose_name='Podtitulek'), + ), + ] diff --git a/main/models.py b/main/models.py index d60e1b5d..a93c8640 100644 --- a/main/models.py +++ b/main/models.py @@ -2,12 +2,13 @@ from django.db import models from modelcluster.contrib.taggit import ClusterTaggableManager from modelcluster.fields import ParentalKey, ParentalManyToManyField from taggit.models import TaggedItemBase -from wagtail.admin.panels import FieldPanel +from wagtail.admin.panels import FieldPanel, HelpPanel, MultiFieldPanel from wagtail.blocks import RichTextBlock from wagtail.contrib.routable_page.models import route from wagtail.fields import RichTextField, StreamField from wagtail.models import Page from wagtailmetadata.models import MetadataPageMixin +from datetime import date from shared import blocks as shared_blocks from shared.models import ( # MenuMixin, @@ -83,6 +84,7 @@ class MainHomePage(MainHomePageMixin): "main.MainHoaxPage", "main.MainSearchPage", "main.MainResultsPage", + "main.MainCareersPage", ] ### OTHERS @@ -365,6 +367,143 @@ class MainResultsPage( verbose_name = "Výsledky" +class MainCareersPage( + ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, PageInMenuMixin, Page +): + subheading = models.CharField( + verbose_name="Podtitulek", + help_text="Text pod hlavním nadpisem stránky", + max_length=32, + blank=True, + null=True + ) + + perex_col_1 = models.TextField( + verbose_name="Perex - první sloupec", + blank=True, + null=True, + ) + perex_col_2 = models.TextField( + verbose_name="Perex - druhý sloupec", + blank=True, + null=True, + ) + + content_panels = Page.content_panels + [ + HelpPanel( + "Pro přidání pracovních nabídek ulož tuto stránku a přidej ji podstránky." + ), + FieldPanel("subheading"), + MultiFieldPanel( + [ + FieldPanel("perex_col_1", heading="První sloupec"), + FieldPanel("perex_col_2", heading="Druhý sloupec"), + ], + "Perex", + ), + ] + + parent_page_types = ["main.MainHomePage"] + subpage_types = ["main.MainCareerPage"] + + def get_career_categories(self) -> list[str]: + return ( + MainCareerPage. + objects. + child_of(self). + live(). + distinct("category"). + values_list("category", flat=True). + order_by("category"). + all() + ) + + + def get_career_pages(self): + return ( + MainCareerPage. + objects. + child_of(self). + live(). + all() + ) + + + class Meta: + verbose_name = "Kariéry" + + +class MainCareerPage( + ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, PageInMenuMixin, Page +): + category = models.CharField( + verbose_name="Kategorie pracovní pozice", + help_text="Např. 'Koordinátor/ka', 'Programátor/ka', 'Volební manažer/ka', ...", + blank=False, + null=False + ) + + location = models.CharField( + verbose_name="Místo výkonu práce", + help_text="Např. 'Středočeský kraj'", + max_length=64, + blank=False, + null=False + ) + + time_cost = models.CharField( + verbose_name="Časová náročnost", + help_text="Např. '8h denně'", + max_length=64, + blank=False, + null=False + ) + + employment_relationship = models.CharField( + verbose_name="Poměr", + help_text="Např. 'Rámcová smlouva na dobu určitou'", + max_length=128, + blank=False, + null=False + ) + + pay_rate = models.CharField( + verbose_name="Odměna", + help_text="Např. '300-350 Kč/h'", + max_length=64, + blank=False, + null=False + ) + + submission_end_date = models.DateField( + verbose_name="Datum konce přihlášek", + blank=False, + null=False, + ) + + created_date = models.DateField( + verbose_name="Datum vytvoření", + blank=False, + null=False, + default=date.today + ) + + content_panels = Page.content_panels + [ + FieldPanel("category"), + FieldPanel("location"), + FieldPanel("time_cost"), + FieldPanel("employment_relationship"), + FieldPanel("pay_rate"), + FieldPanel("submission_end_date"), + FieldPanel("created_date"), + ] + + parent_page_types = ["main.MainCareersPage"] + + class Meta: + verbose_name = "Pracovní nabídka" + + class MainSearchPage(MainSearchPageMixin): parent_page_types = ["main.MainHomePage"] subpage_types = [] @@ -375,4 +514,4 @@ class MainSearchPage(MainSearchPageMixin): MainArticlePage, MainPersonPage, MainSimplePage, - ] + ] \ No newline at end of file diff --git a/main/templates/main/main_article_page.html b/main/templates/main/main_article_page.html index 000e099d..045806b5 100644 --- a/main/templates/main/main_article_page.html +++ b/main/templates/main/main_article_page.html @@ -1,5 +1,5 @@ {% extends "styleguide2/article_page.html" %} {% block navbar %} - {% include 'styleguide2/includes/organisms/layout/main/navbar.html' with selected_item=page.root_page.articles_page.get_menu_title %} + {% include 'styleguide2/includes/organisms/layout/main/navbar.html' with selected_item=page.root_page.articles_page.get_menu_title %} {% endblock %} diff --git a/main/templates/main/main_careers_page.html b/main/templates/main/main_careers_page.html new file mode 100644 index 00000000..7232b1d8 --- /dev/null +++ b/main/templates/main/main_careers_page.html @@ -0,0 +1,25 @@ +{% extends "styleguide2/simple_page.html" %} +{% load wagtailcore_tags %} + +{% block content %} + {% include 'styleguide2/includes/organisms/layout/main/navbar.html' with selected_item=page.get_menu_title %} + + <div class="__js-root"> + <ui-view-provider + :initial="{ {% for category in page.get_career_categories %} '{{ forloop.count0 }}-{{ category }}': {% if forloop.first %}true{% else %}false{% endif %}{% if not forloop.last %},{% endif %}{% endfor %} }" :sync-location="true" + v-slot="{ isCurrentView, toggleView }" + > + {% include 'styleguide2/includes/organisms/header/main/careers_header.html' with title=page.title sub_heading=page.subheading description_column_1=page.perex_col_1 description_column_2=page.perex_col_2 %} + + <main role="main" class="mb-20"> + <div class="container--wide"> + <div class="grid lg:grid-cols-2 grid-cols-1 gap-6"> + {% for career in page.get_career_pages %} + {% include "styleguide2/includes/molecules/boxes/main/career_box.html" %} + {% endfor %} + </div> + </div> + </main> + </ui-view-provider> + </div> +{% endblock %} diff --git a/shared/models/main.py b/shared/models/main.py index 43ef1817..11e5fe12 100644 --- a/shared/models/main.py +++ b/shared/models/main.py @@ -1882,7 +1882,7 @@ class MainSimplePageMixin( ### OTHERS class Meta: - verbose_name = "Jednoduchá stárnka" + verbose_name = "Jednoduchá stránka" abstract = True diff --git a/shared/static/styleguide2/main.css b/shared/static/styleguide2/main.css index cd080680..c81a11cf 100644 --- a/shared/static/styleguide2/main.css +++ b/shared/static/styleguide2/main.css @@ -1 +1 @@ -@import"https://gfonts.pirati.cz/css2?family=Bebas+Neue&family=Roboto+Condensed:wght@300;400;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap";@font-face{font-family:pirati-ui;src:url(/static/styleguide2/pirati-ui.eot?bna028);src:url(/static/styleguide2/pirati-ui.eot?bna028#iefix) format("embedded-opentype"),url(/static/styleguide2/pirati-ui.ttf?bna028) format("truetype"),url(/static/styleguide2/pirati-ui.woff?bna028) format("woff"),url(/static/styleguide2/pirati-ui.svg?bna028#pirati-ui) format("svg");font-weight:400;font-style:normal;font-display:block}[class^=ico--],[class*=" ico--"]{font-family:pirati-ui!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ico--twitter:before{content:""}.ico--mastodon:before{content:""}.ico--helios:before{content:""}.ico--redmine:before{content:""}.ico--zulip:before{content:""}.ico--forum:before{content:""}.ico--pirati:before{content:""}.ico--jitsi:before{content:""}.ico--open-source:before{content:""}.ico--donation-full:before{content:""}.ico--donation-outline:before{content:""}.ico--strategy:before{content:""}.ico--pig:before{content:""}.ico--thermometer:before{content:""}.ico--menu:before{content:""}.ico--chevron-right:before{content:""}.ico--chevron-left:before{content:""}.ico--chevron-down:before{content:""}.ico--chevron-up:before{content:""}.ico--link-horizontal:before{content:""}.ico--beer:before{content:""}.ico--food:before{content:""}.ico--dots-three-vertical:before{content:""}.ico--dots-three-horizontal:before{content:""}.ico--log-out:before{content:""}.ico--envelope:before{content:""}.ico--pin:before{content:""}.ico--at:before{content:""}.ico--glass:before{content:""}.ico--checkmark:before{content:""}.ico--info:before{content:""}.ico--question:before{content:""}.ico--warning:before{content:""}.ico--code:before{content:""}.ico--checkbox-unchecked:before{content:""}.ico--star-full:before{content:""}.ico--star-empty:before{content:""}.ico--bookmark:before{content:""}.ico--cog:before{content:""}.ico--key:before{content:""}.ico--zoom-in:before{content:""}.ico--zoom-out:before{content:""}.ico--shrink:before{content:""}.ico--printer:before{content:""}.ico--file-openoffice:before{content:""}.ico--user:before{content:""}.ico--file-excel:before{content:""}.ico--file-word:before{content:""}.ico--file-pdf:before{content:""}.ico--file-picture:before{content:""}.ico--file-blank:before{content:""}.ico--folder-upload:before{content:""}.ico--upload:before{content:""}.ico--cloud-upload:before{content:""}.ico--folder-download:before{content:""}.ico--download:before{content:""}.ico--cloud-download:before{content:""}.ico--alarm:before{content:""}.ico--calculator:before{content:""}.ico--facebook-full:before{content:""}.ico--feed:before{content:""}.ico--library:before{content:""}.ico--office:before{content:""}.ico--attachment:before{content:""}.ico--enlarge:before{content:""}.ico--eye-off:before{content:""}.ico--eye:before{content:""}.ico--share:before{content:""}.ico--search:before{content:""}.ico--pencil:before{content:""}.ico--lock-open:before{content:""}.ico--lock:before{content:""}.ico--equalizer:before{content:""}.ico--switch:before{content:""}.ico--loop:before{content:""}.ico--refresh:before{content:""}.ico--bullhorn:before{content:""}.ico--bin:before{content:""}.ico--cross:before{content:""}.ico--checkbox-checked:before{content:""}.ico--globe:before{content:""}.ico--wikipedia:before{content:""}.ico--youtube:before{content:""}.ico--users:before{content:""}.ico--book:before{content:""}.ico--bubbles:before{content:""}.ico--map:before{content:""}.ico--compass:before{content:""}.ico--folder-open:before{content:""}.ico--folder:before{content:""}.ico--drawer:before{content:""}.ico--stop:before{content:""}.ico--github:before{content:""}.ico--clock:before{content:""}.ico--calendar:before{content:""}.ico--flickr:before{content:""}.ico--instagram:before{content:""}.ico--newspaper:before{content:""}.ico--cart:before{content:""}.ico--home:before{content:""}.ico--link:before{content:""}.ico--power:before{content:""}.ico--rocket:before{content:""}.ico--location:before{content:""}.ico--phone:before{content:""}.ico--linkedin:before{content:""}.ico--facebook:before{content:""}.ico--envelop:before{content:""}.ico--file-text2:before{content:""}.ico--price-tag:before{content:""}.ico--price-tags:before{content:""}.ico--stats-dots:before{content:""}.ico--bed:before{content:""}.ico--train:before{content:""}.ico--bus:before{content:""}.ico--wheelchair:before{content:""}.ico--thumbs-down:before{content:""}.ico--thumbs-up:before{content:""}.ico--anchor:before{content:""}.ico--paw:before{content:""}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:start;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-black{--tw-prose-body: #000000;--tw-prose-headings: #000000;--tw-prose-lead: #000000;--tw-prose-links: #000000;--tw-prose-bold: #000000;--tw-prose-counters: #000000;--tw-prose-bullets: #000000;--tw-prose-hr: #000000;--tw-prose-quotes: #000000;--tw-prose-quote-borders: #000000;--tw-prose-captions: #000000;--tw-prose-code: #000000;--tw-prose-pre-code: #000000;--tw-prose-pre-bg: #ffffff;--tw-prose-th-borders: #000000;--tw-prose-td-borders: #000000;--tw-prose-invert-body: #ffffff;--tw-prose-invert-headings: #ffffff;--tw-prose-invert-lead: #ffffff;--tw-prose-invert-links: #ffffff;--tw-prose-invert-bold: #ffffff;--tw-prose-invert-counters: #ffffff;--tw-prose-invert-bullets: #ffffff;--tw-prose-invert-hr: #ffffff;--tw-prose-invert-quotes: #ffffff;--tw-prose-invert-quote-borders: #ffffff;--tw-prose-invert-captions: #ffffff;--tw-prose-invert-code: #ffffff;--tw-prose-invert-pre-code: #ffffff;--tw-prose-invert-pre-bg: #000000;--tw-prose-invert-th-borders: #ffffff;--tw-prose-invert-td-borders: #ffffff}.btn{display:inline-block;text-align:center;font-weight:400;max-width:20rem;text-decoration:none}.btn[disabled]{opacity:.7;cursor:not-allowed}.btn:hover{text-decoration:none}.btn__body{display:flex;height:100%;align-items:center;justify-content:center;padding:.25em 2em}.btn__body-wrap{min-width:10rem;min-height:2.75rem}.btn__body,.btn__icon,.btn__inline-icon{transition-property:color,background-color,border-color;transition-duration:.2s;color:#fff}.btn__body,.btn__icon{background-color:#000}.btn--icon .btn__body-wrap{display:flex}.btn--condensed .btn__body{padding:.75em 1em}@keyframes btn-loading-spinner{to{transform:rotate(360deg)}}.btn--black .btn__body,.btn--black .btn__icon{background-color:#000;color:#fff}.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#000;color:#fff}.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#262626}.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-black:hover .btn__body,.btn--to-black.btn--activated .btn__body{background-color:#000!important;color:#fff!important}.btn--hoveractive.btn--to-black:hover .btn__icon,.btn--to-black.btn--activated .btn__icon{border-color:#343434!important;background-color:#000!important}.btn--hoveractive.btn--to-black:hover .btn__inline-icon,.btn--to-black.btn--activated .btn__inline-icon{color:#fff!important}.btn--grey-700 .btn__body,.btn--grey-700 .btn__icon{background-color:#202020;color:#fff}.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#343434;color:#fff}.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#262626}.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-700:hover .btn__body,.btn--to-grey-700.btn--activated .btn__body{background-color:#202020!important;color:#fff!important}.btn--hoveractive.btn--to-grey-700:hover .btn__icon,.btn--to-grey-700.btn--activated .btn__icon{border-color:#303132!important;background-color:#202020!important}.btn--hoveractive.btn--to-grey-700:hover .btn__inline-icon,.btn--to-grey-700.btn--activated .btn__inline-icon{color:#fff!important}.btn--grey-500 .btn__body,.btn--grey-500 .btn__icon{background-color:#303132;color:#fff}.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#4c4c4c;color:#fff}.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#343434}.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-500:hover .btn__body,.btn--to-grey-500.btn--activated .btn__body{background-color:#303132!important;color:#fff!important}.btn--hoveractive.btn--to-grey-500:hover .btn__icon,.btn--to-grey-500.btn--activated .btn__icon{border-color:#4c4c4c!important;background-color:#303132!important}.btn--hoveractive.btn--to-grey-500:hover .btn__inline-icon,.btn--to-grey-500.btn--activated .btn__inline-icon{color:#fff!important}.btn--grey-125 .btn__body,.btn--grey-125 .btn__icon{background-color:#f0f0f0;color:#000}.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:silver;color:#fff}.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#a8a8a8}.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-125:hover .btn__body,.btn--to-grey-125.btn--activated .btn__body{background-color:#f0f0f0!important;color:#000!important}.btn--hoveractive.btn--to-grey-125:hover .btn__icon,.btn--to-grey-125.btn--activated .btn__icon{border-color:#d8d8d8!important;background-color:#f0f0f0!important}.btn--hoveractive.btn--to-grey-125:hover .btn__inline-icon,.btn--to-grey-125.btn--activated .btn__inline-icon{color:#000!important}.btn--grey-175 .btn__body,.btn--grey-175 .btn__icon{background-color:#d0d0d0;color:#000}.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#a6a6a6;color:#fff}.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#929292}.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-175:hover .btn__body,.btn--to-grey-175.btn--activated .btn__body{background-color:#d0d0d0!important;color:#000!important}.btn--hoveractive.btn--to-grey-175:hover .btn__icon,.btn--to-grey-175.btn--activated .btn__icon{border-color:#bbb!important;background-color:#d0d0d0!important}.btn--hoveractive.btn--to-grey-175:hover .btn__inline-icon,.btn--to-grey-175.btn--activated .btn__inline-icon{color:#000!important}.btn--white .btn__body,.btn--white .btn__icon{background-color:#fff;color:#000}.btn--white .btn__icon{border-color:#f3f3f3;background-color:#fff}.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#ccc;color:#fff}.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#b3b3b3}.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-white:hover .btn__body,.btn--to-white.btn--activated .btn__body{background-color:#fff!important;color:#000!important}.btn--hoveractive.btn--to-white:hover .btn__icon,.btn--to-white.btn--activated .btn__icon{border-color:#f3f3f3!important;background-color:#fff!important}.btn--hoveractive.btn--to-white:hover .btn__inline-icon,.btn--to-white.btn--activated .btn__inline-icon{color:#000!important}.btn--blue-300 .btn__body,.btn--blue-300 .btn__icon{background-color:#027da8;color:#fff}.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#026486;color:#fff}.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#015876}.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-blue-300:hover .btn__body,.btn--to-blue-300.btn--activated .btn__body{background-color:#027da8!important;color:#fff!important}.btn--hoveractive.btn--to-blue-300:hover .btn__icon,.btn--to-blue-300.btn--activated .btn__icon{border-color:#027197!important;background-color:#027da8!important}.btn--hoveractive.btn--to-blue-300:hover .btn__inline-icon,.btn--to-blue-300.btn--activated .btn__inline-icon{color:#fff!important}.btn--cyan-200 .btn__body,.btn--cyan-200 .btn__icon{background-color:#57b3bd;color:#fff}.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#3e959f;color:#fff}.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#37838b}.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-cyan-200:hover .btn__body,.btn--to-cyan-200.btn--activated .btn__body{background-color:#57b3bd!important;color:#fff!important}.btn--hoveractive.btn--to-cyan-200:hover .btn__icon,.btn--to-cyan-200.btn--activated .btn__icon{border-color:#46a8b2!important;background-color:#57b3bd!important}.btn--hoveractive.btn--to-cyan-200:hover .btn__inline-icon,.btn--to-cyan-200.btn--activated .btn__inline-icon{color:#fff!important}.btn--green-300 .btn__body,.btn--green-300 .btn__icon{background-color:#76cc9f;color:#fff}.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#47bb7e;color:#fff}.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#3da46e}.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-green-300:hover .btn__body,.btn--to-green-300.btn--activated .btn__body{background-color:#76cc9f!important;color:#fff!important}.btn--hoveractive.btn--to-green-300:hover .btn__icon,.btn--to-green-300.btn--activated .btn__icon{border-color:#5fc38f!important;background-color:#76cc9f!important}.btn--hoveractive.btn--to-green-300:hover .btn__inline-icon,.btn--to-green-300.btn--activated .btn__inline-icon{color:#fff!important}.btn--green-400 .btn__body,.btn--green-400 .btn__icon{background-color:#4ca971;color:#fff}.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#3d875a;color:#fff}.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#35764f}.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-green-400:hover .btn__body,.btn--to-green-400.btn--activated .btn__body{background-color:#4ca971!important;color:#fff!important}.btn--hoveractive.btn--to-green-400:hover .btn__icon,.btn--to-green-400.btn--activated .btn__icon{border-color:#449866!important;background-color:#4ca971!important}.btn--hoveractive.btn--to-green-400:hover .btn__inline-icon,.btn--to-green-400.btn--activated .btn__inline-icon{color:#fff!important}.btn--green-500 .btn__body,.btn--green-500 .btn__icon{background-color:#4fc49f;color:#000}.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#37a582;color:#fff}.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#309072}.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-green-500:hover .btn__body,.btn--to-green-500.btn--activated .btn__body{background-color:#4fc49f!important;color:#000!important}.btn--hoveractive.btn--to-green-500:hover .btn__icon,.btn--to-green-500.btn--activated .btn__icon{border-color:#3eb992!important;background-color:#4fc49f!important}.btn--hoveractive.btn--to-green-500:hover .btn__inline-icon,.btn--to-green-500.btn--activated .btn__inline-icon{color:#000!important}.btn--yellow-500 .btn__body,.btn--yellow-500 .btn__icon{background-color:#f9ce05;color:#000}.btn--yellow-500 .btn__icon{border-color:#e0b905;background-color:#f9ce05}.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#c7a504;color:#fff}.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#ae9004}.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-yellow-500:hover .btn__body,.btn--to-yellow-500.btn--activated .btn__body{background-color:#f9ce05!important;color:#000!important}.btn--hoveractive.btn--to-yellow-500:hover .btn__icon,.btn--to-yellow-500.btn--activated .btn__icon{border-color:#e0b905!important;background-color:#f9ce05!important}.btn--hoveractive.btn--to-yellow-500:hover .btn__inline-icon,.btn--to-yellow-500.btn--activated .btn__inline-icon{color:#000!important}.btn--yellow-600 .btn__body,.btn--yellow-600 .btn__icon{background-color:#d7b103;color:#000}.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#ac8e02;color:#fff}.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#977c02}.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-yellow-600:hover .btn__body,.btn--to-yellow-600.btn--activated .btn__body{background-color:#d7b103!important;color:#000!important}.btn--hoveractive.btn--to-yellow-600:hover .btn__icon,.btn--to-yellow-600.btn--activated .btn__icon{border-color:#c29f03!important;background-color:#d7b103!important}.btn--hoveractive.btn--to-yellow-600:hover .btn__inline-icon,.btn--to-yellow-600.btn--activated .btn__inline-icon{color:#000!important}.btn--orange-300 .btn__body,.btn--orange-300 .btn__icon{background-color:#ed9654;color:#fff}.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#e7721a;color:#fff}.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#cb6415}.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-orange-300:hover .btn__body,.btn--to-orange-300.btn--activated .btn__body{background-color:#ed9654!important;color:#fff!important}.btn--hoveractive.btn--to-orange-300:hover .btn__icon,.btn--to-orange-300.btn--activated .btn__icon{border-color:#ea8437!important;background-color:#ed9654!important}.btn--hoveractive.btn--to-orange-300:hover .btn__inline-icon,.btn--to-orange-300.btn--activated .btn__inline-icon{color:#fff!important}.btn--violet-400 .btn__body,.btn--violet-400 .btn__icon{background-color:#840048;color:#fff}.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#6a003a;color:#fff}.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#5c0032}.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-violet-400:hover .btn__body,.btn--to-violet-400.btn--activated .btn__body{background-color:#840048!important;color:#fff!important}.btn--hoveractive.btn--to-violet-400:hover .btn__icon,.btn--to-violet-400.btn--activated .btn__icon{border-color:#770041!important;background-color:#840048!important}.btn--hoveractive.btn--to-violet-400:hover .btn__inline-icon,.btn--to-violet-400.btn--activated .btn__inline-icon{color:#fff!important}.btn--violet-500 .btn__body,.btn--violet-500 .btn__icon{background-color:#670047;color:#000}.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#520039;color:#fff}.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#480032}.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-violet-500:hover .btn__body,.btn--to-violet-500.btn--activated .btn__body{background-color:#670047!important;color:#000!important}.btn--hoveractive.btn--to-violet-500:hover .btn__icon,.btn--to-violet-500.btn--activated .btn__icon{border-color:#5d0040!important;background-color:#670047!important}.btn--hoveractive.btn--to-violet-500:hover .btn__inline-icon,.btn--to-violet-500.btn--activated .btn__inline-icon{color:#000!important}.btn--violet-700 .btn__body,.btn--violet-700 .btn__icon{background-color:#7d347d;color:#000}.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#642a64;color:#fff}.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#582458}.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-violet-700:hover .btn__body,.btn--to-violet-700.btn--activated .btn__body{background-color:#7d347d!important;color:#000!important}.btn--hoveractive.btn--to-violet-700:hover .btn__icon,.btn--to-violet-700.btn--activated .btn__icon{border-color:#712f71!important;background-color:#7d347d!important}.btn--hoveractive.btn--to-violet-700:hover .btn__inline-icon,.btn--to-violet-700.btn--activated .btn__inline-icon{color:#000!important}.btn--red-600 .btn__body,.btn--red-600 .btn__icon{background-color:#d60d53;color:#fff}.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#ab0a42;color:#fff}.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#96093a}.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-red-600:hover .btn__body,.btn--to-red-600.btn--activated .btn__body{background-color:#d60d53!important;color:#fff!important}.btn--hoveractive.btn--to-red-600:hover .btn__icon,.btn--to-red-600.btn--activated .btn__icon{border-color:#c10c4b!important;background-color:#d60d53!important}.btn--hoveractive.btn--to-red-600:hover .btn__inline-icon,.btn--to-red-600.btn--activated .btn__inline-icon{color:#fff!important}.btn--brands-facebook .btn__body,.btn--brands-facebook .btn__icon{background-color:#067ceb;color:#fff}.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#0563bc;color:#fff}.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#0457a5}.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-brands-facebook:hover .btn__body,.btn--to-brands-facebook.btn--activated .btn__body{background-color:#067ceb!important;color:#fff!important}.btn--hoveractive.btn--to-brands-facebook:hover .btn__icon,.btn--to-brands-facebook.btn--activated .btn__icon{border-color:#0570d4!important;background-color:#067ceb!important}.btn--hoveractive.btn--to-brands-facebook:hover .btn__inline-icon,.btn--to-brands-facebook.btn--activated .btn__inline-icon{color:#fff!important}.container--default{max-width:1200px}.container--narrow{margin:auto;width:882px}.container--medium{padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1350px}.container--wide{padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1400px}.header-max-width{max-width:1340px!important}.container{margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem;max-width:1150px}.grid-container{margin-left:1.25rem;margin-right:1.25rem;display:grid;grid-template-columns:1fr;grid-template-areas:"left-side" "content" "right-side";gap:1rem;max-width:1150px}.grid-container.article-section,.grid-container.person-grid-container{max-width:1400px}.grid-container.person-twitter-section{grid-template-columns:minmax(0,1200px)}@media (min-width: 1200px){.grid-container.person-twitter-section{grid-template-columns:minmax(0,240px) minmax(0,1fr) minmax(0,102px)}}.grid-container.no-max{max-width:none}.grid-content{grid-area:content}.grid-full{grid-column:left-side / right-side;grid-row:left-side / right-side}.grid-left-side{grid-area:left-side}.grid-left-side-with-content{grid-column:left-side / content;grid-row:left-side / content}.grid-right-side{grid-area:right-side}.grid-content-with-right-side{grid-column:content / right-side;grid-row:content / right-side}.footer-section{height:450px}.person-box-medium{max-width:485px;width:100%}.person-box-big{max-width:575px;width:100%}@media (min-width: 1200px){.footer-section{height:981px}}.form__text-input-addon{display:flex;align-items:center;border-width:1px;--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity));padding:.75rem 1rem;font-size:1.125rem;font-weight:400;--tw-text-opacity: 1;color:rgb(76 76 76 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.form__text-input{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity));padding:.75rem 1rem;font-size:1.125rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;min-width:0px}.form__text-input:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.form__text-input:active:not([disabled]):not([readonly]),.form__text-input:focus:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.form__text-input::-moz-placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input::placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input[readonly],.form__text-input[disabled]{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.form__text-input[readonly]::-moz-placeholder,.form__text-input[disabled]::-moz-placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input[readonly]::placeholder,.form__text-input[disabled]::placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input-addon--l{border-right-width:0px}.form__text-input-addon--r{border-left-width:0px}.form__text-input:hover:not([disabled]):not([readonly])~.form__text-input-addon{--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.form__text-input:focus:not([disabled]):not([readonly])~.form__text-input-addon,.form__text-input:active:not([disabled]):not([readonly])~.form__text-input-addon{--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.form__text-input[readonly]~.form__text-input-addon,.form__text-input[disabled]~.form__text-input-addon{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input--has-addon-l.form__text-input{border-left-width:0px}.form__text-input--has-addon-r.form__text-input{border-right-width:0px}.form__select{position:relative;display:flex;width:100%;align-items:center}.form__select:not(.form__multiselect):after{position:absolute;right:0;padding-right:.75rem;font-size:1.3rem;font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;font-family:pirati-ui;content:""}.select__control{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;border-width:1px;--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity));padding:.75rem 2rem .75rem 1rem;font-size:1.125rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}@media (min-width: 1200px){.select__control{padding-top:1.25rem;padding-bottom:1.25rem}}.select__control{min-width:0px}.select__control:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.select__control:active:not([disabled]):not([readonly]),.select__control:focus:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.select__control::-moz-placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.select__control::placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.select__control[readonly],.select__control[disabled]{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.select__control[readonly]::-moz-placeholder,.select__control[disabled]::-moz-placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.select__control[readonly]::placeholder,.select__control[disabled]::placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__checkbox{position:relative;display:flex}.form__checkbox input{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.form__checkbox input:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(242 199 0 / var(--tw-border-opacity))}.form__checkbox input:checked{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.form__checkbox input[disabled]{cursor:not-allowed}.form__checkbox label{line-height:1.25}.form__checkbox:after{pointer-events:none;position:absolute;display:inline;content:"";height:5px;width:12px;top:6px;left:4px;border-left:2px solid #ffffff;border-bottom:2px solid #ffffff;transform:rotate(-45deg)}.radio{position:relative}.radio input{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(173 173 173 / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.radio input:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.radio input:active,.radio input:focus{--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.radio input:checked{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(2 125 168 / var(--tw-bg-opacity))}.radio input[disabled]{cursor:not-allowed}.radio label{display:flex;align-items:center;line-height:1.25}.radio:after{pointer-events:none;position:absolute;display:inline;height:.5rem;width:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));content:"";border-radius:50%;top:.375rem;left:.375rem}.form-field--error .form__text-input,.form-field--error .select__control,.form-field--error .form__text-input~.form__text-input-addon{--tw-border-opacity: 1;border-color:rgb(214 13 83 / var(--tw-border-opacity))}.form_control{display:flex;flex-direction:column;gap:1.25rem}.form_control>*{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.form_control>* label,.form_control>* legend{font-size:1.125rem}.form_control>* label{margin-bottom:.25rem}.form_control>* .helptext{order:10;font-size:.875rem;--tw-text-opacity: 1;color:rgb(136 136 136 / var(--tw-text-opacity))}.form_control>* fieldset{margin-top:.5rem;margin-bottom:.5rem;display:flex;gap:.5rem}.form_control>* fieldset legend{margin-bottom:.25rem}.form_control>* input,.form_control>* select,.form_control>* textarea{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity));padding:.75rem 1rem;font-size:1.125rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;min-width:0px}.form_control>* input:hover:not([disabled]):not([readonly]),.form_control>* select:hover:not([disabled]):not([readonly]),.form_control>* textarea:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.form_control>* input:active:not([disabled]):not([readonly]),.form_control>* input:focus:not([disabled]):not([readonly]),.form_control>* select:active:not([disabled]):not([readonly]),.form_control>* select:focus:not([disabled]):not([readonly]),.form_control>* textarea:active:not([disabled]):not([readonly]),.form_control>* textarea:focus:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(242 199 0 / var(--tw-border-opacity))}.form_control>* input::-moz-placeholder,.form_control>* select::-moz-placeholder,.form_control>* textarea::-moz-placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form_control>* input::placeholder,.form_control>* select::placeholder,.form_control>* textarea::placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form_control>* input[readonly],.form_control>* input[disabled],.form_control>* select[readonly],.form_control>* select[disabled],.form_control>* textarea[readonly],.form_control>* textarea[disabled]{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.form_control>* input[readonly]::-moz-placeholder,.form_control>* input[disabled]::-moz-placeholder,.form_control>* select[readonly]::-moz-placeholder,.form_control>* select[disabled]::-moz-placeholder,.form_control>* textarea[readonly]::-moz-placeholder,.form_control>* textarea[disabled]::-moz-placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form_control>* input[readonly]::placeholder,.form_control>* input[disabled]::placeholder,.form_control>* select[readonly]::placeholder,.form_control>* select[disabled]::placeholder,.form_control>* textarea[readonly]::placeholder,.form_control>* textarea[disabled]::placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.h-default{font-weight:500;line-height:1.25}.h-alt{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-weight:400;line-height:.96}.h-allcaps{font-weight:400;text-transform:uppercase;line-height:1.25}.head-xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:500;text-transform:uppercase;line-height:1}@media (min-width: 992px){.head-xl{font-size:1.3rem}}.head-2xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:500;text-transform:uppercase;line-height:1;letter-spacing:-.01em}.head-3xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;text-transform:uppercase;line-height:1}.head-4xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-4xl{font-size:2.45rem;line-height:1}}@media (min-width: 1200px){.head-4xl{font-size:2.45rem}}.head-6xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:2.45rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-6xl{font-size:3rem;line-height:1}}@media (min-width: 1200px){.head-6xl{font-size:4rem}}.head-7xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:2.45rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-7xl{font-size:3rem;line-height:1}}@media (min-width: 1200px){.head-7xl{font-size:5.3rem}}.head-8xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-8xl{font-size:5.3rem;line-height:1}}@media (min-width: 1200px){.head-8xl{font-size:6.25rem}}.head-9xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-9xl{font-size:6.25rem;line-height:1}}@media (min-width: 1200px){.head-9xl{font-size:6.25rem}}.head-10xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;font-weight:500;text-transform:uppercase;letter-spacing:-.025em}@media (min-width: 768px){.head-10xl{font-size:7.5rem;line-height:1}}@media (min-width: 1200px){.head-10xl{font-size:7.5rem}}.head-14xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:5.3rem;font-weight:500;text-transform:uppercase;line-height:4.75rem}@media (min-width: 1200px){.head-14xl{font-size:10.6rem;line-height:9.8rem}}.head-14xl.head-short{font-size:6.25rem;line-height:9.8rem}@media (min-width: 1200px){.head-14xl.head-short{font-size:10.6rem}}.head-14xl.head-compact{line-height:4rem}@media (min-width: 1200px){.head-14xl.head-compact{line-height:8.9rem}}.prose :where(.head-6xl):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(.head-7xl):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(.head-8xl):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(.head-9xl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.25em}p{font-size:.875rem;line-height:1.5rem}@media (min-width: 992px){p{font-size:1rem}}.vertical-time-line{border-left:1px solid green}.program-perex .content-block p{font-size:1.3rem;line-height:1.75rem}.content-block h2{margin-bottom:1.25rem;font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;font-weight:500;text-transform:uppercase;line-height:1.75rem}@media (min-width: 992px){.content-block h2{line-height:2.5rem}}@media (min-width: 1200px){.content-block h2{font-size:2.45rem}}.content-block h3{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.125rem;font-weight:500;text-transform:uppercase;line-height:1rem}@media (min-width: 1200px){.content-block h3{font-size:1.875rem;line-height:2rem}}.content-block h4{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-weight:500;text-transform:uppercase;line-height:2rem}@media (min-width: 1200px){.content-block h4{font-size:1.6rem}}.content-block h4{letter-spacing:-.01em}.content-block a{--tw-text-opacity: 1;color:rgb(2 125 168 / var(--tw-text-opacity));text-decoration-line:underline}:root{--fc-button-bg-color: #000;--fc-button-border-color: #000;--fc-button-hover-bg-color: #fec900;--fc-button-hover-border-color: #fec900;--fc-button-active-bg-color: #fec900;--fc-button-active-border-color: #fec900;--fc-event-bg-color: #fec900;--fc-event-border-color: #fec900;--fc-event-text-color: #000;--fc-border-color: #000;--fc-today-bg-color: #000;--fc-event-dot-color: #000}.fc-col-header{width:100%!important}.fc .fc-col-header-cell-cushion:not([href]):hover,.fc .fc-daygrid-day-number:not([href]):hover{text-decoration-line:none}.fc .fc-col-header-cell{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.75rem;font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.3rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fc .fc-button{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.5rem 1.25rem;text-align:center;font-size:1.125rem;font-weight:600;text-transform:uppercase;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fc .fc-button:hover{text-decoration-line:none}.fc .fc-button:hover:not(:disabled),.fc .fc-button:active:not(:disabled){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.fc .fc-event{cursor:pointer;border-radius:0;border-style:none;padding:.375rem;font-size:1rem;background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);color:var(--fc-event-text-color)}.fc-header-toolbar{align-items:flex-start!important}@media (min-width: 1200px){.fc-header-toolbar{align-items:center!important}}.fc .fc-toolbar-title,.fc .fc-today-button{font-family:Roboto Condensed,Helvetica,Arial,sans-serif;text-transform:capitalize}.fc-toolbar-chunk{display:flex;flex-wrap:wrap-reverse;justify-content:flex-end;gap:.5rem}.fc .fc-daygrid-day-number{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}@media (min-width: 1200px){.fc .fc-daygrid-day-number{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem}}.fc-daygrid-body,.fc-scrollgrid-sync-table{width:100%!important}@media (min-width: 1200px){.fc-daygrid-body,.fc-scrollgrid-sync-table{width:unset}}.fc .fc-day-today .fc-daygrid-day-number{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-dot-color)}.fc .fc-scroller-harness{overflow:visible}.dropdown{position:relative;cursor:pointer}.dropbtn{margin-bottom:.25rem;padding:.75rem}.dropdown-content{position:absolute;z-index:1;display:none;list-style-type:none}@media screen and (max-width: 1200px){.dropdown-content{position:unset}.dropbtn{display:none}}.dropdown-content a{display:block;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media screen and (min-width: 1200px){.dropdown:hover .dropdown-content,.dropdown:focus .dropdown-content{display:flex;width:100%;flex-direction:column;gap:.75rem;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.75rem}.dropdown:hover .dropbtn,.dropdown:focus .dropbtn{position:relative;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dropdown-content li{line-height:1.5rem}.dropdown:hover,.dropdown:focus{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}}.drop-arrow{position:relative;top:2px;margin-left:.25rem}@media screen and (max-width: 1200px){.drop-arrow{display:none}}.message{width:100%;border-width:1px;border-style:solid;padding:1rem .75rem;font-size:1.125rem}.message.message__success{--tw-border-opacity: 1;border-color:rgb(76 169 113 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(118 204 159 / var(--tw-bg-opacity))}.message.message__error{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.message.message__info{--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(118 180 207 / var(--tw-bg-opacity))}.message.message__warning{--tw-border-opacity: 1;border-color:rgb(249 206 5 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(247 243 138 / var(--tw-bg-opacity))}.progress-container{position:fixed;top:0;left:0;z-index:50;height:8px;width:100%;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.progress-bar{height:8px;width:0px;--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.article-box.dark-theme{background-color:#4c4c4c;color:#fff}.quote-icon{font-size:7rem;height:1rem}@media (min-width: 1200px){.quote-icon{font-size:15rem}}.header-carousel{display:block;margin:0 auto;position:relative}.header-carousel .header-carousel--text-wrapper,.header-carousel .elections--header-carousel--text-wrapper,.header-carousel .onboarding--header-carousel-text-wrapper{position:absolute;width:98vw;font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;text-transform:uppercase}@media (min-width: 992px){.header-carousel .header-carousel--text-wrapper,.header-carousel .elections--header-carousel--text-wrapper{font-size:5.3rem}.header-carousel .onboarding--header-carousel-text-wrapper{font-size:4rem}}.header-carousel .header-carousel--text-wrapper{bottom:37%;height:85%}@media (min-width: 1200px){.header-carousel .header-carousel--text-wrapper{bottom:33%}}.header-carousel .elections--header-carousel--text-wrapper{bottom:45%;height:85%}@media (min-width: 1200px){.header-carousel .elections--header-carousel--text-wrapper{bottom:10%}}.header-carousel .header-carousel--image{inset:0;position:absolute;height:100%;width:100vw;-o-object-fit:cover;object-fit:cover}@media (min-width: 1200px){.header-carousel .header-carousel--image{height:458px}}@media (min-width: 768px){.header-carousel .header-carousel--image{height:100%}}@keyframes right_to_left{0%{margin-left:20%}to{margin-left:10%}}.btn{display:inline-flex;align-items:center;justify-content:center;font-family:Bebas Neue,Helvetica,Arial,sans-serif;line-height:2.25rem}.switch{margin-left:auto;margin-right:auto;padding-top:1.25rem;padding-bottom:1.25rem}.switch__item,.switch__item--elections,.switch__item--program{margin-bottom:.5rem;cursor:pointer;white-space:nowrap;padding:.5rem 1.25rem;text-align:center;font-weight:400;transition-duration:.2s}.switch__item:not(:last-child),.switch__item--elections:not(:last-child),.switch__item--program:not(:last-child){margin-right:.5rem}.switch__item{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.switch__item:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));text-decoration-line:none}.switch__item.switch__item--active,.switch__item.switch__item--active:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.switch__item--program{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.switch__item--program:hover{--tw-bg-opacity: 1;background-color:rgb(173 173 173 / var(--tw-bg-opacity));text-decoration-line:none}.switch__item--program.switch__item--active,.switch__item--program.switch__item--active:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.switch__item--elections{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.switch__item--elections:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity));text-decoration-line:none}.switch__item--elections.switch__item--active,.switch__item--elections.switch__item--active:hover{--tw-bg-opacity: 1;background-color:rgb(79 79 79 / var(--tw-bg-opacity))}.horizontal-scrolling{display:block;margin-left:-15px;margin-right:-15px;max-width:calc(100vw - 50px);overflow-x:scroll;overflow-y:hidden;text-align:center;white-space:nowrap}@media (min-width: 1200px){.horizontal-scrolling{max-width:calc(100% + 30px)}}.horizontal-scrolling.draggable{cursor:grab}.horizontal-scrolling.draggable.active,.horizontal-scrolling.draggable.active a{cursor:grabbing}.no-scrollbars{-ms-overflow-style:-ms-autohiding-scrollbar;scrollbar-width:none}.no-scrollbars::-webkit-scrollbar{display:none}.background-hover-zoom{background-position:center;background-size:100%;transition:background-size .3s ease-in}.background-hover-zoom:hover{background-size:110%}.popout__toggle-wrapper{display:flex;cursor:pointer;align-items:center;justify-content:space-between;padding-left:1.25rem;padding-right:1.25rem;font-size:1.125rem;transition-duration:.15s}.popout__toggle-wrapper:hover{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.popout__toggle-wrapper.popout__toggle-wrapper--active{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.popout__toggle-name{padding-top:1rem;padding-bottom:1rem}.popout__content-wrapper{display:flex;flex-direction:column;gap:.75rem;--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity));padding:1rem 1.25rem}.popout__toggle-arrow{font-size:2.45rem}.candidate-secondary-box:not(:last-child){border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(208 208 208 / var(--tw-border-opacity))}.candidate-primary-box:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.candidate-primary-box:nth-child(odd) .candidate-primary-box--content{flex-direction:column-reverse}@media (min-width: 992px){.candidate-primary-box:nth-child(odd) .candidate-primary-box--content{flex-direction:row}.candidate-primary-box:nth-child(odd) .candidate-primary-box--text-column{align-items:flex-end}}.candidate-primary-box:nth-child(odd) .candidate-primary-box--text-column__hidden{--tw-translate-x: -100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.candidate-primary-box:nth-child(odd) .candidate-primary-box--image-column__hidden{--tw-translate-x: 100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.candidate-primary-box:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.candidate-primary-box:nth-child(2n) .candidate-primary-box--content{flex-direction:column-reverse}@media (min-width: 992px){.candidate-primary-box:nth-child(2n) .candidate-primary-box--content{flex-direction:row-reverse}}.candidate-primary-box:nth-child(2n) .candidate-primary-box--text-column{align-items:flex-start}.candidate-primary-box:nth-child(2n) .candidate-primary-box--text-column__hidden{--tw-translate-x: 100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.candidate-primary-box:nth-child(2n) .candidate-primary-box--image-column__hidden{--tw-translate-x: -100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flip-card.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75rem;margin-bottom:.75rem}.flip-card.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.25rem;margin-bottom:.25rem}.flip-card{height:42rem;width:auto;cursor:pointer}@media (min-width: 992px){.flip-card{height:33rem}}.flip-card{perspective:1000px}.flip-card-inner{position:relative;width:100%;height:100%;transition:transform .8s;transform-style:preserve-3d}.flip-card:hover .flip-card-inner,.flip-card:focus .flip-card-inner{transform:rotateY(180deg)}.flip-card-front,.flip-card-back{position:absolute;width:100%;height:100%;backface-visibility:hidden}.flip-card-back{transform:rotateY(180deg)}.article-timeline-grid{display:grid;gap:.5rem;margin-top:-20px;grid-template-areas:"left-article" "right-article"}@media (min-width: 1200px){.article-timeline-grid{grid-template-columns:minmax(0,570px) 1px minmax(0,570px);grid-template-areas:"left-article timeline right-article"}}.article-timeline-grid__left-article{grid-area:left-article}.article-timeline-grid__right-article{grid-area:right-article}.article-timeline-grid__timeline{grid-area:timeline}.article-timeline-grid__timeline:before{content:"";background:linear-gradient(180deg,#02002400,#fff);position:absolute;bottom:-1px;height:20px;z-index:10;width:2px;left:-1px}.article-timeline-grid__timeline .article-timeline--month{transform:translate(-50%);top:-1rem;z-index:100}.footer-collapsible__toggle{display:flex;cursor:pointer;align-items:center}.footer-collapsible__toggle:after{content:"";font-family:pirati-ui;margin-left:auto;font-size:3rem;font-weight:300;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.footer-collapsible__toggle.footer-collapsible__toggle--open:after{transform:rotate(-180deg)}@media (min-width: 768px){.footer-collapsible__toggle:after{display:none;cursor:auto}}.navbar{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.navbar .navbar__logo--white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.navbar .navbar__logo--white:not(.navbar__district__logo){display:inline}.navbar .navbar__logo--white.navbar__district__logo{display:flex}.navbar .navbar__logo--black{display:none;--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.navbar .navbar__border-button__wrapper:not(:first-child)>.navbar__border-button--main{border-width:4px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(242 199 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.navbar .navbar__border-button__wrapper:not(:first-child)>.navbar__border-button--main:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.navbar .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.navbar .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(215 177 3 / var(--tw-bg-opacity))}.navbar .navbar__menu-item--selected{text-decoration-line:underline}.navbar .navbar__menu-item--selected:hover{text-decoration-line:none}.navbar.navbar--onboarding{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.navbar.navbar--onboarding.navbar--transparent{background-color:transparent}.navbar.navbar--onboarding.navbar--transparent .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(242 199 0 / var(--tw-text-opacity))}.navbar.navbar--onboarding.navbar--transparent .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.navbar.navbar--elections{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.navbar.navbar--elections .navbar__logo--white{display:none}.navbar.navbar--elections .navbar__logo--black{display:inline}.navbar.navbar--elections .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(242 199 0 / var(--tw-text-opacity))}.navbar.navbar--elections .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.navbar.navbar--elections .bar1,.navbar.navbar--elections .bar2,.navbar.navbar--elections .bar3{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.navbar.navbar--elections.navbar--elections-transparent{background-color:transparent}.navbar.navbar--elections.navbar--elections-transparent .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.navbar.navbar--elections.navbar--elections-transparent .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(215 177 3 / var(--tw-bg-opacity))}.navbar.navbar--transparent{background-color:transparent}@media (min-width: 1200px){.navbar.navbar--transparent{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}}.navbar.navbar--transparent .navbar__logo--white{display:none}.navbar.navbar--transparent .navbar__logo--black:not(.navbar__district__logo){display:inline}.navbar.navbar--transparent .navbar__logo--black.navbar__district__logo{display:flex}.navbar.navbar--transparent .bar1,.navbar.navbar--transparent .bar2,.navbar.navbar--transparent .bar3{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}@media (min-width: 1200px){.navbar.navbar--transparent.navbar--on-dark-bg{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}.navbar.navbar--transparent.navbar--on-dark-bg .navbar__logo--white:not(.navbar__district__logo){display:inline}.navbar.navbar--transparent.navbar--on-dark-bg .navbar__logo--white.navbar__district__logo{display:flex}.navbar.navbar--transparent.navbar--on-dark-bg .navbar__logo--black{display:none}.navbar.navbar--transparent.navbar--on-dark-bg .bar1,.navbar.navbar--transparent.navbar--on-dark-bg .bar2,.navbar.navbar--transparent.navbar--on-dark-bg .bar3{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bar1,.bar2,.bar3{background-color:#fff;display:block;height:2px;margin:6px 0;transition:.4s;width:35px}.navbar__mobile-menu__toggle:checked+label .bar1{transform:rotate(-45deg) translate(-3px,4px);--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.navbar__mobile-menu__toggle:checked+label .bar2{opacity:0}.navbar__mobile-menu__toggle:checked+label .bar3{transform:rotate(45deg) translate(-8px,-8px);--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.navbar__mobile-menu{pointer-events:none;visibility:hidden;z-index:0;opacity:0;transition:visibility .1s,opacity .1s linear}.navbar__mobile-menu__toggle:checked~.navbar__mobile-menu{pointer-events:auto;visibility:visible;z-index:20;opacity:1}@media (min-width: 1200px){.navbar__mobile-menu__toggle:checked~.navbar__mobile-menu{pointer-events:none;visibility:hidden;z-index:0;opacity:0}}.newsletter-section{background-size:cover;background-repeat:no-repeat}@media (min-width: 768px){.newsletter-section{background-position:left top}}.region-map__list{-moz-columns:2;columns:2}.region-map__region{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition:all .3s ease-out;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.region-map__region:after{content:"";width:10px;position:absolute;height:10px;background:#fec900;z-index:10}.region-map__region--current{fill:#fec900}@media (min-width: 992px){.faq-answer:nth-child(4n) .faq-answer--content{flex-direction:row-reverse}.faq-answer:nth-child(4n) .faq-answer--person{flex-direction:row-reverse}.faq-answer:nth-child(4n) .faq-answer--person--text{margin-left:-5rem}}.modal__overlay{position:fixed;inset:0;z-index:50;display:flex;cursor:pointer;flex-direction:row;align-items:center;overflow:auto;background-color:rgb(240 240 240 / var(--tw-bg-opacity));--tw-bg-opacity: .75}.modal__content{pointer-events:none;margin:auto;display:inline-block;display:flex;height:100%;max-width:100%;flex-grow:1;cursor:auto;flex-direction:row;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px}.modal__container{pointer-events:auto;height:auto;padding:.75rem}@media (min-width: 768px){.modal__container{padding:0}}.modal__container .modal__container-body{position:relative;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.modal__close{position:absolute;right:0;top:0;z-index:50;margin:auto;display:flex;height:2rem;width:2rem;align-items:center;justify-content:center;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.ReactModal__Body--open{overflow:hidden}.card__body{padding:2rem}.card--hoveractive{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.card--hoveractive:hover{z-index:50}.card-headline{overflow-wrap:break-word;font-family:Roboto Condensed,Helvetica,Arial,sans-serif;font-size:1.3rem;font-weight:700;line-height:1.25}.card-body-text{overflow-wrap:break-word;font-size:.875rem;font-weight:300;line-height:1.5}.card-actions{display:flex;align-items:center;border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(240 240 240 / var(--tw-border-opacity));padding:1rem 2rem}.card-actions--right{justify-content:flex-end}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.\!bottom-\[0\]{bottom:0!important}.bottom-8{bottom:2rem}.left-0{left:0}.left-10{left:2.5rem}.left-8{left:2rem}.left-\[30\%\]{left:30%}.right-\[-60px\]{right:-60px}.top-0{top:0}.top-10{top:2.5rem}.top-\[-1px\]{top:-1px}.top-\[2\.75rem\]{top:2.75rem}.top-\[30\%\]{top:30%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.float-right{float:right}.float-left{float:left}.m-0{margin:0}.m-10{margin:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.\!mb-0{margin-bottom:0!important}.\!mb-16{margin-bottom:4rem!important}.\!ml-0{margin-left:0!important}.\!ml-\[unset\]{margin-left:unset!important}.\!mr-\[unset\]{margin-right:unset!important}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[0\.03rem\]{margin-bottom:.03rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\[-5\.5rem\]{margin-left:-5.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-\[-2rem\]{margin-right:-2rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[-0\.5rem\]{margin-top:-.5rem}.mt-\[-5px\]{margin-top:-5px}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.\!h-0{height:0px!important}.\!h-full{height:100%!important}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-36{height:9rem}.h-5{height:1.25rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-\[17rem\]{height:17rem}.h-\[27rem\]{height:27rem}.h-\[42rem\]{height:42rem}.h-\[600px\]{height:600px}.h-\[700px\]{height:700px}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-px{height:1px}.max-h-\[75px\]{max-height:75px}.min-h-0{min-height:0px}.min-h-\[600px\]{min-height:600px}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[100px\]{width:100px}.w-\[150px\]{width:150px}.w-\[160px\]{width:160px}.w-\[220px\]{width:220px}.w-\[calc\(100vw_-_3rem\)\]{width:calc(100vw - 3rem)}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[9rem\]{min-width:9rem}.min-w-\[calc\(100vw_-_2\.5rem\)\]{min-width:calc(100vw - 2.5rem)}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-\[100\%\]{max-width:100%}.max-w-\[100ch\]{max-width:100ch}.max-w-\[350px\]{max-width:350px}.max-w-\[400px\]{max-width:400px}.max-w-\[550px\]{max-width:550px}.max-w-\[60\%\]{max-width:60%}.max-w-\[600px\]{max-width:600px}.max-w-\[650px\]{max-width:650px}.max-w-\[75px\]{max-width:75px}.max-w-\[unset\]{max-width:unset}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-screen-lg{max-width:992px}.max-w-xl{max-width:36rem}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.content-stretch{align-content:stretch}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-8{gap:2rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-1{row-gap:.25rem}.gap-y-4{row-gap:1rem}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(3rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(3rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-4{border-width:4px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l-0{border-left-width:0px}.border-r-\[27rem\]{border-right-width:27rem}.border-t-\[33rem\]{border-top-width:33rem}.border-t-\[42rem\]{border-top-width:42rem}.border-none{border-style:none}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-grey-180{--tw-border-opacity: 1;border-color:rgb(238 238 238 / var(--tw-border-opacity))}.border-grey-200{--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(249 206 5 / var(--tw-border-opacity))}.border-r-\[transparent\]{border-right-color:transparent}.\!bg-grey-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 243 243 / var(--tw-bg-opacity))!important}.\!bg-grey-180{--tw-bg-opacity: 1 !important;background-color:rgb(238 238 238 / var(--tw-bg-opacity))!important}.bg-\[\#00000088\]{background-color:#0008}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(2 125 168 / var(--tw-bg-opacity))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(87 179 189 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(76 169 113 / var(--tw-bg-opacity))}.bg-grey-100{--tw-bg-opacity: 1;background-color:rgb(243 243 243 / var(--tw-bg-opacity))}.bg-grey-125{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.bg-grey-150{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.bg-grey-175{--tw-bg-opacity: 1;background-color:rgb(208 208 208 / var(--tw-bg-opacity))}.bg-grey-180{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.bg-grey-185{--tw-bg-opacity: 1;background-color:rgb(189 189 189 / var(--tw-bg-opacity))}.bg-grey-200{--tw-bg-opacity: 1;background-color:rgb(173 173 173 / var(--tw-bg-opacity))}.bg-grey-50{--tw-bg-opacity: 1;background-color:rgb(247 247 247 / var(--tw-bg-opacity))}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(237 150 84 / var(--tw-bg-opacity))}.bg-pirati-yellow{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(214 13 83 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(132 0 72 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(255 234 90 / var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-\[top_right_-7rem\]{background-position:top right -7rem}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[200px\]{padding-top:200px;padding-bottom:200px}.\!pl-\[unset\]{padding-left:unset!important}.\!pr-\[unset\]{padding-right:unset!important}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-24{padding-bottom:6rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-4{padding-left:1rem}.pl-7{padding-left:1.75rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-12{padding-top:3rem}.pt-14{padding-top:3.5rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-28{padding-top:7rem}.pt-32{padding-top:8rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-96{padding-top:24rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-alt{font-family:Bebas Neue,Helvetica,Arial,sans-serif}.font-condensed{font-family:Roboto Condensed,Helvetica,Arial,sans-serif}.text-2xl{font-size:1.6rem}.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.45rem}.text-5xl{font-size:3rem}.text-6xl{font-size:4rem}.text-7xl{font-size:5.3rem}.text-8xl{font-size:6.25rem}.text-9xl{font-size:7.5rem}.text-\[3\.25rem\]{font-size:3.25rem}.text-\[3\.5rem\]{font-size:3.5rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-sm{font-size:.875rem}.text-xl{font-size:1.3rem}.text-xs{font-size:.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-10{line-height:2.5rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-\[10\.5rem\]{line-height:10.5rem}.leading-none{line-height:1}.tracking-normal{letter-spacing:0em}.tracking-wide{letter-spacing:.025em}.\!text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\!text-grey-250{--tw-text-opacity: 1 !important;color:rgb(136 136 136 / var(--tw-text-opacity))!important}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-grey-100{--tw-text-opacity: 1;color:rgb(243 243 243 / var(--tw-text-opacity))}.text-grey-185{--tw-text-opacity: 1;color:rgb(189 189 189 / var(--tw-text-opacity))}.text-grey-200{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.text-grey-250{--tw-text-opacity: 1;color:rgb(136 136 136 / var(--tw-text-opacity))}.text-grey-300{--tw-text-opacity: 1;color:rgb(76 76 76 / var(--tw-text-opacity))}.text-grey-350{--tw-text-opacity: 1;color:rgb(79 79 79 / var(--tw-text-opacity))}.text-grey-600{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-orange-300{--tw-text-opacity: 1;color:rgb(237 150 84 / var(--tw-text-opacity))}.text-pirati-yellow{--tw-text-opacity: 1;color:rgb(242 199 0 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(214 13 83 / var(--tw-text-opacity))}.text-turquoise-500{--tw-text-opacity: 1;color:rgb(37 165 185 / var(--tw-text-opacity))}.text-violet-300{--tw-text-opacity: 1;color:rgb(141 65 95 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.\!no-underline{text-decoration-line:none!important}.no-underline{text-decoration-line:none}.decoration-1{text-decoration-thickness:1px}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.bg-blend-darken{background-blend-mode:darken}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.btn.btn--fullwidth,.btn.btn--fullwidth .btn__body-wrap{width:100%;max-width:100%}.btn.btn--fullwidth .btn__body{flex:1}.btn.btn--autowidth{width:auto}@media (min-width: 1200px){.grid-container{grid-template-columns:240px 1fr 102px;grid-template-areas:"left-side content right-side";margin-left:10vw}}@media (min-width: 2060px){.grid-container{margin-left:20vw}}@media (min-width: 1200px){.grid-container.person-grid-container{grid-template-columns:240px 1fr 339px}}.head-alt-xl,.content-block .head-alt-xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:5.3rem;font-weight:400;line-height:.96}.head-alt-lg,.content-block .head-alt-lg{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:4rem;font-weight:400;line-height:.96}.head-alt-md,.content-block .head-alt-md{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:2.45rem;font-weight:400;line-height:.96}.head-alt-base,.content-block .head-alt-base{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;font-weight:400;line-height:.96}.head-alt-sm,.content-block .head-alt-sm{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:400;line-height:.96}.head-alt-xs,.content-block .head-alt-xs{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.3rem;font-weight:400;line-height:.96}.head-alt-2xs,.content-block .head-alt-2xs{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.125rem;font-weight:400;line-height:.96}.head-base,.content-block .head-base{font-size:1.875rem;font-weight:500;line-height:1.25}.head-sm,.content-block .head-sm{font-size:1.6rem;font-weight:500;line-height:1.25}.head-xs,.content-block .head-xs{font-size:1.3rem;font-weight:500;line-height:1.25}.head-2xs,.content-block .head-2xs{font-size:1.125rem;font-weight:500;line-height:1.25}.head-heavy-base,.content-block .head-heavy-base{font-size:1.875rem;font-weight:700;line-height:1.25}.head-heavy-sm,.content-block .head-heavy-sm{font-size:1.6rem;font-weight:700;line-height:1.25}.head-heavy-xs,.content-block .head-heavy-xs{font-size:1.3rem;font-weight:700;line-height:1.25}.head-heavy-2xs,.content-block .head-heavy-2xs{font-size:1.125rem;font-weight:700;line-height:1.25}.head-allcaps-2xs,.content-block .head-allcaps-2xs{font-size:1.125rem;font-weight:400;text-transform:uppercase;line-height:1.25}.head-allcaps-3xs,.content-block .head-allcaps-3xs{font-size:1rem;font-weight:400;text-transform:uppercase;line-height:1.25}.head-allcaps-4xs,.content-block .head-allcaps-4xs{font-size:.875rem;font-weight:400;text-transform:uppercase;line-height:1.25}.head-allcaps-heavy-2xs,.content-block .head-allcaps-heavy-2xs{font-size:1.125rem;font-weight:700;text-transform:uppercase;line-height:1.25}.head-allcaps-heavy-3xs,.content-block .head-allcaps-heavy-3xs{font-size:1rem;font-weight:700;text-transform:uppercase;line-height:1.25}.head-allcaps-heavy-4xs,.content-block .head-allcaps-heavy-4xs{font-size:.875rem;font-weight:700;text-transform:uppercase;line-height:1.25}@media (min-width: 1200px){.switch__item{padding:.5rem 1.25rem}}.faq-answer .faq-answer--person{flex-direction:row-reverse}@media (min-width: 992px){.faq-answer:not(:nth-child(4n)) .faq-answer--person{flex-direction:row}}.slick-track[data-v-e4caeaf8]{position:relative;top:0;left:0;display:block;transform:translateZ(0)}.slick-track.slick-center[data-v-e4caeaf8]{margin-left:auto;margin-right:auto}.slick-track[data-v-e4caeaf8]:after,.slick-track[data-v-e4caeaf8]:before{display:table;content:""}.slick-track[data-v-e4caeaf8]:after{clear:both}.slick-loading .slick-track[data-v-e4caeaf8]{visibility:hidden}.slick-slide[data-v-e4caeaf8]{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide[data-v-e4caeaf8]{float:right}.slick-slide img[data-v-e4caeaf8]{display:block}.slick-slide.slick-loading img[data-v-e4caeaf8]{display:none}.slick-slide.dragging img[data-v-e4caeaf8]{pointer-events:none}.slick-initialized .slick-slide[data-v-e4caeaf8]{display:block}.slick-loading .slick-slide[data-v-e4caeaf8]{visibility:hidden}.slick-vertical .slick-slide[data-v-e4caeaf8]{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden[data-v-21137603]{display:none}.slick-slider[data-v-3d1a4f76]{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list[data-v-3d1a4f76]{position:relative;display:block;overflow:hidden;margin:0;padding:0;transform:translateZ(0)}.slick-list[data-v-3d1a4f76]:focus{outline:none}.slick-list.dragging[data-v-3d1a4f76]{cursor:pointer;cursor:hand}::-moz-selection{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));background:#f9ce05}::selection{background:#f9ce05}:root{font-size:16px}html{scroll-behavior:smooth}body{font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1rem}a:hover{text-decoration-line:underline}a.icon-link:hover{text-decoration-line:none}a.icon-link:hover span{text-decoration-line:underline}[v-cloak]{display:none}.copyleft{transform:scaleX(-1)!important}.inline-block-nogap{font-size:0}.iframe-container{position:relative;padding-bottom:56.25%;height:0}.iframe-container iframe{position:absolute;top:0;left:0;height:100%;width:100%}.hide-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbar::-webkit-scrollbar{background:transparent;width:0px}.universal-content-container{margin-top:6rem!important;margin-bottom:2rem!important;padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1400px}@media (min-width: 1200px){.universal-content-container{margin-top:10rem!important}}.universal-content-container-small{margin-top:6rem!important;margin-bottom:2rem!important;padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1400px}@media (min-width: 1200px){.universal-content-container-small{margin-top:8rem!important}}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\:bg-grey-125:hover{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.hover\:bg-grey-175:hover{--tw-bg-opacity: 1;background-color:rgb(208 208 208 / var(--tw-bg-opacity))}.hover\:bg-grey-600:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.hover\:bg-pirati-yellow:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:no-underline:hover{text-decoration-line:none}.group:hover .group-hover\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\:-translate-x-2{--tw-translate-x: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-yellow-600{--tw-border-opacity: 1;border-color:rgb(215 177 3 / var(--tw-border-opacity))}.group:hover .group-hover\:text-8xl{font-size:6.25rem}.group:hover .group-hover\:underline{text-decoration-line:underline}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:blur-sm{--tw-blur: blur(4px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 576px){.sm\:w-5\/12{width:41.666667%}.sm\:w-6\/12{width:50%}.sm\:max-w-full{max-width:100%}.sm\:text-4xl{font-size:2.45rem}.sm\:btn--autowidth.btn{width:auto}}@media (min-width: 768px){.md\:col-span-1{grid-column:span 1 / span 1}.md\:col-span-2{grid-column:span 2 / span 2}.md\:mb-16{margin-bottom:4rem}.md\:mb-6{margin-bottom:1.5rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:w-96{width:24rem}.md\:shrink-0{flex-shrink:0}.md\:auto-rows-auto{grid-auto-rows:auto}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:justify-end{justify-content:flex-end}.md\:justify-between{justify-content:space-between}.md\:gap-8{gap:2rem}.md\:gap-x-14{-moz-column-gap:3.5rem;column-gap:3.5rem}.md\:gap-y-5{row-gap:1.25rem}.md\:pr-0{padding-right:0}.md\:text-2xl{font-size:1.6rem}.md\:text-4xl{font-size:2.45rem}.md\:text-base{font-size:1rem}}@media (min-width: 992px){.lg\:float-right{float:right}.lg\:float-left{float:left}.lg\:mx-8{margin-left:2rem;margin-right:2rem}.lg\:my-12{margin-top:3rem;margin-bottom:3rem}.lg\:my-4{margin-top:1rem;margin-bottom:1rem}.lg\:mb-12{margin-bottom:3rem}.lg\:mb-16{margin-bottom:4rem}.lg\:mb-3{margin-bottom:.75rem}.lg\:ml-0{margin-left:0}.lg\:ml-6{margin-left:1.5rem}.lg\:ml-auto{margin-left:auto}.lg\:mt-0{margin-top:0}.lg\:mt-\[-1rem\]{margin-top:-1rem}.lg\:block{display:block}.lg\:inline{display:inline}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:h-96{height:24rem}.lg\:h-\[33rem\]{height:33rem}.lg\:h-max{height:-moz-max-content;height:max-content}.lg\:\!w-full{width:100%!important}.lg\:w-1\/2{width:50%}.lg\:w-2\/5{width:40%}.lg\:w-3\/5{width:60%}.lg\:w-5\/12{width:41.666667%}.lg\:w-96{width:24rem}.lg\:w-\[180px\]{width:180px}.lg\:w-\[190px\]{width:190px}.lg\:w-\[280px\]{width:280px}.lg\:w-\[35rem\]{width:35rem}.lg\:w-\[unset\]{width:unset}.lg\:w-auto{width:auto}.lg\:min-w-\[15rem\]{min-width:15rem}.lg\:min-w-\[24rem\]{min-width:24rem}.lg\:max-w-screen-lg{max-width:992px}.lg\:grow-0{flex-grow:0}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:basis-2\/3{flex-basis:66.666667%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}.lg\:flex-nowrap{flex-wrap:nowrap}.lg\:items-center{align-items:center}.lg\:justify-start{justify-content:flex-start}.lg\:justify-between{justify-content:space-between}.lg\:gap-2{gap:.5rem}.lg\:gap-4{gap:1rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-8{gap:2rem}.lg\:overflow-x-hidden{overflow-x:hidden}.lg\:overflow-x-visible{overflow-x:visible}.lg\:py-16{padding-top:4rem;padding-bottom:4rem}.lg\:text-justify{text-align:justify}.lg\:text-6xl{font-size:4rem}.lg\:text-\[5\.5rem\]{font-size:5.5rem}.lg\:text-base{font-size:1rem}}@media (min-width: 1200px){.xl\:absolute{position:absolute}.xl\:col-span-1{grid-column:span 1 / span 1}.xl\:col-span-3{grid-column:span 3 / span 3}.xl\:m-0{margin:0}.xl\:my-10{margin-top:2.5rem;margin-bottom:2.5rem}.xl\:mb-0{margin-bottom:0}.xl\:mb-12{margin-bottom:3rem}.xl\:mb-20{margin-bottom:5rem}.xl\:mb-24{margin-bottom:6rem}.xl\:mb-32{margin-bottom:8rem}.xl\:mb-6{margin-bottom:1.5rem}.xl\:mb-8{margin-bottom:2rem}.xl\:mr-12{margin-right:3rem}.xl\:mr-2{margin-right:.5rem}.xl\:mt-2{margin-top:.5rem}.xl\:mt-\[-0\.7rem\]{margin-top:-.7rem}.xl\:mt-\[-1rem\]{margin-top:-1rem}.xl\:block{display:block}.xl\:inline{display:inline}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:h-14{height:3.5rem}.xl\:h-\[600px\]{height:600px}.xl\:h-\[620px\]{height:620px}.xl\:h-\[696px\]{height:696px}.xl\:h-screen{height:100vh}.xl\:w-1\/2{width:50%}.xl\:w-14{width:3.5rem}.xl\:w-60{width:15rem}.xl\:w-auto{width:auto}.xl\:shrink-0{flex-shrink:0}.xl\:grow-0{flex-grow:0}.xl\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-col{flex-direction:column}.xl\:items-start{align-items:flex-start}.xl\:items-end{align-items:flex-end}.xl\:items-center{align-items:center}.xl\:justify-start{justify-content:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:gap-0{gap:0px}.xl\:gap-12{gap:3rem}.xl\:gap-16{gap:4rem}.xl\:gap-4{gap:1rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-8{gap:2rem}.xl\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.xl\:justify-self-end{justify-self:end}.xl\:bg-transparent{background-color:transparent}.xl\:bg-center{background-position:center}.xl\:p-12{padding:3rem}.xl\:px-0{padding-left:0;padding-right:0}.xl\:px-3{padding-left:.75rem;padding-right:.75rem}.xl\:px-5{padding-left:1.25rem;padding-right:1.25rem}.xl\:px-8{padding-left:2rem;padding-right:2rem}.xl\:py-0{padding-top:0;padding-bottom:0}.xl\:py-24{padding-top:6rem;padding-bottom:6rem}.xl\:py-4{padding-top:1rem;padding-bottom:1rem}.xl\:py-5{padding-top:1.25rem;padding-bottom:1.25rem}.xl\:py-52{padding-top:13rem;padding-bottom:13rem}.xl\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.xl\:py-8{padding-top:2rem;padding-bottom:2rem}.xl\:pb-16{padding-bottom:4rem}.xl\:pb-20{padding-bottom:5rem}.xl\:pb-24{padding-bottom:6rem}.xl\:pb-\[110px\]{padding-bottom:110px}.xl\:pl-32{padding-left:8rem}.xl\:pl-8{padding-left:2rem}.xl\:pr-0{padding-right:0}.xl\:pr-3{padding-right:.75rem}.xl\:pr-4{padding-right:1rem}.xl\:pr-40{padding-right:10rem}.xl\:pt-1{padding-top:.25rem}.xl\:pt-16{padding-top:4rem}.xl\:pt-32{padding-top:8rem}.xl\:pt-48{padding-top:12rem}.xl\:pt-6{padding-top:1.5rem}.xl\:pt-8{padding-top:2rem}.xl\:text-14xl{font-size:10.6rem}.xl\:text-3xl{font-size:1.875rem}.xl\:text-4xl{font-size:2.45rem}.xl\:text-7xl{font-size:5.3rem}.xl\:text-9xl{font-size:7.5rem}.xl\:text-lg{font-size:1.125rem}.xl\:text-xl{font-size:1.3rem}.xl\:leading-\[10\.5rem\]{line-height:10.5rem}.xl\:\[flex-flow\:column_wrap\]{flex-flow:column wrap}.xl\:\[writing-mode\:vertical-rl\]{writing-mode:vertical-rl}}@media (min-width: 1366px){.\32xl\:h-\[550px\]{height:550px}.\32xl\:h-\[646px\]{height:646px}.\32xl\:text-\[6\.5rem\]{font-size:6.5rem}}@media (min-width: 1600px){.\32\.5xl\:ml-\[-10rem\]{margin-left:-10rem}}@media (min-width: 2060px){.\33xl\:text-lg{font-size:1.125rem}}.\[\&\>div\.content-block\>p\:first-child\]\:mt-0>div.content-block>p:first-child{margin-top:0}.\[\&_\*\]\:mx-auto *{margin-left:auto;margin-right:auto}.\[\&_\*\]\:ml-auto *{margin-left:auto}.\[\&_\*\]\:mr-auto *{margin-right:auto}.\[\&_\*\]\:mt-0 *{margin-top:0}.\[\&_\*\]\:\!gap-0 *{gap:0px!important}.\[\&_\*\]\:\!p-0 *{padding:0!important}.\[\&_\*\]\:\!text-\[0rem\] *{font-size:0rem!important}.\[\&_\*\]\:\!leading-\[0px\] *{line-height:0px!important}.\[\&_\*\]\:\!text-grey-250 *{--tw-text-opacity: 1 !important;color:rgb(136 136 136 / var(--tw-text-opacity))!important}.\[\&_\*\]\:\!text-white *{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_\*\]\:\!delay-0 *{transition-delay:0s!important}.\[\&_\*\]\:\!duration-0 *{transition-duration:0s!important}.\[\&_\.content-block\]\:flex .content-block{display:flex}.\[\&_\.content-block\]\:flex-col .content-block{flex-direction:column}.\[\&_\.content-block\]\:gap-4 .content-block{gap:1rem}.\[\&_\>_th\]\:py-2>th{padding-top:.5rem;padding-bottom:.5rem}.\[\&_a\]\:underline a{text-decoration-line:underline}.\[\&_h1\]\:\!text-black h1{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h1\]\:\!text-white h1{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h2\]\:\!text-black h2{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h2\]\:\!text-white h2{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h3\]\:\!text-black h3{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h3\]\:\!text-white h3{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h4\]\:\!text-black h4{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h4\]\:\!text-white h4{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h5\]\:\!text-black h5{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h5\]\:\!text-white h5{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h6\]\:\!text-black h6{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h6\]\:\!text-white h6{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_p\]\:my-0 p{margin-top:0;margin-bottom:0}.\[\&_p\]\:whitespace-pre-line p{white-space:pre-line}.\[\&_p\]\:py-0 p{padding-top:0;padding-bottom:0}.\[\&_p\]\:\!text-lg p{font-size:1.125rem!important}.\[\&_p\]\:text-lg p{font-size:1.125rem}.\[\&_p\]\:leading-7 p{line-height:1.75rem}.\[\&_p\]\:\!text-black p{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_p\]\:\!text-white p{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_p\]\:text-black p{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.\[\&_p\]\:delay-300 p{transition-delay:.3s}.\[\&_p\]\:duration-150 p{transition-duration:.15s}.\[\&_td\]\:py-2 td{padding-top:.5rem;padding-bottom:.5rem}.\[\&_td\]\:align-middle td{vertical-align:middle}.\[\&_tr\:nth-child\(even\)\]\:bg-grey-50 tr:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(247 247 247 / var(--tw-bg-opacity))}:root{--f-spinner-width: 36px;--f-spinner-height: 36px;--f-spinner-color-1: rgba(0, 0, 0, .1);--f-spinner-color-2: rgba(17, 24, 28, .8);--f-spinner-stroke: 2.75}.f-spinner{margin:auto;padding:0;width:var(--f-spinner-width);height:var(--f-spinner-height)}.f-spinner svg{width:100%;height:100%;vertical-align:top;animation:f-spinner-rotate 2s linear infinite}.f-spinner svg *{stroke-width:var(--f-spinner-stroke);fill:none}.f-spinner svg *:first-child{stroke:var(--f-spinner-color-1)}.f-spinner svg *:last-child{stroke:var(--f-spinner-color-2);animation:f-spinner-dash 2s ease-in-out infinite}@keyframes f-spinner-rotate{to{transform:rotate(360deg)}}@keyframes f-spinner-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.f-throwOutUp{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutUp}.f-throwOutDown{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutDown}@keyframes f-throwOutUp{to{transform:translate3d(0,calc(var(--f-throw-out-distance, 150px) * -1),0);opacity:0}}@keyframes f-throwOutDown{to{transform:translate3d(0,var(--f-throw-out-distance, 150px),0);opacity:0}}.f-zoomInUp{animation:var(--f-transition-duration, .2s) ease .1s both f-zoomInUp}.f-zoomOutDown{animation:var(--f-transition-duration, .2s) ease both f-zoomOutDown}@keyframes f-zoomInUp{0%{transform:scale(.975) translate3d(0,16px,0);opacity:0}to{transform:scale(1) translateZ(0);opacity:1}}@keyframes f-zoomOutDown{to{transform:scale(.975) translate3d(0,16px,0);opacity:0}}.f-fadeIn{animation:var(--f-transition-duration, .2s) var(--f-transition-easing, ease) var(--f-transition-delay, 0s) both f-fadeIn;z-index:2}.f-fadeOut{animation:var(--f-transition-duration, .2s) var(--f-transition-easing, ease) var(--f-transition-delay, 0s) both f-fadeOut;z-index:1}@keyframes f-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeOut{to{opacity:0}}.f-fadeFastIn{animation:var(--f-transition-duration, .2s) ease-out both f-fadeFastIn;z-index:2}.f-fadeFastOut{animation:var(--f-transition-duration, .1s) ease-out both f-fadeFastOut;z-index:2}@keyframes f-fadeFastIn{0%{opacity:.75}to{opacity:1}}@keyframes f-fadeFastOut{to{opacity:0}}.f-fadeSlowIn{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowIn;z-index:2}.f-fadeSlowOut{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowOut;z-index:1}@keyframes f-fadeSlowIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeSlowOut{to{opacity:0}}.f-crossfadeIn{animation:var(--f-transition-duration, .2s) ease-out both f-crossfadeIn;z-index:2}.f-crossfadeOut{animation:calc(var(--f-transition-duration, .2s)*.5) linear .1s both f-crossfadeOut;z-index:1}@keyframes f-crossfadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-crossfadeOut{to{opacity:0}}.f-slideIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInNext}.f-slideIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInPrev}.f-slideOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutNext}.f-slideOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutPrev}@keyframes f-slideInPrev{0%{transform:translate(100%)}to{transform:translateZ(0)}}@keyframes f-slideInNext{0%{transform:translate(-100%)}to{transform:translateZ(0)}}@keyframes f-slideOutNext{to{transform:translate(-100%)}}@keyframes f-slideOutPrev{to{transform:translate(100%)}}.f-classicIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInNext;z-index:2}.f-classicIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInPrev;z-index:2}.f-classicOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutNext;z-index:1}.f-classicOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutPrev;z-index:1}@keyframes f-classicInNext{0%{transform:translate(-75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicInPrev{0%{transform:translate(75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicOutNext{to{transform:translate(-75px);opacity:0}}@keyframes f-classicOutPrev{to{transform:translate(75px);opacity:0}}:root{--f-button-width: 40px;--f-button-height: 40px;--f-button-border: 0;--f-button-border-radius: 0;--f-button-color: #374151;--f-button-bg: #f8f8f8;--f-button-hover-bg: #e0e0e0;--f-button-active-bg: #d0d0d0;--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 20px;--f-button-svg-height: 20px;--f-button-svg-stroke-width: 1.5;--f-button-svg-fill: none;--f-button-svg-filter: none;--f-button-svg-disabled-opacity: .65}.f-button{display:flex;justify-content:center;align-items:center;box-sizing:content-box;position:relative;margin:0;padding:0;width:var(--f-button-width);height:var(--f-button-height);border:var(--f-button-border);border-radius:var(--f-button-border-radius);color:var(--f-button-color);background:var(--f-button-bg);box-shadow:var(--f-button-shadow);pointer-events:all;cursor:pointer;transition:var(--f-button-transition)}@media (hover: hover){.f-button:hover:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}}.f-button:active:not([disabled]){background-color:var(--f-button-active-bg)}.f-button:focus:not(:focus-visible){outline:none}.f-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--f-button-outline, 2px) var(--f-button-outline-color, var(--f-button-color))}.f-button svg{width:var(--f-button-svg-width);height:var(--f-button-svg-height);fill:var(--f-button-svg-fill);stroke:currentColor;stroke-width:var(--f-button-svg-stroke-width);stroke-linecap:round;stroke-linejoin:round;transition:opacity .15s ease;transform:var(--f-button-transform);filter:var(--f-button-svg-filter);pointer-events:none}.f-button[disabled]{cursor:default}.f-button[disabled] svg{opacity:var(--f-button-svg-disabled-opacity)}.f-carousel__nav .f-button.is-prev,.f-carousel__nav .f-button.is-next,.fancybox__nav .f-button.is-prev,.fancybox__nav .f-button.is-next{position:absolute;z-index:1}.is-horizontal .f-carousel__nav .f-button.is-prev,.is-horizontal .f-carousel__nav .f-button.is-next,.is-horizontal .fancybox__nav .f-button.is-prev,.is-horizontal .fancybox__nav .f-button.is-next{top:50%;transform:translateY(-50%)}.is-horizontal .f-carousel__nav .f-button.is-prev,.is-horizontal .fancybox__nav .f-button.is-prev{left:var(--f-button-prev-pos)}.is-horizontal .f-carousel__nav .f-button.is-next,.is-horizontal .fancybox__nav .f-button.is-next{right:var(--f-button-next-pos)}.is-horizontal.is-rtl .f-carousel__nav .f-button.is-prev,.is-horizontal.is-rtl .fancybox__nav .f-button.is-prev{left:auto;right:var(--f-button-next-pos)}.is-horizontal.is-rtl .f-carousel__nav .f-button.is-next,.is-horizontal.is-rtl .fancybox__nav .f-button.is-next{right:auto;left:var(--f-button-prev-pos)}.is-vertical .f-carousel__nav .f-button.is-prev,.is-vertical .f-carousel__nav .f-button.is-next,.is-vertical .fancybox__nav .f-button.is-prev,.is-vertical .fancybox__nav .f-button.is-next{top:auto;left:50%;transform:translate(-50%)}.is-vertical .f-carousel__nav .f-button.is-prev,.is-vertical .fancybox__nav .f-button.is-prev{top:var(--f-button-next-pos)}.is-vertical .f-carousel__nav .f-button.is-next,.is-vertical .fancybox__nav .f-button.is-next{bottom:var(--f-button-next-pos)}.is-vertical .f-carousel__nav .f-button.is-prev svg,.is-vertical .f-carousel__nav .f-button.is-next svg,.is-vertical .fancybox__nav .f-button.is-prev svg,.is-vertical .fancybox__nav .f-button.is-next svg{transform:rotate(90deg)}.f-carousel__nav .f-button:disabled,.fancybox__nav .f-button:disabled{pointer-events:none}html.with-fancybox{width:auto;overflow:visible;scroll-behavior:auto}html.with-fancybox body{touch-action:none}html.with-fancybox body.hide-scrollbar{width:auto;margin-right:calc(var(--fancybox-body-margin, 0px) + var(--fancybox-scrollbar-compensate, 0px));overflow:hidden!important;overscroll-behavior-y:none}.fancybox__container{--fancybox-color: #dbdbdb;--fancybox-hover-color: #fff;--fancybox-bg: rgba(24, 24, 27, .98);--fancybox-slide-gap: 10px;--f-spinner-width: 50px;--f-spinner-height: 50px;--f-spinner-color-1: rgba(255, 255, 255, .1);--f-spinner-color-2: #bbb;--f-spinner-stroke: 3.65;position:fixed;inset:0;direction:ltr;display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:0;color:#f8f8f8;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:visible;z-index:var(--fancybox-zIndex, 1050);outline:none;transform-origin:top left;-webkit-text-size-adjust:100%;-moz-text-size-adjust:none;text-size-adjust:100%;overscroll-behavior-y:contain}.fancybox__container *,.fancybox__container *:before,.fancybox__container *:after{box-sizing:inherit}.fancybox__container::backdrop{background-color:#0000}.fancybox__backdrop{position:fixed;inset:0;z-index:-1;background:var(--fancybox-bg);opacity:var(--fancybox-opacity, 1);will-change:opacity}.fancybox__carousel{position:relative;box-sizing:border-box;flex:1;min-height:0;z-index:10;overflow-y:visible;overflow-x:clip}.fancybox__viewport{width:100%;height:100%}.fancybox__viewport.is-draggable{cursor:move;cursor:grab}.fancybox__viewport.is-dragging{cursor:move;cursor:grabbing}.fancybox__track{display:flex;margin:0 auto;height:100%}.fancybox__slide{flex:0 0 auto;position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;margin:0 var(--fancybox-slide-gap) 0 0;padding:4px;overflow:auto;overscroll-behavior:contain;transform:translateZ(0);backface-visibility:hidden}.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn{padding-top:40px}.fancybox__slide.has-iframe,.fancybox__slide.has-video,.fancybox__slide.has-html5video,.fancybox__slide.has-image{overflow:hidden}.fancybox__slide.has-image.is-animating,.fancybox__slide.has-image.is-selected{overflow:visible}.fancybox__slide:before,.fancybox__slide:after{content:"";flex:0 0 0;margin:auto}.fancybox__backdrop:empty,.fancybox__viewport:empty,.fancybox__track:empty,.fancybox__slide:empty{display:block}.fancybox__content{align-self:center;display:flex;flex-direction:column;position:relative;margin:0;padding:2rem;max-width:100%;color:var(--fancybox-content-color, #374151);background:var(--fancybox-content-bg, #fff);cursor:default;border-radius:0;z-index:20}.is-loading .fancybox__content{opacity:0}.is-draggable .fancybox__content{cursor:move;cursor:grab}.can-zoom_in .fancybox__content{cursor:zoom-in}.can-zoom_out .fancybox__content{cursor:zoom-out}.is-dragging .fancybox__content{cursor:move;cursor:grabbing}.fancybox__content [data-selectable],.fancybox__content [contenteditable]{cursor:auto}.fancybox__slide.has-image>.fancybox__content{padding:0;background:#0000;min-height:1px;background-repeat:no-repeat;background-size:contain;background-position:center center;transition:none;transform:translateZ(0);backface-visibility:hidden}.fancybox__slide.has-image>.fancybox__content>picture>img{width:100%;height:auto;max-height:100%}.is-animating .fancybox__content,.is-dragging .fancybox__content{will-change:transform,width,height}.fancybox-image{margin:auto;display:block;width:100%;height:100%;min-height:0;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;filter:blur(0px)}.fancybox__caption{align-self:center;max-width:100%;flex-shrink:0;margin:0;padding:14px 0 4px;overflow-wrap:anywhere;line-height:1.375;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);cursor:auto;visibility:visible}.is-loading .fancybox__caption,.is-closing .fancybox__caption{opacity:0;visibility:hidden}.is-compact .fancybox__caption{padding-bottom:0}.f-button.is-close-btn{--f-button-svg-stroke-width: 2;position:absolute;top:0;right:8px;z-index:40}.fancybox__content>.f-button.is-close-btn{--f-button-width: 34px;--f-button-height: 34px;--f-button-border-radius: 4px;--f-button-color: var(--fancybox-color, #fff);--f-button-hover-color: var(--fancybox-color, #fff);--f-button-bg: transparent;--f-button-hover-bg: transparent;--f-button-active-bg: transparent;--f-button-svg-width: 22px;--f-button-svg-height: 22px;position:absolute;top:-38px;right:0;opacity:.75}.is-loading .fancybox__content>.f-button.is-close-btn{visibility:hidden}.is-zooming-out .fancybox__content>.f-button.is-close-btn{visibility:hidden}.fancybox__content>.f-button.is-close-btn:hover{opacity:1}.fancybox__footer{padding:0;margin:0;position:relative}.fancybox__footer .fancybox__caption{width:100%;padding:24px;opacity:var(--fancybox-opacity, 1);transition:all .25s ease}.is-compact .fancybox__footer{position:absolute;bottom:0;left:0;right:0;z-index:20;background:#18181b80}.is-compact .fancybox__footer .fancybox__caption{padding:12px}.is-compact .fancybox__content>.f-button.is-close-btn{--f-button-border-radius: 50%;--f-button-color: #fff;--f-button-hover-color: #fff;--f-button-outline-color: #000;--f-button-bg: rgba(0, 0, 0, .6);--f-button-active-bg: rgba(0, 0, 0, .6);--f-button-hover-bg: rgba(0, 0, 0, .6);--f-button-svg-width: 18px;--f-button-svg-height: 18px;--f-button-svg-filter: none;top:5px;right:5px}.fancybox__nav{--f-button-width: 50px;--f-button-height: 50px;--f-button-border: 0;--f-button-border-radius: 50%;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: transparent;--f-button-hover-bg: rgba(24, 24, 27, .3);--f-button-active-bg: rgba(24, 24, 27, .5);--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 26px;--f-button-svg-height: 26px;--f-button-svg-stroke-width: 2.5;--f-button-svg-fill: none;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .5));--f-button-svg-disabled-opacity: .65;--f-button-next-pos: 1rem;--f-button-prev-pos: 1rem;opacity:var(--fancybox-opacity, 1)}.fancybox__nav .f-button:before{position:absolute;content:"";inset:-30px -20px;z-index:1}.is-idle .fancybox__nav{animation:.15s ease-out both f-fadeOut}.is-idle.is-compact .fancybox__footer{pointer-events:none;animation:.15s ease-out both f-fadeOut}.fancybox__slide>.f-spinner{position:absolute;top:50%;left:50%;margin:var(--f-spinner-top, calc(var(--f-spinner-width) * -.5)) 0 0 var(--f-spinner-left, calc(var(--f-spinner-height) * -.5));z-index:30;cursor:pointer}.fancybox-protected{position:absolute;inset:0;z-index:40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fancybox-ghost{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;-o-object-fit:contain;object-fit:contain;z-index:40;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.fancybox-focus-guard{outline:none;opacity:0;position:fixed;pointer-events:none}.fancybox__container:not([aria-hidden]){opacity:0}.fancybox__container.is-animated[aria-hidden=false]>*:not(.fancybox__backdrop,.fancybox__carousel),.fancybox__container.is-animated[aria-hidden=false] .fancybox__carousel>*:not(.fancybox__viewport),.fancybox__container.is-animated[aria-hidden=false] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-enter-duration, .25s) ease .1s backwards f-fadeIn}.fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop{animation:var(--f-backdrop-enter-duration, .35s) ease backwards f-fadeIn}.fancybox__container.is-animated[aria-hidden=true]>*:not(.fancybox__backdrop,.fancybox__carousel),.fancybox__container.is-animated[aria-hidden=true] .fancybox__carousel>*:not(.fancybox__viewport),.fancybox__container.is-animated[aria-hidden=true] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-exit-duration, .15s) ease forwards f-fadeOut}.fancybox__container.is-animated[aria-hidden=true] .fancybox__backdrop{animation:var(--f-backdrop-exit-duration, .35s) ease forwards f-fadeOut}.has-iframe .fancybox__content,.has-map .fancybox__content,.has-pdf .fancybox__content,.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{max-width:100%;flex-shrink:1;min-height:1px;overflow:visible}.has-iframe .fancybox__content,.has-map .fancybox__content,.has-pdf .fancybox__content{width:calc(100% - 120px);height:90%}.fancybox__container.is-compact .has-iframe .fancybox__content,.fancybox__container.is-compact .has-map .fancybox__content,.fancybox__container.is-compact .has-pdf .fancybox__content{width:100%;height:100%}.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}.has-map .fancybox__content,.has-pdf .fancybox__content,.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{padding:0;background:#18181be6;color:#fff}.has-map .fancybox__content{background:#e5e3df}.fancybox__html5video,.fancybox__iframe{border:0;display:block;height:100%;width:100%;background:#0000}.fancybox-placeholder{border:0!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}.f-carousel__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-outline: 0;--f-thumb-outline-color: #5eb0ef;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1;--f-thumb-border-radius: 2px;--f-thumb-offset: 0px;--f-button-next-pos: 0;--f-button-prev-pos: 0}.f-carousel__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1}.f-carousel__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px}.f-thumbs{position:relative;flex:0 0 auto;margin:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;user-select:none;perspective:1000px;transform:translateZ(0)}.f-thumbs .f-spinner{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;background-image:linear-gradient(#ebeff2,#e2e8f0);z-index:-1}.f-thumbs .f-spinner svg{display:none}.f-thumbs.is-vertical{height:100%}.f-thumbs__viewport{width:100%;height:auto;overflow:hidden;transform:translateZ(0)}.f-thumbs__track{display:flex}.f-thumbs__slide{position:relative;flex:0 0 auto;box-sizing:content-box;display:flex;align-items:center;justify-content:center;padding:0;margin:0;width:var(--f-thumb-width);height:var(--f-thumb-height);overflow:visible;cursor:pointer}.f-thumbs__slide.is-loading img{opacity:0}.is-classic .f-thumbs__viewport{height:100%}.is-modern .f-thumbs__track{width:-moz-max-content;width:max-content}.is-modern .f-thumbs__track:before{content:"";position:absolute;top:0;bottom:0;left:calc((var(--f-thumb-clip-width, 0))*-.5);width:calc(var(--width, 0)*1px + var(--f-thumb-clip-width, 0));cursor:pointer}.is-modern .f-thumbs__slide{width:var(--f-thumb-clip-width);transform:translate3d(calc(var(--shift, 0) * -1px),0,0);transition:none;pointer-events:none}.is-modern.is-resting .f-thumbs__slide{transition:transform .33s ease}.is-modern.is-resting .f-thumbs__slide__button{transition:clip-path .33s ease}.is-using-tab .is-modern .f-thumbs__slide:focus-within{filter:drop-shadow(-1px 0px 0px var(--f-thumb-outline-color)) drop-shadow(2px 0px 0px var(--f-thumb-outline-color)) drop-shadow(0px -1px 0px var(--f-thumb-outline-color)) drop-shadow(0px 2px 0px var(--f-thumb-outline-color))}.f-thumbs__slide__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:var(--f-thumb-width);height:100%;margin:0 -100%;padding:0;border:0;position:relative;border-radius:var(--f-thumb-border-radius);overflow:hidden;background:#0000;outline:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;opacity:var(--f-thumb-opacity);transition:opacity .2s ease}.f-thumbs__slide__button:hover{opacity:var(--f-thumb-hover-opacity)}.f-thumbs__slide__button:focus:not(:focus-visible){outline:none}.f-thumbs__slide__button:focus-visible{outline:none;opacity:var(--f-thumb-selected-opacity)}.is-modern .f-thumbs__slide__button{--clip-path: inset( 0 calc( ((var(--f-thumb-width, 0) - var(--f-thumb-clip-width, 0))) * (1 - var(--progress, 0)) * .5 ) round var(--f-thumb-border-radius, 0) );clip-path:var(--clip-path)}.is-classic .is-nav-selected .f-thumbs__slide__button{opacity:var(--f-thumb-selected-opacity)}.is-classic .is-nav-selected .f-thumbs__slide__button:after{content:"";position:absolute;inset:0;height:auto;border:var(--f-thumb-outline, 0) solid var(--f-thumb-outline-color, transparent);border-radius:var(--f-thumb-border-radius);animation:f-fadeIn .2s ease-out;z-index:10}.f-thumbs__slide__img{overflow:hidden;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:var(--f-thumb-offset);box-sizing:border-box;pointer-events:none;-o-object-fit:cover;object-fit:cover;border-radius:var(--f-thumb-border-radius)}.f-thumbs.is-horizontal .f-thumbs__track{padding:8px 0 12px}.f-thumbs.is-horizontal .f-thumbs__slide{margin:0 var(--f-thumb-gap) 0 0}.f-thumbs.is-vertical .f-thumbs__track{flex-wrap:wrap;padding:0 8px}.f-thumbs.is-vertical .f-thumbs__slide{margin:0 0 var(--f-thumb-gap) 0}.fancybox__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-border-radius: 2px;--f-thumb-outline: 2px;--f-thumb-outline-color: #ededed;position:relative;opacity:var(--fancybox-opacity, 1);transition:max-height .35s cubic-bezier(.23,1,.32,1)}.fancybox__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1}.fancybox__thumbs.is-classic .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}.fancybox__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1}.fancybox__thumbs.is-modern .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}.fancybox__thumbs.is-horizontal{padding:0 var(--f-thumb-gap)}.fancybox__thumbs.is-vertical{padding:var(--f-thumb-gap) 0}.is-compact .fancybox__thumbs{--f-thumb-width: 64px;--f-thumb-clip-width: 32px;--f-thumb-height: 48px;--f-thumb-extra-gap: 10px}.fancybox__thumbs.is-masked{max-height:0px!important}.is-closing .fancybox__thumbs{transition:none!important}.fancybox__toolbar{--f-progress-color: var(--fancybox-color, rgba(255, 255, 255, .94));--f-button-width: 46px;--f-button-height: 46px;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: rgba(24, 24, 27, .65);--f-button-hover-bg: rgba(70, 70, 73, .65);--f-button-active-bg: rgba(90, 90, 93, .65);--f-button-border-radius: 0;--f-button-svg-width: 24px;--f-button-svg-height: 24px;--f-button-svg-stroke-width: 1.5;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .15));--f-button-svg-fill: none;--f-button-svg-disabled-opacity: .65;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI Adjusted,Segoe UI,Liberation Sans,sans-serif;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);text-shadow:var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, .5));pointer-events:none;z-index:20}.fancybox__toolbar :focus-visible{z-index:1}.fancybox__toolbar.is-absolute,.is-compact .fancybox__toolbar{position:absolute;top:0;left:0;right:0}.is-idle .fancybox__toolbar{pointer-events:none;animation:.15s ease-out both f-fadeOut}.fancybox__toolbar__column{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start}.fancybox__toolbar__column.is-left,.fancybox__toolbar__column.is-right{flex-grow:1;flex-basis:0}.fancybox__toolbar__column.is-right{display:flex;justify-content:flex-end;flex-wrap:nowrap}.fancybox__infobar{padding:0 5px;line-height:var(--f-button-height);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fancybox__infobar span{padding:0 5px}.fancybox__infobar:not(:first-child):not(:last-child){background:var(--f-button-bg)}[data-fancybox-toggle-slideshow]{position:relative}[data-fancybox-toggle-slideshow] .f-progress{height:100%;opacity:.3}[data-fancybox-toggle-slideshow] svg g:first-child{display:flex}[data-fancybox-toggle-slideshow] svg g:last-child{display:none}.has-slideshow [data-fancybox-toggle-slideshow] svg g:first-child{display:none}.has-slideshow [data-fancybox-toggle-slideshow] svg g:last-child{display:flex}[data-fancybox-toggle-fullscreen] svg g:first-child{display:flex}[data-fancybox-toggle-fullscreen] svg g:last-child{display:none}:fullscreen [data-fancybox-toggle-fullscreen] svg g:first-child{display:none}:fullscreen [data-fancybox-toggle-fullscreen] svg g:last-child{display:flex}.f-progress{position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;background:var(--f-progress-color, var(--f-carousel-theme-color, #0091ff));z-index:30;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1} +@import"https://gfonts.pirati.cz/css2?family=Bebas+Neue&family=Roboto+Condensed:wght@300;400;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap";@font-face{font-family:pirati-ui;src:url(/static/styleguide2/pirati-ui.eot?bna028);src:url(/static/styleguide2/pirati-ui.eot?bna028#iefix) format("embedded-opentype"),url(/static/styleguide2/pirati-ui.ttf?bna028) format("truetype"),url(/static/styleguide2/pirati-ui.woff?bna028) format("woff"),url(/static/styleguide2/pirati-ui.svg?bna028#pirati-ui) format("svg");font-weight:400;font-style:normal;font-display:block}[class^=ico--],[class*=" ico--"]{font-family:pirati-ui!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ico--twitter:before{content:""}.ico--mastodon:before{content:""}.ico--helios:before{content:""}.ico--redmine:before{content:""}.ico--zulip:before{content:""}.ico--forum:before{content:""}.ico--pirati:before{content:""}.ico--jitsi:before{content:""}.ico--open-source:before{content:""}.ico--donation-full:before{content:""}.ico--donation-outline:before{content:""}.ico--strategy:before{content:""}.ico--pig:before{content:""}.ico--thermometer:before{content:""}.ico--menu:before{content:""}.ico--chevron-right:before{content:""}.ico--chevron-left:before{content:""}.ico--chevron-down:before{content:""}.ico--chevron-up:before{content:""}.ico--link-horizontal:before{content:""}.ico--beer:before{content:""}.ico--food:before{content:""}.ico--dots-three-vertical:before{content:""}.ico--dots-three-horizontal:before{content:""}.ico--log-out:before{content:""}.ico--envelope:before{content:""}.ico--pin:before{content:""}.ico--at:before{content:""}.ico--glass:before{content:""}.ico--checkmark:before{content:""}.ico--info:before{content:""}.ico--question:before{content:""}.ico--warning:before{content:""}.ico--code:before{content:""}.ico--checkbox-unchecked:before{content:""}.ico--star-full:before{content:""}.ico--star-empty:before{content:""}.ico--bookmark:before{content:""}.ico--cog:before{content:""}.ico--key:before{content:""}.ico--zoom-in:before{content:""}.ico--zoom-out:before{content:""}.ico--shrink:before{content:""}.ico--printer:before{content:""}.ico--file-openoffice:before{content:""}.ico--user:before{content:""}.ico--file-excel:before{content:""}.ico--file-word:before{content:""}.ico--file-pdf:before{content:""}.ico--file-picture:before{content:""}.ico--file-blank:before{content:""}.ico--folder-upload:before{content:""}.ico--upload:before{content:""}.ico--cloud-upload:before{content:""}.ico--folder-download:before{content:""}.ico--download:before{content:""}.ico--cloud-download:before{content:""}.ico--alarm:before{content:""}.ico--calculator:before{content:""}.ico--facebook-full:before{content:""}.ico--feed:before{content:""}.ico--library:before{content:""}.ico--office:before{content:""}.ico--attachment:before{content:""}.ico--enlarge:before{content:""}.ico--eye-off:before{content:""}.ico--eye:before{content:""}.ico--share:before{content:""}.ico--search:before{content:""}.ico--pencil:before{content:""}.ico--lock-open:before{content:""}.ico--lock:before{content:""}.ico--equalizer:before{content:""}.ico--switch:before{content:""}.ico--loop:before{content:""}.ico--refresh:before{content:""}.ico--bullhorn:before{content:""}.ico--bin:before{content:""}.ico--cross:before{content:""}.ico--checkbox-checked:before{content:""}.ico--globe:before{content:""}.ico--wikipedia:before{content:""}.ico--youtube:before{content:""}.ico--users:before{content:""}.ico--book:before{content:""}.ico--bubbles:before{content:""}.ico--map:before{content:""}.ico--compass:before{content:""}.ico--folder-open:before{content:""}.ico--folder:before{content:""}.ico--drawer:before{content:""}.ico--stop:before{content:""}.ico--github:before{content:""}.ico--clock:before{content:""}.ico--calendar:before{content:""}.ico--flickr:before{content:""}.ico--instagram:before{content:""}.ico--newspaper:before{content:""}.ico--cart:before{content:""}.ico--home:before{content:""}.ico--link:before{content:""}.ico--power:before{content:""}.ico--rocket:before{content:""}.ico--location:before{content:""}.ico--phone:before{content:""}.ico--linkedin:before{content:""}.ico--facebook:before{content:""}.ico--envelop:before{content:""}.ico--file-text2:before{content:""}.ico--price-tag:before{content:""}.ico--price-tags:before{content:""}.ico--stats-dots:before{content:""}.ico--bed:before{content:""}.ico--train:before{content:""}.ico--bus:before{content:""}.ico--wheelchair:before{content:""}.ico--thumbs-down:before{content:""}.ico--thumbs-up:before{content:""}.ico--anchor:before{content:""}.ico--paw:before{content:""}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:start;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-black{--tw-prose-body: #000000;--tw-prose-headings: #000000;--tw-prose-lead: #000000;--tw-prose-links: #000000;--tw-prose-bold: #000000;--tw-prose-counters: #000000;--tw-prose-bullets: #000000;--tw-prose-hr: #000000;--tw-prose-quotes: #000000;--tw-prose-quote-borders: #000000;--tw-prose-captions: #000000;--tw-prose-code: #000000;--tw-prose-pre-code: #000000;--tw-prose-pre-bg: #ffffff;--tw-prose-th-borders: #000000;--tw-prose-td-borders: #000000;--tw-prose-invert-body: #ffffff;--tw-prose-invert-headings: #ffffff;--tw-prose-invert-lead: #ffffff;--tw-prose-invert-links: #ffffff;--tw-prose-invert-bold: #ffffff;--tw-prose-invert-counters: #ffffff;--tw-prose-invert-bullets: #ffffff;--tw-prose-invert-hr: #ffffff;--tw-prose-invert-quotes: #ffffff;--tw-prose-invert-quote-borders: #ffffff;--tw-prose-invert-captions: #ffffff;--tw-prose-invert-code: #ffffff;--tw-prose-invert-pre-code: #ffffff;--tw-prose-invert-pre-bg: #000000;--tw-prose-invert-th-borders: #ffffff;--tw-prose-invert-td-borders: #ffffff}.btn{display:inline-block;text-align:center;font-weight:400;max-width:20rem;text-decoration:none}.btn[disabled]{opacity:.7;cursor:not-allowed}.btn:hover{text-decoration:none}.btn__body{display:flex;height:100%;align-items:center;justify-content:center;padding:.25em 2em}.btn__body-wrap{min-width:10rem;min-height:2.75rem}.btn__body,.btn__icon,.btn__inline-icon{transition-property:color,background-color,border-color;transition-duration:.2s;color:#fff}.btn__body,.btn__icon{background-color:#000}.btn--icon .btn__body-wrap{display:flex}.btn--condensed .btn__body{padding:.75em 1em}@keyframes btn-loading-spinner{to{transform:rotate(360deg)}}.btn--black .btn__body,.btn--black .btn__icon{background-color:#000;color:#fff}.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#000;color:#fff}.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#262626}.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--black.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-black:hover .btn__body,.btn--to-black.btn--activated .btn__body{background-color:#000!important;color:#fff!important}.btn--hoveractive.btn--to-black:hover .btn__icon,.btn--to-black.btn--activated .btn__icon{border-color:#343434!important;background-color:#000!important}.btn--hoveractive.btn--to-black:hover .btn__inline-icon,.btn--to-black.btn--activated .btn__inline-icon{color:#fff!important}.btn--grey-700 .btn__body,.btn--grey-700 .btn__icon{background-color:#202020;color:#fff}.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#343434;color:#fff}.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#262626}.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-700:hover .btn__body,.btn--to-grey-700.btn--activated .btn__body{background-color:#202020!important;color:#fff!important}.btn--hoveractive.btn--to-grey-700:hover .btn__icon,.btn--to-grey-700.btn--activated .btn__icon{border-color:#303132!important;background-color:#202020!important}.btn--hoveractive.btn--to-grey-700:hover .btn__inline-icon,.btn--to-grey-700.btn--activated .btn__inline-icon{color:#fff!important}.btn--grey-500 .btn__body,.btn--grey-500 .btn__icon{background-color:#303132;color:#fff}.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#4c4c4c;color:#fff}.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#343434}.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-500:hover .btn__body,.btn--to-grey-500.btn--activated .btn__body{background-color:#303132!important;color:#fff!important}.btn--hoveractive.btn--to-grey-500:hover .btn__icon,.btn--to-grey-500.btn--activated .btn__icon{border-color:#4c4c4c!important;background-color:#303132!important}.btn--hoveractive.btn--to-grey-500:hover .btn__inline-icon,.btn--to-grey-500.btn--activated .btn__inline-icon{color:#fff!important}.btn--grey-125 .btn__body,.btn--grey-125 .btn__icon{background-color:#f0f0f0;color:#000}.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:silver;color:#fff}.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#a8a8a8}.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-125.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-125:hover .btn__body,.btn--to-grey-125.btn--activated .btn__body{background-color:#f0f0f0!important;color:#000!important}.btn--hoveractive.btn--to-grey-125:hover .btn__icon,.btn--to-grey-125.btn--activated .btn__icon{border-color:#d8d8d8!important;background-color:#f0f0f0!important}.btn--hoveractive.btn--to-grey-125:hover .btn__inline-icon,.btn--to-grey-125.btn--activated .btn__inline-icon{color:#000!important}.btn--grey-175 .btn__body,.btn--grey-175 .btn__icon{background-color:#d0d0d0;color:#000}.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#a6a6a6;color:#fff}.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#929292}.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--grey-175.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-grey-175:hover .btn__body,.btn--to-grey-175.btn--activated .btn__body{background-color:#d0d0d0!important;color:#000!important}.btn--hoveractive.btn--to-grey-175:hover .btn__icon,.btn--to-grey-175.btn--activated .btn__icon{border-color:#bbb!important;background-color:#d0d0d0!important}.btn--hoveractive.btn--to-grey-175:hover .btn__inline-icon,.btn--to-grey-175.btn--activated .btn__inline-icon{color:#000!important}.btn--white .btn__body,.btn--white .btn__icon{background-color:#fff;color:#000}.btn--white .btn__icon{border-color:#f3f3f3;background-color:#fff}.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#ccc;color:#fff}.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#b3b3b3}.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--white.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-white:hover .btn__body,.btn--to-white.btn--activated .btn__body{background-color:#fff!important;color:#000!important}.btn--hoveractive.btn--to-white:hover .btn__icon,.btn--to-white.btn--activated .btn__icon{border-color:#f3f3f3!important;background-color:#fff!important}.btn--hoveractive.btn--to-white:hover .btn__inline-icon,.btn--to-white.btn--activated .btn__inline-icon{color:#000!important}.btn--blue-300 .btn__body,.btn--blue-300 .btn__icon{background-color:#027da8;color:#fff}.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#026486;color:#fff}.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#015876}.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--blue-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-blue-300:hover .btn__body,.btn--to-blue-300.btn--activated .btn__body{background-color:#027da8!important;color:#fff!important}.btn--hoveractive.btn--to-blue-300:hover .btn__icon,.btn--to-blue-300.btn--activated .btn__icon{border-color:#027197!important;background-color:#027da8!important}.btn--hoveractive.btn--to-blue-300:hover .btn__inline-icon,.btn--to-blue-300.btn--activated .btn__inline-icon{color:#fff!important}.btn--cyan-200 .btn__body,.btn--cyan-200 .btn__icon{background-color:#57b3bd;color:#fff}.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#3e959f;color:#fff}.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#37838b}.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--cyan-200.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-cyan-200:hover .btn__body,.btn--to-cyan-200.btn--activated .btn__body{background-color:#57b3bd!important;color:#fff!important}.btn--hoveractive.btn--to-cyan-200:hover .btn__icon,.btn--to-cyan-200.btn--activated .btn__icon{border-color:#46a8b2!important;background-color:#57b3bd!important}.btn--hoveractive.btn--to-cyan-200:hover .btn__inline-icon,.btn--to-cyan-200.btn--activated .btn__inline-icon{color:#fff!important}.btn--green-300 .btn__body,.btn--green-300 .btn__icon{background-color:#76cc9f;color:#fff}.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#47bb7e;color:#fff}.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#3da46e}.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--green-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-green-300:hover .btn__body,.btn--to-green-300.btn--activated .btn__body{background-color:#76cc9f!important;color:#fff!important}.btn--hoveractive.btn--to-green-300:hover .btn__icon,.btn--to-green-300.btn--activated .btn__icon{border-color:#5fc38f!important;background-color:#76cc9f!important}.btn--hoveractive.btn--to-green-300:hover .btn__inline-icon,.btn--to-green-300.btn--activated .btn__inline-icon{color:#fff!important}.btn--green-400 .btn__body,.btn--green-400 .btn__icon{background-color:#4ca971;color:#fff}.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#3d875a;color:#fff}.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#35764f}.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--green-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-green-400:hover .btn__body,.btn--to-green-400.btn--activated .btn__body{background-color:#4ca971!important;color:#fff!important}.btn--hoveractive.btn--to-green-400:hover .btn__icon,.btn--to-green-400.btn--activated .btn__icon{border-color:#449866!important;background-color:#4ca971!important}.btn--hoveractive.btn--to-green-400:hover .btn__inline-icon,.btn--to-green-400.btn--activated .btn__inline-icon{color:#fff!important}.btn--green-500 .btn__body,.btn--green-500 .btn__icon{background-color:#4fc49f;color:#000}.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#37a582;color:#fff}.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#309072}.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--green-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-green-500:hover .btn__body,.btn--to-green-500.btn--activated .btn__body{background-color:#4fc49f!important;color:#000!important}.btn--hoveractive.btn--to-green-500:hover .btn__icon,.btn--to-green-500.btn--activated .btn__icon{border-color:#3eb992!important;background-color:#4fc49f!important}.btn--hoveractive.btn--to-green-500:hover .btn__inline-icon,.btn--to-green-500.btn--activated .btn__inline-icon{color:#000!important}.btn--yellow-500 .btn__body,.btn--yellow-500 .btn__icon{background-color:#f9ce05;color:#000}.btn--yellow-500 .btn__icon{border-color:#e0b905;background-color:#f9ce05}.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#c7a504;color:#fff}.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#ae9004}.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--yellow-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-yellow-500:hover .btn__body,.btn--to-yellow-500.btn--activated .btn__body{background-color:#f9ce05!important;color:#000!important}.btn--hoveractive.btn--to-yellow-500:hover .btn__icon,.btn--to-yellow-500.btn--activated .btn__icon{border-color:#e0b905!important;background-color:#f9ce05!important}.btn--hoveractive.btn--to-yellow-500:hover .btn__inline-icon,.btn--to-yellow-500.btn--activated .btn__inline-icon{color:#000!important}.btn--yellow-600 .btn__body,.btn--yellow-600 .btn__icon{background-color:#d7b103;color:#000}.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#ac8e02;color:#fff}.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#977c02}.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--yellow-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-yellow-600:hover .btn__body,.btn--to-yellow-600.btn--activated .btn__body{background-color:#d7b103!important;color:#000!important}.btn--hoveractive.btn--to-yellow-600:hover .btn__icon,.btn--to-yellow-600.btn--activated .btn__icon{border-color:#c29f03!important;background-color:#d7b103!important}.btn--hoveractive.btn--to-yellow-600:hover .btn__inline-icon,.btn--to-yellow-600.btn--activated .btn__inline-icon{color:#000!important}.btn--orange-300 .btn__body,.btn--orange-300 .btn__icon{background-color:#ed9654;color:#fff}.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#e7721a;color:#fff}.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#cb6415}.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--orange-300.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-orange-300:hover .btn__body,.btn--to-orange-300.btn--activated .btn__body{background-color:#ed9654!important;color:#fff!important}.btn--hoveractive.btn--to-orange-300:hover .btn__icon,.btn--to-orange-300.btn--activated .btn__icon{border-color:#ea8437!important;background-color:#ed9654!important}.btn--hoveractive.btn--to-orange-300:hover .btn__inline-icon,.btn--to-orange-300.btn--activated .btn__inline-icon{color:#fff!important}.btn--violet-400 .btn__body,.btn--violet-400 .btn__icon{background-color:#840048;color:#fff}.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#6a003a;color:#fff}.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#5c0032}.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--violet-400.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-violet-400:hover .btn__body,.btn--to-violet-400.btn--activated .btn__body{background-color:#840048!important;color:#fff!important}.btn--hoveractive.btn--to-violet-400:hover .btn__icon,.btn--to-violet-400.btn--activated .btn__icon{border-color:#770041!important;background-color:#840048!important}.btn--hoveractive.btn--to-violet-400:hover .btn__inline-icon,.btn--to-violet-400.btn--activated .btn__inline-icon{color:#fff!important}.btn--violet-500 .btn__body,.btn--violet-500 .btn__icon{background-color:#670047;color:#000}.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#520039;color:#fff}.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#480032}.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--violet-500.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-violet-500:hover .btn__body,.btn--to-violet-500.btn--activated .btn__body{background-color:#670047!important;color:#000!important}.btn--hoveractive.btn--to-violet-500:hover .btn__icon,.btn--to-violet-500.btn--activated .btn__icon{border-color:#5d0040!important;background-color:#670047!important}.btn--hoveractive.btn--to-violet-500:hover .btn__inline-icon,.btn--to-violet-500.btn--activated .btn__inline-icon{color:#000!important}.btn--violet-700 .btn__body,.btn--violet-700 .btn__icon{background-color:#7d347d;color:#000}.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#642a64;color:#fff}.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#582458}.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--violet-700.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-violet-700:hover .btn__body,.btn--to-violet-700.btn--activated .btn__body{background-color:#7d347d!important;color:#000!important}.btn--hoveractive.btn--to-violet-700:hover .btn__icon,.btn--to-violet-700.btn--activated .btn__icon{border-color:#712f71!important;background-color:#7d347d!important}.btn--hoveractive.btn--to-violet-700:hover .btn__inline-icon,.btn--to-violet-700.btn--activated .btn__inline-icon{color:#000!important}.btn--red-600 .btn__body,.btn--red-600 .btn__icon{background-color:#d60d53;color:#fff}.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#ab0a42;color:#fff}.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#96093a}.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--red-600.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-red-600:hover .btn__body,.btn--to-red-600.btn--activated .btn__body{background-color:#d60d53!important;color:#fff!important}.btn--hoveractive.btn--to-red-600:hover .btn__icon,.btn--to-red-600.btn--activated .btn__icon{border-color:#c10c4b!important;background-color:#d60d53!important}.btn--hoveractive.btn--to-red-600:hover .btn__inline-icon,.btn--to-red-600.btn--activated .btn__inline-icon{color:#fff!important}.btn--brands-facebook .btn__body,.btn--brands-facebook .btn__icon{background-color:#067ceb;color:#fff}.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__body,.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{background-color:#0563bc;color:#fff}.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon{border-color:#0457a5}.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon svg,.btn--brands-facebook.btn--hoveractive:not([class^=btn--to-]):hover .btn__icon i{color:#fff;fill:#fff}.btn--hoveractive.btn--to-brands-facebook:hover .btn__body,.btn--to-brands-facebook.btn--activated .btn__body{background-color:#067ceb!important;color:#fff!important}.btn--hoveractive.btn--to-brands-facebook:hover .btn__icon,.btn--to-brands-facebook.btn--activated .btn__icon{border-color:#0570d4!important;background-color:#067ceb!important}.btn--hoveractive.btn--to-brands-facebook:hover .btn__inline-icon,.btn--to-brands-facebook.btn--activated .btn__inline-icon{color:#fff!important}.container--default{max-width:1200px}.container--narrow{margin:auto;width:882px}.container--medium{padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1350px}.container--wide{padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1400px}.header-max-width{max-width:1340px!important}.container{margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem;max-width:1150px}.grid-container{margin-left:1.25rem;margin-right:1.25rem;display:grid;grid-template-columns:1fr;grid-template-areas:"left-side" "content" "right-side";gap:1rem;max-width:1150px}.grid-container.article-section,.grid-container.person-grid-container{max-width:1400px}.grid-container.person-twitter-section{grid-template-columns:minmax(0,1200px)}@media (min-width: 1200px){.grid-container.person-twitter-section{grid-template-columns:minmax(0,240px) minmax(0,1fr) minmax(0,102px)}}.grid-container.no-max{max-width:none}.grid-content{grid-area:content}.grid-full{grid-column:left-side / right-side;grid-row:left-side / right-side}.grid-left-side{grid-area:left-side}.grid-left-side-with-content{grid-column:left-side / content;grid-row:left-side / content}.grid-right-side{grid-area:right-side}.grid-content-with-right-side{grid-column:content / right-side;grid-row:content / right-side}.footer-section{height:450px}.person-box-medium{max-width:485px;width:100%}.person-box-big{max-width:575px;width:100%}@media (min-width: 1200px){.footer-section{height:981px}}.form__text-input-addon{display:flex;align-items:center;border-width:1px;--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity));padding:.75rem 1rem;font-size:1.125rem;font-weight:400;--tw-text-opacity: 1;color:rgb(76 76 76 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.form__text-input{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity));padding:.75rem 1rem;font-size:1.125rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;min-width:0px}.form__text-input:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.form__text-input:active:not([disabled]):not([readonly]),.form__text-input:focus:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.form__text-input::-moz-placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input::placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input[readonly],.form__text-input[disabled]{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.form__text-input[readonly]::-moz-placeholder,.form__text-input[disabled]::-moz-placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input[readonly]::placeholder,.form__text-input[disabled]::placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input-addon--l{border-right-width:0px}.form__text-input-addon--r{border-left-width:0px}.form__text-input:hover:not([disabled]):not([readonly])~.form__text-input-addon{--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.form__text-input:focus:not([disabled]):not([readonly])~.form__text-input-addon,.form__text-input:active:not([disabled]):not([readonly])~.form__text-input-addon{--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.form__text-input[readonly]~.form__text-input-addon,.form__text-input[disabled]~.form__text-input-addon{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__text-input--has-addon-l.form__text-input{border-left-width:0px}.form__text-input--has-addon-r.form__text-input{border-right-width:0px}.form__select{position:relative;display:flex;width:100%;align-items:center}.form__select:not(.form__multiselect):after{position:absolute;right:0;padding-right:.75rem;font-size:1.3rem;font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;font-family:pirati-ui;content:""}.select__control{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;border-width:1px;--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity));padding:.75rem 2rem .75rem 1rem;font-size:1.125rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}@media (min-width: 1200px){.select__control{padding-top:1.25rem;padding-bottom:1.25rem}}.select__control{min-width:0px}.select__control:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.select__control:active:not([disabled]):not([readonly]),.select__control:focus:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.select__control::-moz-placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.select__control::placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.select__control[readonly],.select__control[disabled]{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.select__control[readonly]::-moz-placeholder,.select__control[disabled]::-moz-placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.select__control[readonly]::placeholder,.select__control[disabled]::placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form__checkbox{position:relative;display:flex}.form__checkbox input{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.form__checkbox input:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(242 199 0 / var(--tw-border-opacity))}.form__checkbox input:checked{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.form__checkbox input[disabled]{cursor:not-allowed}.form__checkbox label{line-height:1.25}.form__checkbox:after{pointer-events:none;position:absolute;display:inline;content:"";height:5px;width:12px;top:6px;left:4px;border-left:2px solid #ffffff;border-bottom:2px solid #ffffff;transform:rotate(-45deg)}.radio{position:relative}.radio input{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(173 173 173 / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.radio input:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.radio input:active,.radio input:focus{--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity))}.radio input:checked{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(2 125 168 / var(--tw-bg-opacity))}.radio input[disabled]{cursor:not-allowed}.radio label{display:flex;align-items:center;line-height:1.25}.radio:after{pointer-events:none;position:absolute;display:inline;height:.5rem;width:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));content:"";border-radius:50%;top:.375rem;left:.375rem}.form-field--error .form__text-input,.form-field--error .select__control,.form-field--error .form__text-input~.form__text-input-addon{--tw-border-opacity: 1;border-color:rgb(214 13 83 / var(--tw-border-opacity))}.form_control{display:flex;flex-direction:column;gap:1.25rem}.form_control>*{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.form_control>* label,.form_control>* legend{font-size:1.125rem}.form_control>* label{margin-bottom:.25rem}.form_control>* .helptext{order:10;font-size:.875rem;--tw-text-opacity: 1;color:rgb(136 136 136 / var(--tw-text-opacity))}.form_control>* fieldset{margin-top:.5rem;margin-bottom:.5rem;display:flex;gap:.5rem}.form_control>* fieldset legend{margin-bottom:.25rem}.form_control>* input:not([type=file]),.form_control>* select,.form_control>* textarea{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity));padding:.75rem 1rem;font-size:1.125rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;min-width:0px}.form_control>* input:not([type=file]):hover:not([disabled]):not([readonly]),.form_control>* select:hover:not([disabled]):not([readonly]),.form_control>* textarea:hover:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(76 76 76 / var(--tw-border-opacity))}.form_control>* input:not([type=file]):active:not([disabled]):not([readonly]),.form_control>* input:not([type=file]):focus:not([disabled]):not([readonly]),.form_control>* select:active:not([disabled]):not([readonly]),.form_control>* select:focus:not([disabled]):not([readonly]),.form_control>* textarea:active:not([disabled]):not([readonly]),.form_control>* textarea:focus:not([disabled]):not([readonly]){--tw-border-opacity: 1;border-color:rgb(242 199 0 / var(--tw-border-opacity))}.form_control>* input:not([type=file])::-moz-placeholder,.form_control>* select::-moz-placeholder,.form_control>* textarea::-moz-placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form_control>* input:not([type=file])::placeholder,.form_control>* select::placeholder,.form_control>* textarea::placeholder{font-weight:400;--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form_control>* input:not([type=file])[readonly],.form_control>* input:not([type=file])[disabled],.form_control>* select[readonly],.form_control>* select[disabled],.form_control>* textarea[readonly],.form_control>* textarea[disabled]{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.form_control>* input:not([type=file])[readonly]::-moz-placeholder,.form_control>* input:not([type=file])[disabled]::-moz-placeholder,.form_control>* select[readonly]::-moz-placeholder,.form_control>* select[disabled]::-moz-placeholder,.form_control>* textarea[readonly]::-moz-placeholder,.form_control>* textarea[disabled]::-moz-placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.form_control>* input:not([type=file])[readonly]::placeholder,.form_control>* input:not([type=file])[disabled]::placeholder,.form_control>* select[readonly]::placeholder,.form_control>* select[disabled]::placeholder,.form_control>* textarea[readonly]::placeholder,.form_control>* textarea[disabled]::placeholder{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.h-default{font-weight:500;line-height:1.25}.h-alt{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-weight:400;line-height:.96}.h-allcaps{font-weight:400;text-transform:uppercase;line-height:1.25}.head-xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:500;text-transform:uppercase;line-height:1}@media (min-width: 992px){.head-xl{font-size:1.3rem}}.head-2xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:500;text-transform:uppercase;line-height:1;letter-spacing:-.01em}.head-3xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;text-transform:uppercase;line-height:1}.head-4xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-4xl{font-size:2.45rem;line-height:1}}@media (min-width: 1200px){.head-4xl{font-size:2.45rem}}.head-6xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:2.45rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-6xl{font-size:3rem;line-height:1}}@media (min-width: 1200px){.head-6xl{font-size:4rem}}.head-7xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:2.45rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-7xl{font-size:3rem;line-height:1}}@media (min-width: 1200px){.head-7xl{font-size:5.3rem}}.head-8xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-8xl{font-size:5.3rem;line-height:1}}@media (min-width: 1200px){.head-8xl{font-size:6.25rem}}.head-9xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;font-weight:500;text-transform:uppercase}@media (min-width: 768px){.head-9xl{font-size:6.25rem;line-height:1}}@media (min-width: 1200px){.head-9xl{font-size:6.25rem}}.head-10xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;font-weight:500;text-transform:uppercase;letter-spacing:-.025em}@media (min-width: 768px){.head-10xl{font-size:7.5rem;line-height:1}}@media (min-width: 1200px){.head-10xl{font-size:7.5rem}}.head-14xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:5.3rem;font-weight:500;text-transform:uppercase;line-height:4.75rem}@media (min-width: 1200px){.head-14xl{font-size:10.6rem;line-height:9.8rem}}.head-14xl.head-short{font-size:6.25rem;line-height:9.8rem}@media (min-width: 1200px){.head-14xl.head-short{font-size:10.6rem}}.head-14xl.head-compact{line-height:4rem}@media (min-width: 1200px){.head-14xl.head-compact{line-height:8.9rem}}.prose :where(.head-6xl):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(.head-7xl):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(.head-8xl):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(.head-9xl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.25em}p{font-size:.875rem;line-height:1.5rem}@media (min-width: 992px){p{font-size:1rem}}.vertical-time-line{border-left:1px solid green}.program-perex .content-block p{font-size:1.3rem;line-height:1.75rem}.content-block h2{margin-bottom:1.25rem;font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;font-weight:500;text-transform:uppercase;line-height:1.75rem}@media (min-width: 992px){.content-block h2{line-height:2.5rem}}@media (min-width: 1200px){.content-block h2{font-size:2.45rem}}.content-block h3{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.125rem;font-weight:500;text-transform:uppercase;line-height:1rem}@media (min-width: 1200px){.content-block h3{font-size:1.875rem;line-height:2rem}}.content-block h4{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-weight:500;text-transform:uppercase;line-height:2rem}@media (min-width: 1200px){.content-block h4{font-size:1.6rem}}.content-block h4{letter-spacing:-.01em}.content-block a{--tw-text-opacity: 1;color:rgb(2 125 168 / var(--tw-text-opacity));text-decoration-line:underline}:root{--fc-button-bg-color: #000;--fc-button-border-color: #000;--fc-button-hover-bg-color: #fec900;--fc-button-hover-border-color: #fec900;--fc-button-active-bg-color: #fec900;--fc-button-active-border-color: #fec900;--fc-event-bg-color: #fec900;--fc-event-border-color: #fec900;--fc-event-text-color: #000;--fc-border-color: #000;--fc-today-bg-color: #000;--fc-event-dot-color: #000}.fc-col-header{width:100%!important}.fc .fc-col-header-cell-cushion:not([href]):hover,.fc .fc-daygrid-day-number:not([href]):hover{text-decoration-line:none}.fc .fc-col-header-cell{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.75rem;font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.3rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fc .fc-button{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.5rem 1.25rem;text-align:center;font-size:1.125rem;font-weight:600;text-transform:uppercase;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fc .fc-button:hover{text-decoration-line:none}.fc .fc-button:hover:not(:disabled),.fc .fc-button:active:not(:disabled){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.fc .fc-event{cursor:pointer;border-radius:0;border-style:none;padding:.375rem;font-size:1rem;background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);color:var(--fc-event-text-color)}.fc-header-toolbar{align-items:flex-start!important}@media (min-width: 1200px){.fc-header-toolbar{align-items:center!important}}.fc .fc-toolbar-title,.fc .fc-today-button{font-family:Roboto Condensed,Helvetica,Arial,sans-serif;text-transform:capitalize}.fc-toolbar-chunk{display:flex;flex-wrap:wrap-reverse;justify-content:flex-end;gap:.5rem}.fc .fc-daygrid-day-number{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}@media (min-width: 1200px){.fc .fc-daygrid-day-number{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem}}.fc-daygrid-body,.fc-scrollgrid-sync-table{width:100%!important}@media (min-width: 1200px){.fc-daygrid-body,.fc-scrollgrid-sync-table{width:unset}}.fc .fc-day-today .fc-daygrid-day-number{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-dot-color)}.fc .fc-scroller-harness{overflow:visible}.dropdown{position:relative;cursor:pointer}.dropbtn{margin-bottom:.25rem;padding:.75rem}.dropdown-content{position:absolute;z-index:1;display:none;list-style-type:none}@media screen and (max-width: 1200px){.dropdown-content{position:unset}.dropbtn{display:none}}.dropdown-content a{display:block;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media screen and (min-width: 1200px){.dropdown:hover .dropdown-content,.dropdown:focus .dropdown-content{display:flex;width:100%;flex-direction:column;gap:.75rem;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.75rem}.dropdown:hover .dropbtn,.dropdown:focus .dropbtn{position:relative;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dropdown-content li{line-height:1.5rem}.dropdown:hover,.dropdown:focus{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}}.drop-arrow{position:relative;top:2px;margin-left:.25rem}@media screen and (max-width: 1200px){.drop-arrow{display:none}}.message{width:100%;border-width:1px;border-style:solid;padding:1rem .75rem;font-size:1.125rem}.message.message__success{--tw-border-opacity: 1;border-color:rgb(76 169 113 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(118 204 159 / var(--tw-bg-opacity))}.message.message__error{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.message.message__info{--tw-border-opacity: 1;border-color:rgb(2 125 168 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(118 180 207 / var(--tw-bg-opacity))}.message.message__warning{--tw-border-opacity: 1;border-color:rgb(249 206 5 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(247 243 138 / var(--tw-bg-opacity))}.progress-container{position:fixed;top:0;left:0;z-index:50;height:8px;width:100%;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.progress-bar{height:8px;width:0px;--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.article-box.dark-theme{background-color:#4c4c4c;color:#fff}.quote-icon{font-size:7rem;height:1rem}@media (min-width: 1200px){.quote-icon{font-size:15rem}}.header-carousel{display:block;margin:0 auto;position:relative}.header-carousel .header-carousel--text-wrapper,.header-carousel .elections--header-carousel--text-wrapper,.header-carousel .onboarding--header-carousel-text-wrapper{position:absolute;width:98vw;font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:3rem;text-transform:uppercase}@media (min-width: 992px){.header-carousel .header-carousel--text-wrapper,.header-carousel .elections--header-carousel--text-wrapper{font-size:5.3rem}.header-carousel .onboarding--header-carousel-text-wrapper{font-size:4rem}}.header-carousel .header-carousel--text-wrapper{bottom:37%;height:85%}@media (min-width: 1200px){.header-carousel .header-carousel--text-wrapper{bottom:33%}}.header-carousel .elections--header-carousel--text-wrapper{bottom:45%;height:85%}@media (min-width: 1200px){.header-carousel .elections--header-carousel--text-wrapper{bottom:10%}}.header-carousel .header-carousel--image{inset:0;position:absolute;height:100%;width:100vw;-o-object-fit:cover;object-fit:cover}@media (min-width: 1200px){.header-carousel .header-carousel--image{height:458px}}@media (min-width: 768px){.header-carousel .header-carousel--image{height:100%}}@keyframes right_to_left{0%{margin-left:20%}to{margin-left:10%}}.btn{display:inline-flex;align-items:center;justify-content:center;font-family:Bebas Neue,Helvetica,Arial,sans-serif;line-height:2.25rem}.modal__overlay{position:fixed;inset:0;background:#0009;display:flex;justify-content:center;align-items:center}.modal__container{background-color:#fff;padding:30px;max-width:700px;max-height:100vh;border-radius:4px;overflow-y:auto;box-sizing:border-box}.modal__header{display:flex;justify-content:space-between;align-items:center}.modal__title{margin-top:0;margin-bottom:25px;font-weight:600;font-size:1.25rem;line-height:1.25;box-sizing:border-box}.modal__close{background:transparent;border:0}.modal__header .modal__close:before{content:"✕"}.modal__content{margin-top:2rem;margin-bottom:2rem;line-height:1.5;color:#000c}.modal__btn{font-size:.875rem;padding:.5rem 1rem;background-color:#e6e6e6;color:#000c;border-radius:.25rem;border-style:none;border-width:0;cursor:pointer;-webkit-appearance:button;text-transform:none;overflow:visible;line-height:1.15;margin:0;will-change:transform;-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-out}.modal__btn:focus,.modal__btn:hover{transform:scale(1.05)}.modal__btn-primary{background-color:#00449e;color:#fff}@keyframes mmfadeIn{0%{opacity:0}to{opacity:1}}@keyframes mmfadeOut{0%{opacity:1}to{opacity:0}}@keyframes mmslideIn{0%{transform:translateY(15%)}to{transform:translateY(0)}}@keyframes mmslideOut{0%{transform:translateY(0)}to{transform:translateY(-10%)}}.micromodal-slide{display:none}.micromodal-slide.is-open{display:block}.micromodal-slide[aria-hidden=false] .modal__overlay{animation:mmfadeIn .3s cubic-bezier(0,0,.2,1)}.micromodal-slide[aria-hidden=false] .modal__container{animation:mmslideIn .3s cubic-bezier(0,0,.2,1)}.micromodal-slide[aria-hidden=true] .modal__overlay{animation:mmfadeOut .3s cubic-bezier(0,0,.2,1)}.micromodal-slide[aria-hidden=true] .modal__container{animation:mmslideOut .3s cubic-bezier(0,0,.2,1)}.micromodal-slide .modal__container,.micromodal-slide .modal__overlay{will-change:transform}.switch{margin-left:auto;margin-right:auto;padding-top:1.25rem;padding-bottom:1.25rem}.switch__item,.switch__item--elections,.switch__item--program{margin-bottom:.5rem;cursor:pointer;white-space:nowrap;padding:.5rem 1.25rem;text-align:center;font-weight:400;transition-duration:.2s}.switch__item:not(:last-child),.switch__item--elections:not(:last-child),.switch__item--program:not(:last-child){margin-right:.5rem}.switch__item{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.switch__item:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));text-decoration-line:none}.switch__item.switch__item--active,.switch__item.switch__item--active:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.switch__item--program{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.switch__item--program:hover{--tw-bg-opacity: 1;background-color:rgb(173 173 173 / var(--tw-bg-opacity));text-decoration-line:none}.switch__item--program.switch__item--active,.switch__item--program.switch__item--active:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.switch__item--elections{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.switch__item--elections:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity));text-decoration-line:none}.switch__item--elections.switch__item--active,.switch__item--elections.switch__item--active:hover{--tw-bg-opacity: 1;background-color:rgb(79 79 79 / var(--tw-bg-opacity))}.horizontal-scrolling{display:block;margin-left:-15px;margin-right:-15px;max-width:calc(100vw - 50px);overflow-x:scroll;overflow-y:hidden;text-align:center;white-space:nowrap}@media (min-width: 1200px){.horizontal-scrolling{max-width:calc(100% + 30px)}}.horizontal-scrolling.draggable{cursor:grab}.horizontal-scrolling.draggable.active,.horizontal-scrolling.draggable.active a{cursor:grabbing}.no-scrollbars{-ms-overflow-style:-ms-autohiding-scrollbar;scrollbar-width:none}.no-scrollbars::-webkit-scrollbar{display:none}.background-hover-zoom{background-position:center;background-size:100%;transition:background-size .3s ease-in}.background-hover-zoom:hover{background-size:110%}.popout__toggle-wrapper{display:flex;cursor:pointer;align-items:center;justify-content:space-between;padding-left:1.25rem;padding-right:1.25rem;font-size:1.125rem;transition-duration:.15s}.popout__toggle-wrapper:hover{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.popout__toggle-wrapper.popout__toggle-wrapper--active{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.popout__toggle-name{padding-top:1rem;padding-bottom:1rem}.popout__content-wrapper{display:flex;flex-direction:column;gap:.75rem;--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity));padding:1rem 1.25rem}.popout__toggle-arrow{font-size:2.45rem}.candidate-secondary-box:not(:last-child){border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(208 208 208 / var(--tw-border-opacity))}.candidate-primary-box:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.candidate-primary-box:nth-child(odd) .candidate-primary-box--content{flex-direction:column-reverse}@media (min-width: 992px){.candidate-primary-box:nth-child(odd) .candidate-primary-box--content{flex-direction:row}.candidate-primary-box:nth-child(odd) .candidate-primary-box--text-column{align-items:flex-end}}.candidate-primary-box:nth-child(odd) .candidate-primary-box--text-column__hidden{--tw-translate-x: -100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.candidate-primary-box:nth-child(odd) .candidate-primary-box--image-column__hidden{--tw-translate-x: 100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.candidate-primary-box:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.candidate-primary-box:nth-child(2n) .candidate-primary-box--content{flex-direction:column-reverse}@media (min-width: 992px){.candidate-primary-box:nth-child(2n) .candidate-primary-box--content{flex-direction:row-reverse}}.candidate-primary-box:nth-child(2n) .candidate-primary-box--text-column{align-items:flex-start}.candidate-primary-box:nth-child(2n) .candidate-primary-box--text-column__hidden{--tw-translate-x: 100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.candidate-primary-box:nth-child(2n) .candidate-primary-box--image-column__hidden{--tw-translate-x: -100vw;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flip-card.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75rem;margin-bottom:.75rem}.flip-card.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.25rem;margin-bottom:.25rem}.flip-card{height:42rem;width:auto;cursor:pointer}@media (min-width: 992px){.flip-card{height:33rem}}.flip-card{perspective:1000px}.flip-card-inner{position:relative;width:100%;height:100%;transition:transform .8s;transform-style:preserve-3d}.flip-card:hover .flip-card-inner,.flip-card:focus .flip-card-inner{transform:rotateY(180deg)}.flip-card-front,.flip-card-back{position:absolute;width:100%;height:100%;backface-visibility:hidden}.flip-card-back{transform:rotateY(180deg)}.article-timeline-grid{display:grid;gap:.5rem;margin-top:-20px;grid-template-areas:"left-article" "right-article"}@media (min-width: 1200px){.article-timeline-grid{grid-template-columns:minmax(0,570px) 1px minmax(0,570px);grid-template-areas:"left-article timeline right-article"}}.article-timeline-grid__left-article{grid-area:left-article}.article-timeline-grid__right-article{grid-area:right-article}.article-timeline-grid__timeline{grid-area:timeline}.article-timeline-grid__timeline:before{content:"";background:linear-gradient(180deg,#02002400,#fff);position:absolute;bottom:-1px;height:20px;z-index:10;width:2px;left:-1px}.article-timeline-grid__timeline .article-timeline--month{transform:translate(-50%);top:-1rem;z-index:100}.footer-collapsible__toggle{display:flex;cursor:pointer;align-items:center}.footer-collapsible__toggle:after{content:"";font-family:pirati-ui;margin-left:auto;font-size:3rem;font-weight:300;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.footer-collapsible__toggle.footer-collapsible__toggle--open:after{transform:rotate(-180deg)}@media (min-width: 768px){.footer-collapsible__toggle:after{display:none;cursor:auto}}.navbar{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.navbar .navbar__logo--white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.navbar .navbar__logo--white:not(.navbar__district__logo){display:inline}.navbar .navbar__logo--white.navbar__district__logo{display:flex}.navbar .navbar__logo--black{display:none;--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.navbar .navbar__border-button__wrapper:not(:first-child)>.navbar__border-button--main{border-width:4px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(242 199 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.navbar .navbar__border-button__wrapper:not(:first-child)>.navbar__border-button--main:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.navbar .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.navbar .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(215 177 3 / var(--tw-bg-opacity))}.navbar .navbar__menu-item--selected{text-decoration-line:underline}.navbar .navbar__menu-item--selected:hover{text-decoration-line:none}.navbar.navbar--onboarding{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.navbar.navbar--onboarding.navbar--transparent{background-color:transparent}.navbar.navbar--onboarding.navbar--transparent .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(242 199 0 / var(--tw-text-opacity))}.navbar.navbar--onboarding.navbar--transparent .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.navbar.navbar--elections{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.navbar.navbar--elections .navbar__logo--white{display:none}.navbar.navbar--elections .navbar__logo--black{display:inline}.navbar.navbar--elections .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(242 199 0 / var(--tw-text-opacity))}.navbar.navbar--elections .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.navbar.navbar--elections .bar1,.navbar.navbar--elections .bar2,.navbar.navbar--elections .bar3{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.navbar.navbar--elections.navbar--elections-transparent{background-color:transparent}.navbar.navbar--elections.navbar--elections-transparent .navbar__border-button{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.navbar.navbar--elections.navbar--elections-transparent .navbar__border-button:hover{--tw-bg-opacity: 1;background-color:rgb(215 177 3 / var(--tw-bg-opacity))}.navbar.navbar--transparent{background-color:transparent}@media (min-width: 1200px){.navbar.navbar--transparent{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}}.navbar.navbar--transparent .navbar__logo--white{display:none}.navbar.navbar--transparent .navbar__logo--black:not(.navbar__district__logo){display:inline}.navbar.navbar--transparent .navbar__logo--black.navbar__district__logo{display:flex}.navbar.navbar--transparent .bar1,.navbar.navbar--transparent .bar2,.navbar.navbar--transparent .bar3{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}@media (min-width: 1200px){.navbar.navbar--transparent.navbar--on-dark-bg{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}.navbar.navbar--transparent.navbar--on-dark-bg .navbar__logo--white:not(.navbar__district__logo){display:inline}.navbar.navbar--transparent.navbar--on-dark-bg .navbar__logo--white.navbar__district__logo{display:flex}.navbar.navbar--transparent.navbar--on-dark-bg .navbar__logo--black{display:none}.navbar.navbar--transparent.navbar--on-dark-bg .bar1,.navbar.navbar--transparent.navbar--on-dark-bg .bar2,.navbar.navbar--transparent.navbar--on-dark-bg .bar3{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bar1,.bar2,.bar3{background-color:#fff;display:block;height:2px;margin:6px 0;transition:.4s;width:35px}.navbar__mobile-menu__toggle:checked+label .bar1{transform:rotate(-45deg) translate(-3px,4px);--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.navbar__mobile-menu__toggle:checked+label .bar2{opacity:0}.navbar__mobile-menu__toggle:checked+label .bar3{transform:rotate(45deg) translate(-8px,-8px);--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.navbar__mobile-menu{pointer-events:none;visibility:hidden;z-index:0;opacity:0;transition:visibility .1s,opacity .1s linear}.navbar__mobile-menu__toggle:checked~.navbar__mobile-menu{pointer-events:auto;visibility:visible;z-index:20;opacity:1}@media (min-width: 1200px){.navbar__mobile-menu__toggle:checked~.navbar__mobile-menu{pointer-events:none;visibility:hidden;z-index:0;opacity:0}}.newsletter-section{background-size:cover;background-repeat:no-repeat}@media (min-width: 768px){.newsletter-section{background-position:left top}}.region-map__list{-moz-columns:2;columns:2}.region-map__region{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition:all .3s ease-out;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.region-map__region:after{content:"";width:10px;position:absolute;height:10px;background:#fec900;z-index:10}.region-map__region--current{fill:#fec900}@media (min-width: 992px){.faq-answer:nth-child(4n) .faq-answer--content{flex-direction:row-reverse}.faq-answer:nth-child(4n) .faq-answer--person{flex-direction:row-reverse}.faq-answer:nth-child(4n) .faq-answer--person--text{margin-left:-5rem}}.modal__overlay{position:fixed;inset:0;z-index:50;display:flex;flex-direction:row;align-items:center;overflow:auto;background-color:rgb(240 240 240 / var(--tw-bg-opacity));--tw-bg-opacity: .75}.modal__content{margin:auto;display:inline-block;display:flex;height:100%;max-width:100%;flex-grow:1;cursor:auto;flex-direction:row;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px}.modal__container{height:auto;padding:.75rem}.modal__container .modal__container-body{position:relative;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.modal__close{position:absolute;right:0;top:0;z-index:50;margin:auto;display:flex;height:2rem;width:2rem;align-items:center;justify-content:center;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.ReactModal__Body--open{overflow:hidden}.card__body{padding:2rem}.card--hoveractive{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.card--hoveractive:hover{z-index:50}.card-headline{overflow-wrap:break-word;font-family:Roboto Condensed,Helvetica,Arial,sans-serif;font-size:1.3rem;font-weight:700;line-height:1.25}.card-body-text{overflow-wrap:break-word;font-size:.875rem;font-weight:300;line-height:1.5}.card-actions{display:flex;align-items:center;border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(240 240 240 / var(--tw-border-opacity));padding:1rem 2rem}.card-actions--right{justify-content:flex-end}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.\!bottom-\[0\]{bottom:0!important}.bottom-8{bottom:2rem}.left-0{left:0}.left-10{left:2.5rem}.left-8{left:2rem}.left-\[30\%\]{left:30%}.right-\[-60px\]{right:-60px}.top-0{top:0}.top-10{top:2.5rem}.top-\[-1px\]{top:-1px}.top-\[2\.75rem\]{top:2.75rem}.top-\[30\%\]{top:30%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.float-right{float:right}.float-left{float:left}.m-0{margin:0}.m-10{margin:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.\!mb-0{margin-bottom:0!important}.\!mb-16{margin-bottom:4rem!important}.\!ml-0{margin-left:0!important}.\!ml-\[unset\]{margin-left:unset!important}.\!mr-\[unset\]{margin-right:unset!important}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[0\.03rem\]{margin-bottom:.03rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\[-5\.5rem\]{margin-left:-5.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-\[-2rem\]{margin-right:-2rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[-0\.5rem\]{margin-top:-.5rem}.mt-\[-5px\]{margin-top:-5px}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.\!h-0{height:0px!important}.\!h-full{height:100%!important}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-36{height:9rem}.h-5{height:1.25rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-\[17rem\]{height:17rem}.h-\[27rem\]{height:27rem}.h-\[42rem\]{height:42rem}.h-\[600px\]{height:600px}.h-\[700px\]{height:700px}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-px{height:1px}.max-h-\[75px\]{max-height:75px}.min-h-0{min-height:0px}.min-h-\[600px\]{min-height:600px}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[100px\]{width:100px}.w-\[150px\]{width:150px}.w-\[160px\]{width:160px}.w-\[220px\]{width:220px}.w-\[calc\(100vw_-_3rem\)\]{width:calc(100vw - 3rem)}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[9rem\]{min-width:9rem}.min-w-\[calc\(100vw_-_2\.5rem\)\]{min-width:calc(100vw - 2.5rem)}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-64{max-width:16rem}.max-w-\[100\%\]{max-width:100%}.max-w-\[100ch\]{max-width:100ch}.max-w-\[350px\]{max-width:350px}.max-w-\[400px\]{max-width:400px}.max-w-\[550px\]{max-width:550px}.max-w-\[60\%\]{max-width:60%}.max-w-\[600px\]{max-width:600px}.max-w-\[650px\]{max-width:650px}.max-w-\[75px\]{max-width:75px}.max-w-\[unset\]{max-width:unset}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-screen-lg{max-width:992px}.max-w-xl{max-width:36rem}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.content-stretch{align-content:stretch}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-8{gap:2rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-1{row-gap:.25rem}.gap-y-4{row-gap:1rem}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(3rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(3rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-4{border-width:4px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l-0{border-left-width:0px}.border-r-\[27rem\]{border-right-width:27rem}.border-t-\[33rem\]{border-top-width:33rem}.border-t-\[42rem\]{border-top-width:42rem}.border-none{border-style:none}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-grey-180{--tw-border-opacity: 1;border-color:rgb(238 238 238 / var(--tw-border-opacity))}.border-grey-200{--tw-border-opacity: 1;border-color:rgb(173 173 173 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(249 206 5 / var(--tw-border-opacity))}.border-r-\[transparent\]{border-right-color:transparent}.\!bg-grey-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 243 243 / var(--tw-bg-opacity))!important}.\!bg-grey-180{--tw-bg-opacity: 1 !important;background-color:rgb(238 238 238 / var(--tw-bg-opacity))!important}.bg-\[\#00000088\]{background-color:#0008}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(2 125 168 / var(--tw-bg-opacity))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(87 179 189 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(76 169 113 / var(--tw-bg-opacity))}.bg-grey-100{--tw-bg-opacity: 1;background-color:rgb(243 243 243 / var(--tw-bg-opacity))}.bg-grey-125{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.bg-grey-150{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.bg-grey-175{--tw-bg-opacity: 1;background-color:rgb(208 208 208 / var(--tw-bg-opacity))}.bg-grey-180{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.bg-grey-185{--tw-bg-opacity: 1;background-color:rgb(189 189 189 / var(--tw-bg-opacity))}.bg-grey-200{--tw-bg-opacity: 1;background-color:rgb(173 173 173 / var(--tw-bg-opacity))}.bg-grey-50{--tw-bg-opacity: 1;background-color:rgb(247 247 247 / var(--tw-bg-opacity))}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(237 150 84 / var(--tw-bg-opacity))}.bg-pirati-yellow{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(214 13 83 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(132 0 72 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(255 234 90 / var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-\[top_right_-7rem\]{background-position:top right -7rem}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[200px\]{padding-top:200px;padding-bottom:200px}.\!pl-\[unset\]{padding-left:unset!important}.\!pr-\[unset\]{padding-right:unset!important}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-24{padding-bottom:6rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-4{padding-left:1rem}.pl-7{padding-left:1.75rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-12{padding-top:3rem}.pt-14{padding-top:3.5rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-28{padding-top:7rem}.pt-32{padding-top:8rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-96{padding-top:24rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-alt{font-family:Bebas Neue,Helvetica,Arial,sans-serif}.font-condensed{font-family:Roboto Condensed,Helvetica,Arial,sans-serif}.text-2xl{font-size:1.6rem}.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.45rem}.text-5xl{font-size:3rem}.text-6xl{font-size:4rem}.text-7xl{font-size:5.3rem}.text-8xl{font-size:6.25rem}.text-9xl{font-size:7.5rem}.text-\[3\.25rem\]{font-size:3.25rem}.text-\[3\.5rem\]{font-size:3.5rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-sm{font-size:.875rem}.text-xl{font-size:1.3rem}.text-xs{font-size:.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-10{line-height:2.5rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-\[10\.5rem\]{line-height:10.5rem}.leading-none{line-height:1}.tracking-normal{letter-spacing:0em}.tracking-wide{letter-spacing:.025em}.\!text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\!text-grey-250{--tw-text-opacity: 1 !important;color:rgb(136 136 136 / var(--tw-text-opacity))!important}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-grey-100{--tw-text-opacity: 1;color:rgb(243 243 243 / var(--tw-text-opacity))}.text-grey-185{--tw-text-opacity: 1;color:rgb(189 189 189 / var(--tw-text-opacity))}.text-grey-200{--tw-text-opacity: 1;color:rgb(173 173 173 / var(--tw-text-opacity))}.text-grey-250{--tw-text-opacity: 1;color:rgb(136 136 136 / var(--tw-text-opacity))}.text-grey-300{--tw-text-opacity: 1;color:rgb(76 76 76 / var(--tw-text-opacity))}.text-grey-350{--tw-text-opacity: 1;color:rgb(79 79 79 / var(--tw-text-opacity))}.text-grey-600{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-orange-300{--tw-text-opacity: 1;color:rgb(237 150 84 / var(--tw-text-opacity))}.text-pirati-yellow{--tw-text-opacity: 1;color:rgb(242 199 0 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(214 13 83 / var(--tw-text-opacity))}.text-turquoise-500{--tw-text-opacity: 1;color:rgb(37 165 185 / var(--tw-text-opacity))}.text-violet-300{--tw-text-opacity: 1;color:rgb(141 65 95 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.\!no-underline{text-decoration-line:none!important}.no-underline{text-decoration-line:none}.decoration-1{text-decoration-thickness:1px}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.bg-blend-darken{background-blend-mode:darken}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.btn.btn--fullwidth,.btn.btn--fullwidth .btn__body-wrap{width:100%;max-width:100%}.btn.btn--fullwidth .btn__body{flex:1}.btn.btn--autowidth{width:auto}@media (min-width: 1200px){.grid-container{grid-template-columns:240px 1fr 102px;grid-template-areas:"left-side content right-side";margin-left:10vw}}@media (min-width: 2060px){.grid-container{margin-left:20vw}}@media (min-width: 1200px){.grid-container.person-grid-container{grid-template-columns:240px 1fr 339px}}.head-alt-xl,.content-block .head-alt-xl{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:5.3rem;font-weight:400;line-height:.96}.head-alt-lg,.content-block .head-alt-lg{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:4rem;font-weight:400;line-height:.96}.head-alt-md,.content-block .head-alt-md{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:2.45rem;font-weight:400;line-height:.96}.head-alt-base,.content-block .head-alt-base{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.875rem;font-weight:400;line-height:.96}.head-alt-sm,.content-block .head-alt-sm{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:400;line-height:.96}.head-alt-xs,.content-block .head-alt-xs{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.3rem;font-weight:400;line-height:.96}.head-alt-2xs,.content-block .head-alt-2xs{font-family:Bebas Neue,Helvetica,Arial,sans-serif;font-size:1.125rem;font-weight:400;line-height:.96}.head-base,.content-block .head-base{font-size:1.875rem;font-weight:500;line-height:1.25}.head-sm,.content-block .head-sm{font-size:1.6rem;font-weight:500;line-height:1.25}.head-xs,.content-block .head-xs{font-size:1.3rem;font-weight:500;line-height:1.25}.head-2xs,.content-block .head-2xs{font-size:1.125rem;font-weight:500;line-height:1.25}.head-heavy-base,.content-block .head-heavy-base{font-size:1.875rem;font-weight:700;line-height:1.25}.head-heavy-sm,.content-block .head-heavy-sm{font-size:1.6rem;font-weight:700;line-height:1.25}.head-heavy-xs,.content-block .head-heavy-xs{font-size:1.3rem;font-weight:700;line-height:1.25}.head-heavy-2xs,.content-block .head-heavy-2xs{font-size:1.125rem;font-weight:700;line-height:1.25}.head-allcaps-2xs,.content-block .head-allcaps-2xs{font-size:1.125rem;font-weight:400;text-transform:uppercase;line-height:1.25}.head-allcaps-3xs,.content-block .head-allcaps-3xs{font-size:1rem;font-weight:400;text-transform:uppercase;line-height:1.25}.head-allcaps-4xs,.content-block .head-allcaps-4xs{font-size:.875rem;font-weight:400;text-transform:uppercase;line-height:1.25}.head-allcaps-heavy-2xs,.content-block .head-allcaps-heavy-2xs{font-size:1.125rem;font-weight:700;text-transform:uppercase;line-height:1.25}.head-allcaps-heavy-3xs,.content-block .head-allcaps-heavy-3xs{font-size:1rem;font-weight:700;text-transform:uppercase;line-height:1.25}.head-allcaps-heavy-4xs,.content-block .head-allcaps-heavy-4xs{font-size:.875rem;font-weight:700;text-transform:uppercase;line-height:1.25}@media (min-width: 1200px){.switch__item{padding:.5rem 1.25rem}}.faq-answer .faq-answer--person{flex-direction:row-reverse}@media (min-width: 992px){.faq-answer:not(:nth-child(4n)) .faq-answer--person{flex-direction:row}}.slick-track[data-v-e4caeaf8]{position:relative;top:0;left:0;display:block;transform:translateZ(0)}.slick-track.slick-center[data-v-e4caeaf8]{margin-left:auto;margin-right:auto}.slick-track[data-v-e4caeaf8]:after,.slick-track[data-v-e4caeaf8]:before{display:table;content:""}.slick-track[data-v-e4caeaf8]:after{clear:both}.slick-loading .slick-track[data-v-e4caeaf8]{visibility:hidden}.slick-slide[data-v-e4caeaf8]{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide[data-v-e4caeaf8]{float:right}.slick-slide img[data-v-e4caeaf8]{display:block}.slick-slide.slick-loading img[data-v-e4caeaf8]{display:none}.slick-slide.dragging img[data-v-e4caeaf8]{pointer-events:none}.slick-initialized .slick-slide[data-v-e4caeaf8]{display:block}.slick-loading .slick-slide[data-v-e4caeaf8]{visibility:hidden}.slick-vertical .slick-slide[data-v-e4caeaf8]{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden[data-v-21137603]{display:none}.slick-slider[data-v-3d1a4f76]{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list[data-v-3d1a4f76]{position:relative;display:block;overflow:hidden;margin:0;padding:0;transform:translateZ(0)}.slick-list[data-v-3d1a4f76]:focus{outline:none}.slick-list.dragging[data-v-3d1a4f76]{cursor:pointer;cursor:hand}::-moz-selection{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));background:#f9ce05}::selection{background:#f9ce05}:root{font-size:16px}html{scroll-behavior:smooth}body{font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1rem}a:hover{text-decoration-line:underline}a.icon-link:hover{text-decoration-line:none}a.icon-link:hover span{text-decoration-line:underline}[v-cloak]{display:none}.copyleft{transform:scaleX(-1)!important}.inline-block-nogap{font-size:0}.iframe-container{position:relative;padding-bottom:56.25%;height:0}.iframe-container iframe{position:absolute;top:0;left:0;height:100%;width:100%}.hide-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbar::-webkit-scrollbar{background:transparent;width:0px}.universal-content-container{margin-top:6rem!important;margin-bottom:2rem!important;padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1400px}@media (min-width: 1200px){.universal-content-container{margin-top:10rem!important}}.universal-content-container-small{margin-top:6rem!important;margin-bottom:2rem!important;padding-left:1.25rem;padding-right:1.25rem;margin:auto;max-width:1400px}@media (min-width: 1200px){.universal-content-container-small{margin-top:8rem!important}}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\:bg-grey-125:hover{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity))}.hover\:bg-grey-175:hover{--tw-bg-opacity: 1;background-color:rgb(208 208 208 / var(--tw-bg-opacity))}.hover\:bg-grey-600:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.hover\:bg-pirati-yellow:hover{--tw-bg-opacity: 1;background-color:rgb(242 199 0 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:no-underline:hover{text-decoration-line:none}.group:hover .group-hover\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\:-translate-x-2{--tw-translate-x: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-yellow-600{--tw-border-opacity: 1;border-color:rgb(215 177 3 / var(--tw-border-opacity))}.group:hover .group-hover\:text-8xl{font-size:6.25rem}.group:hover .group-hover\:underline{text-decoration-line:underline}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:blur-sm{--tw-blur: blur(4px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 576px){.sm\:w-5\/12{width:41.666667%}.sm\:w-6\/12{width:50%}.sm\:max-w-full{max-width:100%}.sm\:text-4xl{font-size:2.45rem}.sm\:btn--autowidth.btn{width:auto}}@media (min-width: 768px){.md\:col-span-1{grid-column:span 1 / span 1}.md\:col-span-2{grid-column:span 2 / span 2}.md\:mb-16{margin-bottom:4rem}.md\:mb-6{margin-bottom:1.5rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:w-96{width:24rem}.md\:shrink-0{flex-shrink:0}.md\:auto-rows-auto{grid-auto-rows:auto}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:justify-end{justify-content:flex-end}.md\:justify-between{justify-content:space-between}.md\:gap-8{gap:2rem}.md\:gap-x-14{-moz-column-gap:3.5rem;column-gap:3.5rem}.md\:gap-y-5{row-gap:1.25rem}.md\:pr-0{padding-right:0}.md\:text-2xl{font-size:1.6rem}.md\:text-4xl{font-size:2.45rem}.md\:text-base{font-size:1rem}}@media (min-width: 992px){.lg\:float-right{float:right}.lg\:float-left{float:left}.lg\:mx-8{margin-left:2rem;margin-right:2rem}.lg\:my-12{margin-top:3rem;margin-bottom:3rem}.lg\:my-4{margin-top:1rem;margin-bottom:1rem}.lg\:mb-12{margin-bottom:3rem}.lg\:mb-16{margin-bottom:4rem}.lg\:mb-3{margin-bottom:.75rem}.lg\:ml-0{margin-left:0}.lg\:ml-6{margin-left:1.5rem}.lg\:ml-auto{margin-left:auto}.lg\:mt-0{margin-top:0}.lg\:mt-\[-1rem\]{margin-top:-1rem}.lg\:block{display:block}.lg\:inline{display:inline}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:h-96{height:24rem}.lg\:h-\[33rem\]{height:33rem}.lg\:h-max{height:-moz-max-content;height:max-content}.lg\:\!w-full{width:100%!important}.lg\:w-1\/2{width:50%}.lg\:w-2\/5{width:40%}.lg\:w-3\/5{width:60%}.lg\:w-5\/12{width:41.666667%}.lg\:w-96{width:24rem}.lg\:w-\[180px\]{width:180px}.lg\:w-\[190px\]{width:190px}.lg\:w-\[280px\]{width:280px}.lg\:w-\[35rem\]{width:35rem}.lg\:w-\[unset\]{width:unset}.lg\:w-auto{width:auto}.lg\:min-w-\[15rem\]{min-width:15rem}.lg\:min-w-\[24rem\]{min-width:24rem}.lg\:max-w-screen-lg{max-width:992px}.lg\:grow-0{flex-grow:0}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:basis-2\/3{flex-basis:66.666667%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-wrap{flex-wrap:wrap}.lg\:flex-nowrap{flex-wrap:nowrap}.lg\:items-start{align-items:flex-start}.lg\:items-center{align-items:center}.lg\:justify-start{justify-content:flex-start}.lg\:justify-between{justify-content:space-between}.lg\:gap-2{gap:.5rem}.lg\:gap-4{gap:1rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-8{gap:2rem}.lg\:overflow-x-hidden{overflow-x:hidden}.lg\:overflow-x-visible{overflow-x:visible}.lg\:py-16{padding-top:4rem;padding-bottom:4rem}.lg\:text-justify{text-align:justify}.lg\:text-6xl{font-size:4rem}.lg\:text-\[5\.5rem\]{font-size:5.5rem}.lg\:text-base{font-size:1rem}}@media (min-width: 1200px){.xl\:absolute{position:absolute}.xl\:col-span-1{grid-column:span 1 / span 1}.xl\:col-span-3{grid-column:span 3 / span 3}.xl\:m-0{margin:0}.xl\:my-10{margin-top:2.5rem;margin-bottom:2.5rem}.xl\:mb-0{margin-bottom:0}.xl\:mb-12{margin-bottom:3rem}.xl\:mb-20{margin-bottom:5rem}.xl\:mb-24{margin-bottom:6rem}.xl\:mb-32{margin-bottom:8rem}.xl\:mb-6{margin-bottom:1.5rem}.xl\:mb-8{margin-bottom:2rem}.xl\:mr-12{margin-right:3rem}.xl\:mr-2{margin-right:.5rem}.xl\:mt-2{margin-top:.5rem}.xl\:mt-\[-0\.7rem\]{margin-top:-.7rem}.xl\:mt-\[-1rem\]{margin-top:-1rem}.xl\:block{display:block}.xl\:inline{display:inline}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:h-14{height:3.5rem}.xl\:h-\[600px\]{height:600px}.xl\:h-\[620px\]{height:620px}.xl\:h-\[696px\]{height:696px}.xl\:h-screen{height:100vh}.xl\:w-1\/2{width:50%}.xl\:w-14{width:3.5rem}.xl\:w-60{width:15rem}.xl\:w-auto{width:auto}.xl\:shrink-0{flex-shrink:0}.xl\:grow-0{flex-grow:0}.xl\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-col{flex-direction:column}.xl\:items-start{align-items:flex-start}.xl\:items-end{align-items:flex-end}.xl\:items-center{align-items:center}.xl\:justify-start{justify-content:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:gap-0{gap:0px}.xl\:gap-12{gap:3rem}.xl\:gap-16{gap:4rem}.xl\:gap-4{gap:1rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-8{gap:2rem}.xl\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.xl\:justify-self-end{justify-self:end}.xl\:bg-transparent{background-color:transparent}.xl\:bg-center{background-position:center}.xl\:p-12{padding:3rem}.xl\:px-0{padding-left:0;padding-right:0}.xl\:px-3{padding-left:.75rem;padding-right:.75rem}.xl\:px-5{padding-left:1.25rem;padding-right:1.25rem}.xl\:px-8{padding-left:2rem;padding-right:2rem}.xl\:py-0{padding-top:0;padding-bottom:0}.xl\:py-24{padding-top:6rem;padding-bottom:6rem}.xl\:py-4{padding-top:1rem;padding-bottom:1rem}.xl\:py-5{padding-top:1.25rem;padding-bottom:1.25rem}.xl\:py-52{padding-top:13rem;padding-bottom:13rem}.xl\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.xl\:py-8{padding-top:2rem;padding-bottom:2rem}.xl\:pb-16{padding-bottom:4rem}.xl\:pb-20{padding-bottom:5rem}.xl\:pb-24{padding-bottom:6rem}.xl\:pb-\[110px\]{padding-bottom:110px}.xl\:pl-32{padding-left:8rem}.xl\:pl-8{padding-left:2rem}.xl\:pr-0{padding-right:0}.xl\:pr-3{padding-right:.75rem}.xl\:pr-4{padding-right:1rem}.xl\:pr-40{padding-right:10rem}.xl\:pt-1{padding-top:.25rem}.xl\:pt-16{padding-top:4rem}.xl\:pt-32{padding-top:8rem}.xl\:pt-48{padding-top:12rem}.xl\:pt-6{padding-top:1.5rem}.xl\:pt-8{padding-top:2rem}.xl\:text-14xl{font-size:10.6rem}.xl\:text-3xl{font-size:1.875rem}.xl\:text-4xl{font-size:2.45rem}.xl\:text-7xl{font-size:5.3rem}.xl\:text-9xl{font-size:7.5rem}.xl\:text-lg{font-size:1.125rem}.xl\:text-xl{font-size:1.3rem}.xl\:leading-\[10\.5rem\]{line-height:10.5rem}.xl\:\[flex-flow\:column_wrap\]{flex-flow:column wrap}.xl\:\[writing-mode\:vertical-rl\]{writing-mode:vertical-rl}}@media (min-width: 1366px){.\32xl\:h-\[550px\]{height:550px}.\32xl\:h-\[646px\]{height:646px}.\32xl\:text-\[6\.5rem\]{font-size:6.5rem}}@media (min-width: 1600px){.\32\.5xl\:ml-\[-10rem\]{margin-left:-10rem}}@media (min-width: 2060px){.\33xl\:text-lg{font-size:1.125rem}}.\[\&\>div\.content-block\>p\:first-child\]\:mt-0>div.content-block>p:first-child{margin-top:0}.\[\&_\*\]\:mx-auto *{margin-left:auto;margin-right:auto}.\[\&_\*\]\:ml-auto *{margin-left:auto}.\[\&_\*\]\:mr-auto *{margin-right:auto}.\[\&_\*\]\:mt-0 *{margin-top:0}.\[\&_\*\]\:\!gap-0 *{gap:0px!important}.\[\&_\*\]\:\!p-0 *{padding:0!important}.\[\&_\*\]\:\!text-\[0rem\] *{font-size:0rem!important}.\[\&_\*\]\:\!leading-\[0px\] *{line-height:0px!important}.\[\&_\*\]\:\!text-grey-250 *{--tw-text-opacity: 1 !important;color:rgb(136 136 136 / var(--tw-text-opacity))!important}.\[\&_\*\]\:\!text-white *{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_\*\]\:\!delay-0 *{transition-delay:0s!important}.\[\&_\*\]\:\!duration-0 *{transition-duration:0s!important}.\[\&_\.content-block\]\:flex .content-block{display:flex}.\[\&_\.content-block\]\:flex-col .content-block{flex-direction:column}.\[\&_\.content-block\]\:gap-4 .content-block{gap:1rem}.\[\&_\>_th\]\:py-2>th{padding-top:.5rem;padding-bottom:.5rem}.\[\&_a\]\:underline a{text-decoration-line:underline}.\[\&_h1\]\:\!text-black h1{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h1\]\:\!text-white h1{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h2\]\:\!text-black h2{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h2\]\:\!text-white h2{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h3\]\:\!text-black h3{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h3\]\:\!text-white h3{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h4\]\:\!text-black h4{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h4\]\:\!text-white h4{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h5\]\:\!text-black h5{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h5\]\:\!text-white h5{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_h6\]\:\!text-black h6{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_h6\]\:\!text-white h6{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_p\]\:my-0 p{margin-top:0;margin-bottom:0}.\[\&_p\]\:whitespace-pre-line p{white-space:pre-line}.\[\&_p\]\:py-0 p{padding-top:0;padding-bottom:0}.\[\&_p\]\:\!text-lg p{font-size:1.125rem!important}.\[\&_p\]\:text-lg p{font-size:1.125rem}.\[\&_p\]\:leading-7 p{line-height:1.75rem}.\[\&_p\]\:\!text-black p{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\[\&_p\]\:\!text-white p{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.\[\&_p\]\:text-black p{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.\[\&_p\]\:delay-300 p{transition-delay:.3s}.\[\&_p\]\:duration-150 p{transition-duration:.15s}.\[\&_td\]\:py-2 td{padding-top:.5rem;padding-bottom:.5rem}.\[\&_td\]\:align-middle td{vertical-align:middle}.\[\&_tr\:nth-child\(even\)\]\:bg-grey-50 tr:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(247 247 247 / var(--tw-bg-opacity))}:root{--f-spinner-width: 36px;--f-spinner-height: 36px;--f-spinner-color-1: rgba(0, 0, 0, .1);--f-spinner-color-2: rgba(17, 24, 28, .8);--f-spinner-stroke: 2.75}.f-spinner{margin:auto;padding:0;width:var(--f-spinner-width);height:var(--f-spinner-height)}.f-spinner svg{width:100%;height:100%;vertical-align:top;animation:f-spinner-rotate 2s linear infinite}.f-spinner svg *{stroke-width:var(--f-spinner-stroke);fill:none}.f-spinner svg *:first-child{stroke:var(--f-spinner-color-1)}.f-spinner svg *:last-child{stroke:var(--f-spinner-color-2);animation:f-spinner-dash 2s ease-in-out infinite}@keyframes f-spinner-rotate{to{transform:rotate(360deg)}}@keyframes f-spinner-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.f-throwOutUp{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutUp}.f-throwOutDown{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutDown}@keyframes f-throwOutUp{to{transform:translate3d(0,calc(var(--f-throw-out-distance, 150px) * -1),0);opacity:0}}@keyframes f-throwOutDown{to{transform:translate3d(0,var(--f-throw-out-distance, 150px),0);opacity:0}}.f-zoomInUp{animation:var(--f-transition-duration, .2s) ease .1s both f-zoomInUp}.f-zoomOutDown{animation:var(--f-transition-duration, .2s) ease both f-zoomOutDown}@keyframes f-zoomInUp{0%{transform:scale(.975) translate3d(0,16px,0);opacity:0}to{transform:scale(1) translateZ(0);opacity:1}}@keyframes f-zoomOutDown{to{transform:scale(.975) translate3d(0,16px,0);opacity:0}}.f-fadeIn{animation:var(--f-transition-duration, .2s) var(--f-transition-easing, ease) var(--f-transition-delay, 0s) both f-fadeIn;z-index:2}.f-fadeOut{animation:var(--f-transition-duration, .2s) var(--f-transition-easing, ease) var(--f-transition-delay, 0s) both f-fadeOut;z-index:1}@keyframes f-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeOut{to{opacity:0}}.f-fadeFastIn{animation:var(--f-transition-duration, .2s) ease-out both f-fadeFastIn;z-index:2}.f-fadeFastOut{animation:var(--f-transition-duration, .1s) ease-out both f-fadeFastOut;z-index:2}@keyframes f-fadeFastIn{0%{opacity:.75}to{opacity:1}}@keyframes f-fadeFastOut{to{opacity:0}}.f-fadeSlowIn{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowIn;z-index:2}.f-fadeSlowOut{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowOut;z-index:1}@keyframes f-fadeSlowIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeSlowOut{to{opacity:0}}.f-crossfadeIn{animation:var(--f-transition-duration, .2s) ease-out both f-crossfadeIn;z-index:2}.f-crossfadeOut{animation:calc(var(--f-transition-duration, .2s)*.5) linear .1s both f-crossfadeOut;z-index:1}@keyframes f-crossfadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-crossfadeOut{to{opacity:0}}.f-slideIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInNext}.f-slideIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInPrev}.f-slideOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutNext}.f-slideOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutPrev}@keyframes f-slideInPrev{0%{transform:translate(100%)}to{transform:translateZ(0)}}@keyframes f-slideInNext{0%{transform:translate(-100%)}to{transform:translateZ(0)}}@keyframes f-slideOutNext{to{transform:translate(-100%)}}@keyframes f-slideOutPrev{to{transform:translate(100%)}}.f-classicIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInNext;z-index:2}.f-classicIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInPrev;z-index:2}.f-classicOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutNext;z-index:1}.f-classicOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutPrev;z-index:1}@keyframes f-classicInNext{0%{transform:translate(-75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicInPrev{0%{transform:translate(75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicOutNext{to{transform:translate(-75px);opacity:0}}@keyframes f-classicOutPrev{to{transform:translate(75px);opacity:0}}:root{--f-button-width: 40px;--f-button-height: 40px;--f-button-border: 0;--f-button-border-radius: 0;--f-button-color: #374151;--f-button-bg: #f8f8f8;--f-button-hover-bg: #e0e0e0;--f-button-active-bg: #d0d0d0;--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 20px;--f-button-svg-height: 20px;--f-button-svg-stroke-width: 1.5;--f-button-svg-fill: none;--f-button-svg-filter: none;--f-button-svg-disabled-opacity: .65}.f-button{display:flex;justify-content:center;align-items:center;box-sizing:content-box;position:relative;margin:0;padding:0;width:var(--f-button-width);height:var(--f-button-height);border:var(--f-button-border);border-radius:var(--f-button-border-radius);color:var(--f-button-color);background:var(--f-button-bg);box-shadow:var(--f-button-shadow);pointer-events:all;cursor:pointer;transition:var(--f-button-transition)}@media (hover: hover){.f-button:hover:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}}.f-button:active:not([disabled]){background-color:var(--f-button-active-bg)}.f-button:focus:not(:focus-visible){outline:none}.f-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--f-button-outline, 2px) var(--f-button-outline-color, var(--f-button-color))}.f-button svg{width:var(--f-button-svg-width);height:var(--f-button-svg-height);fill:var(--f-button-svg-fill);stroke:currentColor;stroke-width:var(--f-button-svg-stroke-width);stroke-linecap:round;stroke-linejoin:round;transition:opacity .15s ease;transform:var(--f-button-transform);filter:var(--f-button-svg-filter);pointer-events:none}.f-button[disabled]{cursor:default}.f-button[disabled] svg{opacity:var(--f-button-svg-disabled-opacity)}.f-carousel__nav .f-button.is-prev,.f-carousel__nav .f-button.is-next,.fancybox__nav .f-button.is-prev,.fancybox__nav .f-button.is-next{position:absolute;z-index:1}.is-horizontal .f-carousel__nav .f-button.is-prev,.is-horizontal .f-carousel__nav .f-button.is-next,.is-horizontal .fancybox__nav .f-button.is-prev,.is-horizontal .fancybox__nav .f-button.is-next{top:50%;transform:translateY(-50%)}.is-horizontal .f-carousel__nav .f-button.is-prev,.is-horizontal .fancybox__nav .f-button.is-prev{left:var(--f-button-prev-pos)}.is-horizontal .f-carousel__nav .f-button.is-next,.is-horizontal .fancybox__nav .f-button.is-next{right:var(--f-button-next-pos)}.is-horizontal.is-rtl .f-carousel__nav .f-button.is-prev,.is-horizontal.is-rtl .fancybox__nav .f-button.is-prev{left:auto;right:var(--f-button-next-pos)}.is-horizontal.is-rtl .f-carousel__nav .f-button.is-next,.is-horizontal.is-rtl .fancybox__nav .f-button.is-next{right:auto;left:var(--f-button-prev-pos)}.is-vertical .f-carousel__nav .f-button.is-prev,.is-vertical .f-carousel__nav .f-button.is-next,.is-vertical .fancybox__nav .f-button.is-prev,.is-vertical .fancybox__nav .f-button.is-next{top:auto;left:50%;transform:translate(-50%)}.is-vertical .f-carousel__nav .f-button.is-prev,.is-vertical .fancybox__nav .f-button.is-prev{top:var(--f-button-next-pos)}.is-vertical .f-carousel__nav .f-button.is-next,.is-vertical .fancybox__nav .f-button.is-next{bottom:var(--f-button-next-pos)}.is-vertical .f-carousel__nav .f-button.is-prev svg,.is-vertical .f-carousel__nav .f-button.is-next svg,.is-vertical .fancybox__nav .f-button.is-prev svg,.is-vertical .fancybox__nav .f-button.is-next svg{transform:rotate(90deg)}.f-carousel__nav .f-button:disabled,.fancybox__nav .f-button:disabled{pointer-events:none}html.with-fancybox{width:auto;overflow:visible;scroll-behavior:auto}html.with-fancybox body{touch-action:none}html.with-fancybox body.hide-scrollbar{width:auto;margin-right:calc(var(--fancybox-body-margin, 0px) + var(--fancybox-scrollbar-compensate, 0px));overflow:hidden!important;overscroll-behavior-y:none}.fancybox__container{--fancybox-color: #dbdbdb;--fancybox-hover-color: #fff;--fancybox-bg: rgba(24, 24, 27, .98);--fancybox-slide-gap: 10px;--f-spinner-width: 50px;--f-spinner-height: 50px;--f-spinner-color-1: rgba(255, 255, 255, .1);--f-spinner-color-2: #bbb;--f-spinner-stroke: 3.65;position:fixed;inset:0;direction:ltr;display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:0;color:#f8f8f8;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:visible;z-index:var(--fancybox-zIndex, 1050);outline:none;transform-origin:top left;-webkit-text-size-adjust:100%;-moz-text-size-adjust:none;text-size-adjust:100%;overscroll-behavior-y:contain}.fancybox__container *,.fancybox__container *:before,.fancybox__container *:after{box-sizing:inherit}.fancybox__container::backdrop{background-color:#0000}.fancybox__backdrop{position:fixed;inset:0;z-index:-1;background:var(--fancybox-bg);opacity:var(--fancybox-opacity, 1);will-change:opacity}.fancybox__carousel{position:relative;box-sizing:border-box;flex:1;min-height:0;z-index:10;overflow-y:visible;overflow-x:clip}.fancybox__viewport{width:100%;height:100%}.fancybox__viewport.is-draggable{cursor:move;cursor:grab}.fancybox__viewport.is-dragging{cursor:move;cursor:grabbing}.fancybox__track{display:flex;margin:0 auto;height:100%}.fancybox__slide{flex:0 0 auto;position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;margin:0 var(--fancybox-slide-gap) 0 0;padding:4px;overflow:auto;overscroll-behavior:contain;transform:translateZ(0);backface-visibility:hidden}.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn{padding-top:40px}.fancybox__slide.has-iframe,.fancybox__slide.has-video,.fancybox__slide.has-html5video,.fancybox__slide.has-image{overflow:hidden}.fancybox__slide.has-image.is-animating,.fancybox__slide.has-image.is-selected{overflow:visible}.fancybox__slide:before,.fancybox__slide:after{content:"";flex:0 0 0;margin:auto}.fancybox__backdrop:empty,.fancybox__viewport:empty,.fancybox__track:empty,.fancybox__slide:empty{display:block}.fancybox__content{align-self:center;display:flex;flex-direction:column;position:relative;margin:0;padding:2rem;max-width:100%;color:var(--fancybox-content-color, #374151);background:var(--fancybox-content-bg, #fff);cursor:default;border-radius:0;z-index:20}.is-loading .fancybox__content{opacity:0}.is-draggable .fancybox__content{cursor:move;cursor:grab}.can-zoom_in .fancybox__content{cursor:zoom-in}.can-zoom_out .fancybox__content{cursor:zoom-out}.is-dragging .fancybox__content{cursor:move;cursor:grabbing}.fancybox__content [data-selectable],.fancybox__content [contenteditable]{cursor:auto}.fancybox__slide.has-image>.fancybox__content{padding:0;background:#0000;min-height:1px;background-repeat:no-repeat;background-size:contain;background-position:center center;transition:none;transform:translateZ(0);backface-visibility:hidden}.fancybox__slide.has-image>.fancybox__content>picture>img{width:100%;height:auto;max-height:100%}.is-animating .fancybox__content,.is-dragging .fancybox__content{will-change:transform,width,height}.fancybox-image{margin:auto;display:block;width:100%;height:100%;min-height:0;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;filter:blur(0px)}.fancybox__caption{align-self:center;max-width:100%;flex-shrink:0;margin:0;padding:14px 0 4px;overflow-wrap:anywhere;line-height:1.375;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);cursor:auto;visibility:visible}.is-loading .fancybox__caption,.is-closing .fancybox__caption{opacity:0;visibility:hidden}.is-compact .fancybox__caption{padding-bottom:0}.f-button.is-close-btn{--f-button-svg-stroke-width: 2;position:absolute;top:0;right:8px;z-index:40}.fancybox__content>.f-button.is-close-btn{--f-button-width: 34px;--f-button-height: 34px;--f-button-border-radius: 4px;--f-button-color: var(--fancybox-color, #fff);--f-button-hover-color: var(--fancybox-color, #fff);--f-button-bg: transparent;--f-button-hover-bg: transparent;--f-button-active-bg: transparent;--f-button-svg-width: 22px;--f-button-svg-height: 22px;position:absolute;top:-38px;right:0;opacity:.75}.is-loading .fancybox__content>.f-button.is-close-btn{visibility:hidden}.is-zooming-out .fancybox__content>.f-button.is-close-btn{visibility:hidden}.fancybox__content>.f-button.is-close-btn:hover{opacity:1}.fancybox__footer{padding:0;margin:0;position:relative}.fancybox__footer .fancybox__caption{width:100%;padding:24px;opacity:var(--fancybox-opacity, 1);transition:all .25s ease}.is-compact .fancybox__footer{position:absolute;bottom:0;left:0;right:0;z-index:20;background:#18181b80}.is-compact .fancybox__footer .fancybox__caption{padding:12px}.is-compact .fancybox__content>.f-button.is-close-btn{--f-button-border-radius: 50%;--f-button-color: #fff;--f-button-hover-color: #fff;--f-button-outline-color: #000;--f-button-bg: rgba(0, 0, 0, .6);--f-button-active-bg: rgba(0, 0, 0, .6);--f-button-hover-bg: rgba(0, 0, 0, .6);--f-button-svg-width: 18px;--f-button-svg-height: 18px;--f-button-svg-filter: none;top:5px;right:5px}.fancybox__nav{--f-button-width: 50px;--f-button-height: 50px;--f-button-border: 0;--f-button-border-radius: 50%;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: transparent;--f-button-hover-bg: rgba(24, 24, 27, .3);--f-button-active-bg: rgba(24, 24, 27, .5);--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 26px;--f-button-svg-height: 26px;--f-button-svg-stroke-width: 2.5;--f-button-svg-fill: none;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .5));--f-button-svg-disabled-opacity: .65;--f-button-next-pos: 1rem;--f-button-prev-pos: 1rem;opacity:var(--fancybox-opacity, 1)}.fancybox__nav .f-button:before{position:absolute;content:"";inset:-30px -20px;z-index:1}.is-idle .fancybox__nav{animation:.15s ease-out both f-fadeOut}.is-idle.is-compact .fancybox__footer{pointer-events:none;animation:.15s ease-out both f-fadeOut}.fancybox__slide>.f-spinner{position:absolute;top:50%;left:50%;margin:var(--f-spinner-top, calc(var(--f-spinner-width) * -.5)) 0 0 var(--f-spinner-left, calc(var(--f-spinner-height) * -.5));z-index:30;cursor:pointer}.fancybox-protected{position:absolute;inset:0;z-index:40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fancybox-ghost{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;-o-object-fit:contain;object-fit:contain;z-index:40;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.fancybox-focus-guard{outline:none;opacity:0;position:fixed;pointer-events:none}.fancybox__container:not([aria-hidden]){opacity:0}.fancybox__container.is-animated[aria-hidden=false]>*:not(.fancybox__backdrop,.fancybox__carousel),.fancybox__container.is-animated[aria-hidden=false] .fancybox__carousel>*:not(.fancybox__viewport),.fancybox__container.is-animated[aria-hidden=false] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-enter-duration, .25s) ease .1s backwards f-fadeIn}.fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop{animation:var(--f-backdrop-enter-duration, .35s) ease backwards f-fadeIn}.fancybox__container.is-animated[aria-hidden=true]>*:not(.fancybox__backdrop,.fancybox__carousel),.fancybox__container.is-animated[aria-hidden=true] .fancybox__carousel>*:not(.fancybox__viewport),.fancybox__container.is-animated[aria-hidden=true] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-exit-duration, .15s) ease forwards f-fadeOut}.fancybox__container.is-animated[aria-hidden=true] .fancybox__backdrop{animation:var(--f-backdrop-exit-duration, .35s) ease forwards f-fadeOut}.has-iframe .fancybox__content,.has-map .fancybox__content,.has-pdf .fancybox__content,.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{max-width:100%;flex-shrink:1;min-height:1px;overflow:visible}.has-iframe .fancybox__content,.has-map .fancybox__content,.has-pdf .fancybox__content{width:calc(100% - 120px);height:90%}.fancybox__container.is-compact .has-iframe .fancybox__content,.fancybox__container.is-compact .has-map .fancybox__content,.fancybox__container.is-compact .has-pdf .fancybox__content{width:100%;height:100%}.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}.has-map .fancybox__content,.has-pdf .fancybox__content,.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{padding:0;background:#18181be6;color:#fff}.has-map .fancybox__content{background:#e5e3df}.fancybox__html5video,.fancybox__iframe{border:0;display:block;height:100%;width:100%;background:#0000}.fancybox-placeholder{border:0!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}.f-carousel__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-outline: 0;--f-thumb-outline-color: #5eb0ef;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1;--f-thumb-border-radius: 2px;--f-thumb-offset: 0px;--f-button-next-pos: 0;--f-button-prev-pos: 0}.f-carousel__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1}.f-carousel__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px}.f-thumbs{position:relative;flex:0 0 auto;margin:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;user-select:none;perspective:1000px;transform:translateZ(0)}.f-thumbs .f-spinner{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;background-image:linear-gradient(#ebeff2,#e2e8f0);z-index:-1}.f-thumbs .f-spinner svg{display:none}.f-thumbs.is-vertical{height:100%}.f-thumbs__viewport{width:100%;height:auto;overflow:hidden;transform:translateZ(0)}.f-thumbs__track{display:flex}.f-thumbs__slide{position:relative;flex:0 0 auto;box-sizing:content-box;display:flex;align-items:center;justify-content:center;padding:0;margin:0;width:var(--f-thumb-width);height:var(--f-thumb-height);overflow:visible;cursor:pointer}.f-thumbs__slide.is-loading img{opacity:0}.is-classic .f-thumbs__viewport{height:100%}.is-modern .f-thumbs__track{width:-moz-max-content;width:max-content}.is-modern .f-thumbs__track:before{content:"";position:absolute;top:0;bottom:0;left:calc((var(--f-thumb-clip-width, 0))*-.5);width:calc(var(--width, 0)*1px + var(--f-thumb-clip-width, 0));cursor:pointer}.is-modern .f-thumbs__slide{width:var(--f-thumb-clip-width);transform:translate3d(calc(var(--shift, 0) * -1px),0,0);transition:none;pointer-events:none}.is-modern.is-resting .f-thumbs__slide{transition:transform .33s ease}.is-modern.is-resting .f-thumbs__slide__button{transition:clip-path .33s ease}.is-using-tab .is-modern .f-thumbs__slide:focus-within{filter:drop-shadow(-1px 0px 0px var(--f-thumb-outline-color)) drop-shadow(2px 0px 0px var(--f-thumb-outline-color)) drop-shadow(0px -1px 0px var(--f-thumb-outline-color)) drop-shadow(0px 2px 0px var(--f-thumb-outline-color))}.f-thumbs__slide__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:var(--f-thumb-width);height:100%;margin:0 -100%;padding:0;border:0;position:relative;border-radius:var(--f-thumb-border-radius);overflow:hidden;background:#0000;outline:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;opacity:var(--f-thumb-opacity);transition:opacity .2s ease}.f-thumbs__slide__button:hover{opacity:var(--f-thumb-hover-opacity)}.f-thumbs__slide__button:focus:not(:focus-visible){outline:none}.f-thumbs__slide__button:focus-visible{outline:none;opacity:var(--f-thumb-selected-opacity)}.is-modern .f-thumbs__slide__button{--clip-path: inset( 0 calc( ((var(--f-thumb-width, 0) - var(--f-thumb-clip-width, 0))) * (1 - var(--progress, 0)) * .5 ) round var(--f-thumb-border-radius, 0) );clip-path:var(--clip-path)}.is-classic .is-nav-selected .f-thumbs__slide__button{opacity:var(--f-thumb-selected-opacity)}.is-classic .is-nav-selected .f-thumbs__slide__button:after{content:"";position:absolute;inset:0;height:auto;border:var(--f-thumb-outline, 0) solid var(--f-thumb-outline-color, transparent);border-radius:var(--f-thumb-border-radius);animation:f-fadeIn .2s ease-out;z-index:10}.f-thumbs__slide__img{overflow:hidden;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:var(--f-thumb-offset);box-sizing:border-box;pointer-events:none;-o-object-fit:cover;object-fit:cover;border-radius:var(--f-thumb-border-radius)}.f-thumbs.is-horizontal .f-thumbs__track{padding:8px 0 12px}.f-thumbs.is-horizontal .f-thumbs__slide{margin:0 var(--f-thumb-gap) 0 0}.f-thumbs.is-vertical .f-thumbs__track{flex-wrap:wrap;padding:0 8px}.f-thumbs.is-vertical .f-thumbs__slide{margin:0 0 var(--f-thumb-gap) 0}.fancybox__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-border-radius: 2px;--f-thumb-outline: 2px;--f-thumb-outline-color: #ededed;position:relative;opacity:var(--fancybox-opacity, 1);transition:max-height .35s cubic-bezier(.23,1,.32,1)}.fancybox__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1}.fancybox__thumbs.is-classic .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}.fancybox__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1}.fancybox__thumbs.is-modern .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}.fancybox__thumbs.is-horizontal{padding:0 var(--f-thumb-gap)}.fancybox__thumbs.is-vertical{padding:var(--f-thumb-gap) 0}.is-compact .fancybox__thumbs{--f-thumb-width: 64px;--f-thumb-clip-width: 32px;--f-thumb-height: 48px;--f-thumb-extra-gap: 10px}.fancybox__thumbs.is-masked{max-height:0px!important}.is-closing .fancybox__thumbs{transition:none!important}.fancybox__toolbar{--f-progress-color: var(--fancybox-color, rgba(255, 255, 255, .94));--f-button-width: 46px;--f-button-height: 46px;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: rgba(24, 24, 27, .65);--f-button-hover-bg: rgba(70, 70, 73, .65);--f-button-active-bg: rgba(90, 90, 93, .65);--f-button-border-radius: 0;--f-button-svg-width: 24px;--f-button-svg-height: 24px;--f-button-svg-stroke-width: 1.5;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .15));--f-button-svg-fill: none;--f-button-svg-disabled-opacity: .65;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI Adjusted,Segoe UI,Liberation Sans,sans-serif;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);text-shadow:var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, .5));pointer-events:none;z-index:20}.fancybox__toolbar :focus-visible{z-index:1}.fancybox__toolbar.is-absolute,.is-compact .fancybox__toolbar{position:absolute;top:0;left:0;right:0}.is-idle .fancybox__toolbar{pointer-events:none;animation:.15s ease-out both f-fadeOut}.fancybox__toolbar__column{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start}.fancybox__toolbar__column.is-left,.fancybox__toolbar__column.is-right{flex-grow:1;flex-basis:0}.fancybox__toolbar__column.is-right{display:flex;justify-content:flex-end;flex-wrap:nowrap}.fancybox__infobar{padding:0 5px;line-height:var(--f-button-height);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fancybox__infobar span{padding:0 5px}.fancybox__infobar:not(:first-child):not(:last-child){background:var(--f-button-bg)}[data-fancybox-toggle-slideshow]{position:relative}[data-fancybox-toggle-slideshow] .f-progress{height:100%;opacity:.3}[data-fancybox-toggle-slideshow] svg g:first-child{display:flex}[data-fancybox-toggle-slideshow] svg g:last-child{display:none}.has-slideshow [data-fancybox-toggle-slideshow] svg g:first-child{display:none}.has-slideshow [data-fancybox-toggle-slideshow] svg g:last-child{display:flex}[data-fancybox-toggle-fullscreen] svg g:first-child{display:flex}[data-fancybox-toggle-fullscreen] svg g:last-child{display:none}:fullscreen [data-fancybox-toggle-fullscreen] svg g:first-child{display:none}:fullscreen [data-fancybox-toggle-fullscreen] svg g:last-child{display:flex}.f-progress{position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;background:var(--f-progress-color, var(--f-carousel-theme-color, #0091ff));z-index:30;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1} diff --git a/shared/static/styleguide2/main.js b/shared/static/styleguide2/main.js index f47f74f0..20e21a8e 100644 --- a/shared/static/styleguide2/main.js +++ b/shared/static/styleguide2/main.js @@ -1,4 +1,4 @@ -var Pa=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Dm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Bf={exports:{}};(function(n,e){var t={};/*! +var Na=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function $m(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Yf={exports:{}};(function(n,e){var t={};/*! * Vue.js v2.7.16 * (c) 2014-2023 Evan You * Released under the MIT License. @@ -6,16 +6,17 @@ var Pa=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?wind * Vue.js v2.7.16 * (c) 2014-2023 Evan You * Released under the MIT License. - */(function(i,s){n.exports=s()})(Pa,function(){var i=Object.freeze({}),s=Array.isArray;function o(r){return r==null}function a(r){return r!=null}function d(r){return r===!0}function f(r){return typeof r=="string"||typeof r=="number"||typeof r=="symbol"||typeof r=="boolean"}function g(r){return typeof r=="function"}function h(r){return r!==null&&typeof r=="object"}var y=Object.prototype.toString;function w(r){return y.call(r)==="[object Object]"}function v(r){var l=parseFloat(String(r));return l>=0&&Math.floor(l)===l&&isFinite(r)}function C(r){return a(r)&&typeof r.then=="function"&&typeof r.catch=="function"}function x(r){return r==null?"":Array.isArray(r)||w(r)&&r.toString===y?JSON.stringify(r,S,2):String(r)}function S(r,l){return l&&l.__v_isRef?l.value:l}function D(r){var l=parseFloat(r);return isNaN(l)?r:l}function M(r,l){for(var c=Object.create(null),u=r.split(","),m=0;m<u.length;m++)c[u[m]]=!0;return l?function(p){return c[p.toLowerCase()]}:function(p){return c[p]}}var F=M("slot,component",!0),E=M("key,ref,slot,slot-scope,is");function J(r,l){var c=r.length;if(c){if(l===r[c-1])return void(r.length=c-1);var u=r.indexOf(l);if(u>-1)return r.splice(u,1)}}var V=Object.prototype.hasOwnProperty;function G(r,l){return V.call(r,l)}function Q(r){var l=Object.create(null);return function(c){return l[c]||(l[c]=r(c))}}var Ce=/-(\w)/g,ce=Q(function(r){return r.replace(Ce,function(l,c){return c?c.toUpperCase():""})}),De=Q(function(r){return r.charAt(0).toUpperCase()+r.slice(1)}),xe=/\B([A-Z])/g,re=Q(function(r){return r.replace(xe,"-$1").toLowerCase()}),ke=Function.prototype.bind?function(r,l){return r.bind(l)}:function(r,l){function c(u){var m=arguments.length;return m?m>1?r.apply(l,arguments):r.call(l,u):r.call(l)}return c._length=r.length,c};function Ue(r,l){l=l||0;for(var c=r.length-l,u=new Array(c);c--;)u[c]=r[c+l];return u}function ne(r,l){for(var c in l)r[c]=l[c];return r}function Be(r){for(var l={},c=0;c<r.length;c++)r[c]&&ne(l,r[c]);return l}function oe(r,l,c){}var Oe=function(r,l,c){return!1},mt=function(r){return r};function it(r,l){if(r===l)return!0;var c=h(r),u=h(l);if(!c||!u)return!c&&!u&&String(r)===String(l);try{var m=Array.isArray(r),p=Array.isArray(l);if(m&&p)return r.length===l.length&&r.every(function(_,T){return it(_,l[T])});if(r instanceof Date&&l instanceof Date)return r.getTime()===l.getTime();if(m||p)return!1;var b=Object.keys(r),L=Object.keys(l);return b.length===L.length&&b.every(function(_){return it(r[_],l[_])})}catch(_){return!1}}function vt(r,l){for(var c=0;c<r.length;c++)if(it(r[c],l))return c;return-1}function At(r){var l=!1;return function(){l||(l=!0,r.apply(this,arguments))}}function bt(r,l){return r===l?r===0&&1/r!=1/l:r==r||l==l}var st="data-server-rendered",ot=["component","directive","filter"],on=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Qe={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Oe,isReservedAttr:Oe,isUnknownElement:Oe,getTagNamespace:oe,parsePlatformTagName:mt,mustUseProp:Oe,async:!0,_lifecycleHooks:on},an=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function $t(r){var l=(r+"").charCodeAt(0);return l===36||l===95}function Ee(r,l,c,u){Object.defineProperty(r,l,{value:c,enumerable:!!u,writable:!0,configurable:!0})}var Ai=new RegExp("[^".concat(an.source,".$_\\d]")),Un="__proto__"in{},ze=typeof window!="undefined",Xe=ze&&window.navigator.userAgent.toLowerCase(),at=Xe&&/msie|trident/.test(Xe),Et=Xe&&Xe.indexOf("msie 9.0")>0,Gn=Xe&&Xe.indexOf("edge/")>0;Xe&&Xe.indexOf("android");var Ei=Xe&&/iphone|ipad|ipod|ios/.test(Xe),yt,jt=Xe&&Xe.match(/firefox\/(\d+)/),ln={}.watch,Vt=!1;if(ze)try{var Tn={};Object.defineProperty(Tn,"passive",{get:function(){Vt=!0}}),window.addEventListener("test-passive",null,Tn)}catch(r){}var lt=function(){return yt===void 0&&(yt=!ze&&typeof Pa!="undefined"&&Pa.process&&t.VUE_ENV==="server"),yt},Yn=ze&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ht(r){return typeof r=="function"&&/native code/.test(r.toString())}var cn,qn=typeof Symbol!="undefined"&&Ht(Symbol)&&typeof Reflect!="undefined"&&Ht(Reflect.ownKeys);cn=typeof Set!="undefined"&&Ht(Set)?Set:function(){function r(){this.set=Object.create(null)}return r.prototype.has=function(l){return this.set[l]===!0},r.prototype.add=function(l){this.set[l]=!0},r.prototype.clear=function(){this.set=Object.create(null)},r}();var Ne=null;function Wt(r){r===void 0&&(r=null),r||Ne&&Ne._scope.off(),Ne=r,r&&r._scope.on()}var ct=function(){function r(l,c,u,m,p,b,L,_){this.tag=l,this.data=c,this.children=u,this.text=m,this.elm=p,this.ns=void 0,this.context=b,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=c&&c.key,this.componentOptions=L,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=_,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(r.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),r}(),un=function(r){r===void 0&&(r="");var l=new ct;return l.text=r,l.isComment=!0,l};function H(r){return new ct(void 0,void 0,void 0,String(r))}function X(r){var l=new ct(r.tag,r.data,r.children&&r.children.slice(),r.text,r.elm,r.context,r.componentOptions,r.asyncFactory);return l.ns=r.ns,l.isStatic=r.isStatic,l.key=r.key,l.isComment=r.isComment,l.fnContext=r.fnContext,l.fnOptions=r.fnOptions,l.fnScopeId=r.fnScopeId,l.asyncMeta=r.asyncMeta,l.isCloned=!0,l}typeof SuppressedError=="function"&&SuppressedError;var se=0,fe=[],de=function(){for(var r=0;r<fe.length;r++){var l=fe[r];l.subs=l.subs.filter(function(c){return c}),l._pending=!1}fe.length=0},Te=function(){function r(){this._pending=!1,this.id=se++,this.subs=[]}return r.prototype.addSub=function(l){this.subs.push(l)},r.prototype.removeSub=function(l){this.subs[this.subs.indexOf(l)]=null,this._pending||(this._pending=!0,fe.push(this))},r.prototype.depend=function(l){r.target&&r.target.addDep(this)},r.prototype.notify=function(l){for(var c=this.subs.filter(function(p){return p}),u=0,m=c.length;u<m;u++)c[u].update()},r}();Te.target=null;var Je=[];function wt(r){Je.push(r),Te.target=r}function dn(){Je.pop(),Te.target=Je[Je.length-1]}var Ut=Array.prototype,Dn=Object.create(Ut);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(r){var l=Ut[r];Ee(Dn,r,function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var m,p=l.apply(this,c),b=this.__ob__;switch(r){case"push":case"unshift":m=c;break;case"splice":m=c.slice(2)}return m&&b.observeArray(m),b.dep.notify(),p})});var Zn=Object.getOwnPropertyNames(Dn),fn={},er=!0;function xt(r){er=r}var xi={notify:oe,depend:oe,addSub:oe,removeSub:oe},lc=function(){function r(l,c,u){if(c===void 0&&(c=!1),u===void 0&&(u=!1),this.value=l,this.shallow=c,this.mock=u,this.dep=u?xi:new Te,this.vmCount=0,Ee(l,"__ob__",this),s(l)){if(!u)if(Un)l.__proto__=Dn;else for(var m=0,p=Zn.length;m<p;m++)Ee(l,L=Zn[m],Dn[L]);c||this.observeArray(l)}else{var b=Object.keys(l);for(m=0;m<b.length;m++){var L;kn(l,L=b[m],fn,void 0,c,u)}}}return r.prototype.observeArray=function(l){for(var c=0,u=l.length;c<u;c++)hn(l[c],!1,this.mock)},r}();function hn(r,l,c){return r&&G(r,"__ob__")&&r.__ob__ instanceof lc?r.__ob__:!er||!c&<()||!s(r)&&!w(r)||!Object.isExtensible(r)||r.__v_skip||Ke(r)||r instanceof ct?void 0:new lc(r,l,c)}function kn(r,l,c,u,m,p,b){b===void 0&&(b=!1);var L=new Te,_=Object.getOwnPropertyDescriptor(r,l);if(!_||_.configurable!==!1){var T=_&&_.get,k=_&&_.set;T&&!k||c!==fn&&arguments.length!==2||(c=r[l]);var A=m?c&&c.__ob__:hn(c,!1,p);return Object.defineProperty(r,l,{enumerable:!0,configurable:!0,get:function(){var O=T?T.call(r):c;return Te.target&&(L.depend(),A&&(A.dep.depend(),s(O)&&cc(O))),Ke(O)&&!m?O.value:O},set:function(O){var P=T?T.call(r):c;if(bt(P,O)){if(k)k.call(r,O);else{if(T)return;if(!m&&Ke(P)&&!Ke(O))return void(P.value=O);c=O}A=m?O&&O.__ob__:hn(O,!1,p),L.notify()}}}),L}}function zr(r,l,c){if(!Xn(r)){var u=r.__ob__;return s(r)&&v(l)?(r.length=Math.max(r.length,l),r.splice(l,1,c),u&&!u.shallow&&u.mock&&hn(c,!1,!0),c):l in r&&!(l in Object.prototype)?(r[l]=c,c):r._isVue||u&&u.vmCount?c:u?(kn(u.value,l,c,void 0,u.shallow,u.mock),u.dep.notify(),c):(r[l]=c,c)}}function vo(r,l){if(s(r)&&v(l))r.splice(l,1);else{var c=r.__ob__;r._isVue||c&&c.vmCount||Xn(r)||G(r,l)&&(delete r[l],c&&c.dep.notify())}}function cc(r){for(var l=void 0,c=0,u=r.length;c<u;c++)(l=r[c])&&l.__ob__&&l.__ob__.dep.depend(),s(l)&&cc(l)}function bo(r){return uc(r,!0),Ee(r,"__v_isShallow",!0),r}function uc(r,l){Xn(r)||hn(r,l,lt())}function Qn(r){return Xn(r)?Qn(r.__v_raw):!(!r||!r.__ob__)}function Fr(r){return!(!r||!r.__v_isShallow)}function Xn(r){return!(!r||!r.__v_isReadonly)}var tr="__v_isRef";function Ke(r){return!(!r||r.__v_isRef!==!0)}function dc(r,l){if(Ke(r))return r;var c={};return Ee(c,tr,!0),Ee(c,"__v_isShallow",l),Ee(c,"dep",kn(c,"value",r,null,l,lt())),c}function Vr(r,l,c){Object.defineProperty(r,c,{enumerable:!0,configurable:!0,get:function(){var u=l[c];if(Ke(u))return u.value;var m=u&&u.__ob__;return m&&m.dep.depend(),u},set:function(u){var m=l[c];Ke(m)&&!Ke(u)?m.value=u:l[c]=u}})}function fc(r,l,c){var u=r[l];if(Ke(u))return u;var m={get value(){var p=r[l];return p===void 0?c:p},set value(p){r[l]=p}};return Ee(m,tr,!0),m}var Qp="__v_rawToReadonly",Xp="__v_rawToShallowReadonly";function hc(r){return pc(r,!1)}function pc(r,l){if(!w(r)||Xn(r))return r;var c=l?Xp:Qp,u=r[c];if(u)return u;var m=Object.create(Object.getPrototypeOf(r));Ee(r,c,m),Ee(m,"__v_isReadonly",!0),Ee(m,"__v_raw",r),Ke(r)&&Ee(m,tr,!0),(l||Fr(r))&&Ee(m,"__v_isShallow",!0);for(var p=Object.keys(r),b=0;b<p.length;b++)Jp(m,r,p[b],l);return m}function Jp(r,l,c,u){Object.defineProperty(r,c,{enumerable:!0,configurable:!0,get:function(){var m=l[c];return u||!w(m)?m:hc(m)},set:function(){}})}var gc=Q(function(r){var l=r.charAt(0)==="&",c=(r=l?r.slice(1):r).charAt(0)==="~",u=(r=c?r.slice(1):r).charAt(0)==="!";return{name:r=u?r.slice(1):r,once:c,capture:u,passive:l}});function yo(r,l){function c(){var u=c.fns;if(!s(u))return gn(u,null,arguments,l,"v-on handler");for(var m=u.slice(),p=0;p<m.length;p++)gn(m[p],null,arguments,l,"v-on handler")}return c.fns=r,c}function mc(r,l,c,u,m,p){var b,L,_,T;for(b in r)L=r[b],_=l[b],T=gc(b),o(L)||(o(_)?(o(L.fns)&&(L=r[b]=yo(L,p)),d(T.once)&&(L=r[b]=m(T.name,L,T.capture)),c(T.name,L,T.capture,T.passive,T.params)):L!==_&&(_.fns=L,r[b]=_));for(b in l)o(r[b])&&u((T=gc(b)).name,l[b],T.capture)}function On(r,l,c){var u;r instanceof ct&&(r=r.data.hook||(r.data.hook={}));var m=r[l];function p(){c.apply(this,arguments),J(u.fns,p)}o(m)?u=yo([p]):a(m.fns)&&d(m.merged)?(u=m).fns.push(p):u=yo([m,p]),u.merged=!0,r[l]=u}function vc(r,l,c,u,m){if(a(l)){if(G(l,c))return r[c]=l[c],m||delete l[c],!0;if(G(l,u))return r[c]=l[u],m||delete l[u],!0}return!1}function wo(r){return f(r)?[H(r)]:s(r)?bc(r):void 0}function nr(r){return a(r)&&a(r.text)&&r.isComment===!1}function bc(r,l){var c,u,m,p,b=[];for(c=0;c<r.length;c++)o(u=r[c])||typeof u=="boolean"||(p=b[m=b.length-1],s(u)?u.length>0&&(nr((u=bc(u,"".concat(l||"","_").concat(c)))[0])&&nr(p)&&(b[m]=H(p.text+u[0].text),u.shift()),b.push.apply(b,u)):f(u)?nr(p)?b[m]=H(p.text+u):u!==""&&b.push(H(u)):nr(u)&&nr(p)?b[m]=H(p.text+u.text):(d(r._isVList)&&a(u.tag)&&o(u.key)&&a(l)&&(u.key="__vlist".concat(l,"_").concat(c,"__")),b.push(u)));return b}var Kp=1,yc=2;function ir(r,l,c,u,m,p){return(s(c)||f(c))&&(m=u,u=c,c=void 0),d(p)&&(m=yc),function(b,L,_,T,k){if(a(_)&&a(_.__ob__)||(a(_)&&a(_.is)&&(L=_.is),!L))return un();s(T)&&g(T[0])&&((_=_||{}).scopedSlots={default:T[0]},T.length=0),k===yc?T=wo(T):k===Kp&&(T=function(I){for(var z=0;z<I.length;z++)if(s(I[z]))return Array.prototype.concat.apply([],I);return I}(T));var A,O;if(typeof L=="string"){var P=void 0;O=b.$vnode&&b.$vnode.ns||Qe.getTagNamespace(L),A=_&&_.pre||!a(P=ts(b.$options,"components",L))?new ct(L,_,T,void 0,void 0,b):Xc(P,_,b,T,L)}else A=Xc(L,_,b,T);return s(A)?A:a(A)?(a(O)&&wc(A,O),a(_)&&function(I){h(I.style)&&Ti(I.style),h(I.class)&&Ti(I.class)}(_),A):un()}(r,l,c,u,m)}function wc(r,l,c){if(r.ns=l,r.tag==="foreignObject"&&(l=void 0,c=!0),a(r.children))for(var u=0,m=r.children.length;u<m;u++){var p=r.children[u];a(p.tag)&&(o(p.ns)||d(c)&&p.tag!=="svg")&&wc(p,l,c)}}function e9(r,l){var c,u,m,p,b=null;if(s(r)||typeof r=="string")for(b=new Array(r.length),c=0,u=r.length;c<u;c++)b[c]=l(r[c],c);else if(typeof r=="number")for(b=new Array(r),c=0;c<r;c++)b[c]=l(c+1,c);else if(h(r))if(qn&&r[Symbol.iterator]){b=[];for(var L=r[Symbol.iterator](),_=L.next();!_.done;)b.push(l(_.value,b.length)),_=L.next()}else for(m=Object.keys(r),b=new Array(m.length),c=0,u=m.length;c<u;c++)p=m[c],b[c]=l(r[p],p,c);return a(b)||(b=[]),b._isVList=!0,b}function t9(r,l,c,u){var m,p=this.$scopedSlots[r];p?(c=c||{},u&&(c=ne(ne({},u),c)),m=p(c)||(g(l)?l():l)):m=this.$slots[r]||(g(l)?l():l);var b=c&&c.slot;return b?this.$createElement("template",{slot:b},m):m}function n9(r){return ts(this.$options,"filters",r)||mt}function _c(r,l){return s(r)?r.indexOf(l)===-1:r!==l}function i9(r,l,c,u,m){var p=Qe.keyCodes[l]||c;return m&&u&&!Qe.keyCodes[l]?_c(m,u):p?_c(p,r):u?re(u)!==l:r===void 0}function r9(r,l,c,u,m){if(c&&h(c)){s(c)&&(c=Be(c));var p=void 0,b=function(_){if(_==="class"||_==="style"||E(_))p=r;else{var T=r.attrs&&r.attrs.type;p=u||Qe.mustUseProp(l,T,_)?r.domProps||(r.domProps={}):r.attrs||(r.attrs={})}var k=ce(_),A=re(_);k in p||A in p||(p[_]=c[_],m&&((r.on||(r.on={}))["update:".concat(_)]=function(O){c[_]=O}))};for(var L in c)b(L)}return r}function s9(r,l){var c=this._staticTrees||(this._staticTrees=[]),u=c[r];return u&&!l||Lc(u=c[r]=this.$options.staticRenderFns[r].call(this._renderProxy,this._c,this),"__static__".concat(r),!1),u}function o9(r,l,c){return Lc(r,"__once__".concat(l).concat(c?"_".concat(c):""),!0),r}function Lc(r,l,c){if(s(r))for(var u=0;u<r.length;u++)r[u]&&typeof r[u]!="string"&&Cc(r[u],"".concat(l,"_").concat(u),c);else Cc(r,l,c)}function Cc(r,l,c){r.isStatic=!0,r.key=l,r.isOnce=c}function a9(r,l){if(l&&w(l)){var c=r.on=r.on?ne({},r.on):{};for(var u in l){var m=c[u],p=l[u];c[u]=m?[].concat(m,p):p}}return r}function Ac(r,l,c,u){l=l||{$stable:!c};for(var m=0;m<r.length;m++){var p=r[m];s(p)?Ac(p,l,c):p&&(p.proxy&&(p.fn.proxy=!0),l[p.key]=p.fn)}return u&&(l.$key=u),l}function l9(r,l){for(var c=0;c<l.length;c+=2){var u=l[c];typeof u=="string"&&u&&(r[l[c]]=l[c+1])}return r}function c9(r,l){return typeof r=="string"?l+r:r}function Ec(r){r._o=o9,r._n=D,r._s=x,r._l=e9,r._t=t9,r._q=it,r._i=vt,r._m=s9,r._f=n9,r._k=i9,r._b=r9,r._v=H,r._e=un,r._u=Ac,r._g=a9,r._d=l9,r._p=c9}function _o(r,l){if(!r||!r.length)return{};for(var c={},u=0,m=r.length;u<m;u++){var p=r[u],b=p.data;if(b&&b.attrs&&b.attrs.slot&&delete b.attrs.slot,p.context!==l&&p.fnContext!==l||!b||b.slot==null)(c.default||(c.default=[])).push(p);else{var L=b.slot,_=c[L]||(c[L]=[]);p.tag==="template"?_.push.apply(_,p.children||[]):_.push(p)}}for(var T in c)c[T].every(u9)&&delete c[T];return c}function u9(r){return r.isComment&&!r.asyncFactory||r.text===" "}function rr(r){return r.isComment&&r.asyncFactory}function sr(r,l,c,u){var m,p=Object.keys(c).length>0,b=l?!!l.$stable:!p,L=l&&l.$key;if(l){if(l._normalized)return l._normalized;if(b&&u&&u!==i&&L===u.$key&&!p&&!u.$hasNormal)return u;for(var _ in m={},l)l[_]&&_[0]!=="$"&&(m[_]=d9(r,c,_,l[_]))}else m={};for(var T in c)T in m||(m[T]=f9(c,T));return l&&Object.isExtensible(l)&&(l._normalized=m),Ee(m,"$stable",b),Ee(m,"$key",L),Ee(m,"$hasNormal",p),m}function d9(r,l,c,u){var m=function(){var p=Ne;Wt(r);var b=arguments.length?u.apply(null,arguments):u({}),L=(b=b&&typeof b=="object"&&!s(b)?[b]:wo(b))&&b[0];return Wt(p),b&&(!L||b.length===1&&L.isComment&&!rr(L))?void 0:b};return u.proxy&&Object.defineProperty(l,c,{get:m,enumerable:!0,configurable:!0}),m}function f9(r,l){return function(){return r[l]}}function xc(r){return{get attrs(){if(!r._attrsProxy){var l=r._attrsProxy={};Ee(l,"_v_attr_proxy",!0),Wr(l,r.$attrs,i,r,"$attrs")}return r._attrsProxy},get listeners(){return r._listenersProxy||Wr(r._listenersProxy={},r.$listeners,i,r,"$listeners"),r._listenersProxy},get slots(){return function(l){return l._slotsProxy||Sc(l._slotsProxy={},l.$scopedSlots),l._slotsProxy}(r)},emit:ke(r.$emit,r),expose:function(l){l&&Object.keys(l).forEach(function(c){return Vr(r,l,c)})}}}function Wr(r,l,c,u,m){var p=!1;for(var b in l)b in r?l[b]!==c[b]&&(p=!0):(p=!0,h9(r,b,u,m));for(var b in r)b in l||(p=!0,delete r[b]);return p}function h9(r,l,c,u){Object.defineProperty(r,l,{enumerable:!0,configurable:!0,get:function(){return c[u][l]}})}function Sc(r,l){for(var c in l)r[c]=l[c];for(var c in r)c in l||delete r[c]}function Lo(){var r=Ne;return r._setupContext||(r._setupContext=xc(r))}var or,et,Ur=null;function Co(r,l){return(r.__esModule||qn&&r[Symbol.toStringTag]==="Module")&&(r=r.default),h(r)?l.extend(r):r}function Tc(r){if(s(r))for(var l=0;l<r.length;l++){var c=r[l];if(a(c)&&(a(c.componentOptions)||rr(c)))return c}}function p9(r,l){or.$on(r,l)}function g9(r,l){or.$off(r,l)}function m9(r,l){var c=or;return function u(){l.apply(null,arguments)!==null&&c.$off(r,u)}}function Dc(r,l,c){or=r,mc(l,c||{},p9,g9,m9,r),or=void 0}var Ao=function(){function r(l){l===void 0&&(l=!1),this.detached=l,this.active=!0,this.effects=[],this.cleanups=[],this.parent=et,!l&&et&&(this.index=(et.scopes||(et.scopes=[])).push(this)-1)}return r.prototype.run=function(l){if(this.active){var c=et;try{return et=this,l()}finally{et=c}}},r.prototype.on=function(){et=this},r.prototype.off=function(){et=this.parent},r.prototype.stop=function(l){if(this.active){var c=void 0,u=void 0;for(c=0,u=this.effects.length;c<u;c++)this.effects[c].teardown();for(c=0,u=this.cleanups.length;c<u;c++)this.cleanups[c]();if(this.scopes)for(c=0,u=this.scopes.length;c<u;c++)this.scopes[c].stop(!0);if(!this.detached&&this.parent&&!l){var m=this.parent.scopes.pop();m&&m!==this&&(this.parent.scopes[this.index]=m,m.index=this.index)}this.parent=void 0,this.active=!1}},r}();function kc(){return et}var Jn=null;function Oc(r){var l=Jn;return Jn=r,function(){Jn=l}}function Rc(r){for(;r&&(r=r.$parent);)if(r._inactive)return!0;return!1}function Eo(r,l){if(l){if(r._directInactive=!1,Rc(r))return}else if(r._directInactive)return;if(r._inactive||r._inactive===null){r._inactive=!1;for(var c=0;c<r.$children.length;c++)Eo(r.$children[c]);Bt(r,"activated")}}function Mc(r,l){if(!(l&&(r._directInactive=!0,Rc(r))||r._inactive)){r._inactive=!0;for(var c=0;c<r.$children.length;c++)Mc(r.$children[c]);Bt(r,"deactivated")}}function Bt(r,l,c,u){u===void 0&&(u=!0),wt();var m=Ne,p=kc();u&&Wt(r);var b=r.$options[l],L="".concat(l," hook");if(b)for(var _=0,T=b.length;_<T;_++)gn(b[_],r,null,r,L);r._hasHookEvent&&r.$emit("hook:"+l),u&&(Wt(m),p&&p.on()),dn()}var pn=[],xo=[],Gr={},So=!1,To=!1,Si=0,Pc=0,Do=Date.now;if(ze&&!at){var ko=window.performance;ko&&typeof ko.now=="function"&&Do()>document.createEvent("Event").timeStamp&&(Do=function(){return ko.now()})}var v9=function(r,l){if(r.post){if(!l.post)return 1}else if(l.post)return-1;return r.id-l.id};function b9(){var r,l;for(Pc=Do(),To=!0,pn.sort(v9),Si=0;Si<pn.length;Si++)(r=pn[Si]).before&&r.before(),l=r.id,Gr[l]=null,r.run();var c=xo.slice(),u=pn.slice();Si=pn.length=xo.length=0,Gr={},So=To=!1,function(m){for(var p=0;p<m.length;p++)m[p]._inactive=!0,Eo(m[p],!0)}(c),function(m){for(var p=m.length;p--;){var b=m[p],L=b.vm;L&&L._watcher===b&&L._isMounted&&!L._isDestroyed&&Bt(L,"updated")}}(u),de(),Yn&&Qe.devtools&&Yn.emit("flush")}function Oo(r){var l=r.id;if(Gr[l]==null&&(r!==Te.target||!r.noRecurse)){if(Gr[l]=!0,To){for(var c=pn.length-1;c>Si&&pn[c].id>r.id;)c--;pn.splice(c+1,0,r)}else pn.push(r);So||(So=!0,Jr(b9))}}var Yr="watcher",Ic="".concat(Yr," callback"),Nc="".concat(Yr," getter"),y9="".concat(Yr," cleanup");function $c(r,l){return qr(r,null,{flush:"post"})}var jc={};function qr(r,l,c){var u=c===void 0?i:c,m=u.immediate,p=u.deep,b=u.flush,L=b===void 0?"pre":b;u.onTrack,u.onTrigger;var _,T,k=Ne,A=function(W,ue,ie){ie===void 0&&(ie=null);var ee=gn(W,null,ie,k,ue);return p&&ee&&ee.__ob__&&ee.__ob__.dep.depend(),ee},O=!1,P=!1;if(Ke(r)?(_=function(){return r.value},O=Fr(r)):Qn(r)?(_=function(){return r.__ob__.dep.depend(),r},p=!0):s(r)?(P=!0,O=r.some(function(W){return Qn(W)||Fr(W)}),_=function(){return r.map(function(W){return Ke(W)?W.value:Qn(W)?(W.__ob__.dep.depend(),Ti(W)):g(W)?A(W,Nc):void 0})}):_=g(r)?l?function(){return A(r,Nc)}:function(){if(!k||!k._isDestroyed)return T&&T(),A(r,Yr,[z])}:oe,l&&p){var I=_;_=function(){return Ti(I())}}var z=function(W){T=B.onStop=function(){A(W,y9)}};if(lt())return z=oe,l?m&&A(l,Ic,[_(),P?[]:void 0,z]):_(),oe;var B=new Di(Ne,_,oe,{lazy:!0});B.noRecurse=!l;var q=P?[]:jc;return B.run=function(){if(B.active)if(l){var W=B.get();(p||O||(P?W.some(function(ue,ie){return bt(ue,q[ie])}):bt(W,q)))&&(T&&T(),A(l,Ic,[W,q===jc?void 0:q,z]),q=W)}else B.get()},L==="sync"?B.update=B.run:L==="post"?(B.post=!0,B.update=function(){return Oo(B)}):B.update=function(){if(k&&k===Ne&&!k._isMounted){var W=k._preWatchers||(k._preWatchers=[]);W.indexOf(B)<0&&W.push(B)}else Oo(B)},l?m?B.run():q=B.get():L==="post"&&k?k.$once("hook:mounted",function(){return B.get()}):B.get(),function(){B.teardown()}}function Hc(r){var l=r._provided,c=r.$parent&&r.$parent._provided;return c===l?r._provided=Object.create(c):l}function Kn(r,l,c){wt();try{if(l)for(var u=l;u=u.$parent;){var m=u.$options.errorCaptured;if(m)for(var p=0;p<m.length;p++)try{if(m[p].call(u,r,l,c)===!1)return}catch(b){Bc(b,u,"errorCaptured hook")}}Bc(r,l,c)}finally{dn()}}function gn(r,l,c,u,m){var p;try{(p=c?r.apply(l,c):r.call(l))&&!p._isVue&&C(p)&&!p._handled&&(p.catch(function(b){return Kn(b,u,m+" (Promise/async)")}),p._handled=!0)}catch(b){Kn(b,u,m)}return p}function Bc(r,l,c){w9(r)}function w9(r,l,c){if(!ze||typeof console=="undefined")throw r;console.error(r)}var Zr,Ro=!1,Mo=[],Po=!1;function Qr(){Po=!1;var r=Mo.slice(0);Mo.length=0;for(var l=0;l<r.length;l++)r[l]()}if(typeof Promise!="undefined"&&Ht(Promise)){var _9=Promise.resolve();Zr=function(){_9.then(Qr),Ei&&setTimeout(oe)},Ro=!0}else if(at||typeof MutationObserver=="undefined"||!Ht(MutationObserver)&&MutationObserver.toString()!=="[object MutationObserverConstructor]")Zr=typeof setImmediate!="undefined"&&Ht(setImmediate)?function(){setImmediate(Qr)}:function(){setTimeout(Qr,0)};else{var Xr=1,L9=new MutationObserver(Qr),zc=document.createTextNode(String(Xr));L9.observe(zc,{characterData:!0}),Zr=function(){Xr=(Xr+1)%2,zc.data=String(Xr)},Ro=!0}function Jr(r,l){var c;if(Mo.push(function(){if(r)try{r.call(l)}catch(u){Kn(u,l,"nextTick")}else c&&c(l)}),Po||(Po=!0,Zr()),!r&&typeof Promise!="undefined")return new Promise(function(u){c=u})}function St(r){return function(l,c){if(c===void 0&&(c=Ne),c)return function(u,m,p){var b=u.$options;b[m]=Kc(b[m],p)}(c,r,l)}}var C9=St("beforeMount"),A9=St("mounted"),E9=St("beforeUpdate"),x9=St("updated"),S9=St("beforeDestroy"),T9=St("destroyed"),D9=St("activated"),k9=St("deactivated"),O9=St("serverPrefetch"),R9=St("renderTracked"),M9=St("renderTriggered"),P9=St("errorCaptured"),Fc="2.7.16",I9=Object.freeze({__proto__:null,version:Fc,defineComponent:function(r){return r},ref:function(r){return dc(r,!1)},shallowRef:function(r){return dc(r,!0)},isRef:Ke,toRef:fc,toRefs:function(r){var l=s(r)?new Array(r.length):{};for(var c in r)l[c]=fc(r,c);return l},unref:function(r){return Ke(r)?r.value:r},proxyRefs:function(r){if(Qn(r))return r;for(var l={},c=Object.keys(r),u=0;u<c.length;u++)Vr(l,r,c[u]);return l},customRef:function(r){var l=new Te,c=r(function(){l.depend()},function(){l.notify()}),u=c.get,m=c.set,p={get value(){return u()},set value(b){m(b)}};return Ee(p,tr,!0),p},triggerRef:function(r){r.dep&&r.dep.notify()},reactive:function(r){return uc(r,!1),r},isReactive:Qn,isReadonly:Xn,isShallow:Fr,isProxy:function(r){return Qn(r)||Xn(r)},shallowReactive:bo,markRaw:function(r){return Object.isExtensible(r)&&Ee(r,"__v_skip",!0),r},toRaw:function r(l){var c=l&&l.__v_raw;return c?r(c):l},readonly:hc,shallowReadonly:function(r){return pc(r,!0)},computed:function(r,l){var c,u,m=g(r);m?(c=r,u=oe):(c=r.get,u=r.set);var p=lt()?null:new Di(Ne,c,oe,{lazy:!0}),b={effect:p,get value(){return p?(p.dirty&&p.evaluate(),Te.target&&p.depend(),p.value):c()},set value(L){u(L)}};return Ee(b,tr,!0),Ee(b,"__v_isReadonly",m),b},watch:function(r,l,c){return qr(r,l,c)},watchEffect:function(r,l){return qr(r,null,l)},watchPostEffect:$c,watchSyncEffect:function(r,l){return qr(r,null,{flush:"sync"})},EffectScope:Ao,effectScope:function(r){return new Ao(r)},onScopeDispose:function(r){et&&et.cleanups.push(r)},getCurrentScope:kc,provide:function(r,l){Ne&&(Hc(Ne)[r]=l)},inject:function(r,l,c){c===void 0&&(c=!1);var u=Ne;if(u){var m=u.$parent&&u.$parent._provided;if(m&&r in m)return m[r];if(arguments.length>1)return c&&g(l)?l.call(u):l}},h:function(r,l,c){return ir(Ne,r,l,c,2,!0)},getCurrentInstance:function(){return Ne&&{proxy:Ne}},useSlots:function(){return Lo().slots},useAttrs:function(){return Lo().attrs},useListeners:function(){return Lo().listeners},mergeDefaults:function(r,l){var c=s(r)?r.reduce(function(p,b){return p[b]={},p},{}):r;for(var u in l){var m=c[u];m?s(m)||g(m)?c[u]={type:m,default:l[u]}:m.default=l[u]:m===null&&(c[u]={default:l[u]})}return c},nextTick:Jr,set:zr,del:vo,useCssModule:function(r){return i},useCssVars:function(r){if(ze){var l=Ne;l&&$c(function(){var c=l.$el,u=r(l,l._setupProxy);if(c&&c.nodeType===1){var m=c.style;for(var p in u)m.setProperty("--".concat(p),u[p])}})}},defineAsyncComponent:function(r){g(r)&&(r={loader:r});var l=r.loader,c=r.loadingComponent,u=r.errorComponent,m=r.delay,p=m===void 0?200:m,b=r.timeout;r.suspensible;var L=r.onError,_=null,T=0,k=function(){var A;return _||(A=_=l().catch(function(O){if(O=O instanceof Error?O:new Error(String(O)),L)return new Promise(function(P,I){L(O,function(){return P((T++,_=null,k()))},function(){return I(O)},T+1)});throw O}).then(function(O){return A!==_&&_?_:(O&&(O.__esModule||O[Symbol.toStringTag]==="Module")&&(O=O.default),O)}))};return function(){return{component:k(),delay:p,timeout:b,error:u,loading:c}}},onBeforeMount:C9,onMounted:A9,onBeforeUpdate:E9,onUpdated:x9,onBeforeUnmount:S9,onUnmounted:T9,onActivated:D9,onDeactivated:k9,onServerPrefetch:O9,onRenderTracked:R9,onRenderTriggered:M9,onErrorCaptured:function(r,l){l===void 0&&(l=Ne),P9(r,l)}}),Vc=new cn;function Ti(r){return Kr(r,Vc),Vc.clear(),r}function Kr(r,l){var c,u,m=s(r);if(!(!m&&!h(r)||r.__v_skip||Object.isFrozen(r)||r instanceof ct)){if(r.__ob__){var p=r.__ob__.dep.id;if(l.has(p))return;l.add(p)}if(m)for(c=r.length;c--;)Kr(r[c],l);else if(Ke(r))Kr(r.value,l);else for(c=(u=Object.keys(r)).length;c--;)Kr(r[u[c]],l)}}var N9=0,Di=function(){function r(l,c,u,m,p){(function(b,L){L===void 0&&(L=et),L&&L.active&&L.effects.push(b)})(this,et&&!et._vm?et:l?l._scope:void 0),(this.vm=l)&&p&&(l._watcher=this),m?(this.deep=!!m.deep,this.user=!!m.user,this.lazy=!!m.lazy,this.sync=!!m.sync,this.before=m.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=u,this.id=++N9,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new cn,this.newDepIds=new cn,this.expression="",g(c)?this.getter=c:(this.getter=function(b){if(!Ai.test(b)){var L=b.split(".");return function(_){for(var T=0;T<L.length;T++){if(!_)return;_=_[L[T]]}return _}}}(c),this.getter||(this.getter=oe)),this.value=this.lazy?void 0:this.get()}return r.prototype.get=function(){var l;wt(this);var c=this.vm;try{l=this.getter.call(c,c)}catch(u){if(!this.user)throw u;Kn(u,c,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Ti(l),dn(),this.cleanupDeps()}return l},r.prototype.addDep=function(l){var c=l.id;this.newDepIds.has(c)||(this.newDepIds.add(c),this.newDeps.push(l),this.depIds.has(c)||l.addSub(this))},r.prototype.cleanupDeps=function(){for(var l=this.deps.length;l--;){var c=this.deps[l];this.newDepIds.has(c.id)||c.removeSub(this)}var u=this.depIds;this.depIds=this.newDepIds,this.newDepIds=u,this.newDepIds.clear(),u=this.deps,this.deps=this.newDeps,this.newDeps=u,this.newDeps.length=0},r.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Oo(this)},r.prototype.run=function(){if(this.active){var l=this.get();if(l!==this.value||h(l)||this.deep){var c=this.value;if(this.value=l,this.user){var u='callback for watcher "'.concat(this.expression,'"');gn(this.cb,this.vm,[l,c],this.vm,u)}else this.cb.call(this.vm,l,c)}}},r.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},r.prototype.depend=function(){for(var l=this.deps.length;l--;)this.deps[l].depend()},r.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&J(this.vm._scope.effects,this),this.active){for(var l=this.deps.length;l--;)this.deps[l].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},r}(),Rn={enumerable:!0,configurable:!0,get:oe,set:oe};function Io(r,l,c){Rn.get=function(){return this[l][c]},Rn.set=function(u){this[l][c]=u},Object.defineProperty(r,c,Rn)}function $9(r){var l=r.$options;if(l.props&&function(u,m){var p=u.$options.propsData||{},b=u._props=bo({}),L=u.$options._propKeys=[],_=!u.$parent;_||xt(!1);var T=function(A){L.push(A);var O=Bo(A,m,p,u);kn(b,A,O,void 0,!0),A in u||Io(u,"_props",A)};for(var k in m)T(k);xt(!0)}(r,l.props),function(u){var m=u.$options,p=m.setup;if(p){var b=u._setupContext=xc(u);Wt(u),wt();var L=gn(p,null,[u._props||bo({}),b],u,"setup");if(dn(),Wt(),g(L))m.render=L;else if(h(L))if(u._setupState=L,L.__sfc){var _=u._setupProxy={};for(var T in L)T!=="__sfc"&&Vr(_,L,T)}else for(var T in L)$t(T)||Vr(u,L,T)}}(r),l.methods&&function(u,m){for(var p in u.$options.props,m)u[p]=typeof m[p]!="function"?oe:ke(m[p],u)}(r,l.methods),l.data)(function(u){var m=u.$options.data;m=u._data=g(m)?function(k,A){wt();try{return k.call(A,A)}catch(O){return Kn(O,A,"data()"),{}}finally{dn()}}(m,u):m||{},w(m)||(m={});var p=Object.keys(m),b=u.$options.props;u.$options.methods;for(var L=p.length;L--;){var _=p[L];b&&G(b,_)||$t(_)||Io(u,"_data",_)}var T=hn(m);T&&T.vmCount++})(r);else{var c=hn(r._data={});c&&c.vmCount++}l.computed&&function(u,m){var p=u._computedWatchers=Object.create(null),b=lt();for(var L in m){var _=m[L],T=g(_)?_:_.get;b||(p[L]=new Di(u,T||oe,oe,j9)),L in u||Wc(u,L,_)}}(r,l.computed),l.watch&&l.watch!==ln&&function(u,m){for(var p in m){var b=m[p];if(s(b))for(var L=0;L<b.length;L++)No(u,p,b[L]);else No(u,p,b)}}(r,l.watch)}var j9={lazy:!0};function Wc(r,l,c){var u=!lt();g(c)?(Rn.get=u?Uc(l):Gc(c),Rn.set=oe):(Rn.get=c.get?u&&c.cache!==!1?Uc(l):Gc(c.get):oe,Rn.set=c.set||oe),Object.defineProperty(r,l,Rn)}function Uc(r){return function(){var l=this._computedWatchers&&this._computedWatchers[r];if(l)return l.dirty&&l.evaluate(),Te.target&&l.depend(),l.value}}function Gc(r){return function(){return r.call(this,this)}}function No(r,l,c,u){return w(c)&&(u=c,c=c.handler),typeof c=="string"&&(c=r[c]),r.$watch(l,c,u)}function Yc(r,l){if(r){for(var c=Object.create(null),u=qn?Reflect.ownKeys(r):Object.keys(r),m=0;m<u.length;m++){var p=u[m];if(p!=="__ob__"){var b=r[p].from;if(b in l._provided)c[p]=l._provided[b];else if("default"in r[p]){var L=r[p].default;c[p]=g(L)?L.call(l):L}}}return c}}var H9=0;function $o(r){var l=r.options;if(r.super){var c=$o(r.super);if(c!==r.superOptions){r.superOptions=c;var u=function(m){var p,b=m.options,L=m.sealedOptions;for(var _ in b)b[_]!==L[_]&&(p||(p={}),p[_]=b[_]);return p}(r);u&&ne(r.extendOptions,u),(l=r.options=ei(c,r.extendOptions)).name&&(l.components[l.name]=r)}}return l}function jo(r,l,c,u,m){var p,b=this,L=m.options;G(u,"_uid")?(p=Object.create(u))._original=u:(p=u,u=u._original);var _=d(L._compiled),T=!_;this.data=r,this.props=l,this.children=c,this.parent=u,this.listeners=r.on||i,this.injections=Yc(L.inject,u),this.slots=function(){return b.$slots||sr(u,r.scopedSlots,b.$slots=_o(c,u)),b.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return sr(u,r.scopedSlots,this.slots())}}),_&&(this.$options=L,this.$slots=this.slots(),this.$scopedSlots=sr(u,r.scopedSlots,this.$slots)),L._scopeId?this._c=function(k,A,O,P){var I=ir(p,k,A,O,P,T);return I&&!s(I)&&(I.fnScopeId=L._scopeId,I.fnContext=u),I}:this._c=function(k,A,O,P){return ir(p,k,A,O,P,T)}}function qc(r,l,c,u,m){var p=X(r);return p.fnContext=c,p.fnOptions=u,l.slot&&((p.data||(p.data={})).slot=l.slot),p}function Zc(r,l){for(var c in l)r[ce(c)]=l[c]}function es(r){return r.name||r.__name||r._componentTag}Ec(jo.prototype);var Ho={init:function(r,l){if(r.componentInstance&&!r.componentInstance._isDestroyed&&r.data.keepAlive){var c=r;Ho.prepatch(c,c)}else(r.componentInstance=function(u,m){var p={_isComponent:!0,_parentVnode:u,parent:m},b=u.data.inlineTemplate;return a(b)&&(p.render=b.render,p.staticRenderFns=b.staticRenderFns),new u.componentOptions.Ctor(p)}(r,Jn)).$mount(l?r.elm:void 0,l)},prepatch:function(r,l){var c=l.componentOptions;(function(u,m,p,b,L){var _=b.data.scopedSlots,T=u.$scopedSlots,k=!!(_&&!_.$stable||T!==i&&!T.$stable||_&&u.$scopedSlots.$key!==_.$key||!_&&u.$scopedSlots.$key),A=!!(L||u.$options._renderChildren||k),O=u.$vnode;u.$options._parentVnode=b,u.$vnode=b,u._vnode&&(u._vnode.parent=b),u.$options._renderChildren=L;var P=b.data.attrs||i;u._attrsProxy&&Wr(u._attrsProxy,P,O.data&&O.data.attrs||i,u,"$attrs")&&(A=!0),u.$attrs=P,p=p||i;var I=u.$options._parentListeners;if(u._listenersProxy&&Wr(u._listenersProxy,p,I||i,u,"$listeners"),u.$listeners=u.$options._parentListeners=p,Dc(u,p,I),m&&u.$options.props){xt(!1);for(var z=u._props,B=u.$options._propKeys||[],q=0;q<B.length;q++){var W=B[q],ue=u.$options.props;z[W]=Bo(W,ue,m,u)}xt(!0),u.$options.propsData=m}A&&(u.$slots=_o(L,b.context),u.$forceUpdate())})(l.componentInstance=r.componentInstance,c.propsData,c.listeners,l,c.children)},insert:function(r){var l,c=r.context,u=r.componentInstance;u._isMounted||(u._isMounted=!0,Bt(u,"mounted")),r.data.keepAlive&&(c._isMounted?((l=u)._inactive=!1,xo.push(l)):Eo(u,!0))},destroy:function(r){var l=r.componentInstance;l._isDestroyed||(r.data.keepAlive?Mc(l,!0):l.$destroy())}},Qc=Object.keys(Ho);function Xc(r,l,c,u,m){if(!o(r)){var p=c.$options._base;if(h(r)&&(r=p.extend(r)),typeof r=="function"){var b;if(o(r.cid)&&(r=function(A,O){if(d(A.error)&&a(A.errorComp))return A.errorComp;if(a(A.resolved))return A.resolved;var P=Ur;if(P&&a(A.owners)&&A.owners.indexOf(P)===-1&&A.owners.push(P),d(A.loading)&&a(A.loadingComp))return A.loadingComp;if(P&&!a(A.owners)){var I=A.owners=[P],z=!0,B=null,q=null;P.$on("hook:destroyed",function(){return J(I,P)});var W=function(le){for(var R=0,N=I.length;R<N;R++)I[R].$forceUpdate();le&&(I.length=0,B!==null&&(clearTimeout(B),B=null),q!==null&&(clearTimeout(q),q=null))},ue=At(function(le){A.resolved=Co(le,O),z?I.length=0:W(!0)}),ie=At(function(le){a(A.errorComp)&&(A.error=!0,W(!0))}),ee=A(ue,ie);return h(ee)&&(C(ee)?o(A.resolved)&&ee.then(ue,ie):C(ee.component)&&(ee.component.then(ue,ie),a(ee.error)&&(A.errorComp=Co(ee.error,O)),a(ee.loading)&&(A.loadingComp=Co(ee.loading,O),ee.delay===0?A.loading=!0:B=setTimeout(function(){B=null,o(A.resolved)&&o(A.error)&&(A.loading=!0,W(!1))},ee.delay||200)),a(ee.timeout)&&(q=setTimeout(function(){q=null,o(A.resolved)&&ie(null)},ee.timeout)))),z=!1,A.loading?A.loadingComp:A.resolved}}(b=r,p),r===void 0))return function(A,O,P,I,z){var B=un();return B.asyncFactory=A,B.asyncMeta={data:O,context:P,children:I,tag:z},B}(b,l,c,u,m);l=l||{},$o(r),a(l.model)&&function(A,O){var P=A.model&&A.model.prop||"value",I=A.model&&A.model.event||"input";(O.attrs||(O.attrs={}))[P]=O.model.value;var z=O.on||(O.on={}),B=z[I],q=O.model.callback;a(B)?(s(B)?B.indexOf(q)===-1:B!==q)&&(z[I]=[q].concat(B)):z[I]=q}(r.options,l);var L=function(A,O,P){var I=O.options.props;if(!o(I)){var z={},B=A.attrs,q=A.props;if(a(B)||a(q))for(var W in I){var ue=re(W);vc(z,q,W,ue,!0)||vc(z,B,W,ue,!1)}return z}}(l,r);if(d(r.options.functional))return function(A,O,P,I,z){var B=A.options,q={},W=B.props;if(a(W))for(var ue in W)q[ue]=Bo(ue,W,O||i);else a(P.attrs)&&Zc(q,P.attrs),a(P.props)&&Zc(q,P.props);var ie=new jo(P,q,z,I,A),ee=B.render.call(null,ie._c,ie);if(ee instanceof ct)return qc(ee,P,ie.parent,B);if(s(ee)){for(var le=wo(ee)||[],R=new Array(le.length),N=0;N<le.length;N++)R[N]=qc(le[N],P,ie.parent,B);return R}}(r,L,l,c,u);var _=l.on;if(l.on=l.nativeOn,d(r.options.abstract)){var T=l.slot;l={},T&&(l.slot=T)}(function(A){for(var O=A.hook||(A.hook={}),P=0;P<Qc.length;P++){var I=Qc[P],z=O[I],B=Ho[I];z===B||z&&z._merged||(O[I]=z?B9(B,z):B)}})(l);var k=es(r.options)||m;return new ct("vue-component-".concat(r.cid).concat(k?"-".concat(k):""),l,void 0,void 0,void 0,c,{Ctor:r,propsData:L,listeners:_,tag:m,children:u},b)}}}function B9(r,l){var c=function(u,m){r(u,m),l(u,m)};return c._merged=!0,c}var z9=oe,Gt=Qe.optionMergeStrategies;function ar(r,l,c){if(c===void 0&&(c=!0),!l)return r;for(var u,m,p,b=qn?Reflect.ownKeys(l):Object.keys(l),L=0;L<b.length;L++)(u=b[L])!=="__ob__"&&(m=r[u],p=l[u],c&&G(r,u)?m!==p&&w(m)&&w(p)&&ar(m,p):zr(r,u,p));return r}function Jc(r,l,c){return c?function(){var u=g(l)?l.call(c,c):l,m=g(r)?r.call(c,c):r;return u?ar(u,m):m}:l?r?function(){return ar(g(l)?l.call(this,this):l,g(r)?r.call(this,this):r)}:l:r}function Kc(r,l){var c=l?r?r.concat(l):s(l)?l:[l]:r;return c&&function(u){for(var m=[],p=0;p<u.length;p++)m.indexOf(u[p])===-1&&m.push(u[p]);return m}(c)}function F9(r,l,c,u){var m=Object.create(r||null);return l?ne(m,l):m}Gt.data=function(r,l,c){return c?Jc(r,l,c):l&&typeof l!="function"?r:Jc(r,l)},on.forEach(function(r){Gt[r]=Kc}),ot.forEach(function(r){Gt[r+"s"]=F9}),Gt.watch=function(r,l,c,u){if(r===ln&&(r=void 0),l===ln&&(l=void 0),!l)return Object.create(r||null);if(!r)return l;var m={};for(var p in ne(m,r),l){var b=m[p],L=l[p];b&&!s(b)&&(b=[b]),m[p]=b?b.concat(L):s(L)?L:[L]}return m},Gt.props=Gt.methods=Gt.inject=Gt.computed=function(r,l,c,u){if(!r)return l;var m=Object.create(null);return ne(m,r),l&&ne(m,l),m},Gt.provide=function(r,l){return r?function(){var c=Object.create(null);return ar(c,g(r)?r.call(this):r),l&&ar(c,g(l)?l.call(this):l,!1),c}:l};var V9=function(r,l){return l===void 0?r:l};function ei(r,l,c){if(g(l)&&(l=l.options),function(_,T){var k=_.props;if(k){var A,O,P={};if(s(k))for(A=k.length;A--;)typeof(O=k[A])=="string"&&(P[ce(O)]={type:null});else if(w(k))for(var I in k)O=k[I],P[ce(I)]=w(O)?O:{type:O};_.props=P}}(l),function(_,T){var k=_.inject;if(k){var A=_.inject={};if(s(k))for(var O=0;O<k.length;O++)A[k[O]]={from:k[O]};else if(w(k))for(var P in k){var I=k[P];A[P]=w(I)?ne({from:P},I):{from:I}}}}(l),function(_){var T=_.directives;if(T)for(var k in T){var A=T[k];g(A)&&(T[k]={bind:A,update:A})}}(l),!l._base&&(l.extends&&(r=ei(r,l.extends,c)),l.mixins))for(var u=0,m=l.mixins.length;u<m;u++)r=ei(r,l.mixins[u],c);var p,b={};for(p in r)L(p);for(p in l)G(r,p)||L(p);function L(_){var T=Gt[_]||V9;b[_]=T(r[_],l[_],c,_)}return b}function ts(r,l,c,u){if(typeof c=="string"){var m=r[l];if(G(m,c))return m[c];var p=ce(c);if(G(m,p))return m[p];var b=De(p);return G(m,b)?m[b]:m[c]||m[p]||m[b]}}function Bo(r,l,c,u){var m=l[r],p=!G(c,r),b=c[r],L=t0(Boolean,m.type);if(L>-1){if(p&&!G(m,"default"))b=!1;else if(b===""||b===re(r)){var _=t0(String,m.type);(_<0||L<_)&&(b=!0)}}if(b===void 0){b=function(k,A,O){if(G(A,"default")){var P=A.default;return k&&k.$options.propsData&&k.$options.propsData[O]===void 0&&k._props[O]!==void 0?k._props[O]:g(P)&&zo(A.type)!=="Function"?P.call(k):P}}(u,m,r);var T=er;xt(!0),hn(b),xt(T)}return b}var W9=/^\s*function (\w+)/;function zo(r){var l=r&&r.toString().match(W9);return l?l[1]:""}function e0(r,l){return zo(r)===zo(l)}function t0(r,l){if(!s(l))return e0(l,r)?0:-1;for(var c=0,u=l.length;c<u;c++)if(e0(l[c],r))return c;return-1}function Re(r){this._init(r)}function U9(r){r.cid=0;var l=1;r.extend=function(c){c=c||{};var u=this,m=u.cid,p=c._Ctor||(c._Ctor={});if(p[m])return p[m];var b=es(c)||es(u.options),L=function(_){this._init(_)};return(L.prototype=Object.create(u.prototype)).constructor=L,L.cid=l++,L.options=ei(u.options,c),L.super=u,L.options.props&&function(_){var T=_.options.props;for(var k in T)Io(_.prototype,"_props",k)}(L),L.options.computed&&function(_){var T=_.options.computed;for(var k in T)Wc(_.prototype,k,T[k])}(L),L.extend=u.extend,L.mixin=u.mixin,L.use=u.use,ot.forEach(function(_){L[_]=u[_]}),b&&(L.options.components[b]=L),L.superOptions=u.options,L.extendOptions=c,L.sealedOptions=ne({},L.options),p[m]=L,L}}function n0(r){return r&&(es(r.Ctor.options)||r.tag)}function ns(r,l){return s(r)?r.indexOf(l)>-1:typeof r=="string"?r.split(",").indexOf(l)>-1:(c=r,y.call(c)==="[object RegExp]"&&r.test(l));var c}function i0(r,l){var c=r.cache,u=r.keys,m=r._vnode,p=r.$vnode;for(var b in c){var L=c[b];if(L){var _=L.name;_&&!l(_)&&Fo(c,b,u,m)}}p.componentOptions.children=void 0}function Fo(r,l,c,u){var m=r[l];!m||u&&m.tag===u.tag||m.componentInstance.$destroy(),r[l]=null,J(c,l)}(function(r){r.prototype._init=function(l){var c=this;c._uid=H9++,c._isVue=!0,c.__v_skip=!0,c._scope=new Ao(!0),c._scope.parent=void 0,c._scope._vm=!0,l&&l._isComponent?function(u,m){var p=u.$options=Object.create(u.constructor.options),b=m._parentVnode;p.parent=m.parent,p._parentVnode=b;var L=b.componentOptions;p.propsData=L.propsData,p._parentListeners=L.listeners,p._renderChildren=L.children,p._componentTag=L.tag,m.render&&(p.render=m.render,p.staticRenderFns=m.staticRenderFns)}(c,l):c.$options=ei($o(c.constructor),l||{},c),c._renderProxy=c,c._self=c,function(u){var m=u.$options,p=m.parent;if(p&&!m.abstract){for(;p.$options.abstract&&p.$parent;)p=p.$parent;p.$children.push(u)}u.$parent=p,u.$root=p?p.$root:u,u.$children=[],u.$refs={},u._provided=p?p._provided:Object.create(null),u._watcher=null,u._inactive=null,u._directInactive=!1,u._isMounted=!1,u._isDestroyed=!1,u._isBeingDestroyed=!1}(c),function(u){u._events=Object.create(null),u._hasHookEvent=!1;var m=u.$options._parentListeners;m&&Dc(u,m)}(c),function(u){u._vnode=null,u._staticTrees=null;var m=u.$options,p=u.$vnode=m._parentVnode,b=p&&p.context;u.$slots=_o(m._renderChildren,b),u.$scopedSlots=p?sr(u.$parent,p.data.scopedSlots,u.$slots):i,u._c=function(_,T,k,A){return ir(u,_,T,k,A,!1)},u.$createElement=function(_,T,k,A){return ir(u,_,T,k,A,!0)};var L=p&&p.data;kn(u,"$attrs",L&&L.attrs||i,null,!0),kn(u,"$listeners",m._parentListeners||i,null,!0)}(c),Bt(c,"beforeCreate",void 0,!1),function(u){var m=Yc(u.$options.inject,u);m&&(xt(!1),Object.keys(m).forEach(function(p){kn(u,p,m[p])}),xt(!0))}(c),$9(c),function(u){var m=u.$options.provide;if(m){var p=g(m)?m.call(u):m;if(!h(p))return;for(var b=Hc(u),L=qn?Reflect.ownKeys(p):Object.keys(p),_=0;_<L.length;_++){var T=L[_];Object.defineProperty(b,T,Object.getOwnPropertyDescriptor(p,T))}}}(c),Bt(c,"created"),c.$options.el&&c.$mount(c.$options.el)}})(Re),function(r){var l={get:function(){return this._data}},c={get:function(){return this._props}};Object.defineProperty(r.prototype,"$data",l),Object.defineProperty(r.prototype,"$props",c),r.prototype.$set=zr,r.prototype.$delete=vo,r.prototype.$watch=function(u,m,p){var b=this;if(w(m))return No(b,u,m,p);(p=p||{}).user=!0;var L=new Di(b,u,m,p);if(p.immediate){var _='callback for immediate watcher "'.concat(L.expression,'"');wt(),gn(m,b,[L.value],b,_),dn()}return function(){L.teardown()}}}(Re),function(r){var l=/^hook:/;r.prototype.$on=function(c,u){var m=this;if(s(c))for(var p=0,b=c.length;p<b;p++)m.$on(c[p],u);else(m._events[c]||(m._events[c]=[])).push(u),l.test(c)&&(m._hasHookEvent=!0);return m},r.prototype.$once=function(c,u){var m=this;function p(){m.$off(c,p),u.apply(m,arguments)}return p.fn=u,m.$on(c,p),m},r.prototype.$off=function(c,u){var m=this;if(!arguments.length)return m._events=Object.create(null),m;if(s(c)){for(var p=0,b=c.length;p<b;p++)m.$off(c[p],u);return m}var L,_=m._events[c];if(!_)return m;if(!u)return m._events[c]=null,m;for(var T=_.length;T--;)if((L=_[T])===u||L.fn===u){_.splice(T,1);break}return m},r.prototype.$emit=function(c){var u=this,m=u._events[c];if(m){m=m.length>1?Ue(m):m;for(var p=Ue(arguments,1),b='event handler for "'.concat(c,'"'),L=0,_=m.length;L<_;L++)gn(m[L],u,p,u,b)}return u}}(Re),function(r){r.prototype._update=function(l,c){var u=this,m=u.$el,p=u._vnode,b=Oc(u);u._vnode=l,u.$el=p?u.__patch__(p,l):u.__patch__(u.$el,l,c,!1),b(),m&&(m.__vue__=null),u.$el&&(u.$el.__vue__=u);for(var L=u;L&&L.$vnode&&L.$parent&&L.$vnode===L.$parent._vnode;)L.$parent.$el=L.$el,L=L.$parent},r.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},r.prototype.$destroy=function(){var l=this;if(!l._isBeingDestroyed){Bt(l,"beforeDestroy"),l._isBeingDestroyed=!0;var c=l.$parent;!c||c._isBeingDestroyed||l.$options.abstract||J(c.$children,l),l._scope.stop(),l._data.__ob__&&l._data.__ob__.vmCount--,l._isDestroyed=!0,l.__patch__(l._vnode,null),Bt(l,"destroyed"),l.$off(),l.$el&&(l.$el.__vue__=null),l.$vnode&&(l.$vnode.parent=null)}}}(Re),function(r){Ec(r.prototype),r.prototype.$nextTick=function(l){return Jr(l,this)},r.prototype._render=function(){var l=this,c=l.$options,u=c.render,m=c._parentVnode;m&&l._isMounted&&(l.$scopedSlots=sr(l.$parent,m.data.scopedSlots,l.$slots,l.$scopedSlots),l._slotsProxy&&Sc(l._slotsProxy,l.$scopedSlots)),l.$vnode=m;var p,b=Ne,L=Ur;try{Wt(l),Ur=l,p=u.call(l._renderProxy,l.$createElement)}catch(_){Kn(_,l,"render"),p=l._vnode}finally{Ur=L,Wt(b)}return s(p)&&p.length===1&&(p=p[0]),p instanceof ct||(p=un()),p.parent=m,p}}(Re);var r0=[String,RegExp,Array],G9={name:"keep-alive",abstract:!0,props:{include:r0,exclude:r0,max:[String,Number]},methods:{cacheVNode:function(){var r=this,l=r.cache,c=r.keys,u=r.vnodeToCache,m=r.keyToCache;if(u){var p=u.tag,b=u.componentInstance,L=u.componentOptions;l[m]={name:n0(L),tag:p,componentInstance:b},c.push(m),this.max&&c.length>parseInt(this.max)&&Fo(l,c[0],c,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var r in this.cache)Fo(this.cache,r,this.keys)},mounted:function(){var r=this;this.cacheVNode(),this.$watch("include",function(l){i0(r,function(c){return ns(l,c)})}),this.$watch("exclude",function(l){i0(r,function(c){return!ns(l,c)})})},updated:function(){this.cacheVNode()},render:function(){var r=this.$slots.default,l=Tc(r),c=l&&l.componentOptions;if(c){var u=n0(c),m=this.include,p=this.exclude;if(m&&(!u||!ns(m,u))||p&&u&&ns(p,u))return l;var b=this.cache,L=this.keys,_=l.key==null?c.Ctor.cid+(c.tag?"::".concat(c.tag):""):l.key;b[_]?(l.componentInstance=b[_].componentInstance,J(L,_),L.push(_)):(this.vnodeToCache=l,this.keyToCache=_),l.data.keepAlive=!0}return l||r&&r[0]}},Y9={KeepAlive:G9};(function(r){var l={get:function(){return Qe}};Object.defineProperty(r,"config",l),r.util={warn:z9,extend:ne,mergeOptions:ei,defineReactive:kn},r.set=zr,r.delete=vo,r.nextTick=Jr,r.observable=function(c){return hn(c),c},r.options=Object.create(null),ot.forEach(function(c){r.options[c+"s"]=Object.create(null)}),r.options._base=r,ne(r.options.components,Y9),function(c){c.use=function(u){var m=this._installedPlugins||(this._installedPlugins=[]);if(m.indexOf(u)>-1)return this;var p=Ue(arguments,1);return p.unshift(this),g(u.install)?u.install.apply(u,p):g(u)&&u.apply(null,p),m.push(u),this}}(r),function(c){c.mixin=function(u){return this.options=ei(this.options,u),this}}(r),U9(r),function(c){ot.forEach(function(u){c[u]=function(m,p){return p?(u==="component"&&w(p)&&(p.name=p.name||m,p=this.options._base.extend(p)),u==="directive"&&g(p)&&(p={bind:p,update:p}),this.options[u+"s"][m]=p,p):this.options[u+"s"][m]}})}(r)})(Re),Object.defineProperty(Re.prototype,"$isServer",{get:lt}),Object.defineProperty(Re.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Re,"FunctionalRenderContext",{value:jo}),Re.version=Fc;var q9=M("style,class"),Z9=M("input,textarea,option,select,progress"),s0=function(r,l,c){return c==="value"&&Z9(r)&&l!=="button"||c==="selected"&&r==="option"||c==="checked"&&r==="input"||c==="muted"&&r==="video"},o0=M("contenteditable,draggable,spellcheck"),Q9=M("events,caret,typing,plaintext-only"),X9=function(r,l){return is(l)||l==="false"?"false":r==="contenteditable"&&Q9(l)?l:"true"},J9=M("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Vo="http://www.w3.org/1999/xlink",Wo=function(r){return r.charAt(5)===":"&&r.slice(0,5)==="xlink"},a0=function(r){return Wo(r)?r.slice(6,r.length):""},is=function(r){return r==null||r===!1};function K9(r){for(var l=r.data,c=r,u=r;a(u.componentInstance);)(u=u.componentInstance._vnode)&&u.data&&(l=l0(u.data,l));for(;a(c=c.parent);)c&&c.data&&(l=l0(l,c.data));return function(m,p){return a(m)||a(p)?Uo(m,Go(p)):""}(l.staticClass,l.class)}function l0(r,l){return{staticClass:Uo(r.staticClass,l.staticClass),class:a(r.class)?[r.class,l.class]:l.class}}function Uo(r,l){return r?l?r+" "+l:r:l||""}function Go(r){return Array.isArray(r)?function(l){for(var c,u="",m=0,p=l.length;m<p;m++)a(c=Go(l[m]))&&c!==""&&(u&&(u+=" "),u+=c);return u}(r):h(r)?function(l){var c="";for(var u in l)l[u]&&(c&&(c+=" "),c+=u);return c}(r):typeof r=="string"?r:""}var eg={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},tg=M("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Yo=M("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),qo=function(r){return tg(r)||Yo(r)};function c0(r){return Yo(r)?"svg":r==="math"?"math":void 0}var rs=Object.create(null),Zo=M("text,number,password,search,email,tel,url");function Qo(r){if(typeof r=="string"){var l=document.querySelector(r);return l||document.createElement("div")}return r}var ng=Object.freeze({__proto__:null,createElement:function(r,l){var c=document.createElement(r);return r!=="select"||l.data&&l.data.attrs&&l.data.attrs.multiple!==void 0&&c.setAttribute("multiple","multiple"),c},createElementNS:function(r,l){return document.createElementNS(eg[r],l)},createTextNode:function(r){return document.createTextNode(r)},createComment:function(r){return document.createComment(r)},insertBefore:function(r,l,c){r.insertBefore(l,c)},removeChild:function(r,l){r.removeChild(l)},appendChild:function(r,l){r.appendChild(l)},parentNode:function(r){return r.parentNode},nextSibling:function(r){return r.nextSibling},tagName:function(r){return r.tagName},setTextContent:function(r,l){r.textContent=l},setStyleScope:function(r,l){r.setAttribute(l,"")}}),ig={create:function(r,l){ki(l)},update:function(r,l){r.data.ref!==l.data.ref&&(ki(r,!0),ki(l))},destroy:function(r){ki(r,!0)}};function ki(r,l){var c=r.data.ref;if(a(c)){var u=r.context,m=r.componentInstance||r.elm,p=l?null:m,b=l?void 0:m;if(g(c))gn(c,u,[p],u,"template ref function");else{var L=r.data.refInFor,_=typeof c=="string"||typeof c=="number",T=Ke(c),k=u.$refs;if(_||T){if(L){var A=_?k[c]:c.value;l?s(A)&&J(A,m):s(A)?A.includes(m)||A.push(m):_?(k[c]=[m],u0(u,c,k[c])):c.value=[m]}else if(_){if(l&&k[c]!==m)return;k[c]=b,u0(u,c,p)}else if(T){if(l&&c.value!==m)return;c.value=p}}}}}function u0(r,l,c){var u=r._setupState;u&&G(u,l)&&(Ke(u[l])?u[l].value=c:u[l]=c)}var Mn=new ct("",{},[]),lr=["create","activate","update","remove","destroy"];function ti(r,l){return r.key===l.key&&r.asyncFactory===l.asyncFactory&&(r.tag===l.tag&&r.isComment===l.isComment&&a(r.data)===a(l.data)&&function(c,u){if(c.tag!=="input")return!0;var m,p=a(m=c.data)&&a(m=m.attrs)&&m.type,b=a(m=u.data)&&a(m=m.attrs)&&m.type;return p===b||Zo(p)&&Zo(b)}(r,l)||d(r.isAsyncPlaceholder)&&o(l.asyncFactory.error))}function rg(r,l,c){var u,m,p={};for(u=l;u<=c;++u)a(m=r[u].key)&&(p[m]=u);return p}var sg={create:Xo,update:Xo,destroy:function(r){Xo(r,Mn)}};function Xo(r,l){(r.data.directives||l.data.directives)&&function(c,u){var m,p,b,L=c===Mn,_=u===Mn,T=d0(c.data.directives,c.context),k=d0(u.data.directives,u.context),A=[],O=[];for(m in k)p=T[m],b=k[m],p?(b.oldValue=p.value,b.oldArg=p.arg,cr(b,"update",u,c),b.def&&b.def.componentUpdated&&O.push(b)):(cr(b,"bind",u,c),b.def&&b.def.inserted&&A.push(b));if(A.length){var P=function(){for(var I=0;I<A.length;I++)cr(A[I],"inserted",u,c)};L?On(u,"insert",P):P()}if(O.length&&On(u,"postpatch",function(){for(var I=0;I<O.length;I++)cr(O[I],"componentUpdated",u,c)}),!L)for(m in T)k[m]||cr(T[m],"unbind",c,c,_)}(r,l)}var og=Object.create(null);function d0(r,l){var c,u,m=Object.create(null);if(!r)return m;for(c=0;c<r.length;c++){if((u=r[c]).modifiers||(u.modifiers=og),m[ag(u)]=u,l._setupState&&l._setupState.__sfc){var p=u.def||ts(l,"_setupState","v-"+u.name);u.def=typeof p=="function"?{bind:p,update:p}:p}u.def=u.def||ts(l.$options,"directives",u.name)}return m}function ag(r){return r.rawName||"".concat(r.name,".").concat(Object.keys(r.modifiers||{}).join("."))}function cr(r,l,c,u,m){var p=r.def&&r.def[l];if(p)try{p(c.elm,r,c,u,m)}catch(b){Kn(b,c.context,"directive ".concat(r.name," ").concat(l," hook"))}}var lg=[ig,sg];function f0(r,l){var c=l.componentOptions;if(!(a(c)&&c.Ctor.options.inheritAttrs===!1||o(r.data.attrs)&&o(l.data.attrs))){var u,m,p=l.elm,b=r.data.attrs||{},L=l.data.attrs||{};for(u in(a(L.__ob__)||d(L._v_attr_proxy))&&(L=l.data.attrs=ne({},L)),L)m=L[u],b[u]!==m&&h0(p,u,m,l.data.pre);for(u in(at||Gn)&&L.value!==b.value&&h0(p,"value",L.value),b)o(L[u])&&(Wo(u)?p.removeAttributeNS(Vo,a0(u)):o0(u)||p.removeAttribute(u))}}function h0(r,l,c,u){u||r.tagName.indexOf("-")>-1?p0(r,l,c):J9(l)?is(c)?r.removeAttribute(l):(c=l==="allowfullscreen"&&r.tagName==="EMBED"?"true":l,r.setAttribute(l,c)):o0(l)?r.setAttribute(l,X9(l,c)):Wo(l)?is(c)?r.removeAttributeNS(Vo,a0(l)):r.setAttributeNS(Vo,l,c):p0(r,l,c)}function p0(r,l,c){if(is(c))r.removeAttribute(l);else{if(at&&!Et&&r.tagName==="TEXTAREA"&&l==="placeholder"&&c!==""&&!r.__ieph){var u=function(m){m.stopImmediatePropagation(),r.removeEventListener("input",u)};r.addEventListener("input",u),r.__ieph=!0}r.setAttribute(l,c)}}var cg={create:f0,update:f0};function g0(r,l){var c=l.elm,u=l.data,m=r.data;if(!(o(u.staticClass)&&o(u.class)&&(o(m)||o(m.staticClass)&&o(m.class)))){var p=K9(l),b=c._transitionClasses;a(b)&&(p=Uo(p,Go(b))),p!==c._prevClass&&(c.setAttribute("class",p),c._prevClass=p)}}var Jo,m0,ss,Pn,os,Ko,ug={create:g0,update:g0},dg=/[\w).+\-_$\]]/;function ea(r){var l,c,u,m,p,b=!1,L=!1,_=!1,T=!1,k=0,A=0,O=0,P=0;for(u=0;u<r.length;u++)if(c=l,l=r.charCodeAt(u),b)l===39&&c!==92&&(b=!1);else if(L)l===34&&c!==92&&(L=!1);else if(_)l===96&&c!==92&&(_=!1);else if(T)l===47&&c!==92&&(T=!1);else if(l!==124||r.charCodeAt(u+1)===124||r.charCodeAt(u-1)===124||k||A||O){switch(l){case 34:L=!0;break;case 39:b=!0;break;case 96:_=!0;break;case 40:O++;break;case 41:O--;break;case 91:A++;break;case 93:A--;break;case 123:k++;break;case 125:k--}if(l===47){for(var I=u-1,z=void 0;I>=0&&(z=r.charAt(I))===" ";I--);z&&dg.test(z)||(T=!0)}}else m===void 0?(P=u+1,m=r.slice(0,u).trim()):B();function B(){(p||(p=[])).push(r.slice(P,u).trim()),P=u+1}if(m===void 0?m=r.slice(0,u).trim():P!==0&&B(),p)for(u=0;u<p.length;u++)m=fg(m,p[u]);return m}function fg(r,l){var c=l.indexOf("(");if(c<0)return'_f("'.concat(l,'")(').concat(r,")");var u=l.slice(0,c),m=l.slice(c+1);return'_f("'.concat(u,'")(').concat(r).concat(m!==")"?","+m:m)}function v0(r,l){console.error("[Vue compiler]: ".concat(r))}function ur(r,l){return r?r.map(function(c){return c[l]}).filter(function(c){return c}):[]}function ni(r,l,c,u,m){(r.props||(r.props=[])).push(dr({name:l,value:c,dynamic:m},u)),r.plain=!1}function ta(r,l,c,u,m){(m?r.dynamicAttrs||(r.dynamicAttrs=[]):r.attrs||(r.attrs=[])).push(dr({name:l,value:c,dynamic:m},u)),r.plain=!1}function na(r,l,c,u){r.attrsMap[l]=c,r.attrsList.push(dr({name:l,value:c},u))}function hg(r,l,c,u,m,p,b,L){(r.directives||(r.directives=[])).push(dr({name:l,rawName:c,value:u,arg:m,isDynamicArg:p,modifiers:b},L)),r.plain=!1}function ia(r,l,c){return c?"_p(".concat(l,',"').concat(r,'")'):r+l}function mn(r,l,c,u,m,p,b,L){var _;(u=u||i).right?L?l="(".concat(l,")==='click'?'contextmenu':(").concat(l,")"):l==="click"&&(l="contextmenu",delete u.right):u.middle&&(L?l="(".concat(l,")==='click'?'mouseup':(").concat(l,")"):l==="click"&&(l="mouseup")),u.capture&&(delete u.capture,l=ia("!",l,L)),u.once&&(delete u.once,l=ia("~",l,L)),u.passive&&(delete u.passive,l=ia("&",l,L)),u.native?(delete u.native,_=r.nativeEvents||(r.nativeEvents={})):_=r.events||(r.events={});var T=dr({value:c.trim(),dynamic:L},b);u!==i&&(T.modifiers=u);var k=_[l];Array.isArray(k)?m?k.unshift(T):k.push(T):_[l]=k?m?[T,k]:[k,T]:T,r.plain=!1}function Tt(r,l,c){var u=Ve(r,":"+l)||Ve(r,"v-bind:"+l);if(u!=null)return ea(u);if(c!==!1){var m=Ve(r,l);if(m!=null)return JSON.stringify(m)}}function Ve(r,l,c){var u;if((u=r.attrsMap[l])!=null){for(var m=r.attrsList,p=0,b=m.length;p<b;p++)if(m[p].name===l){m.splice(p,1);break}}return c&&delete r.attrsMap[l],u}function b0(r,l){for(var c=r.attrsList,u=0,m=c.length;u<m;u++){var p=c[u];if(l.test(p.name))return c.splice(u,1),p}}function dr(r,l){return l&&(l.start!=null&&(r.start=l.start),l.end!=null&&(r.end=l.end)),r}function y0(r,l,c){var u=c||{},m=u.number,p="$$v",b=p;u.trim&&(b="(typeof ".concat(p," === 'string'")+"? ".concat(p,".trim()")+": ".concat(p,")")),m&&(b="_n(".concat(b,")"));var L=In(l,b);r.model={value:"(".concat(l,")"),expression:JSON.stringify(l),callback:"function (".concat(p,") {").concat(L,"}")}}function In(r,l){var c=function(u){if(u=u.trim(),Jo=u.length,u.indexOf("[")<0||u.lastIndexOf("]")<Jo-1)return(Pn=u.lastIndexOf("."))>-1?{exp:u.slice(0,Pn),key:'"'+u.slice(Pn+1)+'"'}:{exp:u,key:null};for(m0=u,Pn=os=Ko=0;!sa();)w0(ss=ra())?_0(ss):ss===91&&pg(ss);return{exp:u.slice(0,os),key:u.slice(os+1,Ko)}}(r);return c.key===null?"".concat(r,"=").concat(l):"$set(".concat(c.exp,", ").concat(c.key,", ").concat(l,")")}function ra(){return m0.charCodeAt(++Pn)}function sa(){return Pn>=Jo}function w0(r){return r===34||r===39}function pg(r){var l=1;for(os=Pn;!sa();)if(w0(r=ra()))_0(r);else if(r===91&&l++,r===93&&l--,l===0){Ko=Pn;break}}function _0(r){for(var l=r;!sa()&&(r=ra())!==l;);}var fr,as="__r",oa="__c";function gg(r,l,c){var u=fr;return function m(){l.apply(null,arguments)!==null&&L0(r,m,c,u)}}var mg=Ro&&!(jt&&Number(jt[1])<=53);function vg(r,l,c,u){if(mg){var m=Pc,p=l;l=p._wrapper=function(b){if(b.target===b.currentTarget||b.timeStamp>=m||b.timeStamp<=0||b.target.ownerDocument!==document)return p.apply(this,arguments)}}fr.addEventListener(r,l,Vt?{capture:c,passive:u}:c)}function L0(r,l,c,u){(u||fr).removeEventListener(r,l._wrapper||l,c)}function aa(r,l){if(!o(r.data.on)||!o(l.data.on)){var c=l.data.on||{},u=r.data.on||{};fr=l.elm||r.elm,function(m){if(a(m[as])){var p=at?"change":"input";m[p]=[].concat(m[as],m[p]||[]),delete m[as]}a(m[oa])&&(m.change=[].concat(m[oa],m.change||[]),delete m[oa])}(c),mc(c,u,vg,L0,gg,l.context),fr=void 0}}var la,bg={create:aa,update:aa,destroy:function(r){return aa(r,Mn)}};function C0(r,l){if(!o(r.data.domProps)||!o(l.data.domProps)){var c,u,m=l.elm,p=r.data.domProps||{},b=l.data.domProps||{};for(c in(a(b.__ob__)||d(b._v_attr_proxy))&&(b=l.data.domProps=ne({},b)),p)c in b||(m[c]="");for(c in b){if(u=b[c],c==="textContent"||c==="innerHTML"){if(l.children&&(l.children.length=0),u===p[c])continue;m.childNodes.length===1&&m.removeChild(m.childNodes[0])}if(c==="value"&&m.tagName!=="PROGRESS"){m._value=u;var L=o(u)?"":String(u);yg(m,L)&&(m.value=L)}else if(c==="innerHTML"&&Yo(m.tagName)&&o(m.innerHTML)){(la=la||document.createElement("div")).innerHTML="<svg>".concat(u,"</svg>");for(var _=la.firstChild;m.firstChild;)m.removeChild(m.firstChild);for(;_.firstChild;)m.appendChild(_.firstChild)}else if(u!==p[c])try{m[c]=u}catch(T){}}}}function yg(r,l){return!r.composing&&(r.tagName==="OPTION"||function(c,u){var m=!0;try{m=document.activeElement!==c}catch(p){}return m&&c.value!==u}(r,l)||function(c,u){var m=c.value,p=c._vModifiers;if(a(p)){if(p.number)return D(m)!==D(u);if(p.trim)return m.trim()!==u.trim()}return m!==u}(r,l))}var wg={create:C0,update:C0},A0=Q(function(r){var l={},c=/:(.+)/;return r.split(/;(?![^(]*\))/g).forEach(function(u){if(u){var m=u.split(c);m.length>1&&(l[m[0].trim()]=m[1].trim())}}),l});function ca(r){var l=E0(r.style);return r.staticStyle?ne(r.staticStyle,l):l}function E0(r){return Array.isArray(r)?Be(r):typeof r=="string"?A0(r):r}var ls,_g=/^--/,x0=/\s*!important$/,S0=function(r,l,c){if(_g.test(l))r.style.setProperty(l,c);else if(x0.test(c))r.style.setProperty(re(l),c.replace(x0,""),"important");else{var u=Lg(l);if(Array.isArray(c))for(var m=0,p=c.length;m<p;m++)r.style[u]=c[m];else r.style[u]=c}},T0=["Webkit","Moz","ms"],Lg=Q(function(r){if(ls=ls||document.createElement("div").style,(r=ce(r))!=="filter"&&r in ls)return r;for(var l=r.charAt(0).toUpperCase()+r.slice(1),c=0;c<T0.length;c++){var u=T0[c]+l;if(u in ls)return u}});function D0(r,l){var c=l.data,u=r.data;if(!(o(c.staticStyle)&&o(c.style)&&o(u.staticStyle)&&o(u.style))){var m,p,b=l.elm,L=u.staticStyle,_=u.normalizedStyle||u.style||{},T=L||_,k=E0(l.data.style)||{};l.data.normalizedStyle=a(k.__ob__)?ne({},k):k;var A=function(O,P){for(var I,z={},B=O;B.componentInstance;)(B=B.componentInstance._vnode)&&B.data&&(I=ca(B.data))&&ne(z,I);(I=ca(O.data))&&ne(z,I);for(var q=O;q=q.parent;)q.data&&(I=ca(q.data))&&ne(z,I);return z}(l);for(p in T)o(A[p])&&S0(b,p,"");for(p in A)m=A[p],S0(b,p,m==null?"":m)}}var Cg={create:D0,update:D0},k0=/\s+/;function O0(r,l){if(l&&(l=l.trim()))if(r.classList)l.indexOf(" ")>-1?l.split(k0).forEach(function(u){return r.classList.add(u)}):r.classList.add(l);else{var c=" ".concat(r.getAttribute("class")||""," ");c.indexOf(" "+l+" ")<0&&r.setAttribute("class",(c+l).trim())}}function R0(r,l){if(l&&(l=l.trim()))if(r.classList)l.indexOf(" ")>-1?l.split(k0).forEach(function(m){return r.classList.remove(m)}):r.classList.remove(l),r.classList.length||r.removeAttribute("class");else{for(var c=" ".concat(r.getAttribute("class")||""," "),u=" "+l+" ";c.indexOf(u)>=0;)c=c.replace(u," ");(c=c.trim())?r.setAttribute("class",c):r.removeAttribute("class")}}function M0(r){if(r){if(typeof r=="object"){var l={};return r.css!==!1&&ne(l,P0(r.name||"v")),ne(l,r),l}return typeof r=="string"?P0(r):void 0}}var P0=Q(function(r){return{enterClass:"".concat(r,"-enter"),enterToClass:"".concat(r,"-enter-to"),enterActiveClass:"".concat(r,"-enter-active"),leaveClass:"".concat(r,"-leave"),leaveToClass:"".concat(r,"-leave-to"),leaveActiveClass:"".concat(r,"-leave-active")}}),I0=ze&&!Et,Oi="transition",ua="animation",cs="transition",us="transitionend",da="animation",N0="animationend";I0&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(cs="WebkitTransition",us="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(da="WebkitAnimation",N0="webkitAnimationEnd"));var $0=ze?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(r){return r()};function j0(r){$0(function(){$0(r)})}function ii(r,l){var c=r._transitionClasses||(r._transitionClasses=[]);c.indexOf(l)<0&&(c.push(l),O0(r,l))}function vn(r,l){r._transitionClasses&&J(r._transitionClasses,l),R0(r,l)}function H0(r,l,c){var u=B0(r,l),m=u.type,p=u.timeout,b=u.propCount;if(!m)return c();var L=m===Oi?us:N0,_=0,T=function(){r.removeEventListener(L,k),c()},k=function(A){A.target===r&&++_>=b&&T()};setTimeout(function(){_<b&&T()},p+1),r.addEventListener(L,k)}var Ag=/\b(transform|all)(,|$)/;function B0(r,l){var c,u=window.getComputedStyle(r),m=(u[cs+"Delay"]||"").split(", "),p=(u[cs+"Duration"]||"").split(", "),b=z0(m,p),L=(u[da+"Delay"]||"").split(", "),_=(u[da+"Duration"]||"").split(", "),T=z0(L,_),k=0,A=0;return l===Oi?b>0&&(c=Oi,k=b,A=p.length):l===ua?T>0&&(c=ua,k=T,A=_.length):A=(c=(k=Math.max(b,T))>0?b>T?Oi:ua:null)?c===Oi?p.length:_.length:0,{type:c,timeout:k,propCount:A,hasTransform:c===Oi&&Ag.test(u[cs+"Property"])}}function z0(r,l){for(;r.length<l.length;)r=r.concat(r);return Math.max.apply(null,l.map(function(c,u){return F0(c)+F0(r[u])}))}function F0(r){return 1e3*Number(r.slice(0,-1).replace(",","."))}function fa(r,l){var c=r.elm;a(c._leaveCb)&&(c._leaveCb.cancelled=!0,c._leaveCb());var u=M0(r.data.transition);if(!o(u)&&!a(c._enterCb)&&c.nodeType===1){for(var m=u.css,p=u.type,b=u.enterClass,L=u.enterToClass,_=u.enterActiveClass,T=u.appearClass,k=u.appearToClass,A=u.appearActiveClass,O=u.beforeEnter,P=u.enter,I=u.afterEnter,z=u.enterCancelled,B=u.beforeAppear,q=u.appear,W=u.afterAppear,ue=u.appearCancelled,ie=u.duration,ee=Jn,le=Jn.$vnode;le&&le.parent;)ee=le.context,le=le.parent;var R=!ee._isMounted||!r.isRootInsert;if(!R||q||q===""){var N=R&&T?T:b,U=R&&A?A:_,Z=R&&k?k:L,ae=R&&B||O,ve=R&&g(q)?q:P,he=R&&W||I,ge=R&&ue||z,$e=D(h(ie)?ie.enter:ie),we=m!==!1&&!Et,me=ha(ve),Pe=c._enterCb=At(function(){we&&(vn(c,Z),vn(c,U)),Pe.cancelled?(we&&vn(c,N),ge&&ge(c)):he&&he(c),c._enterCb=null});r.data.show||On(r,"insert",function(){var Se=c.parentNode,_e=Se&&Se._pending&&Se._pending[r.key];_e&&_e.tag===r.tag&&_e.elm._leaveCb&&_e.elm._leaveCb(),ve&&ve(c,Pe)}),ae&&ae(c),we&&(ii(c,N),ii(c,U),j0(function(){vn(c,N),Pe.cancelled||(ii(c,Z),me||(W0($e)?setTimeout(Pe,$e):H0(c,p,Pe)))})),r.data.show&&(l&&l(),ve&&ve(c,Pe)),we||me||Pe()}}}function V0(r,l){var c=r.elm;a(c._enterCb)&&(c._enterCb.cancelled=!0,c._enterCb());var u=M0(r.data.transition);if(o(u)||c.nodeType!==1)return l();if(!a(c._leaveCb)){var m=u.css,p=u.type,b=u.leaveClass,L=u.leaveToClass,_=u.leaveActiveClass,T=u.beforeLeave,k=u.leave,A=u.afterLeave,O=u.leaveCancelled,P=u.delayLeave,I=u.duration,z=m!==!1&&!Et,B=ha(k),q=D(h(I)?I.leave:I),W=c._leaveCb=At(function(){c.parentNode&&c.parentNode._pending&&(c.parentNode._pending[r.key]=null),z&&(vn(c,L),vn(c,_)),W.cancelled?(z&&vn(c,b),O&&O(c)):(l(),A&&A(c)),c._leaveCb=null});P?P(ue):ue()}function ue(){W.cancelled||(!r.data.show&&c.parentNode&&((c.parentNode._pending||(c.parentNode._pending={}))[r.key]=r),T&&T(c),z&&(ii(c,b),ii(c,_),j0(function(){vn(c,b),W.cancelled||(ii(c,L),B||(W0(q)?setTimeout(W,q):H0(c,p,W)))})),k&&k(c,W),z||B||W())}}function W0(r){return typeof r=="number"&&!isNaN(r)}function ha(r){if(o(r))return!1;var l=r.fns;return a(l)?ha(Array.isArray(l)?l[0]:l):(r._length||r.length)>1}function U0(r,l){l.data.show!==!0&&fa(l)}var Eg=function(r){var l,c,u={},m=r.modules,p=r.nodeOps;for(l=0;l<lr.length;++l)for(u[lr[l]]=[],c=0;c<m.length;++c)a(m[c][lr[l]])&&u[lr[l]].push(m[c][lr[l]]);function b(R){var N=p.parentNode(R);a(N)&&p.removeChild(N,R)}function L(R,N,U,Z,ae,ve,he){if(a(R.elm)&&a(ve)&&(R=ve[he]=X(R)),R.isRootInsert=!ae,!function(me,Pe,Se,_e){var Ge=me.data;if(a(Ge)){var Pi=a(me.componentInstance)&&Ge.keepAlive;if(a(Ge=Ge.hook)&&a(Ge=Ge.init)&&Ge(me,!1),a(me.componentInstance))return _(me,Pe),T(Se,me.elm,_e),d(Pi)&&function(Yt,hr,pr,qt){for(var Ye,rt=Yt;rt.componentInstance;)if(a(Ye=(rt=rt.componentInstance._vnode).data)&&a(Ye=Ye.transition)){for(Ye=0;Ye<u.activate.length;++Ye)u.activate[Ye](Mn,rt);hr.push(rt);break}T(pr,Yt.elm,qt)}(me,Pe,Se,_e),!0}}(R,N,U,Z)){var ge=R.data,$e=R.children,we=R.tag;a(we)?(R.elm=R.ns?p.createElementNS(R.ns,we):p.createElement(we,R),P(R),k(R,$e,N),a(ge)&&O(R,N),T(U,R.elm,Z)):d(R.isComment)?(R.elm=p.createComment(R.text),T(U,R.elm,Z)):(R.elm=p.createTextNode(R.text),T(U,R.elm,Z))}}function _(R,N){a(R.data.pendingInsert)&&(N.push.apply(N,R.data.pendingInsert),R.data.pendingInsert=null),R.elm=R.componentInstance.$el,A(R)?(O(R,N),P(R)):(ki(R),N.push(R))}function T(R,N,U){a(R)&&(a(U)?p.parentNode(U)===R&&p.insertBefore(R,N,U):p.appendChild(R,N))}function k(R,N,U){if(s(N))for(var Z=0;Z<N.length;++Z)L(N[Z],U,R.elm,null,!0,N,Z);else f(R.text)&&p.appendChild(R.elm,p.createTextNode(String(R.text)))}function A(R){for(;R.componentInstance;)R=R.componentInstance._vnode;return a(R.tag)}function O(R,N){for(var U=0;U<u.create.length;++U)u.create[U](Mn,R);a(l=R.data.hook)&&(a(l.create)&&l.create(Mn,R),a(l.insert)&&N.push(R))}function P(R){var N;if(a(N=R.fnScopeId))p.setStyleScope(R.elm,N);else for(var U=R;U;)a(N=U.context)&&a(N=N.$options._scopeId)&&p.setStyleScope(R.elm,N),U=U.parent;a(N=Jn)&&N!==R.context&&N!==R.fnContext&&a(N=N.$options._scopeId)&&p.setStyleScope(R.elm,N)}function I(R,N,U,Z,ae,ve){for(;Z<=ae;++Z)L(U[Z],ve,R,N,!1,U,Z)}function z(R){var N,U,Z=R.data;if(a(Z))for(a(N=Z.hook)&&a(N=N.destroy)&&N(R),N=0;N<u.destroy.length;++N)u.destroy[N](R);if(a(N=R.children))for(U=0;U<R.children.length;++U)z(R.children[U])}function B(R,N,U){for(;N<=U;++N){var Z=R[N];a(Z)&&(a(Z.tag)?(q(Z),z(Z)):b(Z.elm))}}function q(R,N){if(a(N)||a(R.data)){var U,Z=u.remove.length+1;for(a(N)?N.listeners+=Z:N=function(ae,ve){function he(){--he.listeners==0&&b(ae)}return he.listeners=ve,he}(R.elm,Z),a(U=R.componentInstance)&&a(U=U._vnode)&&a(U.data)&&q(U,N),U=0;U<u.remove.length;++U)u.remove[U](R,N);a(U=R.data.hook)&&a(U=U.remove)?U(R,N):N()}else b(R.elm)}function W(R,N,U,Z){for(var ae=U;ae<Z;ae++){var ve=N[ae];if(a(ve)&&ti(R,ve))return ae}}function ue(R,N,U,Z,ae,ve){if(R!==N){a(N.elm)&&a(Z)&&(N=Z[ae]=X(N));var he=N.elm=R.elm;if(d(R.isAsyncPlaceholder))a(N.asyncFactory.resolved)?le(R.elm,N,U):N.isAsyncPlaceholder=!0;else if(d(N.isStatic)&&d(R.isStatic)&&N.key===R.key&&(d(N.isCloned)||d(N.isOnce)))N.componentInstance=R.componentInstance;else{var ge,$e=N.data;a($e)&&a(ge=$e.hook)&&a(ge=ge.prepatch)&&ge(R,N);var we=R.children,me=N.children;if(a($e)&&A(N)){for(ge=0;ge<u.update.length;++ge)u.update[ge](R,N);a(ge=$e.hook)&&a(ge=ge.update)&&ge(R,N)}o(N.text)?a(we)&&a(me)?we!==me&&function(Pe,Se,_e,Ge,Pi){for(var Yt,hr,pr,qt=0,Ye=0,rt=Se.length-1,_t=Se[0],Zt=Se[rt],Qt=_e.length-1,ut=_e[0],Ii=_e[Qt],Ma=!Pi;qt<=rt&&Ye<=Qt;)o(_t)?_t=Se[++qt]:o(Zt)?Zt=Se[--rt]:ti(_t,ut)?(ue(_t,ut,Ge,_e,Ye),_t=Se[++qt],ut=_e[++Ye]):ti(Zt,Ii)?(ue(Zt,Ii,Ge,_e,Qt),Zt=Se[--rt],Ii=_e[--Qt]):ti(_t,Ii)?(ue(_t,Ii,Ge,_e,Qt),Ma&&p.insertBefore(Pe,_t.elm,p.nextSibling(Zt.elm)),_t=Se[++qt],Ii=_e[--Qt]):ti(Zt,ut)?(ue(Zt,ut,Ge,_e,Ye),Ma&&p.insertBefore(Pe,Zt.elm,_t.elm),Zt=Se[--rt],ut=_e[++Ye]):(o(Yt)&&(Yt=rg(Se,qt,rt)),o(hr=a(ut.key)?Yt[ut.key]:W(ut,Se,qt,rt))?L(ut,Ge,Pe,_t.elm,!1,_e,Ye):ti(pr=Se[hr],ut)?(ue(pr,ut,Ge,_e,Ye),Se[hr]=void 0,Ma&&p.insertBefore(Pe,pr.elm,_t.elm)):L(ut,Ge,Pe,_t.elm,!1,_e,Ye),ut=_e[++Ye]);qt>rt?I(Pe,o(_e[Qt+1])?null:_e[Qt+1].elm,_e,Ye,Qt,Ge):Ye>Qt&&B(Se,qt,rt)}(he,we,me,U,ve):a(me)?(a(R.text)&&p.setTextContent(he,""),I(he,null,me,0,me.length-1,U)):a(we)?B(we,0,we.length-1):a(R.text)&&p.setTextContent(he,""):R.text!==N.text&&p.setTextContent(he,N.text),a($e)&&a(ge=$e.hook)&&a(ge=ge.postpatch)&&ge(R,N)}}}function ie(R,N,U){if(d(U)&&a(R.parent))R.parent.data.pendingInsert=N;else for(var Z=0;Z<N.length;++Z)N[Z].data.hook.insert(N[Z])}var ee=M("attrs,class,staticClass,staticStyle,key");function le(R,N,U,Z){var ae,ve=N.tag,he=N.data,ge=N.children;if(Z=Z||he&&he.pre,N.elm=R,d(N.isComment)&&a(N.asyncFactory))return N.isAsyncPlaceholder=!0,!0;if(a(he)&&(a(ae=he.hook)&&a(ae=ae.init)&&ae(N,!0),a(ae=N.componentInstance)))return _(N,U),!0;if(a(ve)){if(a(ge))if(R.hasChildNodes())if(a(ae=he)&&a(ae=ae.domProps)&&a(ae=ae.innerHTML)){if(ae!==R.innerHTML)return!1}else{for(var $e=!0,we=R.firstChild,me=0;me<ge.length;me++){if(!we||!le(we,ge[me],U,Z)){$e=!1;break}we=we.nextSibling}if(!$e||we)return!1}else k(N,ge,U);if(a(he)){var Pe=!1;for(var Se in he)if(!ee(Se)){Pe=!0,O(N,U);break}!Pe&&he.class&&Ti(he.class)}}else R.data!==N.text&&(R.data=N.text);return!0}return function(R,N,U,Z){if(!o(N)){var ae,ve=!1,he=[];if(o(R))ve=!0,L(N,he);else{var ge=a(R.nodeType);if(!ge&&ti(R,N))ue(R,N,he,null,null,Z);else{if(ge){if(R.nodeType===1&&R.hasAttribute(st)&&(R.removeAttribute(st),U=!0),d(U)&&le(R,N,he))return ie(N,he,!0),R;ae=R,R=new ct(p.tagName(ae).toLowerCase(),{},[],void 0,ae)}var $e=R.elm,we=p.parentNode($e);if(L(N,he,$e._leaveCb?null:we,p.nextSibling($e)),a(N.parent))for(var me=N.parent,Pe=A(N);me;){for(var Se=0;Se<u.destroy.length;++Se)u.destroy[Se](me);if(me.elm=N.elm,Pe){for(var _e=0;_e<u.create.length;++_e)u.create[_e](Mn,me);var Ge=me.data.hook.insert;if(Ge.merged)for(var Pi=Ge.fns.slice(1),Yt=0;Yt<Pi.length;Yt++)Pi[Yt]()}else ki(me);me=me.parent}a(we)?B([R],0,0):a(R.tag)&&z(R)}}return ie(N,he,ve),N.elm}a(R)&&z(R)}}({nodeOps:ng,modules:[cg,ug,bg,wg,Cg,ze?{create:U0,activate:U0,remove:function(r,l){r.data.show!==!0?V0(r,l):l()}}:{}].concat(lg)});Et&&document.addEventListener("selectionchange",function(){var r=document.activeElement;r&&r.vmodel&&pa(r,"input")});var G0={inserted:function(r,l,c,u){c.tag==="select"?(u.elm&&!u.elm._vOptions?On(c,"postpatch",function(){G0.componentUpdated(r,l,c)}):Y0(r,l,c.context),r._vOptions=[].map.call(r.options,ds)):(c.tag==="textarea"||Zo(r.type))&&(r._vModifiers=l.modifiers,l.modifiers.lazy||(r.addEventListener("compositionstart",xg),r.addEventListener("compositionend",Q0),r.addEventListener("change",Q0),Et&&(r.vmodel=!0)))},componentUpdated:function(r,l,c){if(c.tag==="select"){Y0(r,l,c.context);var u=r._vOptions,m=r._vOptions=[].map.call(r.options,ds);m.some(function(p,b){return!it(p,u[b])})&&(r.multiple?l.value.some(function(p){return Z0(p,m)}):l.value!==l.oldValue&&Z0(l.value,m))&&pa(r,"change")}}};function Y0(r,l,c){q0(r,l),(at||Gn)&&setTimeout(function(){q0(r,l)},0)}function q0(r,l,c){var u=l.value,m=r.multiple;if(!m||Array.isArray(u)){for(var p,b,L=0,_=r.options.length;L<_;L++)if(b=r.options[L],m)p=vt(u,ds(b))>-1,b.selected!==p&&(b.selected=p);else if(it(ds(b),u))return void(r.selectedIndex!==L&&(r.selectedIndex=L));m||(r.selectedIndex=-1)}}function Z0(r,l){return l.every(function(c){return!it(c,r)})}function ds(r){return"_value"in r?r._value:r.value}function xg(r){r.target.composing=!0}function Q0(r){r.target.composing&&(r.target.composing=!1,pa(r.target,"input"))}function pa(r,l){var c=document.createEvent("HTMLEvents");c.initEvent(l,!0,!0),r.dispatchEvent(c)}function ga(r){return!r.componentInstance||r.data&&r.data.transition?r:ga(r.componentInstance._vnode)}var Sg={bind:function(r,l,c){var u=l.value,m=(c=ga(c)).data&&c.data.transition,p=r.__vOriginalDisplay=r.style.display==="none"?"":r.style.display;u&&m?(c.data.show=!0,fa(c,function(){r.style.display=p})):r.style.display=u?p:"none"},update:function(r,l,c){var u=l.value;!u!=!l.oldValue&&((c=ga(c)).data&&c.data.transition?(c.data.show=!0,u?fa(c,function(){r.style.display=r.__vOriginalDisplay}):V0(c,function(){r.style.display="none"})):r.style.display=u?r.__vOriginalDisplay:"none")},unbind:function(r,l,c,u,m){m||(r.style.display=r.__vOriginalDisplay)}},Tg={model:G0,show:Sg},X0={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ma(r){var l=r&&r.componentOptions;return l&&l.Ctor.options.abstract?ma(Tc(l.children)):r}function J0(r){var l={},c=r.$options;for(var u in c.propsData)l[u]=r[u];var m=c._parentListeners;for(var u in m)l[ce(u)]=m[u];return l}function K0(r,l){if(/\d-keep-alive$/.test(l.tag))return r("keep-alive",{props:l.componentOptions.propsData})}var Dg=function(r){return r.tag||rr(r)},kg=function(r){return r.name==="show"},Og={name:"transition",props:X0,abstract:!0,render:function(r){var l=this,c=this.$slots.default;if(c&&(c=c.filter(Dg)).length){var u=this.mode,m=c[0];if(function(P){for(;P=P.parent;)if(P.data.transition)return!0}(this.$vnode))return m;var p=ma(m);if(!p)return m;if(this._leaving)return K0(r,m);var b="__transition-".concat(this._uid,"-");p.key=p.key==null?p.isComment?b+"comment":b+p.tag:f(p.key)?String(p.key).indexOf(b)===0?p.key:b+p.key:p.key;var L=(p.data||(p.data={})).transition=J0(this),_=this._vnode,T=ma(_);if(p.data.directives&&p.data.directives.some(kg)&&(p.data.show=!0),T&&T.data&&!function(P,I){return I.key===P.key&&I.tag===P.tag}(p,T)&&!rr(T)&&(!T.componentInstance||!T.componentInstance._vnode.isComment)){var k=T.data.transition=ne({},L);if(u==="out-in")return this._leaving=!0,On(k,"afterLeave",function(){l._leaving=!1,l.$forceUpdate()}),K0(r,m);if(u==="in-out"){if(rr(p))return _;var A,O=function(){A()};On(L,"afterEnter",O),On(L,"enterCancelled",O),On(k,"delayLeave",function(P){A=P})}}return m}}},eu=ne({tag:String,moveClass:String},X0);delete eu.mode;var Rg={props:eu,beforeMount:function(){var r=this,l=this._update;this._update=function(c,u){var m=Oc(r);r.__patch__(r._vnode,r.kept,!1,!0),r._vnode=r.kept,m(),l.call(r,c,u)}},render:function(r){for(var l=this.tag||this.$vnode.data.tag||"span",c=Object.create(null),u=this.prevChildren=this.children,m=this.$slots.default||[],p=this.children=[],b=J0(this),L=0;L<m.length;L++)(k=m[L]).tag&&k.key!=null&&String(k.key).indexOf("__vlist")!==0&&(p.push(k),c[k.key]=k,(k.data||(k.data={})).transition=b);if(u){var _=[],T=[];for(L=0;L<u.length;L++){var k;(k=u[L]).data.transition=b,k.data.pos=k.elm.getBoundingClientRect(),c[k.key]?_.push(k):T.push(k)}this.kept=r(l,null,_),this.removed=T}return r(l,null,p)},updated:function(){var r=this.prevChildren,l=this.moveClass||(this.name||"v")+"-move";r.length&&this.hasMove(r[0].elm,l)&&(r.forEach(Mg),r.forEach(Pg),r.forEach(Ig),this._reflow=document.body.offsetHeight,r.forEach(function(c){if(c.data.moved){var u=c.elm,m=u.style;ii(u,l),m.transform=m.WebkitTransform=m.transitionDuration="",u.addEventListener(us,u._moveCb=function p(b){b&&b.target!==u||b&&!/transform$/.test(b.propertyName)||(u.removeEventListener(us,p),u._moveCb=null,vn(u,l))})}}))},methods:{hasMove:function(r,l){if(!I0)return!1;if(this._hasMove)return this._hasMove;var c=r.cloneNode();r._transitionClasses&&r._transitionClasses.forEach(function(m){R0(c,m)}),O0(c,l),c.style.display="none",this.$el.appendChild(c);var u=B0(c);return this.$el.removeChild(c),this._hasMove=u.hasTransform}}};function Mg(r){r.elm._moveCb&&r.elm._moveCb(),r.elm._enterCb&&r.elm._enterCb()}function Pg(r){r.data.newPos=r.elm.getBoundingClientRect()}function Ig(r){var l=r.data.pos,c=r.data.newPos,u=l.left-c.left,m=l.top-c.top;if(u||m){r.data.moved=!0;var p=r.elm.style;p.transform=p.WebkitTransform="translate(".concat(u,"px,").concat(m,"px)"),p.transitionDuration="0s"}}var Ng={Transition:Og,TransitionGroup:Rg};Re.config.mustUseProp=s0,Re.config.isReservedTag=qo,Re.config.isReservedAttr=q9,Re.config.getTagNamespace=c0,Re.config.isUnknownElement=function(r){if(!ze)return!0;if(qo(r))return!1;if(r=r.toLowerCase(),rs[r]!=null)return rs[r];var l=document.createElement(r);return r.indexOf("-")>-1?rs[r]=l.constructor===window.HTMLUnknownElement||l.constructor===window.HTMLElement:rs[r]=/HTMLUnknownElement/.test(l.toString())},ne(Re.options.directives,Tg),ne(Re.options.components,Ng),Re.prototype.__patch__=ze?Eg:oe,Re.prototype.$mount=function(r,l){return function(c,u,m){var p;c.$el=u,c.$options.render||(c.$options.render=un),Bt(c,"beforeMount"),p=function(){c._update(c._render(),m)},new Di(c,p,oe,{before:function(){c._isMounted&&!c._isDestroyed&&Bt(c,"beforeUpdate")}},!0),m=!1;var b=c._preWatchers;if(b)for(var L=0;L<b.length;L++)b[L].run();return c.$vnode==null&&(c._isMounted=!0,Bt(c,"mounted")),c}(this,r=r&&ze?Qo(r):void 0,l)},ze&&setTimeout(function(){},0);var $g=/\{\{((?:.|\r?\n)+?)\}\}/g,tu=/[-.*+?^${}()|[\]\/\\]/g,jg=Q(function(r){var l=r[0].replace(tu,"\\$&"),c=r[1].replace(tu,"\\$&");return new RegExp(l+"((?:.|\\n)+?)"+c,"g")}),Hg={staticKeys:["staticClass"],transformNode:function(r,l){l.warn;var c=Ve(r,"class");c&&(r.staticClass=JSON.stringify(c.replace(/\s+/g," ").trim()));var u=Tt(r,"class",!1);u&&(r.classBinding=u)},genData:function(r){var l="";return r.staticClass&&(l+="staticClass:".concat(r.staticClass,",")),r.classBinding&&(l+="class:".concat(r.classBinding,",")),l}},va,Bg={staticKeys:["staticStyle"],transformNode:function(r,l){l.warn;var c=Ve(r,"style");c&&(r.staticStyle=JSON.stringify(A0(c)));var u=Tt(r,"style",!1);u&&(r.styleBinding=u)},genData:function(r){var l="";return r.staticStyle&&(l+="staticStyle:".concat(r.staticStyle,",")),r.styleBinding&&(l+="style:(".concat(r.styleBinding,"),")),l}},zg=function(r){return(va=va||document.createElement("div")).innerHTML=r,va.textContent},Fg=M("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Vg=M("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wg=M("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ug=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gg=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,nu="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(an.source,"]*"),iu="((?:".concat(nu,"\\:)?").concat(nu,")"),ru=new RegExp("^<".concat(iu)),Yg=/^\s*(\/?)>/,su=new RegExp("^<\\/".concat(iu,"[^>]*>")),qg=/^<!DOCTYPE [^>]+>/i,ou=/^<!\--/,au=/^<!\[/,lu=M("script,style,textarea",!0),cu={},Zg={"<":"<",">":">",""":'"',"&":"&"," ":` -`,"	":" ","'":"'"},Qg=/&(?:lt|gt|quot|amp|#39);/g,Xg=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Jg=M("pre,textarea",!0),uu=function(r,l){return r&&Jg(r)&&l[0]===` -`};function Kg(r,l){var c=l?Xg:Qg;return r.replace(c,function(u){return Zg[u]})}function em(r,l){for(var c,u,m=[],p=l.expectHTML,b=l.isUnaryTag||Oe,L=l.canBeLeftOpenTag||Oe,_=0,T=function(){if(c=r,u&&lu(u)){var O=0,P=u.toLowerCase(),I=cu[P]||(cu[P]=new RegExp("([\\s\\S]*?)(</"+P+"[^>]*>)","i"));R=r.replace(I,function(U,Z,ae){return O=ae.length,lu(P)||P==="noscript"||(Z=Z.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),uu(P,Z)&&(Z=Z.slice(1)),l.chars&&l.chars(Z),""}),_+=r.length-R.length,r=R,A(P,_-O,_)}else{var z=r.indexOf("<");if(z===0){if(ou.test(r)){var B=r.indexOf("-->");if(B>=0)return l.shouldKeepComment&&l.comment&&l.comment(r.substring(4,B),_,_+B+3),k(B+3),"continue"}if(au.test(r)){var q=r.indexOf("]>");if(q>=0)return k(q+2),"continue"}var W=r.match(qg);if(W)return k(W[0].length),"continue";var ue=r.match(su);if(ue){var ie=_;return k(ue[0].length),A(ue[1],ie,_),"continue"}var ee=function(){var U=r.match(ru);if(U){var Z={tagName:U[1],attrs:[],start:_};k(U[0].length);for(var ae=void 0,ve=void 0;!(ae=r.match(Yg))&&(ve=r.match(Gg)||r.match(Ug));)ve.start=_,k(ve[0].length),ve.end=_,Z.attrs.push(ve);if(ae)return Z.unarySlash=ae[1],k(ae[0].length),Z.end=_,Z}}();if(ee)return function(U){var Z=U.tagName,ae=U.unarySlash;p&&(u==="p"&&Wg(Z)&&A(u),L(Z)&&u===Z&&A(Z));for(var ve=b(Z)||!!ae,he=U.attrs.length,ge=new Array(he),$e=0;$e<he;$e++){var we=U.attrs[$e],me=we[3]||we[4]||we[5]||"",Pe=Z==="a"&&we[1]==="href"?l.shouldDecodeNewlinesForHref:l.shouldDecodeNewlines;ge[$e]={name:we[1],value:Kg(me,Pe)}}ve||(m.push({tag:Z,lowerCasedTag:Z.toLowerCase(),attrs:ge,start:U.start,end:U.end}),u=Z),l.start&&l.start(Z,ge,ve,U.start,U.end)}(ee),uu(ee.tagName,r)&&k(1),"continue"}var le=void 0,R=void 0,N=void 0;if(z>=0){for(R=r.slice(z);!(su.test(R)||ru.test(R)||ou.test(R)||au.test(R)||(N=R.indexOf("<",1))<0);)z+=N,R=r.slice(z);le=r.substring(0,z)}z<0&&(le=r),le&&k(le.length),l.chars&&le&&l.chars(le,_-le.length,_)}if(r===c)return l.chars&&l.chars(r),"break"};r&&T()!=="break";);function k(O){_+=O,r=r.substring(O)}function A(O,P,I){var z,B;if(P==null&&(P=_),I==null&&(I=_),O)for(B=O.toLowerCase(),z=m.length-1;z>=0&&m[z].lowerCasedTag!==B;z--);else z=0;if(z>=0){for(var q=m.length-1;q>=z;q--)l.end&&l.end(m[q].tag,P,I);m.length=z,u=z&&m[z-1].tag}else B==="br"?l.start&&l.start(O,[],!0,P,I):B==="p"&&(l.start&&l.start(O,[],!1,P,I),l.end&&l.end(O,P,I))}A()}var du,fu,ba,ya,wa,_a,La,hu,pu=/^@|^v-on:/,Ca=/^v-|^@|^:|^#/,tm=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,gu=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,nm=/^\(|\)$/g,fs=/^\[.*\]$/,im=/:(.*)$/,mu=/^:|^\.|^v-bind:/,vu=/\.[^.\]]+(?=[^\]]*$)/g,Aa=/^v-slot(:|$)|^#/,rm=/[\r\n]/,sm=/[ \f\t\r\n]+/g,om=Q(zg),hs="_empty_";function Ea(r,l,c){return{type:1,tag:r,attrsList:l,attrsMap:cm(l),rawAttrsMap:{},parent:c,children:[]}}function am(r,l){du=l.warn||v0,_a=l.isPreTag||Oe,La=l.mustUseProp||Oe,hu=l.getTagNamespace||Oe,l.isReservedTag,ba=ur(l.modules,"transformNode"),ya=ur(l.modules,"preTransformNode"),wa=ur(l.modules,"postTransformNode"),fu=l.delimiters;var c,u,m=[],p=l.preserveWhitespace!==!1,b=l.whitespace,L=!1,_=!1;function T(A){if(k(A),L||A.processed||(A=ps(A,l)),m.length||A===c||c.if&&(A.elseif||A.else)&&Ri(c,{exp:A.elseif,block:A}),u&&!A.forbidden)if(A.elseif||A.else)P=A,I=function(B){for(var q=B.length;q--;){if(B[q].type===1)return B[q];B.pop()}}(u.children),I&&I.if&&Ri(I,{exp:P.elseif,block:P});else{if(A.slotScope){var O=A.slotTarget||'"default"';(u.scopedSlots||(u.scopedSlots={}))[O]=A}u.children.push(A),A.parent=u}var P,I;A.children=A.children.filter(function(B){return!B.slotScope}),k(A),A.pre&&(L=!1),_a(A.tag)&&(_=!1);for(var z=0;z<wa.length;z++)wa[z](A,l)}function k(A){if(!_)for(var O=void 0;(O=A.children[A.children.length-1])&&O.type===3&&O.text===" ";)A.children.pop()}return em(r,{warn:du,expectHTML:l.expectHTML,isUnaryTag:l.isUnaryTag,canBeLeftOpenTag:l.canBeLeftOpenTag,shouldDecodeNewlines:l.shouldDecodeNewlines,shouldDecodeNewlinesForHref:l.shouldDecodeNewlinesForHref,shouldKeepComment:l.comments,outputSourceRange:l.outputSourceRange,start:function(A,O,P,I,z){var B=u&&u.ns||hu(A);at&&B==="svg"&&(O=function(ie){for(var ee=[],le=0;le<ie.length;le++){var R=ie[le];um.test(R.name)||(R.name=R.name.replace(dm,""),ee.push(R))}return ee}(O));var q,W=Ea(A,O,u);B&&(W.ns=B),(q=W).tag!=="style"&&(q.tag!=="script"||q.attrsMap.type&&q.attrsMap.type!=="text/javascript")||lt()||(W.forbidden=!0);for(var ue=0;ue<ya.length;ue++)W=ya[ue](W,l)||W;L||(function(ie){Ve(ie,"v-pre")!=null&&(ie.pre=!0)}(W),W.pre&&(L=!0)),_a(W.tag)&&(_=!0),L?function(ie){var ee=ie.attrsList,le=ee.length;if(le)for(var R=ie.attrs=new Array(le),N=0;N<le;N++)R[N]={name:ee[N].name,value:JSON.stringify(ee[N].value)},ee[N].start!=null&&(R[N].start=ee[N].start,R[N].end=ee[N].end);else ie.pre||(ie.plain=!0)}(W):W.processed||(bu(W),function(ie){var ee=Ve(ie,"v-if");if(ee)ie.if=ee,Ri(ie,{exp:ee,block:ie});else{Ve(ie,"v-else")!=null&&(ie.else=!0);var le=Ve(ie,"v-else-if");le&&(ie.elseif=le)}}(W),function(ie){var ee=Ve(ie,"v-once");ee!=null&&(ie.once=!0)}(W)),c||(c=W),P?T(W):(u=W,m.push(W))},end:function(A,O,P){var I=m[m.length-1];m.length-=1,u=m[m.length-1],T(I)},chars:function(A,O,P){if(u&&(!at||u.tag!=="textarea"||u.attrsMap.placeholder!==A)){var I,z=u.children;if(A=_||A.trim()?(I=u).tag==="script"||I.tag==="style"?A:om(A):z.length?b?b==="condense"&&rm.test(A)?"":" ":p?" ":"":""){_||b!=="condense"||(A=A.replace(sm," "));var B=void 0,q=void 0;!L&&A!==" "&&(B=function(W,ue){var ie=ue?jg(ue):$g;if(ie.test(W)){for(var ee,le,R,N=[],U=[],Z=ie.lastIndex=0;ee=ie.exec(W);){(le=ee.index)>Z&&(U.push(R=W.slice(Z,le)),N.push(JSON.stringify(R)));var ae=ea(ee[1].trim());N.push("_s(".concat(ae,")")),U.push({"@binding":ae}),Z=le+ee[0].length}return Z<W.length&&(U.push(R=W.slice(Z)),N.push(JSON.stringify(R))),{expression:N.join("+"),tokens:U}}}(A,fu))?q={type:2,expression:B.expression,tokens:B.tokens,text:A}:A===" "&&z.length&&z[z.length-1].text===" "||(q={type:3,text:A}),q&&z.push(q)}}},comment:function(A,O,P){if(u){var I={type:3,text:A,isComment:!0};u.children.push(I)}}}),c}function ps(r,l){var c,u;(u=Tt(c=r,"key"))&&(c.key=u),r.plain=!r.key&&!r.scopedSlots&&!r.attrsList.length,function(p){var b=Tt(p,"ref");b&&(p.ref=b,p.refInFor=function(L){for(var _=L;_;){if(_.for!==void 0)return!0;_=_.parent}return!1}(p))}(r),function(p){var b;p.tag==="template"?(b=Ve(p,"scope"),p.slotScope=b||Ve(p,"slot-scope")):(b=Ve(p,"slot-scope"))&&(p.slotScope=b);var L=Tt(p,"slot");if(L&&(p.slotTarget=L==='""'?'"default"':L,p.slotTargetDynamic=!(!p.attrsMap[":slot"]&&!p.attrsMap["v-bind:slot"]),p.tag==="template"||p.slotScope||ta(p,"slot",L,function(B,q){return B.rawAttrsMap[":"+q]||B.rawAttrsMap["v-bind:"+q]||B.rawAttrsMap[q]}(p,"slot"))),p.tag==="template"){if(A=b0(p,Aa)){var _=yu(A),T=_.name,k=_.dynamic;p.slotTarget=T,p.slotTargetDynamic=k,p.slotScope=A.value||hs}}else{var A;if(A=b0(p,Aa)){var O=p.scopedSlots||(p.scopedSlots={}),P=yu(A),I=P.name,z=(k=P.dynamic,O[I]=Ea("template",[],p));z.slotTarget=I,z.slotTargetDynamic=k,z.children=p.children.filter(function(B){if(!B.slotScope)return B.parent=z,!0}),z.slotScope=A.value||hs,p.children=[],p.plain=!1}}}(r),function(p){p.tag==="slot"&&(p.slotName=Tt(p,"name"))}(r),function(p){var b;(b=Tt(p,"is"))&&(p.component=b),Ve(p,"inline-template")!=null&&(p.inlineTemplate=!0)}(r);for(var m=0;m<ba.length;m++)r=ba[m](r,l)||r;return function(p){var b,L,_,T,k,A,O,P,I=p.attrsList;for(b=0,L=I.length;b<L;b++)if(_=T=I[b].name,k=I[b].value,Ca.test(_))if(p.hasBindings=!0,(A=lm(_.replace(Ca,"")))&&(_=_.replace(vu,"")),mu.test(_))_=_.replace(mu,""),k=ea(k),(P=fs.test(_))&&(_=_.slice(1,-1)),A&&(A.prop&&!P&&(_=ce(_))==="innerHtml"&&(_="innerHTML"),A.camel&&!P&&(_=ce(_)),A.sync&&(O=In(k,"$event"),P?mn(p,'"update:"+('.concat(_,")"),O,null,!1,0,I[b],!0):(mn(p,"update:".concat(ce(_)),O,null,!1,0,I[b]),re(_)!==ce(_)&&mn(p,"update:".concat(re(_)),O,null,!1,0,I[b])))),A&&A.prop||!p.component&&La(p.tag,p.attrsMap.type,_)?ni(p,_,k,I[b],P):ta(p,_,k,I[b],P);else if(pu.test(_))_=_.replace(pu,""),(P=fs.test(_))&&(_=_.slice(1,-1)),mn(p,_,k,A,!1,0,I[b],P);else{var z=(_=_.replace(Ca,"")).match(im),B=z&&z[1];P=!1,B&&(_=_.slice(0,-(B.length+1)),fs.test(B)&&(B=B.slice(1,-1),P=!0)),hg(p,_,T,k,B,P,A,I[b])}else ta(p,_,JSON.stringify(k),I[b]),!p.component&&_==="muted"&&La(p.tag,p.attrsMap.type,_)&&ni(p,_,"true",I[b])}(r),r}function bu(r){var l;if(l=Ve(r,"v-for")){var c=function(u){var m=u.match(tm);if(m){var p={};p.for=m[2].trim();var b=m[1].trim().replace(nm,""),L=b.match(gu);return L?(p.alias=b.replace(gu,"").trim(),p.iterator1=L[1].trim(),L[2]&&(p.iterator2=L[2].trim())):p.alias=b,p}}(l);c&&ne(r,c)}}function Ri(r,l){r.ifConditions||(r.ifConditions=[]),r.ifConditions.push(l)}function yu(r){var l=r.name.replace(Aa,"");return l||r.name[0]!=="#"&&(l="default"),fs.test(l)?{name:l.slice(1,-1),dynamic:!0}:{name:'"'.concat(l,'"'),dynamic:!1}}function lm(r){var l=r.match(vu);if(l){var c={};return l.forEach(function(u){c[u.slice(1)]=!0}),c}}function cm(r){for(var l={},c=0,u=r.length;c<u;c++)l[r[c].name]=r[c].value;return l}var um=/^xmlns:NS\d+/,dm=/^NS\d+:/;function xa(r){return Ea(r.tag,r.attrsList.slice(),r.parent)}var wu=[Hg,Bg,{preTransformNode:function(r,l){if(r.tag==="input"){var c=r.attrsMap;if(!c["v-model"])return;var u=void 0;if((c[":type"]||c["v-bind:type"])&&(u=Tt(r,"type")),c.type||u||!c["v-bind"]||(u="(".concat(c["v-bind"],").type")),u){var m=Ve(r,"v-if",!0),p=m?"&&(".concat(m,")"):"",b=Ve(r,"v-else",!0)!=null,L=Ve(r,"v-else-if",!0),_=xa(r);bu(_),na(_,"type","checkbox"),ps(_,l),_.processed=!0,_.if="(".concat(u,")==='checkbox'")+p,Ri(_,{exp:_.if,block:_});var T=xa(r);Ve(T,"v-for",!0),na(T,"type","radio"),ps(T,l),Ri(_,{exp:"(".concat(u,")==='radio'")+p,block:T});var k=xa(r);return Ve(k,"v-for",!0),na(k,":type",u),ps(k,l),Ri(_,{exp:m,block:k}),b?_.else=!0:L&&(_.elseif=L),_}}}}],_u,Sa,fm={model:function(r,l,c){var u=l.value,m=l.modifiers,p=r.tag,b=r.attrsMap.type;if(r.component)return y0(r,u,m),!1;if(p==="select")(function(L,_,T){var k=T&&T.number,A='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(k?"_n(val)":"val","})"),O="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",P="var $$selectedVal = ".concat(A,";");P="".concat(P," ").concat(In(_,O)),mn(L,"change",P,null,!0)})(r,u,m);else if(p==="input"&&b==="checkbox")(function(L,_,T){var k=T&&T.number,A=Tt(L,"value")||"null",O=Tt(L,"true-value")||"true",P=Tt(L,"false-value")||"false";ni(L,"checked","Array.isArray(".concat(_,")")+"?_i(".concat(_,",").concat(A,")>-1")+(O==="true"?":(".concat(_,")"):":_q(".concat(_,",").concat(O,")"))),mn(L,"change","var $$a=".concat(_,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(O,"):(").concat(P,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(k?"_n("+A+")":A,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(In(_,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(In(_,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(In(_,"$$c"),"}"),null,!0)})(r,u,m);else if(p==="input"&&b==="radio")(function(L,_,T){var k=T&&T.number,A=Tt(L,"value")||"null";A=k?"_n(".concat(A,")"):A,ni(L,"checked","_q(".concat(_,",").concat(A,")")),mn(L,"change",In(_,A),null,!0)})(r,u,m);else if(p==="input"||p==="textarea")(function(L,_,T){var k=L.attrsMap.type,A=T||{},O=A.lazy,P=A.number,I=A.trim,z=!O&&k!=="range",B=O?"change":k==="range"?as:"input",q="$event.target.value";I&&(q="$event.target.value.trim()"),P&&(q="_n(".concat(q,")"));var W=In(_,q);z&&(W="if($event.target.composing)return;".concat(W)),ni(L,"value","(".concat(_,")")),mn(L,B,W,null,!0),(I||P)&&mn(L,"blur","$forceUpdate()")})(r,u,m);else return y0(r,u,m),!1;return!0},text:function(r,l){l.value&&ni(r,"textContent","_s(".concat(l.value,")"),l)},html:function(r,l){l.value&&ni(r,"innerHTML","_s(".concat(l.value,")"),l)}},hm={expectHTML:!0,modules:wu,directives:fm,isPreTag:function(r){return r==="pre"},isUnaryTag:Fg,mustUseProp:s0,canBeLeftOpenTag:Vg,isReservedTag:qo,getTagNamespace:c0,staticKeys:function(r){return r.reduce(function(l,c){return l.concat(c.staticKeys||[])},[]).join(",")}(wu)},pm=Q(function(r){return M("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(r?","+r:""))});function gm(r,l){r&&(_u=pm(l.staticKeys||""),Sa=l.isReservedTag||Oe,Ta(r),Da(r,!1))}function Ta(r){if(r.static=function(p){return p.type===2?!1:p.type===3?!0:!(!p.pre&&(p.hasBindings||p.if||p.for||F(p.tag)||!Sa(p.tag)||function(b){for(;b.parent;){if((b=b.parent).tag!=="template")return!1;if(b.for)return!0}return!1}(p)||!Object.keys(p).every(_u)))}(r),r.type===1){if(!Sa(r.tag)&&r.tag!=="slot"&&r.attrsMap["inline-template"]==null)return;for(var l=0,c=r.children.length;l<c;l++){var u=r.children[l];Ta(u),u.static||(r.static=!1)}if(r.ifConditions)for(l=1,c=r.ifConditions.length;l<c;l++){var m=r.ifConditions[l].block;Ta(m),m.static||(r.static=!1)}}}function Da(r,l){if(r.type===1){if((r.static||r.once)&&(r.staticInFor=l),r.static&&r.children.length&&(r.children.length!==1||r.children[0].type!==3))return void(r.staticRoot=!0);if(r.staticRoot=!1,r.children)for(var c=0,u=r.children.length;c<u;c++)Da(r.children[c],l||!!r.for);if(r.ifConditions)for(c=1,u=r.ifConditions.length;c<u;c++)Da(r.ifConditions[c].block,l)}}var mm=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,vm=/\([^)]*?\);*$/,Lu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Cu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},bm={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},bn=function(r){return"if(".concat(r,")return null;")},Au={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:bn("$event.target !== $event.currentTarget"),ctrl:bn("!$event.ctrlKey"),shift:bn("!$event.shiftKey"),alt:bn("!$event.altKey"),meta:bn("!$event.metaKey"),left:bn("'button' in $event && $event.button !== 0"),middle:bn("'button' in $event && $event.button !== 1"),right:bn("'button' in $event && $event.button !== 2")};function Eu(r,l){var c=l?"nativeOn:":"on:",u="",m="";for(var p in r){var b=xu(r[p]);r[p]&&r[p].dynamic?m+="".concat(p,",").concat(b,","):u+='"'.concat(p,'":').concat(b,",")}return u="{".concat(u.slice(0,-1),"}"),m?c+"_d(".concat(u,",[").concat(m.slice(0,-1),"])"):c+u}function xu(r){if(!r)return"function(){}";if(Array.isArray(r))return"[".concat(r.map(function(k){return xu(k)}).join(","),"]");var l=Lu.test(r.value),c=mm.test(r.value),u=Lu.test(r.value.replace(vm,""));if(r.modifiers){var m="",p="",b=[],L=function(k){if(Au[k])p+=Au[k],Cu[k]&&b.push(k);else if(k==="exact"){var A=r.modifiers;p+=bn(["ctrl","shift","alt","meta"].filter(function(O){return!A[O]}).map(function(O){return"$event.".concat(O,"Key")}).join("||"))}else b.push(k)};for(var _ in r.modifiers)L(_);b.length&&(m+=function(k){return"if(!$event.type.indexOf('key')&&"+"".concat(k.map(ym).join("&&"),")return null;")}(b)),p&&(m+=p);var T=l?"return ".concat(r.value,".apply(null, arguments)"):c?"return (".concat(r.value,").apply(null, arguments)"):u?"return ".concat(r.value):r.value;return"function($event){".concat(m).concat(T,"}")}return l||c?r.value:"function($event){".concat(u?"return ".concat(r.value):r.value,"}")}function ym(r){var l=parseInt(r,10);if(l)return"$event.keyCode!==".concat(l);var c=Cu[r],u=bm[r];return"_k($event.keyCode,"+"".concat(JSON.stringify(r),",")+"".concat(JSON.stringify(c),",")+"$event.key,"+"".concat(JSON.stringify(u))+")"}var wm={on:function(r,l){r.wrapListeners=function(c){return"_g(".concat(c,",").concat(l.value,")")}},bind:function(r,l){r.wrapData=function(c){return"_b(".concat(c,",'").concat(r.tag,"',").concat(l.value,",").concat(l.modifiers&&l.modifiers.prop?"true":"false").concat(l.modifiers&&l.modifiers.sync?",true":"",")")}},cloak:oe},_m=function(r){this.options=r,this.warn=r.warn||v0,this.transforms=ur(r.modules,"transformCode"),this.dataGenFns=ur(r.modules,"genData"),this.directives=ne(ne({},wm),r.directives);var l=r.isReservedTag||Oe;this.maybeComponent=function(c){return!!c.component||!l(c.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Su(r,l){var c=new _m(l),u=r?r.tag==="script"?"null":yn(r,c):'_c("div")';return{render:"with(this){return ".concat(u,"}"),staticRenderFns:c.staticRenderFns}}function yn(r,l){if(r.parent&&(r.pre=r.pre||r.parent.pre),r.staticRoot&&!r.staticProcessed)return Tu(r,l);if(r.once&&!r.onceProcessed)return Du(r,l);if(r.for&&!r.forProcessed)return Ou(r,l);if(r.if&&!r.ifProcessed)return ka(r,l);if(r.tag!=="template"||r.slotTarget||l.pre){if(r.tag==="slot")return function(T,k){var A=T.slotName||'"default"',O=Mi(T,k),P="_t(".concat(A).concat(O?",function(){return ".concat(O,"}"):""),I=T.attrs||T.dynamicAttrs?gs((T.attrs||[]).concat(T.dynamicAttrs||[]).map(function(B){return{name:ce(B.name),value:B.value,dynamic:B.dynamic}})):null,z=T.attrsMap["v-bind"];return!I&&!z||O||(P+=",null"),I&&(P+=",".concat(I)),z&&(P+="".concat(I?"":",null",",").concat(z)),P+")"}(r,l);var c=void 0;if(r.component)c=function(T,k,A){var O=k.inlineTemplate?null:Mi(k,A,!0);return"_c(".concat(T,",").concat(Ru(k,A)).concat(O?",".concat(O):"",")")}(r.component,r,l);else{var u=void 0,m=l.maybeComponent(r);(!r.plain||r.pre&&m)&&(u=Ru(r,l));var p=void 0,b=l.options.bindings;m&&b&&b.__isScriptSetup!==!1&&(p=function(T,k){var A=ce(k),O=De(A),P=function(B){return T[k]===B?k:T[A]===B?A:T[O]===B?O:void 0},I=P("setup-const")||P("setup-reactive-const");if(I)return I;var z=P("setup-let")||P("setup-ref")||P("setup-maybe-ref");if(z)return z}(b,r.tag)),p||(p="'".concat(r.tag,"'"));var L=r.inlineTemplate?null:Mi(r,l,!0);c="_c(".concat(p).concat(u?",".concat(u):"").concat(L?",".concat(L):"",")")}for(var _=0;_<l.transforms.length;_++)c=l.transforms[_](r,c);return c}return Mi(r,l)||"void 0"}function Tu(r,l){r.staticProcessed=!0;var c=l.pre;return r.pre&&(l.pre=r.pre),l.staticRenderFns.push("with(this){return ".concat(yn(r,l),"}")),l.pre=c,"_m(".concat(l.staticRenderFns.length-1).concat(r.staticInFor?",true":"",")")}function Du(r,l){if(r.onceProcessed=!0,r.if&&!r.ifProcessed)return ka(r,l);if(r.staticInFor){for(var c="",u=r.parent;u;){if(u.for){c=u.key;break}u=u.parent}return c?"_o(".concat(yn(r,l),",").concat(l.onceId++,",").concat(c,")"):yn(r,l)}return Tu(r,l)}function ka(r,l,c,u){return r.ifProcessed=!0,ku(r.ifConditions.slice(),l,c,u)}function ku(r,l,c,u){if(!r.length)return u||"_e()";var m=r.shift();return m.exp?"(".concat(m.exp,")?").concat(p(m.block),":").concat(ku(r,l,c,u)):"".concat(p(m.block));function p(b){return c?c(b,l):b.once?Du(b,l):yn(b,l)}}function Ou(r,l,c,u){var m=r.for,p=r.alias,b=r.iterator1?",".concat(r.iterator1):"",L=r.iterator2?",".concat(r.iterator2):"";return r.forProcessed=!0,"".concat("_l","((").concat(m,"),")+"function(".concat(p).concat(b).concat(L,"){")+"return ".concat((c||yn)(r,l))+"})"}function Ru(r,l){var c="{",u=function(b,L){var _=b.directives;if(_){var T,k,A,O,P="directives:[",I=!1;for(T=0,k=_.length;T<k;T++){A=_[T],O=!0;var z=L.directives[A.name];z&&(O=!!z(b,A,L.warn)),O&&(I=!0,P+='{name:"'.concat(A.name,'",rawName:"').concat(A.rawName,'"').concat(A.value?",value:(".concat(A.value,"),expression:").concat(JSON.stringify(A.value)):"").concat(A.arg?",arg:".concat(A.isDynamicArg?A.arg:'"'.concat(A.arg,'"')):"").concat(A.modifiers?",modifiers:".concat(JSON.stringify(A.modifiers)):"","},"))}if(I)return P.slice(0,-1)+"]"}}(r,l);u&&(c+=u+","),r.key&&(c+="key:".concat(r.key,",")),r.ref&&(c+="ref:".concat(r.ref,",")),r.refInFor&&(c+="refInFor:true,"),r.pre&&(c+="pre:true,"),r.component&&(c+='tag:"'.concat(r.tag,'",'));for(var m=0;m<l.dataGenFns.length;m++)c+=l.dataGenFns[m](r);if(r.attrs&&(c+="attrs:".concat(gs(r.attrs),",")),r.props&&(c+="domProps:".concat(gs(r.props),",")),r.events&&(c+="".concat(Eu(r.events,!1),",")),r.nativeEvents&&(c+="".concat(Eu(r.nativeEvents,!0),",")),r.slotTarget&&!r.slotScope&&(c+="slot:".concat(r.slotTarget,",")),r.scopedSlots&&(c+="".concat(function(b,L,_){var T=b.for||Object.keys(L).some(function(P){var I=L[P];return I.slotTargetDynamic||I.if||I.for||Mu(I)}),k=!!b.if;if(!T)for(var A=b.parent;A;){if(A.slotScope&&A.slotScope!==hs||A.for){T=!0;break}A.if&&(k=!0),A=A.parent}var O=Object.keys(L).map(function(P){return Oa(L[P],_)}).join(",");return"scopedSlots:_u([".concat(O,"]").concat(T?",null,true":"").concat(!T&&k?",null,false,".concat(function(P){for(var I=5381,z=P.length;z;)I=33*I^P.charCodeAt(--z);return I>>>0}(O)):"",")")}(r,r.scopedSlots,l),",")),r.model&&(c+="model:{value:".concat(r.model.value,",callback:").concat(r.model.callback,",expression:").concat(r.model.expression,"},")),r.inlineTemplate){var p=function(b,L){var _=b.children[0];if(_&&_.type===1){var T=Su(_,L.options);return"inlineTemplate:{render:function(){".concat(T.render,"},staticRenderFns:[").concat(T.staticRenderFns.map(function(k){return"function(){".concat(k,"}")}).join(","),"]}")}}(r,l);p&&(c+="".concat(p,","))}return c=c.replace(/,$/,"")+"}",r.dynamicAttrs&&(c="_b(".concat(c,',"').concat(r.tag,'",').concat(gs(r.dynamicAttrs),")")),r.wrapData&&(c=r.wrapData(c)),r.wrapListeners&&(c=r.wrapListeners(c)),c}function Mu(r){return r.type===1&&(r.tag==="slot"||r.children.some(Mu))}function Oa(r,l){var c=r.attrsMap["slot-scope"];if(r.if&&!r.ifProcessed&&!c)return ka(r,l,Oa,"null");if(r.for&&!r.forProcessed)return Ou(r,l,Oa);var u=r.slotScope===hs?"":String(r.slotScope),m="function(".concat(u,"){")+"return ".concat(r.tag==="template"?r.if&&c?"(".concat(r.if,")?").concat(Mi(r,l)||"undefined",":undefined"):Mi(r,l)||"undefined":yn(r,l),"}"),p=u?"":",proxy:true";return"{key:".concat(r.slotTarget||'"default"',",fn:").concat(m).concat(p,"}")}function Mi(r,l,c,u,m){var p=r.children;if(p.length){var b=p[0];if(p.length===1&&b.for&&b.tag!=="template"&&b.tag!=="slot"){var L=c?l.maybeComponent(b)?",1":",0":"";return"".concat(yn(b,l)).concat(L)}var _=c?function(k,A){for(var O=0,P=0;P<k.length;P++){var I=k[P];if(I.type===1){if(Pu(I)||I.ifConditions&&I.ifConditions.some(function(z){return Pu(z.block)})){O=2;break}(A(I)||I.ifConditions&&I.ifConditions.some(function(z){return A(z.block)}))&&(O=1)}}return O}(p,l.maybeComponent):0,T=Lm;return"[".concat(p.map(function(k){return T(k,l)}).join(","),"]").concat(_?",".concat(_):"")}}function Pu(r){return r.for!==void 0||r.tag==="template"||r.tag==="slot"}function Lm(r,l){return r.type===1?yn(r,l):r.type===3&&r.isComment?function(c){return"_e(".concat(JSON.stringify(c.text),")")}(r):function(c){return"_v(".concat(c.type===2?c.expression:Iu(JSON.stringify(c.text)),")")}(r)}function gs(r){for(var l="",c="",u=0;u<r.length;u++){var m=r[u],p=Iu(m.value);m.dynamic?c+="".concat(m.name,",").concat(p,","):l+='"'.concat(m.name,'":').concat(p,",")}return l="{".concat(l.slice(0,-1),"}"),c?"_d(".concat(l,",[").concat(c.slice(0,-1),"])"):l}function Iu(r){return r.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Nu(r,l){try{return new Function(r)}catch(c){return l.push({err:c,code:r}),oe}}function Cm(r){var l=Object.create(null);return function(c,u,m){(u=ne({},u)).warn,delete u.warn;var p=u.delimiters?String(u.delimiters)+c:c;if(l[p])return l[p];var b=r(c,u),L={},_=[];return L.render=Nu(b.render,_),L.staticRenderFns=b.staticRenderFns.map(function(T){return Nu(T,_)}),l[p]=L}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var $u,Ra,Am=($u=function(r,l){var c=am(r.trim(),l);l.optimize!==!1&&gm(c,l);var u=Su(c,l);return{ast:c,render:u.render,staticRenderFns:u.staticRenderFns}},function(r){function l(c,u){var m=Object.create(r),p=[],b=[];if(u)for(var L in u.modules&&(m.modules=(r.modules||[]).concat(u.modules)),u.directives&&(m.directives=ne(Object.create(r.directives||null),u.directives)),u)L!=="modules"&&L!=="directives"&&(m[L]=u[L]);m.warn=function(T,k,A){(A?b:p).push(T)};var _=$u(c.trim(),m);return _.errors=p,_.tips=b,_}return{compile:l,compileToFunctions:Cm(l)}}),ju=Am(hm).compileToFunctions;function Hu(r){return(Ra=Ra||document.createElement("div")).innerHTML=r?`<a href=" + */(function(i,s){n.exports=s()})(Na,function(){var i=Object.freeze({}),s=Array.isArray;function o(r){return r==null}function a(r){return r!=null}function d(r){return r===!0}function f(r){return typeof r=="string"||typeof r=="number"||typeof r=="symbol"||typeof r=="boolean"}function p(r){return typeof r=="function"}function h(r){return r!==null&&typeof r=="object"}var y=Object.prototype.toString;function w(r){return y.call(r)==="[object Object]"}function v(r){var l=parseFloat(String(r));return l>=0&&Math.floor(l)===l&&isFinite(r)}function C(r){return a(r)&&typeof r.then=="function"&&typeof r.catch=="function"}function x(r){return r==null?"":Array.isArray(r)||w(r)&&r.toString===y?JSON.stringify(r,S,2):String(r)}function S(r,l){return l&&l.__v_isRef?l.value:l}function D(r){var l=parseFloat(r);return isNaN(l)?r:l}function R(r,l){for(var c=Object.create(null),u=r.split(","),m=0;m<u.length;m++)c[u[m]]=!0;return l?function(g){return c[g.toLowerCase()]}:function(g){return c[g]}}var z=R("slot,component",!0),E=R("key,ref,slot,slot-scope,is");function X(r,l){var c=r.length;if(c){if(l===r[c-1])return void(r.length=c-1);var u=r.indexOf(l);if(u>-1)return r.splice(u,1)}}var V=Object.prototype.hasOwnProperty;function W(r,l){return V.call(r,l)}function Z(r){var l=Object.create(null);return function(c){return l[c]||(l[c]=r(c))}}var me=/-(\w)/g,ce=Z(function(r){return r.replace(me,function(l,c){return c?c.toUpperCase():""})}),Se=Z(function(r){return r.charAt(0).toUpperCase()+r.slice(1)}),Ae=/\B([A-Z])/g,re=Z(function(r){return r.replace(Ae,"-$1").toLowerCase()}),ke=Function.prototype.bind?function(r,l){return r.bind(l)}:function(r,l){function c(u){var m=arguments.length;return m?m>1?r.apply(l,arguments):r.call(l,u):r.call(l)}return c._length=r.length,c};function Ue(r,l){l=l||0;for(var c=r.length-l,u=new Array(c);c--;)u[c]=r[c+l];return u}function ne(r,l){for(var c in l)r[c]=l[c];return r}function Be(r){for(var l={},c=0;c<r.length;c++)r[c]&&ne(l,r[c]);return l}function oe(r,l,c){}var Oe=function(r,l,c){return!1},mt=function(r){return r};function it(r,l){if(r===l)return!0;var c=h(r),u=h(l);if(!c||!u)return!c&&!u&&String(r)===String(l);try{var m=Array.isArray(r),g=Array.isArray(l);if(m&&g)return r.length===l.length&&r.every(function(_,T){return it(_,l[T])});if(r instanceof Date&&l instanceof Date)return r.getTime()===l.getTime();if(m||g)return!1;var b=Object.keys(r),L=Object.keys(l);return b.length===L.length&&b.every(function(_){return it(r[_],l[_])})}catch(_){return!1}}function vt(r,l){for(var c=0;c<r.length;c++)if(it(r[c],l))return c;return-1}function At(r){var l=!1;return function(){l||(l=!0,r.apply(this,arguments))}}function bt(r,l){return r===l?r===0&&1/r!=1/l:r==r||l==l}var st="data-server-rendered",ot=["component","directive","filter"],on=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Qe={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Oe,isReservedAttr:Oe,isUnknownElement:Oe,getTagNamespace:oe,parsePlatformTagName:mt,mustUseProp:Oe,async:!0,_lifecycleHooks:on},an=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function $t(r){var l=(r+"").charCodeAt(0);return l===36||l===95}function xe(r,l,c,u){Object.defineProperty(r,l,{value:c,enumerable:!!u,writable:!0,configurable:!0})}var Ei=new RegExp("[^".concat(an.source,".$_\\d]")),Un="__proto__"in{},Fe=typeof window!="undefined",Xe=Fe&&window.navigator.userAgent.toLowerCase(),at=Xe&&/msie|trident/.test(Xe),Et=Xe&&Xe.indexOf("msie 9.0")>0,Gn=Xe&&Xe.indexOf("edge/")>0;Xe&&Xe.indexOf("android");var xi=Xe&&/iphone|ipad|ipod|ios/.test(Xe),yt,jt=Xe&&Xe.match(/firefox\/(\d+)/),ln={}.watch,Vt=!1;if(Fe)try{var Tn={};Object.defineProperty(Tn,"passive",{get:function(){Vt=!0}}),window.addEventListener("test-passive",null,Tn)}catch(r){}var lt=function(){return yt===void 0&&(yt=!Fe&&typeof Na!="undefined"&&Na.process&&t.VUE_ENV==="server"),yt},qn=Fe&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ht(r){return typeof r=="function"&&/native code/.test(r.toString())}var cn,Yn=typeof Symbol!="undefined"&&Ht(Symbol)&&typeof Reflect!="undefined"&&Ht(Reflect.ownKeys);cn=typeof Set!="undefined"&&Ht(Set)?Set:function(){function r(){this.set=Object.create(null)}return r.prototype.has=function(l){return this.set[l]===!0},r.prototype.add=function(l){this.set[l]=!0},r.prototype.clear=function(){this.set=Object.create(null)},r}();var Ne=null;function Wt(r){r===void 0&&(r=null),r||Ne&&Ne._scope.off(),Ne=r,r&&r._scope.on()}var ct=function(){function r(l,c,u,m,g,b,L,_){this.tag=l,this.data=c,this.children=u,this.text=m,this.elm=g,this.ns=void 0,this.context=b,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=c&&c.key,this.componentOptions=L,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=_,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(r.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),r}(),un=function(r){r===void 0&&(r="");var l=new ct;return l.text=r,l.isComment=!0,l};function H(r){return new ct(void 0,void 0,void 0,String(r))}function J(r){var l=new ct(r.tag,r.data,r.children&&r.children.slice(),r.text,r.elm,r.context,r.componentOptions,r.asyncFactory);return l.ns=r.ns,l.isStatic=r.isStatic,l.key=r.key,l.isComment=r.isComment,l.fnContext=r.fnContext,l.fnOptions=r.fnOptions,l.fnScopeId=r.fnScopeId,l.asyncMeta=r.asyncMeta,l.isCloned=!0,l}typeof SuppressedError=="function"&&SuppressedError;var se=0,fe=[],de=function(){for(var r=0;r<fe.length;r++){var l=fe[r];l.subs=l.subs.filter(function(c){return c}),l._pending=!1}fe.length=0},De=function(){function r(){this._pending=!1,this.id=se++,this.subs=[]}return r.prototype.addSub=function(l){this.subs.push(l)},r.prototype.removeSub=function(l){this.subs[this.subs.indexOf(l)]=null,this._pending||(this._pending=!0,fe.push(this))},r.prototype.depend=function(l){r.target&&r.target.addDep(this)},r.prototype.notify=function(l){for(var c=this.subs.filter(function(g){return g}),u=0,m=c.length;u<m;u++)c[u].update()},r}();De.target=null;var Je=[];function wt(r){Je.push(r),De.target=r}function dn(){Je.pop(),De.target=Je[Je.length-1]}var Ut=Array.prototype,Dn=Object.create(Ut);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(r){var l=Ut[r];xe(Dn,r,function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var m,g=l.apply(this,c),b=this.__ob__;switch(r){case"push":case"unshift":m=c;break;case"splice":m=c.slice(2)}return m&&b.observeArray(m),b.dep.notify(),g})});var Zn=Object.getOwnPropertyNames(Dn),fn={},tr=!0;function xt(r){tr=r}var Si={notify:oe,depend:oe,addSub:oe,removeSub:oe},pc=function(){function r(l,c,u){if(c===void 0&&(c=!1),u===void 0&&(u=!1),this.value=l,this.shallow=c,this.mock=u,this.dep=u?Si:new De,this.vmCount=0,xe(l,"__ob__",this),s(l)){if(!u)if(Un)l.__proto__=Dn;else for(var m=0,g=Zn.length;m<g;m++)xe(l,L=Zn[m],Dn[L]);c||this.observeArray(l)}else{var b=Object.keys(l);for(m=0;m<b.length;m++){var L;kn(l,L=b[m],fn,void 0,c,u)}}}return r.prototype.observeArray=function(l){for(var c=0,u=l.length;c<u;c++)hn(l[c],!1,this.mock)},r}();function hn(r,l,c){return r&&W(r,"__ob__")&&r.__ob__ instanceof pc?r.__ob__:!tr||!c&<()||!s(r)&&!w(r)||!Object.isExtensible(r)||r.__v_skip||Ke(r)||r instanceof ct?void 0:new pc(r,l,c)}function kn(r,l,c,u,m,g,b){b===void 0&&(b=!1);var L=new De,_=Object.getOwnPropertyDescriptor(r,l);if(!_||_.configurable!==!1){var T=_&&_.get,k=_&&_.set;T&&!k||c!==fn&&arguments.length!==2||(c=r[l]);var A=m?c&&c.__ob__:hn(c,!1,g);return Object.defineProperty(r,l,{enumerable:!0,configurable:!0,get:function(){var O=T?T.call(r):c;return De.target&&(L.depend(),A&&(A.dep.depend(),s(O)&&gc(O))),Ke(O)&&!m?O.value:O},set:function(O){var P=T?T.call(r):c;if(bt(P,O)){if(k)k.call(r,O);else{if(T)return;if(!m&&Ke(P)&&!Ke(O))return void(P.value=O);c=O}A=m?O&&O.__ob__:hn(O,!1,g),L.notify()}}}),L}}function zr(r,l,c){if(!Xn(r)){var u=r.__ob__;return s(r)&&v(l)?(r.length=Math.max(r.length,l),r.splice(l,1,c),u&&!u.shallow&&u.mock&&hn(c,!1,!0),c):l in r&&!(l in Object.prototype)?(r[l]=c,c):r._isVue||u&&u.vmCount?c:u?(kn(u.value,l,c,void 0,u.shallow,u.mock),u.dep.notify(),c):(r[l]=c,c)}}function yo(r,l){if(s(r)&&v(l))r.splice(l,1);else{var c=r.__ob__;r._isVue||c&&c.vmCount||Xn(r)||W(r,l)&&(delete r[l],c&&c.dep.notify())}}function gc(r){for(var l=void 0,c=0,u=r.length;c<u;c++)(l=r[c])&&l.__ob__&&l.__ob__.dep.depend(),s(l)&&gc(l)}function wo(r){return mc(r,!0),xe(r,"__v_isShallow",!0),r}function mc(r,l){Xn(r)||hn(r,l,lt())}function Qn(r){return Xn(r)?Qn(r.__v_raw):!(!r||!r.__ob__)}function Vr(r){return!(!r||!r.__v_isShallow)}function Xn(r){return!(!r||!r.__v_isReadonly)}var nr="__v_isRef";function Ke(r){return!(!r||r.__v_isRef!==!0)}function vc(r,l){if(Ke(r))return r;var c={};return xe(c,nr,!0),xe(c,"__v_isShallow",l),xe(c,"dep",kn(c,"value",r,null,l,lt())),c}function Wr(r,l,c){Object.defineProperty(r,c,{enumerable:!0,configurable:!0,get:function(){var u=l[c];if(Ke(u))return u.value;var m=u&&u.__ob__;return m&&m.dep.depend(),u},set:function(u){var m=l[c];Ke(m)&&!Ke(u)?m.value=u:l[c]=u}})}function bc(r,l,c){var u=r[l];if(Ke(u))return u;var m={get value(){var g=r[l];return g===void 0?c:g},set value(g){r[l]=g}};return xe(m,nr,!0),m}var r9="__v_rawToReadonly",s9="__v_rawToShallowReadonly";function yc(r){return wc(r,!1)}function wc(r,l){if(!w(r)||Xn(r))return r;var c=l?s9:r9,u=r[c];if(u)return u;var m=Object.create(Object.getPrototypeOf(r));xe(r,c,m),xe(m,"__v_isReadonly",!0),xe(m,"__v_raw",r),Ke(r)&&xe(m,nr,!0),(l||Vr(r))&&xe(m,"__v_isShallow",!0);for(var g=Object.keys(r),b=0;b<g.length;b++)o9(m,r,g[b],l);return m}function o9(r,l,c,u){Object.defineProperty(r,c,{enumerable:!0,configurable:!0,get:function(){var m=l[c];return u||!w(m)?m:yc(m)},set:function(){}})}var _c=Z(function(r){var l=r.charAt(0)==="&",c=(r=l?r.slice(1):r).charAt(0)==="~",u=(r=c?r.slice(1):r).charAt(0)==="!";return{name:r=u?r.slice(1):r,once:c,capture:u,passive:l}});function _o(r,l){function c(){var u=c.fns;if(!s(u))return gn(u,null,arguments,l,"v-on handler");for(var m=u.slice(),g=0;g<m.length;g++)gn(m[g],null,arguments,l,"v-on handler")}return c.fns=r,c}function Lc(r,l,c,u,m,g){var b,L,_,T;for(b in r)L=r[b],_=l[b],T=_c(b),o(L)||(o(_)?(o(L.fns)&&(L=r[b]=_o(L,g)),d(T.once)&&(L=r[b]=m(T.name,L,T.capture)),c(T.name,L,T.capture,T.passive,T.params)):L!==_&&(_.fns=L,r[b]=_));for(b in l)o(r[b])&&u((T=_c(b)).name,l[b],T.capture)}function On(r,l,c){var u;r instanceof ct&&(r=r.data.hook||(r.data.hook={}));var m=r[l];function g(){c.apply(this,arguments),X(u.fns,g)}o(m)?u=_o([g]):a(m.fns)&&d(m.merged)?(u=m).fns.push(g):u=_o([m,g]),u.merged=!0,r[l]=u}function Cc(r,l,c,u,m){if(a(l)){if(W(l,c))return r[c]=l[c],m||delete l[c],!0;if(W(l,u))return r[c]=l[u],m||delete l[u],!0}return!1}function Lo(r){return f(r)?[H(r)]:s(r)?Ac(r):void 0}function ir(r){return a(r)&&a(r.text)&&r.isComment===!1}function Ac(r,l){var c,u,m,g,b=[];for(c=0;c<r.length;c++)o(u=r[c])||typeof u=="boolean"||(g=b[m=b.length-1],s(u)?u.length>0&&(ir((u=Ac(u,"".concat(l||"","_").concat(c)))[0])&&ir(g)&&(b[m]=H(g.text+u[0].text),u.shift()),b.push.apply(b,u)):f(u)?ir(g)?b[m]=H(g.text+u):u!==""&&b.push(H(u)):ir(u)&&ir(g)?b[m]=H(g.text+u.text):(d(r._isVList)&&a(u.tag)&&o(u.key)&&a(l)&&(u.key="__vlist".concat(l,"_").concat(c,"__")),b.push(u)));return b}var a9=1,Ec=2;function rr(r,l,c,u,m,g){return(s(c)||f(c))&&(m=u,u=c,c=void 0),d(g)&&(m=Ec),function(b,L,_,T,k){if(a(_)&&a(_.__ob__)||(a(_)&&a(_.is)&&(L=_.is),!L))return un();s(T)&&p(T[0])&&((_=_||{}).scopedSlots={default:T[0]},T.length=0),k===Ec?T=Lo(T):k===a9&&(T=function(I){for(var F=0;F<I.length;F++)if(s(I[F]))return Array.prototype.concat.apply([],I);return I}(T));var A,O;if(typeof L=="string"){var P=void 0;O=b.$vnode&&b.$vnode.ns||Qe.getTagNamespace(L),A=_&&_.pre||!a(P=ns(b.$options,"components",L))?new ct(L,_,T,void 0,void 0,b):i0(P,_,b,T,L)}else A=i0(L,_,b,T);return s(A)?A:a(A)?(a(O)&&xc(A,O),a(_)&&function(I){h(I.style)&&Di(I.style),h(I.class)&&Di(I.class)}(_),A):un()}(r,l,c,u,m)}function xc(r,l,c){if(r.ns=l,r.tag==="foreignObject"&&(l=void 0,c=!0),a(r.children))for(var u=0,m=r.children.length;u<m;u++){var g=r.children[u];a(g.tag)&&(o(g.ns)||d(c)&&g.tag!=="svg")&&xc(g,l,c)}}function l9(r,l){var c,u,m,g,b=null;if(s(r)||typeof r=="string")for(b=new Array(r.length),c=0,u=r.length;c<u;c++)b[c]=l(r[c],c);else if(typeof r=="number")for(b=new Array(r),c=0;c<r;c++)b[c]=l(c+1,c);else if(h(r))if(Yn&&r[Symbol.iterator]){b=[];for(var L=r[Symbol.iterator](),_=L.next();!_.done;)b.push(l(_.value,b.length)),_=L.next()}else for(m=Object.keys(r),b=new Array(m.length),c=0,u=m.length;c<u;c++)g=m[c],b[c]=l(r[g],g,c);return a(b)||(b=[]),b._isVList=!0,b}function c9(r,l,c,u){var m,g=this.$scopedSlots[r];g?(c=c||{},u&&(c=ne(ne({},u),c)),m=g(c)||(p(l)?l():l)):m=this.$slots[r]||(p(l)?l():l);var b=c&&c.slot;return b?this.$createElement("template",{slot:b},m):m}function u9(r){return ns(this.$options,"filters",r)||mt}function Sc(r,l){return s(r)?r.indexOf(l)===-1:r!==l}function d9(r,l,c,u,m){var g=Qe.keyCodes[l]||c;return m&&u&&!Qe.keyCodes[l]?Sc(m,u):g?Sc(g,r):u?re(u)!==l:r===void 0}function f9(r,l,c,u,m){if(c&&h(c)){s(c)&&(c=Be(c));var g=void 0,b=function(_){if(_==="class"||_==="style"||E(_))g=r;else{var T=r.attrs&&r.attrs.type;g=u||Qe.mustUseProp(l,T,_)?r.domProps||(r.domProps={}):r.attrs||(r.attrs={})}var k=ce(_),A=re(_);k in g||A in g||(g[_]=c[_],m&&((r.on||(r.on={}))["update:".concat(_)]=function(O){c[_]=O}))};for(var L in c)b(L)}return r}function h9(r,l){var c=this._staticTrees||(this._staticTrees=[]),u=c[r];return u&&!l||Tc(u=c[r]=this.$options.staticRenderFns[r].call(this._renderProxy,this._c,this),"__static__".concat(r),!1),u}function p9(r,l,c){return Tc(r,"__once__".concat(l).concat(c?"_".concat(c):""),!0),r}function Tc(r,l,c){if(s(r))for(var u=0;u<r.length;u++)r[u]&&typeof r[u]!="string"&&Dc(r[u],"".concat(l,"_").concat(u),c);else Dc(r,l,c)}function Dc(r,l,c){r.isStatic=!0,r.key=l,r.isOnce=c}function g9(r,l){if(l&&w(l)){var c=r.on=r.on?ne({},r.on):{};for(var u in l){var m=c[u],g=l[u];c[u]=m?[].concat(m,g):g}}return r}function kc(r,l,c,u){l=l||{$stable:!c};for(var m=0;m<r.length;m++){var g=r[m];s(g)?kc(g,l,c):g&&(g.proxy&&(g.fn.proxy=!0),l[g.key]=g.fn)}return u&&(l.$key=u),l}function m9(r,l){for(var c=0;c<l.length;c+=2){var u=l[c];typeof u=="string"&&u&&(r[l[c]]=l[c+1])}return r}function v9(r,l){return typeof r=="string"?l+r:r}function Oc(r){r._o=p9,r._n=D,r._s=x,r._l=l9,r._t=c9,r._q=it,r._i=vt,r._m=h9,r._f=u9,r._k=d9,r._b=f9,r._v=H,r._e=un,r._u=kc,r._g=g9,r._d=m9,r._p=v9}function Co(r,l){if(!r||!r.length)return{};for(var c={},u=0,m=r.length;u<m;u++){var g=r[u],b=g.data;if(b&&b.attrs&&b.attrs.slot&&delete b.attrs.slot,g.context!==l&&g.fnContext!==l||!b||b.slot==null)(c.default||(c.default=[])).push(g);else{var L=b.slot,_=c[L]||(c[L]=[]);g.tag==="template"?_.push.apply(_,g.children||[]):_.push(g)}}for(var T in c)c[T].every(b9)&&delete c[T];return c}function b9(r){return r.isComment&&!r.asyncFactory||r.text===" "}function sr(r){return r.isComment&&r.asyncFactory}function or(r,l,c,u){var m,g=Object.keys(c).length>0,b=l?!!l.$stable:!g,L=l&&l.$key;if(l){if(l._normalized)return l._normalized;if(b&&u&&u!==i&&L===u.$key&&!g&&!u.$hasNormal)return u;for(var _ in m={},l)l[_]&&_[0]!=="$"&&(m[_]=y9(r,c,_,l[_]))}else m={};for(var T in c)T in m||(m[T]=w9(c,T));return l&&Object.isExtensible(l)&&(l._normalized=m),xe(m,"$stable",b),xe(m,"$key",L),xe(m,"$hasNormal",g),m}function y9(r,l,c,u){var m=function(){var g=Ne;Wt(r);var b=arguments.length?u.apply(null,arguments):u({}),L=(b=b&&typeof b=="object"&&!s(b)?[b]:Lo(b))&&b[0];return Wt(g),b&&(!L||b.length===1&&L.isComment&&!sr(L))?void 0:b};return u.proxy&&Object.defineProperty(l,c,{get:m,enumerable:!0,configurable:!0}),m}function w9(r,l){return function(){return r[l]}}function Mc(r){return{get attrs(){if(!r._attrsProxy){var l=r._attrsProxy={};xe(l,"_v_attr_proxy",!0),Ur(l,r.$attrs,i,r,"$attrs")}return r._attrsProxy},get listeners(){return r._listenersProxy||Ur(r._listenersProxy={},r.$listeners,i,r,"$listeners"),r._listenersProxy},get slots(){return function(l){return l._slotsProxy||Rc(l._slotsProxy={},l.$scopedSlots),l._slotsProxy}(r)},emit:ke(r.$emit,r),expose:function(l){l&&Object.keys(l).forEach(function(c){return Wr(r,l,c)})}}}function Ur(r,l,c,u,m){var g=!1;for(var b in l)b in r?l[b]!==c[b]&&(g=!0):(g=!0,_9(r,b,u,m));for(var b in r)b in l||(g=!0,delete r[b]);return g}function _9(r,l,c,u){Object.defineProperty(r,l,{enumerable:!0,configurable:!0,get:function(){return c[u][l]}})}function Rc(r,l){for(var c in l)r[c]=l[c];for(var c in r)c in l||delete r[c]}function Ao(){var r=Ne;return r._setupContext||(r._setupContext=Mc(r))}var ar,et,Gr=null;function Eo(r,l){return(r.__esModule||Yn&&r[Symbol.toStringTag]==="Module")&&(r=r.default),h(r)?l.extend(r):r}function Pc(r){if(s(r))for(var l=0;l<r.length;l++){var c=r[l];if(a(c)&&(a(c.componentOptions)||sr(c)))return c}}function L9(r,l){ar.$on(r,l)}function C9(r,l){ar.$off(r,l)}function A9(r,l){var c=ar;return function u(){l.apply(null,arguments)!==null&&c.$off(r,u)}}function Ic(r,l,c){ar=r,Lc(l,c||{},L9,C9,A9,r),ar=void 0}var xo=function(){function r(l){l===void 0&&(l=!1),this.detached=l,this.active=!0,this.effects=[],this.cleanups=[],this.parent=et,!l&&et&&(this.index=(et.scopes||(et.scopes=[])).push(this)-1)}return r.prototype.run=function(l){if(this.active){var c=et;try{return et=this,l()}finally{et=c}}},r.prototype.on=function(){et=this},r.prototype.off=function(){et=this.parent},r.prototype.stop=function(l){if(this.active){var c=void 0,u=void 0;for(c=0,u=this.effects.length;c<u;c++)this.effects[c].teardown();for(c=0,u=this.cleanups.length;c<u;c++)this.cleanups[c]();if(this.scopes)for(c=0,u=this.scopes.length;c<u;c++)this.scopes[c].stop(!0);if(!this.detached&&this.parent&&!l){var m=this.parent.scopes.pop();m&&m!==this&&(this.parent.scopes[this.index]=m,m.index=this.index)}this.parent=void 0,this.active=!1}},r}();function Nc(){return et}var Jn=null;function $c(r){var l=Jn;return Jn=r,function(){Jn=l}}function jc(r){for(;r&&(r=r.$parent);)if(r._inactive)return!0;return!1}function So(r,l){if(l){if(r._directInactive=!1,jc(r))return}else if(r._directInactive)return;if(r._inactive||r._inactive===null){r._inactive=!1;for(var c=0;c<r.$children.length;c++)So(r.$children[c]);Bt(r,"activated")}}function Hc(r,l){if(!(l&&(r._directInactive=!0,jc(r))||r._inactive)){r._inactive=!0;for(var c=0;c<r.$children.length;c++)Hc(r.$children[c]);Bt(r,"deactivated")}}function Bt(r,l,c,u){u===void 0&&(u=!0),wt();var m=Ne,g=Nc();u&&Wt(r);var b=r.$options[l],L="".concat(l," hook");if(b)for(var _=0,T=b.length;_<T;_++)gn(b[_],r,null,r,L);r._hasHookEvent&&r.$emit("hook:"+l),u&&(Wt(m),g&&g.on()),dn()}var pn=[],To=[],qr={},Do=!1,ko=!1,Ti=0,Bc=0,Oo=Date.now;if(Fe&&!at){var Mo=window.performance;Mo&&typeof Mo.now=="function"&&Oo()>document.createEvent("Event").timeStamp&&(Oo=function(){return Mo.now()})}var E9=function(r,l){if(r.post){if(!l.post)return 1}else if(l.post)return-1;return r.id-l.id};function x9(){var r,l;for(Bc=Oo(),ko=!0,pn.sort(E9),Ti=0;Ti<pn.length;Ti++)(r=pn[Ti]).before&&r.before(),l=r.id,qr[l]=null,r.run();var c=To.slice(),u=pn.slice();Ti=pn.length=To.length=0,qr={},Do=ko=!1,function(m){for(var g=0;g<m.length;g++)m[g]._inactive=!0,So(m[g],!0)}(c),function(m){for(var g=m.length;g--;){var b=m[g],L=b.vm;L&&L._watcher===b&&L._isMounted&&!L._isDestroyed&&Bt(L,"updated")}}(u),de(),qn&&Qe.devtools&&qn.emit("flush")}function Ro(r){var l=r.id;if(qr[l]==null&&(r!==De.target||!r.noRecurse)){if(qr[l]=!0,ko){for(var c=pn.length-1;c>Ti&&pn[c].id>r.id;)c--;pn.splice(c+1,0,r)}else pn.push(r);Do||(Do=!0,Kr(x9))}}var Yr="watcher",Fc="".concat(Yr," callback"),zc="".concat(Yr," getter"),S9="".concat(Yr," cleanup");function Vc(r,l){return Zr(r,null,{flush:"post"})}var Wc={};function Zr(r,l,c){var u=c===void 0?i:c,m=u.immediate,g=u.deep,b=u.flush,L=b===void 0?"pre":b;u.onTrack,u.onTrigger;var _,T,k=Ne,A=function(U,ue,ie){ie===void 0&&(ie=null);var ee=gn(U,null,ie,k,ue);return g&&ee&&ee.__ob__&&ee.__ob__.dep.depend(),ee},O=!1,P=!1;if(Ke(r)?(_=function(){return r.value},O=Vr(r)):Qn(r)?(_=function(){return r.__ob__.dep.depend(),r},g=!0):s(r)?(P=!0,O=r.some(function(U){return Qn(U)||Vr(U)}),_=function(){return r.map(function(U){return Ke(U)?U.value:Qn(U)?(U.__ob__.dep.depend(),Di(U)):p(U)?A(U,zc):void 0})}):_=p(r)?l?function(){return A(r,zc)}:function(){if(!k||!k._isDestroyed)return T&&T(),A(r,Yr,[F])}:oe,l&&g){var I=_;_=function(){return Di(I())}}var F=function(U){T=B.onStop=function(){A(U,S9)}};if(lt())return F=oe,l?m&&A(l,Fc,[_(),P?[]:void 0,F]):_(),oe;var B=new ki(Ne,_,oe,{lazy:!0});B.noRecurse=!l;var Y=P?[]:Wc;return B.run=function(){if(B.active)if(l){var U=B.get();(g||O||(P?U.some(function(ue,ie){return bt(ue,Y[ie])}):bt(U,Y)))&&(T&&T(),A(l,Fc,[U,Y===Wc?void 0:Y,F]),Y=U)}else B.get()},L==="sync"?B.update=B.run:L==="post"?(B.post=!0,B.update=function(){return Ro(B)}):B.update=function(){if(k&&k===Ne&&!k._isMounted){var U=k._preWatchers||(k._preWatchers=[]);U.indexOf(B)<0&&U.push(B)}else Ro(B)},l?m?B.run():Y=B.get():L==="post"&&k?k.$once("hook:mounted",function(){return B.get()}):B.get(),function(){B.teardown()}}function Uc(r){var l=r._provided,c=r.$parent&&r.$parent._provided;return c===l?r._provided=Object.create(c):l}function Kn(r,l,c){wt();try{if(l)for(var u=l;u=u.$parent;){var m=u.$options.errorCaptured;if(m)for(var g=0;g<m.length;g++)try{if(m[g].call(u,r,l,c)===!1)return}catch(b){Gc(b,u,"errorCaptured hook")}}Gc(r,l,c)}finally{dn()}}function gn(r,l,c,u,m){var g;try{(g=c?r.apply(l,c):r.call(l))&&!g._isVue&&C(g)&&!g._handled&&(g.catch(function(b){return Kn(b,u,m+" (Promise/async)")}),g._handled=!0)}catch(b){Kn(b,u,m)}return g}function Gc(r,l,c){T9(r)}function T9(r,l,c){if(!Fe||typeof console=="undefined")throw r;console.error(r)}var Qr,Po=!1,Io=[],No=!1;function Xr(){No=!1;var r=Io.slice(0);Io.length=0;for(var l=0;l<r.length;l++)r[l]()}if(typeof Promise!="undefined"&&Ht(Promise)){var D9=Promise.resolve();Qr=function(){D9.then(Xr),xi&&setTimeout(oe)},Po=!0}else if(at||typeof MutationObserver=="undefined"||!Ht(MutationObserver)&&MutationObserver.toString()!=="[object MutationObserverConstructor]")Qr=typeof setImmediate!="undefined"&&Ht(setImmediate)?function(){setImmediate(Xr)}:function(){setTimeout(Xr,0)};else{var Jr=1,k9=new MutationObserver(Xr),qc=document.createTextNode(String(Jr));k9.observe(qc,{characterData:!0}),Qr=function(){Jr=(Jr+1)%2,qc.data=String(Jr)},Po=!0}function Kr(r,l){var c;if(Io.push(function(){if(r)try{r.call(l)}catch(u){Kn(u,l,"nextTick")}else c&&c(l)}),No||(No=!0,Qr()),!r&&typeof Promise!="undefined")return new Promise(function(u){c=u})}function St(r){return function(l,c){if(c===void 0&&(c=Ne),c)return function(u,m,g){var b=u.$options;b[m]=s0(b[m],g)}(c,r,l)}}var O9=St("beforeMount"),M9=St("mounted"),R9=St("beforeUpdate"),P9=St("updated"),I9=St("beforeDestroy"),N9=St("destroyed"),$9=St("activated"),j9=St("deactivated"),H9=St("serverPrefetch"),B9=St("renderTracked"),F9=St("renderTriggered"),z9=St("errorCaptured"),Yc="2.7.16",V9=Object.freeze({__proto__:null,version:Yc,defineComponent:function(r){return r},ref:function(r){return vc(r,!1)},shallowRef:function(r){return vc(r,!0)},isRef:Ke,toRef:bc,toRefs:function(r){var l=s(r)?new Array(r.length):{};for(var c in r)l[c]=bc(r,c);return l},unref:function(r){return Ke(r)?r.value:r},proxyRefs:function(r){if(Qn(r))return r;for(var l={},c=Object.keys(r),u=0;u<c.length;u++)Wr(l,r,c[u]);return l},customRef:function(r){var l=new De,c=r(function(){l.depend()},function(){l.notify()}),u=c.get,m=c.set,g={get value(){return u()},set value(b){m(b)}};return xe(g,nr,!0),g},triggerRef:function(r){r.dep&&r.dep.notify()},reactive:function(r){return mc(r,!1),r},isReactive:Qn,isReadonly:Xn,isShallow:Vr,isProxy:function(r){return Qn(r)||Xn(r)},shallowReactive:wo,markRaw:function(r){return Object.isExtensible(r)&&xe(r,"__v_skip",!0),r},toRaw:function r(l){var c=l&&l.__v_raw;return c?r(c):l},readonly:yc,shallowReadonly:function(r){return wc(r,!0)},computed:function(r,l){var c,u,m=p(r);m?(c=r,u=oe):(c=r.get,u=r.set);var g=lt()?null:new ki(Ne,c,oe,{lazy:!0}),b={effect:g,get value(){return g?(g.dirty&&g.evaluate(),De.target&&g.depend(),g.value):c()},set value(L){u(L)}};return xe(b,nr,!0),xe(b,"__v_isReadonly",m),b},watch:function(r,l,c){return Zr(r,l,c)},watchEffect:function(r,l){return Zr(r,null,l)},watchPostEffect:Vc,watchSyncEffect:function(r,l){return Zr(r,null,{flush:"sync"})},EffectScope:xo,effectScope:function(r){return new xo(r)},onScopeDispose:function(r){et&&et.cleanups.push(r)},getCurrentScope:Nc,provide:function(r,l){Ne&&(Uc(Ne)[r]=l)},inject:function(r,l,c){c===void 0&&(c=!1);var u=Ne;if(u){var m=u.$parent&&u.$parent._provided;if(m&&r in m)return m[r];if(arguments.length>1)return c&&p(l)?l.call(u):l}},h:function(r,l,c){return rr(Ne,r,l,c,2,!0)},getCurrentInstance:function(){return Ne&&{proxy:Ne}},useSlots:function(){return Ao().slots},useAttrs:function(){return Ao().attrs},useListeners:function(){return Ao().listeners},mergeDefaults:function(r,l){var c=s(r)?r.reduce(function(g,b){return g[b]={},g},{}):r;for(var u in l){var m=c[u];m?s(m)||p(m)?c[u]={type:m,default:l[u]}:m.default=l[u]:m===null&&(c[u]={default:l[u]})}return c},nextTick:Kr,set:zr,del:yo,useCssModule:function(r){return i},useCssVars:function(r){if(Fe){var l=Ne;l&&Vc(function(){var c=l.$el,u=r(l,l._setupProxy);if(c&&c.nodeType===1){var m=c.style;for(var g in u)m.setProperty("--".concat(g),u[g])}})}},defineAsyncComponent:function(r){p(r)&&(r={loader:r});var l=r.loader,c=r.loadingComponent,u=r.errorComponent,m=r.delay,g=m===void 0?200:m,b=r.timeout;r.suspensible;var L=r.onError,_=null,T=0,k=function(){var A;return _||(A=_=l().catch(function(O){if(O=O instanceof Error?O:new Error(String(O)),L)return new Promise(function(P,I){L(O,function(){return P((T++,_=null,k()))},function(){return I(O)},T+1)});throw O}).then(function(O){return A!==_&&_?_:(O&&(O.__esModule||O[Symbol.toStringTag]==="Module")&&(O=O.default),O)}))};return function(){return{component:k(),delay:g,timeout:b,error:u,loading:c}}},onBeforeMount:O9,onMounted:M9,onBeforeUpdate:R9,onUpdated:P9,onBeforeUnmount:I9,onUnmounted:N9,onActivated:$9,onDeactivated:j9,onServerPrefetch:H9,onRenderTracked:B9,onRenderTriggered:F9,onErrorCaptured:function(r,l){l===void 0&&(l=Ne),z9(r,l)}}),Zc=new cn;function Di(r){return es(r,Zc),Zc.clear(),r}function es(r,l){var c,u,m=s(r);if(!(!m&&!h(r)||r.__v_skip||Object.isFrozen(r)||r instanceof ct)){if(r.__ob__){var g=r.__ob__.dep.id;if(l.has(g))return;l.add(g)}if(m)for(c=r.length;c--;)es(r[c],l);else if(Ke(r))es(r.value,l);else for(c=(u=Object.keys(r)).length;c--;)es(r[u[c]],l)}}var W9=0,ki=function(){function r(l,c,u,m,g){(function(b,L){L===void 0&&(L=et),L&&L.active&&L.effects.push(b)})(this,et&&!et._vm?et:l?l._scope:void 0),(this.vm=l)&&g&&(l._watcher=this),m?(this.deep=!!m.deep,this.user=!!m.user,this.lazy=!!m.lazy,this.sync=!!m.sync,this.before=m.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=u,this.id=++W9,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new cn,this.newDepIds=new cn,this.expression="",p(c)?this.getter=c:(this.getter=function(b){if(!Ei.test(b)){var L=b.split(".");return function(_){for(var T=0;T<L.length;T++){if(!_)return;_=_[L[T]]}return _}}}(c),this.getter||(this.getter=oe)),this.value=this.lazy?void 0:this.get()}return r.prototype.get=function(){var l;wt(this);var c=this.vm;try{l=this.getter.call(c,c)}catch(u){if(!this.user)throw u;Kn(u,c,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Di(l),dn(),this.cleanupDeps()}return l},r.prototype.addDep=function(l){var c=l.id;this.newDepIds.has(c)||(this.newDepIds.add(c),this.newDeps.push(l),this.depIds.has(c)||l.addSub(this))},r.prototype.cleanupDeps=function(){for(var l=this.deps.length;l--;){var c=this.deps[l];this.newDepIds.has(c.id)||c.removeSub(this)}var u=this.depIds;this.depIds=this.newDepIds,this.newDepIds=u,this.newDepIds.clear(),u=this.deps,this.deps=this.newDeps,this.newDeps=u,this.newDeps.length=0},r.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ro(this)},r.prototype.run=function(){if(this.active){var l=this.get();if(l!==this.value||h(l)||this.deep){var c=this.value;if(this.value=l,this.user){var u='callback for watcher "'.concat(this.expression,'"');gn(this.cb,this.vm,[l,c],this.vm,u)}else this.cb.call(this.vm,l,c)}}},r.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},r.prototype.depend=function(){for(var l=this.deps.length;l--;)this.deps[l].depend()},r.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&X(this.vm._scope.effects,this),this.active){for(var l=this.deps.length;l--;)this.deps[l].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},r}(),Mn={enumerable:!0,configurable:!0,get:oe,set:oe};function $o(r,l,c){Mn.get=function(){return this[l][c]},Mn.set=function(u){this[l][c]=u},Object.defineProperty(r,c,Mn)}function U9(r){var l=r.$options;if(l.props&&function(u,m){var g=u.$options.propsData||{},b=u._props=wo({}),L=u.$options._propKeys=[],_=!u.$parent;_||xt(!1);var T=function(A){L.push(A);var O=zo(A,m,g,u);kn(b,A,O,void 0,!0),A in u||$o(u,"_props",A)};for(var k in m)T(k);xt(!0)}(r,l.props),function(u){var m=u.$options,g=m.setup;if(g){var b=u._setupContext=Mc(u);Wt(u),wt();var L=gn(g,null,[u._props||wo({}),b],u,"setup");if(dn(),Wt(),p(L))m.render=L;else if(h(L))if(u._setupState=L,L.__sfc){var _=u._setupProxy={};for(var T in L)T!=="__sfc"&&Wr(_,L,T)}else for(var T in L)$t(T)||Wr(u,L,T)}}(r),l.methods&&function(u,m){for(var g in u.$options.props,m)u[g]=typeof m[g]!="function"?oe:ke(m[g],u)}(r,l.methods),l.data)(function(u){var m=u.$options.data;m=u._data=p(m)?function(k,A){wt();try{return k.call(A,A)}catch(O){return Kn(O,A,"data()"),{}}finally{dn()}}(m,u):m||{},w(m)||(m={});var g=Object.keys(m),b=u.$options.props;u.$options.methods;for(var L=g.length;L--;){var _=g[L];b&&W(b,_)||$t(_)||$o(u,"_data",_)}var T=hn(m);T&&T.vmCount++})(r);else{var c=hn(r._data={});c&&c.vmCount++}l.computed&&function(u,m){var g=u._computedWatchers=Object.create(null),b=lt();for(var L in m){var _=m[L],T=p(_)?_:_.get;b||(g[L]=new ki(u,T||oe,oe,G9)),L in u||Qc(u,L,_)}}(r,l.computed),l.watch&&l.watch!==ln&&function(u,m){for(var g in m){var b=m[g];if(s(b))for(var L=0;L<b.length;L++)jo(u,g,b[L]);else jo(u,g,b)}}(r,l.watch)}var G9={lazy:!0};function Qc(r,l,c){var u=!lt();p(c)?(Mn.get=u?Xc(l):Jc(c),Mn.set=oe):(Mn.get=c.get?u&&c.cache!==!1?Xc(l):Jc(c.get):oe,Mn.set=c.set||oe),Object.defineProperty(r,l,Mn)}function Xc(r){return function(){var l=this._computedWatchers&&this._computedWatchers[r];if(l)return l.dirty&&l.evaluate(),De.target&&l.depend(),l.value}}function Jc(r){return function(){return r.call(this,this)}}function jo(r,l,c,u){return w(c)&&(u=c,c=c.handler),typeof c=="string"&&(c=r[c]),r.$watch(l,c,u)}function Kc(r,l){if(r){for(var c=Object.create(null),u=Yn?Reflect.ownKeys(r):Object.keys(r),m=0;m<u.length;m++){var g=u[m];if(g!=="__ob__"){var b=r[g].from;if(b in l._provided)c[g]=l._provided[b];else if("default"in r[g]){var L=r[g].default;c[g]=p(L)?L.call(l):L}}}return c}}var q9=0;function Ho(r){var l=r.options;if(r.super){var c=Ho(r.super);if(c!==r.superOptions){r.superOptions=c;var u=function(m){var g,b=m.options,L=m.sealedOptions;for(var _ in b)b[_]!==L[_]&&(g||(g={}),g[_]=b[_]);return g}(r);u&&ne(r.extendOptions,u),(l=r.options=ei(c,r.extendOptions)).name&&(l.components[l.name]=r)}}return l}function Bo(r,l,c,u,m){var g,b=this,L=m.options;W(u,"_uid")?(g=Object.create(u))._original=u:(g=u,u=u._original);var _=d(L._compiled),T=!_;this.data=r,this.props=l,this.children=c,this.parent=u,this.listeners=r.on||i,this.injections=Kc(L.inject,u),this.slots=function(){return b.$slots||or(u,r.scopedSlots,b.$slots=Co(c,u)),b.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return or(u,r.scopedSlots,this.slots())}}),_&&(this.$options=L,this.$slots=this.slots(),this.$scopedSlots=or(u,r.scopedSlots,this.$slots)),L._scopeId?this._c=function(k,A,O,P){var I=rr(g,k,A,O,P,T);return I&&!s(I)&&(I.fnScopeId=L._scopeId,I.fnContext=u),I}:this._c=function(k,A,O,P){return rr(g,k,A,O,P,T)}}function e0(r,l,c,u,m){var g=J(r);return g.fnContext=c,g.fnOptions=u,l.slot&&((g.data||(g.data={})).slot=l.slot),g}function t0(r,l){for(var c in l)r[ce(c)]=l[c]}function ts(r){return r.name||r.__name||r._componentTag}Oc(Bo.prototype);var Fo={init:function(r,l){if(r.componentInstance&&!r.componentInstance._isDestroyed&&r.data.keepAlive){var c=r;Fo.prepatch(c,c)}else(r.componentInstance=function(u,m){var g={_isComponent:!0,_parentVnode:u,parent:m},b=u.data.inlineTemplate;return a(b)&&(g.render=b.render,g.staticRenderFns=b.staticRenderFns),new u.componentOptions.Ctor(g)}(r,Jn)).$mount(l?r.elm:void 0,l)},prepatch:function(r,l){var c=l.componentOptions;(function(u,m,g,b,L){var _=b.data.scopedSlots,T=u.$scopedSlots,k=!!(_&&!_.$stable||T!==i&&!T.$stable||_&&u.$scopedSlots.$key!==_.$key||!_&&u.$scopedSlots.$key),A=!!(L||u.$options._renderChildren||k),O=u.$vnode;u.$options._parentVnode=b,u.$vnode=b,u._vnode&&(u._vnode.parent=b),u.$options._renderChildren=L;var P=b.data.attrs||i;u._attrsProxy&&Ur(u._attrsProxy,P,O.data&&O.data.attrs||i,u,"$attrs")&&(A=!0),u.$attrs=P,g=g||i;var I=u.$options._parentListeners;if(u._listenersProxy&&Ur(u._listenersProxy,g,I||i,u,"$listeners"),u.$listeners=u.$options._parentListeners=g,Ic(u,g,I),m&&u.$options.props){xt(!1);for(var F=u._props,B=u.$options._propKeys||[],Y=0;Y<B.length;Y++){var U=B[Y],ue=u.$options.props;F[U]=zo(U,ue,m,u)}xt(!0),u.$options.propsData=m}A&&(u.$slots=Co(L,b.context),u.$forceUpdate())})(l.componentInstance=r.componentInstance,c.propsData,c.listeners,l,c.children)},insert:function(r){var l,c=r.context,u=r.componentInstance;u._isMounted||(u._isMounted=!0,Bt(u,"mounted")),r.data.keepAlive&&(c._isMounted?((l=u)._inactive=!1,To.push(l)):So(u,!0))},destroy:function(r){var l=r.componentInstance;l._isDestroyed||(r.data.keepAlive?Hc(l,!0):l.$destroy())}},n0=Object.keys(Fo);function i0(r,l,c,u,m){if(!o(r)){var g=c.$options._base;if(h(r)&&(r=g.extend(r)),typeof r=="function"){var b;if(o(r.cid)&&(r=function(A,O){if(d(A.error)&&a(A.errorComp))return A.errorComp;if(a(A.resolved))return A.resolved;var P=Gr;if(P&&a(A.owners)&&A.owners.indexOf(P)===-1&&A.owners.push(P),d(A.loading)&&a(A.loadingComp))return A.loadingComp;if(P&&!a(A.owners)){var I=A.owners=[P],F=!0,B=null,Y=null;P.$on("hook:destroyed",function(){return X(I,P)});var U=function(le){for(var M=0,N=I.length;M<N;M++)I[M].$forceUpdate();le&&(I.length=0,B!==null&&(clearTimeout(B),B=null),Y!==null&&(clearTimeout(Y),Y=null))},ue=At(function(le){A.resolved=Eo(le,O),F?I.length=0:U(!0)}),ie=At(function(le){a(A.errorComp)&&(A.error=!0,U(!0))}),ee=A(ue,ie);return h(ee)&&(C(ee)?o(A.resolved)&&ee.then(ue,ie):C(ee.component)&&(ee.component.then(ue,ie),a(ee.error)&&(A.errorComp=Eo(ee.error,O)),a(ee.loading)&&(A.loadingComp=Eo(ee.loading,O),ee.delay===0?A.loading=!0:B=setTimeout(function(){B=null,o(A.resolved)&&o(A.error)&&(A.loading=!0,U(!1))},ee.delay||200)),a(ee.timeout)&&(Y=setTimeout(function(){Y=null,o(A.resolved)&&ie(null)},ee.timeout)))),F=!1,A.loading?A.loadingComp:A.resolved}}(b=r,g),r===void 0))return function(A,O,P,I,F){var B=un();return B.asyncFactory=A,B.asyncMeta={data:O,context:P,children:I,tag:F},B}(b,l,c,u,m);l=l||{},Ho(r),a(l.model)&&function(A,O){var P=A.model&&A.model.prop||"value",I=A.model&&A.model.event||"input";(O.attrs||(O.attrs={}))[P]=O.model.value;var F=O.on||(O.on={}),B=F[I],Y=O.model.callback;a(B)?(s(B)?B.indexOf(Y)===-1:B!==Y)&&(F[I]=[Y].concat(B)):F[I]=Y}(r.options,l);var L=function(A,O,P){var I=O.options.props;if(!o(I)){var F={},B=A.attrs,Y=A.props;if(a(B)||a(Y))for(var U in I){var ue=re(U);Cc(F,Y,U,ue,!0)||Cc(F,B,U,ue,!1)}return F}}(l,r);if(d(r.options.functional))return function(A,O,P,I,F){var B=A.options,Y={},U=B.props;if(a(U))for(var ue in U)Y[ue]=zo(ue,U,O||i);else a(P.attrs)&&t0(Y,P.attrs),a(P.props)&&t0(Y,P.props);var ie=new Bo(P,Y,F,I,A),ee=B.render.call(null,ie._c,ie);if(ee instanceof ct)return e0(ee,P,ie.parent,B);if(s(ee)){for(var le=Lo(ee)||[],M=new Array(le.length),N=0;N<le.length;N++)M[N]=e0(le[N],P,ie.parent,B);return M}}(r,L,l,c,u);var _=l.on;if(l.on=l.nativeOn,d(r.options.abstract)){var T=l.slot;l={},T&&(l.slot=T)}(function(A){for(var O=A.hook||(A.hook={}),P=0;P<n0.length;P++){var I=n0[P],F=O[I],B=Fo[I];F===B||F&&F._merged||(O[I]=F?Y9(B,F):B)}})(l);var k=ts(r.options)||m;return new ct("vue-component-".concat(r.cid).concat(k?"-".concat(k):""),l,void 0,void 0,void 0,c,{Ctor:r,propsData:L,listeners:_,tag:m,children:u},b)}}}function Y9(r,l){var c=function(u,m){r(u,m),l(u,m)};return c._merged=!0,c}var Z9=oe,Gt=Qe.optionMergeStrategies;function lr(r,l,c){if(c===void 0&&(c=!0),!l)return r;for(var u,m,g,b=Yn?Reflect.ownKeys(l):Object.keys(l),L=0;L<b.length;L++)(u=b[L])!=="__ob__"&&(m=r[u],g=l[u],c&&W(r,u)?m!==g&&w(m)&&w(g)&&lr(m,g):zr(r,u,g));return r}function r0(r,l,c){return c?function(){var u=p(l)?l.call(c,c):l,m=p(r)?r.call(c,c):r;return u?lr(u,m):m}:l?r?function(){return lr(p(l)?l.call(this,this):l,p(r)?r.call(this,this):r)}:l:r}function s0(r,l){var c=l?r?r.concat(l):s(l)?l:[l]:r;return c&&function(u){for(var m=[],g=0;g<u.length;g++)m.indexOf(u[g])===-1&&m.push(u[g]);return m}(c)}function Q9(r,l,c,u){var m=Object.create(r||null);return l?ne(m,l):m}Gt.data=function(r,l,c){return c?r0(r,l,c):l&&typeof l!="function"?r:r0(r,l)},on.forEach(function(r){Gt[r]=s0}),ot.forEach(function(r){Gt[r+"s"]=Q9}),Gt.watch=function(r,l,c,u){if(r===ln&&(r=void 0),l===ln&&(l=void 0),!l)return Object.create(r||null);if(!r)return l;var m={};for(var g in ne(m,r),l){var b=m[g],L=l[g];b&&!s(b)&&(b=[b]),m[g]=b?b.concat(L):s(L)?L:[L]}return m},Gt.props=Gt.methods=Gt.inject=Gt.computed=function(r,l,c,u){if(!r)return l;var m=Object.create(null);return ne(m,r),l&&ne(m,l),m},Gt.provide=function(r,l){return r?function(){var c=Object.create(null);return lr(c,p(r)?r.call(this):r),l&&lr(c,p(l)?l.call(this):l,!1),c}:l};var X9=function(r,l){return l===void 0?r:l};function ei(r,l,c){if(p(l)&&(l=l.options),function(_,T){var k=_.props;if(k){var A,O,P={};if(s(k))for(A=k.length;A--;)typeof(O=k[A])=="string"&&(P[ce(O)]={type:null});else if(w(k))for(var I in k)O=k[I],P[ce(I)]=w(O)?O:{type:O};_.props=P}}(l),function(_,T){var k=_.inject;if(k){var A=_.inject={};if(s(k))for(var O=0;O<k.length;O++)A[k[O]]={from:k[O]};else if(w(k))for(var P in k){var I=k[P];A[P]=w(I)?ne({from:P},I):{from:I}}}}(l),function(_){var T=_.directives;if(T)for(var k in T){var A=T[k];p(A)&&(T[k]={bind:A,update:A})}}(l),!l._base&&(l.extends&&(r=ei(r,l.extends,c)),l.mixins))for(var u=0,m=l.mixins.length;u<m;u++)r=ei(r,l.mixins[u],c);var g,b={};for(g in r)L(g);for(g in l)W(r,g)||L(g);function L(_){var T=Gt[_]||X9;b[_]=T(r[_],l[_],c,_)}return b}function ns(r,l,c,u){if(typeof c=="string"){var m=r[l];if(W(m,c))return m[c];var g=ce(c);if(W(m,g))return m[g];var b=Se(g);return W(m,b)?m[b]:m[c]||m[g]||m[b]}}function zo(r,l,c,u){var m=l[r],g=!W(c,r),b=c[r],L=a0(Boolean,m.type);if(L>-1){if(g&&!W(m,"default"))b=!1;else if(b===""||b===re(r)){var _=a0(String,m.type);(_<0||L<_)&&(b=!0)}}if(b===void 0){b=function(k,A,O){if(W(A,"default")){var P=A.default;return k&&k.$options.propsData&&k.$options.propsData[O]===void 0&&k._props[O]!==void 0?k._props[O]:p(P)&&Vo(A.type)!=="Function"?P.call(k):P}}(u,m,r);var T=tr;xt(!0),hn(b),xt(T)}return b}var J9=/^\s*function (\w+)/;function Vo(r){var l=r&&r.toString().match(J9);return l?l[1]:""}function o0(r,l){return Vo(r)===Vo(l)}function a0(r,l){if(!s(l))return o0(l,r)?0:-1;for(var c=0,u=l.length;c<u;c++)if(o0(l[c],r))return c;return-1}function Me(r){this._init(r)}function K9(r){r.cid=0;var l=1;r.extend=function(c){c=c||{};var u=this,m=u.cid,g=c._Ctor||(c._Ctor={});if(g[m])return g[m];var b=ts(c)||ts(u.options),L=function(_){this._init(_)};return(L.prototype=Object.create(u.prototype)).constructor=L,L.cid=l++,L.options=ei(u.options,c),L.super=u,L.options.props&&function(_){var T=_.options.props;for(var k in T)$o(_.prototype,"_props",k)}(L),L.options.computed&&function(_){var T=_.options.computed;for(var k in T)Qc(_.prototype,k,T[k])}(L),L.extend=u.extend,L.mixin=u.mixin,L.use=u.use,ot.forEach(function(_){L[_]=u[_]}),b&&(L.options.components[b]=L),L.superOptions=u.options,L.extendOptions=c,L.sealedOptions=ne({},L.options),g[m]=L,L}}function l0(r){return r&&(ts(r.Ctor.options)||r.tag)}function is(r,l){return s(r)?r.indexOf(l)>-1:typeof r=="string"?r.split(",").indexOf(l)>-1:(c=r,y.call(c)==="[object RegExp]"&&r.test(l));var c}function c0(r,l){var c=r.cache,u=r.keys,m=r._vnode,g=r.$vnode;for(var b in c){var L=c[b];if(L){var _=L.name;_&&!l(_)&&Wo(c,b,u,m)}}g.componentOptions.children=void 0}function Wo(r,l,c,u){var m=r[l];!m||u&&m.tag===u.tag||m.componentInstance.$destroy(),r[l]=null,X(c,l)}(function(r){r.prototype._init=function(l){var c=this;c._uid=q9++,c._isVue=!0,c.__v_skip=!0,c._scope=new xo(!0),c._scope.parent=void 0,c._scope._vm=!0,l&&l._isComponent?function(u,m){var g=u.$options=Object.create(u.constructor.options),b=m._parentVnode;g.parent=m.parent,g._parentVnode=b;var L=b.componentOptions;g.propsData=L.propsData,g._parentListeners=L.listeners,g._renderChildren=L.children,g._componentTag=L.tag,m.render&&(g.render=m.render,g.staticRenderFns=m.staticRenderFns)}(c,l):c.$options=ei(Ho(c.constructor),l||{},c),c._renderProxy=c,c._self=c,function(u){var m=u.$options,g=m.parent;if(g&&!m.abstract){for(;g.$options.abstract&&g.$parent;)g=g.$parent;g.$children.push(u)}u.$parent=g,u.$root=g?g.$root:u,u.$children=[],u.$refs={},u._provided=g?g._provided:Object.create(null),u._watcher=null,u._inactive=null,u._directInactive=!1,u._isMounted=!1,u._isDestroyed=!1,u._isBeingDestroyed=!1}(c),function(u){u._events=Object.create(null),u._hasHookEvent=!1;var m=u.$options._parentListeners;m&&Ic(u,m)}(c),function(u){u._vnode=null,u._staticTrees=null;var m=u.$options,g=u.$vnode=m._parentVnode,b=g&&g.context;u.$slots=Co(m._renderChildren,b),u.$scopedSlots=g?or(u.$parent,g.data.scopedSlots,u.$slots):i,u._c=function(_,T,k,A){return rr(u,_,T,k,A,!1)},u.$createElement=function(_,T,k,A){return rr(u,_,T,k,A,!0)};var L=g&&g.data;kn(u,"$attrs",L&&L.attrs||i,null,!0),kn(u,"$listeners",m._parentListeners||i,null,!0)}(c),Bt(c,"beforeCreate",void 0,!1),function(u){var m=Kc(u.$options.inject,u);m&&(xt(!1),Object.keys(m).forEach(function(g){kn(u,g,m[g])}),xt(!0))}(c),U9(c),function(u){var m=u.$options.provide;if(m){var g=p(m)?m.call(u):m;if(!h(g))return;for(var b=Uc(u),L=Yn?Reflect.ownKeys(g):Object.keys(g),_=0;_<L.length;_++){var T=L[_];Object.defineProperty(b,T,Object.getOwnPropertyDescriptor(g,T))}}}(c),Bt(c,"created"),c.$options.el&&c.$mount(c.$options.el)}})(Me),function(r){var l={get:function(){return this._data}},c={get:function(){return this._props}};Object.defineProperty(r.prototype,"$data",l),Object.defineProperty(r.prototype,"$props",c),r.prototype.$set=zr,r.prototype.$delete=yo,r.prototype.$watch=function(u,m,g){var b=this;if(w(m))return jo(b,u,m,g);(g=g||{}).user=!0;var L=new ki(b,u,m,g);if(g.immediate){var _='callback for immediate watcher "'.concat(L.expression,'"');wt(),gn(m,b,[L.value],b,_),dn()}return function(){L.teardown()}}}(Me),function(r){var l=/^hook:/;r.prototype.$on=function(c,u){var m=this;if(s(c))for(var g=0,b=c.length;g<b;g++)m.$on(c[g],u);else(m._events[c]||(m._events[c]=[])).push(u),l.test(c)&&(m._hasHookEvent=!0);return m},r.prototype.$once=function(c,u){var m=this;function g(){m.$off(c,g),u.apply(m,arguments)}return g.fn=u,m.$on(c,g),m},r.prototype.$off=function(c,u){var m=this;if(!arguments.length)return m._events=Object.create(null),m;if(s(c)){for(var g=0,b=c.length;g<b;g++)m.$off(c[g],u);return m}var L,_=m._events[c];if(!_)return m;if(!u)return m._events[c]=null,m;for(var T=_.length;T--;)if((L=_[T])===u||L.fn===u){_.splice(T,1);break}return m},r.prototype.$emit=function(c){var u=this,m=u._events[c];if(m){m=m.length>1?Ue(m):m;for(var g=Ue(arguments,1),b='event handler for "'.concat(c,'"'),L=0,_=m.length;L<_;L++)gn(m[L],u,g,u,b)}return u}}(Me),function(r){r.prototype._update=function(l,c){var u=this,m=u.$el,g=u._vnode,b=$c(u);u._vnode=l,u.$el=g?u.__patch__(g,l):u.__patch__(u.$el,l,c,!1),b(),m&&(m.__vue__=null),u.$el&&(u.$el.__vue__=u);for(var L=u;L&&L.$vnode&&L.$parent&&L.$vnode===L.$parent._vnode;)L.$parent.$el=L.$el,L=L.$parent},r.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},r.prototype.$destroy=function(){var l=this;if(!l._isBeingDestroyed){Bt(l,"beforeDestroy"),l._isBeingDestroyed=!0;var c=l.$parent;!c||c._isBeingDestroyed||l.$options.abstract||X(c.$children,l),l._scope.stop(),l._data.__ob__&&l._data.__ob__.vmCount--,l._isDestroyed=!0,l.__patch__(l._vnode,null),Bt(l,"destroyed"),l.$off(),l.$el&&(l.$el.__vue__=null),l.$vnode&&(l.$vnode.parent=null)}}}(Me),function(r){Oc(r.prototype),r.prototype.$nextTick=function(l){return Kr(l,this)},r.prototype._render=function(){var l=this,c=l.$options,u=c.render,m=c._parentVnode;m&&l._isMounted&&(l.$scopedSlots=or(l.$parent,m.data.scopedSlots,l.$slots,l.$scopedSlots),l._slotsProxy&&Rc(l._slotsProxy,l.$scopedSlots)),l.$vnode=m;var g,b=Ne,L=Gr;try{Wt(l),Gr=l,g=u.call(l._renderProxy,l.$createElement)}catch(_){Kn(_,l,"render"),g=l._vnode}finally{Gr=L,Wt(b)}return s(g)&&g.length===1&&(g=g[0]),g instanceof ct||(g=un()),g.parent=m,g}}(Me);var u0=[String,RegExp,Array],eg={name:"keep-alive",abstract:!0,props:{include:u0,exclude:u0,max:[String,Number]},methods:{cacheVNode:function(){var r=this,l=r.cache,c=r.keys,u=r.vnodeToCache,m=r.keyToCache;if(u){var g=u.tag,b=u.componentInstance,L=u.componentOptions;l[m]={name:l0(L),tag:g,componentInstance:b},c.push(m),this.max&&c.length>parseInt(this.max)&&Wo(l,c[0],c,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var r in this.cache)Wo(this.cache,r,this.keys)},mounted:function(){var r=this;this.cacheVNode(),this.$watch("include",function(l){c0(r,function(c){return is(l,c)})}),this.$watch("exclude",function(l){c0(r,function(c){return!is(l,c)})})},updated:function(){this.cacheVNode()},render:function(){var r=this.$slots.default,l=Pc(r),c=l&&l.componentOptions;if(c){var u=l0(c),m=this.include,g=this.exclude;if(m&&(!u||!is(m,u))||g&&u&&is(g,u))return l;var b=this.cache,L=this.keys,_=l.key==null?c.Ctor.cid+(c.tag?"::".concat(c.tag):""):l.key;b[_]?(l.componentInstance=b[_].componentInstance,X(L,_),L.push(_)):(this.vnodeToCache=l,this.keyToCache=_),l.data.keepAlive=!0}return l||r&&r[0]}},tg={KeepAlive:eg};(function(r){var l={get:function(){return Qe}};Object.defineProperty(r,"config",l),r.util={warn:Z9,extend:ne,mergeOptions:ei,defineReactive:kn},r.set=zr,r.delete=yo,r.nextTick=Kr,r.observable=function(c){return hn(c),c},r.options=Object.create(null),ot.forEach(function(c){r.options[c+"s"]=Object.create(null)}),r.options._base=r,ne(r.options.components,tg),function(c){c.use=function(u){var m=this._installedPlugins||(this._installedPlugins=[]);if(m.indexOf(u)>-1)return this;var g=Ue(arguments,1);return g.unshift(this),p(u.install)?u.install.apply(u,g):p(u)&&u.apply(null,g),m.push(u),this}}(r),function(c){c.mixin=function(u){return this.options=ei(this.options,u),this}}(r),K9(r),function(c){ot.forEach(function(u){c[u]=function(m,g){return g?(u==="component"&&w(g)&&(g.name=g.name||m,g=this.options._base.extend(g)),u==="directive"&&p(g)&&(g={bind:g,update:g}),this.options[u+"s"][m]=g,g):this.options[u+"s"][m]}})}(r)})(Me),Object.defineProperty(Me.prototype,"$isServer",{get:lt}),Object.defineProperty(Me.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Me,"FunctionalRenderContext",{value:Bo}),Me.version=Yc;var ng=R("style,class"),ig=R("input,textarea,option,select,progress"),d0=function(r,l,c){return c==="value"&&ig(r)&&l!=="button"||c==="selected"&&r==="option"||c==="checked"&&r==="input"||c==="muted"&&r==="video"},f0=R("contenteditable,draggable,spellcheck"),rg=R("events,caret,typing,plaintext-only"),sg=function(r,l){return rs(l)||l==="false"?"false":r==="contenteditable"&&rg(l)?l:"true"},og=R("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Uo="http://www.w3.org/1999/xlink",Go=function(r){return r.charAt(5)===":"&&r.slice(0,5)==="xlink"},h0=function(r){return Go(r)?r.slice(6,r.length):""},rs=function(r){return r==null||r===!1};function ag(r){for(var l=r.data,c=r,u=r;a(u.componentInstance);)(u=u.componentInstance._vnode)&&u.data&&(l=p0(u.data,l));for(;a(c=c.parent);)c&&c.data&&(l=p0(l,c.data));return function(m,g){return a(m)||a(g)?qo(m,Yo(g)):""}(l.staticClass,l.class)}function p0(r,l){return{staticClass:qo(r.staticClass,l.staticClass),class:a(r.class)?[r.class,l.class]:l.class}}function qo(r,l){return r?l?r+" "+l:r:l||""}function Yo(r){return Array.isArray(r)?function(l){for(var c,u="",m=0,g=l.length;m<g;m++)a(c=Yo(l[m]))&&c!==""&&(u&&(u+=" "),u+=c);return u}(r):h(r)?function(l){var c="";for(var u in l)l[u]&&(c&&(c+=" "),c+=u);return c}(r):typeof r=="string"?r:""}var lg={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},cg=R("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Zo=R("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Qo=function(r){return cg(r)||Zo(r)};function g0(r){return Zo(r)?"svg":r==="math"?"math":void 0}var ss=Object.create(null),Xo=R("text,number,password,search,email,tel,url");function Jo(r){if(typeof r=="string"){var l=document.querySelector(r);return l||document.createElement("div")}return r}var ug=Object.freeze({__proto__:null,createElement:function(r,l){var c=document.createElement(r);return r!=="select"||l.data&&l.data.attrs&&l.data.attrs.multiple!==void 0&&c.setAttribute("multiple","multiple"),c},createElementNS:function(r,l){return document.createElementNS(lg[r],l)},createTextNode:function(r){return document.createTextNode(r)},createComment:function(r){return document.createComment(r)},insertBefore:function(r,l,c){r.insertBefore(l,c)},removeChild:function(r,l){r.removeChild(l)},appendChild:function(r,l){r.appendChild(l)},parentNode:function(r){return r.parentNode},nextSibling:function(r){return r.nextSibling},tagName:function(r){return r.tagName},setTextContent:function(r,l){r.textContent=l},setStyleScope:function(r,l){r.setAttribute(l,"")}}),dg={create:function(r,l){Oi(l)},update:function(r,l){r.data.ref!==l.data.ref&&(Oi(r,!0),Oi(l))},destroy:function(r){Oi(r,!0)}};function Oi(r,l){var c=r.data.ref;if(a(c)){var u=r.context,m=r.componentInstance||r.elm,g=l?null:m,b=l?void 0:m;if(p(c))gn(c,u,[g],u,"template ref function");else{var L=r.data.refInFor,_=typeof c=="string"||typeof c=="number",T=Ke(c),k=u.$refs;if(_||T){if(L){var A=_?k[c]:c.value;l?s(A)&&X(A,m):s(A)?A.includes(m)||A.push(m):_?(k[c]=[m],m0(u,c,k[c])):c.value=[m]}else if(_){if(l&&k[c]!==m)return;k[c]=b,m0(u,c,g)}else if(T){if(l&&c.value!==m)return;c.value=g}}}}}function m0(r,l,c){var u=r._setupState;u&&W(u,l)&&(Ke(u[l])?u[l].value=c:u[l]=c)}var Rn=new ct("",{},[]),cr=["create","activate","update","remove","destroy"];function ti(r,l){return r.key===l.key&&r.asyncFactory===l.asyncFactory&&(r.tag===l.tag&&r.isComment===l.isComment&&a(r.data)===a(l.data)&&function(c,u){if(c.tag!=="input")return!0;var m,g=a(m=c.data)&&a(m=m.attrs)&&m.type,b=a(m=u.data)&&a(m=m.attrs)&&m.type;return g===b||Xo(g)&&Xo(b)}(r,l)||d(r.isAsyncPlaceholder)&&o(l.asyncFactory.error))}function fg(r,l,c){var u,m,g={};for(u=l;u<=c;++u)a(m=r[u].key)&&(g[m]=u);return g}var hg={create:Ko,update:Ko,destroy:function(r){Ko(r,Rn)}};function Ko(r,l){(r.data.directives||l.data.directives)&&function(c,u){var m,g,b,L=c===Rn,_=u===Rn,T=v0(c.data.directives,c.context),k=v0(u.data.directives,u.context),A=[],O=[];for(m in k)g=T[m],b=k[m],g?(b.oldValue=g.value,b.oldArg=g.arg,ur(b,"update",u,c),b.def&&b.def.componentUpdated&&O.push(b)):(ur(b,"bind",u,c),b.def&&b.def.inserted&&A.push(b));if(A.length){var P=function(){for(var I=0;I<A.length;I++)ur(A[I],"inserted",u,c)};L?On(u,"insert",P):P()}if(O.length&&On(u,"postpatch",function(){for(var I=0;I<O.length;I++)ur(O[I],"componentUpdated",u,c)}),!L)for(m in T)k[m]||ur(T[m],"unbind",c,c,_)}(r,l)}var pg=Object.create(null);function v0(r,l){var c,u,m=Object.create(null);if(!r)return m;for(c=0;c<r.length;c++){if((u=r[c]).modifiers||(u.modifiers=pg),m[gg(u)]=u,l._setupState&&l._setupState.__sfc){var g=u.def||ns(l,"_setupState","v-"+u.name);u.def=typeof g=="function"?{bind:g,update:g}:g}u.def=u.def||ns(l.$options,"directives",u.name)}return m}function gg(r){return r.rawName||"".concat(r.name,".").concat(Object.keys(r.modifiers||{}).join("."))}function ur(r,l,c,u,m){var g=r.def&&r.def[l];if(g)try{g(c.elm,r,c,u,m)}catch(b){Kn(b,c.context,"directive ".concat(r.name," ").concat(l," hook"))}}var mg=[dg,hg];function b0(r,l){var c=l.componentOptions;if(!(a(c)&&c.Ctor.options.inheritAttrs===!1||o(r.data.attrs)&&o(l.data.attrs))){var u,m,g=l.elm,b=r.data.attrs||{},L=l.data.attrs||{};for(u in(a(L.__ob__)||d(L._v_attr_proxy))&&(L=l.data.attrs=ne({},L)),L)m=L[u],b[u]!==m&&y0(g,u,m,l.data.pre);for(u in(at||Gn)&&L.value!==b.value&&y0(g,"value",L.value),b)o(L[u])&&(Go(u)?g.removeAttributeNS(Uo,h0(u)):f0(u)||g.removeAttribute(u))}}function y0(r,l,c,u){u||r.tagName.indexOf("-")>-1?w0(r,l,c):og(l)?rs(c)?r.removeAttribute(l):(c=l==="allowfullscreen"&&r.tagName==="EMBED"?"true":l,r.setAttribute(l,c)):f0(l)?r.setAttribute(l,sg(l,c)):Go(l)?rs(c)?r.removeAttributeNS(Uo,h0(l)):r.setAttributeNS(Uo,l,c):w0(r,l,c)}function w0(r,l,c){if(rs(c))r.removeAttribute(l);else{if(at&&!Et&&r.tagName==="TEXTAREA"&&l==="placeholder"&&c!==""&&!r.__ieph){var u=function(m){m.stopImmediatePropagation(),r.removeEventListener("input",u)};r.addEventListener("input",u),r.__ieph=!0}r.setAttribute(l,c)}}var vg={create:b0,update:b0};function _0(r,l){var c=l.elm,u=l.data,m=r.data;if(!(o(u.staticClass)&&o(u.class)&&(o(m)||o(m.staticClass)&&o(m.class)))){var g=ag(l),b=c._transitionClasses;a(b)&&(g=qo(g,Yo(b))),g!==c._prevClass&&(c.setAttribute("class",g),c._prevClass=g)}}var ea,L0,os,Pn,as,ta,bg={create:_0,update:_0},yg=/[\w).+\-_$\]]/;function na(r){var l,c,u,m,g,b=!1,L=!1,_=!1,T=!1,k=0,A=0,O=0,P=0;for(u=0;u<r.length;u++)if(c=l,l=r.charCodeAt(u),b)l===39&&c!==92&&(b=!1);else if(L)l===34&&c!==92&&(L=!1);else if(_)l===96&&c!==92&&(_=!1);else if(T)l===47&&c!==92&&(T=!1);else if(l!==124||r.charCodeAt(u+1)===124||r.charCodeAt(u-1)===124||k||A||O){switch(l){case 34:L=!0;break;case 39:b=!0;break;case 96:_=!0;break;case 40:O++;break;case 41:O--;break;case 91:A++;break;case 93:A--;break;case 123:k++;break;case 125:k--}if(l===47){for(var I=u-1,F=void 0;I>=0&&(F=r.charAt(I))===" ";I--);F&&yg.test(F)||(T=!0)}}else m===void 0?(P=u+1,m=r.slice(0,u).trim()):B();function B(){(g||(g=[])).push(r.slice(P,u).trim()),P=u+1}if(m===void 0?m=r.slice(0,u).trim():P!==0&&B(),g)for(u=0;u<g.length;u++)m=wg(m,g[u]);return m}function wg(r,l){var c=l.indexOf("(");if(c<0)return'_f("'.concat(l,'")(').concat(r,")");var u=l.slice(0,c),m=l.slice(c+1);return'_f("'.concat(u,'")(').concat(r).concat(m!==")"?","+m:m)}function C0(r,l){console.error("[Vue compiler]: ".concat(r))}function dr(r,l){return r?r.map(function(c){return c[l]}).filter(function(c){return c}):[]}function ni(r,l,c,u,m){(r.props||(r.props=[])).push(fr({name:l,value:c,dynamic:m},u)),r.plain=!1}function ia(r,l,c,u,m){(m?r.dynamicAttrs||(r.dynamicAttrs=[]):r.attrs||(r.attrs=[])).push(fr({name:l,value:c,dynamic:m},u)),r.plain=!1}function ra(r,l,c,u){r.attrsMap[l]=c,r.attrsList.push(fr({name:l,value:c},u))}function _g(r,l,c,u,m,g,b,L){(r.directives||(r.directives=[])).push(fr({name:l,rawName:c,value:u,arg:m,isDynamicArg:g,modifiers:b},L)),r.plain=!1}function sa(r,l,c){return c?"_p(".concat(l,',"').concat(r,'")'):r+l}function mn(r,l,c,u,m,g,b,L){var _;(u=u||i).right?L?l="(".concat(l,")==='click'?'contextmenu':(").concat(l,")"):l==="click"&&(l="contextmenu",delete u.right):u.middle&&(L?l="(".concat(l,")==='click'?'mouseup':(").concat(l,")"):l==="click"&&(l="mouseup")),u.capture&&(delete u.capture,l=sa("!",l,L)),u.once&&(delete u.once,l=sa("~",l,L)),u.passive&&(delete u.passive,l=sa("&",l,L)),u.native?(delete u.native,_=r.nativeEvents||(r.nativeEvents={})):_=r.events||(r.events={});var T=fr({value:c.trim(),dynamic:L},b);u!==i&&(T.modifiers=u);var k=_[l];Array.isArray(k)?m?k.unshift(T):k.push(T):_[l]=k?m?[T,k]:[k,T]:T,r.plain=!1}function Tt(r,l,c){var u=Ve(r,":"+l)||Ve(r,"v-bind:"+l);if(u!=null)return na(u);if(c!==!1){var m=Ve(r,l);if(m!=null)return JSON.stringify(m)}}function Ve(r,l,c){var u;if((u=r.attrsMap[l])!=null){for(var m=r.attrsList,g=0,b=m.length;g<b;g++)if(m[g].name===l){m.splice(g,1);break}}return c&&delete r.attrsMap[l],u}function A0(r,l){for(var c=r.attrsList,u=0,m=c.length;u<m;u++){var g=c[u];if(l.test(g.name))return c.splice(u,1),g}}function fr(r,l){return l&&(l.start!=null&&(r.start=l.start),l.end!=null&&(r.end=l.end)),r}function E0(r,l,c){var u=c||{},m=u.number,g="$$v",b=g;u.trim&&(b="(typeof ".concat(g," === 'string'")+"? ".concat(g,".trim()")+": ".concat(g,")")),m&&(b="_n(".concat(b,")"));var L=In(l,b);r.model={value:"(".concat(l,")"),expression:JSON.stringify(l),callback:"function (".concat(g,") {").concat(L,"}")}}function In(r,l){var c=function(u){if(u=u.trim(),ea=u.length,u.indexOf("[")<0||u.lastIndexOf("]")<ea-1)return(Pn=u.lastIndexOf("."))>-1?{exp:u.slice(0,Pn),key:'"'+u.slice(Pn+1)+'"'}:{exp:u,key:null};for(L0=u,Pn=as=ta=0;!aa();)x0(os=oa())?S0(os):os===91&&Lg(os);return{exp:u.slice(0,as),key:u.slice(as+1,ta)}}(r);return c.key===null?"".concat(r,"=").concat(l):"$set(".concat(c.exp,", ").concat(c.key,", ").concat(l,")")}function oa(){return L0.charCodeAt(++Pn)}function aa(){return Pn>=ea}function x0(r){return r===34||r===39}function Lg(r){var l=1;for(as=Pn;!aa();)if(x0(r=oa()))S0(r);else if(r===91&&l++,r===93&&l--,l===0){ta=Pn;break}}function S0(r){for(var l=r;!aa()&&(r=oa())!==l;);}var hr,ls="__r",la="__c";function Cg(r,l,c){var u=hr;return function m(){l.apply(null,arguments)!==null&&T0(r,m,c,u)}}var Ag=Po&&!(jt&&Number(jt[1])<=53);function Eg(r,l,c,u){if(Ag){var m=Bc,g=l;l=g._wrapper=function(b){if(b.target===b.currentTarget||b.timeStamp>=m||b.timeStamp<=0||b.target.ownerDocument!==document)return g.apply(this,arguments)}}hr.addEventListener(r,l,Vt?{capture:c,passive:u}:c)}function T0(r,l,c,u){(u||hr).removeEventListener(r,l._wrapper||l,c)}function ca(r,l){if(!o(r.data.on)||!o(l.data.on)){var c=l.data.on||{},u=r.data.on||{};hr=l.elm||r.elm,function(m){if(a(m[ls])){var g=at?"change":"input";m[g]=[].concat(m[ls],m[g]||[]),delete m[ls]}a(m[la])&&(m.change=[].concat(m[la],m.change||[]),delete m[la])}(c),Lc(c,u,Eg,T0,Cg,l.context),hr=void 0}}var ua,xg={create:ca,update:ca,destroy:function(r){return ca(r,Rn)}};function D0(r,l){if(!o(r.data.domProps)||!o(l.data.domProps)){var c,u,m=l.elm,g=r.data.domProps||{},b=l.data.domProps||{};for(c in(a(b.__ob__)||d(b._v_attr_proxy))&&(b=l.data.domProps=ne({},b)),g)c in b||(m[c]="");for(c in b){if(u=b[c],c==="textContent"||c==="innerHTML"){if(l.children&&(l.children.length=0),u===g[c])continue;m.childNodes.length===1&&m.removeChild(m.childNodes[0])}if(c==="value"&&m.tagName!=="PROGRESS"){m._value=u;var L=o(u)?"":String(u);Sg(m,L)&&(m.value=L)}else if(c==="innerHTML"&&Zo(m.tagName)&&o(m.innerHTML)){(ua=ua||document.createElement("div")).innerHTML="<svg>".concat(u,"</svg>");for(var _=ua.firstChild;m.firstChild;)m.removeChild(m.firstChild);for(;_.firstChild;)m.appendChild(_.firstChild)}else if(u!==g[c])try{m[c]=u}catch(T){}}}}function Sg(r,l){return!r.composing&&(r.tagName==="OPTION"||function(c,u){var m=!0;try{m=document.activeElement!==c}catch(g){}return m&&c.value!==u}(r,l)||function(c,u){var m=c.value,g=c._vModifiers;if(a(g)){if(g.number)return D(m)!==D(u);if(g.trim)return m.trim()!==u.trim()}return m!==u}(r,l))}var Tg={create:D0,update:D0},k0=Z(function(r){var l={},c=/:(.+)/;return r.split(/;(?![^(]*\))/g).forEach(function(u){if(u){var m=u.split(c);m.length>1&&(l[m[0].trim()]=m[1].trim())}}),l});function da(r){var l=O0(r.style);return r.staticStyle?ne(r.staticStyle,l):l}function O0(r){return Array.isArray(r)?Be(r):typeof r=="string"?k0(r):r}var cs,Dg=/^--/,M0=/\s*!important$/,R0=function(r,l,c){if(Dg.test(l))r.style.setProperty(l,c);else if(M0.test(c))r.style.setProperty(re(l),c.replace(M0,""),"important");else{var u=kg(l);if(Array.isArray(c))for(var m=0,g=c.length;m<g;m++)r.style[u]=c[m];else r.style[u]=c}},P0=["Webkit","Moz","ms"],kg=Z(function(r){if(cs=cs||document.createElement("div").style,(r=ce(r))!=="filter"&&r in cs)return r;for(var l=r.charAt(0).toUpperCase()+r.slice(1),c=0;c<P0.length;c++){var u=P0[c]+l;if(u in cs)return u}});function I0(r,l){var c=l.data,u=r.data;if(!(o(c.staticStyle)&&o(c.style)&&o(u.staticStyle)&&o(u.style))){var m,g,b=l.elm,L=u.staticStyle,_=u.normalizedStyle||u.style||{},T=L||_,k=O0(l.data.style)||{};l.data.normalizedStyle=a(k.__ob__)?ne({},k):k;var A=function(O,P){for(var I,F={},B=O;B.componentInstance;)(B=B.componentInstance._vnode)&&B.data&&(I=da(B.data))&&ne(F,I);(I=da(O.data))&&ne(F,I);for(var Y=O;Y=Y.parent;)Y.data&&(I=da(Y.data))&&ne(F,I);return F}(l);for(g in T)o(A[g])&&R0(b,g,"");for(g in A)m=A[g],R0(b,g,m==null?"":m)}}var Og={create:I0,update:I0},N0=/\s+/;function $0(r,l){if(l&&(l=l.trim()))if(r.classList)l.indexOf(" ")>-1?l.split(N0).forEach(function(u){return r.classList.add(u)}):r.classList.add(l);else{var c=" ".concat(r.getAttribute("class")||""," ");c.indexOf(" "+l+" ")<0&&r.setAttribute("class",(c+l).trim())}}function j0(r,l){if(l&&(l=l.trim()))if(r.classList)l.indexOf(" ")>-1?l.split(N0).forEach(function(m){return r.classList.remove(m)}):r.classList.remove(l),r.classList.length||r.removeAttribute("class");else{for(var c=" ".concat(r.getAttribute("class")||""," "),u=" "+l+" ";c.indexOf(u)>=0;)c=c.replace(u," ");(c=c.trim())?r.setAttribute("class",c):r.removeAttribute("class")}}function H0(r){if(r){if(typeof r=="object"){var l={};return r.css!==!1&&ne(l,B0(r.name||"v")),ne(l,r),l}return typeof r=="string"?B0(r):void 0}}var B0=Z(function(r){return{enterClass:"".concat(r,"-enter"),enterToClass:"".concat(r,"-enter-to"),enterActiveClass:"".concat(r,"-enter-active"),leaveClass:"".concat(r,"-leave"),leaveToClass:"".concat(r,"-leave-to"),leaveActiveClass:"".concat(r,"-leave-active")}}),F0=Fe&&!Et,Mi="transition",fa="animation",us="transition",ds="transitionend",ha="animation",z0="animationend";F0&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(us="WebkitTransition",ds="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ha="WebkitAnimation",z0="webkitAnimationEnd"));var V0=Fe?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(r){return r()};function W0(r){V0(function(){V0(r)})}function ii(r,l){var c=r._transitionClasses||(r._transitionClasses=[]);c.indexOf(l)<0&&(c.push(l),$0(r,l))}function vn(r,l){r._transitionClasses&&X(r._transitionClasses,l),j0(r,l)}function U0(r,l,c){var u=G0(r,l),m=u.type,g=u.timeout,b=u.propCount;if(!m)return c();var L=m===Mi?ds:z0,_=0,T=function(){r.removeEventListener(L,k),c()},k=function(A){A.target===r&&++_>=b&&T()};setTimeout(function(){_<b&&T()},g+1),r.addEventListener(L,k)}var Mg=/\b(transform|all)(,|$)/;function G0(r,l){var c,u=window.getComputedStyle(r),m=(u[us+"Delay"]||"").split(", "),g=(u[us+"Duration"]||"").split(", "),b=q0(m,g),L=(u[ha+"Delay"]||"").split(", "),_=(u[ha+"Duration"]||"").split(", "),T=q0(L,_),k=0,A=0;return l===Mi?b>0&&(c=Mi,k=b,A=g.length):l===fa?T>0&&(c=fa,k=T,A=_.length):A=(c=(k=Math.max(b,T))>0?b>T?Mi:fa:null)?c===Mi?g.length:_.length:0,{type:c,timeout:k,propCount:A,hasTransform:c===Mi&&Mg.test(u[us+"Property"])}}function q0(r,l){for(;r.length<l.length;)r=r.concat(r);return Math.max.apply(null,l.map(function(c,u){return Y0(c)+Y0(r[u])}))}function Y0(r){return 1e3*Number(r.slice(0,-1).replace(",","."))}function pa(r,l){var c=r.elm;a(c._leaveCb)&&(c._leaveCb.cancelled=!0,c._leaveCb());var u=H0(r.data.transition);if(!o(u)&&!a(c._enterCb)&&c.nodeType===1){for(var m=u.css,g=u.type,b=u.enterClass,L=u.enterToClass,_=u.enterActiveClass,T=u.appearClass,k=u.appearToClass,A=u.appearActiveClass,O=u.beforeEnter,P=u.enter,I=u.afterEnter,F=u.enterCancelled,B=u.beforeAppear,Y=u.appear,U=u.afterAppear,ue=u.appearCancelled,ie=u.duration,ee=Jn,le=Jn.$vnode;le&&le.parent;)ee=le.context,le=le.parent;var M=!ee._isMounted||!r.isRootInsert;if(!M||Y||Y===""){var N=M&&T?T:b,G=M&&A?A:_,Q=M&&k?k:L,ae=M&&B||O,be=M&&p(Y)?Y:P,he=M&&U||I,ge=M&&ue||F,$e=D(h(ie)?ie.enter:ie),_e=m!==!1&&!Et,ve=ga(be),Pe=c._enterCb=At(function(){_e&&(vn(c,Q),vn(c,G)),Pe.cancelled?(_e&&vn(c,N),ge&&ge(c)):he&&he(c),c._enterCb=null});r.data.show||On(r,"insert",function(){var Te=c.parentNode,Le=Te&&Te._pending&&Te._pending[r.key];Le&&Le.tag===r.tag&&Le.elm._leaveCb&&Le.elm._leaveCb(),be&&be(c,Pe)}),ae&&ae(c),_e&&(ii(c,N),ii(c,G),W0(function(){vn(c,N),Pe.cancelled||(ii(c,Q),ve||(Q0($e)?setTimeout(Pe,$e):U0(c,g,Pe)))})),r.data.show&&(l&&l(),be&&be(c,Pe)),_e||ve||Pe()}}}function Z0(r,l){var c=r.elm;a(c._enterCb)&&(c._enterCb.cancelled=!0,c._enterCb());var u=H0(r.data.transition);if(o(u)||c.nodeType!==1)return l();if(!a(c._leaveCb)){var m=u.css,g=u.type,b=u.leaveClass,L=u.leaveToClass,_=u.leaveActiveClass,T=u.beforeLeave,k=u.leave,A=u.afterLeave,O=u.leaveCancelled,P=u.delayLeave,I=u.duration,F=m!==!1&&!Et,B=ga(k),Y=D(h(I)?I.leave:I),U=c._leaveCb=At(function(){c.parentNode&&c.parentNode._pending&&(c.parentNode._pending[r.key]=null),F&&(vn(c,L),vn(c,_)),U.cancelled?(F&&vn(c,b),O&&O(c)):(l(),A&&A(c)),c._leaveCb=null});P?P(ue):ue()}function ue(){U.cancelled||(!r.data.show&&c.parentNode&&((c.parentNode._pending||(c.parentNode._pending={}))[r.key]=r),T&&T(c),F&&(ii(c,b),ii(c,_),W0(function(){vn(c,b),U.cancelled||(ii(c,L),B||(Q0(Y)?setTimeout(U,Y):U0(c,g,U)))})),k&&k(c,U),F||B||U())}}function Q0(r){return typeof r=="number"&&!isNaN(r)}function ga(r){if(o(r))return!1;var l=r.fns;return a(l)?ga(Array.isArray(l)?l[0]:l):(r._length||r.length)>1}function X0(r,l){l.data.show!==!0&&pa(l)}var Rg=function(r){var l,c,u={},m=r.modules,g=r.nodeOps;for(l=0;l<cr.length;++l)for(u[cr[l]]=[],c=0;c<m.length;++c)a(m[c][cr[l]])&&u[cr[l]].push(m[c][cr[l]]);function b(M){var N=g.parentNode(M);a(N)&&g.removeChild(N,M)}function L(M,N,G,Q,ae,be,he){if(a(M.elm)&&a(be)&&(M=be[he]=J(M)),M.isRootInsert=!ae,!function(ve,Pe,Te,Le){var Ge=ve.data;if(a(Ge)){var Ii=a(ve.componentInstance)&&Ge.keepAlive;if(a(Ge=Ge.hook)&&a(Ge=Ge.init)&&Ge(ve,!1),a(ve.componentInstance))return _(ve,Pe),T(Te,ve.elm,Le),d(Ii)&&function(qt,pr,gr,Yt){for(var qe,rt=qt;rt.componentInstance;)if(a(qe=(rt=rt.componentInstance._vnode).data)&&a(qe=qe.transition)){for(qe=0;qe<u.activate.length;++qe)u.activate[qe](Rn,rt);pr.push(rt);break}T(gr,qt.elm,Yt)}(ve,Pe,Te,Le),!0}}(M,N,G,Q)){var ge=M.data,$e=M.children,_e=M.tag;a(_e)?(M.elm=M.ns?g.createElementNS(M.ns,_e):g.createElement(_e,M),P(M),k(M,$e,N),a(ge)&&O(M,N),T(G,M.elm,Q)):d(M.isComment)?(M.elm=g.createComment(M.text),T(G,M.elm,Q)):(M.elm=g.createTextNode(M.text),T(G,M.elm,Q))}}function _(M,N){a(M.data.pendingInsert)&&(N.push.apply(N,M.data.pendingInsert),M.data.pendingInsert=null),M.elm=M.componentInstance.$el,A(M)?(O(M,N),P(M)):(Oi(M),N.push(M))}function T(M,N,G){a(M)&&(a(G)?g.parentNode(G)===M&&g.insertBefore(M,N,G):g.appendChild(M,N))}function k(M,N,G){if(s(N))for(var Q=0;Q<N.length;++Q)L(N[Q],G,M.elm,null,!0,N,Q);else f(M.text)&&g.appendChild(M.elm,g.createTextNode(String(M.text)))}function A(M){for(;M.componentInstance;)M=M.componentInstance._vnode;return a(M.tag)}function O(M,N){for(var G=0;G<u.create.length;++G)u.create[G](Rn,M);a(l=M.data.hook)&&(a(l.create)&&l.create(Rn,M),a(l.insert)&&N.push(M))}function P(M){var N;if(a(N=M.fnScopeId))g.setStyleScope(M.elm,N);else for(var G=M;G;)a(N=G.context)&&a(N=N.$options._scopeId)&&g.setStyleScope(M.elm,N),G=G.parent;a(N=Jn)&&N!==M.context&&N!==M.fnContext&&a(N=N.$options._scopeId)&&g.setStyleScope(M.elm,N)}function I(M,N,G,Q,ae,be){for(;Q<=ae;++Q)L(G[Q],be,M,N,!1,G,Q)}function F(M){var N,G,Q=M.data;if(a(Q))for(a(N=Q.hook)&&a(N=N.destroy)&&N(M),N=0;N<u.destroy.length;++N)u.destroy[N](M);if(a(N=M.children))for(G=0;G<M.children.length;++G)F(M.children[G])}function B(M,N,G){for(;N<=G;++N){var Q=M[N];a(Q)&&(a(Q.tag)?(Y(Q),F(Q)):b(Q.elm))}}function Y(M,N){if(a(N)||a(M.data)){var G,Q=u.remove.length+1;for(a(N)?N.listeners+=Q:N=function(ae,be){function he(){--he.listeners==0&&b(ae)}return he.listeners=be,he}(M.elm,Q),a(G=M.componentInstance)&&a(G=G._vnode)&&a(G.data)&&Y(G,N),G=0;G<u.remove.length;++G)u.remove[G](M,N);a(G=M.data.hook)&&a(G=G.remove)?G(M,N):N()}else b(M.elm)}function U(M,N,G,Q){for(var ae=G;ae<Q;ae++){var be=N[ae];if(a(be)&&ti(M,be))return ae}}function ue(M,N,G,Q,ae,be){if(M!==N){a(N.elm)&&a(Q)&&(N=Q[ae]=J(N));var he=N.elm=M.elm;if(d(M.isAsyncPlaceholder))a(N.asyncFactory.resolved)?le(M.elm,N,G):N.isAsyncPlaceholder=!0;else if(d(N.isStatic)&&d(M.isStatic)&&N.key===M.key&&(d(N.isCloned)||d(N.isOnce)))N.componentInstance=M.componentInstance;else{var ge,$e=N.data;a($e)&&a(ge=$e.hook)&&a(ge=ge.prepatch)&&ge(M,N);var _e=M.children,ve=N.children;if(a($e)&&A(N)){for(ge=0;ge<u.update.length;++ge)u.update[ge](M,N);a(ge=$e.hook)&&a(ge=ge.update)&&ge(M,N)}o(N.text)?a(_e)&&a(ve)?_e!==ve&&function(Pe,Te,Le,Ge,Ii){for(var qt,pr,gr,Yt=0,qe=0,rt=Te.length-1,_t=Te[0],Zt=Te[rt],Qt=Le.length-1,ut=Le[0],Ni=Le[Qt],Ia=!Ii;Yt<=rt&&qe<=Qt;)o(_t)?_t=Te[++Yt]:o(Zt)?Zt=Te[--rt]:ti(_t,ut)?(ue(_t,ut,Ge,Le,qe),_t=Te[++Yt],ut=Le[++qe]):ti(Zt,Ni)?(ue(Zt,Ni,Ge,Le,Qt),Zt=Te[--rt],Ni=Le[--Qt]):ti(_t,Ni)?(ue(_t,Ni,Ge,Le,Qt),Ia&&g.insertBefore(Pe,_t.elm,g.nextSibling(Zt.elm)),_t=Te[++Yt],Ni=Le[--Qt]):ti(Zt,ut)?(ue(Zt,ut,Ge,Le,qe),Ia&&g.insertBefore(Pe,Zt.elm,_t.elm),Zt=Te[--rt],ut=Le[++qe]):(o(qt)&&(qt=fg(Te,Yt,rt)),o(pr=a(ut.key)?qt[ut.key]:U(ut,Te,Yt,rt))?L(ut,Ge,Pe,_t.elm,!1,Le,qe):ti(gr=Te[pr],ut)?(ue(gr,ut,Ge,Le,qe),Te[pr]=void 0,Ia&&g.insertBefore(Pe,gr.elm,_t.elm)):L(ut,Ge,Pe,_t.elm,!1,Le,qe),ut=Le[++qe]);Yt>rt?I(Pe,o(Le[Qt+1])?null:Le[Qt+1].elm,Le,qe,Qt,Ge):qe>Qt&&B(Te,Yt,rt)}(he,_e,ve,G,be):a(ve)?(a(M.text)&&g.setTextContent(he,""),I(he,null,ve,0,ve.length-1,G)):a(_e)?B(_e,0,_e.length-1):a(M.text)&&g.setTextContent(he,""):M.text!==N.text&&g.setTextContent(he,N.text),a($e)&&a(ge=$e.hook)&&a(ge=ge.postpatch)&&ge(M,N)}}}function ie(M,N,G){if(d(G)&&a(M.parent))M.parent.data.pendingInsert=N;else for(var Q=0;Q<N.length;++Q)N[Q].data.hook.insert(N[Q])}var ee=R("attrs,class,staticClass,staticStyle,key");function le(M,N,G,Q){var ae,be=N.tag,he=N.data,ge=N.children;if(Q=Q||he&&he.pre,N.elm=M,d(N.isComment)&&a(N.asyncFactory))return N.isAsyncPlaceholder=!0,!0;if(a(he)&&(a(ae=he.hook)&&a(ae=ae.init)&&ae(N,!0),a(ae=N.componentInstance)))return _(N,G),!0;if(a(be)){if(a(ge))if(M.hasChildNodes())if(a(ae=he)&&a(ae=ae.domProps)&&a(ae=ae.innerHTML)){if(ae!==M.innerHTML)return!1}else{for(var $e=!0,_e=M.firstChild,ve=0;ve<ge.length;ve++){if(!_e||!le(_e,ge[ve],G,Q)){$e=!1;break}_e=_e.nextSibling}if(!$e||_e)return!1}else k(N,ge,G);if(a(he)){var Pe=!1;for(var Te in he)if(!ee(Te)){Pe=!0,O(N,G);break}!Pe&&he.class&&Di(he.class)}}else M.data!==N.text&&(M.data=N.text);return!0}return function(M,N,G,Q){if(!o(N)){var ae,be=!1,he=[];if(o(M))be=!0,L(N,he);else{var ge=a(M.nodeType);if(!ge&&ti(M,N))ue(M,N,he,null,null,Q);else{if(ge){if(M.nodeType===1&&M.hasAttribute(st)&&(M.removeAttribute(st),G=!0),d(G)&&le(M,N,he))return ie(N,he,!0),M;ae=M,M=new ct(g.tagName(ae).toLowerCase(),{},[],void 0,ae)}var $e=M.elm,_e=g.parentNode($e);if(L(N,he,$e._leaveCb?null:_e,g.nextSibling($e)),a(N.parent))for(var ve=N.parent,Pe=A(N);ve;){for(var Te=0;Te<u.destroy.length;++Te)u.destroy[Te](ve);if(ve.elm=N.elm,Pe){for(var Le=0;Le<u.create.length;++Le)u.create[Le](Rn,ve);var Ge=ve.data.hook.insert;if(Ge.merged)for(var Ii=Ge.fns.slice(1),qt=0;qt<Ii.length;qt++)Ii[qt]()}else Oi(ve);ve=ve.parent}a(_e)?B([M],0,0):a(M.tag)&&F(M)}}return ie(N,he,be),N.elm}a(M)&&F(M)}}({nodeOps:ug,modules:[vg,bg,xg,Tg,Og,Fe?{create:X0,activate:X0,remove:function(r,l){r.data.show!==!0?Z0(r,l):l()}}:{}].concat(mg)});Et&&document.addEventListener("selectionchange",function(){var r=document.activeElement;r&&r.vmodel&&ma(r,"input")});var J0={inserted:function(r,l,c,u){c.tag==="select"?(u.elm&&!u.elm._vOptions?On(c,"postpatch",function(){J0.componentUpdated(r,l,c)}):K0(r,l,c.context),r._vOptions=[].map.call(r.options,fs)):(c.tag==="textarea"||Xo(r.type))&&(r._vModifiers=l.modifiers,l.modifiers.lazy||(r.addEventListener("compositionstart",Pg),r.addEventListener("compositionend",nu),r.addEventListener("change",nu),Et&&(r.vmodel=!0)))},componentUpdated:function(r,l,c){if(c.tag==="select"){K0(r,l,c.context);var u=r._vOptions,m=r._vOptions=[].map.call(r.options,fs);m.some(function(g,b){return!it(g,u[b])})&&(r.multiple?l.value.some(function(g){return tu(g,m)}):l.value!==l.oldValue&&tu(l.value,m))&&ma(r,"change")}}};function K0(r,l,c){eu(r,l),(at||Gn)&&setTimeout(function(){eu(r,l)},0)}function eu(r,l,c){var u=l.value,m=r.multiple;if(!m||Array.isArray(u)){for(var g,b,L=0,_=r.options.length;L<_;L++)if(b=r.options[L],m)g=vt(u,fs(b))>-1,b.selected!==g&&(b.selected=g);else if(it(fs(b),u))return void(r.selectedIndex!==L&&(r.selectedIndex=L));m||(r.selectedIndex=-1)}}function tu(r,l){return l.every(function(c){return!it(c,r)})}function fs(r){return"_value"in r?r._value:r.value}function Pg(r){r.target.composing=!0}function nu(r){r.target.composing&&(r.target.composing=!1,ma(r.target,"input"))}function ma(r,l){var c=document.createEvent("HTMLEvents");c.initEvent(l,!0,!0),r.dispatchEvent(c)}function va(r){return!r.componentInstance||r.data&&r.data.transition?r:va(r.componentInstance._vnode)}var Ig={bind:function(r,l,c){var u=l.value,m=(c=va(c)).data&&c.data.transition,g=r.__vOriginalDisplay=r.style.display==="none"?"":r.style.display;u&&m?(c.data.show=!0,pa(c,function(){r.style.display=g})):r.style.display=u?g:"none"},update:function(r,l,c){var u=l.value;!u!=!l.oldValue&&((c=va(c)).data&&c.data.transition?(c.data.show=!0,u?pa(c,function(){r.style.display=r.__vOriginalDisplay}):Z0(c,function(){r.style.display="none"})):r.style.display=u?r.__vOriginalDisplay:"none")},unbind:function(r,l,c,u,m){m||(r.style.display=r.__vOriginalDisplay)}},Ng={model:J0,show:Ig},iu={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ba(r){var l=r&&r.componentOptions;return l&&l.Ctor.options.abstract?ba(Pc(l.children)):r}function ru(r){var l={},c=r.$options;for(var u in c.propsData)l[u]=r[u];var m=c._parentListeners;for(var u in m)l[ce(u)]=m[u];return l}function su(r,l){if(/\d-keep-alive$/.test(l.tag))return r("keep-alive",{props:l.componentOptions.propsData})}var $g=function(r){return r.tag||sr(r)},jg=function(r){return r.name==="show"},Hg={name:"transition",props:iu,abstract:!0,render:function(r){var l=this,c=this.$slots.default;if(c&&(c=c.filter($g)).length){var u=this.mode,m=c[0];if(function(P){for(;P=P.parent;)if(P.data.transition)return!0}(this.$vnode))return m;var g=ba(m);if(!g)return m;if(this._leaving)return su(r,m);var b="__transition-".concat(this._uid,"-");g.key=g.key==null?g.isComment?b+"comment":b+g.tag:f(g.key)?String(g.key).indexOf(b)===0?g.key:b+g.key:g.key;var L=(g.data||(g.data={})).transition=ru(this),_=this._vnode,T=ba(_);if(g.data.directives&&g.data.directives.some(jg)&&(g.data.show=!0),T&&T.data&&!function(P,I){return I.key===P.key&&I.tag===P.tag}(g,T)&&!sr(T)&&(!T.componentInstance||!T.componentInstance._vnode.isComment)){var k=T.data.transition=ne({},L);if(u==="out-in")return this._leaving=!0,On(k,"afterLeave",function(){l._leaving=!1,l.$forceUpdate()}),su(r,m);if(u==="in-out"){if(sr(g))return _;var A,O=function(){A()};On(L,"afterEnter",O),On(L,"enterCancelled",O),On(k,"delayLeave",function(P){A=P})}}return m}}},ou=ne({tag:String,moveClass:String},iu);delete ou.mode;var Bg={props:ou,beforeMount:function(){var r=this,l=this._update;this._update=function(c,u){var m=$c(r);r.__patch__(r._vnode,r.kept,!1,!0),r._vnode=r.kept,m(),l.call(r,c,u)}},render:function(r){for(var l=this.tag||this.$vnode.data.tag||"span",c=Object.create(null),u=this.prevChildren=this.children,m=this.$slots.default||[],g=this.children=[],b=ru(this),L=0;L<m.length;L++)(k=m[L]).tag&&k.key!=null&&String(k.key).indexOf("__vlist")!==0&&(g.push(k),c[k.key]=k,(k.data||(k.data={})).transition=b);if(u){var _=[],T=[];for(L=0;L<u.length;L++){var k;(k=u[L]).data.transition=b,k.data.pos=k.elm.getBoundingClientRect(),c[k.key]?_.push(k):T.push(k)}this.kept=r(l,null,_),this.removed=T}return r(l,null,g)},updated:function(){var r=this.prevChildren,l=this.moveClass||(this.name||"v")+"-move";r.length&&this.hasMove(r[0].elm,l)&&(r.forEach(Fg),r.forEach(zg),r.forEach(Vg),this._reflow=document.body.offsetHeight,r.forEach(function(c){if(c.data.moved){var u=c.elm,m=u.style;ii(u,l),m.transform=m.WebkitTransform=m.transitionDuration="",u.addEventListener(ds,u._moveCb=function g(b){b&&b.target!==u||b&&!/transform$/.test(b.propertyName)||(u.removeEventListener(ds,g),u._moveCb=null,vn(u,l))})}}))},methods:{hasMove:function(r,l){if(!F0)return!1;if(this._hasMove)return this._hasMove;var c=r.cloneNode();r._transitionClasses&&r._transitionClasses.forEach(function(m){j0(c,m)}),$0(c,l),c.style.display="none",this.$el.appendChild(c);var u=G0(c);return this.$el.removeChild(c),this._hasMove=u.hasTransform}}};function Fg(r){r.elm._moveCb&&r.elm._moveCb(),r.elm._enterCb&&r.elm._enterCb()}function zg(r){r.data.newPos=r.elm.getBoundingClientRect()}function Vg(r){var l=r.data.pos,c=r.data.newPos,u=l.left-c.left,m=l.top-c.top;if(u||m){r.data.moved=!0;var g=r.elm.style;g.transform=g.WebkitTransform="translate(".concat(u,"px,").concat(m,"px)"),g.transitionDuration="0s"}}var Wg={Transition:Hg,TransitionGroup:Bg};Me.config.mustUseProp=d0,Me.config.isReservedTag=Qo,Me.config.isReservedAttr=ng,Me.config.getTagNamespace=g0,Me.config.isUnknownElement=function(r){if(!Fe)return!0;if(Qo(r))return!1;if(r=r.toLowerCase(),ss[r]!=null)return ss[r];var l=document.createElement(r);return r.indexOf("-")>-1?ss[r]=l.constructor===window.HTMLUnknownElement||l.constructor===window.HTMLElement:ss[r]=/HTMLUnknownElement/.test(l.toString())},ne(Me.options.directives,Ng),ne(Me.options.components,Wg),Me.prototype.__patch__=Fe?Rg:oe,Me.prototype.$mount=function(r,l){return function(c,u,m){var g;c.$el=u,c.$options.render||(c.$options.render=un),Bt(c,"beforeMount"),g=function(){c._update(c._render(),m)},new ki(c,g,oe,{before:function(){c._isMounted&&!c._isDestroyed&&Bt(c,"beforeUpdate")}},!0),m=!1;var b=c._preWatchers;if(b)for(var L=0;L<b.length;L++)b[L].run();return c.$vnode==null&&(c._isMounted=!0,Bt(c,"mounted")),c}(this,r=r&&Fe?Jo(r):void 0,l)},Fe&&setTimeout(function(){},0);var Ug=/\{\{((?:.|\r?\n)+?)\}\}/g,au=/[-.*+?^${}()|[\]\/\\]/g,Gg=Z(function(r){var l=r[0].replace(au,"\\$&"),c=r[1].replace(au,"\\$&");return new RegExp(l+"((?:.|\\n)+?)"+c,"g")}),qg={staticKeys:["staticClass"],transformNode:function(r,l){l.warn;var c=Ve(r,"class");c&&(r.staticClass=JSON.stringify(c.replace(/\s+/g," ").trim()));var u=Tt(r,"class",!1);u&&(r.classBinding=u)},genData:function(r){var l="";return r.staticClass&&(l+="staticClass:".concat(r.staticClass,",")),r.classBinding&&(l+="class:".concat(r.classBinding,",")),l}},ya,Yg={staticKeys:["staticStyle"],transformNode:function(r,l){l.warn;var c=Ve(r,"style");c&&(r.staticStyle=JSON.stringify(k0(c)));var u=Tt(r,"style",!1);u&&(r.styleBinding=u)},genData:function(r){var l="";return r.staticStyle&&(l+="staticStyle:".concat(r.staticStyle,",")),r.styleBinding&&(l+="style:(".concat(r.styleBinding,"),")),l}},Zg=function(r){return(ya=ya||document.createElement("div")).innerHTML=r,ya.textContent},Qg=R("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Xg=R("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Jg=R("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Kg=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,em=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,lu="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(an.source,"]*"),cu="((?:".concat(lu,"\\:)?").concat(lu,")"),uu=new RegExp("^<".concat(cu)),tm=/^\s*(\/?)>/,du=new RegExp("^<\\/".concat(cu,"[^>]*>")),nm=/^<!DOCTYPE [^>]+>/i,fu=/^<!\--/,hu=/^<!\[/,pu=R("script,style,textarea",!0),gu={},im={"<":"<",">":">",""":'"',"&":"&"," ":` +`,"	":" ","'":"'"},rm=/&(?:lt|gt|quot|amp|#39);/g,sm=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,om=R("pre,textarea",!0),mu=function(r,l){return r&&om(r)&&l[0]===` +`};function am(r,l){var c=l?sm:rm;return r.replace(c,function(u){return im[u]})}function lm(r,l){for(var c,u,m=[],g=l.expectHTML,b=l.isUnaryTag||Oe,L=l.canBeLeftOpenTag||Oe,_=0,T=function(){if(c=r,u&&pu(u)){var O=0,P=u.toLowerCase(),I=gu[P]||(gu[P]=new RegExp("([\\s\\S]*?)(</"+P+"[^>]*>)","i"));M=r.replace(I,function(G,Q,ae){return O=ae.length,pu(P)||P==="noscript"||(Q=Q.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),mu(P,Q)&&(Q=Q.slice(1)),l.chars&&l.chars(Q),""}),_+=r.length-M.length,r=M,A(P,_-O,_)}else{var F=r.indexOf("<");if(F===0){if(fu.test(r)){var B=r.indexOf("-->");if(B>=0)return l.shouldKeepComment&&l.comment&&l.comment(r.substring(4,B),_,_+B+3),k(B+3),"continue"}if(hu.test(r)){var Y=r.indexOf("]>");if(Y>=0)return k(Y+2),"continue"}var U=r.match(nm);if(U)return k(U[0].length),"continue";var ue=r.match(du);if(ue){var ie=_;return k(ue[0].length),A(ue[1],ie,_),"continue"}var ee=function(){var G=r.match(uu);if(G){var Q={tagName:G[1],attrs:[],start:_};k(G[0].length);for(var ae=void 0,be=void 0;!(ae=r.match(tm))&&(be=r.match(em)||r.match(Kg));)be.start=_,k(be[0].length),be.end=_,Q.attrs.push(be);if(ae)return Q.unarySlash=ae[1],k(ae[0].length),Q.end=_,Q}}();if(ee)return function(G){var Q=G.tagName,ae=G.unarySlash;g&&(u==="p"&&Jg(Q)&&A(u),L(Q)&&u===Q&&A(Q));for(var be=b(Q)||!!ae,he=G.attrs.length,ge=new Array(he),$e=0;$e<he;$e++){var _e=G.attrs[$e],ve=_e[3]||_e[4]||_e[5]||"",Pe=Q==="a"&&_e[1]==="href"?l.shouldDecodeNewlinesForHref:l.shouldDecodeNewlines;ge[$e]={name:_e[1],value:am(ve,Pe)}}be||(m.push({tag:Q,lowerCasedTag:Q.toLowerCase(),attrs:ge,start:G.start,end:G.end}),u=Q),l.start&&l.start(Q,ge,be,G.start,G.end)}(ee),mu(ee.tagName,r)&&k(1),"continue"}var le=void 0,M=void 0,N=void 0;if(F>=0){for(M=r.slice(F);!(du.test(M)||uu.test(M)||fu.test(M)||hu.test(M)||(N=M.indexOf("<",1))<0);)F+=N,M=r.slice(F);le=r.substring(0,F)}F<0&&(le=r),le&&k(le.length),l.chars&&le&&l.chars(le,_-le.length,_)}if(r===c)return l.chars&&l.chars(r),"break"};r&&T()!=="break";);function k(O){_+=O,r=r.substring(O)}function A(O,P,I){var F,B;if(P==null&&(P=_),I==null&&(I=_),O)for(B=O.toLowerCase(),F=m.length-1;F>=0&&m[F].lowerCasedTag!==B;F--);else F=0;if(F>=0){for(var Y=m.length-1;Y>=F;Y--)l.end&&l.end(m[Y].tag,P,I);m.length=F,u=F&&m[F-1].tag}else B==="br"?l.start&&l.start(O,[],!0,P,I):B==="p"&&(l.start&&l.start(O,[],!1,P,I),l.end&&l.end(O,P,I))}A()}var vu,bu,wa,_a,La,Ca,Aa,yu,wu=/^@|^v-on:/,Ea=/^v-|^@|^:|^#/,cm=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,_u=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,um=/^\(|\)$/g,hs=/^\[.*\]$/,dm=/:(.*)$/,Lu=/^:|^\.|^v-bind:/,Cu=/\.[^.\]]+(?=[^\]]*$)/g,xa=/^v-slot(:|$)|^#/,fm=/[\r\n]/,hm=/[ \f\t\r\n]+/g,pm=Z(Zg),ps="_empty_";function Sa(r,l,c){return{type:1,tag:r,attrsList:l,attrsMap:vm(l),rawAttrsMap:{},parent:c,children:[]}}function gm(r,l){vu=l.warn||C0,Ca=l.isPreTag||Oe,Aa=l.mustUseProp||Oe,yu=l.getTagNamespace||Oe,l.isReservedTag,wa=dr(l.modules,"transformNode"),_a=dr(l.modules,"preTransformNode"),La=dr(l.modules,"postTransformNode"),bu=l.delimiters;var c,u,m=[],g=l.preserveWhitespace!==!1,b=l.whitespace,L=!1,_=!1;function T(A){if(k(A),L||A.processed||(A=gs(A,l)),m.length||A===c||c.if&&(A.elseif||A.else)&&Ri(c,{exp:A.elseif,block:A}),u&&!A.forbidden)if(A.elseif||A.else)P=A,I=function(B){for(var Y=B.length;Y--;){if(B[Y].type===1)return B[Y];B.pop()}}(u.children),I&&I.if&&Ri(I,{exp:P.elseif,block:P});else{if(A.slotScope){var O=A.slotTarget||'"default"';(u.scopedSlots||(u.scopedSlots={}))[O]=A}u.children.push(A),A.parent=u}var P,I;A.children=A.children.filter(function(B){return!B.slotScope}),k(A),A.pre&&(L=!1),Ca(A.tag)&&(_=!1);for(var F=0;F<La.length;F++)La[F](A,l)}function k(A){if(!_)for(var O=void 0;(O=A.children[A.children.length-1])&&O.type===3&&O.text===" ";)A.children.pop()}return lm(r,{warn:vu,expectHTML:l.expectHTML,isUnaryTag:l.isUnaryTag,canBeLeftOpenTag:l.canBeLeftOpenTag,shouldDecodeNewlines:l.shouldDecodeNewlines,shouldDecodeNewlinesForHref:l.shouldDecodeNewlinesForHref,shouldKeepComment:l.comments,outputSourceRange:l.outputSourceRange,start:function(A,O,P,I,F){var B=u&&u.ns||yu(A);at&&B==="svg"&&(O=function(ie){for(var ee=[],le=0;le<ie.length;le++){var M=ie[le];bm.test(M.name)||(M.name=M.name.replace(ym,""),ee.push(M))}return ee}(O));var Y,U=Sa(A,O,u);B&&(U.ns=B),(Y=U).tag!=="style"&&(Y.tag!=="script"||Y.attrsMap.type&&Y.attrsMap.type!=="text/javascript")||lt()||(U.forbidden=!0);for(var ue=0;ue<_a.length;ue++)U=_a[ue](U,l)||U;L||(function(ie){Ve(ie,"v-pre")!=null&&(ie.pre=!0)}(U),U.pre&&(L=!0)),Ca(U.tag)&&(_=!0),L?function(ie){var ee=ie.attrsList,le=ee.length;if(le)for(var M=ie.attrs=new Array(le),N=0;N<le;N++)M[N]={name:ee[N].name,value:JSON.stringify(ee[N].value)},ee[N].start!=null&&(M[N].start=ee[N].start,M[N].end=ee[N].end);else ie.pre||(ie.plain=!0)}(U):U.processed||(Au(U),function(ie){var ee=Ve(ie,"v-if");if(ee)ie.if=ee,Ri(ie,{exp:ee,block:ie});else{Ve(ie,"v-else")!=null&&(ie.else=!0);var le=Ve(ie,"v-else-if");le&&(ie.elseif=le)}}(U),function(ie){var ee=Ve(ie,"v-once");ee!=null&&(ie.once=!0)}(U)),c||(c=U),P?T(U):(u=U,m.push(U))},end:function(A,O,P){var I=m[m.length-1];m.length-=1,u=m[m.length-1],T(I)},chars:function(A,O,P){if(u&&(!at||u.tag!=="textarea"||u.attrsMap.placeholder!==A)){var I,F=u.children;if(A=_||A.trim()?(I=u).tag==="script"||I.tag==="style"?A:pm(A):F.length?b?b==="condense"&&fm.test(A)?"":" ":g?" ":"":""){_||b!=="condense"||(A=A.replace(hm," "));var B=void 0,Y=void 0;!L&&A!==" "&&(B=function(U,ue){var ie=ue?Gg(ue):Ug;if(ie.test(U)){for(var ee,le,M,N=[],G=[],Q=ie.lastIndex=0;ee=ie.exec(U);){(le=ee.index)>Q&&(G.push(M=U.slice(Q,le)),N.push(JSON.stringify(M)));var ae=na(ee[1].trim());N.push("_s(".concat(ae,")")),G.push({"@binding":ae}),Q=le+ee[0].length}return Q<U.length&&(G.push(M=U.slice(Q)),N.push(JSON.stringify(M))),{expression:N.join("+"),tokens:G}}}(A,bu))?Y={type:2,expression:B.expression,tokens:B.tokens,text:A}:A===" "&&F.length&&F[F.length-1].text===" "||(Y={type:3,text:A}),Y&&F.push(Y)}}},comment:function(A,O,P){if(u){var I={type:3,text:A,isComment:!0};u.children.push(I)}}}),c}function gs(r,l){var c,u;(u=Tt(c=r,"key"))&&(c.key=u),r.plain=!r.key&&!r.scopedSlots&&!r.attrsList.length,function(g){var b=Tt(g,"ref");b&&(g.ref=b,g.refInFor=function(L){for(var _=L;_;){if(_.for!==void 0)return!0;_=_.parent}return!1}(g))}(r),function(g){var b;g.tag==="template"?(b=Ve(g,"scope"),g.slotScope=b||Ve(g,"slot-scope")):(b=Ve(g,"slot-scope"))&&(g.slotScope=b);var L=Tt(g,"slot");if(L&&(g.slotTarget=L==='""'?'"default"':L,g.slotTargetDynamic=!(!g.attrsMap[":slot"]&&!g.attrsMap["v-bind:slot"]),g.tag==="template"||g.slotScope||ia(g,"slot",L,function(B,Y){return B.rawAttrsMap[":"+Y]||B.rawAttrsMap["v-bind:"+Y]||B.rawAttrsMap[Y]}(g,"slot"))),g.tag==="template"){if(A=A0(g,xa)){var _=Eu(A),T=_.name,k=_.dynamic;g.slotTarget=T,g.slotTargetDynamic=k,g.slotScope=A.value||ps}}else{var A;if(A=A0(g,xa)){var O=g.scopedSlots||(g.scopedSlots={}),P=Eu(A),I=P.name,F=(k=P.dynamic,O[I]=Sa("template",[],g));F.slotTarget=I,F.slotTargetDynamic=k,F.children=g.children.filter(function(B){if(!B.slotScope)return B.parent=F,!0}),F.slotScope=A.value||ps,g.children=[],g.plain=!1}}}(r),function(g){g.tag==="slot"&&(g.slotName=Tt(g,"name"))}(r),function(g){var b;(b=Tt(g,"is"))&&(g.component=b),Ve(g,"inline-template")!=null&&(g.inlineTemplate=!0)}(r);for(var m=0;m<wa.length;m++)r=wa[m](r,l)||r;return function(g){var b,L,_,T,k,A,O,P,I=g.attrsList;for(b=0,L=I.length;b<L;b++)if(_=T=I[b].name,k=I[b].value,Ea.test(_))if(g.hasBindings=!0,(A=mm(_.replace(Ea,"")))&&(_=_.replace(Cu,"")),Lu.test(_))_=_.replace(Lu,""),k=na(k),(P=hs.test(_))&&(_=_.slice(1,-1)),A&&(A.prop&&!P&&(_=ce(_))==="innerHtml"&&(_="innerHTML"),A.camel&&!P&&(_=ce(_)),A.sync&&(O=In(k,"$event"),P?mn(g,'"update:"+('.concat(_,")"),O,null,!1,0,I[b],!0):(mn(g,"update:".concat(ce(_)),O,null,!1,0,I[b]),re(_)!==ce(_)&&mn(g,"update:".concat(re(_)),O,null,!1,0,I[b])))),A&&A.prop||!g.component&&Aa(g.tag,g.attrsMap.type,_)?ni(g,_,k,I[b],P):ia(g,_,k,I[b],P);else if(wu.test(_))_=_.replace(wu,""),(P=hs.test(_))&&(_=_.slice(1,-1)),mn(g,_,k,A,!1,0,I[b],P);else{var F=(_=_.replace(Ea,"")).match(dm),B=F&&F[1];P=!1,B&&(_=_.slice(0,-(B.length+1)),hs.test(B)&&(B=B.slice(1,-1),P=!0)),_g(g,_,T,k,B,P,A,I[b])}else ia(g,_,JSON.stringify(k),I[b]),!g.component&&_==="muted"&&Aa(g.tag,g.attrsMap.type,_)&&ni(g,_,"true",I[b])}(r),r}function Au(r){var l;if(l=Ve(r,"v-for")){var c=function(u){var m=u.match(cm);if(m){var g={};g.for=m[2].trim();var b=m[1].trim().replace(um,""),L=b.match(_u);return L?(g.alias=b.replace(_u,"").trim(),g.iterator1=L[1].trim(),L[2]&&(g.iterator2=L[2].trim())):g.alias=b,g}}(l);c&&ne(r,c)}}function Ri(r,l){r.ifConditions||(r.ifConditions=[]),r.ifConditions.push(l)}function Eu(r){var l=r.name.replace(xa,"");return l||r.name[0]!=="#"&&(l="default"),hs.test(l)?{name:l.slice(1,-1),dynamic:!0}:{name:'"'.concat(l,'"'),dynamic:!1}}function mm(r){var l=r.match(Cu);if(l){var c={};return l.forEach(function(u){c[u.slice(1)]=!0}),c}}function vm(r){for(var l={},c=0,u=r.length;c<u;c++)l[r[c].name]=r[c].value;return l}var bm=/^xmlns:NS\d+/,ym=/^NS\d+:/;function Ta(r){return Sa(r.tag,r.attrsList.slice(),r.parent)}var xu=[qg,Yg,{preTransformNode:function(r,l){if(r.tag==="input"){var c=r.attrsMap;if(!c["v-model"])return;var u=void 0;if((c[":type"]||c["v-bind:type"])&&(u=Tt(r,"type")),c.type||u||!c["v-bind"]||(u="(".concat(c["v-bind"],").type")),u){var m=Ve(r,"v-if",!0),g=m?"&&(".concat(m,")"):"",b=Ve(r,"v-else",!0)!=null,L=Ve(r,"v-else-if",!0),_=Ta(r);Au(_),ra(_,"type","checkbox"),gs(_,l),_.processed=!0,_.if="(".concat(u,")==='checkbox'")+g,Ri(_,{exp:_.if,block:_});var T=Ta(r);Ve(T,"v-for",!0),ra(T,"type","radio"),gs(T,l),Ri(_,{exp:"(".concat(u,")==='radio'")+g,block:T});var k=Ta(r);return Ve(k,"v-for",!0),ra(k,":type",u),gs(k,l),Ri(_,{exp:m,block:k}),b?_.else=!0:L&&(_.elseif=L),_}}}}],Su,Da,wm={model:function(r,l,c){var u=l.value,m=l.modifiers,g=r.tag,b=r.attrsMap.type;if(r.component)return E0(r,u,m),!1;if(g==="select")(function(L,_,T){var k=T&&T.number,A='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(k?"_n(val)":"val","})"),O="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",P="var $$selectedVal = ".concat(A,";");P="".concat(P," ").concat(In(_,O)),mn(L,"change",P,null,!0)})(r,u,m);else if(g==="input"&&b==="checkbox")(function(L,_,T){var k=T&&T.number,A=Tt(L,"value")||"null",O=Tt(L,"true-value")||"true",P=Tt(L,"false-value")||"false";ni(L,"checked","Array.isArray(".concat(_,")")+"?_i(".concat(_,",").concat(A,")>-1")+(O==="true"?":(".concat(_,")"):":_q(".concat(_,",").concat(O,")"))),mn(L,"change","var $$a=".concat(_,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(O,"):(").concat(P,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(k?"_n("+A+")":A,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(In(_,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(In(_,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(In(_,"$$c"),"}"),null,!0)})(r,u,m);else if(g==="input"&&b==="radio")(function(L,_,T){var k=T&&T.number,A=Tt(L,"value")||"null";A=k?"_n(".concat(A,")"):A,ni(L,"checked","_q(".concat(_,",").concat(A,")")),mn(L,"change",In(_,A),null,!0)})(r,u,m);else if(g==="input"||g==="textarea")(function(L,_,T){var k=L.attrsMap.type,A=T||{},O=A.lazy,P=A.number,I=A.trim,F=!O&&k!=="range",B=O?"change":k==="range"?ls:"input",Y="$event.target.value";I&&(Y="$event.target.value.trim()"),P&&(Y="_n(".concat(Y,")"));var U=In(_,Y);F&&(U="if($event.target.composing)return;".concat(U)),ni(L,"value","(".concat(_,")")),mn(L,B,U,null,!0),(I||P)&&mn(L,"blur","$forceUpdate()")})(r,u,m);else return E0(r,u,m),!1;return!0},text:function(r,l){l.value&&ni(r,"textContent","_s(".concat(l.value,")"),l)},html:function(r,l){l.value&&ni(r,"innerHTML","_s(".concat(l.value,")"),l)}},_m={expectHTML:!0,modules:xu,directives:wm,isPreTag:function(r){return r==="pre"},isUnaryTag:Qg,mustUseProp:d0,canBeLeftOpenTag:Xg,isReservedTag:Qo,getTagNamespace:g0,staticKeys:function(r){return r.reduce(function(l,c){return l.concat(c.staticKeys||[])},[]).join(",")}(xu)},Lm=Z(function(r){return R("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(r?","+r:""))});function Cm(r,l){r&&(Su=Lm(l.staticKeys||""),Da=l.isReservedTag||Oe,ka(r),Oa(r,!1))}function ka(r){if(r.static=function(g){return g.type===2?!1:g.type===3?!0:!(!g.pre&&(g.hasBindings||g.if||g.for||z(g.tag)||!Da(g.tag)||function(b){for(;b.parent;){if((b=b.parent).tag!=="template")return!1;if(b.for)return!0}return!1}(g)||!Object.keys(g).every(Su)))}(r),r.type===1){if(!Da(r.tag)&&r.tag!=="slot"&&r.attrsMap["inline-template"]==null)return;for(var l=0,c=r.children.length;l<c;l++){var u=r.children[l];ka(u),u.static||(r.static=!1)}if(r.ifConditions)for(l=1,c=r.ifConditions.length;l<c;l++){var m=r.ifConditions[l].block;ka(m),m.static||(r.static=!1)}}}function Oa(r,l){if(r.type===1){if((r.static||r.once)&&(r.staticInFor=l),r.static&&r.children.length&&(r.children.length!==1||r.children[0].type!==3))return void(r.staticRoot=!0);if(r.staticRoot=!1,r.children)for(var c=0,u=r.children.length;c<u;c++)Oa(r.children[c],l||!!r.for);if(r.ifConditions)for(c=1,u=r.ifConditions.length;c<u;c++)Oa(r.ifConditions[c].block,l)}}var Am=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Em=/\([^)]*?\);*$/,Tu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Du={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xm={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},bn=function(r){return"if(".concat(r,")return null;")},ku={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:bn("$event.target !== $event.currentTarget"),ctrl:bn("!$event.ctrlKey"),shift:bn("!$event.shiftKey"),alt:bn("!$event.altKey"),meta:bn("!$event.metaKey"),left:bn("'button' in $event && $event.button !== 0"),middle:bn("'button' in $event && $event.button !== 1"),right:bn("'button' in $event && $event.button !== 2")};function Ou(r,l){var c=l?"nativeOn:":"on:",u="",m="";for(var g in r){var b=Mu(r[g]);r[g]&&r[g].dynamic?m+="".concat(g,",").concat(b,","):u+='"'.concat(g,'":').concat(b,",")}return u="{".concat(u.slice(0,-1),"}"),m?c+"_d(".concat(u,",[").concat(m.slice(0,-1),"])"):c+u}function Mu(r){if(!r)return"function(){}";if(Array.isArray(r))return"[".concat(r.map(function(k){return Mu(k)}).join(","),"]");var l=Tu.test(r.value),c=Am.test(r.value),u=Tu.test(r.value.replace(Em,""));if(r.modifiers){var m="",g="",b=[],L=function(k){if(ku[k])g+=ku[k],Du[k]&&b.push(k);else if(k==="exact"){var A=r.modifiers;g+=bn(["ctrl","shift","alt","meta"].filter(function(O){return!A[O]}).map(function(O){return"$event.".concat(O,"Key")}).join("||"))}else b.push(k)};for(var _ in r.modifiers)L(_);b.length&&(m+=function(k){return"if(!$event.type.indexOf('key')&&"+"".concat(k.map(Sm).join("&&"),")return null;")}(b)),g&&(m+=g);var T=l?"return ".concat(r.value,".apply(null, arguments)"):c?"return (".concat(r.value,").apply(null, arguments)"):u?"return ".concat(r.value):r.value;return"function($event){".concat(m).concat(T,"}")}return l||c?r.value:"function($event){".concat(u?"return ".concat(r.value):r.value,"}")}function Sm(r){var l=parseInt(r,10);if(l)return"$event.keyCode!==".concat(l);var c=Du[r],u=xm[r];return"_k($event.keyCode,"+"".concat(JSON.stringify(r),",")+"".concat(JSON.stringify(c),",")+"$event.key,"+"".concat(JSON.stringify(u))+")"}var Tm={on:function(r,l){r.wrapListeners=function(c){return"_g(".concat(c,",").concat(l.value,")")}},bind:function(r,l){r.wrapData=function(c){return"_b(".concat(c,",'").concat(r.tag,"',").concat(l.value,",").concat(l.modifiers&&l.modifiers.prop?"true":"false").concat(l.modifiers&&l.modifiers.sync?",true":"",")")}},cloak:oe},Dm=function(r){this.options=r,this.warn=r.warn||C0,this.transforms=dr(r.modules,"transformCode"),this.dataGenFns=dr(r.modules,"genData"),this.directives=ne(ne({},Tm),r.directives);var l=r.isReservedTag||Oe;this.maybeComponent=function(c){return!!c.component||!l(c.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ru(r,l){var c=new Dm(l),u=r?r.tag==="script"?"null":yn(r,c):'_c("div")';return{render:"with(this){return ".concat(u,"}"),staticRenderFns:c.staticRenderFns}}function yn(r,l){if(r.parent&&(r.pre=r.pre||r.parent.pre),r.staticRoot&&!r.staticProcessed)return Pu(r,l);if(r.once&&!r.onceProcessed)return Iu(r,l);if(r.for&&!r.forProcessed)return $u(r,l);if(r.if&&!r.ifProcessed)return Ma(r,l);if(r.tag!=="template"||r.slotTarget||l.pre){if(r.tag==="slot")return function(T,k){var A=T.slotName||'"default"',O=Pi(T,k),P="_t(".concat(A).concat(O?",function(){return ".concat(O,"}"):""),I=T.attrs||T.dynamicAttrs?ms((T.attrs||[]).concat(T.dynamicAttrs||[]).map(function(B){return{name:ce(B.name),value:B.value,dynamic:B.dynamic}})):null,F=T.attrsMap["v-bind"];return!I&&!F||O||(P+=",null"),I&&(P+=",".concat(I)),F&&(P+="".concat(I?"":",null",",").concat(F)),P+")"}(r,l);var c=void 0;if(r.component)c=function(T,k,A){var O=k.inlineTemplate?null:Pi(k,A,!0);return"_c(".concat(T,",").concat(ju(k,A)).concat(O?",".concat(O):"",")")}(r.component,r,l);else{var u=void 0,m=l.maybeComponent(r);(!r.plain||r.pre&&m)&&(u=ju(r,l));var g=void 0,b=l.options.bindings;m&&b&&b.__isScriptSetup!==!1&&(g=function(T,k){var A=ce(k),O=Se(A),P=function(B){return T[k]===B?k:T[A]===B?A:T[O]===B?O:void 0},I=P("setup-const")||P("setup-reactive-const");if(I)return I;var F=P("setup-let")||P("setup-ref")||P("setup-maybe-ref");if(F)return F}(b,r.tag)),g||(g="'".concat(r.tag,"'"));var L=r.inlineTemplate?null:Pi(r,l,!0);c="_c(".concat(g).concat(u?",".concat(u):"").concat(L?",".concat(L):"",")")}for(var _=0;_<l.transforms.length;_++)c=l.transforms[_](r,c);return c}return Pi(r,l)||"void 0"}function Pu(r,l){r.staticProcessed=!0;var c=l.pre;return r.pre&&(l.pre=r.pre),l.staticRenderFns.push("with(this){return ".concat(yn(r,l),"}")),l.pre=c,"_m(".concat(l.staticRenderFns.length-1).concat(r.staticInFor?",true":"",")")}function Iu(r,l){if(r.onceProcessed=!0,r.if&&!r.ifProcessed)return Ma(r,l);if(r.staticInFor){for(var c="",u=r.parent;u;){if(u.for){c=u.key;break}u=u.parent}return c?"_o(".concat(yn(r,l),",").concat(l.onceId++,",").concat(c,")"):yn(r,l)}return Pu(r,l)}function Ma(r,l,c,u){return r.ifProcessed=!0,Nu(r.ifConditions.slice(),l,c,u)}function Nu(r,l,c,u){if(!r.length)return u||"_e()";var m=r.shift();return m.exp?"(".concat(m.exp,")?").concat(g(m.block),":").concat(Nu(r,l,c,u)):"".concat(g(m.block));function g(b){return c?c(b,l):b.once?Iu(b,l):yn(b,l)}}function $u(r,l,c,u){var m=r.for,g=r.alias,b=r.iterator1?",".concat(r.iterator1):"",L=r.iterator2?",".concat(r.iterator2):"";return r.forProcessed=!0,"".concat("_l","((").concat(m,"),")+"function(".concat(g).concat(b).concat(L,"){")+"return ".concat((c||yn)(r,l))+"})"}function ju(r,l){var c="{",u=function(b,L){var _=b.directives;if(_){var T,k,A,O,P="directives:[",I=!1;for(T=0,k=_.length;T<k;T++){A=_[T],O=!0;var F=L.directives[A.name];F&&(O=!!F(b,A,L.warn)),O&&(I=!0,P+='{name:"'.concat(A.name,'",rawName:"').concat(A.rawName,'"').concat(A.value?",value:(".concat(A.value,"),expression:").concat(JSON.stringify(A.value)):"").concat(A.arg?",arg:".concat(A.isDynamicArg?A.arg:'"'.concat(A.arg,'"')):"").concat(A.modifiers?",modifiers:".concat(JSON.stringify(A.modifiers)):"","},"))}if(I)return P.slice(0,-1)+"]"}}(r,l);u&&(c+=u+","),r.key&&(c+="key:".concat(r.key,",")),r.ref&&(c+="ref:".concat(r.ref,",")),r.refInFor&&(c+="refInFor:true,"),r.pre&&(c+="pre:true,"),r.component&&(c+='tag:"'.concat(r.tag,'",'));for(var m=0;m<l.dataGenFns.length;m++)c+=l.dataGenFns[m](r);if(r.attrs&&(c+="attrs:".concat(ms(r.attrs),",")),r.props&&(c+="domProps:".concat(ms(r.props),",")),r.events&&(c+="".concat(Ou(r.events,!1),",")),r.nativeEvents&&(c+="".concat(Ou(r.nativeEvents,!0),",")),r.slotTarget&&!r.slotScope&&(c+="slot:".concat(r.slotTarget,",")),r.scopedSlots&&(c+="".concat(function(b,L,_){var T=b.for||Object.keys(L).some(function(P){var I=L[P];return I.slotTargetDynamic||I.if||I.for||Hu(I)}),k=!!b.if;if(!T)for(var A=b.parent;A;){if(A.slotScope&&A.slotScope!==ps||A.for){T=!0;break}A.if&&(k=!0),A=A.parent}var O=Object.keys(L).map(function(P){return Ra(L[P],_)}).join(",");return"scopedSlots:_u([".concat(O,"]").concat(T?",null,true":"").concat(!T&&k?",null,false,".concat(function(P){for(var I=5381,F=P.length;F;)I=33*I^P.charCodeAt(--F);return I>>>0}(O)):"",")")}(r,r.scopedSlots,l),",")),r.model&&(c+="model:{value:".concat(r.model.value,",callback:").concat(r.model.callback,",expression:").concat(r.model.expression,"},")),r.inlineTemplate){var g=function(b,L){var _=b.children[0];if(_&&_.type===1){var T=Ru(_,L.options);return"inlineTemplate:{render:function(){".concat(T.render,"},staticRenderFns:[").concat(T.staticRenderFns.map(function(k){return"function(){".concat(k,"}")}).join(","),"]}")}}(r,l);g&&(c+="".concat(g,","))}return c=c.replace(/,$/,"")+"}",r.dynamicAttrs&&(c="_b(".concat(c,',"').concat(r.tag,'",').concat(ms(r.dynamicAttrs),")")),r.wrapData&&(c=r.wrapData(c)),r.wrapListeners&&(c=r.wrapListeners(c)),c}function Hu(r){return r.type===1&&(r.tag==="slot"||r.children.some(Hu))}function Ra(r,l){var c=r.attrsMap["slot-scope"];if(r.if&&!r.ifProcessed&&!c)return Ma(r,l,Ra,"null");if(r.for&&!r.forProcessed)return $u(r,l,Ra);var u=r.slotScope===ps?"":String(r.slotScope),m="function(".concat(u,"){")+"return ".concat(r.tag==="template"?r.if&&c?"(".concat(r.if,")?").concat(Pi(r,l)||"undefined",":undefined"):Pi(r,l)||"undefined":yn(r,l),"}"),g=u?"":",proxy:true";return"{key:".concat(r.slotTarget||'"default"',",fn:").concat(m).concat(g,"}")}function Pi(r,l,c,u,m){var g=r.children;if(g.length){var b=g[0];if(g.length===1&&b.for&&b.tag!=="template"&&b.tag!=="slot"){var L=c?l.maybeComponent(b)?",1":",0":"";return"".concat(yn(b,l)).concat(L)}var _=c?function(k,A){for(var O=0,P=0;P<k.length;P++){var I=k[P];if(I.type===1){if(Bu(I)||I.ifConditions&&I.ifConditions.some(function(F){return Bu(F.block)})){O=2;break}(A(I)||I.ifConditions&&I.ifConditions.some(function(F){return A(F.block)}))&&(O=1)}}return O}(g,l.maybeComponent):0,T=km;return"[".concat(g.map(function(k){return T(k,l)}).join(","),"]").concat(_?",".concat(_):"")}}function Bu(r){return r.for!==void 0||r.tag==="template"||r.tag==="slot"}function km(r,l){return r.type===1?yn(r,l):r.type===3&&r.isComment?function(c){return"_e(".concat(JSON.stringify(c.text),")")}(r):function(c){return"_v(".concat(c.type===2?c.expression:Fu(JSON.stringify(c.text)),")")}(r)}function ms(r){for(var l="",c="",u=0;u<r.length;u++){var m=r[u],g=Fu(m.value);m.dynamic?c+="".concat(m.name,",").concat(g,","):l+='"'.concat(m.name,'":').concat(g,",")}return l="{".concat(l.slice(0,-1),"}"),c?"_d(".concat(l,",[").concat(c.slice(0,-1),"])"):l}function Fu(r){return r.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function zu(r,l){try{return new Function(r)}catch(c){return l.push({err:c,code:r}),oe}}function Om(r){var l=Object.create(null);return function(c,u,m){(u=ne({},u)).warn,delete u.warn;var g=u.delimiters?String(u.delimiters)+c:c;if(l[g])return l[g];var b=r(c,u),L={},_=[];return L.render=zu(b.render,_),L.staticRenderFns=b.staticRenderFns.map(function(T){return zu(T,_)}),l[g]=L}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var Vu,Pa,Mm=(Vu=function(r,l){var c=gm(r.trim(),l);l.optimize!==!1&&Cm(c,l);var u=Ru(c,l);return{ast:c,render:u.render,staticRenderFns:u.staticRenderFns}},function(r){function l(c,u){var m=Object.create(r),g=[],b=[];if(u)for(var L in u.modules&&(m.modules=(r.modules||[]).concat(u.modules)),u.directives&&(m.directives=ne(Object.create(r.directives||null),u.directives)),u)L!=="modules"&&L!=="directives"&&(m[L]=u[L]);m.warn=function(T,k,A){(A?b:g).push(T)};var _=Vu(c.trim(),m);return _.errors=g,_.tips=b,_}return{compile:l,compileToFunctions:Om(l)}}),Wu=Mm(_m).compileToFunctions;function Uu(r){return(Pa=Pa||document.createElement("div")).innerHTML=r?`<a href=" "/>`:`<div a=" -"/>`,Ra.innerHTML.indexOf(" ")>0}var Em=!!ze&&Hu(!1),xm=!!ze&&Hu(!0),Sm=Q(function(r){var l=Qo(r);return l&&l.innerHTML}),Tm=Re.prototype.$mount;return Re.prototype.$mount=function(r,l){if((r=r&&Qo(r))===document.body||r===document.documentElement)return this;var c=this.$options;if(!c.render){var u=c.template;if(u)if(typeof u=="string")u.charAt(0)==="#"&&(u=Sm(u));else{if(!u.nodeType)return this;u=u.innerHTML}else r&&(u=function(L){if(L.outerHTML)return L.outerHTML;var _=document.createElement("div");return _.appendChild(L.cloneNode(!0)),_.innerHTML}(r));if(u){var m=ju(u,{outputSourceRange:!1,shouldDecodeNewlines:Em,shouldDecodeNewlinesForHref:xm,delimiters:c.delimiters,comments:c.comments},this),p=m.render,b=m.staticRenderFns;c.render=p,c.staticRenderFns=b}}return Tm.call(this,r,l)},Re.compile=ju,ne(Re,I9),Re.effect=function(r,l){var c=new Di(Ne,r,oe,{sync:!0});l&&(c.update=function(){l(function(){return c.run()})})},Re})})(Bf);var zf=Bf.exports;const Me=Dm(zf),km=function(n,e,t){for(var i=0;i<n.length;i++)e.call(t,n[i])};function Ff(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)}function Bu(){return Ff()>=768}function Bs(){return Ff()>=1200}const Y=(n,e=1e4)=>(n=parseFloat(n+"")||0,Math.round((n+Number.EPSILON)*e)/e),gl=function(n){if(!(n&&n instanceof Element&&n.offsetParent))return!1;const e=n.scrollHeight>n.clientHeight,t=window.getComputedStyle(n).overflowY,i=t.indexOf("hidden")!==-1,s=t.indexOf("visible")!==-1;return e&&!i&&!s},Ys=function(n,e=void 0){return!(!n||n===document.body||e&&n===e)&&(gl(n)?n:Ys(n.parentElement,e))},en=function(n){var e=new DOMParser().parseFromString(n,"text/html").body;if(e.childElementCount>1){for(var t=document.createElement("div");e.firstChild;)t.appendChild(e.firstChild);return t}return e.firstChild},Pl=n=>`${n||""}`.split(" ").filter(e=>!!e),tn=(n,e,t)=>{n&&Pl(e).forEach(i=>{n.classList.toggle(i,t||!1)})};let Ni=class{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}};const $i={passive:!1};let Om=class{constructor(e,{start:t=()=>!0,move:i=()=>{},end:s=()=>{}}){Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=t,this.moveCallback=i,this.endCallback=s;for(const o of["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"])this[o]=this[o].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,$i),this.element.addEventListener("touchstart",this.onTouchStart,$i),this.element.addEventListener("touchmove",this.onMove,$i),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||e.button!==0)return;const t=new Ni(e);this.currentPointers.some(i=>i.id===t.id)||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new Ni(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){const t=this.currentPointers.slice(),i="changedTouches"in e?Array.from(e.changedTouches||[]).map(o=>new Ni(o)):[new Ni(e)],s=[];for(const o of i){const a=this.currentPointers.findIndex(d=>d.id===o.id);a<0||(s.push(o),this.currentPointers[a]=o)}s.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&e.button!==0||(this.triggerPointerEnd(e,new Ni(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new Ni(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){const i=this.currentPointers.findIndex(s=>s.id===t.id);i<0||(this.currentPointers.splice(i,1),this.startPointers.splice(i,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){const e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,$i),this.element.removeEventListener("touchstart",this.onTouchStart,$i),this.element.removeEventListener("touchmove",this.onMove,$i),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}};function zu(n,e){return e?Math.sqrt(Math.pow(e.clientX-n.clientX,2)+Math.pow(e.clientY-n.clientY,2)):0}function Fu(n,e){return e?{clientX:(n.clientX+e.clientX)/2,clientY:(n.clientY+e.clientY)/2}:n}const ml=n=>typeof n=="object"&&n!==null&&n.constructor===Object&&Object.prototype.toString.call(n)==="[object Object]",ft=(n,...e)=>{const t=e.length;for(let i=0;i<t;i++){const s=e[i]||{};Object.entries(s).forEach(([o,a])=>{const d=Array.isArray(a)?[]:{};n[o]||Object.assign(n,{[o]:d}),ml(a)?Object.assign(n[o],ft(d,a)):Array.isArray(a)?Object.assign(n,{[o]:[...a]}):Object.assign(n,{[o]:a})})}return n},Ia=function(n,e){return n.split(".").reduce((t,i)=>typeof t=="object"?t[i]:void 0,e)};let qs=class{constructor(e={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}setOptions(e){this.options=e?ft({},this.constructor.defaults,e):{};for(const[t,i]of Object.entries(this.option("on")||{}))this.on(t,i)}option(e,...t){let i=Ia(e,this.options);return i&&typeof i=="function"&&(i=i.call(this,this,...t)),i}optionFor(e,t,i,...s){let o=Ia(t,e);var a;typeof(a=o)!="string"||isNaN(a)||isNaN(parseFloat(a))||(o=parseFloat(o)),o==="true"&&(o=!0),o==="false"&&(o=!1),o&&typeof o=="function"&&(o=o.call(this,this,e,...s));let d=Ia(t,this.options);return d&&typeof d=="function"?o=d.call(this,this,e,...s,o):o===void 0&&(o=d),o===void 0?i:o}cn(e){const t=this.options.classes;return t&&t[e]||""}localize(e,t=[]){e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,(i,s,o)=>{let a="";return o?a=this.option(`${s[0]+s.toLowerCase().substring(1)}.l10n.${o}`):s&&(a=this.option(`l10n.${s}`)),a||(a=i),a});for(let i=0;i<t.length;i++)e=e.split(t[i][0]).join(t[i][1]);return e=e.replace(/\{\{(.*?)\}\}/g,(i,s)=>s)}on(e,t){let i=[];typeof e=="string"?i=e.split(" "):Array.isArray(e)&&(i=e),this.events||(this.events=new Map),i.forEach(s=>{let o=this.events.get(s);o||(this.events.set(s,[]),o=[]),o.includes(t)||o.push(t),this.events.set(s,o)})}off(e,t){let i=[];typeof e=="string"?i=e.split(" "):Array.isArray(e)&&(i=e),i.forEach(s=>{const o=this.events.get(s);if(Array.isArray(o)){const a=o.indexOf(t);a>-1&&o.splice(a,1)}})}emit(e,...t){[...this.events.get(e)||[]].forEach(i=>i(this,...t)),e!=="*"&&this.emit("*",e,...t)}};Object.defineProperty(qs,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(qs,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});let Il=class extends qs{constructor(e={}){super(e),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(e={}){const t=new Map;for(const[i,s]of Object.entries(e)){const o=this.option(i),a=this.plugins[i];a||o===!1?a&&o===!1&&(a.detach(),delete this.plugins[i]):t.set(i,new s(this,o||{}))}for(const[i,s]of t)this.plugins[i]=s,s.attach()}detachPlugins(e){e=e||Object.keys(this.plugins);for(const t of e){const i=this.plugins[t];i&&i.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}};var Le;(function(n){n[n.Init=0]="Init",n[n.Error=1]="Error",n[n.Ready=2]="Ready",n[n.Panning=3]="Panning",n[n.Mousemove=4]="Mousemove",n[n.Destroy=5]="Destroy"})(Le||(Le={}));const wn=["a","b","c","d","e","f"],Vf={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},Rm={content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:Vf},Vu='<circle cx="25" cy="25" r="20"></circle>',Nl='<div class="f-spinner"><svg viewBox="0 0 50 50">'+Vu+Vu+"</svg></div>",dt=n=>n&&n!==null&&n instanceof Element&&"nodeType"in n,be=(n,e)=>{n&&Pl(e).forEach(t=>{n.classList.remove(t)})},K=(n,e)=>{n&&Pl(e).forEach(t=>{n.classList.add(t)})},ms={a:1,b:0,c:0,d:1,e:0,f:0},Mm=1e5,vs=1e4,Dt="mousemove",Wu="drag",Uu="content",kt="auto";let Na=null,$a=null,Sr=class Wf extends Il{get fits(){return this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1}get isTouchDevice(){return $a===null&&($a=window.matchMedia("(hover: none)").matches),$a}get isMobile(){return Na===null&&(Na=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),Na}get panMode(){return this.options.panMode!==Dt||this.isTouchDevice?Wu:Dt}get panOnlyZoomed(){const e=this.options.panOnlyZoomed;return e===kt?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||0}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){const{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){const{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){const{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){const{containerRect:e,contentRect:t}=this,i=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,i)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){const e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(const e of wn){const t=e=="e"||e==="f"?1e-4:1e-5;if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e,t={},i={}){var s;if(super(t),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Le.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},ms)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},ms)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw new Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({},Wf.Plugins),i)),this.emit("attachPlugins"),this.emit("init");const o=this.content;if(o.addEventListener("load",this.onLoad),o.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));const a=en(Nl);!e.contains(o)||o.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(a):this.spinner=((s=o.parentElement)===null||s===void 0?void 0:s.insertBefore(a,o))||null}this.emit("beforeLoad")}else queueMicrotask(()=>{this.enable()})}initContent(){const{container:e}=this,t=this.cn(Uu);let i=this.option(Uu)||e.querySelector(`.${t}`);if(i||(i=e.querySelector("img,picture")||e.firstElementChild,i&&K(i,t)),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),!i)throw new Error("No content found");this.content=i}onLoad(){const{spinner:e,container:t,state:i}=this;e&&(e.remove(),this.spinner=null),this.option("spinner")&&t.classList.remove(this.cn("isLoading")),this.emit("afterLoad"),i===Le.Init?this.enable():this.updateMetrics()}onError(){this.state!==Le.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=Le.Error,this.emit("error"))}getNextScale(e){const{fullScale:t,targetScale:i,coverScale:s,maxScale:o,minScale:a}=this;let d=a;switch(e){case"toggleMax":d=i-a<.5*(o-a)?o:a;break;case"toggleCover":d=i-a<.5*(s-a)?s:a;break;case"toggleZoom":d=i-a<.5*(t-a)?t:a;break;case"iterateZoom":let f=[1,t,o].sort((h,y)=>h-y),g=f.findIndex(h=>h>i+1e-5);d=f[g]||1}return d}attachObserver(){var e;const t=()=>{const{container:i,containerRect:s}=this;return Math.abs(s.width-i.getBoundingClientRect().width)>.1||Math.abs(s.height-i.getBoundingClientRect().height)>.1};this.resizeObserver||window.ResizeObserver===void 0||(this.resizeObserver=new ResizeObserver(()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout(()=>{t()&&this.onResize(),this.updateTimer=null},500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))})),(e=this.resizeObserver)===null||e===void 0||e.observe(this.container)}detachObserver(){var e;(e=this.resizeObserver)===null||e===void 0||e.disconnect()}attachEvents(){const{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new Om(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(Dt,this.onMouseMove)}detachEvents(){var e;const{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),(e=this.pointerTracker)===null||e===void 0||e.stop(),this.pointerTracker=null,document.removeEventListener(Dt,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){this.setTargetForce();const e=this.friction,t=this.option("maxVelocity");for(const i of wn)e?(this.velocity[i]*=1-e,t&&!this.isScaling&&(this.velocity[i]=Math.max(Math.min(this.velocity[i],t),-1*t)),this.current[i]+=this.velocity[i]):this.current[i]=this.target[i];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame(()=>this.animate()):this.stop("current")}setTargetForce(){for(const e of wn)e==="e"&&this.isBouncingX||e==="f"&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(e=0,t=0){const{current:i}=this,s=i.e+e,o=i.f+t,a=this.getBounds(),{x:d,y:f}=a,g=d.min,h=d.max,y=f.min,w=f.max;let v=0,C=0;return g!==1/0&&s<g?v=g-s:h!==1/0&&s>h&&(v=h-s),y!==1/0&&o<y?C=y-o:w!==1/0&&o>w&&(C=w-o),Math.abs(v)<1e-4&&(v=0),Math.abs(C)<1e-4&&(C=0),Object.assign(Object.assign({},a),{xDiff:v,yDiff:C,inBounds:!v&&!C})}clampTargetBounds(){const{target:e}=this,{x:t,y:i}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),i.min!==1/0&&(e.f=Math.max(e.f,i.min)),i.max!==1/0&&(e.f=Math.min(e.f,i.max))}calculateContentDim(e=this.current){const{content:t,contentRect:i}=this,{fitWidth:s,fitHeight:o,fullWidth:a,fullHeight:d}=i;let f=a,g=d;if(this.option("zoom")||this.angle!==0){const h=!(t instanceof HTMLImageElement)&&(window.getComputedStyle(t).maxWidth==="none"||window.getComputedStyle(t).maxHeight==="none"),y=h?a:s,w=h?d:o,v=this.getMatrix(e),C=new DOMPoint(0,0).matrixTransform(v),x=new DOMPoint(0+y,0).matrixTransform(v),S=new DOMPoint(0+y,0+w).matrixTransform(v),D=new DOMPoint(0,0+w).matrixTransform(v),M=Math.abs(S.x-C.x),F=Math.abs(S.y-C.y),E=Math.abs(D.x-x.x),J=Math.abs(D.y-x.y);f=Math.max(M,E),g=Math.max(F,J)}return{contentWidth:f,contentHeight:g}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===Dt||this.targetScale<this.scale)return this.isBouncingX=!1,void(this.isBouncingY=!1);const{target:e}=this,{x:t,y:i,xDiff:s,yDiff:o}=this.checkBounds(),a=this.option("maxVelocity");let d=this.velocity.e,f=this.velocity.f;s!==0?(this.isBouncingX=!0,s*d<=0?d+=.14*s:(d=.14*s,t.min!==1/0&&(this.target.e=Math.max(e.e,t.min)),t.max!==1/0&&(this.target.e=Math.min(e.e,t.max))),a&&(d=Math.max(Math.min(d,a),-1*a))):this.isBouncingX=!1,o!==0?(this.isBouncingY=!0,o*f<=0?f+=.14*o:(f=.14*o,i.min!==1/0&&(this.target.f=Math.max(e.f,i.min)),i.max!==1/0&&(this.target.f=Math.min(e.f,i.max))),a&&(f=Math.max(Math.min(f,a),-1*a))):this.isBouncingY=!1,this.isBouncingX&&(this.velocity.e=d),this.isBouncingY&&(this.velocity.f=f)}enable(){const{content:e}=this,t=new DOMMatrixReadOnly(window.getComputedStyle(e).transform);for(const i of wn)this.current[i]=this.target[i]=t[i];this.updateMetrics(),this.attachObserver(),this.attachEvents(),this.state=Le.Ready,this.emit("ready")}onClick(e){var t;e.type==="click"&&e.detail===0&&(this.dragOffset.x=0,this.dragOffset.y=0),this.isDragging&&((t=this.pointerTracker)===null||t===void 0||t.clear(),this.trackingPoints=[],this.startDecelAnim());const i=e.target;if(!i||e.defaultPrevented)return;if(i.hasAttribute("disabled"))return e.preventDefault(),void e.stopPropagation();if((()=>{const v=window.getSelection();return v&&v.type==="Range"})()&&!i.closest("button"))return;const s=i.closest("[data-panzoom-action]"),o=i.closest("[data-panzoom-change]"),a=s||o,d=a&&dt(a)?a.dataset:null;if(d){const v=d.panzoomChange,C=d.panzoomAction;if((v||C)&&e.preventDefault(),v){let x={};try{x=JSON.parse(v)}catch(S){console&&console.warn("The given data was not valid JSON")}return void this.applyChange(x)}if(C)return void(this[C]&&this[C]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();if(i.closest("[data-fancybox]"))return;const f=this.content.getBoundingClientRect(),g=this.dragStart;if(g.time&&!this.canZoomOut()&&(Math.abs(f.x-g.x)>2||Math.abs(f.y-g.y)>2))return;this.dragStart.time=0;const h=v=>{this.option("zoom",e)&&v&&typeof v=="string"&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(v)&&typeof this[v]=="function"&&(e.preventDefault(),this[v]({event:e}))},y=this.option("click",e),w=this.option("dblClick",e);w?(this.clicks++,this.clicks==1&&(this.clickTimer=setTimeout(()=>{this.clicks===1?(this.emit("click",e),!e.defaultPrevented&&y&&h(y)):(this.emit("dblClick",e),e.defaultPrevented||h(w)),this.clicks=0,this.clickTimer=null},350))):(this.emit("click",e),!e.defaultPrevented&&y&&h(y))}addTrackingPoint(e){const t=this.trackingPoints.filter(i=>i.time>Date.now()-100);t.push(e),this.trackingPoints=t}onPointerDown(e,t,i){var s;if(this.option("touch",e)===!1)return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];const o=this.content.getBoundingClientRect();if(this.dragStart={x:o.x,y:o.y,top:o.top,left:o.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===Dt&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;const a=e.composedPath()[0];if(!i.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(a.nodeName)||a.closest("[contenteditable],[data-selectable],[data-draggable],[data-clickable],[data-panzoom-change],[data-panzoom-action]"))return!1;(s=window.getSelection())===null||s===void 0||s.removeAllRanges()}if(e.type==="mousedown")["A","BUTTON"].includes(a.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit("touchStart",e)),!0}onPointerMove(e,t,i){if(this.option("touch",e)===!1||!this.isDragging||t.length<2&&this.panOnlyZoomed&&Y(this.targetScale)<=Y(this.minScale)||(this.emit("touchMove",e),e.defaultPrevented))return;this.addTrackingPoint(t[0]);const{content:s}=this,o=Fu(i[0],i[1]),a=Fu(t[0],t[1]);let d=0,f=0;if(t.length>1){const F=s.getBoundingClientRect();d=o.clientX-F.left-.5*F.width,f=o.clientY-F.top-.5*F.height}const g=zu(i[0],i[1]),h=zu(t[0],t[1]);let y=g?h/g:1,w=a.clientX-o.clientX,v=a.clientY-o.clientY;this.dragOffset.x+=w,this.dragOffset.y+=v,this.dragOffset.time=Date.now()-this.dragStart.time;let C=Y(this.targetScale)===Y(this.minScale)&&this.option("lockAxis");if(C&&!this.lockedAxis)if(C==="xy"||C==="y"||e.type==="touchmove"){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void e.preventDefault();const F=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=F>45&&F<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,w=0,v=0}else this.lockedAxis=C;if(Ys(e.target,this.content)&&(C="x",this.dragOffset.y=0),C&&C!=="xy"&&this.lockedAxis!==C&&Y(this.targetScale)===Y(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));const x=this.checkBounds(w,v);this.option("rubberband")?(this.isInfinite!=="x"&&(x.xDiff>0&&w<0||x.xDiff<0&&w>0)&&(w*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*x.xDiff))),this.isInfinite!=="y"&&(x.yDiff>0&&v<0||x.yDiff<0&&v>0)&&(v*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*x.yDiff)))):(x.xDiff&&(w=0),x.yDiff&&(v=0));const S=this.targetScale,D=this.minScale,M=this.maxScale;S<.5*D&&(y=Math.max(y,D)),S>1.5*M&&(y=Math.min(y,M)),this.lockedAxis==="y"&&Y(S)===Y(D)&&(w=0),this.lockedAxis==="x"&&Y(S)===Y(D)&&(v=0),this.applyChange({originX:d,originY:f,panX:w,panY:v,scale:y,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,i){if(i.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),Ys(e.target,this.content)&&this.lockedAxis==="y"&&(this.trackingPoints=[]),this.emit("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==Le.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;const t=this.isScaling;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const F of wn)this.velocity[F]=0;this.target.e=this.current.e,this.target.f=this.current.f,be(this.container,"is-scaling"),be(this.container,"is-animating"),this.isTicking=!1;const{trackingPoints:i}=this,s=i[0],o=i[i.length-1];let a=0,d=0,f=0;o&&s&&(a=o.clientX-s.clientX,d=o.clientY-s.clientY,f=o.time-s.time);const g=((e=window.visualViewport)===null||e===void 0?void 0:e.scale)||1;g!==1&&(a*=g,d*=g);let h=0,y=0,w=0,v=0,C=this.option("decelFriction");const x=this.targetScale;if(f>0){w=Math.abs(a)>3?a/(f/30):0,v=Math.abs(d)>3?d/(f/30):0;const F=this.option("maxVelocity");F&&(w=Math.max(Math.min(w,F),-1*F),v=Math.max(Math.min(v,F),-1*F))}w&&(h=w/(1/(1-C)-1)),v&&(y=v/(1/(1-C)-1)),(this.option("lockAxis")==="y"||this.option("lockAxis")==="xy"&&this.lockedAxis==="y"&&Y(x)===this.minScale)&&(h=w=0),(this.option("lockAxis")==="x"||this.option("lockAxis")==="xy"&&this.lockedAxis==="x"&&Y(x)===this.minScale)&&(y=v=0);const S=this.dragOffset.x,D=this.dragOffset.y,M=this.option("dragMinThreshold")||0;Math.abs(S)<M&&Math.abs(D)<M&&(h=y=0,w=v=0),(this.option("zoom")&&(x<this.minScale-1e-5||x>this.maxScale+1e-5)||t&&!h&&!y)&&(C=.35),this.applyChange({panX:h,panY:y,friction:C}),this.emit("decel",w,v,S,D)}onWheel(e){var t=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(o,a){return Math.abs(a)>Math.abs(o)?a:o});const i=Math.max(-1,Math.min(1,t));if(this.emit("wheel",e,i),this.panMode===Dt||e.defaultPrevented)return;const s=this.option("wheel");s==="pan"?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:2*-e.deltaX,panY:2*-e.deltaY,bounce:!1})):s==="zoom"&&this.option("zoom")!==!1&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){e.key==="Escape"&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}setTransform(){this.emit("beforeTransform");const{current:e,target:t,content:i,contentRect:s}=this,o=Object.assign({},ms);for(const S of wn){const D=S=="e"||S==="f"?vs:Mm;o[S]=Y(e[S],D),Math.abs(t[S]-e[S])<(S=="e"||S==="f"?.51:.001)&&(e[S]=t[S])}let{a,b:d,c:f,d:g,e:h,f:y}=o,w=`matrix(${a}, ${d}, ${f}, ${g}, ${h}, ${y})`,v=i.parentElement instanceof HTMLPictureElement?i.parentElement:i;if(this.option("transformParent")&&(v=v.parentElement||v),v.style.transform===w)return;v.style.transform=w;const{contentWidth:C,contentHeight:x}=this.calculateContentDim();s.width=C,s.height=x,this.emit("afterTransform")}updateMetrics(e=!1){var t;if(!this||this.state===Le.Destroy||this.isContentLoading)return;const i=Math.max(1,((t=window.visualViewport)===null||t===void 0?void 0:t.scale)||1),{container:s,content:o}=this,a=o instanceof HTMLImageElement,d=s.getBoundingClientRect(),f=getComputedStyle(this.container);let g=d.width*i,h=d.height*i;const y=parseFloat(f.paddingTop)+parseFloat(f.paddingBottom),w=g-(parseFloat(f.paddingLeft)+parseFloat(f.paddingRight)),v=h-y;this.containerRect={width:g,height:h,innerWidth:w,innerHeight:v};const C=parseFloat(o.dataset.width||"")||(re=>{let ke=0;return ke=re instanceof HTMLImageElement?re.naturalWidth:re instanceof SVGElement?re.width.baseVal.value:Math.max(re.offsetWidth,re.scrollWidth),ke||0})(o),x=parseFloat(o.dataset.height||"")||(re=>{let ke=0;return ke=re instanceof HTMLImageElement?re.naturalHeight:re instanceof SVGElement?re.height.baseVal.value:Math.max(re.offsetHeight,re.scrollHeight),ke||0})(o);let S=this.option("width",C)||kt,D=this.option("height",x)||kt;const M=S===kt,F=D===kt;typeof S!="number"&&(S=C),typeof D!="number"&&(D=x),M&&(S=C*(D/x)),F&&(D=x/(C/S));let E=o.parentElement instanceof HTMLPictureElement?o.parentElement:o;this.option("transformParent")&&(E=E.parentElement||E);const J=E.getAttribute("style")||"";E.style.setProperty("transform","none","important"),a&&(E.style.width="",E.style.height=""),E.offsetHeight;const V=o.getBoundingClientRect();let G=V.width*i,Q=V.height*i,Ce=G,ce=Q;G=Math.min(G,S),Q=Math.min(Q,D),a?{width:G,height:Q}=((re,ke,Ue,ne)=>{const Be=Ue/re,oe=ne/ke,Oe=Math.min(Be,oe);return{width:re*=Oe,height:ke*=Oe}})(S,D,G,Q):(G=Math.min(G,S),Q=Math.min(Q,D));let De=.5*(ce-Q),xe=.5*(Ce-G);this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:V.top-d.top+De,bottom:d.bottom-V.bottom+De,left:V.left-d.left+xe,right:d.right-V.right+xe,fitWidth:G,fitHeight:Q,width:G,height:Q,fullWidth:S,fullHeight:D}),E.style.cssText=J,a&&(E.style.width=`${G}px`,E.style.height=`${Q}px`),this.setTransform(),e!==!0&&this.emit("refresh"),this.ignoreBounds||(Y(this.targetScale)<Y(this.minScale)?this.zoomTo(this.minScale,{friction:0}):this.targetScale>this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===Le.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}calculateBounds(){const{contentWidth:e,contentHeight:t}=this.calculateContentDim(this.target),{targetScale:i,lockedAxis:s}=this,{fitWidth:o,fitHeight:a}=this.contentRect;let d=0,f=0,g=0,h=0;const y=this.option("infinite");if(y===!0||s&&y===s)d=-1/0,g=1/0,f=-1/0,h=1/0;else{let{containerRect:w,contentRect:v}=this,C=Y(o*i,vs),x=Y(a*i,vs),{innerWidth:S,innerHeight:D}=w;if(w.width===C&&(S=w.width),w.width===x&&(D=w.height),e>S){g=.5*(e-S),d=-1*g;let M=.5*(v.right-v.left);d+=M,g+=M}if(o>S&&e<S&&(d-=.5*(o-S),g-=.5*(o-S)),t>D){h=.5*(t-D),f=-1*h;let M=.5*(v.bottom-v.top);f+=M,h+=M}a>D&&t<D&&(d-=.5*(a-D),g-=.5*(a-D))}return{x:{min:d,max:g},y:{min:f,max:h}}}getBounds(){const e=this.option("bounds");return e!==kt?e:this.calculateBounds()}updateControls(){const e=this,t=e.container,{panMode:i,contentRect:s,targetScale:o,minScale:a}=e;let d=a,f=e.option("click")||!1;f&&(d=e.getNextScale(f));let g=e.canZoomIn(),h=e.canZoomOut(),y=i===Wu&&!!this.option("touch"),w=h&&y;if(y&&(Y(o)<Y(a)&&!this.panOnlyZoomed&&(w=!0),(Y(s.width,1)>Y(s.fitWidth,1)||Y(s.height,1)>Y(s.fitHeight,1))&&(w=!0)),Y(s.width*o,1)<Y(s.fitWidth,1)&&(w=!1),i===Dt&&(w=!1),tn(t,this.cn("isDraggable"),w),!this.option("zoom"))return;let v=g&&Y(d)>Y(o),C=!v&&!w&&h&&Y(d)<Y(o);tn(t,this.cn("canZoomIn"),v),tn(t,this.cn("canZoomOut"),C);for(const x of t.querySelectorAll("[data-panzoom-action]")){let S=!1,D=!1;switch(x.dataset.panzoomAction){case"zoomIn":g?S=!0:D=!0;break;case"zoomOut":h?S=!0:D=!0;break;case"toggleZoom":case"iterateZoom":g||h?S=!0:D=!0;const M=x.querySelector("g");M&&(M.style.display=g?"":"none")}S?(x.removeAttribute("disabled"),x.removeAttribute("tabindex")):D&&(x.setAttribute("disabled",""),x.setAttribute("tabindex","-1"))}}panTo({x:e=this.target.e,y:t=this.target.f,scale:i=this.targetScale,friction:s=this.option("friction"),angle:o=0,originX:a=0,originY:d=0,flipX:f=!1,flipY:g=!1,ignoreBounds:h=!1}){this.state!==Le.Destroy&&this.applyChange({panX:e-this.target.e,panY:t-this.target.f,scale:i/this.targetScale,angle:o,originX:a,originY:d,friction:s,flipX:f,flipY:g,ignoreBounds:h})}applyChange({panX:e=0,panY:t=0,scale:i=1,angle:s=0,originX:o=-this.current.e,originY:a=-this.current.f,friction:d=this.option("friction"),flipX:f=!1,flipY:g=!1,ignoreBounds:h=!1,bounce:y=this.option("bounce")}){const w=this.state;if(w===Le.Destroy)return;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.friction=d||0,this.ignoreBounds=h;const{current:v}=this,C=v.e,x=v.f,S=this.getMatrix(this.target);let D=new DOMMatrix().translate(C,x).translate(o,a).translate(e,t);if(this.option("zoom")){if(!h){const M=this.targetScale,F=this.minScale,E=this.maxScale;M*i<F&&(i=F/M),M*i>E&&(i=E/M)}D=D.scale(i)}D=D.translate(-o,-a).translate(-C,-x).multiply(S),s&&(D=D.rotate(s)),f&&(D=D.scale(-1,1)),g&&(D=D.scale(1,-1));for(const M of wn)M!=="e"&&M!=="f"&&(D[M]>this.minScale+1e-5||D[M]<this.minScale-1e-5)?this.target[M]=D[M]:this.target[M]=Y(D[M],vs);(this.targetScale<this.scale||Math.abs(i-1)>.1||this.panMode===Dt||y===!1)&&!h&&this.clampTargetBounds(),w===Le.Init?this.animate():this.isResting||(this.state=Le.Panning,this.requestTick())}stop(e=!1){if(this.state===Le.Init||this.state===Le.Destroy)return;const t=this.isTicking;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const i of wn)this.velocity[i]=0,e==="current"?this.current[i]=this.target[i]:e==="target"&&(this.target[i]=this.current[i]);this.setTransform(),be(this.container,"is-scaling"),be(this.container,"is-animating"),this.isTicking=!1,this.state=Le.Ready,t&&(this.emit("endAnimation"),this.updateControls())}requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),K(this.container,"is-animating"),this.isScaling&&K(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame(()=>this.animate()))}panWithMouse(e,t=this.option("mouseMoveFriction")){if(this.pmme=e,this.panMode!==Dt||!e||Y(this.targetScale)<=Y(this.minScale))return;this.emit("mouseMove",e);const{container:i,containerRect:s,contentRect:o}=this,a=s.width,d=s.height,f=i.getBoundingClientRect(),g=(e.clientX||0)-f.left,h=(e.clientY||0)-f.top;let{contentWidth:y,contentHeight:w}=this.calculateContentDim(this.target);const v=this.option("mouseMoveFactor");v>1&&(y!==a&&(y*=v),w!==d&&(w*=v));let C=.5*(y-a)-g/a*100/100*(y-a);C+=.5*(o.right-o.left);let x=.5*(w-d)-h/d*100/100*(w-d);x+=.5*(o.bottom-o.top),this.applyChange({panX:C-this.target.e,panY:x-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===Le.Destroy||this.state===Le.Init)return;const t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;var i=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(g,h){return Math.abs(h)>Math.abs(g)?h:g});const s=Math.max(-1,Math.min(1,i)),{targetScale:o,maxScale:a,minScale:d}=this;let f=o*(100+45*s)/100;Y(f)<Y(d)&&Y(o)<=Y(d)?(this.cwd+=Math.abs(s),f=d):Y(f)>Y(a)&&Y(o)>=Y(a)?(this.cwd+=Math.abs(s),f=a):(this.cwd=0,f=Math.max(Math.min(f,a),d)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),Y(f)!==Y(o)&&this.zoomTo(f,{event:e}))}canZoomIn(){return this.option("zoom")&&(Y(this.contentRect.width,1)<Y(this.contentRect.fitWidth,1)||Y(this.targetScale)<Y(this.maxScale))}canZoomOut(){return this.option("zoom")&&Y(this.targetScale)>Y(this.minScale)}zoomIn(e=1.25,t){this.zoomTo(this.targetScale*e,t)}zoomOut(e=.8,t){this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.getNextScale("toggleZoom"),e)}toggleMax(e){this.zoomTo(this.getNextScale("toggleMax"),e)}toggleCover(e){this.zoomTo(this.getNextScale("toggleCover"),e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(e=1,{friction:t=kt,originX:i=kt,originY:s=kt,event:o}={}){if(this.isContentLoading||this.state===Le.Destroy)return;const{targetScale:a,fullScale:d,maxScale:f,coverScale:g}=this;if(this.stop(),this.panMode===Dt&&(o=this.pmme||o),o||i===kt||s===kt){const y=this.content.getBoundingClientRect(),w=this.container.getBoundingClientRect(),v=o?o.clientX:w.left+.5*w.width,C=o?o.clientY:w.top+.5*w.height;i=v-y.left-.5*y.width,s=C-y.top-.5*y.height}let h=1;typeof e=="number"?h=e:e==="full"?h=d:e==="cover"?h=g:e==="max"?h=f:e==="fit"?h=1:e==="next"&&(h=this.getNextScale("iterateZoom")),h=h/a||1,t=t===kt?h>1?.15:.25:t,this.applyChange({scale:h,originX:i,originY:s,friction:t}),o&&this.panMode===Dt&&this.panWithMouse(o,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-i.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-i.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){const{container:e}=this,t=this.cn("inFullscreen"),i=this.cn("htmlHasFullscreen");e.classList.toggle(t);const s=e.classList.contains(t);s?(document.documentElement.classList.add(i),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(i),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(s?"enterFS":"exitFS")}getMatrix(e=this.current){const{a:t,b:i,c:s,d:o,e:a,f:d}=e;return new DOMMatrix([t,i,s,o,a,d])}reset(e){if(this.state!==Le.Init&&this.state!==Le.Destroy){this.stop("current");for(const t of wn)this.target[t]=ms[t];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=e===void 0?this.option("friction"):e,this.state=Le.Panning,this.requestTick())}}destroy(){this.stop(),this.state=Le.Destroy,this.detachEvents(),this.detachObserver();const{container:e,content:t}=this,i=this.option("classes")||{};for(const s of Object.values(i))e.classList.remove(s+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}};Object.defineProperty(Sr,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Rm}),Object.defineProperty(Sr,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});const Gu=function(n,e){let t=!0;return(...i)=>{t&&(t=!1,n(...i),setTimeout(()=>{t=!0},e))}},Yu=(n,e)=>{let t=[];return n.childNodes.forEach(i=>{i.nodeType!==Node.ELEMENT_NODE||e&&!i.matches(e)||t.push(i)}),t},Pm={viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}};var We;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Destroy=2]="Destroy"})(We||(We={}));const ja=n=>{if(typeof n=="string"||n instanceof HTMLElement)n={html:n};else{const e=n.thumb;e!==void 0&&(typeof e=="string"&&(n.thumbSrc=e),e instanceof HTMLImageElement&&(n.thumbEl=e,n.thumbElSrc=e.src,n.thumbSrc=e.src),delete n.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},n)},Im=(n={})=>Object.assign({index:-1,slides:[],dim:0,pos:-1},n);let Ft=class extends qs{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}};const Nm={classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'<button type="button" data-carousel-page="%i" aria-label="{{GOTO}}"><span class="f-carousel__dot" aria-hidden="true"></span></button>',dynamicFrom:11,maxCount:1/0,minCount:2};let Uf=class extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;if(!e){e=document.createElement("ul"),K(e,this.cn("list")),e.setAttribute("role","tablist");const t=this.instance.container;t.appendChild(e),K(t,this.cn("hasDots")),this.list=e}return e}refresh(){var e;const t=this.instance.pages.length,i=Math.min(2,this.option("minCount")),s=Math.max(2e3,this.option("maxCount")),o=this.option("dynamicFrom");if(t<i||t>s)return void this.cleanup();const a=typeof o=="number"&&t>5&&t>=o,d=!this.list||this.isDynamic!==a||this.list.children.length!==t;d&&this.cleanup();const f=this.build();if(tn(f,this.cn("isDynamic"),!!a),d)for(let y=0;y<t;y++)f.append(this.createItem(y));let g,h=0;for(const y of[...f.children]){const w=h===this.instance.page;w&&(g=y),tn(y,this.cn("isCurrent"),w),(e=y.children[0])===null||e===void 0||e.setAttribute("aria-selected",w?"true":"false");for(const v of["isBeforePrev","isPrev","isNext","isAfterNext"])be(y,this.cn(v));h++}if(g=g||f.firstChild,a&&g){const y=g.previousElementSibling,w=y&&y.previousElementSibling;K(y,this.cn("isPrev")),K(w,this.cn("isBeforePrev"));const v=g.nextElementSibling,C=v&&v.nextElementSibling;K(v,this.cn("isNext")),K(C,this.cn("isAfterNext"))}this.isDynamic=a}createItem(e=0){var t;const i=document.createElement("li");i.setAttribute("role","presentation");const s=en(this.instance.localize(this.option("dotTpl"),[["%d",e+1]]).replace(/\%i/g,e+""));return i.appendChild(s),(t=i.children[0])===null||t===void 0||t.setAttribute("role","tab"),i}cleanup(){this.list&&(this.list.remove(),this.list=null),this.isDynamic=!1,be(this.instance.container,this.cn("hasDots"))}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}};Object.defineProperty(Uf,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Nm});const bs="disabled",ys="next",qu="prev";let Gf=class extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prev",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"next",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isDom",{enumerable:!0,configurable:!0,writable:!0,value:!1})}onRefresh(){const e=this.instance,t=e.pages.length,i=e.page;if(t<2)return void this.cleanup();this.build();let s=this.prev,o=this.next;s&&o&&(s.removeAttribute(bs),o.removeAttribute(bs),e.isInfinite||(i<=0&&s.setAttribute(bs,""),i>=t-1&&o.setAttribute(bs,"")))}addBtn(e){var t;const i=this.instance,s=document.createElement("button");s.setAttribute("tabindex","0"),s.setAttribute("title",i.localize(`{{${e.toUpperCase()}}}`)),K(s,this.cn("button")+" "+this.cn(e===ys?"isNext":"isPrev"));const o=i.isRTL?e===ys?qu:ys:e;var a;return s.innerHTML=i.localize(this.option(`${o}Tpl`)),s.dataset[`carousel${a=e,a?a.match("^[a-z]")?a.charAt(0).toUpperCase()+a.substring(1):a:""}`]="true",(t=this.container)===null||t===void 0||t.appendChild(s),s}build(){const e=this.instance.container,t=this.cn("container");let{container:i,prev:s,next:o}=this;i||(i=e.querySelector("."+t),this.isDom=!!i),i||(i=document.createElement("div"),K(i,t),e.appendChild(i)),this.container=i,o||(o=i.querySelector("[data-carousel-next]")),o||(o=this.addBtn(ys)),this.next=o,s||(s=i.querySelector("[data-carousel-prev]")),s||(s=this.addBtn(qu)),this.prev=s}cleanup(){this.isDom||(this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove()),this.prev=null,this.next=null,this.container=null,this.isDom=!1}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}};Object.defineProperty(Gf,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>',prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>'}});let Yf=class extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){const{nav:e,target:t}=this;e&&t&&(e.options.initialSlide=t.options.initialPage,e.state===We.Ready?this.onNavReady(e):e.on("ready",this.onNavReady),t.state===We.Ready?this.onTargetReady(t):t.on("ready",this.onTargetReady))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,i){this.onNavTouch(e,e.panzoom,i)}onNavTouch(e,t,i){var s,o;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;const a=i.target,{nav:d,target:f}=this;if(!d||!f||!a)return;const g=a.closest("[data-index]");if(i.stopPropagation(),i.preventDefault(),!g)return;const h=parseInt(g.dataset.index||"",10)||0,y=f.getPageForSlide(h),w=d.getPageForSlide(h);d.slideTo(w),f.slideTo(y,{friction:((o=(s=this.nav)===null||s===void 0?void 0:s.plugins)===null||o===void 0?void 0:o.Sync.option("friction"))||0}),this.markSelectedSlide(h)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){var e,t;const{target:i,nav:s}=this;if(!i||!s||s.state!==We.Ready||i.state!==We.Ready)return;const o=(t=(e=i.pages[i.page])===null||e===void 0?void 0:e.slides[0])===null||t===void 0?void 0:t.index,a=s.getPageForSlide(o);this.markSelectedSlide(o),s.slideTo(a,s.prevPage===null&&i.prevPage===null?{friction:0}:void 0)}markSelectedSlide(e){const t=this.nav;t&&t.state===We.Ready&&(this.selectedIndex=e,[...t.slides].map(i=>{i.el&&i.el.classList[i.index===e?"add":"remove"]("is-nav-selected")}))}attach(){const e=this;let t=e.options.target,i=e.options.nav;t?e.addAsNavFor(t):i&&e.addAsTargetFor(i)}detach(){const e=this,t=e.nav,i=e.target;t&&(t.off("ready",e.onNavReady),t.off("createSlide",e.onNavCreateSlide),t.off("Panzoom.click",e.onNavClick),t.off("Panzoom.touchEnd",e.onNavTouch)),e.nav=null,i&&(i.off("ready",e.onTargetReady),i.off("refresh",e.onTargetChange),i.off("change",e.onTargetChange)),e.target=null}};Object.defineProperty(Yf,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});const $m={Navigation:Gf,Dots:Uf,Sync:Yf},ws="animationend",Zu="isSelected",_s="slide";let zs=class vl extends Il{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===We.Ready}get isInfinite(){let e=!1;const{contentDim:t,viewportDim:i,pages:s,slides:o}=this,a=o[0];return s.length>=2&&a&&t+a.dim>=i&&(e=this.option("infinite")),e}get isRTL(){return this.option("direction")==="rtl"}get isHorizontal(){return this.option("axis")==="x"}constructor(e,t={},i={}){if(super(),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:We.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),typeof e=="string"&&(e=document.querySelector(e)),!e||!dt(e))throw new Error("No Element found");this.container=e,this.slideNext=Gu(this.slideNext.bind(this),150),this.slidePrev=Gu(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=i,queueMicrotask(()=>{this.processOptions()})}processOptions(){var e,t;const i=ft({},vl.defaults,this.userOptions);let s="";const o=i.breakpoints;if(o&&ml(o))for(const[a,d]of Object.entries(o))window.matchMedia(a).matches&&ml(d)&&(s+=a,ft(i,d));s===this.bp&&this.state!==We.Init||(this.bp=s,this.state===We.Ready&&(i.initialSlide=((t=(e=this.pages[this.page])===null||e===void 0?void 0:e.slides[0])===null||t===void 0?void 0:t.index)||0),this.state!==We.Init&&this.destroy(),super.setOptions(i),this.option("enabled")===!1?this.attachEvents():setTimeout(()=>{this.init()},0))}init(){this.state=We.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},vl.Plugins),this.userPlugins)),this.emit("attachPlugins"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=We.Ready,this.emit("ready")}initLayout(){const{container:e}=this,t=this.option("classes");K(e,this.cn("container")),tn(e,t.isLTR,!this.isRTL),tn(e,t.isRTL,this.isRTL),tn(e,t.isVertical,!this.isHorizontal),tn(e,t.isHorizontal,this.isHorizontal);let i=this.option("viewport")||e.querySelector(`.${t.viewport}`);i||(i=document.createElement("div"),K(i,t.viewport),i.append(...Yu(e,`.${t.slide}`)),e.prepend(i)),i.addEventListener("scroll",this.onScroll);let s=this.option("track")||e.querySelector(`.${t.track}`);s||(s=document.createElement("div"),K(s,t.track),s.append(...Array.from(i.childNodes))),s.setAttribute("aria-live","polite"),i.contains(s)||i.prepend(s),this.viewport=i,this.track=s,this.emit("initLayout")}initSlides(){const{track:e}=this;if(!e)return;const t=[...this.slides],i=[];[...Yu(e,`.${this.cn(_s)}`)].forEach(s=>{if(dt(s)){const o=ja({el:s,isDom:!0,index:this.slides.length});i.push(o)}});for(let s of[...this.option("slides",[])||[],...t])i.push(ja(s));this.slides=i;for(let s=0;s<this.slides.length;s++)this.slides[s].index=s;for(const s of i)this.emit("beforeInitSlide",s,s.index),this.emit("initSlide",s,s.index);this.emit("initSlides")}setInitialPage(){const e=this.option("initialSlide");this.page=typeof e=="number"?this.getPageForSlide(e):parseInt(this.option("initialPage",0)+"",10)||0}setInitialPosition(){const{track:e,pages:t,isHorizontal:i}=this;if(!e||!t.length)return;let s=this.page;t[s]||(this.page=s=0);const o=(t[s].pos||0)*(this.isRTL&&i?1:-1),a=i?`${o}px`:"0",d=i?"0":`${o}px`;e.style.transform=`translate3d(${a}, ${d}, 0) scale(1)`,this.option("adaptiveHeight")&&this.setViewportHeight()}initPanzoom(){this.panzoom&&(this.panzoom.destroy(),this.panzoom=null);const e=this.option("Panzoom")||{};this.panzoom=new Sr(this.viewport,ft({},{content:this.track,zoom:!1,panOnlyZoomed:!1,lockAxis:this.isHorizontal?"x":"y",infinite:this.isInfinite,click:!1,dblClick:!1,touch:t=>!(this.pages.length<2&&!t.options.infinite),bounds:()=>this.getBounds(),maxVelocity:t=>Math.abs(t.target[this.axis]-t.current[this.axis])<2*this.viewportDim?100:0},e)),this.panzoom.on("*",(t,i,...s)=>{this.emit(`Panzoom.${i}`,t,...s)}),this.panzoom.on("decel",this.onDecel),this.panzoom.on("refresh",this.onRefresh),this.panzoom.on("beforeTransform",this.onBeforeTransform),this.panzoom.on("endAnimation",this.onEndAnimation)}attachEvents(){const e=this.container;e&&(e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("slideTo",this.onSlideTo)),window.addEventListener("resize",this.onResize)}createPages(){let e=[];const{contentDim:t,viewportDim:i}=this;let s=this.option("slidesPerPage");s=(s==="auto"||t<=i)&&this.option("fill")!==!1?1/0:parseFloat(s+"");let o=0,a=0,d=0;for(const f of this.slides)(!e.length||a+f.dim-i>.05||d>=s)&&(e.push(Im()),o=e.length-1,a=0,d=0),e[o].slides.push(f),a+=f.dim+f.gap,d++;return e}processPages(){const e=this.pages,{contentDim:t,viewportDim:i,isInfinite:s}=this,o=this.option("center"),a=this.option("fill"),d=a&&o&&t>i&&!s;if(e.forEach((h,y)=>{var w;h.index=y,h.pos=((w=h.slides[0])===null||w===void 0?void 0:w.pos)||0,h.dim=0;for(const[v,C]of h.slides.entries())h.dim+=C.dim,v<h.slides.length-1&&(h.dim+=C.gap);d&&h.pos+.5*h.dim<.5*i?h.pos=0:d&&h.pos+.5*h.dim>=t-.5*i?h.pos=t-i:o&&(h.pos+=-.5*(i-h.dim))}),e.forEach(h=>{a&&!s&&t>i&&(h.pos=Math.max(h.pos,0),h.pos=Math.min(h.pos,t-i)),h.pos=Y(h.pos,1e3),h.dim=Y(h.dim,1e3),Math.abs(h.pos)<=.1&&(h.pos=0)}),s)return e;const f=[];let g;return e.forEach(h=>{const y=Object.assign({},h);g&&y.pos===g.pos?(g.dim+=y.dim,g.slides=[...g.slides,...y.slides]):(y.index=f.length,g=y,f.push(y))}),f}getPageFromIndex(e=0){const t=this.pages.length;let i;return e=parseInt((e||0).toString())||0,i=this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0),i}getSlideMetrics(e){var t,i;const s=this.isHorizontal?"width":"height";let o=0,a=0,d=e.el;const f=!(!d||d.parentNode);if(d?o=parseFloat(d.dataset[s]||"")||0:(d=document.createElement("div"),d.style.visibility="hidden",(this.track||document.body).prepend(d)),K(d,this.cn(_s)+" "+e.class+" "+e.customClass),o)d.style[s]=`${o}px`,d.style[s==="width"?"height":"width"]="";else{f&&(this.track||document.body).prepend(d),o=d.getBoundingClientRect()[s]*Math.max(1,((t=window.visualViewport)===null||t===void 0?void 0:t.scale)||1);let h=d[this.isHorizontal?"offsetWidth":"offsetHeight"];h-1>o&&(o=h)}const g=getComputedStyle(d);return g.boxSizing==="content-box"&&(this.isHorizontal?(o+=parseFloat(g.paddingLeft)||0,o+=parseFloat(g.paddingRight)||0):(o+=parseFloat(g.paddingTop)||0,o+=parseFloat(g.paddingBottom)||0)),a=parseFloat(g[this.isHorizontal?"marginRight":"marginBottom"])||0,f?(i=d.parentElement)===null||i===void 0||i.removeChild(d):e.el||d.remove(),{dim:Y(o,1e3),gap:Y(a,1e3)}}getBounds(){const{isInfinite:e,isRTL:t,isHorizontal:i,pages:s}=this;let o={min:0,max:0};if(e)o={min:-1/0,max:1/0};else if(s.length){const a=s[0].pos,d=s[s.length-1].pos;o=t&&i?{min:a,max:d}:{min:-1*d,max:-1*a}}return{x:i?o:{min:0,max:0},y:i?{min:0,max:0}:o}}repositionSlides(){let e,{isHorizontal:t,isRTL:i,isInfinite:s,viewport:o,viewportDim:a,contentDim:d,page:f,pages:g,slides:h,panzoom:y}=this,w=0,v=0,C=0,x=0;y?x=-1*y.current[this.axis]:g[f]&&(x=g[f].pos||0),e=t?i?"right":"left":"top",i&&t&&(x*=-1);for(const F of h){const E=F.el;E?(e==="top"?(E.style.right="",E.style.left=""):E.style.top="",F.index!==w?E.style[e]=v===0?"":`${Y(v,1e3)}px`:E.style[e]="",C+=F.dim+F.gap,w++):v+=F.dim+F.gap}if(s&&C&&o){let F=getComputedStyle(o),E="padding",J=t?"Right":"Bottom",V=parseFloat(F[E+(t?"Left":"Top")]);x-=V,a+=V,a+=parseFloat(F[E+J]);for(const G of h)G.el&&(Y(G.pos)<Y(a)&&Y(G.pos+G.dim+G.gap)<Y(x)&&Y(x)>Y(d-a)&&(G.el.style[e]=`${Y(v+C,1e3)}px`),Y(G.pos+G.gap)>=Y(d-a)&&Y(G.pos)>Y(x+a)&&Y(x)<Y(a)&&(G.el.style[e]=`-${Y(C,1e3)}px`))}let S,D,M=[...this.inTransition];if(M.length>1&&(S=g[M[0]],D=g[M[1]]),S&&D){let F=0;for(const E of h)E.el?this.inTransition.has(E.index)&&S.slides.indexOf(E)<0&&(E.el.style[e]=`${Y(F+(S.pos-D.pos),1e3)}px`):F+=E.dim+E.gap}}createSlideEl(e){const{track:t,slides:i}=this;if(!t||!e||e.el&&e.el.parentNode)return;const s=e.el||document.createElement("div");K(s,this.cn(_s)),K(s,e.class),K(s,e.customClass);const o=e.html;o&&(o instanceof HTMLElement?s.appendChild(o):s.innerHTML=e.html+"");const a=[];i.forEach((h,y)=>{h.el&&a.push(y)});const d=e.index;let f=null;a.length&&(f=i[a.reduce((h,y)=>Math.abs(y-d)<Math.abs(h-d)?y:h)]);const g=f&&f.el&&f.el.parentNode?f.index<e.index?f.el.nextSibling:f.el:null;t.insertBefore(s,t.contains(g)?g:null),e.el=s,this.emit("createSlide",e)}removeSlideEl(e,t=!1){const i=e==null?void 0:e.el;if(!i||!i.parentNode)return;const s=this.cn(Zu);if(i.classList.contains(s)&&(be(i,s),this.emit("unselectSlide",e)),e.isDom&&!t)return i.removeAttribute("aria-hidden"),i.removeAttribute("data-index"),void(i.style.left="");this.emit("removeSlide",e);const o=new CustomEvent(ws);i.dispatchEvent(o),e.el&&(e.el.remove(),e.el=null)}transitionTo(e=0,t=this.option("transition")){var i,s,o,a;if(!t)return!1;const d=this.page,{pages:f,panzoom:g}=this;e=parseInt((e||0).toString())||0;const h=this.getPageFromIndex(e);if(!g||!f[h]||f.length<2||Math.abs((((s=(i=f[d])===null||i===void 0?void 0:i.slides[0])===null||s===void 0?void 0:s.dim)||0)-this.viewportDim)>1)return!1;let y=e>d?1:-1;this.isInfinite&&(d===0&&e===f.length-1&&(y=-1),d===f.length-1&&e===0&&(y=1));const w=f[h].pos*(this.isRTL?1:-1);if(d===h&&Math.abs(w-g.target[this.axis])<1)return!1;this.clearTransitions();const v=g.isResting;K(this.container,this.cn("inTransition"));const C=((o=f[d])===null||o===void 0?void 0:o.slides[0])||null,x=((a=f[h])===null||a===void 0?void 0:a.slides[0])||null;this.inTransition.add(x.index),this.createSlideEl(x);let S=C.el,D=x.el;v||t===_s||(t="fadeFast",S=null);const M=this.isRTL?"next":"prev",F=this.isRTL?"prev":"next";return S&&(this.inTransition.add(C.index),C.transition=t,S.addEventListener(ws,this.onAnimationEnd),S.classList.add(`f-${t}Out`,`to-${y>0?F:M}`)),D&&(x.transition=t,D.addEventListener(ws,this.onAnimationEnd),D.classList.add(`f-${t}In`,`from-${y>0?M:F}`)),g.current[this.axis]=w,g.target[this.axis]=w,g.requestTick(),this.onChange(h),!0}manageSlideVisiblity(){const e=new Set,t=new Set,i=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(const s of this.slides)i.has(s)?e.add(s):t.add(s);for(const s of this.inTransition)e.add(this.slides[s]);for(const s of e)this.createSlideEl(s),this.lazyLoadSlide(s);for(const s of t)e.has(s)||this.removeSlideEl(s);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;const e="aria-hidden";let t=this.cn(Zu);if(t)for(const i of this.slides){const s=i.el;s&&(s.dataset.index=`${i.index}`,s.classList.contains("f-thumbs__slide")?this.getVisibleSlides(0).has(i)?s.removeAttribute(e):s.setAttribute(e,"true"):this.pages[this.page].slides.includes(i)?(s.classList.contains(t)||(K(s,t),this.emit("selectSlide",i)),s.removeAttribute(e)):(s.classList.contains(t)&&(be(s,t),this.emit("unselectSlide",i)),s.setAttribute(e,"true")))}}flipInfiniteTrack(){const{axis:e,isHorizontal:t,isInfinite:i,isRTL:s,viewportDim:o,contentDim:a}=this,d=this.panzoom;if(!d||!i)return;let f=d.current[e],g=d.target[e]-f,h=0,y=.5*o;s&&t?(f<-y&&(h=-1,f+=a),f>a-y&&(h=1,f-=a)):(f>y&&(h=1,f-=a),f<-a+y&&(h=-1,f+=a)),h&&(d.current[e]=f,d.target[e]=f+g)}lazyLoadImg(e,t){const i=this,s="f-fadeIn",o="is-preloading";let a=!1,d=null;const f=()=>{a||(a=!0,d&&(d.remove(),d=null),be(t,o),t.complete&&(K(t,s),setTimeout(()=>{be(t,s)},350)),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(i.updateMetrics(),i.setViewportHeight()),this.emit("load",e))};K(t,o),t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.addEventListener("error",()=>{f()}),t.addEventListener("load",()=>{f()}),setTimeout(()=>{const g=t.parentNode;g&&e.el&&(t.complete?f():a||(d=en(Nl),g.insertBefore(d,t)))},300)}lazyLoadSlide(e){const t=e&&e.el;if(!t)return;const i=new Set;let s=Array.from(t.querySelectorAll("[data-lazy-src],[data-lazy-srcset]"));t.dataset.lazySrc&&s.push(t),s.map(o=>{o instanceof HTMLImageElement?i.add(o):o instanceof HTMLElement&&o.dataset.lazySrc&&(o.style.backgroundImage=`url('${o.dataset.lazySrc}')`,delete o.dataset.lazySrc)});for(const o of i)this.lazyLoadImg(e,o)}onAnimationEnd(e){var t;const i=e.target,s=i?parseInt(i.dataset.index||"",10)||0:-1,o=this.slides[s],a=e.animationName;if(!i||!o||!a)return;const d=!!this.inTransition.has(s)&&o.transition;d&&a.substring(0,d.length+2)===`f-${d}`&&this.inTransition.delete(s),this.inTransition.size||this.clearTransitions(),s===this.page&&(!((t=this.panzoom)===null||t===void 0)&&t.isResting)&&this.emit("settle")}onDecel(e,t=0,i=0,s=0,o=0){if(this.option("dragFree"))return void this.setPageFromPosition();const{isRTL:a,isHorizontal:d,axis:f,pages:g}=this,h=g.length,y=Math.abs(Math.atan2(i,t)/(Math.PI/180));let w=0;if(w=y>45&&y<135?d?0:i:d?t:0,!h)return;let v=this.page,C=a&&d?1:-1;const x=e.current[f]*C;let{pageIndex:S}=this.getPageFromPosition(x);Math.abs(w)>5?(g[v].dim<document.documentElement["client"+(this.isHorizontal?"Width":"Height")]-1&&(v=S),v=a&&d?w<0?v-1:v+1:w<0?v+1:v-1):v=s===0&&o===0?v:S,this.slideTo(v,{transition:!1,friction:e.option("decelFriction")})}onClick(e){const t=e.target,i=t&&dt(t)?t.dataset:null;let s,o;i&&(i.carouselPage!==void 0?(o="slideTo",s=i.carouselPage):i.carouselNext!==void 0?o="slideNext":i.carouselPrev!==void 0&&(o="slidePrev")),o?(e.preventDefault(),e.stopPropagation(),t&&!t.hasAttribute("disabled")&&this[o](s)):this.emit("click",e)}onSlideTo(e){const t=e.detail||0;this.slideTo(this.getPageForSlide(t),{friction:0})}onChange(e,t=0){const i=this.page;this.prevPage=i,this.page=e,this.option("adaptiveHeight")&&this.setViewportHeight(),e!==i&&(this.markSelectedSlides(),this.emit("change",e,i,t))}onRefresh(){let e=this.contentDim,t=this.viewportDim;this.updateMetrics(),this.contentDim===e&&this.viewportDim===t||this.slideTo(this.page,{friction:0,transition:!1})}onScroll(){var e;(e=this.viewport)===null||e===void 0||e.scroll(0,0)}onResize(){this.option("breakpoints")&&this.processOptions()}onBeforeTransform(e){this.lp!==e.current[this.axis]&&(this.flipInfiniteTrack(),this.manageSlideVisiblity()),this.lp=e.current.e}onEndAnimation(){this.inTransition.size||this.emit("settle")}reInit(e=null,t=null){this.destroy(),this.state=We.Init,this.prevPage=null,this.userOptions=e||this.userOptions,this.userPlugins=t||this.userPlugins,this.processOptions()}slideTo(e=0,{friction:t=this.option("friction"),transition:i=this.option("transition")}={}){if(this.state===We.Destroy)return;e=parseInt((e||0).toString())||0;const s=this.getPageFromIndex(e),{axis:o,isHorizontal:a,isRTL:d,pages:f,panzoom:g}=this,h=f.length,y=d&&a?1:-1;if(!g||!h)return;if(this.page!==s){const v=new Event("beforeChange",{bubbles:!0,cancelable:!0});if(this.emit("beforeChange",v,e),v.defaultPrevented)return}if(this.transitionTo(e,i))return;let w=f[s].pos;if(this.isInfinite){const v=this.contentDim,C=g.target[o]*y;h===2?w+=v*Math.floor(parseFloat(e+"")/2):w=[w,w-v,w+v].reduce(function(x,S){return Math.abs(S-C)<Math.abs(x-C)?S:x})}w*=y,Math.abs(g.target[o]-w)<1||(g.panTo({x:a?w:0,y:a?0:w,friction:t}),this.onChange(s))}slideToClosest(e){if(this.panzoom){const{pageIndex:t}=this.getPageFromPosition();this.slideTo(t,e)}}slideNext(){this.slideTo(this.page+1)}slidePrev(){this.slideTo(this.page-1)}clearTransitions(){this.inTransition.clear(),be(this.container,this.cn("inTransition"));const e=["to-prev","to-next","from-prev","from-next"];for(const t of this.slides){const i=t.el;if(i){i.removeEventListener(ws,this.onAnimationEnd),i.classList.remove(...e);const s=t.transition;s&&i.classList.remove(`f-${s}Out`,`f-${s}In`)}}this.manageSlideVisiblity()}addSlide(e,t){var i,s,o,a;const d=this.panzoom,f=((i=this.pages[this.page])===null||i===void 0?void 0:i.pos)||0,g=((s=this.pages[this.page])===null||s===void 0?void 0:s.dim)||0,h=this.contentDim<this.viewportDim;let y=Array.isArray(t)?t:[t];const w=[];for(const v of y)w.push(ja(v));this.slides.splice(e,0,...w);for(let v=0;v<this.slides.length;v++)this.slides[v].index=v;for(const v of w)this.emit("beforeInitSlide",v,v.index);if(this.page>=e&&(this.page+=w.length),this.updateMetrics(),d){const v=((o=this.pages[this.page])===null||o===void 0?void 0:o.pos)||0,C=((a=this.pages[this.page])===null||a===void 0?void 0:a.dim)||0,x=this.pages.length||1,S=this.isRTL?g-C:C-g,D=this.isRTL?f-v:v-f;h&&x===1?(e<=this.page&&(d.current[this.axis]-=S,d.target[this.axis]-=S),d.panTo({[this.isHorizontal?"x":"y"]:-1*v})):D&&e<=this.page&&(d.target[this.axis]-=D,d.current[this.axis]-=D,d.requestTick())}for(const v of w)this.emit("initSlide",v,v.index)}prependSlide(e){this.addSlide(0,e)}appendSlide(e){this.addSlide(this.slides.length,e)}removeSlide(e){const t=this.slides.length;e=(e%t+t)%t;const i=this.slides[e];if(i){this.removeSlideEl(i,!0),this.slides.splice(e,1);for(let s=0;s<this.slides.length;s++)this.slides[s].index=s;this.updateMetrics(),this.slideTo(this.page,{friction:0,transition:!1}),this.emit("destroySlide",i)}}updateMetrics(){const{panzoom:e,viewport:t,track:i,slides:s,isHorizontal:o,isInfinite:a}=this;if(!i)return;const d=o?"width":"height",f=o?"offsetWidth":"offsetHeight";if(t){let y=Math.max(t[f],Y(t.getBoundingClientRect()[d],1e3)),w=getComputedStyle(t),v="padding",C=o?"Right":"Bottom";y-=parseFloat(w[v+(o?"Left":"Top")])+parseFloat(w[v+C]),this.viewportDim=y}let g,h=0;for(const[y,w]of s.entries()){let v=0,C=0;!w.el&&g?(v=g.dim,C=g.gap):({dim:v,gap:C}=this.getSlideMetrics(w),g=w),v=Y(v,1e3),C=Y(C,1e3),w.dim=v,w.gap=C,w.pos=h,h+=v,(a||y<s.length-1)&&(h+=C)}h=Y(h,1e3),this.contentDim=h,e&&(e.contentRect[d]=h,e.contentRect[o?"fullWidth":"fullHeight"]=h),this.pages=this.createPages(),this.pages=this.processPages(),this.state===We.Init&&this.setInitialPage(),this.page=Math.max(0,Math.min(this.page,this.pages.length-1)),this.manageSlideVisiblity(),this.emit("refresh")}getProgress(e,t=!1,i=!1){e===void 0&&(e=this.page);const s=this,o=s.panzoom,a=s.contentDim,d=s.pages[e]||0;if(!d||!o)return e>this.page?-1:1;let f=-1*o.current.e,g=Y((f-d.pos)/(1*d.dim),1e3),h=g,y=g;this.isInfinite&&i!==!0&&(h=Y((f-d.pos+a)/(1*d.dim),1e3),y=Y((f-d.pos-a)/(1*d.dim),1e3));let w=[g,h,y].reduce(function(v,C){return Math.abs(C)<Math.abs(v)?C:v});return t?w:w>1?1:w<-1?-1:w}setViewportHeight(){const{page:e,pages:t,viewport:i,isHorizontal:s}=this;if(!i||!t[e])return;let o=0;s&&this.track&&(this.track.style.height="auto",t[e].slides.forEach(a=>{a.el&&(o=Math.max(o,a.el.offsetHeight))})),i.style.height=o?`${o}px`:""}getPageForSlide(e){for(const t of this.pages)for(const i of t.slides)if(i.index===e)return t.index;return-1}getVisibleSlides(e=0){var t;const i=new Set;let{panzoom:s,contentDim:o,viewportDim:a,pages:d,page:f}=this;if(a){o=o+((t=this.slides[this.slides.length-1])===null||t===void 0?void 0:t.gap)||0;let g=0;g=s&&s.state!==Le.Init&&s.state!==Le.Destroy?-1*s.current[this.axis]:d[f]&&d[f].pos||0,this.isInfinite&&(g-=Math.floor(g/o)*o),this.isRTL&&this.isHorizontal&&(g*=-1);const h=g-a*e,y=g+a*(e+1),w=this.isInfinite?[-1,0,1]:[0];for(const v of this.slides)for(const C of w){const x=v.pos+C*o,S=x+v.dim+v.gap;x<y&&S>h&&i.add(v)}}return i}getPageFromPosition(e){const{viewportDim:t,contentDim:i,slides:s,pages:o,panzoom:a}=this,d=o.length,f=s.length,g=s[0],h=s[f-1],y=this.option("center");let w=0,v=0,C=0,x=e===void 0?-1*((a==null?void 0:a.target[this.axis])||0):e;y&&(x+=.5*t),this.isInfinite?(x<g.pos-.5*h.gap&&(x-=i,C=-1),x>h.pos+h.dim+.5*h.gap&&(x-=i,C=1)):x=Math.max(g.pos||0,Math.min(x,h.pos));let S=h,D=s.find(M=>{const F=M.pos-.5*S.gap,E=M.pos+M.dim+.5*M.gap;return S=M,x>=F&&x<E});return D||(D=h),v=this.getPageForSlide(D.index),w=v+C*d,{page:w,pageIndex:v}}setPageFromPosition(){const{pageIndex:e}=this.getPageFromPosition();this.onChange(e)}destroy(){if([We.Destroy].includes(this.state))return;this.state=We.Destroy;const{container:e,viewport:t,track:i,slides:s,panzoom:o}=this,a=this.option("classes");e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),e.removeEventListener("slideTo",this.onSlideTo),window.removeEventListener("resize",this.onResize),o&&(o.destroy(),this.panzoom=null),s&&s.forEach(f=>{this.removeSlideEl(f)}),this.detachPlugins(),t&&(t.removeEventListener("scroll",this.onScroll),t.offsetParent&&i&&i.offsetParent&&t.replaceWith(...i.childNodes));for(const[f,g]of Object.entries(a))f!=="container"&&g&&e.classList.remove(g);this.track=null,this.viewport=null,this.page=0,this.slides=[];const d=this.events.get("ready");this.events=new Map,d&&this.events.set("ready",d)}};Object.defineProperty(zs,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:Sr}),Object.defineProperty(zs,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Pm}),Object.defineProperty(zs,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:$m});const qf=function(n){if(!dt(n))return 0;const e=window.scrollY,t=window.innerHeight,i=e+t,s=n.getBoundingClientRect(),o=s.y+e,a=s.height,d=o+a;if(e>d||i<o)return 0;if(e<o&&i>d||o<e&&d>i)return 100;let f=a;o<e&&(f-=e-o),d>i&&(f-=d-i);const g=f/t*100;return Math.round(g)},yr=!(typeof window=="undefined"||!window.document||!window.document.createElement);let Ha;const Ba=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),Qu=n=>{if(n&&yr){Ha===void 0&&document.createElement("div").focus({get preventScroll(){return Ha=!0,!1}});try{if(Ha)n.focus({preventScroll:!0});else{const e=window.scrollY||document.body.scrollTop,t=window.scrollX||document.body.scrollLeft;n.focus(),document.body.scrollTo({top:e,left:t,behavior:"auto"})}}catch(e){}}},Zf=()=>{const n=document;let e,t="",i="",s="";return n.fullscreenEnabled?(t="requestFullscreen",i="exitFullscreen",s="fullscreenElement"):n.webkitFullscreenEnabled&&(t="webkitRequestFullscreen",i="webkitExitFullscreen",s="webkitFullscreenElement"),t&&(e={request:function(o=n.documentElement){return t==="webkitRequestFullscreen"?o[t](Element.ALLOW_KEYBOARD_INPUT):o[t]()},exit:function(){return n[s]&&n[i]()},isFullscreen:function(){return n[s]}}),e},bl={animated:!0,autoFocus:!0,backdropClick:"close",Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},closeButton:"auto",closeExisting:!1,commonCaption:!1,compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,contentClick:"toggleZoom",contentDblClick:!1,defaultType:"image",defaultDisplay:"flex",dragToClose:!0,Fullscreen:{autoStart:!1},groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,idle:3500,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Object.assign(Object.assign({},Vf),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),parentEl:null,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,tpl:{closeButton:'<button data-fancybox-close class="f-button is-close-btn" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg></button>',main:`<div class="fancybox__container" role="dialog" aria-modal="true" aria-label="{{MODAL}}" tabindex="-1"> +"/>`,Pa.innerHTML.indexOf(" ")>0}var Rm=!!Fe&&Uu(!1),Pm=!!Fe&&Uu(!0),Im=Z(function(r){var l=Jo(r);return l&&l.innerHTML}),Nm=Me.prototype.$mount;return Me.prototype.$mount=function(r,l){if((r=r&&Jo(r))===document.body||r===document.documentElement)return this;var c=this.$options;if(!c.render){var u=c.template;if(u)if(typeof u=="string")u.charAt(0)==="#"&&(u=Im(u));else{if(!u.nodeType)return this;u=u.innerHTML}else r&&(u=function(L){if(L.outerHTML)return L.outerHTML;var _=document.createElement("div");return _.appendChild(L.cloneNode(!0)),_.innerHTML}(r));if(u){var m=Wu(u,{outputSourceRange:!1,shouldDecodeNewlines:Rm,shouldDecodeNewlinesForHref:Pm,delimiters:c.delimiters,comments:c.comments},this),g=m.render,b=m.staticRenderFns;c.render=g,c.staticRenderFns=b}}return Nm.call(this,r,l)},Me.compile=Wu,ne(Me,V9),Me.effect=function(r,l){var c=new ki(Ne,r,oe,{sync:!0});l&&(c.update=function(){l(function(){return c.run()})})},Me})})(Yf);var Zf=Yf.exports;const Re=$m(Zf),jm=function(n,e,t){for(var i=0;i<n.length;i++)e.call(t,n[i])};function Qf(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)}function Gu(){return Qf()>=768}function zs(){return Qf()>=1200}const q=(n,e=1e4)=>(n=parseFloat(n+"")||0,Math.round((n+Number.EPSILON)*e)/e),wl=function(n){if(!(n&&n instanceof Element&&n.offsetParent))return!1;const e=n.scrollHeight>n.clientHeight,t=window.getComputedStyle(n).overflowY,i=t.indexOf("hidden")!==-1,s=t.indexOf("visible")!==-1;return e&&!i&&!s},Zs=function(n,e=void 0){return!(!n||n===document.body||e&&n===e)&&(wl(n)?n:Zs(n.parentElement,e))},en=function(n){var e=new DOMParser().parseFromString(n,"text/html").body;if(e.childElementCount>1){for(var t=document.createElement("div");e.firstChild;)t.appendChild(e.firstChild);return t}return e.firstChild},Bl=n=>`${n||""}`.split(" ").filter(e=>!!e),tn=(n,e,t)=>{n&&Bl(e).forEach(i=>{n.classList.toggle(i,t||!1)})};let $i=class{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}};const ji={passive:!1};let Hm=class{constructor(e,{start:t=()=>!0,move:i=()=>{},end:s=()=>{}}){Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=t,this.moveCallback=i,this.endCallback=s;for(const o of["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"])this[o]=this[o].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,ji),this.element.addEventListener("touchstart",this.onTouchStart,ji),this.element.addEventListener("touchmove",this.onMove,ji),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||e.button!==0)return;const t=new $i(e);this.currentPointers.some(i=>i.id===t.id)||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new $i(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){const t=this.currentPointers.slice(),i="changedTouches"in e?Array.from(e.changedTouches||[]).map(o=>new $i(o)):[new $i(e)],s=[];for(const o of i){const a=this.currentPointers.findIndex(d=>d.id===o.id);a<0||(s.push(o),this.currentPointers[a]=o)}s.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&e.button!==0||(this.triggerPointerEnd(e,new $i(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new $i(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){const i=this.currentPointers.findIndex(s=>s.id===t.id);i<0||(this.currentPointers.splice(i,1),this.startPointers.splice(i,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){const e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,ji),this.element.removeEventListener("touchstart",this.onTouchStart,ji),this.element.removeEventListener("touchmove",this.onMove,ji),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}};function qu(n,e){return e?Math.sqrt(Math.pow(e.clientX-n.clientX,2)+Math.pow(e.clientY-n.clientY,2)):0}function Yu(n,e){return e?{clientX:(n.clientX+e.clientX)/2,clientY:(n.clientY+e.clientY)/2}:n}const _l=n=>typeof n=="object"&&n!==null&&n.constructor===Object&&Object.prototype.toString.call(n)==="[object Object]",ft=(n,...e)=>{const t=e.length;for(let i=0;i<t;i++){const s=e[i]||{};Object.entries(s).forEach(([o,a])=>{const d=Array.isArray(a)?[]:{};n[o]||Object.assign(n,{[o]:d}),_l(a)?Object.assign(n[o],ft(d,a)):Array.isArray(a)?Object.assign(n,{[o]:[...a]}):Object.assign(n,{[o]:a})})}return n},$a=function(n,e){return n.split(".").reduce((t,i)=>typeof t=="object"?t[i]:void 0,e)};let Qs=class{constructor(e={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}setOptions(e){this.options=e?ft({},this.constructor.defaults,e):{};for(const[t,i]of Object.entries(this.option("on")||{}))this.on(t,i)}option(e,...t){let i=$a(e,this.options);return i&&typeof i=="function"&&(i=i.call(this,this,...t)),i}optionFor(e,t,i,...s){let o=$a(t,e);var a;typeof(a=o)!="string"||isNaN(a)||isNaN(parseFloat(a))||(o=parseFloat(o)),o==="true"&&(o=!0),o==="false"&&(o=!1),o&&typeof o=="function"&&(o=o.call(this,this,e,...s));let d=$a(t,this.options);return d&&typeof d=="function"?o=d.call(this,this,e,...s,o):o===void 0&&(o=d),o===void 0?i:o}cn(e){const t=this.options.classes;return t&&t[e]||""}localize(e,t=[]){e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,(i,s,o)=>{let a="";return o?a=this.option(`${s[0]+s.toLowerCase().substring(1)}.l10n.${o}`):s&&(a=this.option(`l10n.${s}`)),a||(a=i),a});for(let i=0;i<t.length;i++)e=e.split(t[i][0]).join(t[i][1]);return e=e.replace(/\{\{(.*?)\}\}/g,(i,s)=>s)}on(e,t){let i=[];typeof e=="string"?i=e.split(" "):Array.isArray(e)&&(i=e),this.events||(this.events=new Map),i.forEach(s=>{let o=this.events.get(s);o||(this.events.set(s,[]),o=[]),o.includes(t)||o.push(t),this.events.set(s,o)})}off(e,t){let i=[];typeof e=="string"?i=e.split(" "):Array.isArray(e)&&(i=e),i.forEach(s=>{const o=this.events.get(s);if(Array.isArray(o)){const a=o.indexOf(t);a>-1&&o.splice(a,1)}})}emit(e,...t){[...this.events.get(e)||[]].forEach(i=>i(this,...t)),e!=="*"&&this.emit("*",e,...t)}};Object.defineProperty(Qs,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(Qs,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});let Fl=class extends Qs{constructor(e={}){super(e),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(e={}){const t=new Map;for(const[i,s]of Object.entries(e)){const o=this.option(i),a=this.plugins[i];a||o===!1?a&&o===!1&&(a.detach(),delete this.plugins[i]):t.set(i,new s(this,o||{}))}for(const[i,s]of t)this.plugins[i]=s,s.attach()}detachPlugins(e){e=e||Object.keys(this.plugins);for(const t of e){const i=this.plugins[t];i&&i.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}};var Ce;(function(n){n[n.Init=0]="Init",n[n.Error=1]="Error",n[n.Ready=2]="Ready",n[n.Panning=3]="Panning",n[n.Mousemove=4]="Mousemove",n[n.Destroy=5]="Destroy"})(Ce||(Ce={}));const wn=["a","b","c","d","e","f"],Xf={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},Bm={content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:Xf},Zu='<circle cx="25" cy="25" r="20"></circle>',zl='<div class="f-spinner"><svg viewBox="0 0 50 50">'+Zu+Zu+"</svg></div>",dt=n=>n&&n!==null&&n instanceof Element&&"nodeType"in n,ye=(n,e)=>{n&&Bl(e).forEach(t=>{n.classList.remove(t)})},K=(n,e)=>{n&&Bl(e).forEach(t=>{n.classList.add(t)})},vs={a:1,b:0,c:0,d:1,e:0,f:0},Fm=1e5,bs=1e4,Dt="mousemove",Qu="drag",Xu="content",kt="auto";let ja=null,Ha=null,Tr=class Jf extends Fl{get fits(){return this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1}get isTouchDevice(){return Ha===null&&(Ha=window.matchMedia("(hover: none)").matches),Ha}get isMobile(){return ja===null&&(ja=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),ja}get panMode(){return this.options.panMode!==Dt||this.isTouchDevice?Qu:Dt}get panOnlyZoomed(){const e=this.options.panOnlyZoomed;return e===kt?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||0}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){const{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){const{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){const{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){const{containerRect:e,contentRect:t}=this,i=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,i)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){const e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(const e of wn){const t=e=="e"||e==="f"?1e-4:1e-5;if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e,t={},i={}){var s;if(super(t),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Ce.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},vs)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},vs)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw new Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({},Jf.Plugins),i)),this.emit("attachPlugins"),this.emit("init");const o=this.content;if(o.addEventListener("load",this.onLoad),o.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));const a=en(zl);!e.contains(o)||o.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(a):this.spinner=((s=o.parentElement)===null||s===void 0?void 0:s.insertBefore(a,o))||null}this.emit("beforeLoad")}else queueMicrotask(()=>{this.enable()})}initContent(){const{container:e}=this,t=this.cn(Xu);let i=this.option(Xu)||e.querySelector(`.${t}`);if(i||(i=e.querySelector("img,picture")||e.firstElementChild,i&&K(i,t)),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),!i)throw new Error("No content found");this.content=i}onLoad(){const{spinner:e,container:t,state:i}=this;e&&(e.remove(),this.spinner=null),this.option("spinner")&&t.classList.remove(this.cn("isLoading")),this.emit("afterLoad"),i===Ce.Init?this.enable():this.updateMetrics()}onError(){this.state!==Ce.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=Ce.Error,this.emit("error"))}getNextScale(e){const{fullScale:t,targetScale:i,coverScale:s,maxScale:o,minScale:a}=this;let d=a;switch(e){case"toggleMax":d=i-a<.5*(o-a)?o:a;break;case"toggleCover":d=i-a<.5*(s-a)?s:a;break;case"toggleZoom":d=i-a<.5*(t-a)?t:a;break;case"iterateZoom":let f=[1,t,o].sort((h,y)=>h-y),p=f.findIndex(h=>h>i+1e-5);d=f[p]||1}return d}attachObserver(){var e;const t=()=>{const{container:i,containerRect:s}=this;return Math.abs(s.width-i.getBoundingClientRect().width)>.1||Math.abs(s.height-i.getBoundingClientRect().height)>.1};this.resizeObserver||window.ResizeObserver===void 0||(this.resizeObserver=new ResizeObserver(()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout(()=>{t()&&this.onResize(),this.updateTimer=null},500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))})),(e=this.resizeObserver)===null||e===void 0||e.observe(this.container)}detachObserver(){var e;(e=this.resizeObserver)===null||e===void 0||e.disconnect()}attachEvents(){const{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new Hm(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(Dt,this.onMouseMove)}detachEvents(){var e;const{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),(e=this.pointerTracker)===null||e===void 0||e.stop(),this.pointerTracker=null,document.removeEventListener(Dt,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){this.setTargetForce();const e=this.friction,t=this.option("maxVelocity");for(const i of wn)e?(this.velocity[i]*=1-e,t&&!this.isScaling&&(this.velocity[i]=Math.max(Math.min(this.velocity[i],t),-1*t)),this.current[i]+=this.velocity[i]):this.current[i]=this.target[i];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame(()=>this.animate()):this.stop("current")}setTargetForce(){for(const e of wn)e==="e"&&this.isBouncingX||e==="f"&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(e=0,t=0){const{current:i}=this,s=i.e+e,o=i.f+t,a=this.getBounds(),{x:d,y:f}=a,p=d.min,h=d.max,y=f.min,w=f.max;let v=0,C=0;return p!==1/0&&s<p?v=p-s:h!==1/0&&s>h&&(v=h-s),y!==1/0&&o<y?C=y-o:w!==1/0&&o>w&&(C=w-o),Math.abs(v)<1e-4&&(v=0),Math.abs(C)<1e-4&&(C=0),Object.assign(Object.assign({},a),{xDiff:v,yDiff:C,inBounds:!v&&!C})}clampTargetBounds(){const{target:e}=this,{x:t,y:i}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),i.min!==1/0&&(e.f=Math.max(e.f,i.min)),i.max!==1/0&&(e.f=Math.min(e.f,i.max))}calculateContentDim(e=this.current){const{content:t,contentRect:i}=this,{fitWidth:s,fitHeight:o,fullWidth:a,fullHeight:d}=i;let f=a,p=d;if(this.option("zoom")||this.angle!==0){const h=!(t instanceof HTMLImageElement)&&(window.getComputedStyle(t).maxWidth==="none"||window.getComputedStyle(t).maxHeight==="none"),y=h?a:s,w=h?d:o,v=this.getMatrix(e),C=new DOMPoint(0,0).matrixTransform(v),x=new DOMPoint(0+y,0).matrixTransform(v),S=new DOMPoint(0+y,0+w).matrixTransform(v),D=new DOMPoint(0,0+w).matrixTransform(v),R=Math.abs(S.x-C.x),z=Math.abs(S.y-C.y),E=Math.abs(D.x-x.x),X=Math.abs(D.y-x.y);f=Math.max(R,E),p=Math.max(z,X)}return{contentWidth:f,contentHeight:p}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===Dt||this.targetScale<this.scale)return this.isBouncingX=!1,void(this.isBouncingY=!1);const{target:e}=this,{x:t,y:i,xDiff:s,yDiff:o}=this.checkBounds(),a=this.option("maxVelocity");let d=this.velocity.e,f=this.velocity.f;s!==0?(this.isBouncingX=!0,s*d<=0?d+=.14*s:(d=.14*s,t.min!==1/0&&(this.target.e=Math.max(e.e,t.min)),t.max!==1/0&&(this.target.e=Math.min(e.e,t.max))),a&&(d=Math.max(Math.min(d,a),-1*a))):this.isBouncingX=!1,o!==0?(this.isBouncingY=!0,o*f<=0?f+=.14*o:(f=.14*o,i.min!==1/0&&(this.target.f=Math.max(e.f,i.min)),i.max!==1/0&&(this.target.f=Math.min(e.f,i.max))),a&&(f=Math.max(Math.min(f,a),-1*a))):this.isBouncingY=!1,this.isBouncingX&&(this.velocity.e=d),this.isBouncingY&&(this.velocity.f=f)}enable(){const{content:e}=this,t=new DOMMatrixReadOnly(window.getComputedStyle(e).transform);for(const i of wn)this.current[i]=this.target[i]=t[i];this.updateMetrics(),this.attachObserver(),this.attachEvents(),this.state=Ce.Ready,this.emit("ready")}onClick(e){var t;e.type==="click"&&e.detail===0&&(this.dragOffset.x=0,this.dragOffset.y=0),this.isDragging&&((t=this.pointerTracker)===null||t===void 0||t.clear(),this.trackingPoints=[],this.startDecelAnim());const i=e.target;if(!i||e.defaultPrevented)return;if(i.hasAttribute("disabled"))return e.preventDefault(),void e.stopPropagation();if((()=>{const v=window.getSelection();return v&&v.type==="Range"})()&&!i.closest("button"))return;const s=i.closest("[data-panzoom-action]"),o=i.closest("[data-panzoom-change]"),a=s||o,d=a&&dt(a)?a.dataset:null;if(d){const v=d.panzoomChange,C=d.panzoomAction;if((v||C)&&e.preventDefault(),v){let x={};try{x=JSON.parse(v)}catch(S){console&&console.warn("The given data was not valid JSON")}return void this.applyChange(x)}if(C)return void(this[C]&&this[C]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();if(i.closest("[data-fancybox]"))return;const f=this.content.getBoundingClientRect(),p=this.dragStart;if(p.time&&!this.canZoomOut()&&(Math.abs(f.x-p.x)>2||Math.abs(f.y-p.y)>2))return;this.dragStart.time=0;const h=v=>{this.option("zoom",e)&&v&&typeof v=="string"&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(v)&&typeof this[v]=="function"&&(e.preventDefault(),this[v]({event:e}))},y=this.option("click",e),w=this.option("dblClick",e);w?(this.clicks++,this.clicks==1&&(this.clickTimer=setTimeout(()=>{this.clicks===1?(this.emit("click",e),!e.defaultPrevented&&y&&h(y)):(this.emit("dblClick",e),e.defaultPrevented||h(w)),this.clicks=0,this.clickTimer=null},350))):(this.emit("click",e),!e.defaultPrevented&&y&&h(y))}addTrackingPoint(e){const t=this.trackingPoints.filter(i=>i.time>Date.now()-100);t.push(e),this.trackingPoints=t}onPointerDown(e,t,i){var s;if(this.option("touch",e)===!1)return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];const o=this.content.getBoundingClientRect();if(this.dragStart={x:o.x,y:o.y,top:o.top,left:o.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===Dt&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;const a=e.composedPath()[0];if(!i.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(a.nodeName)||a.closest("[contenteditable],[data-selectable],[data-draggable],[data-clickable],[data-panzoom-change],[data-panzoom-action]"))return!1;(s=window.getSelection())===null||s===void 0||s.removeAllRanges()}if(e.type==="mousedown")["A","BUTTON"].includes(a.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit("touchStart",e)),!0}onPointerMove(e,t,i){if(this.option("touch",e)===!1||!this.isDragging||t.length<2&&this.panOnlyZoomed&&q(this.targetScale)<=q(this.minScale)||(this.emit("touchMove",e),e.defaultPrevented))return;this.addTrackingPoint(t[0]);const{content:s}=this,o=Yu(i[0],i[1]),a=Yu(t[0],t[1]);let d=0,f=0;if(t.length>1){const z=s.getBoundingClientRect();d=o.clientX-z.left-.5*z.width,f=o.clientY-z.top-.5*z.height}const p=qu(i[0],i[1]),h=qu(t[0],t[1]);let y=p?h/p:1,w=a.clientX-o.clientX,v=a.clientY-o.clientY;this.dragOffset.x+=w,this.dragOffset.y+=v,this.dragOffset.time=Date.now()-this.dragStart.time;let C=q(this.targetScale)===q(this.minScale)&&this.option("lockAxis");if(C&&!this.lockedAxis)if(C==="xy"||C==="y"||e.type==="touchmove"){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void e.preventDefault();const z=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=z>45&&z<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,w=0,v=0}else this.lockedAxis=C;if(Zs(e.target,this.content)&&(C="x",this.dragOffset.y=0),C&&C!=="xy"&&this.lockedAxis!==C&&q(this.targetScale)===q(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));const x=this.checkBounds(w,v);this.option("rubberband")?(this.isInfinite!=="x"&&(x.xDiff>0&&w<0||x.xDiff<0&&w>0)&&(w*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*x.xDiff))),this.isInfinite!=="y"&&(x.yDiff>0&&v<0||x.yDiff<0&&v>0)&&(v*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*x.yDiff)))):(x.xDiff&&(w=0),x.yDiff&&(v=0));const S=this.targetScale,D=this.minScale,R=this.maxScale;S<.5*D&&(y=Math.max(y,D)),S>1.5*R&&(y=Math.min(y,R)),this.lockedAxis==="y"&&q(S)===q(D)&&(w=0),this.lockedAxis==="x"&&q(S)===q(D)&&(v=0),this.applyChange({originX:d,originY:f,panX:w,panY:v,scale:y,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,i){if(i.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),Zs(e.target,this.content)&&this.lockedAxis==="y"&&(this.trackingPoints=[]),this.emit("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==Ce.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;const t=this.isScaling;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const z of wn)this.velocity[z]=0;this.target.e=this.current.e,this.target.f=this.current.f,ye(this.container,"is-scaling"),ye(this.container,"is-animating"),this.isTicking=!1;const{trackingPoints:i}=this,s=i[0],o=i[i.length-1];let a=0,d=0,f=0;o&&s&&(a=o.clientX-s.clientX,d=o.clientY-s.clientY,f=o.time-s.time);const p=((e=window.visualViewport)===null||e===void 0?void 0:e.scale)||1;p!==1&&(a*=p,d*=p);let h=0,y=0,w=0,v=0,C=this.option("decelFriction");const x=this.targetScale;if(f>0){w=Math.abs(a)>3?a/(f/30):0,v=Math.abs(d)>3?d/(f/30):0;const z=this.option("maxVelocity");z&&(w=Math.max(Math.min(w,z),-1*z),v=Math.max(Math.min(v,z),-1*z))}w&&(h=w/(1/(1-C)-1)),v&&(y=v/(1/(1-C)-1)),(this.option("lockAxis")==="y"||this.option("lockAxis")==="xy"&&this.lockedAxis==="y"&&q(x)===this.minScale)&&(h=w=0),(this.option("lockAxis")==="x"||this.option("lockAxis")==="xy"&&this.lockedAxis==="x"&&q(x)===this.minScale)&&(y=v=0);const S=this.dragOffset.x,D=this.dragOffset.y,R=this.option("dragMinThreshold")||0;Math.abs(S)<R&&Math.abs(D)<R&&(h=y=0,w=v=0),(this.option("zoom")&&(x<this.minScale-1e-5||x>this.maxScale+1e-5)||t&&!h&&!y)&&(C=.35),this.applyChange({panX:h,panY:y,friction:C}),this.emit("decel",w,v,S,D)}onWheel(e){var t=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(o,a){return Math.abs(a)>Math.abs(o)?a:o});const i=Math.max(-1,Math.min(1,t));if(this.emit("wheel",e,i),this.panMode===Dt||e.defaultPrevented)return;const s=this.option("wheel");s==="pan"?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:2*-e.deltaX,panY:2*-e.deltaY,bounce:!1})):s==="zoom"&&this.option("zoom")!==!1&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){e.key==="Escape"&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}setTransform(){this.emit("beforeTransform");const{current:e,target:t,content:i,contentRect:s}=this,o=Object.assign({},vs);for(const S of wn){const D=S=="e"||S==="f"?bs:Fm;o[S]=q(e[S],D),Math.abs(t[S]-e[S])<(S=="e"||S==="f"?.51:.001)&&(e[S]=t[S])}let{a,b:d,c:f,d:p,e:h,f:y}=o,w=`matrix(${a}, ${d}, ${f}, ${p}, ${h}, ${y})`,v=i.parentElement instanceof HTMLPictureElement?i.parentElement:i;if(this.option("transformParent")&&(v=v.parentElement||v),v.style.transform===w)return;v.style.transform=w;const{contentWidth:C,contentHeight:x}=this.calculateContentDim();s.width=C,s.height=x,this.emit("afterTransform")}updateMetrics(e=!1){var t;if(!this||this.state===Ce.Destroy||this.isContentLoading)return;const i=Math.max(1,((t=window.visualViewport)===null||t===void 0?void 0:t.scale)||1),{container:s,content:o}=this,a=o instanceof HTMLImageElement,d=s.getBoundingClientRect(),f=getComputedStyle(this.container);let p=d.width*i,h=d.height*i;const y=parseFloat(f.paddingTop)+parseFloat(f.paddingBottom),w=p-(parseFloat(f.paddingLeft)+parseFloat(f.paddingRight)),v=h-y;this.containerRect={width:p,height:h,innerWidth:w,innerHeight:v};const C=parseFloat(o.dataset.width||"")||(re=>{let ke=0;return ke=re instanceof HTMLImageElement?re.naturalWidth:re instanceof SVGElement?re.width.baseVal.value:Math.max(re.offsetWidth,re.scrollWidth),ke||0})(o),x=parseFloat(o.dataset.height||"")||(re=>{let ke=0;return ke=re instanceof HTMLImageElement?re.naturalHeight:re instanceof SVGElement?re.height.baseVal.value:Math.max(re.offsetHeight,re.scrollHeight),ke||0})(o);let S=this.option("width",C)||kt,D=this.option("height",x)||kt;const R=S===kt,z=D===kt;typeof S!="number"&&(S=C),typeof D!="number"&&(D=x),R&&(S=C*(D/x)),z&&(D=x/(C/S));let E=o.parentElement instanceof HTMLPictureElement?o.parentElement:o;this.option("transformParent")&&(E=E.parentElement||E);const X=E.getAttribute("style")||"";E.style.setProperty("transform","none","important"),a&&(E.style.width="",E.style.height=""),E.offsetHeight;const V=o.getBoundingClientRect();let W=V.width*i,Z=V.height*i,me=W,ce=Z;W=Math.min(W,S),Z=Math.min(Z,D),a?{width:W,height:Z}=((re,ke,Ue,ne)=>{const Be=Ue/re,oe=ne/ke,Oe=Math.min(Be,oe);return{width:re*=Oe,height:ke*=Oe}})(S,D,W,Z):(W=Math.min(W,S),Z=Math.min(Z,D));let Se=.5*(ce-Z),Ae=.5*(me-W);this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:V.top-d.top+Se,bottom:d.bottom-V.bottom+Se,left:V.left-d.left+Ae,right:d.right-V.right+Ae,fitWidth:W,fitHeight:Z,width:W,height:Z,fullWidth:S,fullHeight:D}),E.style.cssText=X,a&&(E.style.width=`${W}px`,E.style.height=`${Z}px`),this.setTransform(),e!==!0&&this.emit("refresh"),this.ignoreBounds||(q(this.targetScale)<q(this.minScale)?this.zoomTo(this.minScale,{friction:0}):this.targetScale>this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===Ce.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}calculateBounds(){const{contentWidth:e,contentHeight:t}=this.calculateContentDim(this.target),{targetScale:i,lockedAxis:s}=this,{fitWidth:o,fitHeight:a}=this.contentRect;let d=0,f=0,p=0,h=0;const y=this.option("infinite");if(y===!0||s&&y===s)d=-1/0,p=1/0,f=-1/0,h=1/0;else{let{containerRect:w,contentRect:v}=this,C=q(o*i,bs),x=q(a*i,bs),{innerWidth:S,innerHeight:D}=w;if(w.width===C&&(S=w.width),w.width===x&&(D=w.height),e>S){p=.5*(e-S),d=-1*p;let R=.5*(v.right-v.left);d+=R,p+=R}if(o>S&&e<S&&(d-=.5*(o-S),p-=.5*(o-S)),t>D){h=.5*(t-D),f=-1*h;let R=.5*(v.bottom-v.top);f+=R,h+=R}a>D&&t<D&&(d-=.5*(a-D),p-=.5*(a-D))}return{x:{min:d,max:p},y:{min:f,max:h}}}getBounds(){const e=this.option("bounds");return e!==kt?e:this.calculateBounds()}updateControls(){const e=this,t=e.container,{panMode:i,contentRect:s,targetScale:o,minScale:a}=e;let d=a,f=e.option("click")||!1;f&&(d=e.getNextScale(f));let p=e.canZoomIn(),h=e.canZoomOut(),y=i===Qu&&!!this.option("touch"),w=h&&y;if(y&&(q(o)<q(a)&&!this.panOnlyZoomed&&(w=!0),(q(s.width,1)>q(s.fitWidth,1)||q(s.height,1)>q(s.fitHeight,1))&&(w=!0)),q(s.width*o,1)<q(s.fitWidth,1)&&(w=!1),i===Dt&&(w=!1),tn(t,this.cn("isDraggable"),w),!this.option("zoom"))return;let v=p&&q(d)>q(o),C=!v&&!w&&h&&q(d)<q(o);tn(t,this.cn("canZoomIn"),v),tn(t,this.cn("canZoomOut"),C);for(const x of t.querySelectorAll("[data-panzoom-action]")){let S=!1,D=!1;switch(x.dataset.panzoomAction){case"zoomIn":p?S=!0:D=!0;break;case"zoomOut":h?S=!0:D=!0;break;case"toggleZoom":case"iterateZoom":p||h?S=!0:D=!0;const R=x.querySelector("g");R&&(R.style.display=p?"":"none")}S?(x.removeAttribute("disabled"),x.removeAttribute("tabindex")):D&&(x.setAttribute("disabled",""),x.setAttribute("tabindex","-1"))}}panTo({x:e=this.target.e,y:t=this.target.f,scale:i=this.targetScale,friction:s=this.option("friction"),angle:o=0,originX:a=0,originY:d=0,flipX:f=!1,flipY:p=!1,ignoreBounds:h=!1}){this.state!==Ce.Destroy&&this.applyChange({panX:e-this.target.e,panY:t-this.target.f,scale:i/this.targetScale,angle:o,originX:a,originY:d,friction:s,flipX:f,flipY:p,ignoreBounds:h})}applyChange({panX:e=0,panY:t=0,scale:i=1,angle:s=0,originX:o=-this.current.e,originY:a=-this.current.f,friction:d=this.option("friction"),flipX:f=!1,flipY:p=!1,ignoreBounds:h=!1,bounce:y=this.option("bounce")}){const w=this.state;if(w===Ce.Destroy)return;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.friction=d||0,this.ignoreBounds=h;const{current:v}=this,C=v.e,x=v.f,S=this.getMatrix(this.target);let D=new DOMMatrix().translate(C,x).translate(o,a).translate(e,t);if(this.option("zoom")){if(!h){const R=this.targetScale,z=this.minScale,E=this.maxScale;R*i<z&&(i=z/R),R*i>E&&(i=E/R)}D=D.scale(i)}D=D.translate(-o,-a).translate(-C,-x).multiply(S),s&&(D=D.rotate(s)),f&&(D=D.scale(-1,1)),p&&(D=D.scale(1,-1));for(const R of wn)R!=="e"&&R!=="f"&&(D[R]>this.minScale+1e-5||D[R]<this.minScale-1e-5)?this.target[R]=D[R]:this.target[R]=q(D[R],bs);(this.targetScale<this.scale||Math.abs(i-1)>.1||this.panMode===Dt||y===!1)&&!h&&this.clampTargetBounds(),w===Ce.Init?this.animate():this.isResting||(this.state=Ce.Panning,this.requestTick())}stop(e=!1){if(this.state===Ce.Init||this.state===Ce.Destroy)return;const t=this.isTicking;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const i of wn)this.velocity[i]=0,e==="current"?this.current[i]=this.target[i]:e==="target"&&(this.target[i]=this.current[i]);this.setTransform(),ye(this.container,"is-scaling"),ye(this.container,"is-animating"),this.isTicking=!1,this.state=Ce.Ready,t&&(this.emit("endAnimation"),this.updateControls())}requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),K(this.container,"is-animating"),this.isScaling&&K(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame(()=>this.animate()))}panWithMouse(e,t=this.option("mouseMoveFriction")){if(this.pmme=e,this.panMode!==Dt||!e||q(this.targetScale)<=q(this.minScale))return;this.emit("mouseMove",e);const{container:i,containerRect:s,contentRect:o}=this,a=s.width,d=s.height,f=i.getBoundingClientRect(),p=(e.clientX||0)-f.left,h=(e.clientY||0)-f.top;let{contentWidth:y,contentHeight:w}=this.calculateContentDim(this.target);const v=this.option("mouseMoveFactor");v>1&&(y!==a&&(y*=v),w!==d&&(w*=v));let C=.5*(y-a)-p/a*100/100*(y-a);C+=.5*(o.right-o.left);let x=.5*(w-d)-h/d*100/100*(w-d);x+=.5*(o.bottom-o.top),this.applyChange({panX:C-this.target.e,panY:x-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===Ce.Destroy||this.state===Ce.Init)return;const t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;var i=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(p,h){return Math.abs(h)>Math.abs(p)?h:p});const s=Math.max(-1,Math.min(1,i)),{targetScale:o,maxScale:a,minScale:d}=this;let f=o*(100+45*s)/100;q(f)<q(d)&&q(o)<=q(d)?(this.cwd+=Math.abs(s),f=d):q(f)>q(a)&&q(o)>=q(a)?(this.cwd+=Math.abs(s),f=a):(this.cwd=0,f=Math.max(Math.min(f,a),d)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),q(f)!==q(o)&&this.zoomTo(f,{event:e}))}canZoomIn(){return this.option("zoom")&&(q(this.contentRect.width,1)<q(this.contentRect.fitWidth,1)||q(this.targetScale)<q(this.maxScale))}canZoomOut(){return this.option("zoom")&&q(this.targetScale)>q(this.minScale)}zoomIn(e=1.25,t){this.zoomTo(this.targetScale*e,t)}zoomOut(e=.8,t){this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.getNextScale("toggleZoom"),e)}toggleMax(e){this.zoomTo(this.getNextScale("toggleMax"),e)}toggleCover(e){this.zoomTo(this.getNextScale("toggleCover"),e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(e=1,{friction:t=kt,originX:i=kt,originY:s=kt,event:o}={}){if(this.isContentLoading||this.state===Ce.Destroy)return;const{targetScale:a,fullScale:d,maxScale:f,coverScale:p}=this;if(this.stop(),this.panMode===Dt&&(o=this.pmme||o),o||i===kt||s===kt){const y=this.content.getBoundingClientRect(),w=this.container.getBoundingClientRect(),v=o?o.clientX:w.left+.5*w.width,C=o?o.clientY:w.top+.5*w.height;i=v-y.left-.5*y.width,s=C-y.top-.5*y.height}let h=1;typeof e=="number"?h=e:e==="full"?h=d:e==="cover"?h=p:e==="max"?h=f:e==="fit"?h=1:e==="next"&&(h=this.getNextScale("iterateZoom")),h=h/a||1,t=t===kt?h>1?.15:.25:t,this.applyChange({scale:h,originX:i,originY:s,friction:t}),o&&this.panMode===Dt&&this.panWithMouse(o,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-i.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-i.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){const{container:e}=this,t=this.cn("inFullscreen"),i=this.cn("htmlHasFullscreen");e.classList.toggle(t);const s=e.classList.contains(t);s?(document.documentElement.classList.add(i),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(i),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(s?"enterFS":"exitFS")}getMatrix(e=this.current){const{a:t,b:i,c:s,d:o,e:a,f:d}=e;return new DOMMatrix([t,i,s,o,a,d])}reset(e){if(this.state!==Ce.Init&&this.state!==Ce.Destroy){this.stop("current");for(const t of wn)this.target[t]=vs[t];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=e===void 0?this.option("friction"):e,this.state=Ce.Panning,this.requestTick())}}destroy(){this.stop(),this.state=Ce.Destroy,this.detachEvents(),this.detachObserver();const{container:e,content:t}=this,i=this.option("classes")||{};for(const s of Object.values(i))e.classList.remove(s+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}};Object.defineProperty(Tr,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Bm}),Object.defineProperty(Tr,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});const Ju=function(n,e){let t=!0;return(...i)=>{t&&(t=!1,n(...i),setTimeout(()=>{t=!0},e))}},Ku=(n,e)=>{let t=[];return n.childNodes.forEach(i=>{i.nodeType!==Node.ELEMENT_NODE||e&&!i.matches(e)||t.push(i)}),t},zm={viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}};var We;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Destroy=2]="Destroy"})(We||(We={}));const Ba=n=>{if(typeof n=="string"||n instanceof HTMLElement)n={html:n};else{const e=n.thumb;e!==void 0&&(typeof e=="string"&&(n.thumbSrc=e),e instanceof HTMLImageElement&&(n.thumbEl=e,n.thumbElSrc=e.src,n.thumbSrc=e.src),delete n.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},n)},Vm=(n={})=>Object.assign({index:-1,slides:[],dim:0,pos:-1},n);let zt=class extends Qs{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}};const Wm={classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'<button type="button" data-carousel-page="%i" aria-label="{{GOTO}}"><span class="f-carousel__dot" aria-hidden="true"></span></button>',dynamicFrom:11,maxCount:1/0,minCount:2};let Kf=class extends zt{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;if(!e){e=document.createElement("ul"),K(e,this.cn("list")),e.setAttribute("role","tablist");const t=this.instance.container;t.appendChild(e),K(t,this.cn("hasDots")),this.list=e}return e}refresh(){var e;const t=this.instance.pages.length,i=Math.min(2,this.option("minCount")),s=Math.max(2e3,this.option("maxCount")),o=this.option("dynamicFrom");if(t<i||t>s)return void this.cleanup();const a=typeof o=="number"&&t>5&&t>=o,d=!this.list||this.isDynamic!==a||this.list.children.length!==t;d&&this.cleanup();const f=this.build();if(tn(f,this.cn("isDynamic"),!!a),d)for(let y=0;y<t;y++)f.append(this.createItem(y));let p,h=0;for(const y of[...f.children]){const w=h===this.instance.page;w&&(p=y),tn(y,this.cn("isCurrent"),w),(e=y.children[0])===null||e===void 0||e.setAttribute("aria-selected",w?"true":"false");for(const v of["isBeforePrev","isPrev","isNext","isAfterNext"])ye(y,this.cn(v));h++}if(p=p||f.firstChild,a&&p){const y=p.previousElementSibling,w=y&&y.previousElementSibling;K(y,this.cn("isPrev")),K(w,this.cn("isBeforePrev"));const v=p.nextElementSibling,C=v&&v.nextElementSibling;K(v,this.cn("isNext")),K(C,this.cn("isAfterNext"))}this.isDynamic=a}createItem(e=0){var t;const i=document.createElement("li");i.setAttribute("role","presentation");const s=en(this.instance.localize(this.option("dotTpl"),[["%d",e+1]]).replace(/\%i/g,e+""));return i.appendChild(s),(t=i.children[0])===null||t===void 0||t.setAttribute("role","tab"),i}cleanup(){this.list&&(this.list.remove(),this.list=null),this.isDynamic=!1,ye(this.instance.container,this.cn("hasDots"))}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}};Object.defineProperty(Kf,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Wm});const ys="disabled",ws="next",ed="prev";let eh=class extends zt{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prev",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"next",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isDom",{enumerable:!0,configurable:!0,writable:!0,value:!1})}onRefresh(){const e=this.instance,t=e.pages.length,i=e.page;if(t<2)return void this.cleanup();this.build();let s=this.prev,o=this.next;s&&o&&(s.removeAttribute(ys),o.removeAttribute(ys),e.isInfinite||(i<=0&&s.setAttribute(ys,""),i>=t-1&&o.setAttribute(ys,"")))}addBtn(e){var t;const i=this.instance,s=document.createElement("button");s.setAttribute("tabindex","0"),s.setAttribute("title",i.localize(`{{${e.toUpperCase()}}}`)),K(s,this.cn("button")+" "+this.cn(e===ws?"isNext":"isPrev"));const o=i.isRTL?e===ws?ed:ws:e;var a;return s.innerHTML=i.localize(this.option(`${o}Tpl`)),s.dataset[`carousel${a=e,a?a.match("^[a-z]")?a.charAt(0).toUpperCase()+a.substring(1):a:""}`]="true",(t=this.container)===null||t===void 0||t.appendChild(s),s}build(){const e=this.instance.container,t=this.cn("container");let{container:i,prev:s,next:o}=this;i||(i=e.querySelector("."+t),this.isDom=!!i),i||(i=document.createElement("div"),K(i,t),e.appendChild(i)),this.container=i,o||(o=i.querySelector("[data-carousel-next]")),o||(o=this.addBtn(ws)),this.next=o,s||(s=i.querySelector("[data-carousel-prev]")),s||(s=this.addBtn(ed)),this.prev=s}cleanup(){this.isDom||(this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove()),this.prev=null,this.next=null,this.container=null,this.isDom=!1}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}};Object.defineProperty(eh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>',prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>'}});let th=class extends zt{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){const{nav:e,target:t}=this;e&&t&&(e.options.initialSlide=t.options.initialPage,e.state===We.Ready?this.onNavReady(e):e.on("ready",this.onNavReady),t.state===We.Ready?this.onTargetReady(t):t.on("ready",this.onTargetReady))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,i){this.onNavTouch(e,e.panzoom,i)}onNavTouch(e,t,i){var s,o;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;const a=i.target,{nav:d,target:f}=this;if(!d||!f||!a)return;const p=a.closest("[data-index]");if(i.stopPropagation(),i.preventDefault(),!p)return;const h=parseInt(p.dataset.index||"",10)||0,y=f.getPageForSlide(h),w=d.getPageForSlide(h);d.slideTo(w),f.slideTo(y,{friction:((o=(s=this.nav)===null||s===void 0?void 0:s.plugins)===null||o===void 0?void 0:o.Sync.option("friction"))||0}),this.markSelectedSlide(h)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){var e,t;const{target:i,nav:s}=this;if(!i||!s||s.state!==We.Ready||i.state!==We.Ready)return;const o=(t=(e=i.pages[i.page])===null||e===void 0?void 0:e.slides[0])===null||t===void 0?void 0:t.index,a=s.getPageForSlide(o);this.markSelectedSlide(o),s.slideTo(a,s.prevPage===null&&i.prevPage===null?{friction:0}:void 0)}markSelectedSlide(e){const t=this.nav;t&&t.state===We.Ready&&(this.selectedIndex=e,[...t.slides].map(i=>{i.el&&i.el.classList[i.index===e?"add":"remove"]("is-nav-selected")}))}attach(){const e=this;let t=e.options.target,i=e.options.nav;t?e.addAsNavFor(t):i&&e.addAsTargetFor(i)}detach(){const e=this,t=e.nav,i=e.target;t&&(t.off("ready",e.onNavReady),t.off("createSlide",e.onNavCreateSlide),t.off("Panzoom.click",e.onNavClick),t.off("Panzoom.touchEnd",e.onNavTouch)),e.nav=null,i&&(i.off("ready",e.onTargetReady),i.off("refresh",e.onTargetChange),i.off("change",e.onTargetChange)),e.target=null}};Object.defineProperty(th,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});const Um={Navigation:eh,Dots:Kf,Sync:th},_s="animationend",td="isSelected",Ls="slide";let Vs=class Ll extends Fl{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===We.Ready}get isInfinite(){let e=!1;const{contentDim:t,viewportDim:i,pages:s,slides:o}=this,a=o[0];return s.length>=2&&a&&t+a.dim>=i&&(e=this.option("infinite")),e}get isRTL(){return this.option("direction")==="rtl"}get isHorizontal(){return this.option("axis")==="x"}constructor(e,t={},i={}){if(super(),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:We.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),typeof e=="string"&&(e=document.querySelector(e)),!e||!dt(e))throw new Error("No Element found");this.container=e,this.slideNext=Ju(this.slideNext.bind(this),150),this.slidePrev=Ju(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=i,queueMicrotask(()=>{this.processOptions()})}processOptions(){var e,t;const i=ft({},Ll.defaults,this.userOptions);let s="";const o=i.breakpoints;if(o&&_l(o))for(const[a,d]of Object.entries(o))window.matchMedia(a).matches&&_l(d)&&(s+=a,ft(i,d));s===this.bp&&this.state!==We.Init||(this.bp=s,this.state===We.Ready&&(i.initialSlide=((t=(e=this.pages[this.page])===null||e===void 0?void 0:e.slides[0])===null||t===void 0?void 0:t.index)||0),this.state!==We.Init&&this.destroy(),super.setOptions(i),this.option("enabled")===!1?this.attachEvents():setTimeout(()=>{this.init()},0))}init(){this.state=We.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},Ll.Plugins),this.userPlugins)),this.emit("attachPlugins"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=We.Ready,this.emit("ready")}initLayout(){const{container:e}=this,t=this.option("classes");K(e,this.cn("container")),tn(e,t.isLTR,!this.isRTL),tn(e,t.isRTL,this.isRTL),tn(e,t.isVertical,!this.isHorizontal),tn(e,t.isHorizontal,this.isHorizontal);let i=this.option("viewport")||e.querySelector(`.${t.viewport}`);i||(i=document.createElement("div"),K(i,t.viewport),i.append(...Ku(e,`.${t.slide}`)),e.prepend(i)),i.addEventListener("scroll",this.onScroll);let s=this.option("track")||e.querySelector(`.${t.track}`);s||(s=document.createElement("div"),K(s,t.track),s.append(...Array.from(i.childNodes))),s.setAttribute("aria-live","polite"),i.contains(s)||i.prepend(s),this.viewport=i,this.track=s,this.emit("initLayout")}initSlides(){const{track:e}=this;if(!e)return;const t=[...this.slides],i=[];[...Ku(e,`.${this.cn(Ls)}`)].forEach(s=>{if(dt(s)){const o=Ba({el:s,isDom:!0,index:this.slides.length});i.push(o)}});for(let s of[...this.option("slides",[])||[],...t])i.push(Ba(s));this.slides=i;for(let s=0;s<this.slides.length;s++)this.slides[s].index=s;for(const s of i)this.emit("beforeInitSlide",s,s.index),this.emit("initSlide",s,s.index);this.emit("initSlides")}setInitialPage(){const e=this.option("initialSlide");this.page=typeof e=="number"?this.getPageForSlide(e):parseInt(this.option("initialPage",0)+"",10)||0}setInitialPosition(){const{track:e,pages:t,isHorizontal:i}=this;if(!e||!t.length)return;let s=this.page;t[s]||(this.page=s=0);const o=(t[s].pos||0)*(this.isRTL&&i?1:-1),a=i?`${o}px`:"0",d=i?"0":`${o}px`;e.style.transform=`translate3d(${a}, ${d}, 0) scale(1)`,this.option("adaptiveHeight")&&this.setViewportHeight()}initPanzoom(){this.panzoom&&(this.panzoom.destroy(),this.panzoom=null);const e=this.option("Panzoom")||{};this.panzoom=new Tr(this.viewport,ft({},{content:this.track,zoom:!1,panOnlyZoomed:!1,lockAxis:this.isHorizontal?"x":"y",infinite:this.isInfinite,click:!1,dblClick:!1,touch:t=>!(this.pages.length<2&&!t.options.infinite),bounds:()=>this.getBounds(),maxVelocity:t=>Math.abs(t.target[this.axis]-t.current[this.axis])<2*this.viewportDim?100:0},e)),this.panzoom.on("*",(t,i,...s)=>{this.emit(`Panzoom.${i}`,t,...s)}),this.panzoom.on("decel",this.onDecel),this.panzoom.on("refresh",this.onRefresh),this.panzoom.on("beforeTransform",this.onBeforeTransform),this.panzoom.on("endAnimation",this.onEndAnimation)}attachEvents(){const e=this.container;e&&(e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("slideTo",this.onSlideTo)),window.addEventListener("resize",this.onResize)}createPages(){let e=[];const{contentDim:t,viewportDim:i}=this;let s=this.option("slidesPerPage");s=(s==="auto"||t<=i)&&this.option("fill")!==!1?1/0:parseFloat(s+"");let o=0,a=0,d=0;for(const f of this.slides)(!e.length||a+f.dim-i>.05||d>=s)&&(e.push(Vm()),o=e.length-1,a=0,d=0),e[o].slides.push(f),a+=f.dim+f.gap,d++;return e}processPages(){const e=this.pages,{contentDim:t,viewportDim:i,isInfinite:s}=this,o=this.option("center"),a=this.option("fill"),d=a&&o&&t>i&&!s;if(e.forEach((h,y)=>{var w;h.index=y,h.pos=((w=h.slides[0])===null||w===void 0?void 0:w.pos)||0,h.dim=0;for(const[v,C]of h.slides.entries())h.dim+=C.dim,v<h.slides.length-1&&(h.dim+=C.gap);d&&h.pos+.5*h.dim<.5*i?h.pos=0:d&&h.pos+.5*h.dim>=t-.5*i?h.pos=t-i:o&&(h.pos+=-.5*(i-h.dim))}),e.forEach(h=>{a&&!s&&t>i&&(h.pos=Math.max(h.pos,0),h.pos=Math.min(h.pos,t-i)),h.pos=q(h.pos,1e3),h.dim=q(h.dim,1e3),Math.abs(h.pos)<=.1&&(h.pos=0)}),s)return e;const f=[];let p;return e.forEach(h=>{const y=Object.assign({},h);p&&y.pos===p.pos?(p.dim+=y.dim,p.slides=[...p.slides,...y.slides]):(y.index=f.length,p=y,f.push(y))}),f}getPageFromIndex(e=0){const t=this.pages.length;let i;return e=parseInt((e||0).toString())||0,i=this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0),i}getSlideMetrics(e){var t,i;const s=this.isHorizontal?"width":"height";let o=0,a=0,d=e.el;const f=!(!d||d.parentNode);if(d?o=parseFloat(d.dataset[s]||"")||0:(d=document.createElement("div"),d.style.visibility="hidden",(this.track||document.body).prepend(d)),K(d,this.cn(Ls)+" "+e.class+" "+e.customClass),o)d.style[s]=`${o}px`,d.style[s==="width"?"height":"width"]="";else{f&&(this.track||document.body).prepend(d),o=d.getBoundingClientRect()[s]*Math.max(1,((t=window.visualViewport)===null||t===void 0?void 0:t.scale)||1);let h=d[this.isHorizontal?"offsetWidth":"offsetHeight"];h-1>o&&(o=h)}const p=getComputedStyle(d);return p.boxSizing==="content-box"&&(this.isHorizontal?(o+=parseFloat(p.paddingLeft)||0,o+=parseFloat(p.paddingRight)||0):(o+=parseFloat(p.paddingTop)||0,o+=parseFloat(p.paddingBottom)||0)),a=parseFloat(p[this.isHorizontal?"marginRight":"marginBottom"])||0,f?(i=d.parentElement)===null||i===void 0||i.removeChild(d):e.el||d.remove(),{dim:q(o,1e3),gap:q(a,1e3)}}getBounds(){const{isInfinite:e,isRTL:t,isHorizontal:i,pages:s}=this;let o={min:0,max:0};if(e)o={min:-1/0,max:1/0};else if(s.length){const a=s[0].pos,d=s[s.length-1].pos;o=t&&i?{min:a,max:d}:{min:-1*d,max:-1*a}}return{x:i?o:{min:0,max:0},y:i?{min:0,max:0}:o}}repositionSlides(){let e,{isHorizontal:t,isRTL:i,isInfinite:s,viewport:o,viewportDim:a,contentDim:d,page:f,pages:p,slides:h,panzoom:y}=this,w=0,v=0,C=0,x=0;y?x=-1*y.current[this.axis]:p[f]&&(x=p[f].pos||0),e=t?i?"right":"left":"top",i&&t&&(x*=-1);for(const z of h){const E=z.el;E?(e==="top"?(E.style.right="",E.style.left=""):E.style.top="",z.index!==w?E.style[e]=v===0?"":`${q(v,1e3)}px`:E.style[e]="",C+=z.dim+z.gap,w++):v+=z.dim+z.gap}if(s&&C&&o){let z=getComputedStyle(o),E="padding",X=t?"Right":"Bottom",V=parseFloat(z[E+(t?"Left":"Top")]);x-=V,a+=V,a+=parseFloat(z[E+X]);for(const W of h)W.el&&(q(W.pos)<q(a)&&q(W.pos+W.dim+W.gap)<q(x)&&q(x)>q(d-a)&&(W.el.style[e]=`${q(v+C,1e3)}px`),q(W.pos+W.gap)>=q(d-a)&&q(W.pos)>q(x+a)&&q(x)<q(a)&&(W.el.style[e]=`-${q(C,1e3)}px`))}let S,D,R=[...this.inTransition];if(R.length>1&&(S=p[R[0]],D=p[R[1]]),S&&D){let z=0;for(const E of h)E.el?this.inTransition.has(E.index)&&S.slides.indexOf(E)<0&&(E.el.style[e]=`${q(z+(S.pos-D.pos),1e3)}px`):z+=E.dim+E.gap}}createSlideEl(e){const{track:t,slides:i}=this;if(!t||!e||e.el&&e.el.parentNode)return;const s=e.el||document.createElement("div");K(s,this.cn(Ls)),K(s,e.class),K(s,e.customClass);const o=e.html;o&&(o instanceof HTMLElement?s.appendChild(o):s.innerHTML=e.html+"");const a=[];i.forEach((h,y)=>{h.el&&a.push(y)});const d=e.index;let f=null;a.length&&(f=i[a.reduce((h,y)=>Math.abs(y-d)<Math.abs(h-d)?y:h)]);const p=f&&f.el&&f.el.parentNode?f.index<e.index?f.el.nextSibling:f.el:null;t.insertBefore(s,t.contains(p)?p:null),e.el=s,this.emit("createSlide",e)}removeSlideEl(e,t=!1){const i=e==null?void 0:e.el;if(!i||!i.parentNode)return;const s=this.cn(td);if(i.classList.contains(s)&&(ye(i,s),this.emit("unselectSlide",e)),e.isDom&&!t)return i.removeAttribute("aria-hidden"),i.removeAttribute("data-index"),void(i.style.left="");this.emit("removeSlide",e);const o=new CustomEvent(_s);i.dispatchEvent(o),e.el&&(e.el.remove(),e.el=null)}transitionTo(e=0,t=this.option("transition")){var i,s,o,a;if(!t)return!1;const d=this.page,{pages:f,panzoom:p}=this;e=parseInt((e||0).toString())||0;const h=this.getPageFromIndex(e);if(!p||!f[h]||f.length<2||Math.abs((((s=(i=f[d])===null||i===void 0?void 0:i.slides[0])===null||s===void 0?void 0:s.dim)||0)-this.viewportDim)>1)return!1;let y=e>d?1:-1;this.isInfinite&&(d===0&&e===f.length-1&&(y=-1),d===f.length-1&&e===0&&(y=1));const w=f[h].pos*(this.isRTL?1:-1);if(d===h&&Math.abs(w-p.target[this.axis])<1)return!1;this.clearTransitions();const v=p.isResting;K(this.container,this.cn("inTransition"));const C=((o=f[d])===null||o===void 0?void 0:o.slides[0])||null,x=((a=f[h])===null||a===void 0?void 0:a.slides[0])||null;this.inTransition.add(x.index),this.createSlideEl(x);let S=C.el,D=x.el;v||t===Ls||(t="fadeFast",S=null);const R=this.isRTL?"next":"prev",z=this.isRTL?"prev":"next";return S&&(this.inTransition.add(C.index),C.transition=t,S.addEventListener(_s,this.onAnimationEnd),S.classList.add(`f-${t}Out`,`to-${y>0?z:R}`)),D&&(x.transition=t,D.addEventListener(_s,this.onAnimationEnd),D.classList.add(`f-${t}In`,`from-${y>0?R:z}`)),p.current[this.axis]=w,p.target[this.axis]=w,p.requestTick(),this.onChange(h),!0}manageSlideVisiblity(){const e=new Set,t=new Set,i=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(const s of this.slides)i.has(s)?e.add(s):t.add(s);for(const s of this.inTransition)e.add(this.slides[s]);for(const s of e)this.createSlideEl(s),this.lazyLoadSlide(s);for(const s of t)e.has(s)||this.removeSlideEl(s);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;const e="aria-hidden";let t=this.cn(td);if(t)for(const i of this.slides){const s=i.el;s&&(s.dataset.index=`${i.index}`,s.classList.contains("f-thumbs__slide")?this.getVisibleSlides(0).has(i)?s.removeAttribute(e):s.setAttribute(e,"true"):this.pages[this.page].slides.includes(i)?(s.classList.contains(t)||(K(s,t),this.emit("selectSlide",i)),s.removeAttribute(e)):(s.classList.contains(t)&&(ye(s,t),this.emit("unselectSlide",i)),s.setAttribute(e,"true")))}}flipInfiniteTrack(){const{axis:e,isHorizontal:t,isInfinite:i,isRTL:s,viewportDim:o,contentDim:a}=this,d=this.panzoom;if(!d||!i)return;let f=d.current[e],p=d.target[e]-f,h=0,y=.5*o;s&&t?(f<-y&&(h=-1,f+=a),f>a-y&&(h=1,f-=a)):(f>y&&(h=1,f-=a),f<-a+y&&(h=-1,f+=a)),h&&(d.current[e]=f,d.target[e]=f+p)}lazyLoadImg(e,t){const i=this,s="f-fadeIn",o="is-preloading";let a=!1,d=null;const f=()=>{a||(a=!0,d&&(d.remove(),d=null),ye(t,o),t.complete&&(K(t,s),setTimeout(()=>{ye(t,s)},350)),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(i.updateMetrics(),i.setViewportHeight()),this.emit("load",e))};K(t,o),t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.addEventListener("error",()=>{f()}),t.addEventListener("load",()=>{f()}),setTimeout(()=>{const p=t.parentNode;p&&e.el&&(t.complete?f():a||(d=en(zl),p.insertBefore(d,t)))},300)}lazyLoadSlide(e){const t=e&&e.el;if(!t)return;const i=new Set;let s=Array.from(t.querySelectorAll("[data-lazy-src],[data-lazy-srcset]"));t.dataset.lazySrc&&s.push(t),s.map(o=>{o instanceof HTMLImageElement?i.add(o):o instanceof HTMLElement&&o.dataset.lazySrc&&(o.style.backgroundImage=`url('${o.dataset.lazySrc}')`,delete o.dataset.lazySrc)});for(const o of i)this.lazyLoadImg(e,o)}onAnimationEnd(e){var t;const i=e.target,s=i?parseInt(i.dataset.index||"",10)||0:-1,o=this.slides[s],a=e.animationName;if(!i||!o||!a)return;const d=!!this.inTransition.has(s)&&o.transition;d&&a.substring(0,d.length+2)===`f-${d}`&&this.inTransition.delete(s),this.inTransition.size||this.clearTransitions(),s===this.page&&(!((t=this.panzoom)===null||t===void 0)&&t.isResting)&&this.emit("settle")}onDecel(e,t=0,i=0,s=0,o=0){if(this.option("dragFree"))return void this.setPageFromPosition();const{isRTL:a,isHorizontal:d,axis:f,pages:p}=this,h=p.length,y=Math.abs(Math.atan2(i,t)/(Math.PI/180));let w=0;if(w=y>45&&y<135?d?0:i:d?t:0,!h)return;let v=this.page,C=a&&d?1:-1;const x=e.current[f]*C;let{pageIndex:S}=this.getPageFromPosition(x);Math.abs(w)>5?(p[v].dim<document.documentElement["client"+(this.isHorizontal?"Width":"Height")]-1&&(v=S),v=a&&d?w<0?v-1:v+1:w<0?v+1:v-1):v=s===0&&o===0?v:S,this.slideTo(v,{transition:!1,friction:e.option("decelFriction")})}onClick(e){const t=e.target,i=t&&dt(t)?t.dataset:null;let s,o;i&&(i.carouselPage!==void 0?(o="slideTo",s=i.carouselPage):i.carouselNext!==void 0?o="slideNext":i.carouselPrev!==void 0&&(o="slidePrev")),o?(e.preventDefault(),e.stopPropagation(),t&&!t.hasAttribute("disabled")&&this[o](s)):this.emit("click",e)}onSlideTo(e){const t=e.detail||0;this.slideTo(this.getPageForSlide(t),{friction:0})}onChange(e,t=0){const i=this.page;this.prevPage=i,this.page=e,this.option("adaptiveHeight")&&this.setViewportHeight(),e!==i&&(this.markSelectedSlides(),this.emit("change",e,i,t))}onRefresh(){let e=this.contentDim,t=this.viewportDim;this.updateMetrics(),this.contentDim===e&&this.viewportDim===t||this.slideTo(this.page,{friction:0,transition:!1})}onScroll(){var e;(e=this.viewport)===null||e===void 0||e.scroll(0,0)}onResize(){this.option("breakpoints")&&this.processOptions()}onBeforeTransform(e){this.lp!==e.current[this.axis]&&(this.flipInfiniteTrack(),this.manageSlideVisiblity()),this.lp=e.current.e}onEndAnimation(){this.inTransition.size||this.emit("settle")}reInit(e=null,t=null){this.destroy(),this.state=We.Init,this.prevPage=null,this.userOptions=e||this.userOptions,this.userPlugins=t||this.userPlugins,this.processOptions()}slideTo(e=0,{friction:t=this.option("friction"),transition:i=this.option("transition")}={}){if(this.state===We.Destroy)return;e=parseInt((e||0).toString())||0;const s=this.getPageFromIndex(e),{axis:o,isHorizontal:a,isRTL:d,pages:f,panzoom:p}=this,h=f.length,y=d&&a?1:-1;if(!p||!h)return;if(this.page!==s){const v=new Event("beforeChange",{bubbles:!0,cancelable:!0});if(this.emit("beforeChange",v,e),v.defaultPrevented)return}if(this.transitionTo(e,i))return;let w=f[s].pos;if(this.isInfinite){const v=this.contentDim,C=p.target[o]*y;h===2?w+=v*Math.floor(parseFloat(e+"")/2):w=[w,w-v,w+v].reduce(function(x,S){return Math.abs(S-C)<Math.abs(x-C)?S:x})}w*=y,Math.abs(p.target[o]-w)<1||(p.panTo({x:a?w:0,y:a?0:w,friction:t}),this.onChange(s))}slideToClosest(e){if(this.panzoom){const{pageIndex:t}=this.getPageFromPosition();this.slideTo(t,e)}}slideNext(){this.slideTo(this.page+1)}slidePrev(){this.slideTo(this.page-1)}clearTransitions(){this.inTransition.clear(),ye(this.container,this.cn("inTransition"));const e=["to-prev","to-next","from-prev","from-next"];for(const t of this.slides){const i=t.el;if(i){i.removeEventListener(_s,this.onAnimationEnd),i.classList.remove(...e);const s=t.transition;s&&i.classList.remove(`f-${s}Out`,`f-${s}In`)}}this.manageSlideVisiblity()}addSlide(e,t){var i,s,o,a;const d=this.panzoom,f=((i=this.pages[this.page])===null||i===void 0?void 0:i.pos)||0,p=((s=this.pages[this.page])===null||s===void 0?void 0:s.dim)||0,h=this.contentDim<this.viewportDim;let y=Array.isArray(t)?t:[t];const w=[];for(const v of y)w.push(Ba(v));this.slides.splice(e,0,...w);for(let v=0;v<this.slides.length;v++)this.slides[v].index=v;for(const v of w)this.emit("beforeInitSlide",v,v.index);if(this.page>=e&&(this.page+=w.length),this.updateMetrics(),d){const v=((o=this.pages[this.page])===null||o===void 0?void 0:o.pos)||0,C=((a=this.pages[this.page])===null||a===void 0?void 0:a.dim)||0,x=this.pages.length||1,S=this.isRTL?p-C:C-p,D=this.isRTL?f-v:v-f;h&&x===1?(e<=this.page&&(d.current[this.axis]-=S,d.target[this.axis]-=S),d.panTo({[this.isHorizontal?"x":"y"]:-1*v})):D&&e<=this.page&&(d.target[this.axis]-=D,d.current[this.axis]-=D,d.requestTick())}for(const v of w)this.emit("initSlide",v,v.index)}prependSlide(e){this.addSlide(0,e)}appendSlide(e){this.addSlide(this.slides.length,e)}removeSlide(e){const t=this.slides.length;e=(e%t+t)%t;const i=this.slides[e];if(i){this.removeSlideEl(i,!0),this.slides.splice(e,1);for(let s=0;s<this.slides.length;s++)this.slides[s].index=s;this.updateMetrics(),this.slideTo(this.page,{friction:0,transition:!1}),this.emit("destroySlide",i)}}updateMetrics(){const{panzoom:e,viewport:t,track:i,slides:s,isHorizontal:o,isInfinite:a}=this;if(!i)return;const d=o?"width":"height",f=o?"offsetWidth":"offsetHeight";if(t){let y=Math.max(t[f],q(t.getBoundingClientRect()[d],1e3)),w=getComputedStyle(t),v="padding",C=o?"Right":"Bottom";y-=parseFloat(w[v+(o?"Left":"Top")])+parseFloat(w[v+C]),this.viewportDim=y}let p,h=0;for(const[y,w]of s.entries()){let v=0,C=0;!w.el&&p?(v=p.dim,C=p.gap):({dim:v,gap:C}=this.getSlideMetrics(w),p=w),v=q(v,1e3),C=q(C,1e3),w.dim=v,w.gap=C,w.pos=h,h+=v,(a||y<s.length-1)&&(h+=C)}h=q(h,1e3),this.contentDim=h,e&&(e.contentRect[d]=h,e.contentRect[o?"fullWidth":"fullHeight"]=h),this.pages=this.createPages(),this.pages=this.processPages(),this.state===We.Init&&this.setInitialPage(),this.page=Math.max(0,Math.min(this.page,this.pages.length-1)),this.manageSlideVisiblity(),this.emit("refresh")}getProgress(e,t=!1,i=!1){e===void 0&&(e=this.page);const s=this,o=s.panzoom,a=s.contentDim,d=s.pages[e]||0;if(!d||!o)return e>this.page?-1:1;let f=-1*o.current.e,p=q((f-d.pos)/(1*d.dim),1e3),h=p,y=p;this.isInfinite&&i!==!0&&(h=q((f-d.pos+a)/(1*d.dim),1e3),y=q((f-d.pos-a)/(1*d.dim),1e3));let w=[p,h,y].reduce(function(v,C){return Math.abs(C)<Math.abs(v)?C:v});return t?w:w>1?1:w<-1?-1:w}setViewportHeight(){const{page:e,pages:t,viewport:i,isHorizontal:s}=this;if(!i||!t[e])return;let o=0;s&&this.track&&(this.track.style.height="auto",t[e].slides.forEach(a=>{a.el&&(o=Math.max(o,a.el.offsetHeight))})),i.style.height=o?`${o}px`:""}getPageForSlide(e){for(const t of this.pages)for(const i of t.slides)if(i.index===e)return t.index;return-1}getVisibleSlides(e=0){var t;const i=new Set;let{panzoom:s,contentDim:o,viewportDim:a,pages:d,page:f}=this;if(a){o=o+((t=this.slides[this.slides.length-1])===null||t===void 0?void 0:t.gap)||0;let p=0;p=s&&s.state!==Ce.Init&&s.state!==Ce.Destroy?-1*s.current[this.axis]:d[f]&&d[f].pos||0,this.isInfinite&&(p-=Math.floor(p/o)*o),this.isRTL&&this.isHorizontal&&(p*=-1);const h=p-a*e,y=p+a*(e+1),w=this.isInfinite?[-1,0,1]:[0];for(const v of this.slides)for(const C of w){const x=v.pos+C*o,S=x+v.dim+v.gap;x<y&&S>h&&i.add(v)}}return i}getPageFromPosition(e){const{viewportDim:t,contentDim:i,slides:s,pages:o,panzoom:a}=this,d=o.length,f=s.length,p=s[0],h=s[f-1],y=this.option("center");let w=0,v=0,C=0,x=e===void 0?-1*((a==null?void 0:a.target[this.axis])||0):e;y&&(x+=.5*t),this.isInfinite?(x<p.pos-.5*h.gap&&(x-=i,C=-1),x>h.pos+h.dim+.5*h.gap&&(x-=i,C=1)):x=Math.max(p.pos||0,Math.min(x,h.pos));let S=h,D=s.find(R=>{const z=R.pos-.5*S.gap,E=R.pos+R.dim+.5*R.gap;return S=R,x>=z&&x<E});return D||(D=h),v=this.getPageForSlide(D.index),w=v+C*d,{page:w,pageIndex:v}}setPageFromPosition(){const{pageIndex:e}=this.getPageFromPosition();this.onChange(e)}destroy(){if([We.Destroy].includes(this.state))return;this.state=We.Destroy;const{container:e,viewport:t,track:i,slides:s,panzoom:o}=this,a=this.option("classes");e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),e.removeEventListener("slideTo",this.onSlideTo),window.removeEventListener("resize",this.onResize),o&&(o.destroy(),this.panzoom=null),s&&s.forEach(f=>{this.removeSlideEl(f)}),this.detachPlugins(),t&&(t.removeEventListener("scroll",this.onScroll),t.offsetParent&&i&&i.offsetParent&&t.replaceWith(...i.childNodes));for(const[f,p]of Object.entries(a))f!=="container"&&p&&e.classList.remove(p);this.track=null,this.viewport=null,this.page=0,this.slides=[];const d=this.events.get("ready");this.events=new Map,d&&this.events.set("ready",d)}};Object.defineProperty(Vs,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:Tr}),Object.defineProperty(Vs,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:zm}),Object.defineProperty(Vs,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Um});const nh=function(n){if(!dt(n))return 0;const e=window.scrollY,t=window.innerHeight,i=e+t,s=n.getBoundingClientRect(),o=s.y+e,a=s.height,d=o+a;if(e>d||i<o)return 0;if(e<o&&i>d||o<e&&d>i)return 100;let f=a;o<e&&(f-=e-o),d>i&&(f-=d-i);const p=f/t*100;return Math.round(p)},wr=!(typeof window=="undefined"||!window.document||!window.document.createElement);let Fa;const za=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),nd=n=>{if(n&&wr){Fa===void 0&&document.createElement("div").focus({get preventScroll(){return Fa=!0,!1}});try{if(Fa)n.focus({preventScroll:!0});else{const e=window.scrollY||document.body.scrollTop,t=window.scrollX||document.body.scrollLeft;n.focus(),document.body.scrollTo({top:e,left:t,behavior:"auto"})}}catch(e){}}},ih=()=>{const n=document;let e,t="",i="",s="";return n.fullscreenEnabled?(t="requestFullscreen",i="exitFullscreen",s="fullscreenElement"):n.webkitFullscreenEnabled&&(t="webkitRequestFullscreen",i="webkitExitFullscreen",s="webkitFullscreenElement"),t&&(e={request:function(o=n.documentElement){return t==="webkitRequestFullscreen"?o[t](Element.ALLOW_KEYBOARD_INPUT):o[t]()},exit:function(){return n[s]&&n[i]()},isFullscreen:function(){return n[s]}}),e},Cl={animated:!0,autoFocus:!0,backdropClick:"close",Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},closeButton:"auto",closeExisting:!1,commonCaption:!1,compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,contentClick:"toggleZoom",contentDblClick:!1,defaultType:"image",defaultDisplay:"flex",dragToClose:!0,Fullscreen:{autoStart:!1},groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,idle:3500,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Object.assign(Object.assign({},Xf),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),parentEl:null,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,tpl:{closeButton:'<button data-fancybox-close class="f-button is-close-btn" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg></button>',main:`<div class="fancybox__container" role="dialog" aria-modal="true" aria-label="{{MODAL}}" tabindex="-1"> <div class="fancybox__backdrop"></div> <div class="fancybox__carousel"></div> <div class="fancybox__footer"></div> - </div>`},trapFocus:!0,wheel:"zoom"};var qe,tt;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Closing=2]="Closing",n[n.CustomClosing=3]="CustomClosing",n[n.Destroy=4]="Destroy"})(qe||(qe={})),function(n){n[n.Loading=0]="Loading",n[n.Opening=1]="Opening",n[n.Ready=2]="Ready",n[n.Closing=3]="Closing"}(tt||(tt={}));let Xu="",br=!1,Ls=!1,ui=null;const Qf=()=>{let n="",e="";const t=pe.getInstance();if(t){const i=t.carousel,s=t.getSlide();if(i&&s){let o=s.slug||void 0,a=s.triggerEl||void 0;e=o||t.option("slug")||"",!e&&a&&a.dataset&&(e=a.dataset.fancybox||""),e&&e!=="true"&&(n="#"+e+(!o&&i.slides.length>1?"-"+(s.index+1):""))}}return{hash:n,slug:e,index:1}},Zs=()=>{const n=new URL(document.URL).hash,e=n.slice(1).split("-"),t=e[e.length-1],i=t&&/^\+?\d+$/.test(t)&&parseInt(e.pop()||"1",10)||1;return{hash:n,slug:e.join("-"),index:i}},Xf=()=>{const{slug:n,index:e}=Zs();if(!n)return;let t=document.querySelector(`[data-slug="${n}"]`);if(t&&t.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),pe.getInstance())return;const i=document.querySelectorAll(`[data-fancybox="${n}"]`);i.length&&(t=i[e-1],t&&t.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},Jf=()=>{if(pe.defaults.Hash===!1)return;const n=pe.getInstance();if((n==null?void 0:n.options.Hash)===!1)return;const{slug:e,index:t}=Zs(),{slug:i}=Qf();n&&(e===i?n.jumpTo(t-1):(br=!0,n.close())),Xf()},Kf=()=>{ui&&clearTimeout(ui),queueMicrotask(()=>{Jf()})},Ju=()=>{window.addEventListener("hashchange",Kf,!1),setTimeout(()=>{Jf()},500)};yr&&(/complete|interactive|loaded/.test(document.readyState)?Ju():document.addEventListener("DOMContentLoaded",Ju));const Cs="is-zooming-in";class eh extends Ft{onCreateSlide(e,t,i){const s=this.instance.optionFor(i,"src")||"";i.el&&i.type==="image"&&typeof s=="string"&&this.setImage(i,s)}onRemoveSlide(e,t,i){i.panzoom&&i.panzoom.destroy(),i.panzoom=void 0,i.imageEl=void 0}onChange(e,t,i,s){be(this.instance.container,Cs);for(const o of t.slides){const a=o.panzoom;a&&o.index!==i&&a.reset(.35)}}onClose(){var e;const t=this.instance,i=t.container,s=t.getSlide();if(!i||!i.parentElement||!s)return;const{el:o,contentEl:a,panzoom:d,thumbElSrc:f}=s;if(!o||!f||!a||!d||d.isContentLoading||d.state===Le.Init||d.state===Le.Destroy)return;d.updateMetrics();let g=this.getZoomInfo(s);if(!g)return;this.instance.state=qe.CustomClosing,i.classList.remove(Cs),i.classList.add("is-zooming-out"),a.style.backgroundImage=`url('${f}')`;const h=i.getBoundingClientRect();(((e=window.visualViewport)===null||e===void 0?void 0:e.scale)||1)===1&&Object.assign(i.style,{position:"absolute",top:`${i.offsetTop+window.scrollY}px`,left:`${i.offsetLeft+window.scrollX}px`,bottom:"auto",right:"auto",width:`${h.width}px`,height:`${h.height}px`,overflow:"hidden"});const{x:y,y:w,scale:v,opacity:C}=g;if(C){const x=((S,D,M,F)=>{const E=D-S,J=F-M;return V=>M+((V-S)/E*J||0)})(d.scale,v,1,0);d.on("afterTransform",()=>{a.style.opacity=x(d.scale)+""})}d.on("endAnimation",()=>{t.destroy()}),d.target.a=v,d.target.b=0,d.target.c=0,d.target.d=v,d.panTo({x:y,y:w,scale:v,friction:C?.2:.33,ignoreBounds:!0}),d.isResting&&t.destroy()}setImage(e,t){const i=this.instance;e.src=t,this.process(e,t).then(s=>{const{contentEl:o,imageEl:a,thumbElSrc:d,el:f}=e;if(i.isClosing()||!o||!a)return;o.offsetHeight;const g=!!i.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")&&f){f.addEventListener("contextmenu",w=>{w.preventDefault()});const y=document.createElement("div");K(y,"fancybox-protected"),o.appendChild(y)}if(d&&g){const y=s.contentRect,w=Math.max(y.fullWidth,y.fullHeight);let v=null;!g.opacity&&w>1200&&(v=document.createElement("img"),K(v,"fancybox-ghost"),v.src=d,o.appendChild(v));const C=()=>{v&&(K(v,"f-fadeFastOut"),setTimeout(()=>{v&&(v.remove(),v=null)},200))};(h=d,new Promise((x,S)=>{const D=new Image;D.onload=x,D.onerror=S,D.src=h})).then(()=>{i.hideLoading(e),e.state=tt.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then(()=>{C(),this.instance.done(e)},()=>{}),v&&setTimeout(()=>{C()},w>2500?800:200)},()=>{i.hideLoading(e),i.revealContent(e)})}else{const y=this.optionFor(e,"initialSize"),w=this.optionFor(e,"zoom"),v={event:i.prevMouseMoveEvent||i.options.event,friction:w?.12:0};let C=i.optionFor(e,"showClass")||void 0,x=!0;i.isOpeningSlide(e)&&(y==="full"?s.zoomToFull(v):y==="cover"?s.zoomToCover(v):y==="max"?s.zoomToMax(v):x=!1,s.stop("current")),x&&C&&(C=s.isDragging?"f-fadeIn":""),i.hideLoading(e),i.revealContent(e,C)}var h},()=>{i.setError(e,"{{IMAGE_ERROR}}")})}process(e,t){return new Promise((i,s)=>{var o;const a=this.instance,d=e.el;a.clearContent(e),a.showLoading(e);let f=this.optionFor(e,"content");if(typeof f=="string"&&(f=en(f)),!f||!dt(f)){if(f=document.createElement("img"),f instanceof HTMLImageElement){let g="",h=e.caption;g=typeof h=="string"&&h?h.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${((o=a.carousel)===null||o===void 0?void 0:o.pages.length)||1}`,f.src=t||"",f.alt=g,f.draggable=!1,e.srcset&&f.setAttribute("srcset",e.srcset),this.instance.isOpeningSlide(e)&&(f.fetchPriority="high")}e.sizes&&f.setAttribute("sizes",e.sizes)}K(f,"fancybox-image"),e.imageEl=f,a.setContent(e,f,!1),e.panzoom=new Sr(d,ft({transformParent:!0},this.option("Panzoom")||{},{content:f,width:(g,h)=>a.optionFor(e,"width","auto",h)||"auto",height:(g,h)=>a.optionFor(e,"height","auto",h)||"auto",wheel:()=>{const g=a.option("wheel");return(g==="zoom"||g=="pan")&&g},click:(g,h)=>{var y,w;if(a.isCompact||a.isClosing()||e.index!==((y=a.getSlide())===null||y===void 0?void 0:y.index))return!1;if(h){const C=h.composedPath()[0];if(["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(C.nodeName))return!1}let v=!h||h.target&&((w=e.contentEl)===null||w===void 0?void 0:w.contains(h.target));return a.option(v?"contentClick":"backdropClick")||!1},dblClick:()=>a.isCompact?"toggleZoom":a.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:g=>{i(g)},error:()=>{s()},destroy:()=>{s()}}}))})}zoomIn(e){return new Promise((t,i)=>{const s=this.instance,o=s.container,{panzoom:a,contentEl:d,el:f}=e;a&&a.updateMetrics();const g=this.getZoomInfo(e);if(!(g&&f&&d&&a&&o))return void i();const{x:h,y,scale:w,opacity:v}=g,C=()=>{e.state!==tt.Closing&&(v&&(d.style.opacity=Math.max(Math.min(1,1-(1-a.scale)/(1-w)),0)+""),a.scale>=1&&a.scale>a.targetScale-.1&&t(a))},x=M=>{(M.scale<.99||M.scale>1.01)&&!M.isDragging||(be(o,Cs),d.style.opacity="",M.off("endAnimation",x),M.off("touchStart",x),M.off("afterTransform",C),t(M))};a.on("endAnimation",x),a.on("touchStart",x),a.on("afterTransform",C),a.on(["error","destroy"],()=>{i()}),a.panTo({x:h,y,scale:w,friction:0,ignoreBounds:!0}),a.stop("current");const S={event:a.panMode==="mousemove"?s.prevMouseMoveEvent||s.options.event:void 0},D=this.optionFor(e,"initialSize");K(o,Cs),s.hideLoading(e),D==="full"?a.zoomToFull(S):D==="cover"?a.zoomToCover(S):D==="max"?a.zoomToMax(S):a.reset(.172)})}getZoomInfo(e){const{el:t,imageEl:i,thumbEl:s,panzoom:o}=e,a=this.instance,d=a.container;if(!t||!i||!s||!o||qf(s)<3||!this.optionFor(e,"zoom")||!d||a.state===qe.Destroy||getComputedStyle(d).getPropertyValue("--f-images-zoom")==="0")return!1;const f=window.visualViewport||null;if((f?f.scale:1)!==1)return!1;let{top:g,left:h,width:y,height:w}=s.getBoundingClientRect(),{top:v,left:C,fitWidth:x,fitHeight:S}=o.contentRect;if(!(y&&w&&x&&S))return!1;const D=o.container.getBoundingClientRect();C+=D.left,v+=D.top;const M=-1*(C+.5*x-(h+.5*y)),F=-1*(v+.5*S-(g+.5*w)),E=y/x;let J=this.option("zoomOpacity")||!1;return J==="auto"&&(J=Math.abs(y/w-x/S)>.1),{x:M,y:F,scale:E,opacity:J}}attach(){const e=this,t=e.instance;t.on("Carousel.change",e.onChange),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("close",e.onClose)}detach(){const e=this,t=e.instance;t.off("Carousel.change",e.onChange),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("close",e.onClose)}}Object.defineProperty(eh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),typeof SuppressedError=="function"&&SuppressedError;const za="html",Ku="image",Fa="map",_n="youtube",ri="vimeo",gr="html5video",ed=(n,e={})=>{const t=new URL(n),i=new URLSearchParams(t.search),s=new URLSearchParams;for(const[d,f]of[...i,...Object.entries(e)]){let g=f+"";if(d==="t"){let h=g.match(/((\d*)m)?(\d*)s?/);h&&s.set("start",60*parseInt(h[2]||"0")+parseInt(h[3]||"0")+"")}else s.set(d,g)}let o=s+"",a=n.match(/#t=((.*)?\d+s)/);return a&&(o+=`#t=${a[1]}`),o},jm={ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:`<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}"> - <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`,videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},Hm=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo"];class th extends Ft{onBeforeInitSlide(e,t,i){this.processType(i)}onCreateSlide(e,t,i){this.setContent(i)}onClearContent(e,t){t.xhr&&(t.xhr.abort(),t.xhr=null);const i=t.iframeEl;i&&(i.onload=i.onerror=null,i.src="//about:blank",t.iframeEl=null);const s=t.contentEl,o=t.placeholderEl;if(t.type==="inline"&&s&&o)s.classList.remove("fancybox__content"),getComputedStyle(s).getPropertyValue("display")!=="none"&&(s.style.display="none"),setTimeout(()=>{o&&(s&&o.parentNode&&o.parentNode.insertBefore(s,o),o.remove())},0),t.contentEl=void 0,t.placeholderEl=void 0;else for(;t.el&&t.el.firstChild;)t.el.removeChild(t.el.firstChild)}onSelectSlide(e,t,i){i.state===tt.Ready&&this.playVideo()}onUnselectSlide(e,t,i){var s,o;if(i.type===gr){try{(o=(s=i.el)===null||s===void 0?void 0:s.querySelector("video"))===null||o===void 0||o.pause()}catch(d){}return}let a;i.type===ri?a={method:"pause",value:"true"}:i.type===_n&&(a={event:"command",func:"pauseVideo"}),a&&i.iframeEl&&i.iframeEl.contentWindow&&i.iframeEl.contentWindow.postMessage(JSON.stringify(a),"*"),i.poller&&clearTimeout(i.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach(i=>{i.el&&(this.resizeIframe(i),this.setAspectRatio(i))})}onMessage(e){try{let t=JSON.parse(e.data);if(e.origin==="https://player.vimeo.com"){if(t.event==="ready")for(let i of Array.from(document.getElementsByClassName("fancybox__iframe")))i instanceof HTMLIFrameElement&&i.contentWindow===e.source&&(i.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&t.event==="onReady"){const i=document.getElementById(t.id);i&&(i.dataset.ready="true")}}catch(t){}}loadAjaxContent(e){const t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);const i=this.instance,s=new XMLHttpRequest;i.showLoading(e),s.onreadystatechange=function(){s.readyState===XMLHttpRequest.DONE&&i.state===qe.Ready&&(i.hideLoading(e),s.status===200?i.setContent(e,s.responseText):i.setError(e,s.status===404?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const o=e.ajax||null;s.open(o?"POST":"GET",t+""),s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.send(o),e.xhr=s}setInlineContent(e){let t=null;if(dt(e.src))t=e.src;else if(typeof e.src=="string"){const i=e.src.split("#",2).pop();t=i?document.getElementById(i):null}if(t){if(e.type==="clone"||t.closest(".fancybox__slide")){t=t.cloneNode(!0);const i=t.dataset.animationName;i&&(t.classList.remove(i),delete t.dataset.animationName);let s=t.getAttribute("id");s=s?`${s}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",s)}else if(t.parentNode){const i=document.createElement("div");i.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(i,t),e.placeholderEl=i}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){const{src:t,el:i}=e;if(!t||typeof t!="string"||!i)return;i.classList.add("is-loading");const s=this.instance,o=document.createElement("iframe");o.className="fancybox__iframe",o.setAttribute("id",`fancybox__iframe_${s.id}_${e.index}`);for(const[d,f]of Object.entries(this.optionFor(e,"iframeAttr")||{}))o.setAttribute(d,f);o.onerror=()=>{s.setError(e,"{{IFRAME_ERROR}}")},e.iframeEl=o;const a=this.optionFor(e,"preload");if(e.type!=="iframe"||a===!1)return o.setAttribute("src",e.src+""),s.setContent(e,o,!1),this.resizeIframe(e),void s.revealContent(e);s.showLoading(e),o.onload=()=>{if(!o.src.length)return;const d=o.dataset.ready!=="true";o.dataset.ready="true",this.resizeIframe(e),d?s.revealContent(e):s.hideLoading(e)},o.setAttribute("src",t),s.setContent(e,o,!1)}resizeIframe(e){const{type:t,iframeEl:i}=e;if(t===_n||t===ri)return;const s=i==null?void 0:i.parentElement;if(!i||!s)return;let o=e.autoSize;o===void 0&&(o=this.optionFor(e,"autoSize"));let a=e.width||0,d=e.height||0;a&&d&&(o=!1);const f=s&&s.style;if(e.preload!==!1&&o!==!1&&f)try{const g=window.getComputedStyle(s),h=parseFloat(g.paddingLeft)+parseFloat(g.paddingRight),y=parseFloat(g.paddingTop)+parseFloat(g.paddingBottom),w=i.contentWindow;if(w){const v=w.document,C=v.getElementsByTagName(za)[0],x=v.body;f.width="",x.style.overflow="hidden",a=a||C.scrollWidth+h,f.width=`${a}px`,x.style.overflow="",f.flex="0 0 auto",f.height=`${x.scrollHeight}px`,d=C.scrollHeight+y}}catch(g){}if(a||d){const g={flex:"0 1 auto",width:"",height:""};a&&a!=="auto"&&(g.width=`${a}px`),d&&d!=="auto"&&(g.height=`${d}px`),Object.assign(f,g)}}playVideo(){const e=this.instance.getSlide();if(!e)return;const{el:t}=e;if(!t||!t.offsetParent||!this.optionFor(e,"videoAutoplay"))return;if(e.type===gr)try{const s=t.querySelector("video");if(s){const o=s.play();o!==void 0&&o.then(()=>{}).catch(a=>{s.muted=!0,s.play()})}}catch(s){}if(e.type!==_n&&e.type!==ri)return;const i=()=>{if(e.iframeEl&&e.iframeEl.contentWindow){let s;if(e.iframeEl.dataset.ready==="true")return s=e.type===_n?{event:"command",func:"playVideo"}:{method:"play",value:"true"},s&&e.iframeEl.contentWindow.postMessage(JSON.stringify(s),"*"),void(e.poller=void 0);e.type===_n&&(s={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(s),"*"))}e.poller=setTimeout(i,250)};i()}processType(e){if(e.html)return e.type=za,e.src=e.html,void(e.html="");const t=this.instance.optionFor(e,"src","");if(!t||typeof t!="string")return;let i=e.type,s=null;if(s=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const o=this.optionFor(e,_n),{nocookie:a}=o,d=function(y,w){var v={};for(var C in y)Object.prototype.hasOwnProperty.call(y,C)&&w.indexOf(C)<0&&(v[C]=y[C]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var x=0;for(C=Object.getOwnPropertySymbols(y);x<C.length;x++)w.indexOf(C[x])<0&&Object.prototype.propertyIsEnumerable.call(y,C[x])&&(v[C[x]]=y[C[x]])}return v}(o,["nocookie"]),f=`www.youtube${a?"-nocookie":""}.com`,g=ed(t,d),h=encodeURIComponent(s[2]);e.videoId=h,e.src=`https://${f}/embed/${h}?${g}`,e.thumbSrc=e.thumbSrc||`https://i.ytimg.com/vi/${h}/mqdefault.jpg`,i=_n}else if(s=t.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)){const o=ed(t,this.optionFor(e,ri)),a=encodeURIComponent(s[1]),d=s[4]||"";e.videoId=a,e.src=`https://player.vimeo.com/video/${a}?${d?`h=${d}${o?"&":""}`:""}${o}`,i=ri}if(!i&&e.triggerEl){const o=e.triggerEl.dataset.type;Hm.includes(o)&&(i=o)}i||typeof t=="string"&&(t.charAt(0)==="#"?i="inline":(s=t.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i=gr,e.videoFormat=e.videoFormat||"video/"+(s[1]==="ogv"?"ogg":s[1])):t.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i=Ku:t.match(/\.(pdf)((\?|#).*)?$/i)&&(i="pdf")),(s=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(e.src=`https://maps.google.${s[1]}/?ll=${(s[2]?s[2]+"&z="+Math.floor(parseFloat(s[3]))+(s[4]?s[4].replace(/^\//,"&"):""):s[4]+"").replace(/\?/,"&")}&output=${s[4]&&s[4].indexOf("layer=c")>0?"svembed":"embed"}`,i=Fa):(s=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${s[1]}/maps?q=${s[2].replace("query=","q=").replace("api=1","")}&output=embed`,i=Fa),i=i||this.instance.option("defaultType"),e.type=i,i===Ku&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){const t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case za:this.instance.setContent(e,t);break;case gr:const i=this.option("videoTpl");i&&this.instance.setContent(e,i.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case Fa:case _n:case ri:e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){const t=e.contentEl;if(!(e.el&&t&&e.type&&[_n,ri,gr].includes(e.type)))return;let i,s=e.width||"auto",o=e.height||"auto";if(s==="auto"||o==="auto"){i=this.optionFor(e,"videoRatio");const g=(i+"").match(/(\d+)\s*\/\s?(\d+)/);i=g&&g.length>2?parseFloat(g[1])/parseFloat(g[2]):parseFloat(i+"")}else s&&o&&(i=s/o);if(!i)return;t.style.aspectRatio="",t.style.width="",t.style.height="",t.offsetHeight;const a=t.getBoundingClientRect(),d=a.width||1,f=a.height||1;t.style.aspectRatio=i+"",i<d/f?(o=o==="auto"?f:Math.min(f,o),t.style.width="auto",t.style.height=`${o}px`):(s=s==="auto"?d:Math.min(d,s),t.style.width=`${s}px`,t.style.height="auto")}attach(){const e=this,t=e.instance;t.on("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.selectSlide",e.onSelectSlide),t.on("Carousel.unselectSlide",e.onUnselectSlide),t.on("Carousel.Panzoom.refresh",e.onRefresh),t.on("done",e.onDone),t.on("clearContent",e.onClearContent),window.addEventListener("message",e.onMessage)}detach(){const e=this,t=e.instance;t.off("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.selectSlide",e.onSelectSlide),t.off("Carousel.unselectSlide",e.onUnselectSlide),t.off("Carousel.Panzoom.refresh",e.onRefresh),t.off("done",e.onDone),t.off("clearContent",e.onClearContent),window.removeEventListener("message",e.onMessage)}}Object.defineProperty(th,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:jm});const As="play",Es="pause",mr="ready";class nh extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:mr}),Object.defineProperty(this,"inHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"progressBar",{enumerable:!0,configurable:!0,writable:!0,value:null})}get isActive(){return this.state!==mr}onReady(e){this.option("autoStart")&&(e.isInfinite||e.page<e.pages.length-1)&&this.start()}onChange(){this.removeProgressBar(),this.pause()}onSettle(){this.resume()}onVisibilityChange(){document.visibilityState==="visible"?this.resume():this.pause()}onMouseEnter(){this.inHover=!0,this.pause()}onMouseLeave(){var e;this.inHover=!1,!((e=this.instance.panzoom)===null||e===void 0)&&e.isResting&&this.resume()}onTimerEnd(){const e=this.instance;this.state==="play"&&(e.isInfinite||e.page!==e.pages.length-1?e.slideNext():e.slideTo(0))}removeProgressBar(){this.progressBar&&(this.progressBar.remove(),this.progressBar=null)}createProgressBar(){var e;if(!this.option("showProgress"))return null;this.removeProgressBar();const t=this.instance,i=((e=t.pages[t.page])===null||e===void 0?void 0:e.slides)||[];let s=this.option("progressParentEl");if(s||(s=(i.length===1?i[0].el:null)||t.viewport),!s)return null;const o=document.createElement("div");return K(o,"f-progress"),s.prepend(o),this.progressBar=o,o.offsetHeight,o}set(){const e=this,t=e.instance;if(t.pages.length<2||e.timer)return;const i=e.option("timeout");e.state=As,K(t.container,"has-autoplay");let s=e.createProgressBar();s&&(s.style.transitionDuration=`${i}ms`,s.style.transform="scaleX(1)"),e.timer=setTimeout(()=>{e.timer=null,e.inHover||e.onTimerEnd()},i),e.emit("set")}clear(){const e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.removeProgressBar()}start(){const e=this;if(e.set(),e.state!==mr){if(e.option("pauseOnHover")){const t=e.instance.container;t.addEventListener("mouseenter",e.onMouseEnter,!1),t.addEventListener("mouseleave",e.onMouseLeave,!1)}document.addEventListener("visibilitychange",e.onVisibilityChange,!1),e.emit("start")}}stop(){const e=this,t=e.state,i=e.instance.container;e.clear(),e.state=mr,i.removeEventListener("mouseenter",e.onMouseEnter,!1),i.removeEventListener("mouseleave",e.onMouseLeave,!1),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),be(i,"has-autoplay"),t!==mr&&e.emit("stop")}pause(){const e=this;e.state===As&&(e.state=Es,e.clear(),e.emit(Es))}resume(){const e=this,t=e.instance;if(t.isInfinite||t.page!==t.pages.length-1)if(e.state!==As){if(e.state===Es&&!e.inHover){const i=new Event("resume",{bubbles:!0,cancelable:!0});e.emit("resume",i),i.defaultPrevented||e.set()}}else e.set();else e.stop()}toggle(){this.state===As||this.state===Es?this.stop():this.start()}attach(){const e=this,t=e.instance;t.on("ready",e.onReady),t.on("Panzoom.startAnimation",e.onChange),t.on("Panzoom.endAnimation",e.onSettle),t.on("Panzoom.touchMove",e.onChange)}detach(){const e=this,t=e.instance;t.off("ready",e.onReady),t.off("Panzoom.startAnimation",e.onChange),t.off("Panzoom.endAnimation",e.onSettle),t.off("Panzoom.touchMove",e.onChange),e.stop()}}Object.defineProperty(nh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class ih extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){const t=e.carousel;if(!t)return;const i=e.container;i&&(t.options.Autoplay=ft({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:s=>{var o;i.classList.add("has-slideshow"),((o=e.getSlide())===null||o===void 0?void 0:o.state)!==tt.Ready&&s.pause()},stop:()=>{i.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(s,o)=>{var a,d,f;!o||!o.cancelable||((a=e.getSlide())===null||a===void 0?void 0:a.state)===tt.Ready&&(!((f=(d=e.carousel)===null||d===void 0?void 0:d.panzoom)===null||f===void 0)&&f.isResting)||o.preventDefault()}}}),t.attachPlugins({Autoplay:nh}),this.ref=t.plugins.Autoplay)}onReady(e){const t=e.carousel,i=this.ref;i&&t&&this.option("playOnStart")&&(t.isInfinite||t.page<t.pages.length-1)&&i.start()}onDone(e,t){const i=this.ref,s=e.carousel;if(!i||!s)return;const o=t.panzoom;o&&o.on("startAnimation",()=>{e.isCurrentSlide(t)&&i.stop()}),e.isCurrentSlide(t)&&i.resume()}onKeydown(e,t){var i;const s=this.ref;s&&t===this.option("key")&&((i=document.activeElement)===null||i===void 0?void 0:i.nodeName)!=="BUTTON"&&s.toggle()}attach(){const e=this,t=e.instance;t.on("Carousel.init",e.onPrepare),t.on("Carousel.ready",e.onReady),t.on("done",e.onDone),t.on("keydown",e.onKeydown)}detach(){const e=this,t=e.instance;t.off("Carousel.init",e.onPrepare),t.off("Carousel.ready",e.onReady),t.off("done",e.onDone),t.off("keydown",e.onKeydown)}}Object.defineProperty(ih,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:n=>{var e;return((e=n.instance.container)===null||e===void 0?void 0:e.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||n.instance.container},timeout:3e3}});const rh={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'<button class="f-thumbs__slide__button" tabindex="0" type="button" aria-label="{{GOTO}}" data-carousel-index="%i"><img class="f-thumbs__slide__img" data-lazy-src="{{%s}}" alt="" /></button>',type:"modern"};var Cn;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Hidden=2]="Hidden"})(Cn||(Cn={}));const td="isResting",xs="thumbWidth",ji="thumbHeight",Xt="thumbClipWidth";let sh=class extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Cn.Init})}get isModern(){return this.type==="modern"}onInitSlide(n,e){const t=e.el?e.el.dataset:void 0;t&&(e.thumbSrc=t.thumbSrc||e.thumbSrc||"",e[Xt]=parseFloat(t[Xt]||"")||e[Xt]||0,e[ji]=parseFloat(t.thumbHeight||"")||e[ji]||0),this.addSlide(e)}onInitSlides(){this.build()}onChange(){var n;if(!this.isModern)return;const e=this.container,t=this.instance,i=t.panzoom,s=this.carousel,o=s?s.panzoom:null,a=t.page;if(i&&s&&o){if(i.isDragging){be(e,this.cn(td));let d=((n=s.pages[a])===null||n===void 0?void 0:n.pos)||0;d+=t.getProgress(a)*(this[Xt]+this.thumbGap);let f=o.getBounds();-1*d>f.x.min&&-1*d<f.x.max&&o.panTo({x:-1*d,friction:.12})}else tn(e,this.cn(td),i.isResting);this.shiftModern()}}onRefresh(){this.updateProps();for(const n of this.instance.slides||[])this.resizeModernSlide(n);this.shiftModern()}isDisabled(){const n=this.option("minCount")||0;if(n){const t=this.instance;let i=0;for(const s of t.slides||[])s.thumbSrc&&i++;if(i<n)return!0}const e=this.option("type");return["modern","classic"].indexOf(e)<0}getThumb(n){const e=this.option("thumbTpl")||"";return{html:this.instance.localize(e,[["%i",n.index],["%d",n.index+1],["%s",n.thumbSrc||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]])}}addSlide(n){const e=this.carousel;e&&e.addSlide(n.index,this.getThumb(n))}getSlides(){const n=[];for(const e of this.instance.slides||[])n.push(this.getThumb(e));return n}resizeModernSlide(n){this.isModern&&(n[xs]=n[Xt]&&n[ji]?Math.round(this[ji]*(n[Xt]/n[ji])):this[xs])}updateProps(){const n=this.container;if(!n)return;const e=t=>parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+t))||0;this.thumbGap=e("gap"),this.thumbExtraGap=e("extra-gap"),this[xs]=e("width")||40,this[Xt]=e("clip-width")||40,this[ji]=e("height")||40}build(){const n=this;if(n.state!==Cn.Init)return;if(n.isDisabled())return void n.emit("disabled");const e=n.instance,t=e.container,i=n.getSlides(),s=n.option("type");n.type=s;const o=n.option("parentEl"),a=n.cn("container"),d=n.cn("track");let f=o==null?void 0:o.querySelector("."+a);f||(f=document.createElement("div"),K(f,a),o?o.appendChild(f):t.after(f)),K(f,`is-${s}`),K(t,n.cn("hasThumbs")),n.container=f,n.updateProps();let g=f.querySelector("."+d);g||(g=document.createElement("div"),K(g,n.cn("track")),f.appendChild(g)),n.track=g;const h=ft({},{track:g,infinite:!1,center:!0,fill:s==="classic",dragFree:!0,slidesPerPage:1,transition:!1,preload:.25,friction:.12,Panzoom:{maxVelocity:0},Dots:!1,Navigation:!1,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide"}},n.option("Carousel")||{},{Sync:{target:e},slides:i}),y=new e.constructor(f,h);y.on("createSlide",(w,v)=>{n.setProps(v.index),n.emit("createSlide",v,v.el)}),y.on("ready",()=>{n.shiftModern(),n.emit("ready")}),y.on("refresh",()=>{n.shiftModern()}),y.on("Panzoom.click",(w,v,C)=>{n.onClick(C)}),n.carousel=y,n.state=Cn.Ready}onClick(n){n.preventDefault(),n.stopPropagation();const e=this.instance,{pages:t,page:i}=e,s=x=>{if(x){const S=x.closest("[data-carousel-index]");if(S)return[parseInt(S.dataset.carouselIndex||"",10)||0,S]}return[-1,void 0]},o=(x,S)=>{const D=document.elementFromPoint(x,S);return D?s(D):[-1,void 0]};let[a,d]=s(n.target);if(a>-1)return;const f=this[Xt],g=n.clientX,h=n.clientY;let[y,w]=o(g-f,h),[v,C]=o(g+f,h);w&&C?(a=Math.abs(g-w.getBoundingClientRect().right)<Math.abs(g-C.getBoundingClientRect().left)?y:v,a===i&&(a=a===y?v:y)):w?a=y:C&&(a=v),a>-1&&t[a]&&e.slideTo(a)}getShift(n){var e;const t=this,{instance:i}=t,s=t.carousel;if(!i||!s)return 0;const o=t[xs],a=t[Xt],d=t.thumbGap,f=t.thumbExtraGap;if(!(!((e=s.slides[n])===null||e===void 0)&&e.el))return 0;const g=.5*(o-a),h=i.pages.length-1;let y=i.getProgress(0),w=i.getProgress(h),v=i.getProgress(n,!1,!0),C=0,x=g+f+d;const S=y<0&&y>-1,D=w>0&&w<1;return n===0?(C=x*Math.abs(y),D&&y===1&&(C-=x*Math.abs(w))):n===h?(C=x*Math.abs(w)*-1,S&&w===-1&&(C+=x*Math.abs(y))):S||D?(C=-1*x,C+=x*Math.abs(y),C+=x*(1-Math.abs(w))):C=x*v,C}setProps(n){var e;const t=this;if(!t.isModern)return;const{instance:i}=t,s=t.carousel;if(i&&s){const o=(e=s.slides[n])===null||e===void 0?void 0:e.el;if(o&&o.childNodes.length){let a=Y(1-Math.abs(i.getProgress(n))),d=Y(t.getShift(n));o.style.setProperty("--progress",a?a+"":""),o.style.setProperty("--shift",d+"")}}}shiftModern(){const n=this;if(!n.isModern)return;const{instance:e,track:t}=n,i=e.panzoom,s=n.carousel;if(!(e&&t&&i&&s)||i.state===Le.Init||i.state===Le.Destroy)return;for(const a of e.slides)n.setProps(a.index);let o=(n[Xt]+n.thumbGap)*(s.slides.length||0);t.style.setProperty("--width",o+"")}cleanup(){const n=this;n.carousel&&n.carousel.destroy(),n.carousel=null,n.container&&n.container.remove(),n.container=null,n.track&&n.track.remove(),n.track=null,n.state=Cn.Init,be(n.instance.container,n.cn("hasThumbs"))}attach(){const n=this,e=n.instance;e.on("initSlide",n.onInitSlide),e.state===We.Init?e.on("initSlides",n.onInitSlides):n.onInitSlides(),e.on(["change","Panzoom.afterTransform"],n.onChange),e.on("Panzoom.refresh",n.onRefresh)}detach(){const n=this,e=n.instance;e.off("initSlide",n.onInitSlide),e.off("initSlides",n.onInitSlides),e.off(["change","Panzoom.afterTransform"],n.onChange),e.off("Panzoom.refresh",n.onRefresh),n.cleanup()}};Object.defineProperty(sh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:rh});const Bm=Object.assign(Object.assign({},rh),{key:"t",showOnStart:!0,parentEl:null}),nd="is-masked",id="aria-hidden";class oh extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"hidden",{enumerable:!0,configurable:!0,writable:!0,value:!1})}get isEnabled(){const e=this.ref;return e&&!e.isDisabled()}get isHidden(){return this.hidden}onClick(e,t){t.stopPropagation()}onCreateSlide(e,t){var i,s,o;const a=((o=(s=(i=this.instance)===null||i===void 0?void 0:i.carousel)===null||s===void 0?void 0:s.slides[t.index])===null||o===void 0?void 0:o.type)||"",d=t.el;if(d&&a){let f=`for-${a}`;["video","youtube","vimeo","html5video"].includes(a)&&(f+=" for-video"),K(d,f)}}onInit(){var e;const t=this,i=t.instance,s=i.carousel;if(t.ref||!s)return;const o=t.option("parentEl")||i.footer||i.container;if(!o)return;const a=ft({},t.options,{parentEl:o,classes:{container:"f-thumbs fancybox__thumbs"},Carousel:{Sync:{friction:i.option("Carousel.friction")||0}},on:{ready:d=>{const f=d.container;f&&this.hidden&&(t.refresh(),f.style.transition="none",t.hide(),f.offsetHeight,queueMicrotask(()=>{f.style.transition="",t.show()}))}}});a.Carousel=a.Carousel||{},a.Carousel.on=ft(((e=t.options.Carousel)===null||e===void 0?void 0:e.on)||{},{click:this.onClick,createSlide:this.onCreateSlide}),s.options.Thumbs=a,s.attachPlugins({Thumbs:sh}),t.ref=s.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=Cn.Hidden,t.hidden=!0)}onResize(){var e;const t=(e=this.ref)===null||e===void 0?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){const i=this.option("key");i&&i===t&&this.toggle()}toggle(){const e=this.ref;if(e&&!e.isDisabled())return e.state===Cn.Hidden?(e.state=Cn.Init,void e.build()):void(this.hidden?this.show():this.hide())}show(){const e=this.ref;if(!e||e.isDisabled())return;const t=e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(id),t.classList.remove(nd),this.hidden=!1)}hide(){const e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add(nd),t.setAttribute(id,"true")),this.hidden=!0}refresh(){const e=this.ref;if(!e||!e.state)return;const t=e.container,i=(t==null?void 0:t.firstChild)||null;t&&i&&i.childNodes.length&&(t.style.maxHeight=`${i.getBoundingClientRect().height}px`)}attach(){const e=this,t=e.instance;t.state===qe.Init?t.on("Carousel.init",e.onInit):e.onInit(),t.on("resize",e.onResize),t.on("keydown",e.onKeydown)}detach(){var e;const t=this,i=t.instance;i.off("Carousel.init",t.onInit),i.off("resize",t.onResize),i.off("keydown",t.onKeydown),(e=i.carousel)===null||e===void 0||e.detachPlugins(["Thumbs"]),t.ref=null}}Object.defineProperty(oh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Bm});const Va={panLeft:{icon:'<svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg>',change:{panX:-100}},panRight:{icon:'<svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg>',change:{panX:100}},panUp:{icon:'<svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg>',change:{panY:-100}},panDown:{icon:'<svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg>',change:{panY:100}},zoomIn:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>',action:"zoomIn"},zoomOut:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"zoomOut"},toggle1to1:{icon:'<svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg>',action:"toggleZoom"},toggleZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"toggleZoom"},iterateZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"iterateZoom"},rotateCCW:{icon:'<svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg>',action:"rotateCCW"},rotateCW:{icon:'<svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg>',action:"rotateCW"},flipX:{icon:'<svg style="stroke-width: 1.3"><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg>',action:"flipX"},flipY:{icon:'<svg style="stroke-width: 1.3"><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg>',action:"flipY"},fitX:{icon:'<svg><path d="M4 12V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6M10 18H3M21 18h-7M6 15l-3 3 3 3M18 15l3 3-3 3"/></svg>',action:"fitX"},fitY:{icon:'<svg><path d="M12 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6M18 14v7M18 3v7M15 18l3 3 3-3M15 6l3-3 3 3"/></svg>',action:"fitY"},reset:{icon:'<svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg>',action:"reset"},toggleFS:{icon:'<svg><g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g></svg>',action:"toggleFS"}};var hi;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Disabled=2]="Disabled"})(hi||(hi={}));const zm={absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>'},download:{tpl:'<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>'},prev:{tpl:'<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>'},next:{tpl:'<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>'},slideshow:{tpl:'<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},fullscreen:{tpl:'<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},thumbs:{tpl:'<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>'},close:{tpl:'<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>'}},parentEl:null},Fm={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},rd="has-toolbar",Wa="fancybox__toolbar";class ah extends Ft{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:hi.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let i=this.option("display"),s=this.option("absolute"),o=this.option("enabled");if(o==="auto"){const g=this.instance.carousel;let h=0;if(g)for(const y of g.slides)(y.panzoom||y.type==="image")&&h++;h||(o=!1)}o||(i=void 0);let a=0;const d={left:[],middle:[],right:[]};if(i)for(const g of["left","middle","right"])for(const h of i[g]){const y=this.createEl(h);y&&((t=d[g])===null||t===void 0||t.push(y),a++)}let f=null;if(a&&(f=this.createContainer()),f){for(const[g,h]of Object.entries(d)){const y=document.createElement("div");K(y,Wa+"__column is-"+g);for(const w of h)y.appendChild(w);s!=="auto"||g!=="middle"||h.length||(s=!0),f.appendChild(y)}s===!0&&K(f,"is-absolute"),this.state=hi.Ready,this.onRefresh()}else this.state=hi.Disabled}onClick(e){var t,i;const s=this.instance,o=s.getSlide(),a=o==null?void 0:o.panzoom,d=e.target,f=d&&dt(d)?d.dataset:null;if(!f)return;if(f.fancyboxToggleThumbs!==void 0)return e.preventDefault(),e.stopPropagation(),void((t=s.plugins.Thumbs)===null||t===void 0||t.toggle());if(f.fancyboxToggleFullscreen!==void 0)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(f.fancyboxToggleSlideshow!==void 0){e.preventDefault(),e.stopPropagation();const y=(i=s.carousel)===null||i===void 0?void 0:i.plugins.Autoplay;let w=y.isActive;return a&&a.panMode==="mousemove"&&!w&&a.reset(),void(w?y.stop():y.start())}const g=f.panzoomAction,h=f.panzoomChange;if((h||g)&&(e.preventDefault(),e.stopPropagation()),h){let y={};try{y=JSON.parse(h)}catch(w){}a&&a.applyChange(y)}else g&&a&&a[g]&&a[g]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;const e=this.container;if(!e)return;const t=this.instance.getSlide();if(!t||t.state!==tt.Ready)return;const i=t&&!t.error&&t.panzoom;for(const a of e.querySelectorAll("[data-panzoom-action]"))i?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));let s=i&&i.canZoomIn(),o=i&&i.canZoomOut();for(const a of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))s?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));for(const a of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))o?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));for(const a of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){o||s?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));const d=a.querySelector("g");d&&(d.style.display=s?"":"none")}}onDone(e,t){var i;(i=t.panzoom)===null||i===void 0||i.on("afterTransform",()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()}),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){const e=this.instance.container;if(!e)return null;const t=this.option("parentEl")||e;let i=t.querySelector("."+Wa);return i||(i=document.createElement("div"),K(i,Wa),t.prepend(i)),i.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&K(e,rd),this.container=i,i}createEl(e){const t=this.instance,i=t.carousel;if(!i||e==="toggleFS"||e==="fullscreen"&&!Zf())return null;let s=null;const o=i.slides.length||0;let a=0,d=0;for(const g of i.slides)(g.panzoom||g.type==="image")&&a++,(g.type==="image"||g.downloadSrc)&&d++;if(o<2&&["infobar","prev","next"].includes(e))return s;if(Va[e]!==void 0&&!a||e==="download"&&!d)return null;if(e==="thumbs"){const g=t.plugins.Thumbs;if(!g||!g.isEnabled)return null}if(e==="slideshow"&&(!i.plugins.Autoplay||o<2))return null;if(Va[e]!==void 0){const g=Va[e];s=document.createElement("button"),s.setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),K(s,"f-button"),g.action&&(s.dataset.panzoomAction=g.action),g.change&&(s.dataset.panzoomChange=JSON.stringify(g.change)),s.appendChild(en(this.instance.localize(g.icon)))}else{const g=(this.option("items")||[])[e];g&&(s=en(this.instance.localize(g.tpl)),typeof g.click=="function"&&s.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation(),typeof g.click=="function"&&g.click.call(this,this,h)}))}const f=s==null?void 0:s.querySelector("svg");if(f)for(const[g,h]of Object.entries(Fm))f.getAttribute(g)||f.setAttribute(g,String(h));return s}removeContainer(){const e=this.container;e&&e.remove(),this.container=null,this.state=hi.Disabled;const t=this.instance.container;t&&be(t,rd)}attach(){const e=this,t=e.instance;t.on("Carousel.initSlides",e.onReady),t.on("done",e.onDone),t.on(["reveal","Carousel.change"],e.onChange),e.onReady(e.instance)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlides",e.onReady),t.off("done",e.onDone),t.off(["reveal","Carousel.change"],e.onChange),e.removeContainer()}}Object.defineProperty(ah,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:zm});const Vm={Hash:class extends Ft{onReady(){br=!1}onChange(n){ui&&clearTimeout(ui);const{hash:e}=Qf(),{hash:t}=Zs(),i=n.isOpeningSlide(n.getSlide());i&&(Xu=t===e?"":t),e&&e!==t&&(ui=setTimeout(()=>{try{if(n.state===qe.Ready){let s="replaceState";i&&!Ls&&(s="pushState",Ls=!0),window.history[s]({},document.title,window.location.pathname+window.location.search+e)}}catch(s){}},300))}onClose(n){if(ui&&clearTimeout(ui),!br&&Ls)return Ls=!1,br=!1,void window.history.back();if(!br)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(Xu||""))}catch(e){}}attach(){const n=this.instance;n.on("ready",this.onReady),n.on(["Carousel.ready","Carousel.change"],this.onChange),n.on("close",this.onClose)}detach(){const n=this.instance;n.off("ready",this.onReady),n.off(["Carousel.ready","Carousel.change"],this.onChange),n.off("close",this.onClose)}static parseURL(){return Zs()}static startFromUrl(){Xf()}static destroy(){window.removeEventListener("hashchange",Kf,!1)}},Html:th,Images:eh,Slideshow:ih,Thumbs:oh,Toolbar:ah},sd="with-fancybox",Ua="hide-scrollbar",od="--fancybox-scrollbar-compensate",ad="--fancybox-body-margin",Ga="aria-hidden",Ya="is-using-tab",qa="is-animated",ld="is-compact",cd="is-loading",Za="is-opening",Ss="has-caption",Hi="disabled",si="tabindex",ud="download",Qa="href",Bi="src",Nn=n=>typeof n=="string",dd=function(){var n=window.getSelection();return!!n&&n.type==="Range"};let Ot,Rt=null,oi=null,fd=0,hd=0,pd=0,gd=0;const zi=new Map;let Wm=0;class pe extends Il{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(e=[],t={},i={}){super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"startedFs",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:qe.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Ot||(Ot=Zf()),this.id=t.id||++Wm,zi.set(this.id,this),this.userSlides=e,this.userPlugins=i,queueMicrotask(()=>{this.init()})}init(){if(this.state===qe.Destroy)return;this.state=qe.Init,this.attachPlugins(Object.assign(Object.assign({},pe.Plugins),this.userPlugins)),this.emit("init"),this.emit("attachPlugins"),this.option("hideScrollbar")===!0&&(()=>{if(!yr)return;const t=document,i=t.body,s=t.documentElement;if(i.classList.contains(Ua))return;let o=window.innerWidth-s.getBoundingClientRect().width;const a=parseFloat(window.getComputedStyle(i).marginRight);o<0&&(o=0),s.style.setProperty(od,`${o}px`),a&&i.style.setProperty(ad,`${a}px`),i.classList.add(Ua)})(),this.initLayout(),this.scale();const e=()=>{this.initCarousel(this.userSlides),this.state=qe.Ready,this.attachEvents(),this.emit("ready"),setTimeout(()=>{this.container&&this.container.setAttribute(Ga,"false")},16)};this.option("Fullscreen.autoStart")&&Ot&&!Ot.isFullscreen()?Ot.request().then(()=>{this.startedFs=!0,e()}).catch(()=>e()):e()}initLayout(){var e,t;const i=this.option("parentEl")||document.body,s=en(this.localize(this.option("tpl.main")||""));if(s){if(s.setAttribute("id",`fancybox-${this.id}`),s.setAttribute("aria-label",this.localize("{{MODAL}}")),s.classList.toggle(ld,this.isCompact),K(s,this.option("mainClass")||""),K(s,Za),this.container=s,this.footer=s.querySelector(".fancybox__footer"),i.appendChild(s),K(document.documentElement,sd),Rt&&oi||(Rt=document.createElement("span"),K(Rt,"fancybox-focus-guard"),Rt.setAttribute(si,"0"),Rt.setAttribute(Ga,"true"),Rt.setAttribute("aria-label","Focus guard"),oi=Rt.cloneNode(),(e=s.parentElement)===null||e===void 0||e.insertBefore(Rt,s),(t=s.parentElement)===null||t===void 0||t.append(oi)),s.addEventListener("mousedown",o=>{fd=o.pageX,hd=o.pageY,be(s,Ya)}),this.option("closeExisting"))for(const o of zi.values())o.id!==this.id&&o.close();else this.option("animated")&&(K(s,qa),setTimeout(()=>{this.isClosing()||be(s,qa)},350));this.emit("initLayout")}}initCarousel(e){const t=this.container;if(!t)return;const i=t.querySelector(".fancybox__carousel");if(!i)return;const s=this.carousel=new zs(i,ft({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));s.on("*",(o,a,...d)=>{this.emit(`Carousel.${a}`,o,...d)}),s.on(["ready","change"],()=>{this.manageCaption()}),this.on("Carousel.removeSlide",(o,a,d)=>{this.clearContent(d),d.state=void 0}),s.on("Panzoom.touchStart",()=>{var o,a;this.isCompact||this.endIdle(),!((o=document.activeElement)===null||o===void 0)&&o.closest(".f-thumbs")&&((a=this.container)===null||a===void 0||a.focus())}),s.on("settle",()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()}),this.option("dragToClose")&&(s.on("Panzoom.afterTransform",(o,a)=>{const d=this.getSlide();if(d&&gl(d.el))return;const f=this.container;if(f){const g=Math.abs(a.current.f),h=g<1?"":Math.max(.5,Math.min(1,1-g/a.contentRect.fitHeight*1.5));f.style.setProperty("--fancybox-ts",h?"0s":""),f.style.setProperty("--fancybox-opacity",h+"")}}),s.on("Panzoom.touchEnd",(o,a,d)=>{var f;const g=this.getSlide();if(g&&gl(g.el)||a.isMobile&&document.activeElement&&["TEXTAREA","INPUT"].indexOf((f=document.activeElement)===null||f===void 0?void 0:f.nodeName)!==-1)return;const h=Math.abs(a.dragOffset.y);a.lockedAxis==="y"&&(h>=200||h>=50&&a.dragOffset.time<300)&&(d&&d.cancelable&&d.preventDefault(),this.close(d,"f-throwOut"+(a.current.f<0?"Up":"Down")))})),s.on("change",o=>{var a;let d=(a=this.getSlide())===null||a===void 0?void 0:a.triggerEl;if(d){const f=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:o.page});d.dispatchEvent(f)}}),s.on(["refresh","change"],o=>{const a=this.container;if(!a)return;for(const g of a.querySelectorAll("[data-fancybox-current-index]"))g.innerHTML=o.page+1;for(const g of a.querySelectorAll("[data-fancybox-count]"))g.innerHTML=o.pages.length;if(!o.isInfinite){for(const g of a.querySelectorAll("[data-fancybox-next]"))o.page<o.pages.length-1?(g.removeAttribute(Hi),g.removeAttribute(si)):(g.setAttribute(Hi,""),g.setAttribute(si,"-1"));for(const g of a.querySelectorAll("[data-fancybox-prev]"))o.page>0?(g.removeAttribute(Hi),g.removeAttribute(si)):(g.setAttribute(Hi,""),g.setAttribute(si,"-1"))}const d=this.getSlide();if(!d)return;let f=d.downloadSrc||"";f||d.type!=="image"||d.error||!Nn(d[Bi])||(f=d[Bi]);for(const g of a.querySelectorAll("[data-fancybox-download]")){const h=d.downloadFilename;f?(g.removeAttribute(Hi),g.removeAttribute(si),g.setAttribute(Qa,f),g.setAttribute(ud,h||f),g.setAttribute("target","_blank")):(g.setAttribute(Hi,""),g.setAttribute(si,"-1"),g.removeAttribute(Qa),g.removeAttribute(ud))}}),this.emit("initCarousel")}attachEvents(){const e=this,t=e.container;if(!t)return;t.addEventListener("click",e.onClick,{passive:!1,capture:!1}),t.addEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",e.onVisibilityChange,!1),document.addEventListener("mousemove",e.onMousemove),e.option("trapFocus")&&document.addEventListener("focus",e.onFocus,!0),window.addEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.addEventListener("scroll",e.onResize),i.addEventListener("resize",e.onResize))}detachEvents(){const e=this,t=e.container;if(!t)return;document.removeEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),t.removeEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),t.removeEventListener("click",e.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",e.onMousemove),window.removeEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.removeEventListener("resize",e.onResize),i.removeEventListener("scroll",e.onResize)),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),document.removeEventListener("focus",e.onFocus,!0)}scale(){const e=this.container;if(!e)return;const t=window.visualViewport,i=Math.max(1,(t==null?void 0:t.scale)||1);let s="",o="",a="";if(t&&i>1){let d=`${t.offsetLeft}px`,f=`${t.offsetTop}px`;s=t.width*i+"px",o=t.height*i+"px",a=`translate3d(${d}, ${f}, 0) scale(${1/i})`}e.style.transform=a,e.style.width=s,e.style.height=o}onClick(e){var t;const{container:i,isCompact:s}=this;if(!i||this.isClosing())return;!s&&this.option("idle")&&this.resetIdle();const o=e.composedPath()[0];if(o.closest(".fancybox-spinner")||o.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(o.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(o.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if(e.type==="click"&&e.detail===0||Math.abs(e.pageX-fd)>30||Math.abs(e.pageY-hd)>30)return;const a=document.activeElement;if(dd()&&a&&i.contains(a))return;if(s&&((t=this.getSlide())===null||t===void 0?void 0:t.type)==="image")return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout(()=>{this.toggleIdle(),this.clickTimer=null},350));if(this.emit("click",e),e.defaultPrevented)return;let d=!1;if(o.closest(".fancybox__content")){if(a){if(a.closest("[contenteditable]"))return;o.matches(Ba)||a.blur()}if(dd())return;d=this.option("contentClick")}else o.closest(".fancybox__carousel")&&!o.matches(Ba)&&(d=this.option("backdropClick"));d==="close"?(e.preventDefault(),this.close(e)):d==="next"?(e.preventDefault(),this.next()):d==="prev"&&(e.preventDefault(),this.prev())}onWheel(e){const t=e.target;let i=this.option("wheel",e);t.closest(".fancybox__thumbs")&&(i="slide");const s=i==="slide",o=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(f,g){return Math.abs(g)>Math.abs(f)?g:f}),a=Math.max(-1,Math.min(1,o)),d=Date.now();this.pwt&&d-this.pwt<300?s&&e.preventDefault():(this.pwt=d,this.emit("wheel",e,a),e.defaultPrevented||(i==="close"?(e.preventDefault(),this.close(e)):i==="slide"&&(Ys(t)||(e.preventDefault(),this[a>0?"prev":"next"]()))))}onScroll(){window.scrollTo(pd,gd)}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();const t=e.key,i=this.option("keyboard");if(!i)return;const s=e.composedPath()[0],o=document.activeElement&&document.activeElement.classList,a=o&&o.contains("f-button")||s.dataset.carouselPage||s.dataset.carouselIndex;if(t!=="Escape"&&!a&&dt(s)&&(s.isContentEditable||["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(s.nodeName)!==-1)||(e.key==="Tab"?K(this.container,Ya):be(this.container,Ya),e.ctrlKey||e.altKey||e.shiftKey))return;this.emit("keydown",t,e);const d=i[t];d&&typeof this[d]=="function"&&(e.preventDefault(),this[d]())}onResize(){const e=this.container;if(!e)return;const t=this.isCompact;e.classList.toggle(ld,t),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){document.visibilityState==="visible"?this.checkFocus():this.endIdle()}manageCloseBtn(e){const t=this.optionFor(e,"closeButton")||!1;if(t==="auto"){const s=this.plugins.Toolbar;if(s&&s.state===hi.Ready)return}if(!t||!e.contentEl||e.closeBtnEl)return;const i=this.option("tpl.closeButton");if(i){const s=en(this.localize(i));e.closeBtnEl=e.contentEl.appendChild(s),e.el&&K(e.el,"has-close-btn")}}manageCaption(e=void 0){var t,i;const s="fancybox__caption",o=this.container;if(!o)return;be(o,Ss);const a=this.isCompact||this.option("commonCaption"),d=!a;if(this.caption&&this.stop(this.caption),d&&this.caption&&(this.caption.remove(),this.caption=null),a&&!this.caption)for(const y of((t=this.carousel)===null||t===void 0?void 0:t.slides)||[])y.captionEl&&(y.captionEl.remove(),y.captionEl=void 0,be(y.el,Ss),(i=y.el)===null||i===void 0||i.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||a&&!this.isCurrentSlide(e))return;const f=e.el;let g=this.optionFor(e,"caption","");if(!g)return void(a&&this.caption&&this.animate(this.caption,"f-fadeOut",()=>{this.caption&&(this.caption.innerHTML="")}));let h=null;if(d){if(h=e.captionEl||null,f&&!h){const y=s+`_${this.id}_${e.index}`;h=document.createElement("div"),K(h,s),h.setAttribute("id",y),e.captionEl=f.appendChild(h),K(f,Ss),f.setAttribute("aria-labelledby",y)}}else h=this.caption,h||(h=o.querySelector("."+s)),!h&&(h=document.createElement("div"),h.dataset.fancyboxCaption="",K(h,s),(this.footer||o).prepend(h)),K(o,Ss),this.caption=h;h&&(h.innerHTML="",Nn(g)||typeof g=="number"?h.innerHTML=g+"":g instanceof HTMLElement&&h.appendChild(g))}checkFocus(e){this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;const i=document.activeElement||null,s=(e==null?void 0:e.target)||null,o=this.container,a=(t=this.carousel)===null||t===void 0?void 0:t.viewport;if(!o||!a||!e&&i&&o.contains(i))return;const d=this.getSlide(),f=d&&d.state===tt.Ready?d.el:null;if(!f||f.contains(i)||o===i)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;const g=Array.from(o.querySelectorAll(Ba));let h=[],y=null;for(let v of g){const C=!v.offsetParent||!!v.closest('[aria-hidden="true"]'),x=f&&f.contains(v),S=!a.contains(v);if(v===o||(x||S)&&!C){h.push(v);const D=v.dataset.origTabindex;D!==void 0&&D&&(v.tabIndex=parseFloat(D)),v.removeAttribute("data-orig-tabindex"),!v.hasAttribute("autoFocus")&&y||(y=v)}else{const D=v.dataset.origTabindex===void 0?v.getAttribute("tabindex")||"":v.dataset.origTabindex;D&&(v.dataset.origTabindex=D),v.tabIndex=-1}}let w=null;e?(!s||h.indexOf(s)<0)&&(w=y||o,h.length&&(i===oi?w=h[0]:this.lastFocus!==o&&i!==Rt||(w=h[h.length-1]))):w=d&&d.type==="image"?o:y||o,w&&Qu(w),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){const e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){const e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(...e){this.carousel&&this.carousel.slideTo(...e)}isTopmost(){var e;return((e=pe.getInstance())===null||e===void 0?void 0:e.id)==this.id}animate(e=null,t="",i){if(!e||!t)return void(i&&i());this.stop(e);const s=o=>{o.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",s),delete e.dataset.animationName,i&&i(),be(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",s),K(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e,t="",i=!0){if(this.isClosing())return;const s=e.el;if(!s)return;let o=null;if(dt(t)?o=t:(o=en(t+""),dt(o)||(o=document.createElement("div"),o.innerHTML=t+"")),["img","picture","iframe","video","audio"].includes(o.nodeName.toLowerCase())){const a=document.createElement("div");a.appendChild(o),o=a}dt(o)&&e.filter&&!e.error&&(o=o.querySelector(e.filter)),o&&dt(o)?(K(o,"fancybox__content"),e.id&&o.setAttribute("id",e.id),s.classList.add(`has-${e.error?"error":e.type||"unknown"}`),s.prepend(o),o.style.display==="none"&&(o.style.display=""),getComputedStyle(o).getPropertyValue("display")==="none"&&(o.style.display=e.display||this.option("defaultDisplay")||"flex"),e.contentEl=o,i&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){const i=e.el,s=e.contentEl;i&&s&&(this.emit("reveal",e),this.hideLoading(e),e.state=tt.Opening,(t=this.isOpeningSlide(e)?t===void 0?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(s,t,()=>{this.done(e)}):this.done(e))}done(e){this.isClosing()||(e.state=tt.Ready,this.emit("done",e),K(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask(()=>{var t;(t=e.panzoom)===null||t===void 0||t.updateControls(),this.option("autoFocus")&&this.focus()}),this.isOpeningSlide(e)&&(be(this.container,Za),!this.isCompact&&this.option("idle")&&this.setIdle()))}isCurrentSlide(e){const t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,i;return((t=this.carousel)===null||t===void 0?void 0:t.prevPage)===null&&e&&e.index===((i=this.getSlide())===null||i===void 0?void 0:i.index)}showLoading(e){e.state=tt.Loading;const t=e.el;t&&(K(t,cd),this.emit("loading",e),e.spinnerEl||setTimeout(()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===tt.Loading){let i=en(Nl);K(i,"fancybox-spinner"),e.spinnerEl=i,t.prepend(i),this.animate(i,"f-fadeIn")}},250))}hideLoading(e){const t=e.el;if(!t)return;const i=e.spinnerEl;this.isClosing()?i==null||i.remove():(be(t,cd),i&&this.animate(i,"f-fadeOut",()=>{i.remove()}),e.state===tt.Loading&&(this.emit("loaded",e),e.state=tt.Ready))}setError(e,t){if(this.isClosing())return;const i=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",i,e),i.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);const s=document.createElement("div");s.classList.add("fancybox-error"),s.innerHTML=this.localize(t||"<p>{{ERROR}}</p>"),this.setContent(e,s)}clearContent(e){if(e.state===void 0)return;this.emit("clearContent",e),e.contentEl&&(e.contentEl.remove(),e.contentEl=void 0);const t=e.el;t&&(be(t,"has-error"),be(t,"has-unknown"),be(t,`has-${e.type||"unknown"}`)),e.closeBtnEl&&e.closeBtnEl.remove(),e.closeBtnEl=void 0,e.captionEl&&e.captionEl.remove(),e.captionEl=void 0,e.spinnerEl&&e.spinnerEl.remove(),e.spinnerEl=void 0}getSlide(){var e;const t=this.carousel;return((e=t==null?void 0:t.pages[t==null?void 0:t.page])===null||e===void 0?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const i=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",i,e),i.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const s=()=>{this.proceedClose(e,t)};this.startedFs&&Ot&&Ot.isFullscreen()?Promise.resolve(Ot.exit()).then(()=>s()):s()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(e=!1){const t=()=>{this.clearIdle(),this.idle=!0,K(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const i=this.option("idle");i&&(this.idleTimer=setTimeout(t,i))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,be(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){Ot&&(Ot.isFullscreen()?Ot.exit():Ot.request().then(()=>{this.startedFs=!0}))}isClosing(){return[qe.Closing,qe.CustomClosing,qe.Destroy].includes(this.state)}proceedClose(e,t){var i,s;this.state=qe.Closing,this.clearIdle(),this.detachEvents();const o=this.container,a=this.carousel,d=this.getSlide(),f=d&&this.option("placeFocusBack")?d.triggerEl||this.option("triggerEl"):null;if(f&&(qf(f)?Qu(f):f.focus()),o&&(be(o,Za),K(o,"is-closing"),o.setAttribute(Ga,"true"),this.option("animated")&&K(o,qa),o.style.pointerEvents="none"),a){a.clearTransitions(),(i=a.panzoom)===null||i===void 0||i.destroy(),(s=a.plugins.Navigation)===null||s===void 0||s.detach();for(const g of a.slides){g.state=tt.Closing,this.hideLoading(g);const h=g.contentEl;h&&this.stop(h);const y=g==null?void 0:g.panzoom;y&&(y.stop(),y.detachEvents(),y.detachObserver()),this.isCurrentSlide(g)||a.emit("removeSlide",g)}}pd=window.scrollX,gd=window.scrollY,window.addEventListener("scroll",this.onScroll),this.emit("close",e),this.state!==qe.CustomClosing?(t===void 0&&d&&(t=this.optionFor(d,"hideClass")),t&&d?(this.animate(d.contentEl,t,()=>{a&&a.emit("removeSlide",d)}),setTimeout(()=>{this.destroy()},500)):this.destroy()):setTimeout(()=>{this.destroy()},500)}destroy(){var e;if(this.state===qe.Destroy)return;window.removeEventListener("scroll",this.onScroll),this.state=qe.Destroy,(e=this.carousel)===null||e===void 0||e.destroy();const t=this.container;t&&t.remove(),zi.delete(this.id);const i=pe.getInstance();i?i.focus():(Rt&&(Rt.remove(),Rt=null),oi&&(oi.remove(),oi=null),be(document.documentElement,sd),(()=>{if(!yr)return;const s=document,o=s.body;o.classList.remove(Ua),o.style.setProperty(ad,""),s.documentElement.style.setProperty(od,"")})(),this.emit("destroy"))}static bind(e,t,i){if(!yr)return;let s,o="",a={};if(e===void 0?s=document.body:Nn(e)?(s=document.body,o=e,typeof t=="object"&&(a=t||{})):(s=e,Nn(t)&&(o=t),typeof i=="object"&&(a=i||{})),!s||!dt(s))return;o=o||"[data-fancybox]";const d=pe.openers.get(s)||new Map;d.set(o,a),pe.openers.set(s,d),d.size===1&&s.addEventListener("click",pe.fromEvent)}static unbind(e,t){let i,s="";if(Nn(e)?(i=document.body,s=e):(i=e,Nn(t)&&(s=t)),!i)return;const o=pe.openers.get(i);o&&s&&o.delete(s),s&&o||(pe.openers.delete(i),i.removeEventListener("click",pe.fromEvent))}static destroy(){let e;for(;e=pe.getInstance();)e.destroy();for(const t of pe.openers.keys())t.removeEventListener("click",pe.fromEvent);pe.openers=new Map}static fromEvent(e){if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const i=t.closest("[data-fancybox-trigger]");if(i){const C=i.dataset.fancyboxTrigger||"",x=document.querySelectorAll(`[data-fancybox="${C}"]`),S=parseInt(i.dataset.fancyboxIndex||"",10)||0;t=x[S]||t}if(!(t&&t instanceof Element))return;let s,o,a,d;if([...pe.openers].reverse().find(([C,x])=>!(!C.contains(t)||![...x].reverse().find(([S,D])=>{let M=t.closest(S);return!!M&&(s=C,o=S,a=M,d=D,!0)}))),!s||!o||!a)return;d=d||{},e.preventDefault(),t=a;let f=[],g=ft({},bl,d);g.event=e,g.triggerEl=t,g.delegate=i;const h=g.groupAll,y=g.groupAttr,w=y&&t?t.getAttribute(`${y}`):"";if((!t||w||h)&&(f=[].slice.call(s.querySelectorAll(o))),t&&!h&&(f=w?f.filter(C=>C.getAttribute(`${y}`)===w):[t]),!f.length)return;const v=pe.getInstance();return v&&v.options.triggerEl&&f.indexOf(v.options.triggerEl)>-1?void 0:(t&&(g.startIndex=f.indexOf(t)),pe.fromNodes(f,g))}static fromSelector(e,t,i){let s=null,o="",a={};if(Nn(e)?(s=document.body,o=e,typeof t=="object"&&(a=t||{})):e instanceof HTMLElement&&Nn(t)&&(s=e,o=t,typeof i=="object"&&(a=i||{})),!s||!o)return!1;const d=pe.openers.get(s);return!!d&&(a=ft({},d.get(o)||{},a),!!a&&pe.fromNodes(Array.from(s.querySelectorAll(o)),a))}static fromNodes(e,t){t=ft({},bl,t||{});const i=[];for(const s of e){const o=s.dataset||{},a=o[Bi]||s.getAttribute(Qa)||s.getAttribute("currentSrc")||s.getAttribute(Bi)||void 0;let d;const f=t.delegate;let g;f&&i.length===t.startIndex&&(d=f instanceof HTMLImageElement?f:f.querySelector("img:not([aria-hidden])")),d||(d=s instanceof HTMLImageElement?s:s.querySelector("img:not([aria-hidden])")),d&&(g=d.currentSrc||d[Bi]||void 0,!g&&d.dataset&&(g=d.dataset.lazySrc||d.dataset[Bi]||void 0));const h={src:a,triggerEl:s,thumbEl:d,thumbElSrc:g,thumbSrc:g};for(const y in o){let w=o[y]+"";w=w!=="false"&&(w==="true"||w),h[y]=w}i.push(h)}return new pe(i,t)}static getInstance(e){return e?zi.get(e):Array.from(zi.values()).reverse().find(t=>!t.isClosing()&&t)||null}static getSlide(){var e;return((e=pe.getInstance())===null||e===void 0?void 0:e.getSlide())||null}static show(e=[],t={}){return new pe(e,t)}static next(){const e=pe.getInstance();e&&e.next()}static prev(){const e=pe.getInstance();e&&e.prev()}static close(e=!0,...t){if(e)for(const i of zi.values())i.close(...t);else{const i=pe.getInstance();i&&i.close(...t)}}}Object.defineProperty(pe,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(pe,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:bl}),Object.defineProperty(pe,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Vm}),Object.defineProperty(pe,"openers",{enumerable:!0,configurable:!0,writable:!0,value:new Map});const Um={PANUP:"Posunout nahoru",PANDOWN:"Posunout dolů",PANLEFT:"Posunout vlevo",PANRIGHT:"Posunout vpravo",ZOOMIN:"Přiblížit",ZOOMOUT:"Oddálit",TOGGLEZOOM:"Přepnout úroveň přiblížení",TOGGLE1TO1:"Přepnout úroveň přiblížení",ITERATEZOOM:"Přepnout úroveň přiblížení",ROTATECCW:"Otočit směrem vlevo",ROTATECW:"Otočit směrem vpravo",FLIPX:"Převrátit vodorovně",FLIPY:"Převrátit svisle",FITX:"Přizpůsobit na šířku",FITY:"Přizpůsobit na výšku",RESET:"Resetovat",TOGGLEFS:"Režim celé obrazovky",CLOSE:"Zavřít",NEXT:"Další",PREV:"Předchozí",MODAL:"Toto okno lze zavřít klávesou ESC",ERROR:"Někde se stala chyba, zkuste to prosím znovu",IMAGE_ERROR:"Obrázek nenalezen",ELEMENT_NOT_FOUND:"HTML element nenalezen",AJAX_NOT_FOUND:"Chyba AJAX načítání: Nenalezeno",AJAX_FORBIDDEN:"Chyba AJAX načítání: Zamítnuto",IFRAME_ERROR:"Chyba načítání stránky",TOGGLE_ZOOM:"Přepnout úroveň přiblížení",TOGGLE_THUMBS:"Zobrazit/skrýt miniatury",TOGGLE_SLIDESHOW:"Spustit/zastavit automatické přehrávání",TOGGLE_FULLSCREEN:"Režim celé obrazovky",DOWNLOAD:"Stáhnout"};function Ie(n,e,t,i,s,o,a,d){var f=typeof n=="function"?n.options:n;return e&&(f.render=e,f.staticRenderFns=t,f._compiled=!0),{exports:n,options:f}}const Gm={name:"AnimatedArrow",props:["mobileWidth","mobileHeight","desktopWidth","desktopHeight"],mounted:function(){let n=!1;const e=()=>{n=!n,n?(this.$refs.arrowDesktop.style.fill="#fff",this.$refs.arrowMobile.style.fill="#fff"):(this.$refs.arrowDesktop.style.fill="#fec900",this.$refs.arrowMobile.style.fill="#fec900")};window.setInterval(e,750)}};var Ym=function(){var e=this,t=e._self._c;return t("div",[t("svg",{staticClass:"xl:hidden block",attrs:{width:e.mobileWidth,height:e.mobileHeight,viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{id:"Icon / Placeholder"}},[t("path",{ref:"arrowMobile",staticClass:"arrow-icon",staticStyle:{transition:"fill 0.75s"},attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])]),t("svg",{staticClass:"xl:block hidden",attrs:{width:e.desktopWidth,height:e.desktopHeight,viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{id:"Icon / Placeholder"}},[t("path",{ref:"arrowDesktop",staticClass:"arrow-icon",staticStyle:{transition:"fill 0.75s"},attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])])])},qm=[],Zm=Ie(Gm,Ym,qm);const Qm=Zm.exports,Xm={props:{name:{type:String,default:"Kalendář"},events:{type:Array,required:!0},onShowMore:{type:Function,required:!1},hasMore:{type:Boolean,default:!0},showBanner:{type:Boolean,default:!0}},filters:{dateDay:n=>`${new Date(n).getDate()}.`}};var Jm=function(){var e=this,t=e._self._c;return t("div",{staticClass:"calendar grid grid-cols-4"},[e.showBanner?t("div",{staticClass:"col-span-4 xl:col-span-1"},[t("aside",{staticClass:"banner bg-orange-300 text-white h-full"},[t("i",{staticClass:"ico--calendar banner__icon"}),t("div",{staticClass:"banner__body"},[t("h1",{staticClass:"head-alt-md banner__cta"},[e._v(e._s(e.name))]),e.onShowMore&&e.hasMore?t("button",{staticClass:"btn btn--white btn--fullwidth sm:btn--autowidth mt-8",on:{click:function(i){return e.onShowMore()}}},[t("div",{staticClass:"btn__body"},[e._v("Zobrazit další")])]):e._e()])])]):e._e(),t("div",{class:{"col-span-4 xl:col-span-3":e.showBanner,"col-span-4":!e.showBanner}},e._l(e.events,function(i){return t("div",{key:i.id,staticClass:"grid grid-cols-12 items-center calendar-table-row",class:{"calendar-table-row--standalone":!e.showBanner}},[t("div",{staticClass:"col-span-2 text-orange-300 head-alt-md calendar-table-row__col"},[t("span",[e._v(e._s(e._f("dateDay")(i.startTimestamp)))])]),t("div",{staticClass:"col-span-8 grid grid-cols-3 col-gap-4 calendar-table-row__col",class:{"calendar-table-row__col--norborder":!i.mapLink}},[t("div",{staticClass:"col-span-3 md:col-span-1"},[t("strong",{staticClass:"block"},[e._v(e._s(i.startDateVerbose))]),t("p",{staticClass:"font-light text-sm mt-1"},[e._v(e._s(i.allDay?"Celý den":i.startTimeVerbose))])]),t("div",{staticClass:"col-span-3 md:col-span-2 mt-4 md:mt-0"},[i.link?t("a",{staticClass:"font-bold block",attrs:{href:i.link,target:"_blank",rel:"noreferrer noopener"}},[e._v(e._s(i.title))]):e._e(),i.link?e._e():t("strong",{staticClass:"block"},[e._v(e._s(i.title))]),i.description?t("p",{staticClass:"font-light text-sm mt-1"},[e._v(e._s(i.description))]):e._e()])]),t("div",{staticClass:"col-span-2 text-center font-light calendar-table-row__col"},[i.mapLink?t("a",{staticClass:"icon-link",attrs:{href:i.mapLink}},[t("i",{staticClass:"ico--location text-violet-300 mr-1",attrs:{"aria-hidden":"true"}}),t("span",[e._v("Mapa")])]):e._e()])])}),0)])},Km=[],ev=Ie(Xm,Jm,Km);const tv=ev.exports,md=[{id:2,start:"2020-07-08T10:00:00.000Z",startTimestamp:new Date("2020-07-08T10:00:00.000Z").getTime(),startDateVerbose:"středa 8. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-08T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MDhUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:15,start:"2020-07-13T19:00:00.000Z",startTimestamp:new Date("2020-07-13T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 13. července 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-13T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcxM1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:3,start:"2020-07-15T10:00:00.000Z",startTimestamp:new Date("2020-07-15T10:00:00.000Z").getTime(),startDateVerbose:"středa 15. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-15T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MTVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn",mapLink:"https://maps.google.com"},{id:16,start:"2020-07-20T19:00:00.000Z",startTimestamp:new Date("2020-07-20T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 20. července 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-20T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcyMFQxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:4,start:"2020-07-22T10:00:00.000Z",startTimestamp:new Date("2020-07-22T10:00:00.000Z").getTime(),startDateVerbose:"středa 22. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-22T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MjJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:17,start:"2020-07-27T19:00:00.000Z",startTimestamp:new Date("2020-07-27T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 27. července 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-27T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcyN1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:5,start:"2020-07-29T10:00:00.000Z",startTimestamp:new Date("2020-07-29T10:00:00.000Z").getTime(),startDateVerbose:"středa 29. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-29T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MjlUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:18,start:"2020-08-03T19:00:00.000Z",startTimestamp:new Date("2020-08-03T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 3. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-03T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDgwM1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:6,start:"2020-08-05T10:00:00.000Z",startTimestamp:new Date("2020-08-05T10:00:00.000Z").getTime(),startDateVerbose:"středa 5. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-05T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MDVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],nv=[{id:19,start:"2020-08-10T19:00:00.000Z",startTimestamp:new Date("2020-08-10T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 10. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-10T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDgxMFQxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:7,start:"2020-08-12T10:00:00.000Z",startTimestamp:new Date("2020-08-12T10:00:00.000Z").getTime(),startDateVerbose:"středa 12. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-12T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MTJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],iv={data:()=>({events:md,hasMore:!0}),methods:{onShowMore(){this.$data.events=[...md,...nv],this.$data.hasMore=!1}},render(){return this.$scopedSlots.default({events:this.events,hasMore:this.hasMore,onShowMore:this.onShowMore})}},rv=null,sv=null;var ov=Ie(iv,rv,sv);const av=ov.exports,lv=10,cv={props:{calendarId:{type:String,required:!0},apiKey:{type:String,required:!0}},data(){return{events:[],toShow:7}},computed:{displayedEvents(){return this.events.slice(0,this.toShow)},hasMore(){return this.toShow<this.events.length}},methods:{onShowMore(){this.toShow+=lv},loadEventsFromStorage(){if(window.sessionStorage&&window.sessionStorage["__pircal_"+this.calendarId])return JSON.parse(window.sessionStorage["__pircal_"+this.calendarId])},storeEventsToStorage(){window.sessionStorage&&(window.sessionStorage["__pircal_"+this.calendarId]=JSON.stringify(this.events))}},mounted(){const n=this.loadEventsFromStorage();if(n)this.events=n;else{const e=new Date,t=e.toISOString(),i=new Date(+e+1e3*60*60*24*90).toISOString(),s=`https://www.googleapis.com/calendar/v3/calendars/${this.calendarId}/events?key=${encodeURIComponent(this.apiKey)}&maxResults=150&timeMin=${encodeURIComponent(t)}&timeMax=${encodeURIComponent(i)}&sanitizeHtml=true&singleEvents=true&maxAtendees=1`;let o=0;fetch(s).then(a=>{if(!a.ok)throw new Error("Problem loading events from google");return a.json()}).then(a=>{this.events=a.items.map(d=>{const f=new Date(d.start.dateTime||d.start.date),g=new Date(d.end.dateTime||d.end.date),h=f.toLocaleDateString("cs-CZ",{weekday:"long",year:"numeric",month:"long",day:"numeric"}),y=f.getHours()+":"+f.getMinutes().toString().padStart(2,"0"),w=!d.start.dateTime;return{id:o++,start:f,startTimestamp:f.getTime(),startDateVerbose:h,startTimeVerbose:y,allDay:w,end:g,title:d.summary,description:d.description,link:d.htmlLink}}).sort((d,f)=>d.start<f.start?-1:1),this.storeEventsToStorage()})}},render(){return this.$scopedSlots.default({events:this.displayedEvents,hasMore:this.hasMore,onShowMore:this.onShowMore})}},uv=null,dv=null;var fv=Ie(cv,uv,dv);const hv=fv.exports;var ho,te,lh,ch,Gi,di,vd,uh,dh,Qs={},fh=[],pv=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function $n(n,e){for(var t in e)n[t]=e[t];return n}function hh(n){var e=n.parentNode;e&&e.removeChild(n)}function $(n,e,t){var i,s,o,a={};for(o in e)o=="key"?i=e[o]:o=="ref"?s=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?ho.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(o in n.defaultProps)a[o]===void 0&&(a[o]=n.defaultProps[o]);return Fs(n,a,i,s,null)}function Fs(n,e,t,i,s){var o={type:n,props:e,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:s==null?++lh:s};return s==null&&te.vnode!=null&&te.vnode(o),o}function An(){return{current:null}}function Fe(n){return n.children}function gv(n,e,t,i,s){var o;for(o in t)o==="children"||o==="key"||o in e||Xs(n,o,null,t[o],i);for(o in e)s&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||t[o]===e[o]||Xs(n,o,e[o],t[o],i)}function bd(n,e,t){e[0]==="-"?n.setProperty(e,t==null?"":t):n[e]=t==null?"":typeof t!="number"||pv.test(e)?t:t+"px"}function Xs(n,e,t,i,s){var o;e:if(e==="style")if(typeof t=="string")n.style.cssText=t;else{if(typeof i=="string"&&(n.style.cssText=i=""),i)for(e in i)t&&e in t||bd(n.style,e,"");if(t)for(e in t)i&&t[e]===i[e]||bd(n.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?i||n.addEventListener(e,o?wd:yd,o):n.removeEventListener(e,o?wd:yd,o);else if(e!=="dangerouslySetInnerHTML"){if(s)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in n)try{n[e]=t==null?"":t;break e}catch(a){}typeof t=="function"||(t==null||t===!1&&e.indexOf("-")==-1?n.removeAttribute(e):n.setAttribute(e,t))}}function yd(n){Gi=!0;try{return this.l[n.type+!1](te.event?te.event(n):n)}finally{Gi=!1}}function wd(n){Gi=!0;try{return this.l[n.type+!0](te.event?te.event(n):n)}finally{Gi=!1}}function Lt(n,e){this.props=n,this.context=e}function Tr(n,e){if(e==null)return n.__?Tr(n.__,n.__.__k.indexOf(n)+1):null;for(var t;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null)return t.__e;return typeof n.type=="function"?Tr(n):null}function ph(n){var e,t;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null){n.__e=n.__c.base=t.__e;break}return ph(n)}}function mv(n){Gi?setTimeout(n):uh(n)}function yl(n){(!n.__d&&(n.__d=!0)&&di.push(n)&&!Js.__r++||vd!==te.debounceRendering)&&((vd=te.debounceRendering)||mv)(Js)}function Js(){var n,e,t,i,s,o,a,d;for(di.sort(function(f,g){return f.__v.__b-g.__v.__b});n=di.shift();)n.__d&&(e=di.length,i=void 0,s=void 0,a=(o=(t=n).__v).__e,(d=t.__P)&&(i=[],(s=$n({},o)).__v=o.__v+1,$l(d,o,s,t.__n,d.ownerSVGElement!==void 0,o.__h!=null?[a]:null,i,a==null?Tr(o):a,o.__h),yh(i,o),o.__e!=a&&ph(o)),di.length>e&&di.sort(function(f,g){return f.__v.__b-g.__v.__b}));Js.__r=0}function gh(n,e,t,i,s,o,a,d,f,g){var h,y,w,v,C,x,S,D=i&&i.__k||fh,M=D.length;for(t.__k=[],h=0;h<e.length;h++)if((v=t.__k[h]=(v=e[h])==null||typeof v=="boolean"?null:typeof v=="string"||typeof v=="number"||typeof v=="bigint"?Fs(null,v,null,null,v):Array.isArray(v)?Fs(Fe,{children:v},null,null,null):v.__b>0?Fs(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null){if(v.__=t,v.__b=t.__b+1,(w=D[h])===null||w&&v.key==w.key&&v.type===w.type)D[h]=void 0;else for(y=0;y<M;y++){if((w=D[y])&&v.key==w.key&&v.type===w.type){D[y]=void 0;break}w=null}$l(n,v,w=w||Qs,s,o,a,d,f,g),C=v.__e,(y=v.ref)&&w.ref!=y&&(S||(S=[]),w.ref&&S.push(w.ref,null,v),S.push(y,v.__c||C,v)),C!=null?(x==null&&(x=C),typeof v.type=="function"&&v.__k===w.__k?v.__d=f=mh(v,f,n):f=vh(n,v,w,D,C,f),typeof t.type=="function"&&(t.__d=f)):f&&w.__e==f&&f.parentNode!=n&&(f=Tr(w))}for(t.__e=x,h=M;h--;)D[h]!=null&&(typeof t.type=="function"&&D[h].__e!=null&&D[h].__e==t.__d&&(t.__d=bh(i).nextSibling),_h(D[h],D[h]));if(S)for(h=0;h<S.length;h++)wh(S[h],S[++h],S[++h])}function mh(n,e,t){for(var i,s=n.__k,o=0;s&&o<s.length;o++)(i=s[o])&&(i.__=n,e=typeof i.type=="function"?mh(i,e,t):vh(t,i,i,s,i.__e,e));return e}function Ks(n,e){return e=e||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some(function(t){Ks(t,e)}):e.push(n)),e}function vh(n,e,t,i,s,o){var a,d,f;if(e.__d!==void 0)a=e.__d,e.__d=void 0;else if(t==null||s!=o||s.parentNode==null)e:if(o==null||o.parentNode!==n)n.appendChild(s),a=null;else{for(d=o,f=0;(d=d.nextSibling)&&f<i.length;f+=1)if(d==s)break e;n.insertBefore(s,o),a=o}return a!==void 0?a:s.nextSibling}function bh(n){var e,t,i;if(n.type==null||typeof n.type=="string")return n.__e;if(n.__k){for(e=n.__k.length-1;e>=0;e--)if((t=n.__k[e])&&(i=bh(t)))return i}return null}function $l(n,e,t,i,s,o,a,d,f){var g,h,y,w,v,C,x,S,D,M,F,E,J,V,G,Q=e.type;if(e.constructor!==void 0)return null;t.__h!=null&&(f=t.__h,d=e.__e=t.__e,e.__h=null,o=[d]),(g=te.__b)&&g(e);try{e:if(typeof Q=="function"){if(S=e.props,D=(g=Q.contextType)&&i[g.__c],M=g?D?D.props.value:g.__:i,t.__c?x=(h=e.__c=t.__c).__=h.__E:("prototype"in Q&&Q.prototype.render?e.__c=h=new Q(S,M):(e.__c=h=new Lt(S,M),h.constructor=Q,h.render=bv),D&&D.sub(h),h.props=S,h.state||(h.state={}),h.context=M,h.__n=i,y=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),Q.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=$n({},h.__s)),$n(h.__s,Q.getDerivedStateFromProps(S,h.__s))),w=h.props,v=h.state,h.__v=e,y)Q.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(Q.getDerivedStateFromProps==null&&S!==w&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(S,M),!h.__e&&h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(S,h.__s,M)===!1||e.__v===t.__v){for(e.__v!==t.__v&&(h.props=S,h.state=h.__s,h.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach(function(Ce){Ce&&(Ce.__=e)}),F=0;F<h._sb.length;F++)h.__h.push(h._sb[F]);h._sb=[],h.__h.length&&a.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(S,h.__s,M),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(w,v,C)})}if(h.context=M,h.props=S,h.__P=n,E=te.__r,J=0,"prototype"in Q&&Q.prototype.render){for(h.state=h.__s,h.__d=!1,E&&E(e),g=h.render(h.props,h.state,h.context),V=0;V<h._sb.length;V++)h.__h.push(h._sb[V]);h._sb=[]}else do h.__d=!1,E&&E(e),g=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++J<25);h.state=h.__s,h.getChildContext!=null&&(i=$n($n({},i),h.getChildContext())),y||h.getSnapshotBeforeUpdate==null||(C=h.getSnapshotBeforeUpdate(w,v)),G=g!=null&&g.type===Fe&&g.key==null?g.props.children:g,gh(n,Array.isArray(G)?G:[G],e,t,i,s,o,a,d,f),h.base=e.__e,e.__h=null,h.__h.length&&a.push(h),x&&(h.__E=h.__=null),h.__e=!1}else o==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=vv(t.__e,e,t,i,s,o,a,f);(g=te.diffed)&&g(e)}catch(Ce){e.__v=null,(f||o!=null)&&(e.__e=d,e.__h=!!f,o[o.indexOf(d)]=null),te.__e(Ce,e,t)}}function yh(n,e){te.__c&&te.__c(e,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(i){i.call(t)})}catch(i){te.__e(i,t.__v)}})}function vv(n,e,t,i,s,o,a,d){var f,g,h,y=t.props,w=e.props,v=e.type,C=0;if(v==="svg"&&(s=!0),o!=null){for(;C<o.length;C++)if((f=o[C])&&"setAttribute"in f==!!v&&(v?f.localName===v:f.nodeType===3)){n=f,o[C]=null;break}}if(n==null){if(v===null)return document.createTextNode(w);n=s?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,w.is&&w),o=null,d=!1}if(v===null)y===w||d&&n.data===w||(n.data=w);else{if(o=o&&ho.call(n.childNodes),g=(y=t.props||Qs).dangerouslySetInnerHTML,h=w.dangerouslySetInnerHTML,!d){if(o!=null)for(y={},C=0;C<n.attributes.length;C++)y[n.attributes[C].name]=n.attributes[C].value;(h||g)&&(h&&(g&&h.__html==g.__html||h.__html===n.innerHTML)||(n.innerHTML=h&&h.__html||""))}if(gv(n,w,y,s,d),h)e.__k=[];else if(C=e.props.children,gh(n,Array.isArray(C)?C:[C],e,t,i,s&&v!=="foreignObject",o,a,o?o[0]:t.__k&&Tr(t,0),d),o!=null)for(C=o.length;C--;)o[C]!=null&&hh(o[C]);d||("value"in w&&(C=w.value)!==void 0&&(C!==n.value||v==="progress"&&!C||v==="option"&&C!==y.value)&&Xs(n,"value",C,y.value,!1),"checked"in w&&(C=w.checked)!==void 0&&C!==n.checked&&Xs(n,"checked",C,y.checked,!1))}return n}function wh(n,e,t){try{typeof n=="function"?n(e):n.current=e}catch(i){te.__e(i,t)}}function _h(n,e,t){var i,s;if(te.unmount&&te.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||wh(i,null,e)),(i=n.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){te.__e(o,e)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(s=0;s<i.length;s++)i[s]&&_h(i[s],e,t||typeof n.type!="function");t||n.__e==null||hh(n.__e),n.__=n.__e=n.__d=void 0}function bv(n,e,t){return this.constructor(n,t)}function Dr(n,e,t){var i,s,o;te.__&&te.__(n,e),s=(i=typeof t=="function")?null:e.__k,o=[],$l(e,n=(!i&&t||e).__k=$(Fe,null,[n]),s||Qs,Qs,e.ownerSVGElement!==void 0,!i&&t?[t]:s?null:e.firstChild?ho.call(e.childNodes):null,o,!i&&t?t:s?s.__e:e.firstChild,i),yh(o,n)}function yv(n,e){var t={__c:e="__cC"+dh++,__:n,Consumer:function(i,s){return i.children(s)},Provider:function(i){var s,o;return this.getChildContext||(s=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&s.some(function(d){d.__e=!0,yl(d)})},this.sub=function(a){s.push(a);var d=a.componentWillUnmount;a.componentWillUnmount=function(){s.splice(s.indexOf(a),1),d&&d.call(a)}}),i.children}};return t.Provider.__=t.Consumer.contextType=t}ho=fh.slice,te={__e:function(n,e,t,i){for(var s,o,a;e=e.__;)if((s=e.__c)&&!s.__)try{if((o=s.constructor)&&o.getDerivedStateFromError!=null&&(s.setState(o.getDerivedStateFromError(n)),a=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(n,i||{}),a=s.__d),a)return s.__E=s}catch(d){n=d}throw n}},lh=0,ch=function(n){return n!=null&&n.constructor===void 0},Gi=!1,Lt.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=$n({},this.state),typeof n=="function"&&(n=n($n({},t),this.props)),n&&$n(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),yl(this))},Lt.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),yl(this))},Lt.prototype.render=Fe,di=[],uh=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Js.__r=0,dh=0;var Jt,Xa,_d,Lh=[],Ja=[],Ld=te.__b,Cd=te.__r,Ad=te.diffed,Ed=te.__c,xd=te.unmount;function wv(){for(var n;n=Lh.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(Vs),n.__H.__h.forEach(wl),n.__H.__h=[]}catch(e){n.__H.__h=[],te.__e(e,n.__v)}}te.__b=function(n){Jt=null,Ld&&Ld(n)},te.__r=function(n){Cd&&Cd(n);var e=(Jt=n.__c).__H;e&&(Xa===Jt?(e.__h=[],Jt.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=Ja,t.__N=t.i=void 0})):(e.__h.forEach(Vs),e.__h.forEach(wl),e.__h=[])),Xa=Jt},te.diffed=function(n){Ad&&Ad(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(Lh.push(e)!==1&&_d===te.requestAnimationFrame||((_d=te.requestAnimationFrame)||_v)(wv)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==Ja&&(t.__=t.__V),t.i=void 0,t.__V=Ja})),Xa=Jt=null},te.__c=function(n,e){e.some(function(t){try{t.__h.forEach(Vs),t.__h=t.__h.filter(function(i){return!i.__||wl(i)})}catch(i){e.some(function(s){s.__h&&(s.__h=[])}),e=[],te.__e(i,t.__v)}}),Ed&&Ed(n,e)},te.unmount=function(n){xd&&xd(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach(function(i){try{Vs(i)}catch(s){e=s}}),t.__H=void 0,e&&te.__e(e,t.__v))};var Sd=typeof requestAnimationFrame=="function";function _v(n){var e,t=function(){clearTimeout(i),Sd&&cancelAnimationFrame(e),setTimeout(n)},i=setTimeout(t,100);Sd&&(e=requestAnimationFrame(t))}function Vs(n){var e=Jt,t=n.__c;typeof t=="function"&&(n.__c=void 0,t()),Jt=e}function wl(n){var e=Jt;n.__c=n.__(),Jt=e}function Lv(n,e){for(var t in e)n[t]=e[t];return n}function Td(n,e){for(var t in n)if(t!=="__source"&&!(t in e))return!0;for(var i in e)if(i!=="__source"&&n[i]!==e[i])return!0;return!1}function Dd(n){this.props=n}(Dd.prototype=new Lt).isPureReactComponent=!0,Dd.prototype.shouldComponentUpdate=function(n,e){return Td(this.props,n)||Td(this.state,e)};var kd=te.__b;te.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),kd&&kd(n)};var Cv=te.__e;te.__e=function(n,e,t,i){if(n.then){for(var s,o=e;o=o.__;)if((s=o.__c)&&s.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),s.__c(n,e)}Cv(n,e,t,i)};var Od=te.unmount;function Ch(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),n.__c.__H=null),(n=Lv({},n)).__c!=null&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map(function(i){return Ch(i,e,t)})),n}function Ah(n,e,t){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(i){return Ah(i,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=t)),n}function Ka(){this.__u=0,this.t=null,this.__b=null}function Eh(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function Ts(){this.u=null,this.o=null}te.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&n.__h===!0&&(n.type=null),Od&&Od(n)},(Ka.prototype=new Lt).__c=function(n,e){var t=e.__c,i=this;i.t==null&&(i.t=[]),i.t.push(t);var s=Eh(i.__v),o=!1,a=function(){o||(o=!0,t.__R=null,s?s(d):d())};t.__R=a;var d=function(){if(!--i.__u){if(i.state.__a){var g=i.state.__a;i.__v.__k[0]=Ah(g,g.__c.__P,g.__c.__O)}var h;for(i.setState({__a:i.__b=null});h=i.t.pop();)h.forceUpdate()}},f=e.__h===!0;i.__u++||f||i.setState({__a:i.__b=i.__v.__k[0]}),n.then(a,a)},Ka.prototype.componentWillUnmount=function(){this.t=[]},Ka.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=Ch(this.__b,t,i.__O=i.__P)}this.__b=null}var s=e.__a&&$(Fe,null,n.fallback);return s&&(s.__h=null),[$(Fe,null,e.__a?null:n.children),s]};var Rd=function(n,e,t){if(++t[1]===t[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(t=n.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;n.u=t=t[2]}};function Av(n){return this.getChildContext=function(){return n.context},n.children}function Ev(n){var e=this,t=n.i;e.componentWillUnmount=function(){Dr(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),n.__v?(e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(i){this.childNodes.push(i),e.i.appendChild(i)},insertBefore:function(i,s){this.childNodes.push(i),e.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),e.i.removeChild(i)}}),Dr($(Av,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function xv(n,e){var t=$(Ev,{__v:n,i:e});return t.containerInfo=e,t}(Ts.prototype=new Lt).__a=function(n){var e=this,t=Eh(e.__v),i=e.o.get(n);return i[0]++,function(s){var o=function(){e.props.revealOrder?(i.push(s),Rd(e,n,i)):s()};t?t(o):o()}},Ts.prototype.render=function(n){this.u=null,this.o=new Map;var e=Ks(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return n.children},Ts.prototype.componentDidUpdate=Ts.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,t){Rd(n,t,e)})};var Sv=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Tv=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Dv=typeof document!="undefined",kv=function(n){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};Lt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(Lt.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var Md=te.event;function Ov(){}function Rv(){return this.cancelBubble}function Mv(){return this.defaultPrevented}te.event=function(n){return Md&&(n=Md(n)),n.persist=Ov,n.isPropagationStopped=Rv,n.isDefaultPrevented=Mv,n.nativeEvent=n};var Pd={configurable:!0,get:function(){return this.class}},Id=te.vnode;te.vnode=function(n){var e=n.type,t=n.props,i=t;if(typeof e=="string"){var s=e.indexOf("-")===-1;for(var o in i={},t){var a=t[o];Dv&&o==="children"&&e==="noscript"||o==="value"&&"defaultValue"in t&&a==null||(o==="defaultValue"&&"value"in t&&t.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!kv(t.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():s&&Tv.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():a===null&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),i[o]&&(o="oninputCapture")),i[o]=a)}e=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Ks(t.children).forEach(function(d){d.props.selected=i.value.indexOf(d.props.value)!=-1})),e=="select"&&i.defaultValue!=null&&(i.value=Ks(t.children).forEach(function(d){d.props.selected=i.multiple?i.defaultValue.indexOf(d.props.value)!=-1:i.defaultValue==d.props.value})),n.props=i,t.class!=t.className&&(Pd.enumerable="className"in t,t.className!=null&&(i.class=t.className),Object.defineProperty(i,"className",Pd))}n.$$typeof=Sv,Id&&Id(n)};var Nd=te.__r;te.__r=function(n){Nd&&Nd(n),n.__c};const xh=[],_l=new Map;function Sh(n){xh.push(n),_l.forEach(e=>{Dh(e,n)})}function Pv(n){n.isConnected&&n.getRootNode&&Th(n.getRootNode())}function Th(n){let e=_l.get(n);if(!e||!e.isConnected){if(e=n.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");const t=Nv();t&&(e.nonce=t);const i=n===document?document.head:n,s=n===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(e,s)}_l.set(n,e),Iv(e)}}function Iv(n){for(const e of xh)Dh(n,e)}function Dh(n,e){const{sheet:t}=n,i=t.cssRules.length;e.split("}").forEach((s,o)=>{s=s.trim(),s&&t.insertRule(s+"}",i+o)})}let el;function Nv(){return el===void 0&&(el=$v()),el}function $v(){const n=document.querySelector('meta[name="csp-nonce"]');if(n&&n.hasAttribute("content"))return n.getAttribute("content");const e=document.querySelector("script[nonce]");return e&&e.nonce||""}typeof document!="undefined"&&Th(document);var jv=':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';Sh(jv);class jl{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),e==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:i}=this;e in i&&(t?delete i[e]:(i[e]-=1,i[e]<=0&&delete i[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function Hv(n){n.parentNode&&n.parentNode.removeChild(n)}function Ln(n,e){if(n.closest)return n.closest(e);if(!document.documentElement.contains(n))return null;do{if(Bv(n,e))return n;n=n.parentElement||n.parentNode}while(n!==null&&n.nodeType===1);return null}function Bv(n,e){return(n.matches||n.matchesSelector||n.msMatchesSelector).call(n,e)}function zv(n,e){let t=n instanceof HTMLElement?[n]:n,i=[];for(let s=0;s<t.length;s+=1){let o=t[s].querySelectorAll(e);for(let a=0;a<o.length;a+=1)i.push(o[a])}return i}const Fv=/(top|left|right|bottom|width|height)$/i;function Vv(n,e){for(let t in e)kh(n,t,e[t])}function kh(n,e,t){t==null?n.style[e]="":typeof t=="number"&&Fv.test(e)?n.style[e]=`${t}px`:n.style[e]=t}function Wv(n){var e,t;return(t=(e=n.composedPath)===null||e===void 0?void 0:e.call(n)[0])!==null&&t!==void 0?t:n.target}let $d=0;function po(){return $d+=1,"fc-dom-"+$d}function Uv(n,e){return t=>{let i=Ln(t.target,n);i&&e.call(i,t,i)}}function Oh(n,e,t,i){let s=Uv(t,i);return n.addEventListener(e,s),()=>{n.removeEventListener(e,s)}}function Gv(n,e,t,i){let s;return Oh(n,"mouseover",e,(o,a)=>{if(a!==s){s=a,t(o,a);let d=f=>{s=null,i(f,a),a.removeEventListener("mouseleave",d)};a.addEventListener("mouseleave",d)}})}function Rh(n){return Object.assign({onClick:n},Mh(n))}function Mh(n){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(n(e),e.preventDefault())}}}let jd=0;function yi(){return jd+=1,String(jd)}function Yv(n){let e=[],t=[],i,s;for(typeof n=="string"?t=n.split(/\s*,\s*/):typeof n=="function"?t=[n]:Array.isArray(n)&&(t=n),i=0;i<t.length;i+=1)s=t[i],typeof s=="string"?e.push(s.charAt(0)==="-"?{field:s.substring(1),order:-1}:{field:s,order:1}):typeof s=="function"&&e.push({func:s});return e}function qv(n,e,t){let i,s;for(i=0;i<t.length;i+=1)if(s=Zv(n,e,t[i]),s)return s;return 0}function Zv(n,e,t){return t.func?t.func(n,e):Qv(n[t.field],e[t.field])*(t.order||1)}function Qv(n,e){return!n&&!e?0:e==null?-1:n==null?1:typeof n=="string"||typeof e=="string"?String(n).localeCompare(String(e)):n-e}function tl(n,e){let t=String(n);return"000".substr(0,e-t.length)+t}function wr(n,e,t){return typeof n=="function"?n(...e):typeof n=="string"?e.reduce((i,s,o)=>i.replace("$"+o,s||""),n):t}function nl(n){return n%1===0}function Xv(n){let e=n.querySelector(".fc-scrollgrid-shrink-frame"),t=n.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!t)throw new Error("needs fc-scrollgrid-shrink-cushion className");return n.getBoundingClientRect().width-e.getBoundingClientRect().width+t.getBoundingClientRect().width}const Jv=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Ae(n,e){return typeof n=="string"?Kv(n):typeof n=="object"&&n?Hd(n):typeof n=="number"?Hd({[e||"milliseconds"]:n}):null}function Kv(n){let e=Jv.exec(n);if(e){let t=e[1]?-1:1;return{years:0,months:0,days:t*(e[2]?parseInt(e[2],10):0),milliseconds:t*((e[3]?parseInt(e[3],10):0)*60*60*1e3+(e[4]?parseInt(e[4],10):0)*60*1e3+(e[5]?parseInt(e[5],10):0)*1e3+(e[6]?parseInt(e[6],10):0))}}return null}function Hd(n){let e={years:n.years||n.year||0,months:n.months||n.month||0,days:n.days||n.day||0,milliseconds:(n.hours||n.hour||0)*60*60*1e3+(n.minutes||n.minute||0)*60*1e3+(n.seconds||n.second||0)*1e3+(n.milliseconds||n.millisecond||n.ms||0)},t=n.weeks||n.week;return t&&(e.days+=t*7,e.specifiedWeeks=!0),e}function e1(n,e){return n.years===e.years&&n.months===e.months&&n.days===e.days&&n.milliseconds===e.milliseconds}function t1(n,e){return{years:n.years-e.years,months:n.months-e.months,days:n.days-e.days,milliseconds:n.milliseconds-e.milliseconds}}function n1(n){return Wi(n)/365}function i1(n){return Wi(n)/30}function Wi(n){return kr(n)/864e5}function kr(n){return n.years*(365*864e5)+n.months*(30*864e5)+n.days*864e5+n.milliseconds}function Ll(n){let e=n.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%(1e3*60)!==0)return{unit:"second",value:e/1e3};if(e%(1e3*60*60)!==0)return{unit:"minute",value:e/(1e3*60)};if(e)return{unit:"hour",value:e/(1e3*60*60)}}return n.days?n.specifiedWeeks&&n.days%7===0?{unit:"week",value:n.days/7}:{unit:"day",value:n.days}:n.months?{unit:"month",value:n.months}:n.years?{unit:"year",value:n.years}:{unit:"millisecond",value:0}}function zn(n,e,t){if(n===e)return!0;let i=n.length,s;if(i!==e.length)return!1;for(s=0;s<i;s+=1)if(!(t?t(n[s],e[s]):n[s]===e[s]))return!1;return!0}const r1=["sun","mon","tue","wed","thu","fri","sat"];function Bd(n,e){let t=jn(n);return t[2]+=e*7,ht(t)}function nt(n,e){let t=jn(n);return t[2]+=e,ht(t)}function Fn(n,e){let t=jn(n);return t[6]+=e,ht(t)}function s1(n,e){return Ki(n,e)/7}function Ki(n,e){return(e.valueOf()-n.valueOf())/(1e3*60*60*24)}function o1(n,e){return(e.valueOf()-n.valueOf())/(1e3*60*60)}function a1(n,e){return(e.valueOf()-n.valueOf())/(1e3*60)}function l1(n,e){return(e.valueOf()-n.valueOf())/1e3}function c1(n,e){let t=je(n),i=je(e);return{years:0,months:0,days:Math.round(Ki(t,i)),milliseconds:e.valueOf()-i.valueOf()-(n.valueOf()-t.valueOf())}}function u1(n,e){let t=eo(n,e);return t!==null&&t%7===0?t/7:null}function eo(n,e){return Hn(n)===Hn(e)?Math.round(Ki(n,e)):null}function je(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()])}function d1(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours()])}function f1(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes()])}function h1(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()])}function p1(n,e,t){let i=n.getUTCFullYear(),s=il(n,i,e,t);if(s<1)return il(n,i-1,e,t);let o=il(n,i+1,e,t);return o>=1?Math.min(s,o):s}function il(n,e,t,i){let s=ht([e,0,1+g1(e,t,i)]),o=je(n),a=Math.round(Ki(s,o));return Math.floor(a/7)+1}function g1(n,e,t){let i=7+e-t;return-((7+ht([n,0,i]).getUTCDay()-e)%7)+i-1}function zd(n){return[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()]}function Fd(n){return new Date(n[0],n[1]||0,n[2]==null?1:n[2],n[3]||0,n[4]||0,n[5]||0)}function jn(n){return[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()]}function ht(n){return n.length===1&&(n=n.concat([0])),new Date(Date.UTC(...n))}function Ph(n){return!isNaN(n.valueOf())}function Hn(n){return n.getUTCHours()*1e3*60*60+n.getUTCMinutes()*1e3*60+n.getUTCSeconds()*1e3+n.getUTCMilliseconds()}function m1(n,e,t=!1){let i=n.toISOString();return i=i.replace(".000",""),t&&(i=i.replace("T00:00:00Z","")),i.length>10&&(e==null?i=i.replace("Z",""):e!==0&&(i=i.replace("Z",Bl(e,!0)))),i}function Hl(n){return n.toISOString().replace(/T.*$/,"")}function v1(n){return n.toISOString().match(/^\d{4}-\d{2}/)[0]}function Bl(n,e=!1){let t=n<0?"-":"+",i=Math.abs(n),s=Math.floor(i/60),o=Math.round(i%60);return e?`${t+tl(s,2)}:${tl(o,2)}`:`GMT${t}${s}${o?`:${tl(o,2)}`:""}`}function ye(n,e,t){let i,s;return function(...o){if(!i)s=n.apply(this,o);else if(!zn(i,o)){let a=n.apply(this,o);(!e||!e(a,s))&&(s=a)}return i=o,s}}function Ws(n,e,t){let i,s;return o=>(i?rn(i,o)||(s=n.call(this,o)):s=n.call(this,o),i=o,s)}const Vd={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},to={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Ds=/\s*([ap])\.?m\.?/i,b1=/,/g,y1=/\s+/g,w1=/\u200e/g,_1=/UTC|GMT/;class L1{constructor(e){let t={},i={},s=0;for(let o in e)o in Vd?(i[o]=e[o],s=Math.max(Vd[o],s)):(t[o]=e[o],o in to&&(s=Math.max(to[o],s)));this.standardDateProps=t,this.extendedSettings=i,this.severity=s,this.buildFormattingFunc=ye(Wd)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,i,s){let{standardDateProps:o,extendedSettings:a}=this,d=T1(e.marker,t.marker,i.calendarSystem);if(!d)return this.format(e,i);let f=d;f>1&&(o.year==="numeric"||o.year==="2-digit")&&(o.month==="numeric"||o.month==="2-digit")&&(o.day==="numeric"||o.day==="2-digit")&&(f=1);let g=this.format(e,i),h=this.format(t,i);if(g===h)return g;let y=D1(o,f),w=Wd(y,a,i),v=w(e),C=w(t),x=k1(g,v,h,C),S=a.separator||s||i.defaultSeparator||"";return x?x.before+v+S+C+x.after:g+S+h}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function Wd(n,e,t){let i=Object.keys(n).length;return i===1&&n.timeZoneName==="short"?s=>Bl(s.timeZoneOffset):i===0&&e.week?s=>S1(t.computeWeekNumber(s.marker),t.weekText,t.weekTextLong,t.locale,e.week):C1(n,e,t)}function C1(n,e,t){n=Object.assign({},n),e=Object.assign({},e),A1(n,e),n.timeZone="UTC";let i=new Intl.DateTimeFormat(t.locale.codes,n),s;if(e.omitZeroMinute){let o=Object.assign({},n);delete o.minute,s=new Intl.DateTimeFormat(t.locale.codes,o)}return o=>{let{marker:a}=o,d;s&&!a.getUTCMinutes()?d=s:d=i;let f=d.format(a);return E1(f,o,n,e,t)}}function A1(n,e){n.timeZoneName&&(n.hour||(n.hour="2-digit"),n.minute||(n.minute="2-digit")),n.timeZoneName==="long"&&(n.timeZoneName="short"),e.omitZeroMinute&&(n.second||n.millisecond)&&delete e.omitZeroMinute}function E1(n,e,t,i,s){return n=n.replace(w1,""),t.timeZoneName==="short"&&(n=x1(n,s.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":Bl(e.timeZoneOffset))),i.omitCommas&&(n=n.replace(b1,"").trim()),i.omitZeroMinute&&(n=n.replace(":00","")),i.meridiem===!1?n=n.replace(Ds,"").trim():i.meridiem==="narrow"?n=n.replace(Ds,(o,a)=>a.toLocaleLowerCase()):i.meridiem==="short"?n=n.replace(Ds,(o,a)=>`${a.toLocaleLowerCase()}m`):i.meridiem==="lowercase"&&(n=n.replace(Ds,o=>o.toLocaleLowerCase())),n=n.replace(y1," "),n=n.trim(),n}function x1(n,e){let t=!1;return n=n.replace(_1,()=>(t=!0,e)),t||(n+=` ${e}`),n}function S1(n,e,t,i,s){let o=[];return s==="long"?o.push(t):(s==="short"||s==="narrow")&&o.push(e),(s==="long"||s==="short")&&o.push(" "),o.push(i.simpleNumberFormat.format(n)),i.options.direction==="rtl"&&o.reverse(),o.join("")}function T1(n,e,t){return t.getMarkerYear(n)!==t.getMarkerYear(e)?5:t.getMarkerMonth(n)!==t.getMarkerMonth(e)?4:t.getMarkerDay(n)!==t.getMarkerDay(e)?2:Hn(n)!==Hn(e)?1:0}function D1(n,e){let t={};for(let i in n)(!(i in to)||to[i]<=e)&&(t[i]=n[i]);return t}function k1(n,e,t,i){let s=0;for(;s<n.length;){let o=n.indexOf(e,s);if(o===-1)break;let a=n.substr(0,o);s=o+e.length;let d=n.substr(s),f=0;for(;f<t.length;){let g=t.indexOf(i,f);if(g===-1)break;let h=t.substr(0,g);f=g+i.length;let y=t.substr(f);if(a===h&&d===y)return{before:a,after:d}}}return null}function Ud(n,e){let t=e.markerToArray(n.marker);return{marker:n.marker,timeZoneOffset:n.timeZoneOffset,array:t,year:t[0],month:t[1],day:t[2],hour:t[3],minute:t[4],second:t[5],millisecond:t[6]}}function no(n,e,t,i){let s=Ud(n,t.calendarSystem),o=e?Ud(e,t.calendarSystem):null;return{date:s,start:s,end:o,timeZone:t.timeZone,localeCodes:t.locale.codes,defaultSeparator:i||t.defaultSeparator}}class O1{constructor(e){this.cmdStr=e}format(e,t,i){return t.cmdFormatter(this.cmdStr,no(e,null,t,i))}formatRange(e,t,i,s){return i.cmdFormatter(this.cmdStr,no(e,t,i,s))}}class R1{constructor(e){this.func=e}format(e,t,i){return this.func(no(e,null,t,i))}formatRange(e,t,i,s){return this.func(no(e,t,i,s))}}function Ze(n){return typeof n=="object"&&n?new L1(n):typeof n=="string"?new O1(n):typeof n=="function"?new R1(n):null}const Gd={navLinkDayClick:j,navLinkWeekClick:j,duration:Ae,bootstrapFontAwesome:j,buttonIcons:j,customButtons:j,defaultAllDayEventDuration:Ae,defaultTimedEventDuration:Ae,nextDayThreshold:Ae,scrollTime:Ae,scrollTimeReset:Boolean,slotMinTime:Ae,slotMaxTime:Ae,dayPopoverFormat:Ze,slotDuration:Ae,snapDuration:Ae,headerToolbar:j,footerToolbar:j,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Ze,dayHeaderClassNames:j,dayHeaderContent:j,dayHeaderDidMount:j,dayHeaderWillUnmount:j,dayCellClassNames:j,dayCellContent:j,dayCellDidMount:j,dayCellWillUnmount:j,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:j,weekNumbers:Boolean,weekNumberClassNames:j,weekNumberContent:j,weekNumberDidMount:j,weekNumberWillUnmount:j,editable:Boolean,viewClassNames:j,viewDidMount:j,viewWillUnmount:j,nowIndicator:Boolean,nowIndicatorClassNames:j,nowIndicatorContent:j,nowIndicatorDidMount:j,nowIndicatorWillUnmount:j,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:j,locale:j,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:j,eventOrder:Yv,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:j,contentHeight:j,direction:String,weekNumberFormat:Ze,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:j,initialDate:j,now:j,eventDataTransform:j,stickyHeaderDates:j,stickyFooterScrollbar:j,viewHeight:j,defaultAllDay:Boolean,eventSourceFailure:j,eventSourceSuccess:j,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:j,eventConstraint:j,eventAllow:j,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:j,eventContent:j,eventDidMount:j,eventWillUnmount:j,selectConstraint:j,selectOverlap:j,selectAllow:j,droppable:Boolean,unselectCancel:String,slotLabelFormat:j,slotLaneClassNames:j,slotLaneContent:j,slotLaneDidMount:j,slotLaneWillUnmount:j,slotLabelClassNames:j,slotLabelContent:j,slotLabelDidMount:j,slotLabelWillUnmount:j,dayMaxEvents:j,dayMaxEventRows:j,dayMinWidth:Number,slotLabelInterval:Ae,allDayText:String,allDayClassNames:j,allDayContent:j,allDayDidMount:j,allDayWillUnmount:j,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Ze,rerenderDelay:Number,moreLinkText:j,moreLinkHint:j,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:j,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Ae,hiddenDays:j,fixedWeekCount:Boolean,validRange:j,visibleRange:j,titleFormat:j,eventInteractive:Boolean,noEventsText:String,viewHint:j,navLinkHint:j,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:j,moreLinkClassNames:j,moreLinkContent:j,moreLinkDidMount:j,moreLinkWillUnmount:j,monthStartFormat:Ze,handleCustomRendering:j,customRenderingMetaMap:j,customRenderingReplaces:Boolean},_r={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},Yd={datesSet:j,eventsSet:j,eventAdd:j,eventChange:j,eventRemove:j,windowResize:j,eventClick:j,eventMouseEnter:j,eventMouseLeave:j,select:j,unselect:j,loading:j,_unmount:j,_beforeprint:j,_afterprint:j,_noEventDrop:j,_noEventResize:j,_resize:j,_scrollRequest:j},qd={buttonText:j,buttonHints:j,views:j,plugins:j,initialEvents:j,events:j,eventSources:j},ai={headerToolbar:li,footerToolbar:li,buttonText:li,buttonHints:li,buttonIcons:li,dateIncrement:li,plugins:ks,events:ks,eventSources:ks,resources:ks};function li(n,e){return typeof n=="object"&&typeof e=="object"&&n&&e?rn(n,e):n===e}function ks(n,e){return Array.isArray(n)&&Array.isArray(e)?zn(n,e):n===e}const M1={type:String,component:j,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:j,usesMinMaxTime:Boolean,classNames:j,content:j,didMount:j,willUnmount:j};function rl(n){return Fl(n,ai)}function zl(n,e){let t={},i={};for(let s in e)s in n&&(t[s]=e[s](n[s]));for(let s in n)s in e||(i[s]=n[s]);return{refined:t,extra:i}}function j(n){return n}const{hasOwnProperty:io}=Object.prototype;function Fl(n,e){let t={};if(e){for(let i in e)if(e[i]===li){let s=[];for(let o=n.length-1;o>=0;o-=1){let a=n[o][i];if(typeof a=="object"&&a)s.unshift(a);else if(a!==void 0){t[i]=a;break}}s.length&&(t[i]=Fl(s))}}for(let i=n.length-1;i>=0;i-=1){let s=n[i];for(let o in s)o in t||(t[o]=s[o])}return t}function Yi(n,e){let t={};for(let i in n)e(n[i],i)&&(t[i]=n[i]);return t}function Pr(n,e){let t={};for(let i in n)t[i]=e(n[i],i);return t}function Ih(n){let e={};for(let t of n)e[t]=!0;return e}function Vl(n){let e=[];for(let t in n)e.push(n[t]);return e}function rn(n,e){if(n===e)return!0;for(let t in n)if(io.call(n,t)&&!(t in e))return!1;for(let t in e)if(io.call(e,t)&&n[t]!==e[t])return!1;return!0}const P1=/^on[A-Z]/;function I1(n,e){const t=Cl(n,e);for(let i of t)if(!P1.test(i))return!1;return!0}function Cl(n,e){let t=[];for(let i in n)io.call(n,i)&&(i in e||t.push(i));for(let i in e)io.call(e,i)&&n[i]!==e[i]&&t.push(i);return t}function sl(n,e,t={}){if(n===e)return!0;for(let i in e)if(!(i in n&&N1(n[i],e[i],t[i])))return!1;for(let i in n)if(!(i in e))return!1;return!0}function N1(n,e,t){return n===e||t===!0?!0:t?t(n,e):!1}function $1(n,e=0,t,i=1){let s=[];t==null&&(t=Object.keys(n).length);for(let o=e;o<t;o+=i){let a=n[o];a!==void 0&&s.push(a)}return s}let Nh={};function j1(n,e){Nh[n]=e}function H1(n){return new Nh[n]}class B1{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return ht(e)}markerToArray(e){return jn(e)}}j1("gregory",B1);const z1=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function F1(n){let e=z1.exec(n);if(e){let t=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?+`0.${e[12]}`*1e3:0));if(Ph(t)){let i=null;return e[13]&&(i=(e[15]==="-"?-1:1)*(Number(e[16]||0)*60+Number(e[18]||0))),{marker:t,isTimeUnspecified:!e[6],timeZoneOffset:i}}}return null}class V1{constructor(e){let t=this.timeZone=e.timeZone,i=t!=="local"&&t!=="UTC";e.namedTimeZoneImpl&&i&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=!!(!i||this.namedTimeZoneImpl),this.calendarSystem=H1(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,e.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof e.firstDay=="number"&&(this.weekDow=e.firstDay),typeof e.weekNumberCalculation=="function"&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=e.weekText!=null?e.weekText:e.locale.options.weekText,this.weekTextLong=(e.weekTextLong!=null?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return t===null?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):ht(zd(new Date))}createMarkerMeta(e){if(typeof e=="string")return this.parse(e);let t=null;return typeof e=="number"?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=ht(e)),t===null||!Ph(t)?null:{marker:t,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let t=F1(e);if(t===null)return null;let{marker:i}=t,s=null;return t.timeZoneOffset!==null&&(this.canComputeOffset?i=this.timestampToMarker(i.valueOf()-t.timeZoneOffset*60*1e3):s=t.timeZoneOffset),{marker:i,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:s}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let i=this.calendarSystem.markerToArray(e);return i[0]+=t.years,i[1]+=t.months,i[2]+=t.days,i[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(i)}subtract(e,t){let i=this.calendarSystem.markerToArray(e);return i[0]-=t.years,i[1]-=t.months,i[2]-=t.days,i[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(i)}addYears(e,t){let i=this.calendarSystem.markerToArray(e);return i[0]+=t,this.calendarSystem.arrayToMarker(i)}addMonths(e,t){let i=this.calendarSystem.markerToArray(e);return i[1]+=t,this.calendarSystem.arrayToMarker(i)}diffWholeYears(e,t){let{calendarSystem:i}=this;return Hn(e)===Hn(t)&&i.getMarkerDay(e)===i.getMarkerDay(t)&&i.getMarkerMonth(e)===i.getMarkerMonth(t)?i.getMarkerYear(t)-i.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:i}=this;return Hn(e)===Hn(t)&&i.getMarkerDay(e)===i.getMarkerDay(t)?i.getMarkerMonth(t)-i.getMarkerMonth(e)+(i.getMarkerYear(t)-i.getMarkerYear(e))*12:null}greatestWholeUnit(e,t){let i=this.diffWholeYears(e,t);return i!==null?{unit:"year",value:i}:(i=this.diffWholeMonths(e,t),i!==null?{unit:"month",value:i}:(i=u1(e,t),i!==null?{unit:"week",value:i}:(i=eo(e,t),i!==null?{unit:"day",value:i}:(i=o1(e,t),nl(i)?{unit:"hour",value:i}:(i=a1(e,t),nl(i)?{unit:"minute",value:i}:(i=l1(e,t),nl(i)?{unit:"second",value:i}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,i){let s;return i.years&&(s=this.diffWholeYears(e,t),s!==null)?s/n1(i):i.months&&(s=this.diffWholeMonths(e,t),s!==null)?s/i1(i):i.days&&(s=eo(e,t),s!==null)?s/Wi(i):(t.valueOf()-e.valueOf())/kr(i)}startOf(e,t){return t==="year"?this.startOfYear(e):t==="month"?this.startOfMonth(e):t==="week"?this.startOfWeek(e):t==="day"?je(e):t==="hour"?d1(e):t==="minute"?f1(e):t==="second"?h1(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):p1(e,this.weekDow,this.weekDoy)}format(e,t,i={}){return t.format({marker:e,timeZoneOffset:i.forcedTzo!=null?i.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,i,s={}){return s.isEndExclusive&&(t=Fn(t,-1)),i.formatRange({marker:e,timeZoneOffset:s.forcedStartTzo!=null?s.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:s.forcedEndTzo!=null?s.forcedEndTzo:this.offsetForMarker(t)},this,s.defaultSeparator)}formatIso(e,t={}){let i=null;return t.omitTimeZoneOffset||(t.forcedTzo!=null?i=t.forcedTzo:i=this.offsetForMarker(e)),m1(e,i,t.omitTime)}timestampToMarker(e){return this.timeZone==="local"?ht(zd(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):ht(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-Fd(jn(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(jn(e)):null}toDate(e,t){return this.timeZone==="local"?Fd(jn(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(jn(e))*1e3*60):new Date(e.valueOf()-(t||0))}}class Ir{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,i;if(typeof e=="object"&&e){t=Object.assign({},this.iconClasses);for(i in e)t[i]=this.applyIconOverridePrefix(e[i]);this.iconClasses=t}else e===!1&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&e.indexOf(t)!==0&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let i;return t&&this.rtlIconClasses?i=this.rtlIconClasses[e]||this.iconClasses[e]:i=this.iconClasses[e],i?`${this.baseIconClass} ${i}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}Ir.prototype.classes={};Ir.prototype.iconClasses={};Ir.prototype.baseIconClass="";Ir.prototype.iconOverridePrefix="";function ro(n){n();let e=te.debounceRendering,t=[];function i(s){t.push(s)}for(te.debounceRendering=i,Dr($(W1,{}),document.createElement("div"));t.length;)t.shift()();te.debounceRendering=e}class W1 extends Lt{render(){return $("div",{})}componentDidMount(){this.setState({})}}function $h(n){let e=yv(n),t=e.Provider;return e.Provider=function(){let i=!this.getChildContext,s=t.apply(this,arguments);if(i){let o=[];this.shouldComponentUpdate=a=>{this.props.value!==a.value&&o.forEach(d=>{d.context=a.value,d.forceUpdate()})},this.sub=a=>{o.push(a);let d=a.componentWillUnmount;a.componentWillUnmount=()=>{o.splice(o.indexOf(a),1),d&&d.call(a)}}}return s},e}class U1{constructor(e,t,i,s){this.execFunc=e,this.emitter=t,this.scrollTime=i,this.scrollTimeReset=s,this.handleScrollRequest=o=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},o),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const wi=$h({});function G1(n,e,t,i,s,o,a,d,f,g,h,y,w){return{dateEnv:s,options:t,pluginHooks:a,emitter:g,dispatch:d,getCurrentData:f,calendarApi:h,viewSpec:n,viewApi:e,dateProfileGenerator:i,theme:o,isRtl:t.direction==="rtl",addResizeHandler(v){g.on("_resize",v)},removeResizeHandler(v){g.off("_resize",v)},createScrollResponder(v){return new U1(v,g,Ae(t.scrollTime),t.scrollTimeReset)},registerInteractiveComponent:y,unregisterInteractiveComponent:w}}class _i extends Lt{shouldComponentUpdate(e,t){return this.debug&&console.log(Cl(e,this.props),Cl(t,this.state)),!sl(this.props,e,this.propEquality)||!sl(this.state,t,this.stateEquality)}safeSetState(e){sl(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}_i.addPropsEquality=Y1;_i.addStateEquality=q1;_i.contextType=wi;_i.prototype.propEquality={};_i.prototype.stateEquality={};class He extends _i{}He.contextType=wi;function Y1(n){let e=Object.create(this.prototype.propEquality);Object.assign(e,n),this.prototype.propEquality=e}function q1(n){let e=Object.create(this.prototype.stateEquality);Object.assign(e,n),this.prototype.stateEquality=e}function En(n,e){typeof n=="function"?n(e):n&&(n.current=e)}class Wl extends He{constructor(){super(...arguments),this.id=yi(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:t}=this.context,{generatorName:i}=this.props;(!t.customRenderingReplaces||!Al(i,t))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&En(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:i}=t,{customGenerator:s,defaultGenerator:o,renderProps:a}=e,d=jh(e,[],this.handleEl);let f=!1,g,h=[],y;if(s!=null){const w=typeof s=="function"?s(a,$):s;if(w===!0)f=!0;else{const v=w&&typeof w=="object";v&&"html"in w?d.dangerouslySetInnerHTML={__html:w.html}:v&&"domNodes"in w?h=Array.prototype.slice.call(w.domNodes):(v?ch(w):typeof w!="function")?g=w:y=w}}else f=!Al(e.generatorName,i);return f&&o&&(g=o(a)),this.queuedDomNodes=h,this.currentGeneratorMeta=y,$(e.elTag,d,g)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:i,context:s}=this,{handleCustomRendering:o,customRenderingMetaMap:a}=s.options;if(o){const d=(t=this.currentGeneratorMeta)!==null&&t!==void 0?t:a==null?void 0:a[i.generatorName];d&&o(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:d},i),{elClasses:(i.elClasses||[]).filter(Z1)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,i=this.base;if(!zn(e,t)){t.forEach(Hv);for(let s of e)i.appendChild(s);this.currentDomNodes=e}}}Wl.addPropsEquality({elClasses:zn,elStyle:rn,elAttrs:I1,renderProps:rn});function Al(n,e){var t;return!!(e.handleCustomRendering&&n&&(!((t=e.customRenderingMetaMap)===null||t===void 0)&&t[n]))}function jh(n,e,t){const i=Object.assign(Object.assign({},n.elAttrs),{ref:t});return(n.elClasses||e)&&(i.className=(n.elClasses||[]).concat(e||[]).concat(i.className||[]).filter(Boolean).join(" ")),n.elStyle&&(i.style=n.elStyle),i}function Z1(n){return!!n}const Hh=$h(0);class Sn extends Lt{constructor(){super(...arguments),this.InnerContent=Q1.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(En(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,t=X1(e.classNameGenerator,e.renderProps);if(e.children){const i=jh(e,t,this.handleEl),s=e.children(this.InnerContent,e.renderProps,i);return e.elTag?$(e.elTag,i,s):s}else return $(Wl,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;this.el?(t=(e=this.props).didMount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,t;(t=(e=this.props).willUnmount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}Sn.contextType=Hh;function Q1(n,e){const t=n.props;return $(Wl,Object.assign({renderProps:t.renderProps,generatorName:t.generatorName,customGenerator:t.customGenerator,defaultGenerator:t.defaultGenerator,renderId:n.context},e))}function X1(n,e){const t=typeof n=="function"?n(e):n||[];return typeof t=="string"?[t]:t}class Zd extends He{render(){let{props:e,context:t}=this,{options:i}=t,s={view:t.viewApi};return $(Sn,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Bh(e.viewSpec),...e.elClasses||[]],renderProps:s,classNameGenerator:i.viewClassNames,generatorName:void 0,didMount:i.viewDidMount,willUnmount:i.viewWillUnmount}),()=>e.children)}}function Bh(n){return[`fc-${n.type}-view`,"fc-view"]}function J1(n,e){let t=null,i=null;return n.start&&(t=e.createMarker(n.start)),n.end&&(i=e.createMarker(n.end)),!t&&!i||t&&i&&i<t?null:{start:t,end:i}}function Qd(n,e){let t=[],{start:i}=e,s,o;for(n.sort(K1),s=0;s<n.length;s+=1)o=n[s],o.start>i&&t.push({start:i,end:o.start}),o.end>i&&(i=o.end);return i<e.end&&t.push({start:i,end:e.end}),t}function K1(n,e){return n.start.valueOf()-e.start.valueOf()}function qi(n,e){let{start:t,end:i}=n,s=null;return e.start!==null&&(t===null?t=e.start:t=new Date(Math.max(t.valueOf(),e.start.valueOf()))),e.end!=null&&(i===null?i=e.end:i=new Date(Math.min(i.valueOf(),e.end.valueOf()))),(t===null||i===null||t<i)&&(s={start:t,end:i}),s}function eb(n,e){return(n.end===null||e.start===null||n.end>e.start)&&(n.start===null||e.end===null||n.start<e.end)}function Bn(n,e){return(n.start===null||e>=n.start)&&(n.end===null||e<n.end)}function tb(n,e){return e.start!=null&&n<e.start?e.start:e.end!=null&&n>=e.end?new Date(e.end.valueOf()-1):n}function zh(n){let e=Math.floor(Ki(n.start,n.end))||1,t=je(n.start),i=nt(t,e);return{start:t,end:i}}function Fh(n,e=Ae(0)){let t=null,i=null;if(n.end){i=je(n.end);let s=n.end.valueOf()-i.valueOf();s&&s>=kr(e)&&(i=nt(i,1))}return n.start&&(t=je(n.start),i&&i<=t&&(i=nt(t,1))),{start:t,end:i}}function Os(n,e,t,i){return i==="year"?Ae(t.diffWholeYears(n,e),"year"):i==="month"?Ae(t.diffWholeMonths(n,e),"month"):c1(n,e)}function nb(n,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return n}}function ib(n,e){let t=n.initialDate;return t!=null?e.createMarker(t):Nr(n.now,e)}function Nr(n,e){return typeof n=="function"&&(n=n()),n==null?e.createNowMarker():e.createMarker(n)}class Vh{constructor(e){this.props=e,this.nowDate=Nr(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,i){let{dateEnv:s}=this.props,o=s.subtract(s.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,i)}buildNext(e,t,i){let{dateEnv:s}=this.props,o=s.add(s.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,i)}build(e,t,i=!0){let{props:s}=this,o,a,d,f,g,h;return o=this.buildValidRange(),o=this.trimHiddenDays(o),i&&(e=tb(e,o)),a=this.buildCurrentRangeInfo(e,t),d=/^(year|month|week|day)$/.test(a.unit),f=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,d),f=this.trimHiddenDays(f),g=f,s.showNonCurrentDates||(g=qi(g,a.range)),g=this.adjustActiveRange(g),g=qi(g,o),h=eb(a.range,o),Bn(f,e)||(e=f.start),{currentDate:e,validRange:o,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:d,activeRange:g,renderRange:f,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,isValid:h,dateIncrement:this.buildDateIncrement(a.duration)}}buildValidRange(){let e=this.props.validRangeInput,t=typeof e=="function"?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let{props:i}=this,s=null,o=null,a=null,d;return i.duration?(s=i.duration,o=i.durationUnit,a=this.buildRangeFromDuration(e,t,s,o)):(d=this.props.dayCount)?(o="day",a=this.buildRangeFromDayCount(e,t,d)):(a=this.buildCustomVisibleRange(e))?o=i.dateEnv.greatestWholeUnit(a.start,a.end).unit:(s=this.getFallbackDuration(),o=Ll(s).unit,a=this.buildRangeFromDuration(e,t,s,o)),{duration:s,unit:o,range:a}}getFallbackDuration(){return Ae({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:i,slotMinTime:s,slotMaxTime:o}=this.props,{start:a,end:d}=e;return i&&(Wi(s)<0&&(a=je(a),a=t.add(a,s)),Wi(o)>1&&(d=je(d),d=nt(d,-1),d=t.add(d,o))),{start:a,end:d}}buildRangeFromDuration(e,t,i,s){let{dateEnv:o,dateAlignment:a}=this.props,d,f,g;if(!a){let{dateIncrement:y}=this.props;y&&kr(y)<kr(i)?a=Ll(y).unit:a=s}Wi(i)<=1&&this.isHiddenDay(d)&&(d=this.skipHiddenDays(d,t),d=je(d));function h(){d=o.startOf(e,a),f=o.add(d,i),g={start:d,end:f}}return h(),this.trimHiddenDays(g)||(e=this.skipHiddenDays(e,t),h()),g}buildRangeFromDayCount(e,t,i){let{dateEnv:s,dateAlignment:o}=this.props,a=0,d=e,f;o&&(d=s.startOf(d,o)),d=je(d),d=this.skipHiddenDays(d,t),f=d;do f=nt(f,1),this.isHiddenDay(f)||(a+=1);while(a<i);return{start:d,end:f}}buildCustomVisibleRange(e){let{props:t}=this,i=t.visibleRangeInput,s=typeof i=="function"?i.call(t.calendarApi,t.dateEnv.toDate(e)):i,o=this.refineRange(s);return o&&(o.start==null||o.end==null)?null:o}buildRenderRange(e,t,i){return e}buildDateIncrement(e){let{dateIncrement:t}=this.props,i;return t||((i=this.props.dateAlignment)?Ae(1,i):e||Ae({days:1}))}refineRange(e){if(e){let t=J1(e,this.props.dateEnv);return t&&(t=Fh(t)),t}return null}initHiddenDays(){let e=this.props.hiddenDays||[],t=[],i=0,s;for(this.props.weekends===!1&&e.push(0,6),s=0;s<7;s+=1)(t[s]=e.indexOf(s)!==-1)||(i+=1);if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=t}trimHiddenDays(e){let{start:t,end:i}=e;return t&&(t=this.skipHiddenDays(t)),i&&(i=this.skipHiddenDays(i,-1,!0)),t==null||i==null||t<i?{start:t,end:i}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,t=1,i=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(i?t:0)+7)%7];)e=nt(e,t);return e}}function Ul(n,e,t,i){return{instanceId:yi(),defId:n,range:e,forcedStartTzo:t==null?null:t,forcedEndTzo:i==null?null:i}}function rb(n,e,t,i){for(let s=0;s<i.length;s+=1){let o=i[s].parse(n,t);if(o){let{allDay:a}=n;return a==null&&(a=e,a==null&&(a=o.allDayGuess,a==null&&(a=!1))),{allDay:a,duration:o.duration,typeData:o.typeData,typeId:s}}}return null}function $r(n,e,t){let{dateEnv:i,pluginHooks:s,options:o}=t,{defs:a,instances:d}=n;d=Yi(d,f=>!a[f.defId].recurringDef);for(let f in a){let g=a[f];if(g.recurringDef){let{duration:h}=g.recurringDef;h||(h=g.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);let y=sb(g,h,e,i,s.recurringTypes);for(let w of y){let v=Ul(f,{start:w,end:i.add(w,h)});d[v.instanceId]=v}}}return{defs:a,instances:d}}function sb(n,e,t,i,s){let a=s[n.recurringDef.typeId].expand(n.recurringDef.typeData,{start:i.subtract(t.start,e),end:t.end},i);return n.allDay&&(a=a.map(je)),a}const Us={id:String,groupId:String,title:String,url:String,interactive:Boolean},Wh={start:j,end:j,date:j,allDay:Boolean},ob=Object.assign(Object.assign(Object.assign({},Us),Wh),{extendedProps:j});function Uh(n,e,t,i,s=Gl(t),o,a){let{refined:d,extra:f}=Gh(n,t,s),g=lb(e,t),h=rb(d,g,t.dateEnv,t.pluginHooks.recurringTypes);if(h){let w=El(d,f,e?e.sourceId:"",h.allDay,!!h.duration,t,o);return w.recurringDef={typeId:h.typeId,typeData:h.typeData,duration:h.duration},{def:w,instance:null}}let y=ab(d,g,t,i);if(y){let w=El(d,f,e?e.sourceId:"",y.allDay,y.hasEnd,t,o),v=Ul(w.defId,y.range,y.forcedStartTzo,y.forcedEndTzo);return a&&w.publicId&&a[w.publicId]&&(v.instanceId=a[w.publicId]),{def:w,instance:v}}return null}function Gh(n,e,t=Gl(e)){return zl(n,t)}function Gl(n){return Object.assign(Object.assign(Object.assign({},so),ob),n.pluginHooks.eventRefiners)}function El(n,e,t,i,s,o,a){let d={title:n.title||"",groupId:n.groupId||"",publicId:n.id||"",url:n.url||"",recurringDef:null,defId:(a&&n.id?a[n.id]:"")||yi(),sourceId:t,allDay:i,hasEnd:s,interactive:n.interactive,ui:oo(n,o),extendedProps:Object.assign(Object.assign({},n.extendedProps||{}),e)};for(let f of o.pluginHooks.eventDefMemberAdders)Object.assign(d,f(n));return Object.freeze(d.ui.classNames),Object.freeze(d.extendedProps),d}function ab(n,e,t,i){let{allDay:s}=n,o,a=null,d=!1,f,g=null,h=n.start!=null?n.start:n.date;if(o=t.dateEnv.createMarkerMeta(h),o)a=o.marker;else if(!i)return null;return n.end!=null&&(f=t.dateEnv.createMarkerMeta(n.end)),s==null&&(e!=null?s=e:s=(!o||o.isTimeUnspecified)&&(!f||f.isTimeUnspecified)),s&&a&&(a=je(a)),f&&(g=f.marker,s&&(g=je(g)),a&&g<=a&&(g=null)),g?d=!0:i||(d=t.options.forceEventDuration||!1,g=t.dateEnv.add(a,s?t.options.defaultAllDayEventDuration:t.options.defaultTimedEventDuration)),{allDay:s,hasEnd:d,range:{start:a,end:g},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:f?f.forcedTzo:null}}function lb(n,e){let t=null;return n&&(t=n.defaultAllDay),t==null&&(t=e.options.defaultAllDay),t}function Or(n,e,t,i,s,o){let a=vi(),d=Gl(t);for(let f of n){let g=Uh(f,e,t,i,d,s,o);g&&xl(g,a)}return a}function xl(n,e=vi()){return e.defs[n.def.defId]=n.def,n.instance&&(e.instances[n.instance.instanceId]=n.instance),e}function cb(n,e){let t=n.instances[e];if(t){let i=n.defs[t.defId],s=ql(n,o=>ub(i,o));return s.defs[i.defId]=i,s.instances[t.instanceId]=t,s}return vi()}function ub(n,e){return!!(n.groupId&&n.groupId===e.groupId)}function vi(){return{defs:{},instances:{}}}function Yl(n,e){return{defs:Object.assign(Object.assign({},n.defs),e.defs),instances:Object.assign(Object.assign({},n.instances),e.instances)}}function ql(n,e){let t=Yi(n.defs,e),i=Yi(n.instances,s=>t[s.defId]);return{defs:t,instances:i}}function db(n,e){let{defs:t,instances:i}=n,s={},o={};for(let a in t)e.defs[a]||(s[a]=t[a]);for(let a in i)!e.instances[a]&&s[i[a].defId]&&(o[a]=i[a]);return{defs:s,instances:o}}function fb(n,e){return Array.isArray(n)?Or(n,null,e,!0):typeof n=="object"&&n?Or([n],null,e,!0):n!=null?String(n):null}function Xd(n){return Array.isArray(n)?n:typeof n=="string"?n.split(/\s+/):[]}const so={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:j,overlap:j,allow:j,className:Xd,classNames:Xd,color:String,backgroundColor:String,borderColor:String,textColor:String},hb={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function oo(n,e){let t=fb(n.constraint,e);return{display:n.display||null,startEditable:n.startEditable!=null?n.startEditable:n.editable,durationEditable:n.durationEditable!=null?n.durationEditable:n.editable,constraints:t!=null?[t]:[],overlap:n.overlap!=null?n.overlap:null,allows:n.allow!=null?[n.allow]:[],backgroundColor:n.backgroundColor||n.color||"",borderColor:n.borderColor||n.color||"",textColor:n.textColor||"",classNames:(n.className||[]).concat(n.classNames||[])}}function pb(n){return n.reduce(gb,hb)}function gb(n,e){return{display:e.display!=null?e.display:n.display,startEditable:e.startEditable!=null?e.startEditable:n.startEditable,durationEditable:e.durationEditable!=null?e.durationEditable:n.durationEditable,constraints:n.constraints.concat(e.constraints),overlap:typeof e.overlap=="boolean"?e.overlap:n.overlap,allows:n.allows.concat(e.allows),backgroundColor:e.backgroundColor||n.backgroundColor,borderColor:e.borderColor||n.borderColor,textColor:e.textColor||n.textColor,classNames:n.classNames.concat(e.classNames)}}const mb={id:String,defaultAllDay:Boolean,url:String,format:String,events:j,eventDataTransform:j,success:j,failure:j};function Yh(n,e,t=qh(e)){let i;if(typeof n=="string"?i={url:n}:typeof n=="function"||Array.isArray(n)?i={events:n}:typeof n=="object"&&n&&(i=n),i){let{refined:s,extra:o}=zl(i,t),a=vb(s,e);if(a)return{_raw:n,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:s.defaultAllDay,eventDataTransform:s.eventDataTransform,success:s.success,failure:s.failure,publicId:s.id||"",sourceId:yi(),sourceDefId:a.sourceDefId,meta:a.meta,ui:oo(s,e),extendedProps:o}}return null}function qh(n){return Object.assign(Object.assign(Object.assign({},so),mb),n.pluginHooks.eventSourceRefiners)}function vb(n,e){let t=e.pluginHooks.eventSourceDefs;for(let i=t.length-1;i>=0;i-=1){let o=t[i].parseMeta(n);if(o)return{sourceDefId:i,meta:o}}return null}function bb(n,e,t,i,s){switch(e.type){case"RECEIVE_EVENTS":return yb(n,t[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,s);case"RESET_RAW_EVENTS":return wb(n,t[e.sourceId],e.rawEvents,i.activeRange,s);case"ADD_EVENTS":return _b(n,e.eventStore,i?i.activeRange:null,s);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return Yl(n,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?$r(n,i.activeRange,s):n;case"REMOVE_EVENTS":return db(n,e.eventStore);case"REMOVE_EVENT_SOURCE":return Qh(n,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return ql(n,o=>!o.sourceId);case"REMOVE_ALL_EVENTS":return vi();default:return n}}function yb(n,e,t,i,s,o){if(e&&t===e.latestFetchId){let a=Or(Zh(s,e,o),e,o);return i&&(a=$r(a,i,o)),Yl(Qh(n,e.sourceId),a)}return n}function wb(n,e,t,i,s){const{defIdMap:o,instanceIdMap:a}=Lb(n);let d=Or(Zh(t,e,s),e,s,!1,o,a);return $r(d,i,s)}function Zh(n,e,t){let i=t.options.eventDataTransform,s=e?e.eventDataTransform:null;return s&&(n=Jd(n,s)),i&&(n=Jd(n,i)),n}function Jd(n,e){let t;if(!e)t=n;else{t=[];for(let i of n){let s=e(i);s?t.push(s):s==null&&t.push(i)}}return t}function _b(n,e,t,i){return t&&(e=$r(e,t,i)),Yl(n,e)}function Kd(n,e,t){let{defs:i}=n,s=Pr(n.instances,o=>i[o.defId].allDay?o:Object.assign(Object.assign({},o),{range:{start:t.createMarker(e.toDate(o.range.start,o.forcedStartTzo)),end:t.createMarker(e.toDate(o.range.end,o.forcedEndTzo))},forcedStartTzo:t.canComputeOffset?null:o.forcedStartTzo,forcedEndTzo:t.canComputeOffset?null:o.forcedEndTzo}));return{defs:i,instances:s}}function Qh(n,e){return ql(n,t=>t.sourceId!==e)}function Lb(n){const{defs:e,instances:t}=n,i={},s={};for(let o in e){const a=e[o],{publicId:d}=a;d&&(i[d]=o)}for(let o in t){const a=t[o],d=e[a.defId],{publicId:f}=d;f&&(s[f]=o)}return{defIdMap:i,instanceIdMap:s}}class Cb{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){Ab(this.handlers,e,t)}off(e,t){Eb(this.handlers,e,t)}trigger(e,...t){let i=this.handlers[e]||[],s=this.options&&this.options[e],o=[].concat(s||[],i);for(let a of o)a.apply(this.thisContext,t)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}function Ab(n,e,t){(n[e]||(n[e]=[])).push(t)}function Eb(n,e,t){t?n[e]&&(n[e]=n[e].filter(i=>i!==t)):delete n[e]}const xb={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Sb(n,e){return Or(Tb(n),null,e)}function Tb(n){let e;return n===!0?e=[{}]:Array.isArray(n)?e=n.filter(t=>t.daysOfWeek):typeof n=="object"&&n?e=[n]:e=[],e=e.map(t=>Object.assign(Object.assign({},xb),t)),e}function Db(n,e,t){t.emitter.trigger("select",Object.assign(Object.assign({},Ob(n,t)),{jsEvent:null,view:t.viewApi||t.calendarApi.view}))}function kb(n,e){e.emitter.trigger("unselect",{jsEvent:n?n.origEvent:null,view:e.viewApi||e.calendarApi.view})}function Ob(n,e){let t={};for(let i of e.pluginHooks.dateSpanTransforms)Object.assign(t,i(n,e));return Object.assign(t,Ub(n,e.dateEnv)),t}function ef(n,e,t){let{dateEnv:i,options:s}=t,o=e;return n?(o=je(o),o=i.add(o,s.defaultAllDayEventDuration)):o=i.add(o,s.defaultTimedEventDuration),o}function Rb(n,e,t,i){let s=Jh(n.defs,e),o=vi();for(let a in n.defs){let d=n.defs[a];o.defs[a]=Mb(d,s[a],t,i)}for(let a in n.instances){let d=n.instances[a],f=o.defs[d.defId];o.instances[a]=Pb(d,f,s[d.defId],t,i)}return o}function Mb(n,e,t,i){let s=t.standardProps||{};s.hasEnd==null&&e.durationEditable&&(t.startDelta||t.endDelta)&&(s.hasEnd=!0);let o=Object.assign(Object.assign(Object.assign({},n),s),{ui:Object.assign(Object.assign({},n.ui),s.ui)});t.extendedProps&&(o.extendedProps=Object.assign(Object.assign({},o.extendedProps),t.extendedProps));for(let a of i.pluginHooks.eventDefMutationAppliers)a(o,t,i);return!o.hasEnd&&i.options.forceEventDuration&&(o.hasEnd=!0),o}function Pb(n,e,t,i,s){let{dateEnv:o}=s,a=i.standardProps&&i.standardProps.allDay===!0,d=i.standardProps&&i.standardProps.hasEnd===!1,f=Object.assign({},n);return a&&(f.range=zh(f.range)),i.datesDelta&&t.startEditable&&(f.range={start:o.add(f.range.start,i.datesDelta),end:o.add(f.range.end,i.datesDelta)}),i.startDelta&&t.durationEditable&&(f.range={start:o.add(f.range.start,i.startDelta),end:f.range.end}),i.endDelta&&t.durationEditable&&(f.range={start:f.range.start,end:o.add(f.range.end,i.endDelta)}),d&&(f.range={start:f.range.start,end:ef(e.allDay,f.range.start,s)}),e.allDay&&(f.range={start:je(f.range.start),end:je(f.range.end)}),f.range.end<f.range.start&&(f.range.end=ef(e.allDay,f.range.start,s)),f}class Fi{constructor(e,t){this.context=e,this.internalEventSource=t}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class Mt{constructor(e,t,i){this._context=e,this._def=t,this._instance=i||null}setProp(e,t){if(e in Wh)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")t=Us[e](t),this.mutate({standardProps:{publicId:t}});else if(e in Us)t=Us[e](t),this.mutate({standardProps:{[e]:t}});else if(e in so){let i=so[e](t);e==="color"?i={backgroundColor:t,borderColor:t}:e==="editable"?i={startEditable:t,durationEditable:t}:i={[e]:t},this.mutate({standardProps:{ui:i}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,t){this.mutate({extendedProps:{[e]:t}})}setStart(e,t={}){let{dateEnv:i}=this._context,s=i.createMarker(e);if(s&&this._instance){let o=this._instance.range,a=Os(o.start,s,i,t.granularity);t.maintainDuration?this.mutate({datesDelta:a}):this.mutate({startDelta:a})}}setEnd(e,t={}){let{dateEnv:i}=this._context,s;if(!(e!=null&&(s=i.createMarker(e),!s))&&this._instance)if(s){let o=Os(this._instance.range.end,s,i,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,i={}){let{dateEnv:s}=this._context,o={allDay:i.allDay},a=s.createMarker(e),d;if(a&&!(t!=null&&(d=s.createMarker(t),!d))&&this._instance){let f=this._instance.range;i.allDay===!0&&(f=zh(f));let g=Os(f.start,a,s,i.granularity);if(d){let h=Os(f.end,d,s,i.granularity);e1(g,h)?this.mutate({datesDelta:g,standardProps:o}):this.mutate({startDelta:g,endDelta:h,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:g,standardProps:o})}}moveStart(e){let t=Ae(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=Ae(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=Ae(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let i={allDay:e},{maintainDuration:s}=t;s==null&&(s=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(i.hasEnd=s),this.mutate({standardProps:i})}formatRange(e){let{dateEnv:t}=this._context,i=this._instance,s=Ze(e);return this._def.hasEnd?t.formatRange(i.range.start,i.range.end,s,{forcedStartTzo:i.forcedStartTzo,forcedEndTzo:i.forcedEndTzo}):t.format(i.range.start,s,{forcedTzo:i.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let i=this._def,s=this._context,{eventStore:o}=s.getCurrentData(),a=cb(o,t.instanceId);a=Rb(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,s);let f=new Mt(s,i,t);this._def=a.defs[i.defId],this._instance=a.instances[t.instanceId],s.dispatch({type:"MERGE_EVENTS",eventStore:a}),s.emitter.trigger("eventChange",{oldEvent:f,event:this,relatedEvents:Zl(a,s,t),revert(){s.dispatch({type:"RESET_EVENTS",eventStore:o})}})}}remove(){let e=this._context,t=Xh(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}get source(){let{sourceId:e}=this._def;return e?new Fi(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let t=this._def,{ui:i}=t,{startStr:s,endStr:o}=this,a={allDay:t.allDay};return t.title&&(a.title=t.title),s&&(a.start=s),o&&(a.end=o),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),i.display&&i.display!=="auto"&&(a.display=i.display),e.collapseColor&&i.backgroundColor&&i.backgroundColor===i.borderColor?a.color=i.backgroundColor:(i.backgroundColor&&(a.backgroundColor=i.backgroundColor),i.borderColor&&(a.borderColor=i.borderColor)),i.textColor&&(a.textColor=i.textColor),i.classNames.length&&(a.classNames=i.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(a,t.extendedProps):a.extendedProps=t.extendedProps),a}toJSON(){return this.toPlainObject()}}function Xh(n){let e=n._def,t=n._instance;return{defs:{[e.defId]:e},instances:t?{[t.instanceId]:t}:{}}}function Zl(n,e,t){let{defs:i,instances:s}=n,o=[],a=t?t.instanceId:"";for(let d in s){let f=s[d],g=i[f.defId];f.instanceId!==a&&o.push(new Mt(e,g,f))}return o}function tf(n,e,t,i){let s={},o={},a={},d=[],f=[],g=Jh(n.defs,e);for(let h in n.defs){let y=n.defs[h];g[y.defId].display==="inverse-background"&&(y.groupId?(s[y.groupId]=[],a[y.groupId]||(a[y.groupId]=y)):o[h]=[])}for(let h in n.instances){let y=n.instances[h],w=n.defs[y.defId],v=g[w.defId],C=y.range,x=!w.allDay&&i?Fh(C,i):C,S=qi(x,t);S&&(v.display==="inverse-background"?w.groupId?s[w.groupId].push(S):o[y.defId].push(S):v.display!=="none"&&(v.display==="background"?d:f).push({def:w,ui:v,instance:y,range:S,isStart:x.start&&x.start.valueOf()===S.start.valueOf(),isEnd:x.end&&x.end.valueOf()===S.end.valueOf()}))}for(let h in s){let y=s[h],w=Qd(y,t);for(let v of w){let C=a[h],x=g[C.defId];d.push({def:C,ui:x,instance:null,range:v,isStart:!1,isEnd:!1})}}for(let h in o){let y=o[h],w=Qd(y,t);for(let v of w)d.push({def:n.defs[h],ui:g[h],instance:null,range:v,isStart:!1,isEnd:!1})}return{bg:d,fg:f}}function nf(n,e){n.fcSeg=e}function Sl(n){return n.fcSeg||n.parentNode.fcSeg||null}function Jh(n,e){return Pr(n,t=>Kh(t,e))}function Kh(n,e){let t=[];return e[""]&&t.push(e[""]),e[n.defId]&&t.push(e[n.defId]),t.push(n.ui),pb(t)}function Ib(n,e){let t=n.map(Nb);return t.sort((i,s)=>qv(i,s,e)),t.map(i=>i._seg)}function Nb(n){let{eventRange:e}=n,t=e.def,i=e.instance?e.instance.range:e.range,s=i.start?i.start.valueOf():0,o=i.end?i.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},t.extendedProps),t),{id:t.publicId,start:s,end:o,duration:o-s,allDay:Number(t.allDay),_seg:n})}function $b(n,e){let{pluginHooks:t}=e,i=t.isDraggableTransformers,{def:s,ui:o}=n.eventRange,a=o.startEditable;for(let d of i)a=d(a,s,o,e);return a}function jb(n,e){return n.isStart&&n.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function Hb(n,e){return n.isEnd&&n.eventRange.ui.durationEditable}function ep(n,e,t,i,s,o,a){let{dateEnv:d,options:f}=t,{displayEventTime:g,displayEventEnd:h}=f,y=n.eventRange.def,w=n.eventRange.instance;g==null&&(g=i!==!1),h==null&&(h=s!==!1);let v=w.range.start,C=w.range.end,x=n.start||n.eventRange.range.start,S=n.end||n.eventRange.range.end,D=je(v).valueOf()===je(x).valueOf(),M=je(Fn(C,-1)).valueOf()===je(Fn(S,-1)).valueOf();return g&&!y.allDay&&(D||M)?(x=D?v:x,S=M?C:S,h&&y.hasEnd?d.formatRange(x,S,e,{forcedStartTzo:w.forcedStartTzo,forcedEndTzo:w.forcedEndTzo}):d.format(x,e,{forcedTzo:w.forcedStartTzo})):""}function Lr(n,e,t){let i=n.eventRange.range;return{isPast:i.end<=e.start,isFuture:i.start>=e.end,isToday:e&&Bn(e,i.start)}}function Bb(n){let e=["fc-event"];return n.isMirror&&e.push("fc-event-mirror"),n.isDraggable&&e.push("fc-event-draggable"),(n.isStartResizable||n.isEndResizable)&&e.push("fc-event-resizable"),n.isDragging&&e.push("fc-event-dragging"),n.isResizing&&e.push("fc-event-resizing"),n.isSelected&&e.push("fc-event-selected"),n.isStart&&e.push("fc-event-start"),n.isEnd&&e.push("fc-event-end"),n.isPast&&e.push("fc-event-past"),n.isToday&&e.push("fc-event-today"),n.isFuture&&e.push("fc-event-future"),e}function zb(n){return n.instance?n.instance.instanceId:`${n.def.defId}:${n.range.start.toISOString()}`}function tp(n,e){let{def:t,instance:i}=n.eventRange,{url:s}=t;if(s)return{href:s};let{emitter:o,options:a}=e,{eventInteractive:d}=a;return d==null&&(d=t.interactive,d==null&&(d=!!o.hasHandlers("eventClick"))),d?Mh(f=>{o.trigger("eventClick",{el:f.target,event:new Mt(e,t,i),jsEvent:f,view:e.viewApi})}):{}}const Fb={start:j,end:j,allDay:Boolean};function Vb(n,e,t){let i=Wb(n,e),{range:s}=i;if(!s.start)return null;if(!s.end){if(t==null)return null;s.end=e.add(s.start,t)}return i}function Wb(n,e){let{refined:t,extra:i}=zl(n,Fb),s=t.start?e.createMarkerMeta(t.start):null,o=t.end?e.createMarkerMeta(t.end):null,{allDay:a}=t;return a==null&&(a=s&&s.isTimeUnspecified&&(!o||o.isTimeUnspecified)),Object.assign({range:{start:s?s.marker:null,end:o?o.marker:null},allDay:a},i)}function Ub(n,e){return Object.assign(Object.assign({},ip(n.range,e,n.allDay)),{allDay:n.allDay})}function np(n,e,t){return Object.assign(Object.assign({},ip(n,e,t)),{timeZone:e.timeZone})}function ip(n,e,t){return{start:e.toDate(n.start),end:e.toDate(n.end),startStr:e.formatIso(n.start,{omitTime:t}),endStr:e.formatIso(n.end,{omitTime:t})}}function Gb(n,e,t){let i=Gh({editable:!1},t),s=El(i.refined,i.extra,"",n.allDay,!0,t);return{def:s,ui:Kh(s,e),instance:Ul(s.defId,n.range),range:n.range,isStart:!0,isEnd:!0}}function Yb(n,e,t){let i=!1,s=function(d){i||(i=!0,e(d))},o=function(d){i||(i=!0,t(d))},a=n(s,o);a&&typeof a.then=="function"&&a.then(s,o)}class rf extends Error{constructor(e,t){super(e),this.response=t}}function qb(n,e,t){n=n.toUpperCase();const i={method:n};return n==="GET"?e+=(e.indexOf("?")===-1?"?":"&")+new URLSearchParams(t):(i.body=new URLSearchParams(t),i.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(e,i).then(s=>{if(s.ok)return s.json().then(o=>[o,s],()=>{throw new rf("Failure parsing JSON",s)});throw new rf("Request failed",s)})}let ol;function rp(){return ol==null&&(ol=Zb()),ol}function Zb(){if(typeof document=="undefined")return!0;let n=document.createElement("div");n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.innerHTML="<table><tr><td><div></div></td></tr></table>",n.querySelector("table").style.height="100px",n.querySelector("div").style.height="100%",document.body.appendChild(n);let t=n.querySelector("div").offsetHeight>0;return document.body.removeChild(n),t}class Qb extends He{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{ro(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{ro(()=>{this.setState({forPrint:!1})})}}render(){let{props:e}=this,{options:t}=e,{forPrint:i}=this.state,s=i||t.height==="auto"||t.contentHeight==="auto",o=!s&&t.height!=null?t.height:"",a=["fc",i?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return rp()||a.push("fc-liquid-hack"),e.children(a,o,s,i)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class sp{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function Xb(n,e){return{component:n,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}const sf={};class Jb{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:i}=this;i.currentCalendarOptionsRefiners[e]?i.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering(()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:i}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:i.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,t){let i=this.getCurrentData(),s;t=t||"day",s=i.viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),s?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:s.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:t,toolbarConfig:i}=this.getCurrentData(),s=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]),o,a;for(let d in t)s.push(d);for(o=0;o<s.length;o+=1)if(a=t[s[o]],a&&a.singleUnit===e)return a;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:Nr(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}incrementDate(e){let t=this.getCurrentData(),i=Ae(e);i&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,i)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,t){let{dateEnv:i}=this.getCurrentData();return i.format(i.createMarker(e),Ze(t))}formatRange(e,t,i){let{dateEnv:s}=this.getCurrentData();return s.formatRange(s.createMarker(e),s.createMarker(t),Ze(i),i)}formatIso(e,t){let{dateEnv:i}=this.getCurrentData();return i.formatIso(i.createMarker(e),{omitTime:t})}select(e,t){let i;t==null?e.start!=null?i=e:i={start:e,end:null}:i={start:e,end:t};let s=this.getCurrentData(),o=Vb(i,s.dateEnv,Ae({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),Db(o,null,s))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),kb(e,t))}addEvent(e,t){if(e instanceof Mt){let a=e._def,d=e._instance;return this.getCurrentData().eventStore.defs[a.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:xl({def:a,instance:d})}),this.triggerEventAdd(e)),e}let i=this.getCurrentData(),s;if(t instanceof Fi)s=t.internalEventSource;else if(typeof t=="boolean")t&&([s]=Vl(i.eventSources));else if(t!=null){let a=this.getEventSourceById(t);if(!a)return console.warn(`Could not find an event source with ID "${t}"`),null;s=a.internalEventSource}let o=Uh(e,s,i,!1);if(o){let a=new Mt(i,o.def,o.def.recurringDef?null:o.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:xl(o)}),this.triggerEventAdd(a),a}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:Xh(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:i,instances:s}=t.eventStore;e=String(e);for(let o in i){let a=i[o];if(a.publicId===e){if(a.recurringDef)return new Mt(t,a,null);for(let d in s){let f=s[d];if(f.defId===a.defId)return new Mt(t,a,f)}}}return null}getEvents(){let e=this.getCurrentData();return Zl(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,i=[];for(let s in t)i.push(new Fi(e,t[s]));return i}getEventSourceById(e){let t=this.getCurrentData(),i=t.eventSources;e=String(e);for(let s in i)if(i[s].publicId===e)return new Fi(t,i[s]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof Fi)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let i=Yh(e,t);return i?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[i]}),new Fi(t,i)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=Ae(e);t&&this.trigger("_scrollRequest",{time:t})}}function Kb(n,e){let t={left:Math.max(n.left,e.left),right:Math.min(n.right,e.right),top:Math.max(n.top,e.top),bottom:Math.min(n.bottom,e.bottom)};return t.left<t.right&&t.top<t.bottom?t:!1}function op(n,e,t,i){return{dow:n.getUTCDay(),isDisabled:!!(i&&!Bn(i.activeRange,n)),isOther:!!(i&&!Bn(i.currentRange,n)),isToday:!!(e&&Bn(e,n)),isPast:!!(e&&n<e.start),isFuture:!!(e&&n>=e.end)}}function Ql(n,e){let t=["fc-day",`fc-day-${r1[n.dow]}`];return n.isDisabled?t.push("fc-day-disabled"):(n.isToday&&(t.push("fc-day-today"),t.push(e.getClass("today"))),n.isPast&&t.push("fc-day-past"),n.isFuture&&t.push("fc-day-future"),n.isOther&&t.push("fc-day-other")),t}const ey=Ze({year:"numeric",month:"long",day:"numeric"}),ty=Ze({week:"long"});function Tl(n,e,t="day",i=!0){const{dateEnv:s,options:o,calendarApi:a}=n;let d=s.format(e,t==="week"?ty:ey);if(o.navLinks){let f=s.toDate(e);const g=h=>{let y=t==="day"?o.navLinkDayClick:t==="week"?o.navLinkWeekClick:null;typeof y=="function"?y.call(a,s.toDate(e),h):(typeof y=="string"&&(t=y),a.zoomTo(e,t))};return Object.assign({title:wr(o.navLinkHint,[d,f],d),"data-navlink":""},i?Rh(g):{onClick:g})}return{"aria-label":d}}let al;function ny(){return al||(al=iy()),al}function iy(){let n=document.createElement("div");n.style.overflow="scroll",n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",document.body.appendChild(n);let e=ry(n);return document.body.removeChild(n),e}function ry(n){return{x:n.offsetHeight-n.clientHeight,y:n.offsetWidth-n.clientWidth}}function sy(n){let e=oy(n),t=n.getBoundingClientRect();for(let i of e){let s=Kb(t,i.getBoundingClientRect());if(s)t=s;else return null}return t}function oy(n){let e=[];for(;n instanceof HTMLElement;){let t=window.getComputedStyle(n);if(t.position==="fixed")break;/(auto|scroll)/.test(t.overflow+t.overflowY+t.overflowX)&&e.push(n),n=n.parentNode}return e}class ao{constructor(e,t,i,s){this.els=t;let o=this.originClientRect=e.getBoundingClientRect();i&&this.buildElHorizontals(o.left),s&&this.buildElVerticals(o.top)}buildElHorizontals(e){let t=[],i=[];for(let s of this.els){let o=s.getBoundingClientRect();t.push(o.left-e),i.push(o.right-e)}this.lefts=t,this.rights=i}buildElVerticals(e){let t=[],i=[];for(let s of this.els){let o=s.getBoundingClientRect();t.push(o.top-e),i.push(o.bottom-e)}this.tops=t,this.bottoms=i}leftToIndex(e){let{lefts:t,rights:i}=this,s=t.length,o;for(o=0;o<s;o+=1)if(e>=t[o]&&e<i[o])return o}topToIndex(e){let{tops:t,bottoms:i}=this,s=t.length,o;for(o=0;o<s;o+=1)if(e>=t[o]&&e<i[o])return o}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return Rs(this.tops||[],e.tops||[])&&Rs(this.bottoms||[],e.bottoms||[])&&Rs(this.lefts||[],e.lefts||[])&&Rs(this.rights||[],e.rights||[])}}function Rs(n,e){const t=n.length;if(t!==e.length)return!1;for(let i=0;i<t;i++)if(Math.round(n[i])!==Math.round(e[i]))return!1;return!0}class Li extends He{constructor(){super(...arguments),this.uid=yi()}prepareHits(){}queryHit(e,t,i,s){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!Ln(e,".fc-event-mirror")}isValidDateDownEl(e){return!Ln(e,".fc-event:not(.fc-bg-event)")&&!Ln(e,".fc-more-link")&&!Ln(e,"a[data-navlink]")&&!Ln(e,".fc-popover")}}class ay{constructor(e=t=>t.thickness||1){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let i of e)this.insertEntry(i,t);return t}insertEntry(e,t){let i=this.findInsertion(e);this.isInsertionValid(i,e)?this.insertEntryAt(e,i):this.handleInvalidInsertion(i,e,t)}isInsertionValid(e,t){return(this.maxCoord===-1||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,i){if(this.allowReslicing&&e.touchingEntry){const s=Object.assign(Object.assign({},t),{span:ap(t.span,e.touchingEntry.span)});i.push(s),this.splitEntry(t,e.touchingEntry,i)}else i.push(t)}splitEntry(e,t,i){let s=e.span,o=t.span;s.start<o.start&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.start,end:o.start}},i),s.end>o.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.end,end:s.end}},i)}insertEntryAt(e,t){let{entriesByLevel:i,levelCoords:s}=this;t.lateral===-1?(ll(s,t.level,t.levelCoord),ll(i,t.level,[e])):ll(i[t.level],t.lateral,e),this.stackCnts[Cr(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:i,strictOrder:s,stackCnts:o}=this,a=t.length,d=0,f=-1,g=-1,h=null,y=0;for(let C=0;C<a;C+=1){const x=t[C];if(!s&&x>=d+this.getEntryThickness(e))break;let S=i[C],D,M=af(S,e.span.start,of),F=M[0]+M[1];for(;(D=S[F])&&D.span.start<e.span.end;){let E=x+this.getEntryThickness(D);E>d&&(d=E,h=D,f=C,g=F),E===d&&(y=Math.max(y,o[Cr(D)]+1)),F+=1}}let w=0;if(h)for(w=f+1;w<a&&t[w]<d;)w+=1;let v=-1;return w<a&&t[w]===d&&(v=af(i[w],e.span.end,of)[0]),{touchingLevel:f,touchingLateral:g,touchingEntry:h,stackCnt:y,levelCoord:d,level:w,lateral:v}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,i=e.length,s=[];for(let o=0;o<i;o+=1){let a=e[o],d=t[o];for(let f of a)s.push(Object.assign(Object.assign({},f),{thickness:this.getEntryThickness(f),levelCoord:d}))}return s}}function of(n){return n.span.end}function Cr(n){return n.index+":"+n.span.start}function ap(n,e){let t=Math.max(n.start,e.start),i=Math.min(n.end,e.end);return t<i?{start:t,end:i}:null}function ll(n,e,t){n.splice(e,0,t)}function af(n,e,t){let i=0,s=n.length;if(!s||e<t(n[i]))return[0,0];if(e>t(n[s-1]))return[s,0];for(;i<s;){let o=Math.floor(i+(s-i)/2),a=t(n[o]);if(e<a)s=o;else if(e>a)i=o+1;else return[o,1]}return[i,0]}function ly(n,e){return!n||e>10?Ze({weekday:"short"}):e>1?Ze({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):Ze({weekday:"long"})}const lp="fc-col-header-cell";function cp(n){return n.text}class cy extends He{render(){let{dateEnv:e,options:t,theme:i,viewApi:s}=this.context,{props:o}=this,{date:a,dateProfile:d}=o,f=op(a,o.todayRange,null,d),g=[lp].concat(Ql(f,i)),h=e.format(a,o.dayHeaderFormat),y=!f.isDisabled&&o.colCnt>1?Tl(this.context,a):{},w=Object.assign(Object.assign(Object.assign({date:e.toDate(a),view:s},o.extraRenderProps),{text:h}),f);return $(Sn,{elTag:"th",elClasses:g,elAttrs:Object.assign({role:"columnheader",colSpan:o.colSpan,"data-date":f.isDisabled?void 0:Hl(a)},o.extraDataAttrs),renderProps:w,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:cp,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},v=>$("div",{className:"fc-scrollgrid-sync-inner"},!f.isDisabled&&$(v,{elTag:"a",elAttrs:y,elClasses:["fc-col-header-cell-cushion",o.isSticky&&"fc-sticky"]})))}}const uy=Ze({weekday:"long"});class dy extends He{render(){let{props:e}=this,{dateEnv:t,theme:i,viewApi:s,options:o}=this.context,a=nt(new Date(2592e5),e.dow),d={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},f=t.format(a,e.dayHeaderFormat),g=Object.assign(Object.assign(Object.assign(Object.assign({date:a},d),{view:s}),e.extraRenderProps),{text:f});return $(Sn,{elTag:"th",elClasses:[lp,...Ql(d,i),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:g,generatorName:"dayHeaderContent",customGenerator:o.dayHeaderContent,defaultGenerator:cp,classNameGenerator:o.dayHeaderClassNames,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},h=>$("div",{className:"fc-scrollgrid-sync-inner"},$(h,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(a,uy)}})))}}class Xl extends Lt{constructor(e,t){super(e,t),this.initialNowDate=Nr(t.options.now,t.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,i=Fn(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),s=t.dateEnv.startOf(i,e.unit),o=t.dateEnv.add(s,Ae(1,e.unit)),a=o.valueOf()-i.valueOf();return a=Math.min(1e3*60*60*24,a),{currentState:{nowDate:s,todayRange:lf(s)},nextState:{nowDate:o,todayRange:lf(o)},waitMs:a}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}Xl.contextType=wi;function lf(n){let e=je(n),t=nt(e,1);return{start:e,end:t}}class fy extends He{constructor(){super(...arguments),this.createDayHeaderFormatter=ye(hy)}render(){let{context:e}=this,{dates:t,dateProfile:i,datesRepDistinctDays:s,renderIntro:o}=this.props,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,s,t.length);return $(Xl,{unit:"day"},(d,f)=>$("tr",{role:"row"},o&&o("day"),t.map(g=>s?$(cy,{key:g.toISOString(),date:g,dateProfile:i,todayRange:f,colCnt:t.length,dayHeaderFormat:a}):$(dy,{key:g.getUTCDay(),dow:g.getUTCDay(),dayHeaderFormat:a}))))}}function hy(n,e,t){return n||ly(e,t)}class py{constructor(e,t){let i=e.start,{end:s}=e,o=[],a=[],d=-1;for(;i<s;)t.isHiddenDay(i)?o.push(d+.5):(d+=1,o.push(d),a.push(i)),i=nt(i,1);this.dates=a,this.indices=o,this.cnt=a.length}sliceRange(e){let t=this.getDateDayIndex(e.start),i=this.getDateDayIndex(nt(e.end,-1)),s=Math.max(0,t),o=Math.min(this.cnt-1,i);return s=Math.ceil(s),o=Math.floor(o),s<=o?{firstIndex:s,lastIndex:o,isStart:t===s,isEnd:i===o}:null}getDateDayIndex(e){let{indices:t}=this,i=Math.floor(Ki(this.dates[0],e));return i<0?t[0]-1:i>=t.length?t[t.length-1]+1:t[i]}}class gy{constructor(e,t){let{dates:i}=e,s,o,a;if(t){for(o=i[0].getUTCDay(),s=1;s<i.length&&i[s].getUTCDay()!==o;s+=1);a=Math.ceil(i.length/s)}else a=1,s=i.length;this.rowCnt=a,this.colCnt=s,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let t=0;t<this.rowCnt;t+=1){let i=[];for(let s=0;s<this.colCnt;s+=1)i.push(this.buildCell(t,s));e.push(i)}return e}buildCell(e,t){let i=this.daySeries.dates[e*this.colCnt+t];return{key:i.toISOString(),date:i}}buildHeaderDates(){let e=[];for(let t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}sliceRange(e){let{colCnt:t}=this,i=this.daySeries.sliceRange(e),s=[];if(i){let{firstIndex:o,lastIndex:a}=i,d=o;for(;d<=a;){let f=Math.floor(d/t),g=Math.min((f+1)*t,a+1);s.push({row:f,firstCol:d%t,lastCol:(g-1)%t,isStart:i.isStart&&d===o,isEnd:i.isEnd&&g-1===a}),d=g}}return s}}class my{constructor(){this.sliceBusinessHours=ye(this._sliceBusinessHours),this.sliceDateSelection=ye(this._sliceDateSpan),this.sliceEventStore=ye(this._sliceEventStore),this.sliceEventDrag=ye(this._sliceInteraction),this.sliceEventResize=ye(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,i,s,...o){let{eventUiBases:a}=e,d=this.sliceEventStore(e.eventStore,a,t,i,...o);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,i,a,s,...o),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,i,s,...o),fgEventSegs:d.fg,bgEventSegs:d.bg,eventDrag:this.sliceEventDrag(e.eventDrag,a,t,i,...o),eventResize:this.sliceEventResize(e.eventResize,a,t,i,...o),eventSelection:e.eventSelection}}sliceNowDate(e,t,i,s,...o){return this._sliceDateSpan({range:{start:e,end:Fn(e,1)},allDay:!1},t,i,{},s,...o)}_sliceBusinessHours(e,t,i,s,...o){return e?this._sliceEventStore($r(e,Ms(t,!!i),s),{},t,i,...o).bg:[]}_sliceEventStore(e,t,i,s,...o){if(e){let a=tf(e,t,Ms(i,!!s),s);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,i,s,...o){if(!e)return null;let a=tf(e.mutatedEvents,t,Ms(i,!!s),s);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,i,s,o,...a){if(!e)return[];let d=Ms(t,!!i),f=qi(e.range,d);if(f){e=Object.assign(Object.assign({},e),{range:f});let g=Gb(e,s,o),h=this.sliceRange(e.range,...a);for(let y of h)y.eventRange=g;return h}return[]}sliceEventRanges(e,t){let i=[];for(let s of e)i.push(...this.sliceEventRange(s,t));return i}sliceEventRange(e,t){let i=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(i={start:i.start,end:nt(i.start,1)});let s=this.sliceRange(i,...t);for(let o of s)o.eventRange=e,o.isStart=e.isStart&&o.isStart,o.isEnd=e.isEnd&&o.isEnd;return s}}function Ms(n,e){let t=n.activeRange;return e?t:{start:Fn(t.start,n.slotMinTime.milliseconds),end:Fn(t.end,n.slotMaxTime.milliseconds-864e5)}}const Ps=/^(visible|hidden)$/;class vy extends He{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,En(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:i}=e,s=t&&i,o=["fc-scroller"];return t&&(i?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),$("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:s&&-(e.overcomeLeft||0)||"",right:s&&-(e.overcomeRight||0)||"",bottom:s&&-(e.overcomeBottom||0)||"",marginLeft:!s&&-(e.overcomeLeft||0)||"",marginRight:!s&&-(e.overcomeRight||0)||"",marginBottom:!s&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(Ps.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:i}=e;for(let s=0;s<i.length;s+=1)if(i[s].getBoundingClientRect().width>t)return!0;return!1}needsYScrolling(){if(Ps.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:i}=e;for(let s=0;s<i.length;s+=1)if(i[s].getBoundingClientRect().height>t)return!0;return!1}getXScrollbarWidth(){return Ps.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return Ps.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class pi{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(t,i)=>{let{depths:s,currentMap:o}=this,a=!1,d=!1;t!==null?(a=i in o,o[i]=t,s[i]=(s[i]||0)+1,d=!0):(s[i]-=1,s[i]||(delete o[i],delete this.callbackMap[i],a=!0)),this.masterCallback&&(a&&this.masterCallback(null,String(i)),d&&this.masterCallback(t,String(i)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=i=>{this.handleValue(i,String(e))}),t}collect(e,t,i){return $1(this.currentMap,e,t,i)}getAll(){return Vl(this.currentMap)}}function by(n){let e=zv(n,".fc-scrollgrid-shrink"),t=0;for(let i of e)t=Math.max(t,Xv(i));return Math.ceil(t)}function up(n,e){return n.liquid&&e.liquid}function yy(n,e){return e.maxHeight!=null||up(n,e)}function wy(n,e,t,i){let{expandRows:s}=t;return typeof e.content=="function"?e.content(t):$("table",{role:"presentation",className:[e.tableClassName,n.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:t.tableMinWidth,width:t.clientWidth,height:s?t.clientHeight:""}},t.tableColGroupNode,$(i?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(t):e.rowContent))}function _y(n,e){return zn(n,e,rn)}function Ly(n,e){let t=[];for(let i of n){let s=i.span||1;for(let o=0;o<s;o+=1)t.push($("col",{style:{width:i.width==="shrink"?Cy(e):i.width||"",minWidth:i.minWidth||""}}))}return $("colgroup",{},...t)}function Cy(n){return n==null?4:n}function Ay(n){for(let e of n)if(e.width==="shrink")return!0;return!1}function Ey(n,e){let t=["fc-scrollgrid",e.theme.getClass("table")];return n&&t.push("fc-scrollgrid-liquid"),t}function xy(n,e){let t=["fc-scrollgrid-section",`fc-scrollgrid-section-${n.type}`,n.className];return e&&n.liquid&&n.maxHeight==null&&t.push("fc-scrollgrid-section-liquid"),n.isSticky&&t.push("fc-scrollgrid-section-sticky"),t}function Sy(n){return $("div",{className:"fc-scrollgrid-sticky-shim",style:{width:n.clientWidth,minWidth:n.tableMinWidth}})}function cf(n){let{stickyHeaderDates:e}=n;return(e==null||e==="auto")&&(e=n.height==="auto"||n.viewHeight==="auto"),e}function Ty(n){let{stickyFooterScrollbar:e}=n;return(e==null||e==="auto")&&(e=n.height==="auto"||n.viewHeight==="auto"),e}class dp extends He{constructor(){super(...arguments),this.processCols=ye(e=>e,_y),this.renderMicroColGroup=ye(Ly),this.scrollerRefs=new pi,this.scrollerElRefs=new pi(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:t,context:i}=this,s=e.sections||[],o=this.processCols(e.cols),a=this.renderMicroColGroup(o,t.shrinkWidth),d=Ey(e.liquid,i);e.collapsibleWidth&&d.push("fc-scrollgrid-collapsible");let f=s.length,g=0,h,y=[],w=[],v=[];for(;g<f&&(h=s[g]).type==="header";)y.push(this.renderSection(h,a,!0)),g+=1;for(;g<f&&(h=s[g]).type==="body";)w.push(this.renderSection(h,a,!1)),g+=1;for(;g<f&&(h=s[g]).type==="footer";)v.push(this.renderSection(h,a,!0)),g+=1;let C=!rp();const x={role:"rowgroup"};return $("table",{role:"grid",className:d.join(" "),style:{height:e.height}},!!(!C&&y.length)&&$("thead",x,...y),!!(!C&&w.length)&&$("tbody",x,...w),!!(!C&&v.length)&&$("tfoot",x,...v),C&&$("tbody",x,...y,...w,...v))}renderSection(e,t,i){return"outerContent"in e?$(Fe,{key:e.key},e.outerContent):$("tr",{key:e.key,role:"presentation",className:xy(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,i))}renderChunkTd(e,t,i,s){if("outerContent"in i)return i.outerContent;let{props:o}=this,{forceYScrollbars:a,scrollerClientWidths:d,scrollerClientHeights:f}=this.state,g=yy(o,e),h=up(o,e),y=o.liquid?a?"scroll":g?"auto":"hidden":"visible",w=e.key,v=wy(e,i,{tableColGroupNode:t,tableMinWidth:"",clientWidth:!o.collapsibleWidth&&d[w]!==void 0?d[w]:null,clientHeight:f[w]!==void 0?f[w]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},s);return $(s?"th":"td",{ref:i.elRef,role:"presentation"},$("div",{className:`fc-scroller-harness${h?" fc-scroller-harness-liquid":""}`},$(vy,{ref:this.scrollerRefs.createRef(w),elRef:this.scrollerElRefs.createRef(w),overflowY:y,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:h,liquidIsAbsolute:!0},v)))}_handleScrollerEl(e,t){let i=Dy(this.props.sections,t);i&&En(i.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return Ay(this.props.cols)?by(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=ny(),{scrollerRefs:t,scrollerElRefs:i}=this,s=!1,o={},a={};for(let d in t.currentMap){let f=t.currentMap[d];if(f&&f.needsYScrolling()){s=!0;break}}for(let d of this.props.sections){let f=d.key,g=i.currentMap[f];if(g){let h=g.parentNode;o[f]=Math.floor(h.getBoundingClientRect().width-(s?e.y:0)),a[f]=Math.floor(h.getBoundingClientRect().height)}}return{forceYScrollbars:s,scrollerClientWidths:o,scrollerClientHeights:a}}}dp.addStateEquality({scrollerClientWidths:rn,scrollerClientHeights:rn});function Dy(n,e){for(let t of n)if(t.key===e)return t;return null}class Jl extends He{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&nf(e,this.props.seg)}}render(){const{props:e,context:t}=this,{options:i}=t,{seg:s}=e,{eventRange:o}=s,{ui:a}=o,d={event:new Mt(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&$b(s,t),isStartResizable:!e.disableResizing&&jb(s,t),isEndResizable:!e.disableResizing&&Hb(s),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!s.isStart,isEnd:!!s.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing};return $(Sn,Object.assign({},e,{elRef:this.handleEl,elClasses:[...Bb(d),...s.eventRange.ui.classNames,...e.elClasses||[]],renderProps:d,generatorName:"eventContent",customGenerator:i.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.eventClassNames,didMount:i.eventDidMount,willUnmount:i.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&nf(this.el,this.props.seg)}}class ky extends He{render(){let{props:e,context:t}=this,{options:i}=t,{seg:s}=e,{ui:o}=s.eventRange,a=i.eventTimeFormat||e.defaultTimeFormat,d=ep(s,a,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return $(Jl,Object.assign({},e,{elTag:"a",elStyle:{borderColor:o.borderColor,backgroundColor:o.backgroundColor},elAttrs:tp(s,t),defaultGenerator:Oy,timeText:d}),(f,g)=>$(Fe,null,$(f,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:g.textColor}}),!!g.isStartResizable&&$("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!g.isEndResizable&&$("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function Oy(n){return $("div",{className:"fc-event-main-frame"},n.timeText&&$("div",{className:"fc-event-time"},n.timeText),$("div",{className:"fc-event-title-container"},$("div",{className:"fc-event-title fc-sticky"},n.event.title||$(Fe,null," "))))}const Ry=Ze({day:"numeric"});class fp extends He{constructor(){super(...arguments),this.refineRenderProps=Ws(My)}render(){let{props:e,context:t}=this,{options:i}=t,s=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:i.monthStartFormat});return $(Sn,Object.assign({},e,{elClasses:[...Ql(s,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),s.isDisabled?{}:{"data-date":Hl(e.date)}),renderProps:s,generatorName:"dayCellContent",customGenerator:i.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:s.isDisabled?void 0:i.dayCellClassNames,didMount:i.dayCellDidMount,willUnmount:i.dayCellWillUnmount}))}}function hp(n){return!!(n.dayCellContent||Al("dayCellContent",n))}function My(n){let{date:e,dateEnv:t,dateProfile:i,isMonthStart:s}=n,o=op(e,n.todayRange,null,i),a=n.showDayNumber?t.format(e,s?n.monthStartFormat:Ry):"";return Object.assign(Object.assign(Object.assign({date:t.toDate(e),view:n.viewApi},o),{isMonthStart:s,dayNumberText:a}),n.extraRenderProps)}class Py extends He{render(){let{props:e}=this,{seg:t}=e;return $(Jl,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:Iy,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function Iy(n){let{title:e}=n.event;return e&&$("div",{className:"fc-event-title"},n.event.title)}function Ny(n){return $("div",{className:`fc-${n}`})}const $y=n=>$(wi.Consumer,null,e=>{let{dateEnv:t,options:i}=e,{date:s}=n,o=i.weekNumberFormat||n.defaultFormat,a=t.computeWeekNumber(s),d=t.format(s,o);return $(Sn,Object.assign({},n,{renderProps:{num:a,text:d,date:s},generatorName:"weekNumberContent",customGenerator:i.weekNumberContent,defaultGenerator:jy,classNameGenerator:i.weekNumberClassNames,didMount:i.weekNumberDidMount,willUnmount:i.weekNumberWillUnmount}))});function jy(n){return n.text}const cl=10;class Hy extends He{constructor(){super(...arguments),this.state={titleId:po()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&En(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const t=Wv(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:i,state:s}=this,o=["fc-popover",e.getClass("popover")].concat(i.extraClassNames||[]);return xv($("div",Object.assign({},i.extraAttrs,{id:i.id,className:o.join(" "),"aria-labelledby":s.titleId,ref:this.handleRootEl}),$("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},$("span",{className:"fc-popover-title",id:s.titleId},i.title),$("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),$("div",{className:"fc-popover-body "+e.getClass("popoverContent")},i.children)),i.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:i}=this.props,{rootEl:s}=this,o=sy(t);if(o){let a=s.getBoundingClientRect(),d=i?Ln(t,".fc-scrollgrid").getBoundingClientRect().top:o.top,f=e?o.right-a.width:o.left;d=Math.max(d,cl),f=Math.min(f,document.documentElement.clientWidth-cl-a.width),f=Math.max(f,cl);let g=s.offsetParent.getBoundingClientRect();Vv(s,{top:d-g.top,left:f-g.left})}}}class By extends Li{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:i}=this,{startDate:s,todayRange:o,dateProfile:a}=i,d=t.format(s,e.dayPopoverFormat);return $(fp,{elRef:this.handleRootEl,date:s,dateProfile:a,todayRange:o},(f,g,h)=>$(Hy,{elRef:h.ref,id:i.id,title:d,extraClassNames:["fc-more-popover"].concat(h.className||[]),extraAttrs:h,parentEl:i.parentEl,alignmentEl:i.alignmentEl,alignGridTop:i.alignGridTop,onClose:i.onClose},hp(e)&&$(f,{elTag:"div",elClasses:["fc-more-popover-misc"]}),i.children))}queryHit(e,t,i,s){let{rootEl:o,props:a}=this;return e>=0&&e<i&&t>=0&&t<s?{dateProfile:a.dateProfile,dateSpan:Object.assign({allDay:!a.forceTimed,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:i,bottom:s},layer:1}:null}}class zy extends He{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:po()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&En(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:i}=this,{moreLinkClick:s}=i.options,o=uf(t).start;function a(d){let{def:f,instance:g,range:h}=d.eventRange;return{event:new Mt(i,f,g),start:i.dateEnv.toDate(h.start),end:i.dateEnv.toDate(h.end),isStart:d.isStart,isEnd:d.isEnd}}typeof s=="function"&&(s=s({date:o,allDay:!!t.allDayDate,allSegs:t.allSegs.map(a),hiddenSegs:t.hiddenSegs.map(a),jsEvent:e,view:i.viewApi})),!s||s==="popover"?this.setState({isPopoverOpen:!0}):typeof s=="string"&&i.calendarApi.zoomTo(o,s)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return $(wi.Consumer,null,i=>{let{viewApi:s,options:o,calendarApi:a}=i,{moreLinkText:d}=o,{moreCnt:f}=e,g=uf(e),h=typeof d=="function"?d.call(a,f):`+${f} ${d}`,y=wr(o.moreLinkHint,[f],h),w={num:f,shortText:`+${f}`,text:h,view:s};return $(Fe,null,!!e.moreCnt&&$(Sn,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),Rh(this.handleClick)),{title:y,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:w,generatorName:"moreLinkContent",customGenerator:o.moreLinkContent,defaultGenerator:e.defaultGenerator||Fy,classNameGenerator:o.moreLinkClassNames,didMount:o.moreLinkDidMount,willUnmount:o.moreLinkWillUnmount},e.children),t.isPopoverOpen&&$(By,{id:t.popoverId,startDate:g.start,endDate:g.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=Ln(this.linkEl,".fc-view-harness"))}}function Fy(n){return n.text}function uf(n){if(n.allDayDate)return{start:n.allDayDate,end:nt(n.allDayDate,1)};let{hiddenSegs:e}=n;return{start:Vy(e),end:Uy(e)}}function Vy(n){return n.reduce(Wy).eventRange.range.start}function Wy(n,e){return n.eventRange.range.start<e.eventRange.range.start?n:e}function Uy(n){return n.reduce(Gy).eventRange.range.end}function Gy(n,e){return n.eventRange.range.end>e.eventRange.range.end?n:e}class Yy{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(let t of this.handlers)t(e)}subscribe(e){this.handlers.push(e),this.currentValue!==void 0&&e(this.currentValue)}}class qy extends Yy{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:t}=this;let i=!1;e.isActive?(t.set(e.id,e),i=!0):t.has(e.id)&&(t.delete(e.id),i=!0),i&&this.set(t)}}const Zy=[],pp={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},gp=Object.assign(Object.assign({},pp),{buttonHints:{prev:"Previous $0",next:"Next $0",today(n,e){return e==="day"?"Today":`This ${n}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(n){return`Show ${n} more event${n===1?"":"s"}`}});function Qy(n){let e=n.length>0?n[0].code:"en",t=Zy.concat(n),i={en:gp};for(let s of t)i[s.code]=s;return{map:i,defaultCode:e}}function mp(n,e){return typeof n=="object"&&!Array.isArray(n)?vp(n.code,[n.code],n):Xy(n,e)}function Xy(n,e){let t=[].concat(n||[]),i=Jy(t,e)||gp;return vp(n,t,i)}function Jy(n,e){for(let t=0;t<n.length;t+=1){let i=n[t].toLocaleLowerCase().split("-");for(let s=i.length;s>0;s-=1){let o=i.slice(0,s).join("-");if(e[o])return e[o]}}return null}function vp(n,e,t){let i=Fl([pp,t],["buttonText"]);delete i.code;let{week:s}=i;return delete i.week,{codeArg:n,codes:e,week:s,simpleNumberFormat:new Intl.NumberFormat(n),options:i}}function Ci(n){return{id:yi(),name:n.name,premiumReleaseDate:n.premiumReleaseDate?new Date(n.premiumReleaseDate):void 0,deps:n.deps||[],reducers:n.reducers||[],isLoadingFuncs:n.isLoadingFuncs||[],contextInit:[].concat(n.contextInit||[]),eventRefiners:n.eventRefiners||{},eventDefMemberAdders:n.eventDefMemberAdders||[],eventSourceRefiners:n.eventSourceRefiners||{},isDraggableTransformers:n.isDraggableTransformers||[],eventDragMutationMassagers:n.eventDragMutationMassagers||[],eventDefMutationAppliers:n.eventDefMutationAppliers||[],dateSelectionTransformers:n.dateSelectionTransformers||[],datePointTransforms:n.datePointTransforms||[],dateSpanTransforms:n.dateSpanTransforms||[],views:n.views||{},viewPropsTransformers:n.viewPropsTransformers||[],isPropsValid:n.isPropsValid||null,externalDefTransforms:n.externalDefTransforms||[],viewContainerAppends:n.viewContainerAppends||[],eventDropTransformers:n.eventDropTransformers||[],componentInteractions:n.componentInteractions||[],calendarInteractions:n.calendarInteractions||[],themeClasses:n.themeClasses||{},eventSourceDefs:n.eventSourceDefs||[],cmdFormatter:n.cmdFormatter,recurringTypes:n.recurringTypes||[],namedTimeZonedImpl:n.namedTimeZonedImpl,initialView:n.initialView||"",elementDraggingImpl:n.elementDraggingImpl,optionChangeHandlers:n.optionChangeHandlers||{},scrollGridImpl:n.scrollGridImpl||null,listenerRefiners:n.listenerRefiners||{},optionRefiners:n.optionRefiners||{},propSetHandlers:n.propSetHandlers||{}}}function Ky(n,e){let t={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function s(o){for(let a of o){const d=a.name,f=t[d];f===void 0?(t[d]=a.id,s(a.deps),i=tw(i,a)):f!==a.id&&console.warn(`Duplicate plugin '${d}'`)}}return n&&s(n),s(e),i}function ew(){let n=[],e=[],t;return(i,s)=>((!t||!zn(i,n)||!zn(s,e))&&(t=Ky(i,s)),n=i,e=s,t)}function tw(n,e){return{premiumReleaseDate:nw(n.premiumReleaseDate,e.premiumReleaseDate),reducers:n.reducers.concat(e.reducers),isLoadingFuncs:n.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:n.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},n.eventRefiners),e.eventRefiners),eventDefMemberAdders:n.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},n.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:n.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:n.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:n.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:n.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:n.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:n.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},n.views),e.views),viewPropsTransformers:n.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||n.isPropsValid,externalDefTransforms:n.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:n.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:n.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:n.calendarInteractions.concat(e.calendarInteractions),componentInteractions:n.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},n.themeClasses),e.themeClasses),eventSourceDefs:n.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||n.cmdFormatter,recurringTypes:n.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||n.namedTimeZonedImpl,initialView:n.initialView||e.initialView,elementDraggingImpl:n.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},n.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||n.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},n.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},n.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},n.propSetHandlers),e.propSetHandlers)}}function nw(n,e){return n===void 0?e:e===void 0?n:new Date(Math.max(n.valueOf(),e.valueOf()))}class Vn extends Ir{}Vn.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};Vn.prototype.baseIconClass="fc-icon";Vn.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"};Vn.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};Vn.prototype.iconOverrideOption="buttonIcons";Vn.prototype.iconOverrideCustomButtonOption="icon";Vn.prototype.iconOverridePrefix="fc-icon-";function iw(n,e){let t={},i;for(i in n)Dl(i,t,n,e);for(i in e)Dl(i,t,n,e);return t}function Dl(n,e,t,i){if(e[n])return e[n];let s=rw(n,e,t,i);return s&&(e[n]=s),s}function rw(n,e,t,i){let s=t[n],o=i[n],a=h=>s&&s[h]!==null?s[h]:o&&o[h]!==null?o[h]:null,d=a("component"),f=a("superType"),g=null;if(f){if(f===n)throw new Error("Can't have a custom view type that references itself");g=Dl(f,e,t,i)}return!d&&g&&(d=g.component),d?{type:n,component:d,defaults:Object.assign(Object.assign({},g?g.defaults:{}),s?s.rawOptions:{}),overrides:Object.assign(Object.assign({},g?g.overrides:{}),o?o.rawOptions:{})}:null}function df(n){return Pr(n,sw)}function sw(n){let e=typeof n=="function"?{component:n}:n,{component:t}=e;return e.content?t=ff(e):t&&!(t.prototype instanceof He)&&(t=ff(Object.assign(Object.assign({},e),{content:t}))),{superType:e.type,component:t,rawOptions:e}}function ff(n){return e=>$(wi.Consumer,null,t=>$(Sn,{elTag:"div",elClasses:Bh(t.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:t.options.nextDayThreshold}),generatorName:void 0,customGenerator:n.content,classNameGenerator:n.classNames,didMount:n.didMount,willUnmount:n.willUnmount}))}function ow(n,e,t,i){let s=df(n),o=df(e.views),a=iw(s,o);return Pr(a,d=>aw(d,o,e,t,i))}function aw(n,e,t,i,s){let o=n.overrides.duration||n.defaults.duration||i.duration||t.duration,a=null,d="",f="",g={};if(o&&(a=lw(o),a)){let w=Ll(a);d=w.unit,w.value===1&&(f=d,g=e[d]?e[d].rawOptions:{})}let h=w=>{let v=w.buttonText||{},C=n.defaults.buttonTextKey;return C!=null&&v[C]!=null?v[C]:v[n.type]!=null?v[n.type]:v[f]!=null?v[f]:null},y=w=>{let v=w.buttonHints||{},C=n.defaults.buttonTextKey;return C!=null&&v[C]!=null?v[C]:v[n.type]!=null?v[n.type]:v[f]!=null?v[f]:null};return{type:n.type,component:n.component,duration:a,durationUnit:d,singleUnit:f,optionDefaults:n.defaults,optionOverrides:Object.assign(Object.assign({},g),n.overrides),buttonTextOverride:h(i)||h(t)||n.overrides.buttonText,buttonTextDefault:h(s)||n.defaults.buttonText||h(_r)||n.type,buttonTitleOverride:y(i)||y(t)||n.overrides.buttonHint,buttonTitleDefault:y(s)||n.defaults.buttonHint||y(_r)}}let hf={};function lw(n){let e=JSON.stringify(n),t=hf[e];return t===void 0&&(t=Ae(n),hf[e]=t),t}function cw(n,e){switch(e.type){case"CHANGE_VIEW_TYPE":n=e.viewType}return n}function uw(n,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},n),{[e.optionName]:e.rawOptionValue});default:return n}}function dw(n,e,t,i){let s;switch(e.type){case"CHANGE_VIEW_TYPE":return i.build(e.dateMarker||t);case"CHANGE_DATE":return i.build(e.dateMarker);case"PREV":if(s=i.buildPrev(n,t),s.isValid)return s;break;case"NEXT":if(s=i.buildNext(n,t),s.isValid)return s;break}return n}function fw(n,e,t){let i=e?e.activeRange:null;return yp({},yw(n,t),i,t)}function hw(n,e,t,i){let s=t?t.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return yp(n,e.sources,s,i);case"REMOVE_EVENT_SOURCE":return gw(n,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return t?wp(n,s,i):n;case"FETCH_EVENT_SOURCES":return Kl(n,e.sourceIds?Ih(e.sourceIds):_p(n,i),s,e.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return bw(n,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return n}}function pw(n,e,t){let i=e?e.activeRange:null;return Kl(n,_p(n,t),i,!0,t)}function bp(n){for(let e in n)if(n[e].isFetching)return!0;return!1}function yp(n,e,t,i){let s={};for(let o of e)s[o.sourceId]=o;return t&&(s=wp(s,t,i)),Object.assign(Object.assign({},n),s)}function gw(n,e){return Yi(n,t=>t.sourceId!==e)}function wp(n,e,t){return Kl(n,Yi(n,i=>mw(i,e,t)),e,!1,t)}function mw(n,e,t){return Lp(n,t)?!t.options.lazyFetching||!n.fetchRange||n.isFetching||e.start<n.fetchRange.start||e.end>n.fetchRange.end:!n.latestFetchId}function Kl(n,e,t,i,s){let o={};for(let a in n){let d=n[a];e[a]?o[a]=vw(d,t,i,s):o[a]=d}return o}function vw(n,e,t,i){let{options:s,calendarApi:o}=i,a=i.pluginHooks.eventSourceDefs[n.sourceDefId],d=yi();return a.fetch({eventSource:n,range:e,isRefetch:t,context:i},f=>{let{rawEvents:g}=f;s.eventSourceSuccess&&(g=s.eventSourceSuccess.call(o,g,f.response)||g),n.success&&(g=n.success.call(o,g,f.response)||g),i.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:d,fetchRange:e,rawEvents:g})},f=>{let g=!1;s.eventSourceFailure&&(s.eventSourceFailure.call(o,f),g=!0),n.failure&&(n.failure(f),g=!0),g||console.warn(f.message,f),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:d,fetchRange:e,error:f})}),Object.assign(Object.assign({},n),{isFetching:!0,latestFetchId:d})}function bw(n,e,t,i){let s=n[e];return s&&t===s.latestFetchId?Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},s),{isFetching:!1,fetchRange:i})}):n}function _p(n,e){return Yi(n,t=>Lp(t,e))}function yw(n,e){let t=qh(e),i=[].concat(n.eventSources||[]),s=[];n.initialEvents&&i.unshift(n.initialEvents),n.events&&i.unshift(n.events);for(let o of i){let a=Yh(o,e,t);a&&s.push(a)}return s}function Lp(n,e){return!e.pluginHooks.eventSourceDefs[n.sourceDefId].ignoreRange}function ww(n,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return n}}function _w(n,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return n}}function Lw(n,e){let t;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return t=e.state,{affectedEvents:t.affectedEvents,mutatedEvents:t.mutatedEvents,isEvent:t.isEvent};default:return n}}function Cw(n,e){let t;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return t=e.state,{affectedEvents:t.affectedEvents,mutatedEvents:t.mutatedEvents,isEvent:t.isEvent};default:return n}}function Aw(n,e,t,i,s){let o=n.headerToolbar?pf(n.headerToolbar,n,e,t,i,s):null,a=n.footerToolbar?pf(n.footerToolbar,n,e,t,i,s):null;return{header:o,footer:a}}function pf(n,e,t,i,s,o){let a={},d=[],f=!1;for(let g in n){let h=n[g],y=Ew(h,e,t,i,s,o);a[g]=y.widgets,d.push(...y.viewsWithButtons),f=f||y.hasTitle}return{sectionWidgets:a,viewsWithButtons:d,hasTitle:f}}function Ew(n,e,t,i,s,o){let a=e.direction==="rtl",d=e.customButtons||{},f=t.buttonText||{},g=e.buttonText||{},h=t.buttonHints||{},y=e.buttonHints||{},w=n?n.split(" "):[],v=[],C=!1;return{widgets:w.map(S=>S.split(",").map(D=>{if(D==="title")return C=!0,{buttonName:D};let M,F,E,J,V,G;if(M=d[D])E=Q=>{M.click&&M.click.call(Q.target,Q,Q.target)},(J=i.getCustomButtonIconClass(M))||(J=i.getIconClass(D,a))||(V=M.text),G=M.hint||M.text;else if(F=s[D]){v.push(D),E=()=>{o.changeView(D)},(V=F.buttonTextOverride)||(J=i.getIconClass(D,a))||(V=F.buttonTextDefault);let Q=F.buttonTextOverride||F.buttonTextDefault;G=wr(F.buttonTitleOverride||F.buttonTitleDefault||e.viewHint,[Q,D],Q)}else if(o[D])if(E=()=>{o[D]()},(V=f[D])||(J=i.getIconClass(D,a))||(V=g[D]),D==="prevYear"||D==="nextYear"){let Q=D==="prevYear"?"prev":"next";G=wr(h[Q]||y[Q],[g.year||"year","year"],g[D])}else G=Q=>wr(h[D]||y[D],[g[Q]||Q,Q],g[D]);return{buttonName:D,buttonClick:E,buttonIcon:J,buttonText:V,buttonHint:G}})),viewsWithButtons:v,hasTitle:C}}class xw{constructor(e,t,i){this.type=e,this.getCurrentData=t,this.dateEnv=i}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let Sw={ignoreRange:!0,parseMeta(n){return Array.isArray(n.events)?n.events:null},fetch(n,e){e({rawEvents:n.eventSource.meta})}};const Tw=Ci({name:"array-event-source",eventSourceDefs:[Sw]});let Dw={parseMeta(n){return typeof n.events=="function"?n.events:null},fetch(n,e,t){const{dateEnv:i}=n.context,s=n.eventSource.meta;Yb(s.bind(null,np(n.range,i)),o=>e({rawEvents:o}),t)}};const kw=Ci({name:"func-event-source",eventSourceDefs:[Dw]}),Ow={method:String,extraParams:j,startParam:String,endParam:String,timeZoneParam:String};let Rw={parseMeta(n){return n.url&&(n.format==="json"||!n.format)?{url:n.url,format:"json",method:(n.method||"GET").toUpperCase(),extraParams:n.extraParams,startParam:n.startParam,endParam:n.endParam,timeZoneParam:n.timeZoneParam}:null},fetch(n,e,t){const{meta:i}=n.eventSource,s=Pw(i,n.range,n.context);qb(i.method,i.url,s).then(([o,a])=>{e({rawEvents:o,response:a})},t)}};const Mw=Ci({name:"json-event-source",eventSourceRefiners:Ow,eventSourceDefs:[Rw]});function Pw(n,e,t){let{dateEnv:i,options:s}=t,o,a,d,f,g={};return o=n.startParam,o==null&&(o=s.startParam),a=n.endParam,a==null&&(a=s.endParam),d=n.timeZoneParam,d==null&&(d=s.timeZoneParam),typeof n.extraParams=="function"?f=n.extraParams():f=n.extraParams||{},Object.assign(g,f),g[o]=i.formatIso(e.start),g[a]=i.formatIso(e.end),i.timeZone!=="local"&&(g[d]=i.timeZone),g}const Iw={daysOfWeek:j,startTime:Ae,endTime:Ae,duration:Ae,startRecur:j,endRecur:j};let Nw={parse(n,e){if(n.daysOfWeek||n.startTime||n.endTime||n.startRecur||n.endRecur){let t={daysOfWeek:n.daysOfWeek||null,startTime:n.startTime||null,endTime:n.endTime||null,startRecur:n.startRecur?e.createMarker(n.startRecur):null,endRecur:n.endRecur?e.createMarker(n.endRecur):null},i;return n.duration&&(i=n.duration),!i&&n.startTime&&n.endTime&&(i=t1(n.endTime,n.startTime)),{allDayGuess:!n.startTime&&!n.endTime,duration:i,typeData:t}}return null},expand(n,e,t){let i=qi(e,{start:n.startRecur,end:n.endRecur});return i?jw(n.daysOfWeek,n.startTime,i,t):[]}};const $w=Ci({name:"simple-recurring-event",recurringTypes:[Nw],eventRefiners:Iw});function jw(n,e,t,i){let s=n?Ih(n):null,o=je(t.start),a=t.end,d=[];for(;o<a;){let f;(!s||s[o.getUTCDay()])&&(e?f=i.add(o,e):f=o,d.push(f)),o=nt(o,1)}return d}const Hw=Ci({name:"change-handler",optionChangeHandlers:{events(n,e){gf([n],e)},eventSources:gf}});function gf(n,e){let t=Vl(e.getCurrentData().eventSources);if(t.length===1&&n.length===1&&Array.isArray(t[0]._raw)&&Array.isArray(n[0])){e.dispatch({type:"RESET_RAW_EVENTS",sourceId:t[0].sourceId,rawEvents:n[0]});return}let i=[];for(let s of n){let o=!1;for(let a=0;a<t.length;a+=1)if(t[a]._raw===s){t.splice(a,1),o=!0;break}o||i.push(s)}for(let s of t)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:s.sourceId});for(let s of i)e.calendarApi.addEventSource(s)}function Bw(n,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},np(n.activeRange,e.dateEnv)),{view:e.viewApi}))}function zw(n,e){let{emitter:t}=e;t.hasHandlers("eventsSet")&&t.trigger("eventsSet",Zl(n,e))}const Fw=[Tw,kw,Mw,$w,Hw,Ci({name:"misc",isLoadingFuncs:[n=>bp(n.eventSources)],propSetHandlers:{dateProfile:Bw,eventStore:zw}})];class Vw{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new jl(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t=[],i;for(;i=e.shift();)this.runTask(i),t.push(i);this.drained(t)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function Ww(n,e,t){let i;return/^(year|month)$/.test(n.currentRangeUnit)?i=n.currentRange:i=n.activeRange,t.formatRange(i.start,i.end,Ze(e.titleFormat||Uw(n)),{isEndExclusive:n.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function Uw(n){let{currentRangeUnit:e}=n;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let t=eo(n.currentRange.start,n.currentRange.end);return t!==null&&t>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class Gw{constructor(e){this.computeCurrentViewData=ye(this._computeCurrentViewData),this.organizeRawLocales=ye(Qy),this.buildLocale=ye(mp),this.buildPluginHooks=ew(),this.buildDateEnv=ye(Yw),this.buildTheme=ye(qw),this.parseToolbars=ye(Aw),this.buildViewSpecs=ye(ow),this.buildDateProfileGenerator=Ws(Zw),this.buildViewApi=ye(Qw),this.buildViewUiProps=Ws(Kw),this.buildEventUiBySource=ye(Xw,rn),this.buildEventUiBases=ye(Jw),this.parseContextBusinessHours=Ws(e_),this.buildTitle=ye(Ww),this.emitter=new Cb,this.actionRunner=new Vw(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=w=>{this.actionRunner.request(w)},this.props=e,this.actionRunner.pause();let t={},i=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),s=i.calendarOptions.initialView||i.pluginHooks.initialView,o=this.computeCurrentViewData(s,i,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(o.options);let a=ib(i.calendarOptions,i.dateEnv),d=o.dateProfileGenerator.build(a);Bn(d.activeRange,a)||(a=d.currentRange.start);let f={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let w of i.pluginHooks.contextInit)w(f);let g=fw(i.calendarOptions,d,f),h={dynamicOptionOverrides:t,currentViewType:s,currentDate:a,dateProfile:d,businessHours:this.parseContextBusinessHours(f),eventSources:g,eventUiBases:{},eventStore:vi(),renderableEventStore:vi(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(f).selectionConfig},y=Object.assign(Object.assign({},f),h);for(let w of i.pluginHooks.reducers)Object.assign(h,w(null,null,y));ul(h,f)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:i}=this;t===void 0?i.optionOverrides=e:(i.optionOverrides=Object.assign(Object.assign({},i.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(t===void 0||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:i,emitter:s}=this,o=uw(i.dynamicOptionOverrides,e),a=this.computeOptionsData(t.optionOverrides,o,t.calendarApi),d=cw(i.currentViewType,e),f=this.computeCurrentViewData(d,a,t.optionOverrides,o);t.calendarApi.currentDataManager=this,s.setThisContext(t.calendarApi),s.setOptions(f.options);let g={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:s,getCurrentData:this.getCurrentData},{currentDate:h,dateProfile:y}=i;this.data&&this.data.dateProfileGenerator!==f.dateProfileGenerator&&(y=f.dateProfileGenerator.build(h)),h=nb(h,e),y=dw(y,e,h,f.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!Bn(y.currentRange,h))&&(h=y.currentRange.start);let w=hw(i.eventSources,e,y,g),v=bb(i.eventStore,e,w,y,g),x=bp(w)&&!f.options.progressiveEventRendering&&i.renderableEventStore||v,{eventUiSingleBase:S,selectionConfig:D}=this.buildViewUiProps(g),M=this.buildEventUiBySource(w),F=this.buildEventUiBases(x.defs,S,M),E={dynamicOptionOverrides:o,currentViewType:d,currentDate:h,dateProfile:y,eventSources:w,eventStore:v,renderableEventStore:x,selectionConfig:D,eventUiBases:F,businessHours:this.parseContextBusinessHours(g),dateSelection:ww(i.dateSelection,e),eventSelection:_w(i.eventSelection,e),eventDrag:Lw(i.eventDrag,e),eventResize:Cw(i.eventResize,e)},J=Object.assign(Object.assign({},g),E);for(let Q of a.pluginHooks.reducers)Object.assign(E,Q(i,e,J));let V=ul(i,g),G=ul(E,g);!V&&G?s.trigger("loading",!0):V&&!G&&s.trigger("loading",!1),this.state=E,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,i=this.data,s=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,s,e.optionOverrides,t.dynamicOptionOverrides),a=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,o.options,s.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},s),o),t),d=s.pluginHooks.optionChangeHandlers,f=i&&i.calendarOptions,g=s.calendarOptions;if(f&&f!==g){f.timeZone!==g.timeZone&&(t.eventSources=a.eventSources=pw(a.eventSources,t.dateProfile,a),t.eventStore=a.eventStore=Kd(a.eventStore,i.dateEnv,a.dateEnv),t.renderableEventStore=a.renderableEventStore=Kd(a.renderableEventStore,i.dateEnv,a.dateEnv));for(let h in d)(this.optionsForHandling.indexOf(h)!==-1||f[h]!==g[h])&&d[h](g[h],a)}this.optionsForHandling=[],e.onData&&e.onData(a)}computeOptionsData(e,t,i){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:s,pluginHooks:o,localeDefaults:a,availableLocaleData:d,extra:f}=this.processRawCalendarOptions(e,t);mf(f);let g=this.buildDateEnv(s.timeZone,s.locale,s.weekNumberCalculation,s.firstDay,s.weekText,o,d,s.defaultRangeSeparator),h=this.buildViewSpecs(o.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,a),y=this.buildTheme(s,o),w=this.parseToolbars(s,this.stableOptionOverrides,y,h,i);return this.stableCalendarOptionsData={calendarOptions:s,pluginHooks:o,dateEnv:g,viewSpecs:h,theme:y,toolbarConfig:w,localeDefaults:a,availableRawLocales:d.map}}processRawCalendarOptions(e,t){let{locales:i,locale:s}=rl([_r,e,t]),o=this.organizeRawLocales(i),a=o.map,d=this.buildLocale(s||o.defaultCode,a).options,f=this.buildPluginHooks(e.plugins||[],Fw),g=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gd),Yd),qd),f.listenerRefiners),f.optionRefiners),h={},y=rl([_r,d,e,t]),w={},v=this.currentCalendarOptionsInput,C=this.currentCalendarOptionsRefined,x=!1;for(let S in y)this.optionsForRefining.indexOf(S)===-1&&(y[S]===v[S]||ai[S]&&S in v&&ai[S](v[S],y[S]))?w[S]=C[S]:g[S]?(w[S]=g[S](y[S]),x=!0):h[S]=v[S];return x&&(this.currentCalendarOptionsInput=y,this.currentCalendarOptionsRefined=w,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:f,availableLocaleData:o,localeDefaults:d,extra:h}}_computeCurrentViewData(e,t,i,s){let o=t.viewSpecs[e];if(!o)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:a,extra:d}=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,i,s);mf(d);let f=this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,fixedWeekCount:a.fixedWeekCount}),g=this.buildViewApi(e,this.getCurrentData,t.dateEnv);return{viewSpec:o,options:a,dateProfileGenerator:f,viewApi:g}}processRawViewOptions(e,t,i,s,o){let a=rl([_r,e.optionDefaults,i,s,e.optionOverrides,o]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gd),Yd),qd),M1),t.listenerRefiners),t.optionRefiners),f={},g=this.currentViewOptionsInput,h=this.currentViewOptionsRefined,y=!1,w={};for(let v in a)a[v]===g[v]||ai[v]&&ai[v](a[v],g[v])?f[v]=h[v]:(a[v]===this.currentCalendarOptionsInput[v]||ai[v]&&ai[v](a[v],this.currentCalendarOptionsInput[v])?v in this.currentCalendarOptionsRefined&&(f[v]=this.currentCalendarOptionsRefined[v]):d[v]?f[v]=d[v](a[v]):w[v]=a[v],y=!0);return y&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=f),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:w}}}function Yw(n,e,t,i,s,o,a,d){let f=mp(e||a.defaultCode,a.map);return new V1({calendarSystem:"gregory",timeZone:n,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:f,weekNumberCalculation:t,firstDay:i,weekText:s,cmdFormatter:o.cmdFormatter,defaultSeparator:d})}function qw(n,e){let t=e.themeClasses[n.themeSystem]||Vn;return new t(n)}function Zw(n){let e=n.dateProfileGeneratorClass||Vh;return new e(n)}function Qw(n,e,t){return new xw(n,e,t)}function Xw(n){return Pr(n,e=>e.ui)}function Jw(n,e,t){let i={"":e};for(let s in n){let o=n[s];o.sourceId&&t[o.sourceId]&&(i[s]=t[o.sourceId])}return i}function Kw(n){let{options:e}=n;return{eventUiSingleBase:oo({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},n),selectionConfig:oo({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},n)}}function ul(n,e){for(let t of e.pluginHooks.isLoadingFuncs)if(t(n))return!0;return!1}function e_(n){return Sb(n.options.businessHours,n)}function mf(n,e){for(let t in n)console.warn(`Unknown option '${t}'`)}class t_ extends He{render(){let e=this.props.widgetGroups.map(t=>this.renderWidgetGroup(t));return $("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:t}=this,{theme:i}=this.context,s=[],o=!0;for(let a of e){let{buttonName:d,buttonClick:f,buttonText:g,buttonIcon:h,buttonHint:y}=a;if(d==="title")o=!1,s.push($("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let w=d===t.activeButton,v=!t.isTodayEnabled&&d==="today"||!t.isPrevEnabled&&d==="prev"||!t.isNextEnabled&&d==="next",C=[`fc-${d}-button`,i.getClass("button")];w&&C.push(i.getClass("buttonActive")),s.push($("button",{type:"button",title:typeof y=="function"?y(t.navUnit):y,disabled:v,"aria-pressed":w,className:C.join(" "),onClick:f},g||(h?$("span",{className:h,role:"img"}):"")))}}if(s.length>1){let a=o&&i.getClass("buttonGroup")||"";return $("div",{className:a},...s)}return s[0]}}class vf extends He{render(){let{model:e,extraClassName:t}=this.props,i=!1,s,o,a=e.sectionWidgets,d=a.center;return a.left?(i=!0,s=a.left):s=a.start,a.right?(i=!0,o=a.right):o=a.end,$("div",{className:[t||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",s||[]),this.renderSection("center",d||[]),this.renderSection("end",o||[]))}renderSection(e,t){let{props:i}=this;return $(t_,{key:e,widgetGroups:t,title:i.title,navUnit:i.navUnit,activeButton:i.activeButton,isTodayEnabled:i.isTodayEnabled,isPrevEnabled:i.isPrevEnabled,isNextEnabled:i.isNextEnabled,titleId:i.titleId})}}class n_ extends He{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,En(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:i}=e,s=["fc-view-harness",i||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",a="";return i?t.availableWidth!==null?o=t.availableWidth/i:a=`${1/i*100}%`:o=e.height||"",$("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:s.join(" "),style:{height:o,paddingBottom:a}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class i_ extends sp{constructor(e){super(e),this.handleSegClick=(t,i)=>{let{component:s}=this,{context:o}=s,a=Sl(i);if(a&&s.isValidSegDownEl(t.target)){let d=Ln(t.target,".fc-event-forced-url"),f=d?d.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:i,event:new Mt(s.context,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:o.viewApi}),f&&!t.defaultPrevented&&(window.location.href=f)}},this.destroy=Oh(e.el,"click",".fc-event",this.handleSegClick)}}class r_ extends sp{constructor(e){super(e),this.handleEventElRemove=t=>{t===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(t,i)=>{Sl(i)&&(this.currentSegEl=i,this.triggerEvent("eventMouseEnter",t,i))},this.handleSegLeave=(t,i)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",t,i))},this.removeHoverListeners=Gv(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,i){let{component:s}=this,{context:o}=s,a=Sl(i);(!t||s.isValidSegDownEl(t.target))&&o.emitter.trigger(e,{el:i,event:new Mt(o,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:o.viewApi})}}class s_ extends _i{constructor(){super(...arguments),this.buildViewContext=ye(G1),this.buildViewPropTransformers=ye(a_),this.buildToolbarProps=ye(o_),this.headerRef=An(),this.footerRef=An(),this.interactionsStore={},this.state={viewLabelId:po()},this.registerInteractiveComponent=(e,t)=>{let i=Xb(e,t),a=[i_,r_].concat(this.props.pluginHooks.componentInteractions).map(d=>new d(i));this.interactionsStore[e.uid]=a,sf[e.uid]=i},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let i of t)i.destroy();delete this.interactionsStore[e.uid]}delete sf[e.uid]},this.resizeRunner=new jl(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:t,options:i}=e,s=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,Nr(e.options.now,e.dateEnv),e.viewTitle),o=!1,a="",d;e.isHeightAuto||e.forPrint?a="":i.height!=null?o=!0:i.contentHeight!=null?a=i.contentHeight:d=Math.max(i.aspectRatio,.5);let f=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),g=t.header&&t.header.hasTitle?this.state.viewLabelId:void 0;return $(wi.Provider,{value:f},t.header&&$(vf,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:t.header,titleId:g},s)),$(n_,{liquid:o,height:a,aspectRatio:d,labeledById:g},this.renderView(e),this.buildAppendContent()),t.footer&&$(vf,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:t.footer,titleId:""},s)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(i=>new i(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let i in t)t[i](e[i],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:i}=t.pluginHooks;for(let s in i)t[s]!==e[s]&&i[s](t[s],t)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,t=e.pluginHooks.viewContainerAppends.map(i=>i(e));return $(Fe,{},...t)}renderView(e){let{pluginHooks:t}=e,{viewSpec:i}=e,s={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=this.buildViewPropTransformers(t.viewPropsTransformers);for(let d of o)Object.assign(s,d.transform(s,e));let a=i.component;return $(a,Object.assign({},s))}}function o_(n,e,t,i,s,o){let a=t.build(s,void 0,!1),d=t.buildPrev(e,i,!1),f=t.buildNext(e,i,!1);return{title:o,activeButton:n.type,navUnit:n.singleUnit,isTodayEnabled:a.isValid&&!Bn(e.currentRange,s),isPrevEnabled:d.isValid,isNextEnabled:f.isValid}}function a_(n){return n.map(e=>new e)}class l_ extends Jb{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=i=>{switch(i.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=i=>{this.currentData=i,this.renderRunner.request(i.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:i}=this;ro(()=>{Dr($(Qb,{options:i.calendarOptions,theme:i.theme,emitter:i.emitter},(s,o,a,d)=>(this.setClassNames(s),this.setHeight(o),$(Hh.Provider,{value:this.customContentRenderId},$(s_,Object.assign({isHeightAuto:a,forPrint:d},i))))),this.el)})}else this.isRendered&&(this.isRendered=!1,Dr(null,this.el),this.setClassNames([]),this.setHeight(""))},Pv(e),this.el=e,this.renderRunner=new jl(this.handleRenderRequest),new Gw({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){ro(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!zn(e,this.currentClassNames)){let{classList:t}=this.el;for(let i of this.currentClassNames)t.remove(i);for(let i of e)t.add(i);this.currentClassNames=e}}setHeight(e){kh(this.el,"height",e)}}const c_={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0},Is=typeof document!="undefined"?document.createDocumentFragment():null,u_=Me.extend({render(n){return n("aside",{style:{display:"none"}},this.$slots.default||[])},mounted(){Is&&Is.appendChild(this.$el)},beforeDestroy(){Is&&Is.removeChild(this.$el)}}),fi=typeof document!="undefined"?document.createDocumentFragment():null,d_=Me.extend({props:{inPlaceOf:typeof Element!="undefined"?Element:Object,reportEl:Function,elTag:String,elClasses:Array,elStyle:Object,elAttrs:Object},render(n){return n(this.elTag,{class:this.elClasses,style:this.elStyle,attrs:this.elAttrs},this.$slots.default||[])},mounted(){bf(this.$el,this.inPlaceOf),this.inPlaceOf.style.display="none",this.reportEl(this.$el)},updated(){fi&&this.inPlaceOf.parentNode!==fi&&(bf(this.$el,this.inPlaceOf),this.reportEl(this.$el))},beforeDestroy(){fi&&this.inPlaceOf.parentNode===fi&&fi.removeChild(this.inPlaceOf),this.reportEl(null)}});function bf(n,e){var t;(t=e.parentNode)===null||t===void 0||t.insertBefore(n,e.nextSibling),fi&&fi.appendChild(e)}const Cp=Me.extend({props:{options:Object},data(){return{renderId:0,customRenderingMap:new Map}},methods:{getApi(){return this.calendar},buildOptions(n){return Object.assign(Object.assign({},n),{customRenderingMetaMap:h_(this.$scopedSlots),handleCustomRendering:this.handleCustomRendering,customRenderingReplaces:!0})}},render(n){const e=[];for(const t of this.customRenderingMap.values()){const i=typeof t.generatorMeta=="function"?t.generatorMeta(t.renderProps):t.generatorMeta;e.push(n("div",{key:t.id},[n(d_,{key:t.id,props:{inPlaceOf:t.containerEl,reportEl:t.reportNewContainerEl,elTag:t.elTag,elClasses:t.elClasses,elStyle:t.elStyle,elAttrs:t.elAttrs}},i)]))}return n("div",{attrs:{"data-fc-render-id":this.renderId}},[n(u_,e)])},mounted(){const n=new qy;this.handleCustomRendering=n.handle.bind(n);const e=this.buildOptions(this.options),t=new l_(this.$el,e);this.calendar=t,t.render(),n.subscribe(i=>{this.customRenderingMap=i,this.renderId++,this.needCustomRenderingResize=!0})},beforeUpdate(){this.getApi().resumeRendering()},updated(){this.needCustomRenderingResize&&(this.needCustomRenderingResize=!1,this.getApi().updateSize())},beforeDestroy(){this.getApi().destroy()},watch:f_()});function f_(){let n={options:{deep:!0,handler(e){let t=this.getApi();t.pauseRendering();let i=this.buildOptions(e);t.resetOptions(i),this.renderId++}}};for(let e in c_)n[`options.${e}`]={deep:!0,handler(t){if(t!==void 0){let i=this.getApi();i.pauseRendering(),i.resetOptions({[e]:t},[e]),this.renderId++}}};return n}function h_(n){const e={};for(const t in n)e[p_(t)]=n[t];return e}function p_(n){return n.split("-").map((e,t)=>t?g_(e):e).join("")}function g_(n){return n.charAt(0).toUpperCase()+n.slice(1)}let yf=!1;function m_(n){yf||(yf=!0,n.component("FullCalendar",Cp))}let lo;typeof globalThis!="undefined"?lo=globalThis.Vue:lo=window.Vue;lo&&lo.use({install:m_});class v_ extends Li{constructor(){super(...arguments),this.headerElRef=An()}renderSimpleLayout(e,t){let{props:i,context:s}=this,o=[],a=cf(s.options);return e&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),$(Zd,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},$(dp,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[],sections:o}))}renderHScrollLayout(e,t,i,s){let o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");let{props:a,context:d}=this,f=!a.forPrint&&cf(d.options),g=!a.forPrint&&Ty(d.options),h=[];return e&&h.push({type:"header",key:"header",isSticky:f,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),h.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),g&&h.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Sy}]}),$(Zd,{elClasses:["fc-daygrid"],viewSpec:d.viewSpec},$(o,{liquid:!a.isHeightAuto&&!a.forPrint,forPrint:a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:i,minWidth:s}]}],sections:h}))}}function Ns(n,e){let t=[];for(let i=0;i<e;i+=1)t[i]=[];for(let i of n)t[i.row].push(i);return t}function $s(n,e){let t=[];for(let i=0;i<e;i+=1)t[i]=[];for(let i of n)t[i.firstCol].push(i);return t}function wf(n,e){let t=[];if(n){for(let i=0;i<e;i+=1)t[i]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(let i of n.segs)t[i.row].segs.push(i)}else for(let i=0;i<e;i+=1)t[i]=null;return t}const Ap=Ze({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Ep(n){let{display:e}=n.eventRange.ui;return e==="list-item"||e==="auto"&&!n.eventRange.def.allDay&&n.firstCol===n.lastCol&&n.isStart&&n.isEnd}class xp extends He{render(){let{props:e}=this;return $(ky,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Ap,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class Sp extends He{render(){let{props:e,context:t}=this,{options:i}=t,{seg:s}=e,o=i.eventTimeFormat||Ap,a=ep(s,o,t,!0,e.defaultDisplayEventEnd);return $(Jl,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:tp(e.seg,t),defaultGenerator:b_,timeText:a,isResizing:!1,isDateSelecting:!1}))}}function b_(n){return $(Fe,null,$("div",{className:"fc-daygrid-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}}),n.timeText&&$("div",{className:"fc-event-time"},n.timeText),$("div",{className:"fc-event-title"},n.event.title||$(Fe,null," ")))}class y_ extends He{constructor(){super(...arguments),this.compileSegs=ye(w_)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:i}=this.compileSegs(e.singlePlacements);return $(zy,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:i,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let s=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return $(Fe,null,t.map(o=>{let a=o.eventRange.instance.instanceId;return $("div",{className:"fc-daygrid-event-harness",key:a,style:{visibility:s[a]?"hidden":""}},Ep(o)?$(Sp,Object.assign({seg:o,isDragging:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},Lr(o,e.todayRange))):$(xp,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},Lr(o,e.todayRange))))}))}})}}function w_(n){let e=[],t=[];for(let i of n)e.push(i.seg),i.isVisible||t.push(i.seg);return{allSegs:e,invisibleSegs:t}}const __=Ze({week:"narrow"});class L_ extends Li{constructor(){super(...arguments),this.rootElRef=An(),this.state={dayNumberId:po()},this.handleRootEl=e=>{En(this.rootElRef,e),En(this.props.elRef,e)}}render(){let{context:e,props:t,state:i,rootElRef:s}=this,{options:o,dateEnv:a}=e,{date:d,dateProfile:f}=t;const g=t.showDayNumber&&A_(d,f.currentRange,a);return $(fp,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":i.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:C_,date:d,dateProfile:f,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:g,extraRenderProps:t.extraRenderProps},(h,y)=>$("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&$($y,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:Tl(e,d,"week"),date:d,defaultFormat:__}),!y.isDisabled&&(t.showDayNumber||hp(o)||t.forceDayTop)?$("div",{className:"fc-daygrid-day-top"},$(h,{elTag:"a",elClasses:["fc-daygrid-day-number",g&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},Tl(e,d)),{id:i.dayNumberId})})):t.showDayNumber?$("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},$("a",{className:"fc-daygrid-day-number"}," ")):void 0,$("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,$("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},$(y_,{allDayDate:d,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:s,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),$("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function C_(n){return n.dayNumberText||$(Fe,null," ")}function A_(n,e,t){const{start:i,end:s}=e,o=Fn(s,-1),a=t.getYear(i),d=t.getMonth(i),f=t.getYear(o),g=t.getMonth(o);return!(a===f&&d===g)&&(n.valueOf()===i.valueOf()||t.getDay(n)===1&&n.valueOf()<s.valueOf())}function Tp(n){return n.eventRange.instance.instanceId+":"+n.firstCol}function Dp(n){return Tp(n)+":"+n.lastCol}function E_(n,e,t,i,s,o,a){let d=new T_(D=>{let M=n[D.index].eventRange.instance.instanceId+":"+D.span.start+":"+(D.span.end-1);return s[M]||1});d.allowReslicing=!0,d.strictOrder=i,e===!0||t===!0?(d.maxCoord=o,d.hiddenConsumes=!0):typeof e=="number"?d.maxStackCnt=e:typeof t=="number"&&(d.maxStackCnt=t,d.hiddenConsumes=!0);let f=[],g=[];for(let D=0;D<n.length;D+=1){let M=n[D],F=Dp(M);s[F]!=null?f.push({index:D,span:{start:M.firstCol,end:M.lastCol+1}}):g.push(M)}let h=d.addSegs(f),y=d.toRects(),{singleColPlacements:w,multiColPlacements:v,leftoverMargins:C}=x_(y,n,a),x=[],S=[];for(let D of g){v[D.firstCol].push({seg:D,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let M=D.firstCol;M<=D.lastCol;M+=1)w[M].push({seg:Ui(D,M,M+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let D=0;D<a.length;D+=1)x.push(0);for(let D of h){let M=n[D.index],F=D.span;v[F.start].push({seg:Ui(M,F.start,F.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let E=F.start;E<F.end;E+=1)x[E]+=1,w[E].push({seg:Ui(M,E,E+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let D=0;D<a.length;D+=1)S.push(C[D]);return{singleColPlacements:w,multiColPlacements:v,moreCnts:x,moreMarginTops:S}}function x_(n,e,t){let i=S_(n,t.length),s=[],o=[],a=[];for(let d=0;d<t.length;d+=1){let f=i[d],g=[],h=0,y=0;for(let v of f){let C=e[v.index];g.push({seg:Ui(C,d,d+1,t),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:v.levelCoord-h}),h=v.levelCoord+v.thickness}let w=[];h=0,y=0;for(let v of f){let C=e[v.index],x=v.span.end-v.span.start>1,S=v.span.start===d;y+=v.levelCoord-h,h=v.levelCoord+v.thickness,x?(y+=v.thickness,S&&w.push({seg:Ui(C,v.span.start,v.span.end,t),isVisible:!0,isAbsolute:!0,absoluteTop:v.levelCoord,marginTop:0})):S&&(w.push({seg:Ui(C,v.span.start,v.span.end,t),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:y}),y=0)}s.push(g),o.push(w),a.push(y)}return{singleColPlacements:s,multiColPlacements:o,leftoverMargins:a}}function S_(n,e){let t=[];for(let i=0;i<e;i+=1)t.push([]);for(let i of n)for(let s=i.span.start;s<i.span.end;s+=1)t[s].push(i);return t}function Ui(n,e,t,i){if(n.firstCol===e&&n.lastCol===t-1)return n;let s=n.eventRange,o=s.range,a=qi(o,{start:i[e].date,end:nt(i[t-1].date,1)});return Object.assign(Object.assign({},n),{firstCol:e,lastCol:t-1,eventRange:{def:s.def,ui:Object.assign(Object.assign({},s.ui),{durationEditable:!1}),instance:s.instance,range:a},isStart:n.isStart&&a.start.valueOf()===o.start.valueOf(),isEnd:n.isEnd&&a.end.valueOf()===o.end.valueOf()})}class T_ extends ay{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const t=super.addSegs(e),{entriesByLevel:i}=this,s=o=>!this.forceHidden[Cr(o)];for(let o=0;o<i.length;o+=1)i[o]=i[o].filter(s);return t}handleInvalidInsertion(e,t,i){const{entriesByLevel:s,forceHidden:o}=this,{touchingEntry:a,touchingLevel:d,touchingLateral:f}=e;if(this.hiddenConsumes&&a){const g=Cr(a);if(!o[g])if(this.allowReslicing){const h=Object.assign(Object.assign({},a),{span:ap(a.span,t.span)}),y=Cr(h);o[y]=!0,s[d][f]=h,i.push(h),this.splitEntry(a,t,i)}else o[g]=!0,i.push(a)}super.handleInvalidInsertion(e,t,i)}}class kp extends Li{constructor(){super(...arguments),this.cellElRefs=new pi,this.frameElRefs=new pi,this.fgElRefs=new pi,this.segHarnessRefs=new pi,this.rootElRef=An(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:i}=this,{options:s}=i,o=e.cells.length,a=$s(e.businessHourSegs,o),d=$s(e.bgEventSegs,o),f=$s(this.getHighlightSegs(),o),g=$s(this.getMirrorSegs(),o),{singleColPlacements:h,multiColPlacements:y,moreCnts:w,moreMarginTops:v}=E_(Ib(e.fgEventSegs,s.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,s.eventOrderStrict,t.segHeights,t.maxContentHeight,e.cells),C=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return $("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((x,S)=>{let D=this.renderFgSegs(S,e.forPrint?h[S]:y[S],e.todayRange,C),M=this.renderFgSegs(S,D_(g[S],y),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return $(L_,{key:x.key,elRef:this.cellElRefs.createRef(x.key),innerElRef:this.frameElRefs.createRef(x.key),dateProfile:e.dateProfile,date:x.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&S===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:x.extraRenderProps,extraDataAttrs:x.extraDataAttrs,extraClassNames:x.extraClassNames,extraDateSpan:x.extraDateSpan,moreCnt:w[S],moreMarginTop:v[S],singlePlacements:h[S],fgContentElRef:this.fgElRefs.createRef(x.key),fgContent:$(Fe,null,$(Fe,null,D),$(Fe,null,M)),bgContent:$(Fe,null,this.renderFillSegs(f[S],"highlight"),this.renderFillSegs(a[S],"non-business"),this.renderFillSegs(d[S],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let i=this.props;this.updateSizing(!rn(e,i))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,i,s,o,a,d){let{context:f}=this,{eventSelection:g}=this.props,{framePositions:h}=this.state,y=this.props.cells.length===1,w=o||a||d,v=[];if(h)for(let C of t){let{seg:x}=C,{instanceId:S}=x.eventRange.instance,D=C.isVisible&&!s[S],M=C.isAbsolute,F="",E="";M&&(f.isRtl?(E=0,F=h.lefts[x.lastCol]-h.lefts[x.firstCol]):(F=0,E=h.rights[x.firstCol]-h.rights[x.lastCol])),v.push($("div",{className:"fc-daygrid-event-harness"+(M?" fc-daygrid-event-harness-abs":""),key:Tp(x),ref:w?null:this.segHarnessRefs.createRef(Dp(x)),style:{visibility:D?"":"hidden",marginTop:M?"":C.marginTop,top:M?C.absoluteTop:"",left:F,right:E}},Ep(x)?$(Sp,Object.assign({seg:x,isDragging:o,isSelected:S===g,defaultDisplayEventEnd:y},Lr(x,i))):$(xp,Object.assign({seg:x,isDragging:o,isResizing:a,isDateSelecting:d,isSelected:S===g,defaultDisplayEventEnd:y},Lr(x,i)))))}return v}renderFillSegs(e,t){let{isRtl:i}=this.context,{todayRange:s}=this.props,{framePositions:o}=this.state,a=[];if(o)for(let d of e){let f=i?{right:0,left:o.lefts[d.lastCol]-o.lefts[d.firstCol]}:{left:0,right:o.rights[d.firstCol]-o.rights[d.lastCol]};a.push($("div",{key:zb(d.eventRange),className:"fc-daygrid-bg-harness",style:f},t==="bg-event"?$(Py,Object.assign({seg:d},Lr(d,s))):Ny(t)))}return $(Fe,{},...a)}updateSizing(e){let{props:t,state:i,frameElRefs:s}=this;if(!t.forPrint&&t.clientWidth!==null){if(e){let f=t.cells.map(g=>s.currentMap[g.key]);if(f.length){let g=this.rootElRef.current,h=new ao(g,f,!0,!1);(!i.framePositions||!i.framePositions.similarTo(h))&&this.setState({framePositions:new ao(g,f,!0,!1)})}}const o=this.state.segHeights,a=this.querySegHeights(),d=t.dayMaxEvents===!0||t.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},o),a),maxContentHeight:d?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let i in e){let s=Math.round(e[i].getBoundingClientRect().height);t[i]=Math.max(t[i]||0,s)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],i=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-i.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}}kp.addStateEquality({segHeights:rn});function D_(n,e){if(!n.length)return[];let t=k_(e);return n.map(i=>({seg:i,isVisible:!0,isAbsolute:!0,absoluteTop:t[i.eventRange.instance.instanceId],marginTop:0}))}function k_(n){let e={};for(let t of n)for(let i of t)e[i.seg.eventRange.instance.instanceId]=i.absoluteTop;return e}class O_ extends Li{constructor(){super(...arguments),this.splitBusinessHourSegs=ye(Ns),this.splitBgEventSegs=ye(Ns),this.splitFgEventSegs=ye(Ns),this.splitDateSelectionSegs=ye(Ns),this.splitEventDrag=ye(wf),this.splitEventResize=ye(wf),this.rowRefs=new pi}render(){let{props:e,context:t}=this,i=e.cells.length,s=this.splitBusinessHourSegs(e.businessHourSegs,i),o=this.splitBgEventSegs(e.bgEventSegs,i),a=this.splitFgEventSegs(e.fgEventSegs,i),d=this.splitDateSelectionSegs(e.dateSelectionSegs,i),f=this.splitEventDrag(e.eventDrag,i),g=this.splitEventResize(e.eventResize,i),h=i>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return $(Xl,{unit:"day"},(y,w)=>$(Fe,null,e.cells.map((v,C)=>$(kp,{ref:this.rowRefs.createRef(C),key:v.length?v[0].date.toISOString():C,showDayNumbers:i>1,showWeekNumbers:e.showWeekNumbers,todayRange:w,dateProfile:e.dateProfile,cells:v,renderIntro:e.renderRowIntro,businessHourSegs:s[C],eventSelection:e.eventSelection,bgEventSegs:o[C].filter(R_),fgEventSegs:a[C],dateSelectionSegs:d[C],eventDrag:f[C],eventResize:g[C],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:h,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new ao(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new ao(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:i,rowPositions:s}=this,o=i.leftToIndex(e),a=s.topToIndex(t);if(a!=null&&o!=null){let d=this.props.cells[a][o];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(a,o),allDay:!0},d.extraDateSpan),dayEl:this.getCellEl(a,o),rect:{left:i.lefts[o],right:i.rights[o],top:s.tops[a],bottom:s.bottoms[a]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let i=this.props.cells[e][t].date,s=nt(i,1);return{start:i,end:s}}}function R_(n){return n.eventRange.def.allDay}class M_ extends Li{constructor(){super(...arguments),this.elRef=An(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:i,expandRows:s}=e,o=i===!0||t===!0;o&&!s&&(o=!1,t=null,i=null);let a=["fc-daygrid-body",o?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",s?"":"fc-daygrid-body-natural"];return $("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},$("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:s?e.clientHeight:""}},e.colGroupNode,$("tbody",{role:"presentation"},$(O_,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:i,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=P_(this.elRef.current,this.props.dateProfile);if(e){const t=e.closest(".fc-daygrid-body"),i=t.closest(".fc-scroller"),s=e.getBoundingClientRect().top-t.getBoundingClientRect().top;i.scrollTop=s?s+1:0}this.needsScrollReset=!1}}}function P_(n,e){let t;return e.currentRangeUnit.match(/year|month/)&&(t=n.querySelector(`[data-date="${v1(e.currentDate)}-01"]`)),t||(t=n.querySelector(`[data-date="${Hl(e.currentDate)}"]`)),t}class I_ extends my{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class N_ extends Li{constructor(){super(...arguments),this.slicer=new I_,this.tableRef=An()}render(){let{props:e,context:t}=this;return $(M_,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class $_ extends v_{constructor(){super(...arguments),this.buildDayTableModel=ye(j_),this.headerRef=An(),this.tableRef=An()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:i}=this,s=this.buildDayTableModel(i.dateProfile,t),o=e.dayHeaders&&$(fy,{ref:this.headerRef,dateProfile:i.dateProfile,dates:s.headerDates,datesRepDistinctDays:s.rowCnt===1}),a=d=>$(N_,{ref:this.tableRef,dateProfile:i.dateProfile,dayTableModel:s,businessHours:i.businessHours,dateSelection:i.dateSelection,eventStore:i.eventStore,eventUiBases:i.eventUiBases,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:d.tableColGroupNode,tableMinWidth:d.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!i.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:d.clientWidth,clientHeight:d.clientHeight,forPrint:i.forPrint});return e.dayMinWidth?this.renderHScrollLayout(o,a,s.colCnt,e.dayMinWidth):this.renderSimpleLayout(o,a)}}function j_(n,e){let t=new py(n.renderRange,e);return new gy(t,/year|month|week/.test(n.currentRangeUnit))}class H_ extends Vh{buildRenderRange(e,t,i){let s=super.buildRenderRange(e,t,i),{props:o}=this;return B_({currentRange:s,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:o.fixedWeekCount,dateEnv:o.dateEnv})}}function B_(n){let{dateEnv:e,currentRange:t}=n,{start:i,end:s}=t,o;if(n.snapToWeek&&(i=e.startOfWeek(i),o=e.startOfWeek(s),o.valueOf()!==s.valueOf()&&(s=Bd(o,1))),n.fixedWeekCount){let a=e.startOfWeek(e.startOfMonth(nt(t.end,-1))),d=Math.ceil(s1(a,s));s=Bd(s,6-d)}return{start:i,end:s}}var z_=':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';Sh(z_);var F_=Ci({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:$_,dateProfileGeneratorClass:H_},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}}),pt="top",It="bottom",Nt="right",gt="left",ec="auto",jr=[pt,It,Nt,gt],Zi="start",Rr="end",V_="clippingParents",Op="viewport",vr="popper",W_="reference",_f=jr.reduce(function(n,e){return n.concat([e+"-"+Zi,e+"-"+Rr])},[]),Rp=[].concat(jr,[ec]).reduce(function(n,e){return n.concat([e,e+"-"+Zi,e+"-"+Rr])},[]),U_="beforeRead",G_="read",Y_="afterRead",q_="beforeMain",Z_="main",Q_="afterMain",X_="beforeWrite",J_="write",K_="afterWrite",e5=[U_,G_,Y_,q_,Z_,Q_,X_,J_,K_];function sn(n){return n?(n.nodeName||"").toLowerCase():null}function Ct(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function bi(n){var e=Ct(n).Element;return n instanceof e||n instanceof Element}function Pt(n){var e=Ct(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function tc(n){if(typeof ShadowRoot=="undefined")return!1;var e=Ct(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function t5(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},s=e.attributes[t]||{},o=e.elements[t];!Pt(o)||!sn(o)||(Object.assign(o.style,i),Object.keys(s).forEach(function(a){var d=s[a];d===!1?o.removeAttribute(a):o.setAttribute(a,d===!0?"":d)}))})}function n5(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var s=e.elements[i],o=e.attributes[i]||{},a=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),d=a.reduce(function(f,g){return f[g]="",f},{});!Pt(s)||!sn(s)||(Object.assign(s.style,d),Object.keys(o).forEach(function(f){s.removeAttribute(f)}))})}}const Mp={name:"applyStyles",enabled:!0,phase:"write",fn:t5,effect:n5,requires:["computeStyles"]};function nn(n){return n.split("-")[0]}var mi=Math.max,co=Math.min,Qi=Math.round;function kl(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Pp(){return!/^((?!chrome|android).)*safari/i.test(kl())}function Xi(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),s=1,o=1;e&&Pt(n)&&(s=n.offsetWidth>0&&Qi(i.width)/n.offsetWidth||1,o=n.offsetHeight>0&&Qi(i.height)/n.offsetHeight||1);var a=bi(n)?Ct(n):window,d=a.visualViewport,f=!Pp()&&t,g=(i.left+(f&&d?d.offsetLeft:0))/s,h=(i.top+(f&&d?d.offsetTop:0))/o,y=i.width/s,w=i.height/o;return{width:y,height:w,top:h,right:g+y,bottom:h+w,left:g,x:g,y:h}}function nc(n){var e=Xi(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Ip(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&tc(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function xn(n){return Ct(n).getComputedStyle(n)}function i5(n){return["table","td","th"].indexOf(sn(n))>=0}function Wn(n){return((bi(n)?n.ownerDocument:n.document)||window.document).documentElement}function go(n){return sn(n)==="html"?n:n.assignedSlot||n.parentNode||(tc(n)?n.host:null)||Wn(n)}function Lf(n){return!Pt(n)||xn(n).position==="fixed"?null:n.offsetParent}function r5(n){var e=/firefox/i.test(kl()),t=/Trident/i.test(kl());if(t&&Pt(n)){var i=xn(n);if(i.position==="fixed")return null}var s=go(n);for(tc(s)&&(s=s.host);Pt(s)&&["html","body"].indexOf(sn(s))<0;){var o=xn(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function Hr(n){for(var e=Ct(n),t=Lf(n);t&&i5(t)&&xn(t).position==="static";)t=Lf(t);return t&&(sn(t)==="html"||sn(t)==="body"&&xn(t).position==="static")?e:t||r5(n)||e}function ic(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ar(n,e,t){return mi(n,co(e,t))}function s5(n,e,t){var i=Ar(n,e,t);return i>t?t:i}function Np(){return{top:0,right:0,bottom:0,left:0}}function $p(n){return Object.assign({},Np(),n)}function jp(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var o5=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,$p(typeof e!="number"?e:jp(e,jr))};function a5(n){var e,t=n.state,i=n.name,s=n.options,o=t.elements.arrow,a=t.modifiersData.popperOffsets,d=nn(t.placement),f=ic(d),g=[gt,Nt].indexOf(d)>=0,h=g?"height":"width";if(!(!o||!a)){var y=o5(s.padding,t),w=nc(o),v=f==="y"?pt:gt,C=f==="y"?It:Nt,x=t.rects.reference[h]+t.rects.reference[f]-a[f]-t.rects.popper[h],S=a[f]-t.rects.reference[f],D=Hr(o),M=D?f==="y"?D.clientHeight||0:D.clientWidth||0:0,F=x/2-S/2,E=y[v],J=M-w[h]-y[C],V=M/2-w[h]/2+F,G=Ar(E,V,J),Q=f;t.modifiersData[i]=(e={},e[Q]=G,e.centerOffset=G-V,e)}}function l5(n){var e=n.state,t=n.options,i=t.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||Ip(e.elements.popper,s)&&(e.elements.arrow=s))}const c5={name:"arrow",enabled:!0,phase:"main",fn:a5,effect:l5,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ji(n){return n.split("-")[1]}var u5={top:"auto",right:"auto",bottom:"auto",left:"auto"};function d5(n,e){var t=n.x,i=n.y,s=e.devicePixelRatio||1;return{x:Qi(t*s)/s||0,y:Qi(i*s)/s||0}}function Cf(n){var e,t=n.popper,i=n.popperRect,s=n.placement,o=n.variation,a=n.offsets,d=n.position,f=n.gpuAcceleration,g=n.adaptive,h=n.roundOffsets,y=n.isFixed,w=a.x,v=w===void 0?0:w,C=a.y,x=C===void 0?0:C,S=typeof h=="function"?h({x:v,y:x}):{x:v,y:x};v=S.x,x=S.y;var D=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),F=gt,E=pt,J=window;if(g){var V=Hr(t),G="clientHeight",Q="clientWidth";if(V===Ct(t)&&(V=Wn(t),xn(V).position!=="static"&&d==="absolute"&&(G="scrollHeight",Q="scrollWidth")),V=V,s===pt||(s===gt||s===Nt)&&o===Rr){E=It;var Ce=y&&V===J&&J.visualViewport?J.visualViewport.height:V[G];x-=Ce-i.height,x*=f?1:-1}if(s===gt||(s===pt||s===It)&&o===Rr){F=Nt;var ce=y&&V===J&&J.visualViewport?J.visualViewport.width:V[Q];v-=ce-i.width,v*=f?1:-1}}var De=Object.assign({position:d},g&&u5),xe=h===!0?d5({x:v,y:x},Ct(t)):{x:v,y:x};if(v=xe.x,x=xe.y,f){var re;return Object.assign({},De,(re={},re[E]=M?"0":"",re[F]=D?"0":"",re.transform=(J.devicePixelRatio||1)<=1?"translate("+v+"px, "+x+"px)":"translate3d("+v+"px, "+x+"px, 0)",re))}return Object.assign({},De,(e={},e[E]=M?x+"px":"",e[F]=D?v+"px":"",e.transform="",e))}function f5(n){var e=n.state,t=n.options,i=t.gpuAcceleration,s=i===void 0?!0:i,o=t.adaptive,a=o===void 0?!0:o,d=t.roundOffsets,f=d===void 0?!0:d,g={placement:nn(e.placement),variation:Ji(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Cf(Object.assign({},g,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:f})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Cf(Object.assign({},g,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const h5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:f5,data:{}};var js={passive:!0};function p5(n){var e=n.state,t=n.instance,i=n.options,s=i.scroll,o=s===void 0?!0:s,a=i.resize,d=a===void 0?!0:a,f=Ct(e.elements.popper),g=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&g.forEach(function(h){h.addEventListener("scroll",t.update,js)}),d&&f.addEventListener("resize",t.update,js),function(){o&&g.forEach(function(h){h.removeEventListener("scroll",t.update,js)}),d&&f.removeEventListener("resize",t.update,js)}}const g5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:p5,data:{}};var m5={left:"right",right:"left",bottom:"top",top:"bottom"};function Gs(n){return n.replace(/left|right|bottom|top/g,function(e){return m5[e]})}var v5={start:"end",end:"start"};function Af(n){return n.replace(/start|end/g,function(e){return v5[e]})}function rc(n){var e=Ct(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function sc(n){return Xi(Wn(n)).left+rc(n).scrollLeft}function b5(n,e){var t=Ct(n),i=Wn(n),s=t.visualViewport,o=i.clientWidth,a=i.clientHeight,d=0,f=0;if(s){o=s.width,a=s.height;var g=Pp();(g||!g&&e==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}return{width:o,height:a,x:d+sc(n),y:f}}function y5(n){var e,t=Wn(n),i=rc(n),s=(e=n.ownerDocument)==null?void 0:e.body,o=mi(t.scrollWidth,t.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=mi(t.scrollHeight,t.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),d=-i.scrollLeft+sc(n),f=-i.scrollTop;return xn(s||t).direction==="rtl"&&(d+=mi(t.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:d,y:f}}function oc(n){var e=xn(n),t=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+s+i)}function Hp(n){return["html","body","#document"].indexOf(sn(n))>=0?n.ownerDocument.body:Pt(n)&&oc(n)?n:Hp(go(n))}function Er(n,e){var t;e===void 0&&(e=[]);var i=Hp(n),s=i===((t=n.ownerDocument)==null?void 0:t.body),o=Ct(i),a=s?[o].concat(o.visualViewport||[],oc(i)?i:[]):i,d=e.concat(a);return s?d:d.concat(Er(go(a)))}function Ol(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function w5(n,e){var t=Xi(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Ef(n,e,t){return e===Op?Ol(b5(n,t)):bi(e)?w5(e,t):Ol(y5(Wn(n)))}function _5(n){var e=Er(go(n)),t=["absolute","fixed"].indexOf(xn(n).position)>=0,i=t&&Pt(n)?Hr(n):n;return bi(i)?e.filter(function(s){return bi(s)&&Ip(s,i)&&sn(s)!=="body"}):[]}function L5(n,e,t,i){var s=e==="clippingParents"?_5(n):[].concat(e),o=[].concat(s,[t]),a=o[0],d=o.reduce(function(f,g){var h=Ef(n,g,i);return f.top=mi(h.top,f.top),f.right=co(h.right,f.right),f.bottom=co(h.bottom,f.bottom),f.left=mi(h.left,f.left),f},Ef(n,a,i));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function Bp(n){var e=n.reference,t=n.element,i=n.placement,s=i?nn(i):null,o=i?Ji(i):null,a=e.x+e.width/2-t.width/2,d=e.y+e.height/2-t.height/2,f;switch(s){case pt:f={x:a,y:e.y-t.height};break;case It:f={x:a,y:e.y+e.height};break;case Nt:f={x:e.x+e.width,y:d};break;case gt:f={x:e.x-t.width,y:d};break;default:f={x:e.x,y:e.y}}var g=s?ic(s):null;if(g!=null){var h=g==="y"?"height":"width";switch(o){case Zi:f[g]=f[g]-(e[h]/2-t[h]/2);break;case Rr:f[g]=f[g]+(e[h]/2-t[h]/2);break}}return f}function Mr(n,e){e===void 0&&(e={});var t=e,i=t.placement,s=i===void 0?n.placement:i,o=t.strategy,a=o===void 0?n.strategy:o,d=t.boundary,f=d===void 0?V_:d,g=t.rootBoundary,h=g===void 0?Op:g,y=t.elementContext,w=y===void 0?vr:y,v=t.altBoundary,C=v===void 0?!1:v,x=t.padding,S=x===void 0?0:x,D=$p(typeof S!="number"?S:jp(S,jr)),M=w===vr?W_:vr,F=n.rects.popper,E=n.elements[C?M:w],J=L5(bi(E)?E:E.contextElement||Wn(n.elements.popper),f,h,a),V=Xi(n.elements.reference),G=Bp({reference:V,element:F,strategy:"absolute",placement:s}),Q=Ol(Object.assign({},F,G)),Ce=w===vr?Q:V,ce={top:J.top-Ce.top+D.top,bottom:Ce.bottom-J.bottom+D.bottom,left:J.left-Ce.left+D.left,right:Ce.right-J.right+D.right},De=n.modifiersData.offset;if(w===vr&&De){var xe=De[s];Object.keys(ce).forEach(function(re){var ke=[Nt,It].indexOf(re)>=0?1:-1,Ue=[pt,It].indexOf(re)>=0?"y":"x";ce[re]+=xe[Ue]*ke})}return ce}function C5(n,e){e===void 0&&(e={});var t=e,i=t.placement,s=t.boundary,o=t.rootBoundary,a=t.padding,d=t.flipVariations,f=t.allowedAutoPlacements,g=f===void 0?Rp:f,h=Ji(i),y=h?d?_f:_f.filter(function(C){return Ji(C)===h}):jr,w=y.filter(function(C){return g.indexOf(C)>=0});w.length===0&&(w=y);var v=w.reduce(function(C,x){return C[x]=Mr(n,{placement:x,boundary:s,rootBoundary:o,padding:a})[nn(x)],C},{});return Object.keys(v).sort(function(C,x){return v[C]-v[x]})}function A5(n){if(nn(n)===ec)return[];var e=Gs(n);return[Af(n),e,Af(e)]}function E5(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var s=t.mainAxis,o=s===void 0?!0:s,a=t.altAxis,d=a===void 0?!0:a,f=t.fallbackPlacements,g=t.padding,h=t.boundary,y=t.rootBoundary,w=t.altBoundary,v=t.flipVariations,C=v===void 0?!0:v,x=t.allowedAutoPlacements,S=e.options.placement,D=nn(S),M=D===S,F=f||(M||!C?[Gs(S)]:A5(S)),E=[S].concat(F).reduce(function(bt,st){return bt.concat(nn(st)===ec?C5(e,{placement:st,boundary:h,rootBoundary:y,padding:g,flipVariations:C,allowedAutoPlacements:x}):st)},[]),J=e.rects.reference,V=e.rects.popper,G=new Map,Q=!0,Ce=E[0],ce=0;ce<E.length;ce++){var De=E[ce],xe=nn(De),re=Ji(De)===Zi,ke=[pt,It].indexOf(xe)>=0,Ue=ke?"width":"height",ne=Mr(e,{placement:De,boundary:h,rootBoundary:y,altBoundary:w,padding:g}),Be=ke?re?Nt:gt:re?It:pt;J[Ue]>V[Ue]&&(Be=Gs(Be));var oe=Gs(Be),Oe=[];if(o&&Oe.push(ne[xe]<=0),d&&Oe.push(ne[Be]<=0,ne[oe]<=0),Oe.every(function(bt){return bt})){Ce=De,Q=!1;break}G.set(De,Oe)}if(Q)for(var mt=C?3:1,it=function(st){var ot=E.find(function(on){var Qe=G.get(on);if(Qe)return Qe.slice(0,st).every(function(an){return an})});if(ot)return Ce=ot,"break"},vt=mt;vt>0;vt--){var At=it(vt);if(At==="break")break}e.placement!==Ce&&(e.modifiersData[i]._skip=!0,e.placement=Ce,e.reset=!0)}}const x5={name:"flip",enabled:!0,phase:"main",fn:E5,requiresIfExists:["offset"],data:{_skip:!1}};function xf(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function Sf(n){return[pt,Nt,It,gt].some(function(e){return n[e]>=0})}function S5(n){var e=n.state,t=n.name,i=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,a=Mr(e,{elementContext:"reference"}),d=Mr(e,{altBoundary:!0}),f=xf(a,i),g=xf(d,s,o),h=Sf(f),y=Sf(g);e.modifiersData[t]={referenceClippingOffsets:f,popperEscapeOffsets:g,isReferenceHidden:h,hasPopperEscaped:y},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":y})}const T5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:S5};function D5(n,e,t){var i=nn(n),s=[gt,pt].indexOf(i)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,a=o[0],d=o[1];return a=a||0,d=(d||0)*s,[gt,Nt].indexOf(i)>=0?{x:d,y:a}:{x:a,y:d}}function k5(n){var e=n.state,t=n.options,i=n.name,s=t.offset,o=s===void 0?[0,0]:s,a=Rp.reduce(function(h,y){return h[y]=D5(y,e.rects,o),h},{}),d=a[e.placement],f=d.x,g=d.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=f,e.modifiersData.popperOffsets.y+=g),e.modifiersData[i]=a}const O5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:k5};function R5(n){var e=n.state,t=n.name;e.modifiersData[t]=Bp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const M5={name:"popperOffsets",enabled:!0,phase:"read",fn:R5,data:{}};function P5(n){return n==="x"?"y":"x"}function I5(n){var e=n.state,t=n.options,i=n.name,s=t.mainAxis,o=s===void 0?!0:s,a=t.altAxis,d=a===void 0?!1:a,f=t.boundary,g=t.rootBoundary,h=t.altBoundary,y=t.padding,w=t.tether,v=w===void 0?!0:w,C=t.tetherOffset,x=C===void 0?0:C,S=Mr(e,{boundary:f,rootBoundary:g,padding:y,altBoundary:h}),D=nn(e.placement),M=Ji(e.placement),F=!M,E=ic(D),J=P5(E),V=e.modifiersData.popperOffsets,G=e.rects.reference,Q=e.rects.popper,Ce=typeof x=="function"?x(Object.assign({},e.rects,{placement:e.placement})):x,ce=typeof Ce=="number"?{mainAxis:Ce,altAxis:Ce}:Object.assign({mainAxis:0,altAxis:0},Ce),De=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,xe={x:0,y:0};if(V){if(o){var re,ke=E==="y"?pt:gt,Ue=E==="y"?It:Nt,ne=E==="y"?"height":"width",Be=V[E],oe=Be+S[ke],Oe=Be-S[Ue],mt=v?-Q[ne]/2:0,it=M===Zi?G[ne]:Q[ne],vt=M===Zi?-Q[ne]:-G[ne],At=e.elements.arrow,bt=v&&At?nc(At):{width:0,height:0},st=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Np(),ot=st[ke],on=st[Ue],Qe=Ar(0,G[ne],bt[ne]),an=F?G[ne]/2-mt-Qe-ot-ce.mainAxis:it-Qe-ot-ce.mainAxis,$t=F?-G[ne]/2+mt+Qe+on+ce.mainAxis:vt+Qe+on+ce.mainAxis,Ee=e.elements.arrow&&Hr(e.elements.arrow),Ai=Ee?E==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,Un=(re=De==null?void 0:De[E])!=null?re:0,ze=Be+an-Un-Ai,Xe=Be+$t-Un,at=Ar(v?co(oe,ze):oe,Be,v?mi(Oe,Xe):Oe);V[E]=at,xe[E]=at-Be}if(d){var Et,Gn=E==="x"?pt:gt,Ei=E==="x"?It:Nt,yt=V[J],jt=J==="y"?"height":"width",ln=yt+S[Gn],Vt=yt-S[Ei],Tn=[pt,gt].indexOf(D)!==-1,lt=(Et=De==null?void 0:De[J])!=null?Et:0,Yn=Tn?ln:yt-G[jt]-Q[jt]-lt+ce.altAxis,Ht=Tn?yt+G[jt]+Q[jt]-lt-ce.altAxis:Vt,cn=v&&Tn?s5(Yn,yt,Ht):Ar(v?Yn:ln,yt,v?Ht:Vt);V[J]=cn,xe[J]=cn-yt}e.modifiersData[i]=xe}}const N5={name:"preventOverflow",enabled:!0,phase:"main",fn:I5,requiresIfExists:["offset"]};function $5(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function j5(n){return n===Ct(n)||!Pt(n)?rc(n):$5(n)}function H5(n){var e=n.getBoundingClientRect(),t=Qi(e.width)/n.offsetWidth||1,i=Qi(e.height)/n.offsetHeight||1;return t!==1||i!==1}function B5(n,e,t){t===void 0&&(t=!1);var i=Pt(e),s=Pt(e)&&H5(e),o=Wn(e),a=Xi(n,s,t),d={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!t)&&((sn(e)!=="body"||oc(o))&&(d=j5(e)),Pt(e)?(f=Xi(e,!0),f.x+=e.clientLeft,f.y+=e.clientTop):o&&(f.x=sc(o))),{x:a.left+d.scrollLeft-f.x,y:a.top+d.scrollTop-f.y,width:a.width,height:a.height}}function z5(n){var e=new Map,t=new Set,i=[];n.forEach(function(o){e.set(o.name,o)});function s(o){t.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(d){if(!t.has(d)){var f=e.get(d);f&&s(f)}}),i.push(o)}return n.forEach(function(o){t.has(o.name)||s(o)}),i}function F5(n){var e=z5(n);return e5.reduce(function(t,i){return t.concat(e.filter(function(s){return s.phase===i}))},[])}function V5(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function W5(n){var e=n.reduce(function(t,i){var s=t[i.name];return t[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var Tf={placement:"bottom",modifiers:[],strategy:"absolute"};function Df(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function U5(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,s=e.defaultOptions,o=s===void 0?Tf:s;return function(d,f,g){g===void 0&&(g=o);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tf,o),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},y=[],w=!1,v={state:h,setOptions:function(D){var M=typeof D=="function"?D(h.options):D;x(),h.options=Object.assign({},o,h.options,M),h.scrollParents={reference:bi(d)?Er(d):d.contextElement?Er(d.contextElement):[],popper:Er(f)};var F=F5(W5([].concat(i,h.options.modifiers)));return h.orderedModifiers=F.filter(function(E){return E.enabled}),C(),v.update()},forceUpdate:function(){if(!w){var D=h.elements,M=D.reference,F=D.popper;if(Df(M,F)){h.rects={reference:B5(M,Hr(F),h.options.strategy==="fixed"),popper:nc(F)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(ce){return h.modifiersData[ce.name]=Object.assign({},ce.data)});for(var E=0;E<h.orderedModifiers.length;E++){if(h.reset===!0){h.reset=!1,E=-1;continue}var J=h.orderedModifiers[E],V=J.fn,G=J.options,Q=G===void 0?{}:G,Ce=J.name;typeof V=="function"&&(h=V({state:h,options:Q,name:Ce,instance:v})||h)}}}},update:V5(function(){return new Promise(function(S){v.forceUpdate(),S(h)})}),destroy:function(){x(),w=!0}};if(!Df(d,f))return v;v.setOptions(g).then(function(S){!w&&g.onFirstUpdate&&g.onFirstUpdate(S)});function C(){h.orderedModifiers.forEach(function(S){var D=S.name,M=S.options,F=M===void 0?{}:M,E=S.effect;if(typeof E=="function"){var J=E({state:h,name:D,instance:v,options:F}),V=function(){};y.push(J||V)}})}function x(){y.forEach(function(S){return S()}),y=[]}return v}}var G5=[g5,M5,h5,Mp,O5,x5,N5,c5,T5],Y5=U5({defaultModifiers:G5}),q5="tippy-box",zp="tippy-content",Z5="tippy-backdrop",Fp="tippy-arrow",Vp="tippy-svg-arrow",ci={passive:!0,capture:!0},Wp=function(){return document.body};function dl(n,e,t){if(Array.isArray(n)){var i=n[e];return i==null?Array.isArray(t)?t[e]:t:i}return n}function ac(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function Up(n,e){return typeof n=="function"?n.apply(void 0,e):n}function kf(n,e){if(e===0)return n;var t;return function(i){clearTimeout(t),t=setTimeout(function(){n(i)},e)}}function Q5(n){return n.split(/\s+/).filter(Boolean)}function Vi(n){return[].concat(n)}function Of(n,e){n.indexOf(e)===-1&&n.push(e)}function X5(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function J5(n){return n.split("-")[0]}function uo(n){return[].slice.call(n)}function Rf(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function xr(){return document.createElement("div")}function mo(n){return["Element","Fragment"].some(function(e){return ac(n,e)})}function K5(n){return ac(n,"NodeList")}function e4(n){return ac(n,"MouseEvent")}function t4(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function n4(n){return mo(n)?[n]:K5(n)?uo(n):Array.isArray(n)?n:uo(document.querySelectorAll(n))}function fl(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function Mf(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function i4(n){var e,t=Vi(n),i=t[0];return i!=null&&(e=i.ownerDocument)!=null&&e.body?i.ownerDocument:document}function r4(n,e){var t=e.clientX,i=e.clientY;return n.every(function(s){var o=s.popperRect,a=s.popperState,d=s.props,f=d.interactiveBorder,g=J5(a.placement),h=a.modifiersData.offset;if(!h)return!0;var y=g==="bottom"?h.top.y:0,w=g==="top"?h.bottom.y:0,v=g==="right"?h.left.x:0,C=g==="left"?h.right.x:0,x=o.top-i+y>f,S=i-o.bottom-w>f,D=o.left-t+v>f,M=t-o.right-C>f;return x||S||D||M})}function hl(n,e,t){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(s){n[i](s,t)})}function Pf(n,e){for(var t=e;t;){var i;if(n.contains(t))return!0;t=t.getRootNode==null||(i=t.getRootNode())==null?void 0:i.host}return!1}var Kt={isTouch:!1},If=0;function s4(){Kt.isTouch||(Kt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Gp))}function Gp(){var n=performance.now();n-If<20&&(Kt.isTouch=!1,document.removeEventListener("mousemove",Gp)),If=n}function o4(){var n=document.activeElement;if(t4(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function a4(){document.addEventListener("touchstart",s4,ci),window.addEventListener("blur",o4)}var l4=typeof window!="undefined"&&typeof document!="undefined",c4=l4?!!window.msCrypto:!1,u4={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},d4={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},zt=Object.assign({appendTo:Wp,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},u4,d4),f4=Object.keys(zt),h4=function(e){var t=Object.keys(e);t.forEach(function(i){zt[i]=e[i]})};function Yp(n){var e=n.plugins||[],t=e.reduce(function(i,s){var o=s.name,a=s.defaultValue;if(o){var d;i[o]=n[o]!==void 0?n[o]:(d=zt[o])!=null?d:a}return i},{});return Object.assign({},n,t)}function p4(n,e){var t=e?Object.keys(Yp(Object.assign({},zt,{plugins:e}))):f4,i=t.reduce(function(s,o){var a=(n.getAttribute("data-tippy-"+o)||"").trim();if(!a)return s;if(o==="content")s[o]=a;else try{s[o]=JSON.parse(a)}catch(d){s[o]=a}return s},{});return i}function Nf(n,e){var t=Object.assign({},e,{content:Up(e.content,[n])},e.ignoreAttributes?{}:p4(n,e.plugins));return t.aria=Object.assign({},zt.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}var g4=function(){return"innerHTML"};function Rl(n,e){n[g4()]=e}function $f(n){var e=xr();return n===!0?e.className=Fp:(e.className=Vp,mo(n)?e.appendChild(n):Rl(e,n)),e}function jf(n,e){mo(e.content)?(Rl(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Rl(n,e.content):n.textContent=e.content)}function Ml(n){var e=n.firstElementChild,t=uo(e.children);return{box:e,content:t.find(function(i){return i.classList.contains(zp)}),arrow:t.find(function(i){return i.classList.contains(Fp)||i.classList.contains(Vp)}),backdrop:t.find(function(i){return i.classList.contains(Z5)})}}function qp(n){var e=xr(),t=xr();t.className=q5,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var i=xr();i.className=zp,i.setAttribute("data-state","hidden"),jf(i,n.props),e.appendChild(t),t.appendChild(i),s(n.props,n.props);function s(o,a){var d=Ml(e),f=d.box,g=d.content,h=d.arrow;a.theme?f.setAttribute("data-theme",a.theme):f.removeAttribute("data-theme"),typeof a.animation=="string"?f.setAttribute("data-animation",a.animation):f.removeAttribute("data-animation"),a.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?f.setAttribute("role",a.role):f.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&jf(g,n.props),a.arrow?h?o.arrow!==a.arrow&&(f.removeChild(h),f.appendChild($f(a.arrow))):f.appendChild($f(a.arrow)):h&&f.removeChild(h)}return{popper:e,onUpdate:s}}qp.$$tippy=!0;var m4=1,Hs=[],pl=[];function v4(n,e){var t=Nf(n,Object.assign({},zt,Yp(Rf(e)))),i,s,o,a=!1,d=!1,f=!1,g=!1,h,y,w,v=[],C=kf(ze,t.interactiveDebounce),x,S=m4++,D=null,M=X5(t.plugins),F={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},E={id:S,reference:n,popper:xr(),popperInstance:D,props:t,state:F,plugins:M,clearDelayTimeouts:Yn,setProps:Ht,setContent:cn,show:qn,hide:Ne,hideWithInteractivity:Wt,enable:Tn,disable:lt,unmount:ct,destroy:un};if(!t.render)return E;var J=t.render(E),V=J.popper,G=J.onUpdate;V.setAttribute("data-tippy-root",""),V.id="tippy-"+E.id,E.popper=V,n._tippy=E,V._tippy=E;var Q=M.map(function(H){return H.fn(E)}),Ce=n.hasAttribute("aria-expanded");return Ee(),mt(),Be(),oe("onCreate",[E]),t.showOnCreate&&ln(),V.addEventListener("mouseenter",function(){E.props.interactive&&E.state.isVisible&&E.clearDelayTimeouts()}),V.addEventListener("mouseleave",function(){E.props.interactive&&E.props.trigger.indexOf("mouseenter")>=0&&ke().addEventListener("mousemove",C)}),E;function ce(){var H=E.props.touch;return Array.isArray(H)?H:[H,0]}function De(){return ce()[0]==="hold"}function xe(){var H;return!!((H=E.props.render)!=null&&H.$$tippy)}function re(){return x||n}function ke(){var H=re().parentNode;return H?i4(H):document}function Ue(){return Ml(V)}function ne(H){return E.state.isMounted&&!E.state.isVisible||Kt.isTouch||h&&h.type==="focus"?0:dl(E.props.delay,H?0:1,zt.delay)}function Be(H){H===void 0&&(H=!1),V.style.pointerEvents=E.props.interactive&&!H?"":"none",V.style.zIndex=""+E.props.zIndex}function oe(H,X,se){if(se===void 0&&(se=!0),Q.forEach(function(de){de[H]&&de[H].apply(de,X)}),se){var fe;(fe=E.props)[H].apply(fe,X)}}function Oe(){var H=E.props.aria;if(H.content){var X="aria-"+H.content,se=V.id,fe=Vi(E.props.triggerTarget||n);fe.forEach(function(de){var Te=de.getAttribute(X);if(E.state.isVisible)de.setAttribute(X,Te?Te+" "+se:se);else{var Je=Te&&Te.replace(se,"").trim();Je?de.setAttribute(X,Je):de.removeAttribute(X)}})}}function mt(){if(!(Ce||!E.props.aria.expanded)){var H=Vi(E.props.triggerTarget||n);H.forEach(function(X){E.props.interactive?X.setAttribute("aria-expanded",E.state.isVisible&&X===re()?"true":"false"):X.removeAttribute("aria-expanded")})}}function it(){ke().removeEventListener("mousemove",C),Hs=Hs.filter(function(H){return H!==C})}function vt(H){if(!(Kt.isTouch&&(f||H.type==="mousedown"))){var X=H.composedPath&&H.composedPath()[0]||H.target;if(!(E.props.interactive&&Pf(V,X))){if(Vi(E.props.triggerTarget||n).some(function(se){return Pf(se,X)})){if(Kt.isTouch||E.state.isVisible&&E.props.trigger.indexOf("click")>=0)return}else oe("onClickOutside",[E,H]);E.props.hideOnClick===!0&&(E.clearDelayTimeouts(),E.hide(),d=!0,setTimeout(function(){d=!1}),E.state.isMounted||ot())}}}function At(){f=!0}function bt(){f=!1}function st(){var H=ke();H.addEventListener("mousedown",vt,!0),H.addEventListener("touchend",vt,ci),H.addEventListener("touchstart",bt,ci),H.addEventListener("touchmove",At,ci)}function ot(){var H=ke();H.removeEventListener("mousedown",vt,!0),H.removeEventListener("touchend",vt,ci),H.removeEventListener("touchstart",bt,ci),H.removeEventListener("touchmove",At,ci)}function on(H,X){an(H,function(){!E.state.isVisible&&V.parentNode&&V.parentNode.contains(V)&&X()})}function Qe(H,X){an(H,X)}function an(H,X){var se=Ue().box;function fe(de){de.target===se&&(hl(se,"remove",fe),X())}if(H===0)return X();hl(se,"remove",y),hl(se,"add",fe),y=fe}function $t(H,X,se){se===void 0&&(se=!1);var fe=Vi(E.props.triggerTarget||n);fe.forEach(function(de){de.addEventListener(H,X,se),v.push({node:de,eventType:H,handler:X,options:se})})}function Ee(){De()&&($t("touchstart",Un,{passive:!0}),$t("touchend",Xe,{passive:!0})),Q5(E.props.trigger).forEach(function(H){if(H!=="manual")switch($t(H,Un),H){case"mouseenter":$t("mouseleave",Xe);break;case"focus":$t(c4?"focusout":"blur",at);break;case"focusin":$t("focusout",at);break}})}function Ai(){v.forEach(function(H){var X=H.node,se=H.eventType,fe=H.handler,de=H.options;X.removeEventListener(se,fe,de)}),v=[]}function Un(H){var X,se=!1;if(!(!E.state.isEnabled||Et(H)||d)){var fe=((X=h)==null?void 0:X.type)==="focus";h=H,x=H.currentTarget,mt(),!E.state.isVisible&&e4(H)&&Hs.forEach(function(de){return de(H)}),H.type==="click"&&(E.props.trigger.indexOf("mouseenter")<0||a)&&E.props.hideOnClick!==!1&&E.state.isVisible?se=!0:ln(H),H.type==="click"&&(a=!se),se&&!fe&&Vt(H)}}function ze(H){var X=H.target,se=re().contains(X)||V.contains(X);if(!(H.type==="mousemove"&&se)){var fe=jt().concat(V).map(function(de){var Te,Je=de._tippy,wt=(Te=Je.popperInstance)==null?void 0:Te.state;return wt?{popperRect:de.getBoundingClientRect(),popperState:wt,props:t}:null}).filter(Boolean);r4(fe,H)&&(it(),Vt(H))}}function Xe(H){var X=Et(H)||E.props.trigger.indexOf("click")>=0&&a;if(!X){if(E.props.interactive){E.hideWithInteractivity(H);return}Vt(H)}}function at(H){E.props.trigger.indexOf("focusin")<0&&H.target!==re()||E.props.interactive&&H.relatedTarget&&V.contains(H.relatedTarget)||Vt(H)}function Et(H){return Kt.isTouch?De()!==H.type.indexOf("touch")>=0:!1}function Gn(){Ei();var H=E.props,X=H.popperOptions,se=H.placement,fe=H.offset,de=H.getReferenceClientRect,Te=H.moveTransition,Je=xe()?Ml(V).arrow:null,wt=de?{getBoundingClientRect:de,contextElement:de.contextElement||re()}:n,dn={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Zn){var fn=Zn.state;if(xe()){var er=Ue(),xt=er.box;["placement","reference-hidden","escaped"].forEach(function(xi){xi==="placement"?xt.setAttribute("data-placement",fn.placement):fn.attributes.popper["data-popper-"+xi]?xt.setAttribute("data-"+xi,""):xt.removeAttribute("data-"+xi)}),fn.attributes.popper={}}}},Ut=[{name:"offset",options:{offset:fe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Te}},dn];xe()&&Je&&Ut.push({name:"arrow",options:{element:Je,padding:3}}),Ut.push.apply(Ut,(X==null?void 0:X.modifiers)||[]),E.popperInstance=Y5(wt,V,Object.assign({},X,{placement:se,onFirstUpdate:w,modifiers:Ut}))}function Ei(){E.popperInstance&&(E.popperInstance.destroy(),E.popperInstance=null)}function yt(){var H=E.props.appendTo,X,se=re();E.props.interactive&&H===Wp||H==="parent"?X=se.parentNode:X=Up(H,[se]),X.contains(V)||X.appendChild(V),E.state.isMounted=!0,Gn()}function jt(){return uo(V.querySelectorAll("[data-tippy-root]"))}function ln(H){E.clearDelayTimeouts(),H&&oe("onTrigger",[E,H]),st();var X=ne(!0),se=ce(),fe=se[0],de=se[1];Kt.isTouch&&fe==="hold"&&de&&(X=de),X?i=setTimeout(function(){E.show()},X):E.show()}function Vt(H){if(E.clearDelayTimeouts(),oe("onUntrigger",[E,H]),!E.state.isVisible){ot();return}if(!(E.props.trigger.indexOf("mouseenter")>=0&&E.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(H.type)>=0&&a)){var X=ne(!1);X?s=setTimeout(function(){E.state.isVisible&&E.hide()},X):o=requestAnimationFrame(function(){E.hide()})}}function Tn(){E.state.isEnabled=!0}function lt(){E.hide(),E.state.isEnabled=!1}function Yn(){clearTimeout(i),clearTimeout(s),cancelAnimationFrame(o)}function Ht(H){if(!E.state.isDestroyed){oe("onBeforeUpdate",[E,H]),Ai();var X=E.props,se=Nf(n,Object.assign({},X,Rf(H),{ignoreAttributes:!0}));E.props=se,Ee(),X.interactiveDebounce!==se.interactiveDebounce&&(it(),C=kf(ze,se.interactiveDebounce)),X.triggerTarget&&!se.triggerTarget?Vi(X.triggerTarget).forEach(function(fe){fe.removeAttribute("aria-expanded")}):se.triggerTarget&&n.removeAttribute("aria-expanded"),mt(),Be(),G&&G(X,se),E.popperInstance&&(Gn(),jt().forEach(function(fe){requestAnimationFrame(fe._tippy.popperInstance.forceUpdate)})),oe("onAfterUpdate",[E,H])}}function cn(H){E.setProps({content:H})}function qn(){var H=E.state.isVisible,X=E.state.isDestroyed,se=!E.state.isEnabled,fe=Kt.isTouch&&!E.props.touch,de=dl(E.props.duration,0,zt.duration);if(!(H||X||se||fe)&&!re().hasAttribute("disabled")&&(oe("onShow",[E],!1),E.props.onShow(E)!==!1)){if(E.state.isVisible=!0,xe()&&(V.style.visibility="visible"),Be(),st(),E.state.isMounted||(V.style.transition="none"),xe()){var Te=Ue(),Je=Te.box,wt=Te.content;fl([Je,wt],0)}w=function(){var Ut;if(!(!E.state.isVisible||g)){if(g=!0,V.offsetHeight,V.style.transition=E.props.moveTransition,xe()&&E.props.animation){var Dn=Ue(),Zn=Dn.box,fn=Dn.content;fl([Zn,fn],de),Mf([Zn,fn],"visible")}Oe(),mt(),Of(pl,E),(Ut=E.popperInstance)==null||Ut.forceUpdate(),oe("onMount",[E]),E.props.animation&&xe()&&Qe(de,function(){E.state.isShown=!0,oe("onShown",[E])})}},yt()}}function Ne(){var H=!E.state.isVisible,X=E.state.isDestroyed,se=!E.state.isEnabled,fe=dl(E.props.duration,1,zt.duration);if(!(H||X||se)&&(oe("onHide",[E],!1),E.props.onHide(E)!==!1)){if(E.state.isVisible=!1,E.state.isShown=!1,g=!1,a=!1,xe()&&(V.style.visibility="hidden"),it(),ot(),Be(!0),xe()){var de=Ue(),Te=de.box,Je=de.content;E.props.animation&&(fl([Te,Je],fe),Mf([Te,Je],"hidden"))}Oe(),mt(),E.props.animation?xe()&&on(fe,E.unmount):E.unmount()}}function Wt(H){ke().addEventListener("mousemove",C),Of(Hs,C),C(H)}function ct(){E.state.isVisible&&E.hide(),E.state.isMounted&&(Ei(),jt().forEach(function(H){H._tippy.unmount()}),V.parentNode&&V.parentNode.removeChild(V),pl=pl.filter(function(H){return H!==E}),E.state.isMounted=!1,oe("onHidden",[E]))}function un(){E.state.isDestroyed||(E.clearDelayTimeouts(),E.unmount(),Ai(),delete n._tippy,E.state.isDestroyed=!0,oe("onDestroy",[E]))}}function Br(n,e){e===void 0&&(e={});var t=zt.plugins.concat(e.plugins||[]);a4();var i=Object.assign({},e,{plugins:t}),s=n4(n),o=s.reduce(function(a,d){var f=d&&v4(d,i);return f&&a.push(f),a},[]);return mo(n)?o[0]:o}Br.defaultProps=zt;Br.setDefaultProps=h4;Br.currentInput=Kt;Object.assign({},Mp,{effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow)}});Br.setDefaultProps({render:qp});const b4={components:{FullCalendar:Cp},props:["events"],data(){return{calendarOptions:{plugins:[F_],initialView:"dayGridMonth",contentHeight:"auto",locale:"cs",buttonText:{today:"dnes"},eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:!1},eventClick(n){n.jsEvent.preventDefault(),Br(n.el,{content:` + </div>`},trapFocus:!0,wheel:"zoom"};var Ye,tt;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Closing=2]="Closing",n[n.CustomClosing=3]="CustomClosing",n[n.Destroy=4]="Destroy"})(Ye||(Ye={})),function(n){n[n.Loading=0]="Loading",n[n.Opening=1]="Opening",n[n.Ready=2]="Ready",n[n.Closing=3]="Closing"}(tt||(tt={}));let id="",yr=!1,Cs=!1,di=null;const rh=()=>{let n="",e="";const t=pe.getInstance();if(t){const i=t.carousel,s=t.getSlide();if(i&&s){let o=s.slug||void 0,a=s.triggerEl||void 0;e=o||t.option("slug")||"",!e&&a&&a.dataset&&(e=a.dataset.fancybox||""),e&&e!=="true"&&(n="#"+e+(!o&&i.slides.length>1?"-"+(s.index+1):""))}}return{hash:n,slug:e,index:1}},Xs=()=>{const n=new URL(document.URL).hash,e=n.slice(1).split("-"),t=e[e.length-1],i=t&&/^\+?\d+$/.test(t)&&parseInt(e.pop()||"1",10)||1;return{hash:n,slug:e.join("-"),index:i}},sh=()=>{const{slug:n,index:e}=Xs();if(!n)return;let t=document.querySelector(`[data-slug="${n}"]`);if(t&&t.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),pe.getInstance())return;const i=document.querySelectorAll(`[data-fancybox="${n}"]`);i.length&&(t=i[e-1],t&&t.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},oh=()=>{if(pe.defaults.Hash===!1)return;const n=pe.getInstance();if((n==null?void 0:n.options.Hash)===!1)return;const{slug:e,index:t}=Xs(),{slug:i}=rh();n&&(e===i?n.jumpTo(t-1):(yr=!0,n.close())),sh()},ah=()=>{di&&clearTimeout(di),queueMicrotask(()=>{oh()})},rd=()=>{window.addEventListener("hashchange",ah,!1),setTimeout(()=>{oh()},500)};wr&&(/complete|interactive|loaded/.test(document.readyState)?rd():document.addEventListener("DOMContentLoaded",rd));const As="is-zooming-in";class lh extends zt{onCreateSlide(e,t,i){const s=this.instance.optionFor(i,"src")||"";i.el&&i.type==="image"&&typeof s=="string"&&this.setImage(i,s)}onRemoveSlide(e,t,i){i.panzoom&&i.panzoom.destroy(),i.panzoom=void 0,i.imageEl=void 0}onChange(e,t,i,s){ye(this.instance.container,As);for(const o of t.slides){const a=o.panzoom;a&&o.index!==i&&a.reset(.35)}}onClose(){var e;const t=this.instance,i=t.container,s=t.getSlide();if(!i||!i.parentElement||!s)return;const{el:o,contentEl:a,panzoom:d,thumbElSrc:f}=s;if(!o||!f||!a||!d||d.isContentLoading||d.state===Ce.Init||d.state===Ce.Destroy)return;d.updateMetrics();let p=this.getZoomInfo(s);if(!p)return;this.instance.state=Ye.CustomClosing,i.classList.remove(As),i.classList.add("is-zooming-out"),a.style.backgroundImage=`url('${f}')`;const h=i.getBoundingClientRect();(((e=window.visualViewport)===null||e===void 0?void 0:e.scale)||1)===1&&Object.assign(i.style,{position:"absolute",top:`${i.offsetTop+window.scrollY}px`,left:`${i.offsetLeft+window.scrollX}px`,bottom:"auto",right:"auto",width:`${h.width}px`,height:`${h.height}px`,overflow:"hidden"});const{x:y,y:w,scale:v,opacity:C}=p;if(C){const x=((S,D,R,z)=>{const E=D-S,X=z-R;return V=>R+((V-S)/E*X||0)})(d.scale,v,1,0);d.on("afterTransform",()=>{a.style.opacity=x(d.scale)+""})}d.on("endAnimation",()=>{t.destroy()}),d.target.a=v,d.target.b=0,d.target.c=0,d.target.d=v,d.panTo({x:y,y:w,scale:v,friction:C?.2:.33,ignoreBounds:!0}),d.isResting&&t.destroy()}setImage(e,t){const i=this.instance;e.src=t,this.process(e,t).then(s=>{const{contentEl:o,imageEl:a,thumbElSrc:d,el:f}=e;if(i.isClosing()||!o||!a)return;o.offsetHeight;const p=!!i.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")&&f){f.addEventListener("contextmenu",w=>{w.preventDefault()});const y=document.createElement("div");K(y,"fancybox-protected"),o.appendChild(y)}if(d&&p){const y=s.contentRect,w=Math.max(y.fullWidth,y.fullHeight);let v=null;!p.opacity&&w>1200&&(v=document.createElement("img"),K(v,"fancybox-ghost"),v.src=d,o.appendChild(v));const C=()=>{v&&(K(v,"f-fadeFastOut"),setTimeout(()=>{v&&(v.remove(),v=null)},200))};(h=d,new Promise((x,S)=>{const D=new Image;D.onload=x,D.onerror=S,D.src=h})).then(()=>{i.hideLoading(e),e.state=tt.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then(()=>{C(),this.instance.done(e)},()=>{}),v&&setTimeout(()=>{C()},w>2500?800:200)},()=>{i.hideLoading(e),i.revealContent(e)})}else{const y=this.optionFor(e,"initialSize"),w=this.optionFor(e,"zoom"),v={event:i.prevMouseMoveEvent||i.options.event,friction:w?.12:0};let C=i.optionFor(e,"showClass")||void 0,x=!0;i.isOpeningSlide(e)&&(y==="full"?s.zoomToFull(v):y==="cover"?s.zoomToCover(v):y==="max"?s.zoomToMax(v):x=!1,s.stop("current")),x&&C&&(C=s.isDragging?"f-fadeIn":""),i.hideLoading(e),i.revealContent(e,C)}var h},()=>{i.setError(e,"{{IMAGE_ERROR}}")})}process(e,t){return new Promise((i,s)=>{var o;const a=this.instance,d=e.el;a.clearContent(e),a.showLoading(e);let f=this.optionFor(e,"content");if(typeof f=="string"&&(f=en(f)),!f||!dt(f)){if(f=document.createElement("img"),f instanceof HTMLImageElement){let p="",h=e.caption;p=typeof h=="string"&&h?h.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${((o=a.carousel)===null||o===void 0?void 0:o.pages.length)||1}`,f.src=t||"",f.alt=p,f.draggable=!1,e.srcset&&f.setAttribute("srcset",e.srcset),this.instance.isOpeningSlide(e)&&(f.fetchPriority="high")}e.sizes&&f.setAttribute("sizes",e.sizes)}K(f,"fancybox-image"),e.imageEl=f,a.setContent(e,f,!1),e.panzoom=new Tr(d,ft({transformParent:!0},this.option("Panzoom")||{},{content:f,width:(p,h)=>a.optionFor(e,"width","auto",h)||"auto",height:(p,h)=>a.optionFor(e,"height","auto",h)||"auto",wheel:()=>{const p=a.option("wheel");return(p==="zoom"||p=="pan")&&p},click:(p,h)=>{var y,w;if(a.isCompact||a.isClosing()||e.index!==((y=a.getSlide())===null||y===void 0?void 0:y.index))return!1;if(h){const C=h.composedPath()[0];if(["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(C.nodeName))return!1}let v=!h||h.target&&((w=e.contentEl)===null||w===void 0?void 0:w.contains(h.target));return a.option(v?"contentClick":"backdropClick")||!1},dblClick:()=>a.isCompact?"toggleZoom":a.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:p=>{i(p)},error:()=>{s()},destroy:()=>{s()}}}))})}zoomIn(e){return new Promise((t,i)=>{const s=this.instance,o=s.container,{panzoom:a,contentEl:d,el:f}=e;a&&a.updateMetrics();const p=this.getZoomInfo(e);if(!(p&&f&&d&&a&&o))return void i();const{x:h,y,scale:w,opacity:v}=p,C=()=>{e.state!==tt.Closing&&(v&&(d.style.opacity=Math.max(Math.min(1,1-(1-a.scale)/(1-w)),0)+""),a.scale>=1&&a.scale>a.targetScale-.1&&t(a))},x=R=>{(R.scale<.99||R.scale>1.01)&&!R.isDragging||(ye(o,As),d.style.opacity="",R.off("endAnimation",x),R.off("touchStart",x),R.off("afterTransform",C),t(R))};a.on("endAnimation",x),a.on("touchStart",x),a.on("afterTransform",C),a.on(["error","destroy"],()=>{i()}),a.panTo({x:h,y,scale:w,friction:0,ignoreBounds:!0}),a.stop("current");const S={event:a.panMode==="mousemove"?s.prevMouseMoveEvent||s.options.event:void 0},D=this.optionFor(e,"initialSize");K(o,As),s.hideLoading(e),D==="full"?a.zoomToFull(S):D==="cover"?a.zoomToCover(S):D==="max"?a.zoomToMax(S):a.reset(.172)})}getZoomInfo(e){const{el:t,imageEl:i,thumbEl:s,panzoom:o}=e,a=this.instance,d=a.container;if(!t||!i||!s||!o||nh(s)<3||!this.optionFor(e,"zoom")||!d||a.state===Ye.Destroy||getComputedStyle(d).getPropertyValue("--f-images-zoom")==="0")return!1;const f=window.visualViewport||null;if((f?f.scale:1)!==1)return!1;let{top:p,left:h,width:y,height:w}=s.getBoundingClientRect(),{top:v,left:C,fitWidth:x,fitHeight:S}=o.contentRect;if(!(y&&w&&x&&S))return!1;const D=o.container.getBoundingClientRect();C+=D.left,v+=D.top;const R=-1*(C+.5*x-(h+.5*y)),z=-1*(v+.5*S-(p+.5*w)),E=y/x;let X=this.option("zoomOpacity")||!1;return X==="auto"&&(X=Math.abs(y/w-x/S)>.1),{x:R,y:z,scale:E,opacity:X}}attach(){const e=this,t=e.instance;t.on("Carousel.change",e.onChange),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("close",e.onClose)}detach(){const e=this,t=e.instance;t.off("Carousel.change",e.onChange),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("close",e.onClose)}}Object.defineProperty(lh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),typeof SuppressedError=="function"&&SuppressedError;const Va="html",sd="image",Wa="map",_n="youtube",ri="vimeo",mr="html5video",od=(n,e={})=>{const t=new URL(n),i=new URLSearchParams(t.search),s=new URLSearchParams;for(const[d,f]of[...i,...Object.entries(e)]){let p=f+"";if(d==="t"){let h=p.match(/((\d*)m)?(\d*)s?/);h&&s.set("start",60*parseInt(h[2]||"0")+parseInt(h[3]||"0")+"")}else s.set(d,p)}let o=s+"",a=n.match(/#t=((.*)?\d+s)/);return a&&(o+=`#t=${a[1]}`),o},Gm={ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:`<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}"> + <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`,videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},qm=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo"];class ch extends zt{onBeforeInitSlide(e,t,i){this.processType(i)}onCreateSlide(e,t,i){this.setContent(i)}onClearContent(e,t){t.xhr&&(t.xhr.abort(),t.xhr=null);const i=t.iframeEl;i&&(i.onload=i.onerror=null,i.src="//about:blank",t.iframeEl=null);const s=t.contentEl,o=t.placeholderEl;if(t.type==="inline"&&s&&o)s.classList.remove("fancybox__content"),getComputedStyle(s).getPropertyValue("display")!=="none"&&(s.style.display="none"),setTimeout(()=>{o&&(s&&o.parentNode&&o.parentNode.insertBefore(s,o),o.remove())},0),t.contentEl=void 0,t.placeholderEl=void 0;else for(;t.el&&t.el.firstChild;)t.el.removeChild(t.el.firstChild)}onSelectSlide(e,t,i){i.state===tt.Ready&&this.playVideo()}onUnselectSlide(e,t,i){var s,o;if(i.type===mr){try{(o=(s=i.el)===null||s===void 0?void 0:s.querySelector("video"))===null||o===void 0||o.pause()}catch(d){}return}let a;i.type===ri?a={method:"pause",value:"true"}:i.type===_n&&(a={event:"command",func:"pauseVideo"}),a&&i.iframeEl&&i.iframeEl.contentWindow&&i.iframeEl.contentWindow.postMessage(JSON.stringify(a),"*"),i.poller&&clearTimeout(i.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach(i=>{i.el&&(this.resizeIframe(i),this.setAspectRatio(i))})}onMessage(e){try{let t=JSON.parse(e.data);if(e.origin==="https://player.vimeo.com"){if(t.event==="ready")for(let i of Array.from(document.getElementsByClassName("fancybox__iframe")))i instanceof HTMLIFrameElement&&i.contentWindow===e.source&&(i.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&t.event==="onReady"){const i=document.getElementById(t.id);i&&(i.dataset.ready="true")}}catch(t){}}loadAjaxContent(e){const t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);const i=this.instance,s=new XMLHttpRequest;i.showLoading(e),s.onreadystatechange=function(){s.readyState===XMLHttpRequest.DONE&&i.state===Ye.Ready&&(i.hideLoading(e),s.status===200?i.setContent(e,s.responseText):i.setError(e,s.status===404?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const o=e.ajax||null;s.open(o?"POST":"GET",t+""),s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.send(o),e.xhr=s}setInlineContent(e){let t=null;if(dt(e.src))t=e.src;else if(typeof e.src=="string"){const i=e.src.split("#",2).pop();t=i?document.getElementById(i):null}if(t){if(e.type==="clone"||t.closest(".fancybox__slide")){t=t.cloneNode(!0);const i=t.dataset.animationName;i&&(t.classList.remove(i),delete t.dataset.animationName);let s=t.getAttribute("id");s=s?`${s}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",s)}else if(t.parentNode){const i=document.createElement("div");i.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(i,t),e.placeholderEl=i}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){const{src:t,el:i}=e;if(!t||typeof t!="string"||!i)return;i.classList.add("is-loading");const s=this.instance,o=document.createElement("iframe");o.className="fancybox__iframe",o.setAttribute("id",`fancybox__iframe_${s.id}_${e.index}`);for(const[d,f]of Object.entries(this.optionFor(e,"iframeAttr")||{}))o.setAttribute(d,f);o.onerror=()=>{s.setError(e,"{{IFRAME_ERROR}}")},e.iframeEl=o;const a=this.optionFor(e,"preload");if(e.type!=="iframe"||a===!1)return o.setAttribute("src",e.src+""),s.setContent(e,o,!1),this.resizeIframe(e),void s.revealContent(e);s.showLoading(e),o.onload=()=>{if(!o.src.length)return;const d=o.dataset.ready!=="true";o.dataset.ready="true",this.resizeIframe(e),d?s.revealContent(e):s.hideLoading(e)},o.setAttribute("src",t),s.setContent(e,o,!1)}resizeIframe(e){const{type:t,iframeEl:i}=e;if(t===_n||t===ri)return;const s=i==null?void 0:i.parentElement;if(!i||!s)return;let o=e.autoSize;o===void 0&&(o=this.optionFor(e,"autoSize"));let a=e.width||0,d=e.height||0;a&&d&&(o=!1);const f=s&&s.style;if(e.preload!==!1&&o!==!1&&f)try{const p=window.getComputedStyle(s),h=parseFloat(p.paddingLeft)+parseFloat(p.paddingRight),y=parseFloat(p.paddingTop)+parseFloat(p.paddingBottom),w=i.contentWindow;if(w){const v=w.document,C=v.getElementsByTagName(Va)[0],x=v.body;f.width="",x.style.overflow="hidden",a=a||C.scrollWidth+h,f.width=`${a}px`,x.style.overflow="",f.flex="0 0 auto",f.height=`${x.scrollHeight}px`,d=C.scrollHeight+y}}catch(p){}if(a||d){const p={flex:"0 1 auto",width:"",height:""};a&&a!=="auto"&&(p.width=`${a}px`),d&&d!=="auto"&&(p.height=`${d}px`),Object.assign(f,p)}}playVideo(){const e=this.instance.getSlide();if(!e)return;const{el:t}=e;if(!t||!t.offsetParent||!this.optionFor(e,"videoAutoplay"))return;if(e.type===mr)try{const s=t.querySelector("video");if(s){const o=s.play();o!==void 0&&o.then(()=>{}).catch(a=>{s.muted=!0,s.play()})}}catch(s){}if(e.type!==_n&&e.type!==ri)return;const i=()=>{if(e.iframeEl&&e.iframeEl.contentWindow){let s;if(e.iframeEl.dataset.ready==="true")return s=e.type===_n?{event:"command",func:"playVideo"}:{method:"play",value:"true"},s&&e.iframeEl.contentWindow.postMessage(JSON.stringify(s),"*"),void(e.poller=void 0);e.type===_n&&(s={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(s),"*"))}e.poller=setTimeout(i,250)};i()}processType(e){if(e.html)return e.type=Va,e.src=e.html,void(e.html="");const t=this.instance.optionFor(e,"src","");if(!t||typeof t!="string")return;let i=e.type,s=null;if(s=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const o=this.optionFor(e,_n),{nocookie:a}=o,d=function(y,w){var v={};for(var C in y)Object.prototype.hasOwnProperty.call(y,C)&&w.indexOf(C)<0&&(v[C]=y[C]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var x=0;for(C=Object.getOwnPropertySymbols(y);x<C.length;x++)w.indexOf(C[x])<0&&Object.prototype.propertyIsEnumerable.call(y,C[x])&&(v[C[x]]=y[C[x]])}return v}(o,["nocookie"]),f=`www.youtube${a?"-nocookie":""}.com`,p=od(t,d),h=encodeURIComponent(s[2]);e.videoId=h,e.src=`https://${f}/embed/${h}?${p}`,e.thumbSrc=e.thumbSrc||`https://i.ytimg.com/vi/${h}/mqdefault.jpg`,i=_n}else if(s=t.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)){const o=od(t,this.optionFor(e,ri)),a=encodeURIComponent(s[1]),d=s[4]||"";e.videoId=a,e.src=`https://player.vimeo.com/video/${a}?${d?`h=${d}${o?"&":""}`:""}${o}`,i=ri}if(!i&&e.triggerEl){const o=e.triggerEl.dataset.type;qm.includes(o)&&(i=o)}i||typeof t=="string"&&(t.charAt(0)==="#"?i="inline":(s=t.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i=mr,e.videoFormat=e.videoFormat||"video/"+(s[1]==="ogv"?"ogg":s[1])):t.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i=sd:t.match(/\.(pdf)((\?|#).*)?$/i)&&(i="pdf")),(s=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(e.src=`https://maps.google.${s[1]}/?ll=${(s[2]?s[2]+"&z="+Math.floor(parseFloat(s[3]))+(s[4]?s[4].replace(/^\//,"&"):""):s[4]+"").replace(/\?/,"&")}&output=${s[4]&&s[4].indexOf("layer=c")>0?"svembed":"embed"}`,i=Wa):(s=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${s[1]}/maps?q=${s[2].replace("query=","q=").replace("api=1","")}&output=embed`,i=Wa),i=i||this.instance.option("defaultType"),e.type=i,i===sd&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){const t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case Va:this.instance.setContent(e,t);break;case mr:const i=this.option("videoTpl");i&&this.instance.setContent(e,i.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case Wa:case _n:case ri:e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){const t=e.contentEl;if(!(e.el&&t&&e.type&&[_n,ri,mr].includes(e.type)))return;let i,s=e.width||"auto",o=e.height||"auto";if(s==="auto"||o==="auto"){i=this.optionFor(e,"videoRatio");const p=(i+"").match(/(\d+)\s*\/\s?(\d+)/);i=p&&p.length>2?parseFloat(p[1])/parseFloat(p[2]):parseFloat(i+"")}else s&&o&&(i=s/o);if(!i)return;t.style.aspectRatio="",t.style.width="",t.style.height="",t.offsetHeight;const a=t.getBoundingClientRect(),d=a.width||1,f=a.height||1;t.style.aspectRatio=i+"",i<d/f?(o=o==="auto"?f:Math.min(f,o),t.style.width="auto",t.style.height=`${o}px`):(s=s==="auto"?d:Math.min(d,s),t.style.width=`${s}px`,t.style.height="auto")}attach(){const e=this,t=e.instance;t.on("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.selectSlide",e.onSelectSlide),t.on("Carousel.unselectSlide",e.onUnselectSlide),t.on("Carousel.Panzoom.refresh",e.onRefresh),t.on("done",e.onDone),t.on("clearContent",e.onClearContent),window.addEventListener("message",e.onMessage)}detach(){const e=this,t=e.instance;t.off("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.selectSlide",e.onSelectSlide),t.off("Carousel.unselectSlide",e.onUnselectSlide),t.off("Carousel.Panzoom.refresh",e.onRefresh),t.off("done",e.onDone),t.off("clearContent",e.onClearContent),window.removeEventListener("message",e.onMessage)}}Object.defineProperty(ch,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Gm});const Es="play",xs="pause",vr="ready";class uh extends zt{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:vr}),Object.defineProperty(this,"inHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"progressBar",{enumerable:!0,configurable:!0,writable:!0,value:null})}get isActive(){return this.state!==vr}onReady(e){this.option("autoStart")&&(e.isInfinite||e.page<e.pages.length-1)&&this.start()}onChange(){this.removeProgressBar(),this.pause()}onSettle(){this.resume()}onVisibilityChange(){document.visibilityState==="visible"?this.resume():this.pause()}onMouseEnter(){this.inHover=!0,this.pause()}onMouseLeave(){var e;this.inHover=!1,!((e=this.instance.panzoom)===null||e===void 0)&&e.isResting&&this.resume()}onTimerEnd(){const e=this.instance;this.state==="play"&&(e.isInfinite||e.page!==e.pages.length-1?e.slideNext():e.slideTo(0))}removeProgressBar(){this.progressBar&&(this.progressBar.remove(),this.progressBar=null)}createProgressBar(){var e;if(!this.option("showProgress"))return null;this.removeProgressBar();const t=this.instance,i=((e=t.pages[t.page])===null||e===void 0?void 0:e.slides)||[];let s=this.option("progressParentEl");if(s||(s=(i.length===1?i[0].el:null)||t.viewport),!s)return null;const o=document.createElement("div");return K(o,"f-progress"),s.prepend(o),this.progressBar=o,o.offsetHeight,o}set(){const e=this,t=e.instance;if(t.pages.length<2||e.timer)return;const i=e.option("timeout");e.state=Es,K(t.container,"has-autoplay");let s=e.createProgressBar();s&&(s.style.transitionDuration=`${i}ms`,s.style.transform="scaleX(1)"),e.timer=setTimeout(()=>{e.timer=null,e.inHover||e.onTimerEnd()},i),e.emit("set")}clear(){const e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.removeProgressBar()}start(){const e=this;if(e.set(),e.state!==vr){if(e.option("pauseOnHover")){const t=e.instance.container;t.addEventListener("mouseenter",e.onMouseEnter,!1),t.addEventListener("mouseleave",e.onMouseLeave,!1)}document.addEventListener("visibilitychange",e.onVisibilityChange,!1),e.emit("start")}}stop(){const e=this,t=e.state,i=e.instance.container;e.clear(),e.state=vr,i.removeEventListener("mouseenter",e.onMouseEnter,!1),i.removeEventListener("mouseleave",e.onMouseLeave,!1),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),ye(i,"has-autoplay"),t!==vr&&e.emit("stop")}pause(){const e=this;e.state===Es&&(e.state=xs,e.clear(),e.emit(xs))}resume(){const e=this,t=e.instance;if(t.isInfinite||t.page!==t.pages.length-1)if(e.state!==Es){if(e.state===xs&&!e.inHover){const i=new Event("resume",{bubbles:!0,cancelable:!0});e.emit("resume",i),i.defaultPrevented||e.set()}}else e.set();else e.stop()}toggle(){this.state===Es||this.state===xs?this.stop():this.start()}attach(){const e=this,t=e.instance;t.on("ready",e.onReady),t.on("Panzoom.startAnimation",e.onChange),t.on("Panzoom.endAnimation",e.onSettle),t.on("Panzoom.touchMove",e.onChange)}detach(){const e=this,t=e.instance;t.off("ready",e.onReady),t.off("Panzoom.startAnimation",e.onChange),t.off("Panzoom.endAnimation",e.onSettle),t.off("Panzoom.touchMove",e.onChange),e.stop()}}Object.defineProperty(uh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class dh extends zt{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){const t=e.carousel;if(!t)return;const i=e.container;i&&(t.options.Autoplay=ft({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:s=>{var o;i.classList.add("has-slideshow"),((o=e.getSlide())===null||o===void 0?void 0:o.state)!==tt.Ready&&s.pause()},stop:()=>{i.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(s,o)=>{var a,d,f;!o||!o.cancelable||((a=e.getSlide())===null||a===void 0?void 0:a.state)===tt.Ready&&(!((f=(d=e.carousel)===null||d===void 0?void 0:d.panzoom)===null||f===void 0)&&f.isResting)||o.preventDefault()}}}),t.attachPlugins({Autoplay:uh}),this.ref=t.plugins.Autoplay)}onReady(e){const t=e.carousel,i=this.ref;i&&t&&this.option("playOnStart")&&(t.isInfinite||t.page<t.pages.length-1)&&i.start()}onDone(e,t){const i=this.ref,s=e.carousel;if(!i||!s)return;const o=t.panzoom;o&&o.on("startAnimation",()=>{e.isCurrentSlide(t)&&i.stop()}),e.isCurrentSlide(t)&&i.resume()}onKeydown(e,t){var i;const s=this.ref;s&&t===this.option("key")&&((i=document.activeElement)===null||i===void 0?void 0:i.nodeName)!=="BUTTON"&&s.toggle()}attach(){const e=this,t=e.instance;t.on("Carousel.init",e.onPrepare),t.on("Carousel.ready",e.onReady),t.on("done",e.onDone),t.on("keydown",e.onKeydown)}detach(){const e=this,t=e.instance;t.off("Carousel.init",e.onPrepare),t.off("Carousel.ready",e.onReady),t.off("done",e.onDone),t.off("keydown",e.onKeydown)}}Object.defineProperty(dh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:n=>{var e;return((e=n.instance.container)===null||e===void 0?void 0:e.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||n.instance.container},timeout:3e3}});const fh={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'<button class="f-thumbs__slide__button" tabindex="0" type="button" aria-label="{{GOTO}}" data-carousel-index="%i"><img class="f-thumbs__slide__img" data-lazy-src="{{%s}}" alt="" /></button>',type:"modern"};var Cn;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Hidden=2]="Hidden"})(Cn||(Cn={}));const ad="isResting",Ss="thumbWidth",Hi="thumbHeight",Xt="thumbClipWidth";let hh=class extends zt{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Cn.Init})}get isModern(){return this.type==="modern"}onInitSlide(n,e){const t=e.el?e.el.dataset:void 0;t&&(e.thumbSrc=t.thumbSrc||e.thumbSrc||"",e[Xt]=parseFloat(t[Xt]||"")||e[Xt]||0,e[Hi]=parseFloat(t.thumbHeight||"")||e[Hi]||0),this.addSlide(e)}onInitSlides(){this.build()}onChange(){var n;if(!this.isModern)return;const e=this.container,t=this.instance,i=t.panzoom,s=this.carousel,o=s?s.panzoom:null,a=t.page;if(i&&s&&o){if(i.isDragging){ye(e,this.cn(ad));let d=((n=s.pages[a])===null||n===void 0?void 0:n.pos)||0;d+=t.getProgress(a)*(this[Xt]+this.thumbGap);let f=o.getBounds();-1*d>f.x.min&&-1*d<f.x.max&&o.panTo({x:-1*d,friction:.12})}else tn(e,this.cn(ad),i.isResting);this.shiftModern()}}onRefresh(){this.updateProps();for(const n of this.instance.slides||[])this.resizeModernSlide(n);this.shiftModern()}isDisabled(){const n=this.option("minCount")||0;if(n){const t=this.instance;let i=0;for(const s of t.slides||[])s.thumbSrc&&i++;if(i<n)return!0}const e=this.option("type");return["modern","classic"].indexOf(e)<0}getThumb(n){const e=this.option("thumbTpl")||"";return{html:this.instance.localize(e,[["%i",n.index],["%d",n.index+1],["%s",n.thumbSrc||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]])}}addSlide(n){const e=this.carousel;e&&e.addSlide(n.index,this.getThumb(n))}getSlides(){const n=[];for(const e of this.instance.slides||[])n.push(this.getThumb(e));return n}resizeModernSlide(n){this.isModern&&(n[Ss]=n[Xt]&&n[Hi]?Math.round(this[Hi]*(n[Xt]/n[Hi])):this[Ss])}updateProps(){const n=this.container;if(!n)return;const e=t=>parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+t))||0;this.thumbGap=e("gap"),this.thumbExtraGap=e("extra-gap"),this[Ss]=e("width")||40,this[Xt]=e("clip-width")||40,this[Hi]=e("height")||40}build(){const n=this;if(n.state!==Cn.Init)return;if(n.isDisabled())return void n.emit("disabled");const e=n.instance,t=e.container,i=n.getSlides(),s=n.option("type");n.type=s;const o=n.option("parentEl"),a=n.cn("container"),d=n.cn("track");let f=o==null?void 0:o.querySelector("."+a);f||(f=document.createElement("div"),K(f,a),o?o.appendChild(f):t.after(f)),K(f,`is-${s}`),K(t,n.cn("hasThumbs")),n.container=f,n.updateProps();let p=f.querySelector("."+d);p||(p=document.createElement("div"),K(p,n.cn("track")),f.appendChild(p)),n.track=p;const h=ft({},{track:p,infinite:!1,center:!0,fill:s==="classic",dragFree:!0,slidesPerPage:1,transition:!1,preload:.25,friction:.12,Panzoom:{maxVelocity:0},Dots:!1,Navigation:!1,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide"}},n.option("Carousel")||{},{Sync:{target:e},slides:i}),y=new e.constructor(f,h);y.on("createSlide",(w,v)=>{n.setProps(v.index),n.emit("createSlide",v,v.el)}),y.on("ready",()=>{n.shiftModern(),n.emit("ready")}),y.on("refresh",()=>{n.shiftModern()}),y.on("Panzoom.click",(w,v,C)=>{n.onClick(C)}),n.carousel=y,n.state=Cn.Ready}onClick(n){n.preventDefault(),n.stopPropagation();const e=this.instance,{pages:t,page:i}=e,s=x=>{if(x){const S=x.closest("[data-carousel-index]");if(S)return[parseInt(S.dataset.carouselIndex||"",10)||0,S]}return[-1,void 0]},o=(x,S)=>{const D=document.elementFromPoint(x,S);return D?s(D):[-1,void 0]};let[a,d]=s(n.target);if(a>-1)return;const f=this[Xt],p=n.clientX,h=n.clientY;let[y,w]=o(p-f,h),[v,C]=o(p+f,h);w&&C?(a=Math.abs(p-w.getBoundingClientRect().right)<Math.abs(p-C.getBoundingClientRect().left)?y:v,a===i&&(a=a===y?v:y)):w?a=y:C&&(a=v),a>-1&&t[a]&&e.slideTo(a)}getShift(n){var e;const t=this,{instance:i}=t,s=t.carousel;if(!i||!s)return 0;const o=t[Ss],a=t[Xt],d=t.thumbGap,f=t.thumbExtraGap;if(!(!((e=s.slides[n])===null||e===void 0)&&e.el))return 0;const p=.5*(o-a),h=i.pages.length-1;let y=i.getProgress(0),w=i.getProgress(h),v=i.getProgress(n,!1,!0),C=0,x=p+f+d;const S=y<0&&y>-1,D=w>0&&w<1;return n===0?(C=x*Math.abs(y),D&&y===1&&(C-=x*Math.abs(w))):n===h?(C=x*Math.abs(w)*-1,S&&w===-1&&(C+=x*Math.abs(y))):S||D?(C=-1*x,C+=x*Math.abs(y),C+=x*(1-Math.abs(w))):C=x*v,C}setProps(n){var e;const t=this;if(!t.isModern)return;const{instance:i}=t,s=t.carousel;if(i&&s){const o=(e=s.slides[n])===null||e===void 0?void 0:e.el;if(o&&o.childNodes.length){let a=q(1-Math.abs(i.getProgress(n))),d=q(t.getShift(n));o.style.setProperty("--progress",a?a+"":""),o.style.setProperty("--shift",d+"")}}}shiftModern(){const n=this;if(!n.isModern)return;const{instance:e,track:t}=n,i=e.panzoom,s=n.carousel;if(!(e&&t&&i&&s)||i.state===Ce.Init||i.state===Ce.Destroy)return;for(const a of e.slides)n.setProps(a.index);let o=(n[Xt]+n.thumbGap)*(s.slides.length||0);t.style.setProperty("--width",o+"")}cleanup(){const n=this;n.carousel&&n.carousel.destroy(),n.carousel=null,n.container&&n.container.remove(),n.container=null,n.track&&n.track.remove(),n.track=null,n.state=Cn.Init,ye(n.instance.container,n.cn("hasThumbs"))}attach(){const n=this,e=n.instance;e.on("initSlide",n.onInitSlide),e.state===We.Init?e.on("initSlides",n.onInitSlides):n.onInitSlides(),e.on(["change","Panzoom.afterTransform"],n.onChange),e.on("Panzoom.refresh",n.onRefresh)}detach(){const n=this,e=n.instance;e.off("initSlide",n.onInitSlide),e.off("initSlides",n.onInitSlides),e.off(["change","Panzoom.afterTransform"],n.onChange),e.off("Panzoom.refresh",n.onRefresh),n.cleanup()}};Object.defineProperty(hh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:fh});const Ym=Object.assign(Object.assign({},fh),{key:"t",showOnStart:!0,parentEl:null}),ld="is-masked",cd="aria-hidden";class ph extends zt{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"hidden",{enumerable:!0,configurable:!0,writable:!0,value:!1})}get isEnabled(){const e=this.ref;return e&&!e.isDisabled()}get isHidden(){return this.hidden}onClick(e,t){t.stopPropagation()}onCreateSlide(e,t){var i,s,o;const a=((o=(s=(i=this.instance)===null||i===void 0?void 0:i.carousel)===null||s===void 0?void 0:s.slides[t.index])===null||o===void 0?void 0:o.type)||"",d=t.el;if(d&&a){let f=`for-${a}`;["video","youtube","vimeo","html5video"].includes(a)&&(f+=" for-video"),K(d,f)}}onInit(){var e;const t=this,i=t.instance,s=i.carousel;if(t.ref||!s)return;const o=t.option("parentEl")||i.footer||i.container;if(!o)return;const a=ft({},t.options,{parentEl:o,classes:{container:"f-thumbs fancybox__thumbs"},Carousel:{Sync:{friction:i.option("Carousel.friction")||0}},on:{ready:d=>{const f=d.container;f&&this.hidden&&(t.refresh(),f.style.transition="none",t.hide(),f.offsetHeight,queueMicrotask(()=>{f.style.transition="",t.show()}))}}});a.Carousel=a.Carousel||{},a.Carousel.on=ft(((e=t.options.Carousel)===null||e===void 0?void 0:e.on)||{},{click:this.onClick,createSlide:this.onCreateSlide}),s.options.Thumbs=a,s.attachPlugins({Thumbs:hh}),t.ref=s.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=Cn.Hidden,t.hidden=!0)}onResize(){var e;const t=(e=this.ref)===null||e===void 0?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){const i=this.option("key");i&&i===t&&this.toggle()}toggle(){const e=this.ref;if(e&&!e.isDisabled())return e.state===Cn.Hidden?(e.state=Cn.Init,void e.build()):void(this.hidden?this.show():this.hide())}show(){const e=this.ref;if(!e||e.isDisabled())return;const t=e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(cd),t.classList.remove(ld),this.hidden=!1)}hide(){const e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add(ld),t.setAttribute(cd,"true")),this.hidden=!0}refresh(){const e=this.ref;if(!e||!e.state)return;const t=e.container,i=(t==null?void 0:t.firstChild)||null;t&&i&&i.childNodes.length&&(t.style.maxHeight=`${i.getBoundingClientRect().height}px`)}attach(){const e=this,t=e.instance;t.state===Ye.Init?t.on("Carousel.init",e.onInit):e.onInit(),t.on("resize",e.onResize),t.on("keydown",e.onKeydown)}detach(){var e;const t=this,i=t.instance;i.off("Carousel.init",t.onInit),i.off("resize",t.onResize),i.off("keydown",t.onKeydown),(e=i.carousel)===null||e===void 0||e.detachPlugins(["Thumbs"]),t.ref=null}}Object.defineProperty(ph,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Ym});const Ua={panLeft:{icon:'<svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg>',change:{panX:-100}},panRight:{icon:'<svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg>',change:{panX:100}},panUp:{icon:'<svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg>',change:{panY:-100}},panDown:{icon:'<svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg>',change:{panY:100}},zoomIn:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>',action:"zoomIn"},zoomOut:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"zoomOut"},toggle1to1:{icon:'<svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg>',action:"toggleZoom"},toggleZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"toggleZoom"},iterateZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"iterateZoom"},rotateCCW:{icon:'<svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg>',action:"rotateCCW"},rotateCW:{icon:'<svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg>',action:"rotateCW"},flipX:{icon:'<svg style="stroke-width: 1.3"><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg>',action:"flipX"},flipY:{icon:'<svg style="stroke-width: 1.3"><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg>',action:"flipY"},fitX:{icon:'<svg><path d="M4 12V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6M10 18H3M21 18h-7M6 15l-3 3 3 3M18 15l3 3-3 3"/></svg>',action:"fitX"},fitY:{icon:'<svg><path d="M12 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6M18 14v7M18 3v7M15 18l3 3 3-3M15 6l3-3 3 3"/></svg>',action:"fitY"},reset:{icon:'<svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg>',action:"reset"},toggleFS:{icon:'<svg><g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g></svg>',action:"toggleFS"}};var pi;(function(n){n[n.Init=0]="Init",n[n.Ready=1]="Ready",n[n.Disabled=2]="Disabled"})(pi||(pi={}));const Zm={absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>'},download:{tpl:'<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>'},prev:{tpl:'<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>'},next:{tpl:'<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>'},slideshow:{tpl:'<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},fullscreen:{tpl:'<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},thumbs:{tpl:'<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>'},close:{tpl:'<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>'}},parentEl:null},Qm={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},ud="has-toolbar",Ga="fancybox__toolbar";class gh extends zt{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:pi.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let i=this.option("display"),s=this.option("absolute"),o=this.option("enabled");if(o==="auto"){const p=this.instance.carousel;let h=0;if(p)for(const y of p.slides)(y.panzoom||y.type==="image")&&h++;h||(o=!1)}o||(i=void 0);let a=0;const d={left:[],middle:[],right:[]};if(i)for(const p of["left","middle","right"])for(const h of i[p]){const y=this.createEl(h);y&&((t=d[p])===null||t===void 0||t.push(y),a++)}let f=null;if(a&&(f=this.createContainer()),f){for(const[p,h]of Object.entries(d)){const y=document.createElement("div");K(y,Ga+"__column is-"+p);for(const w of h)y.appendChild(w);s!=="auto"||p!=="middle"||h.length||(s=!0),f.appendChild(y)}s===!0&&K(f,"is-absolute"),this.state=pi.Ready,this.onRefresh()}else this.state=pi.Disabled}onClick(e){var t,i;const s=this.instance,o=s.getSlide(),a=o==null?void 0:o.panzoom,d=e.target,f=d&&dt(d)?d.dataset:null;if(!f)return;if(f.fancyboxToggleThumbs!==void 0)return e.preventDefault(),e.stopPropagation(),void((t=s.plugins.Thumbs)===null||t===void 0||t.toggle());if(f.fancyboxToggleFullscreen!==void 0)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(f.fancyboxToggleSlideshow!==void 0){e.preventDefault(),e.stopPropagation();const y=(i=s.carousel)===null||i===void 0?void 0:i.plugins.Autoplay;let w=y.isActive;return a&&a.panMode==="mousemove"&&!w&&a.reset(),void(w?y.stop():y.start())}const p=f.panzoomAction,h=f.panzoomChange;if((h||p)&&(e.preventDefault(),e.stopPropagation()),h){let y={};try{y=JSON.parse(h)}catch(w){}a&&a.applyChange(y)}else p&&a&&a[p]&&a[p]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;const e=this.container;if(!e)return;const t=this.instance.getSlide();if(!t||t.state!==tt.Ready)return;const i=t&&!t.error&&t.panzoom;for(const a of e.querySelectorAll("[data-panzoom-action]"))i?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));let s=i&&i.canZoomIn(),o=i&&i.canZoomOut();for(const a of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))s?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));for(const a of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))o?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));for(const a of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){o||s?(a.removeAttribute("disabled"),a.removeAttribute("tabindex")):(a.setAttribute("disabled",""),a.setAttribute("tabindex","-1"));const d=a.querySelector("g");d&&(d.style.display=s?"":"none")}}onDone(e,t){var i;(i=t.panzoom)===null||i===void 0||i.on("afterTransform",()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()}),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){const e=this.instance.container;if(!e)return null;const t=this.option("parentEl")||e;let i=t.querySelector("."+Ga);return i||(i=document.createElement("div"),K(i,Ga),t.prepend(i)),i.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&K(e,ud),this.container=i,i}createEl(e){const t=this.instance,i=t.carousel;if(!i||e==="toggleFS"||e==="fullscreen"&&!ih())return null;let s=null;const o=i.slides.length||0;let a=0,d=0;for(const p of i.slides)(p.panzoom||p.type==="image")&&a++,(p.type==="image"||p.downloadSrc)&&d++;if(o<2&&["infobar","prev","next"].includes(e))return s;if(Ua[e]!==void 0&&!a||e==="download"&&!d)return null;if(e==="thumbs"){const p=t.plugins.Thumbs;if(!p||!p.isEnabled)return null}if(e==="slideshow"&&(!i.plugins.Autoplay||o<2))return null;if(Ua[e]!==void 0){const p=Ua[e];s=document.createElement("button"),s.setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),K(s,"f-button"),p.action&&(s.dataset.panzoomAction=p.action),p.change&&(s.dataset.panzoomChange=JSON.stringify(p.change)),s.appendChild(en(this.instance.localize(p.icon)))}else{const p=(this.option("items")||[])[e];p&&(s=en(this.instance.localize(p.tpl)),typeof p.click=="function"&&s.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation(),typeof p.click=="function"&&p.click.call(this,this,h)}))}const f=s==null?void 0:s.querySelector("svg");if(f)for(const[p,h]of Object.entries(Qm))f.getAttribute(p)||f.setAttribute(p,String(h));return s}removeContainer(){const e=this.container;e&&e.remove(),this.container=null,this.state=pi.Disabled;const t=this.instance.container;t&&ye(t,ud)}attach(){const e=this,t=e.instance;t.on("Carousel.initSlides",e.onReady),t.on("done",e.onDone),t.on(["reveal","Carousel.change"],e.onChange),e.onReady(e.instance)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlides",e.onReady),t.off("done",e.onDone),t.off(["reveal","Carousel.change"],e.onChange),e.removeContainer()}}Object.defineProperty(gh,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Zm});const Xm={Hash:class extends zt{onReady(){yr=!1}onChange(n){di&&clearTimeout(di);const{hash:e}=rh(),{hash:t}=Xs(),i=n.isOpeningSlide(n.getSlide());i&&(id=t===e?"":t),e&&e!==t&&(di=setTimeout(()=>{try{if(n.state===Ye.Ready){let s="replaceState";i&&!Cs&&(s="pushState",Cs=!0),window.history[s]({},document.title,window.location.pathname+window.location.search+e)}}catch(s){}},300))}onClose(n){if(di&&clearTimeout(di),!yr&&Cs)return Cs=!1,yr=!1,void window.history.back();if(!yr)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(id||""))}catch(e){}}attach(){const n=this.instance;n.on("ready",this.onReady),n.on(["Carousel.ready","Carousel.change"],this.onChange),n.on("close",this.onClose)}detach(){const n=this.instance;n.off("ready",this.onReady),n.off(["Carousel.ready","Carousel.change"],this.onChange),n.off("close",this.onClose)}static parseURL(){return Xs()}static startFromUrl(){sh()}static destroy(){window.removeEventListener("hashchange",ah,!1)}},Html:ch,Images:lh,Slideshow:dh,Thumbs:ph,Toolbar:gh},dd="with-fancybox",qa="hide-scrollbar",fd="--fancybox-scrollbar-compensate",hd="--fancybox-body-margin",Ya="aria-hidden",Za="is-using-tab",Qa="is-animated",pd="is-compact",gd="is-loading",Xa="is-opening",Ts="has-caption",Bi="disabled",si="tabindex",md="download",Ja="href",Fi="src",Nn=n=>typeof n=="string",vd=function(){var n=window.getSelection();return!!n&&n.type==="Range"};let Ot,Mt=null,oi=null,bd=0,yd=0,wd=0,_d=0;const zi=new Map;let Jm=0;class pe extends Fl{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(e=[],t={},i={}){super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"startedFs",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Ye.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Ot||(Ot=ih()),this.id=t.id||++Jm,zi.set(this.id,this),this.userSlides=e,this.userPlugins=i,queueMicrotask(()=>{this.init()})}init(){if(this.state===Ye.Destroy)return;this.state=Ye.Init,this.attachPlugins(Object.assign(Object.assign({},pe.Plugins),this.userPlugins)),this.emit("init"),this.emit("attachPlugins"),this.option("hideScrollbar")===!0&&(()=>{if(!wr)return;const t=document,i=t.body,s=t.documentElement;if(i.classList.contains(qa))return;let o=window.innerWidth-s.getBoundingClientRect().width;const a=parseFloat(window.getComputedStyle(i).marginRight);o<0&&(o=0),s.style.setProperty(fd,`${o}px`),a&&i.style.setProperty(hd,`${a}px`),i.classList.add(qa)})(),this.initLayout(),this.scale();const e=()=>{this.initCarousel(this.userSlides),this.state=Ye.Ready,this.attachEvents(),this.emit("ready"),setTimeout(()=>{this.container&&this.container.setAttribute(Ya,"false")},16)};this.option("Fullscreen.autoStart")&&Ot&&!Ot.isFullscreen()?Ot.request().then(()=>{this.startedFs=!0,e()}).catch(()=>e()):e()}initLayout(){var e,t;const i=this.option("parentEl")||document.body,s=en(this.localize(this.option("tpl.main")||""));if(s){if(s.setAttribute("id",`fancybox-${this.id}`),s.setAttribute("aria-label",this.localize("{{MODAL}}")),s.classList.toggle(pd,this.isCompact),K(s,this.option("mainClass")||""),K(s,Xa),this.container=s,this.footer=s.querySelector(".fancybox__footer"),i.appendChild(s),K(document.documentElement,dd),Mt&&oi||(Mt=document.createElement("span"),K(Mt,"fancybox-focus-guard"),Mt.setAttribute(si,"0"),Mt.setAttribute(Ya,"true"),Mt.setAttribute("aria-label","Focus guard"),oi=Mt.cloneNode(),(e=s.parentElement)===null||e===void 0||e.insertBefore(Mt,s),(t=s.parentElement)===null||t===void 0||t.append(oi)),s.addEventListener("mousedown",o=>{bd=o.pageX,yd=o.pageY,ye(s,Za)}),this.option("closeExisting"))for(const o of zi.values())o.id!==this.id&&o.close();else this.option("animated")&&(K(s,Qa),setTimeout(()=>{this.isClosing()||ye(s,Qa)},350));this.emit("initLayout")}}initCarousel(e){const t=this.container;if(!t)return;const i=t.querySelector(".fancybox__carousel");if(!i)return;const s=this.carousel=new Vs(i,ft({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));s.on("*",(o,a,...d)=>{this.emit(`Carousel.${a}`,o,...d)}),s.on(["ready","change"],()=>{this.manageCaption()}),this.on("Carousel.removeSlide",(o,a,d)=>{this.clearContent(d),d.state=void 0}),s.on("Panzoom.touchStart",()=>{var o,a;this.isCompact||this.endIdle(),!((o=document.activeElement)===null||o===void 0)&&o.closest(".f-thumbs")&&((a=this.container)===null||a===void 0||a.focus())}),s.on("settle",()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()}),this.option("dragToClose")&&(s.on("Panzoom.afterTransform",(o,a)=>{const d=this.getSlide();if(d&&wl(d.el))return;const f=this.container;if(f){const p=Math.abs(a.current.f),h=p<1?"":Math.max(.5,Math.min(1,1-p/a.contentRect.fitHeight*1.5));f.style.setProperty("--fancybox-ts",h?"0s":""),f.style.setProperty("--fancybox-opacity",h+"")}}),s.on("Panzoom.touchEnd",(o,a,d)=>{var f;const p=this.getSlide();if(p&&wl(p.el)||a.isMobile&&document.activeElement&&["TEXTAREA","INPUT"].indexOf((f=document.activeElement)===null||f===void 0?void 0:f.nodeName)!==-1)return;const h=Math.abs(a.dragOffset.y);a.lockedAxis==="y"&&(h>=200||h>=50&&a.dragOffset.time<300)&&(d&&d.cancelable&&d.preventDefault(),this.close(d,"f-throwOut"+(a.current.f<0?"Up":"Down")))})),s.on("change",o=>{var a;let d=(a=this.getSlide())===null||a===void 0?void 0:a.triggerEl;if(d){const f=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:o.page});d.dispatchEvent(f)}}),s.on(["refresh","change"],o=>{const a=this.container;if(!a)return;for(const p of a.querySelectorAll("[data-fancybox-current-index]"))p.innerHTML=o.page+1;for(const p of a.querySelectorAll("[data-fancybox-count]"))p.innerHTML=o.pages.length;if(!o.isInfinite){for(const p of a.querySelectorAll("[data-fancybox-next]"))o.page<o.pages.length-1?(p.removeAttribute(Bi),p.removeAttribute(si)):(p.setAttribute(Bi,""),p.setAttribute(si,"-1"));for(const p of a.querySelectorAll("[data-fancybox-prev]"))o.page>0?(p.removeAttribute(Bi),p.removeAttribute(si)):(p.setAttribute(Bi,""),p.setAttribute(si,"-1"))}const d=this.getSlide();if(!d)return;let f=d.downloadSrc||"";f||d.type!=="image"||d.error||!Nn(d[Fi])||(f=d[Fi]);for(const p of a.querySelectorAll("[data-fancybox-download]")){const h=d.downloadFilename;f?(p.removeAttribute(Bi),p.removeAttribute(si),p.setAttribute(Ja,f),p.setAttribute(md,h||f),p.setAttribute("target","_blank")):(p.setAttribute(Bi,""),p.setAttribute(si,"-1"),p.removeAttribute(Ja),p.removeAttribute(md))}}),this.emit("initCarousel")}attachEvents(){const e=this,t=e.container;if(!t)return;t.addEventListener("click",e.onClick,{passive:!1,capture:!1}),t.addEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",e.onVisibilityChange,!1),document.addEventListener("mousemove",e.onMousemove),e.option("trapFocus")&&document.addEventListener("focus",e.onFocus,!0),window.addEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.addEventListener("scroll",e.onResize),i.addEventListener("resize",e.onResize))}detachEvents(){const e=this,t=e.container;if(!t)return;document.removeEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),t.removeEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),t.removeEventListener("click",e.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",e.onMousemove),window.removeEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.removeEventListener("resize",e.onResize),i.removeEventListener("scroll",e.onResize)),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),document.removeEventListener("focus",e.onFocus,!0)}scale(){const e=this.container;if(!e)return;const t=window.visualViewport,i=Math.max(1,(t==null?void 0:t.scale)||1);let s="",o="",a="";if(t&&i>1){let d=`${t.offsetLeft}px`,f=`${t.offsetTop}px`;s=t.width*i+"px",o=t.height*i+"px",a=`translate3d(${d}, ${f}, 0) scale(${1/i})`}e.style.transform=a,e.style.width=s,e.style.height=o}onClick(e){var t;const{container:i,isCompact:s}=this;if(!i||this.isClosing())return;!s&&this.option("idle")&&this.resetIdle();const o=e.composedPath()[0];if(o.closest(".fancybox-spinner")||o.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(o.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(o.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if(e.type==="click"&&e.detail===0||Math.abs(e.pageX-bd)>30||Math.abs(e.pageY-yd)>30)return;const a=document.activeElement;if(vd()&&a&&i.contains(a))return;if(s&&((t=this.getSlide())===null||t===void 0?void 0:t.type)==="image")return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout(()=>{this.toggleIdle(),this.clickTimer=null},350));if(this.emit("click",e),e.defaultPrevented)return;let d=!1;if(o.closest(".fancybox__content")){if(a){if(a.closest("[contenteditable]"))return;o.matches(za)||a.blur()}if(vd())return;d=this.option("contentClick")}else o.closest(".fancybox__carousel")&&!o.matches(za)&&(d=this.option("backdropClick"));d==="close"?(e.preventDefault(),this.close(e)):d==="next"?(e.preventDefault(),this.next()):d==="prev"&&(e.preventDefault(),this.prev())}onWheel(e){const t=e.target;let i=this.option("wheel",e);t.closest(".fancybox__thumbs")&&(i="slide");const s=i==="slide",o=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(f,p){return Math.abs(p)>Math.abs(f)?p:f}),a=Math.max(-1,Math.min(1,o)),d=Date.now();this.pwt&&d-this.pwt<300?s&&e.preventDefault():(this.pwt=d,this.emit("wheel",e,a),e.defaultPrevented||(i==="close"?(e.preventDefault(),this.close(e)):i==="slide"&&(Zs(t)||(e.preventDefault(),this[a>0?"prev":"next"]()))))}onScroll(){window.scrollTo(wd,_d)}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();const t=e.key,i=this.option("keyboard");if(!i)return;const s=e.composedPath()[0],o=document.activeElement&&document.activeElement.classList,a=o&&o.contains("f-button")||s.dataset.carouselPage||s.dataset.carouselIndex;if(t!=="Escape"&&!a&&dt(s)&&(s.isContentEditable||["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(s.nodeName)!==-1)||(e.key==="Tab"?K(this.container,Za):ye(this.container,Za),e.ctrlKey||e.altKey||e.shiftKey))return;this.emit("keydown",t,e);const d=i[t];d&&typeof this[d]=="function"&&(e.preventDefault(),this[d]())}onResize(){const e=this.container;if(!e)return;const t=this.isCompact;e.classList.toggle(pd,t),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){document.visibilityState==="visible"?this.checkFocus():this.endIdle()}manageCloseBtn(e){const t=this.optionFor(e,"closeButton")||!1;if(t==="auto"){const s=this.plugins.Toolbar;if(s&&s.state===pi.Ready)return}if(!t||!e.contentEl||e.closeBtnEl)return;const i=this.option("tpl.closeButton");if(i){const s=en(this.localize(i));e.closeBtnEl=e.contentEl.appendChild(s),e.el&&K(e.el,"has-close-btn")}}manageCaption(e=void 0){var t,i;const s="fancybox__caption",o=this.container;if(!o)return;ye(o,Ts);const a=this.isCompact||this.option("commonCaption"),d=!a;if(this.caption&&this.stop(this.caption),d&&this.caption&&(this.caption.remove(),this.caption=null),a&&!this.caption)for(const y of((t=this.carousel)===null||t===void 0?void 0:t.slides)||[])y.captionEl&&(y.captionEl.remove(),y.captionEl=void 0,ye(y.el,Ts),(i=y.el)===null||i===void 0||i.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||a&&!this.isCurrentSlide(e))return;const f=e.el;let p=this.optionFor(e,"caption","");if(!p)return void(a&&this.caption&&this.animate(this.caption,"f-fadeOut",()=>{this.caption&&(this.caption.innerHTML="")}));let h=null;if(d){if(h=e.captionEl||null,f&&!h){const y=s+`_${this.id}_${e.index}`;h=document.createElement("div"),K(h,s),h.setAttribute("id",y),e.captionEl=f.appendChild(h),K(f,Ts),f.setAttribute("aria-labelledby",y)}}else h=this.caption,h||(h=o.querySelector("."+s)),!h&&(h=document.createElement("div"),h.dataset.fancyboxCaption="",K(h,s),(this.footer||o).prepend(h)),K(o,Ts),this.caption=h;h&&(h.innerHTML="",Nn(p)||typeof p=="number"?h.innerHTML=p+"":p instanceof HTMLElement&&h.appendChild(p))}checkFocus(e){this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;const i=document.activeElement||null,s=(e==null?void 0:e.target)||null,o=this.container,a=(t=this.carousel)===null||t===void 0?void 0:t.viewport;if(!o||!a||!e&&i&&o.contains(i))return;const d=this.getSlide(),f=d&&d.state===tt.Ready?d.el:null;if(!f||f.contains(i)||o===i)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;const p=Array.from(o.querySelectorAll(za));let h=[],y=null;for(let v of p){const C=!v.offsetParent||!!v.closest('[aria-hidden="true"]'),x=f&&f.contains(v),S=!a.contains(v);if(v===o||(x||S)&&!C){h.push(v);const D=v.dataset.origTabindex;D!==void 0&&D&&(v.tabIndex=parseFloat(D)),v.removeAttribute("data-orig-tabindex"),!v.hasAttribute("autoFocus")&&y||(y=v)}else{const D=v.dataset.origTabindex===void 0?v.getAttribute("tabindex")||"":v.dataset.origTabindex;D&&(v.dataset.origTabindex=D),v.tabIndex=-1}}let w=null;e?(!s||h.indexOf(s)<0)&&(w=y||o,h.length&&(i===oi?w=h[0]:this.lastFocus!==o&&i!==Mt||(w=h[h.length-1]))):w=d&&d.type==="image"?o:y||o,w&&nd(w),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){const e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){const e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(...e){this.carousel&&this.carousel.slideTo(...e)}isTopmost(){var e;return((e=pe.getInstance())===null||e===void 0?void 0:e.id)==this.id}animate(e=null,t="",i){if(!e||!t)return void(i&&i());this.stop(e);const s=o=>{o.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",s),delete e.dataset.animationName,i&&i(),ye(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",s),K(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e,t="",i=!0){if(this.isClosing())return;const s=e.el;if(!s)return;let o=null;if(dt(t)?o=t:(o=en(t+""),dt(o)||(o=document.createElement("div"),o.innerHTML=t+"")),["img","picture","iframe","video","audio"].includes(o.nodeName.toLowerCase())){const a=document.createElement("div");a.appendChild(o),o=a}dt(o)&&e.filter&&!e.error&&(o=o.querySelector(e.filter)),o&&dt(o)?(K(o,"fancybox__content"),e.id&&o.setAttribute("id",e.id),s.classList.add(`has-${e.error?"error":e.type||"unknown"}`),s.prepend(o),o.style.display==="none"&&(o.style.display=""),getComputedStyle(o).getPropertyValue("display")==="none"&&(o.style.display=e.display||this.option("defaultDisplay")||"flex"),e.contentEl=o,i&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){const i=e.el,s=e.contentEl;i&&s&&(this.emit("reveal",e),this.hideLoading(e),e.state=tt.Opening,(t=this.isOpeningSlide(e)?t===void 0?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(s,t,()=>{this.done(e)}):this.done(e))}done(e){this.isClosing()||(e.state=tt.Ready,this.emit("done",e),K(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask(()=>{var t;(t=e.panzoom)===null||t===void 0||t.updateControls(),this.option("autoFocus")&&this.focus()}),this.isOpeningSlide(e)&&(ye(this.container,Xa),!this.isCompact&&this.option("idle")&&this.setIdle()))}isCurrentSlide(e){const t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,i;return((t=this.carousel)===null||t===void 0?void 0:t.prevPage)===null&&e&&e.index===((i=this.getSlide())===null||i===void 0?void 0:i.index)}showLoading(e){e.state=tt.Loading;const t=e.el;t&&(K(t,gd),this.emit("loading",e),e.spinnerEl||setTimeout(()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===tt.Loading){let i=en(zl);K(i,"fancybox-spinner"),e.spinnerEl=i,t.prepend(i),this.animate(i,"f-fadeIn")}},250))}hideLoading(e){const t=e.el;if(!t)return;const i=e.spinnerEl;this.isClosing()?i==null||i.remove():(ye(t,gd),i&&this.animate(i,"f-fadeOut",()=>{i.remove()}),e.state===tt.Loading&&(this.emit("loaded",e),e.state=tt.Ready))}setError(e,t){if(this.isClosing())return;const i=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",i,e),i.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);const s=document.createElement("div");s.classList.add("fancybox-error"),s.innerHTML=this.localize(t||"<p>{{ERROR}}</p>"),this.setContent(e,s)}clearContent(e){if(e.state===void 0)return;this.emit("clearContent",e),e.contentEl&&(e.contentEl.remove(),e.contentEl=void 0);const t=e.el;t&&(ye(t,"has-error"),ye(t,"has-unknown"),ye(t,`has-${e.type||"unknown"}`)),e.closeBtnEl&&e.closeBtnEl.remove(),e.closeBtnEl=void 0,e.captionEl&&e.captionEl.remove(),e.captionEl=void 0,e.spinnerEl&&e.spinnerEl.remove(),e.spinnerEl=void 0}getSlide(){var e;const t=this.carousel;return((e=t==null?void 0:t.pages[t==null?void 0:t.page])===null||e===void 0?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const i=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",i,e),i.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const s=()=>{this.proceedClose(e,t)};this.startedFs&&Ot&&Ot.isFullscreen()?Promise.resolve(Ot.exit()).then(()=>s()):s()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(e=!1){const t=()=>{this.clearIdle(),this.idle=!0,K(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const i=this.option("idle");i&&(this.idleTimer=setTimeout(t,i))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,ye(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){Ot&&(Ot.isFullscreen()?Ot.exit():Ot.request().then(()=>{this.startedFs=!0}))}isClosing(){return[Ye.Closing,Ye.CustomClosing,Ye.Destroy].includes(this.state)}proceedClose(e,t){var i,s;this.state=Ye.Closing,this.clearIdle(),this.detachEvents();const o=this.container,a=this.carousel,d=this.getSlide(),f=d&&this.option("placeFocusBack")?d.triggerEl||this.option("triggerEl"):null;if(f&&(nh(f)?nd(f):f.focus()),o&&(ye(o,Xa),K(o,"is-closing"),o.setAttribute(Ya,"true"),this.option("animated")&&K(o,Qa),o.style.pointerEvents="none"),a){a.clearTransitions(),(i=a.panzoom)===null||i===void 0||i.destroy(),(s=a.plugins.Navigation)===null||s===void 0||s.detach();for(const p of a.slides){p.state=tt.Closing,this.hideLoading(p);const h=p.contentEl;h&&this.stop(h);const y=p==null?void 0:p.panzoom;y&&(y.stop(),y.detachEvents(),y.detachObserver()),this.isCurrentSlide(p)||a.emit("removeSlide",p)}}wd=window.scrollX,_d=window.scrollY,window.addEventListener("scroll",this.onScroll),this.emit("close",e),this.state!==Ye.CustomClosing?(t===void 0&&d&&(t=this.optionFor(d,"hideClass")),t&&d?(this.animate(d.contentEl,t,()=>{a&&a.emit("removeSlide",d)}),setTimeout(()=>{this.destroy()},500)):this.destroy()):setTimeout(()=>{this.destroy()},500)}destroy(){var e;if(this.state===Ye.Destroy)return;window.removeEventListener("scroll",this.onScroll),this.state=Ye.Destroy,(e=this.carousel)===null||e===void 0||e.destroy();const t=this.container;t&&t.remove(),zi.delete(this.id);const i=pe.getInstance();i?i.focus():(Mt&&(Mt.remove(),Mt=null),oi&&(oi.remove(),oi=null),ye(document.documentElement,dd),(()=>{if(!wr)return;const s=document,o=s.body;o.classList.remove(qa),o.style.setProperty(hd,""),s.documentElement.style.setProperty(fd,"")})(),this.emit("destroy"))}static bind(e,t,i){if(!wr)return;let s,o="",a={};if(e===void 0?s=document.body:Nn(e)?(s=document.body,o=e,typeof t=="object"&&(a=t||{})):(s=e,Nn(t)&&(o=t),typeof i=="object"&&(a=i||{})),!s||!dt(s))return;o=o||"[data-fancybox]";const d=pe.openers.get(s)||new Map;d.set(o,a),pe.openers.set(s,d),d.size===1&&s.addEventListener("click",pe.fromEvent)}static unbind(e,t){let i,s="";if(Nn(e)?(i=document.body,s=e):(i=e,Nn(t)&&(s=t)),!i)return;const o=pe.openers.get(i);o&&s&&o.delete(s),s&&o||(pe.openers.delete(i),i.removeEventListener("click",pe.fromEvent))}static destroy(){let e;for(;e=pe.getInstance();)e.destroy();for(const t of pe.openers.keys())t.removeEventListener("click",pe.fromEvent);pe.openers=new Map}static fromEvent(e){if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const i=t.closest("[data-fancybox-trigger]");if(i){const C=i.dataset.fancyboxTrigger||"",x=document.querySelectorAll(`[data-fancybox="${C}"]`),S=parseInt(i.dataset.fancyboxIndex||"",10)||0;t=x[S]||t}if(!(t&&t instanceof Element))return;let s,o,a,d;if([...pe.openers].reverse().find(([C,x])=>!(!C.contains(t)||![...x].reverse().find(([S,D])=>{let R=t.closest(S);return!!R&&(s=C,o=S,a=R,d=D,!0)}))),!s||!o||!a)return;d=d||{},e.preventDefault(),t=a;let f=[],p=ft({},Cl,d);p.event=e,p.triggerEl=t,p.delegate=i;const h=p.groupAll,y=p.groupAttr,w=y&&t?t.getAttribute(`${y}`):"";if((!t||w||h)&&(f=[].slice.call(s.querySelectorAll(o))),t&&!h&&(f=w?f.filter(C=>C.getAttribute(`${y}`)===w):[t]),!f.length)return;const v=pe.getInstance();return v&&v.options.triggerEl&&f.indexOf(v.options.triggerEl)>-1?void 0:(t&&(p.startIndex=f.indexOf(t)),pe.fromNodes(f,p))}static fromSelector(e,t,i){let s=null,o="",a={};if(Nn(e)?(s=document.body,o=e,typeof t=="object"&&(a=t||{})):e instanceof HTMLElement&&Nn(t)&&(s=e,o=t,typeof i=="object"&&(a=i||{})),!s||!o)return!1;const d=pe.openers.get(s);return!!d&&(a=ft({},d.get(o)||{},a),!!a&&pe.fromNodes(Array.from(s.querySelectorAll(o)),a))}static fromNodes(e,t){t=ft({},Cl,t||{});const i=[];for(const s of e){const o=s.dataset||{},a=o[Fi]||s.getAttribute(Ja)||s.getAttribute("currentSrc")||s.getAttribute(Fi)||void 0;let d;const f=t.delegate;let p;f&&i.length===t.startIndex&&(d=f instanceof HTMLImageElement?f:f.querySelector("img:not([aria-hidden])")),d||(d=s instanceof HTMLImageElement?s:s.querySelector("img:not([aria-hidden])")),d&&(p=d.currentSrc||d[Fi]||void 0,!p&&d.dataset&&(p=d.dataset.lazySrc||d.dataset[Fi]||void 0));const h={src:a,triggerEl:s,thumbEl:d,thumbElSrc:p,thumbSrc:p};for(const y in o){let w=o[y]+"";w=w!=="false"&&(w==="true"||w),h[y]=w}i.push(h)}return new pe(i,t)}static getInstance(e){return e?zi.get(e):Array.from(zi.values()).reverse().find(t=>!t.isClosing()&&t)||null}static getSlide(){var e;return((e=pe.getInstance())===null||e===void 0?void 0:e.getSlide())||null}static show(e=[],t={}){return new pe(e,t)}static next(){const e=pe.getInstance();e&&e.next()}static prev(){const e=pe.getInstance();e&&e.prev()}static close(e=!0,...t){if(e)for(const i of zi.values())i.close(...t);else{const i=pe.getInstance();i&&i.close(...t)}}}Object.defineProperty(pe,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(pe,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Cl}),Object.defineProperty(pe,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Xm}),Object.defineProperty(pe,"openers",{enumerable:!0,configurable:!0,writable:!0,value:new Map});function Km(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function Ds(n){return function(e){if(Array.isArray(e))return Ka(e)}(n)||function(e){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(e))return Array.from(e)}(n)||function(e,t){if(e){if(typeof e=="string")return Ka(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ka(e,t)}}(n)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ka(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}var Ld,el,ai,tl,Cd,Al=(Ld=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],el=function(){function n(i){var s=i.targetModal,o=i.triggers,a=o===void 0?[]:o,d=i.onShow,f=d===void 0?function(){}:d,p=i.onClose,h=p===void 0?function(){}:p,y=i.openTrigger,w=y===void 0?"data-micromodal-trigger":y,v=i.closeTrigger,C=v===void 0?"data-micromodal-close":v,x=i.openClass,S=x===void 0?"is-open":x,D=i.disableScroll,R=D!==void 0&&D,z=i.disableFocus,E=z!==void 0&&z,X=i.awaitCloseAnimation,V=X!==void 0&&X,W=i.awaitOpenAnimation,Z=W!==void 0&&W,me=i.debugMode,ce=me!==void 0&&me;(function(Se,Ae){if(!(Se instanceof Ae))throw new TypeError("Cannot call a class as a function")})(this,n),this.modal=document.getElementById(s),this.config={debugMode:ce,disableScroll:R,openTrigger:w,closeTrigger:C,openClass:S,onShow:f,onClose:h,awaitCloseAnimation:V,awaitOpenAnimation:Z,disableFocus:E},a.length>0&&this.registerTriggers.apply(this,Ds(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var e,t;return e=n,(t=[{key:"registerTriggers",value:function(){for(var i=this,s=arguments.length,o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];o.filter(Boolean).forEach(function(d){d.addEventListener("click",function(f){return i.showModal(f)})})}},{key:"showModal",value:function(){var i=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function a(){i.modal.removeEventListener("animationend",a,!1),i.setFocusToFirstNode()};this.modal.addEventListener("animationend",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,s)}},{key:"closeModal",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,i),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener("animationend",function a(){s.classList.remove(o),s.removeEventListener("animationend",a,!1)},!1)}else s.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(i){this.modal=document.getElementById(i),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(i){if(this.config.disableScroll){var s=document.querySelector("body");switch(i){case"enable":Object.assign(s.style,{overflow:""});break;case"disable":Object.assign(s.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(i){(i.target.hasAttribute(this.config.closeTrigger)||i.target.parentNode.hasAttribute(this.config.closeTrigger))&&(i.preventDefault(),i.stopPropagation(),this.closeModal(i))}},{key:"onKeydown",value:function(i){i.keyCode===27&&this.closeModal(i),i.keyCode===9&&this.retainFocus(i)}},{key:"getFocusableNodes",value:function(){var i=this.modal.querySelectorAll(Ld);return Array.apply(void 0,Ds(i))}},{key:"setFocusToFirstNode",value:function(){var i=this;if(!this.config.disableFocus){var s=this.getFocusableNodes();if(s.length!==0){var o=s.filter(function(a){return!a.hasAttribute(i.config.closeTrigger)});o.length>0&&o[0].focus(),o.length===0&&s[0].focus()}}}},{key:"retainFocus",value:function(i){var s=this.getFocusableNodes();if(s.length!==0)if(s=s.filter(function(a){return a.offsetParent!==null}),this.modal.contains(document.activeElement)){var o=s.indexOf(document.activeElement);i.shiftKey&&o===0&&(s[s.length-1].focus(),i.preventDefault()),!i.shiftKey&&s.length>0&&o===s.length-1&&(s[0].focus(),i.preventDefault())}else s[0].focus()}}])&&Km(e.prototype,t),n}(),ai=null,tl=function(n){if(!document.getElementById(n))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(n,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(n,'"></div>')),!1},Cd=function(n,e){if(function(i){i.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(n),!e)return!0;for(var t in e)tl(t);return!0},{init:function(n){var e=Object.assign({},{openTrigger:"data-micromodal-trigger"},n),t=Ds(document.querySelectorAll("[".concat(e.openTrigger,"]"))),i=function(a,d){var f=[];return a.forEach(function(p){var h=p.attributes[d].value;f[h]===void 0&&(f[h]=[]),f[h].push(p)}),f}(t,e.openTrigger);if(e.debugMode!==!0||Cd(t,i)!==!1)for(var s in i){var o=i[s];e.targetModal=s,e.triggers=Ds(o),ai=new el(e)}},show:function(n,e){var t=e||{};t.targetModal=n,t.debugMode===!0&&tl(n)===!1||(ai&&ai.removeEventListeners(),(ai=new el(t)).showModal())},close:function(n){n?ai.closeModalById(n):ai.closeModal()}});typeof window!="undefined"&&(window.MicroModal=Al);const ev={PANUP:"Posunout nahoru",PANDOWN:"Posunout dolů",PANLEFT:"Posunout vlevo",PANRIGHT:"Posunout vpravo",ZOOMIN:"Přiblížit",ZOOMOUT:"Oddálit",TOGGLEZOOM:"Přepnout úroveň přiblížení",TOGGLE1TO1:"Přepnout úroveň přiblížení",ITERATEZOOM:"Přepnout úroveň přiblížení",ROTATECCW:"Otočit směrem vlevo",ROTATECW:"Otočit směrem vpravo",FLIPX:"Převrátit vodorovně",FLIPY:"Převrátit svisle",FITX:"Přizpůsobit na šířku",FITY:"Přizpůsobit na výšku",RESET:"Resetovat",TOGGLEFS:"Režim celé obrazovky",CLOSE:"Zavřít",NEXT:"Další",PREV:"Předchozí",MODAL:"Toto okno lze zavřít klávesou ESC",ERROR:"Někde se stala chyba, zkuste to prosím znovu",IMAGE_ERROR:"Obrázek nenalezen",ELEMENT_NOT_FOUND:"HTML element nenalezen",AJAX_NOT_FOUND:"Chyba AJAX načítání: Nenalezeno",AJAX_FORBIDDEN:"Chyba AJAX načítání: Zamítnuto",IFRAME_ERROR:"Chyba načítání stránky",TOGGLE_ZOOM:"Přepnout úroveň přiblížení",TOGGLE_THUMBS:"Zobrazit/skrýt miniatury",TOGGLE_SLIDESHOW:"Spustit/zastavit automatické přehrávání",TOGGLE_FULLSCREEN:"Režim celé obrazovky",DOWNLOAD:"Stáhnout"};function Ie(n,e,t,i,s,o,a,d){var f=typeof n=="function"?n.options:n;return e&&(f.render=e,f.staticRenderFns=t,f._compiled=!0),{exports:n,options:f}}const tv={name:"AnimatedArrow",props:["mobileWidth","mobileHeight","desktopWidth","desktopHeight"],mounted:function(){let n=!1;const e=()=>{n=!n,n?(this.$refs.arrowDesktop.style.fill="#fff",this.$refs.arrowMobile.style.fill="#fff"):(this.$refs.arrowDesktop.style.fill="#fec900",this.$refs.arrowMobile.style.fill="#fec900")};window.setInterval(e,750)}};var nv=function(){var e=this,t=e._self._c;return t("div",[t("svg",{staticClass:"xl:hidden block",attrs:{width:e.mobileWidth,height:e.mobileHeight,viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{id:"Icon / Placeholder"}},[t("path",{ref:"arrowMobile",staticClass:"arrow-icon",staticStyle:{transition:"fill 0.75s"},attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])]),t("svg",{staticClass:"xl:block hidden",attrs:{width:e.desktopWidth,height:e.desktopHeight,viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{id:"Icon / Placeholder"}},[t("path",{ref:"arrowDesktop",staticClass:"arrow-icon",staticStyle:{transition:"fill 0.75s"},attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])])])},iv=[],rv=Ie(tv,nv,iv);const sv=rv.exports,ov={props:{name:{type:String,default:"Kalendář"},events:{type:Array,required:!0},onShowMore:{type:Function,required:!1},hasMore:{type:Boolean,default:!0},showBanner:{type:Boolean,default:!0}},filters:{dateDay:n=>`${new Date(n).getDate()}.`}};var av=function(){var e=this,t=e._self._c;return t("div",{staticClass:"calendar grid grid-cols-4"},[e.showBanner?t("div",{staticClass:"col-span-4 xl:col-span-1"},[t("aside",{staticClass:"banner bg-orange-300 text-white h-full"},[t("i",{staticClass:"ico--calendar banner__icon"}),t("div",{staticClass:"banner__body"},[t("h1",{staticClass:"head-alt-md banner__cta"},[e._v(e._s(e.name))]),e.onShowMore&&e.hasMore?t("button",{staticClass:"btn btn--white btn--fullwidth sm:btn--autowidth mt-8",on:{click:function(i){return e.onShowMore()}}},[t("div",{staticClass:"btn__body"},[e._v("Zobrazit další")])]):e._e()])])]):e._e(),t("div",{class:{"col-span-4 xl:col-span-3":e.showBanner,"col-span-4":!e.showBanner}},e._l(e.events,function(i){return t("div",{key:i.id,staticClass:"grid grid-cols-12 items-center calendar-table-row",class:{"calendar-table-row--standalone":!e.showBanner}},[t("div",{staticClass:"col-span-2 text-orange-300 head-alt-md calendar-table-row__col"},[t("span",[e._v(e._s(e._f("dateDay")(i.startTimestamp)))])]),t("div",{staticClass:"col-span-8 grid grid-cols-3 col-gap-4 calendar-table-row__col",class:{"calendar-table-row__col--norborder":!i.mapLink}},[t("div",{staticClass:"col-span-3 md:col-span-1"},[t("strong",{staticClass:"block"},[e._v(e._s(i.startDateVerbose))]),t("p",{staticClass:"font-light text-sm mt-1"},[e._v(e._s(i.allDay?"Celý den":i.startTimeVerbose))])]),t("div",{staticClass:"col-span-3 md:col-span-2 mt-4 md:mt-0"},[i.link?t("a",{staticClass:"font-bold block",attrs:{href:i.link,target:"_blank",rel:"noreferrer noopener"}},[e._v(e._s(i.title))]):e._e(),i.link?e._e():t("strong",{staticClass:"block"},[e._v(e._s(i.title))]),i.description?t("p",{staticClass:"font-light text-sm mt-1"},[e._v(e._s(i.description))]):e._e()])]),t("div",{staticClass:"col-span-2 text-center font-light calendar-table-row__col"},[i.mapLink?t("a",{staticClass:"icon-link",attrs:{href:i.mapLink}},[t("i",{staticClass:"ico--location text-violet-300 mr-1",attrs:{"aria-hidden":"true"}}),t("span",[e._v("Mapa")])]):e._e()])])}),0)])},lv=[],cv=Ie(ov,av,lv);const uv=cv.exports,Ad=[{id:2,start:"2020-07-08T10:00:00.000Z",startTimestamp:new Date("2020-07-08T10:00:00.000Z").getTime(),startDateVerbose:"středa 8. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-08T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MDhUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:15,start:"2020-07-13T19:00:00.000Z",startTimestamp:new Date("2020-07-13T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 13. července 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-13T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcxM1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:3,start:"2020-07-15T10:00:00.000Z",startTimestamp:new Date("2020-07-15T10:00:00.000Z").getTime(),startDateVerbose:"středa 15. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-15T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MTVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn",mapLink:"https://maps.google.com"},{id:16,start:"2020-07-20T19:00:00.000Z",startTimestamp:new Date("2020-07-20T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 20. července 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-20T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcyMFQxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:4,start:"2020-07-22T10:00:00.000Z",startTimestamp:new Date("2020-07-22T10:00:00.000Z").getTime(),startDateVerbose:"středa 22. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-22T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MjJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:17,start:"2020-07-27T19:00:00.000Z",startTimestamp:new Date("2020-07-27T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 27. července 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-27T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcyN1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:5,start:"2020-07-29T10:00:00.000Z",startTimestamp:new Date("2020-07-29T10:00:00.000Z").getTime(),startDateVerbose:"středa 29. července 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-29T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MjlUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:18,start:"2020-08-03T19:00:00.000Z",startTimestamp:new Date("2020-08-03T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 3. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-03T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDgwM1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:6,start:"2020-08-05T10:00:00.000Z",startTimestamp:new Date("2020-08-05T10:00:00.000Z").getTime(),startDateVerbose:"středa 5. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-05T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MDVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],dv=[{id:19,start:"2020-08-10T19:00:00.000Z",startTimestamp:new Date("2020-08-10T19:00:00.000Z").getTime(),startDateVerbose:"pondělí 10. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-10T19:30:00.000Z",title:"Mumble - předsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDgxMFQxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:7,start:"2020-08-12T10:00:00.000Z",startTimestamp:new Date("2020-08-12T10:00:00.000Z").getTime(),startDateVerbose:"středa 12. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-12T11:00:00.000Z",title:"Pirátský oběd - Chrudim",description:"Pravidelné setkání pirátů při středečním obědě. Nejen o politice a s chutí.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MTJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],fv={data:()=>({events:Ad,hasMore:!0}),methods:{onShowMore(){this.$data.events=[...Ad,...dv],this.$data.hasMore=!1}},render(){return this.$scopedSlots.default({events:this.events,hasMore:this.hasMore,onShowMore:this.onShowMore})}},hv=null,pv=null;var gv=Ie(fv,hv,pv);const mv=gv.exports,vv=10,bv={props:{calendarId:{type:String,required:!0},apiKey:{type:String,required:!0}},data(){return{events:[],toShow:7}},computed:{displayedEvents(){return this.events.slice(0,this.toShow)},hasMore(){return this.toShow<this.events.length}},methods:{onShowMore(){this.toShow+=vv},loadEventsFromStorage(){if(window.sessionStorage&&window.sessionStorage["__pircal_"+this.calendarId])return JSON.parse(window.sessionStorage["__pircal_"+this.calendarId])},storeEventsToStorage(){window.sessionStorage&&(window.sessionStorage["__pircal_"+this.calendarId]=JSON.stringify(this.events))}},mounted(){const n=this.loadEventsFromStorage();if(n)this.events=n;else{const e=new Date,t=e.toISOString(),i=new Date(+e+1e3*60*60*24*90).toISOString(),s=`https://www.googleapis.com/calendar/v3/calendars/${this.calendarId}/events?key=${encodeURIComponent(this.apiKey)}&maxResults=150&timeMin=${encodeURIComponent(t)}&timeMax=${encodeURIComponent(i)}&sanitizeHtml=true&singleEvents=true&maxAtendees=1`;let o=0;fetch(s).then(a=>{if(!a.ok)throw new Error("Problem loading events from google");return a.json()}).then(a=>{this.events=a.items.map(d=>{const f=new Date(d.start.dateTime||d.start.date),p=new Date(d.end.dateTime||d.end.date),h=f.toLocaleDateString("cs-CZ",{weekday:"long",year:"numeric",month:"long",day:"numeric"}),y=f.getHours()+":"+f.getMinutes().toString().padStart(2,"0"),w=!d.start.dateTime;return{id:o++,start:f,startTimestamp:f.getTime(),startDateVerbose:h,startTimeVerbose:y,allDay:w,end:p,title:d.summary,description:d.description,link:d.htmlLink}}).sort((d,f)=>d.start<f.start?-1:1),this.storeEventsToStorage()})}},render(){return this.$scopedSlots.default({events:this.displayedEvents,hasMore:this.hasMore,onShowMore:this.onShowMore})}},yv=null,wv=null;var _v=Ie(bv,yv,wv);const Lv=_v.exports;var go,te,mh,vh,qi,fi,Ed,bh,yh,Js={},wh=[],Cv=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function $n(n,e){for(var t in e)n[t]=e[t];return n}function _h(n){var e=n.parentNode;e&&e.removeChild(n)}function $(n,e,t){var i,s,o,a={};for(o in e)o=="key"?i=e[o]:o=="ref"?s=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?go.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(o in n.defaultProps)a[o]===void 0&&(a[o]=n.defaultProps[o]);return Ws(n,a,i,s,null)}function Ws(n,e,t,i,s){var o={type:n,props:e,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:s==null?++mh:s};return s==null&&te.vnode!=null&&te.vnode(o),o}function An(){return{current:null}}function ze(n){return n.children}function Av(n,e,t,i,s){var o;for(o in t)o==="children"||o==="key"||o in e||Ks(n,o,null,t[o],i);for(o in e)s&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||t[o]===e[o]||Ks(n,o,e[o],t[o],i)}function xd(n,e,t){e[0]==="-"?n.setProperty(e,t==null?"":t):n[e]=t==null?"":typeof t!="number"||Cv.test(e)?t:t+"px"}function Ks(n,e,t,i,s){var o;e:if(e==="style")if(typeof t=="string")n.style.cssText=t;else{if(typeof i=="string"&&(n.style.cssText=i=""),i)for(e in i)t&&e in t||xd(n.style,e,"");if(t)for(e in t)i&&t[e]===i[e]||xd(n.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?i||n.addEventListener(e,o?Td:Sd,o):n.removeEventListener(e,o?Td:Sd,o);else if(e!=="dangerouslySetInnerHTML"){if(s)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in n)try{n[e]=t==null?"":t;break e}catch(a){}typeof t=="function"||(t==null||t===!1&&e.indexOf("-")==-1?n.removeAttribute(e):n.setAttribute(e,t))}}function Sd(n){qi=!0;try{return this.l[n.type+!1](te.event?te.event(n):n)}finally{qi=!1}}function Td(n){qi=!0;try{return this.l[n.type+!0](te.event?te.event(n):n)}finally{qi=!1}}function Lt(n,e){this.props=n,this.context=e}function Dr(n,e){if(e==null)return n.__?Dr(n.__,n.__.__k.indexOf(n)+1):null;for(var t;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null)return t.__e;return typeof n.type=="function"?Dr(n):null}function Lh(n){var e,t;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null){n.__e=n.__c.base=t.__e;break}return Lh(n)}}function Ev(n){qi?setTimeout(n):bh(n)}function El(n){(!n.__d&&(n.__d=!0)&&fi.push(n)&&!eo.__r++||Ed!==te.debounceRendering)&&((Ed=te.debounceRendering)||Ev)(eo)}function eo(){var n,e,t,i,s,o,a,d;for(fi.sort(function(f,p){return f.__v.__b-p.__v.__b});n=fi.shift();)n.__d&&(e=fi.length,i=void 0,s=void 0,a=(o=(t=n).__v).__e,(d=t.__P)&&(i=[],(s=$n({},o)).__v=o.__v+1,Vl(d,o,s,t.__n,d.ownerSVGElement!==void 0,o.__h!=null?[a]:null,i,a==null?Dr(o):a,o.__h),Sh(i,o),o.__e!=a&&Lh(o)),fi.length>e&&fi.sort(function(f,p){return f.__v.__b-p.__v.__b}));eo.__r=0}function Ch(n,e,t,i,s,o,a,d,f,p){var h,y,w,v,C,x,S,D=i&&i.__k||wh,R=D.length;for(t.__k=[],h=0;h<e.length;h++)if((v=t.__k[h]=(v=e[h])==null||typeof v=="boolean"?null:typeof v=="string"||typeof v=="number"||typeof v=="bigint"?Ws(null,v,null,null,v):Array.isArray(v)?Ws(ze,{children:v},null,null,null):v.__b>0?Ws(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)!=null){if(v.__=t,v.__b=t.__b+1,(w=D[h])===null||w&&v.key==w.key&&v.type===w.type)D[h]=void 0;else for(y=0;y<R;y++){if((w=D[y])&&v.key==w.key&&v.type===w.type){D[y]=void 0;break}w=null}Vl(n,v,w=w||Js,s,o,a,d,f,p),C=v.__e,(y=v.ref)&&w.ref!=y&&(S||(S=[]),w.ref&&S.push(w.ref,null,v),S.push(y,v.__c||C,v)),C!=null?(x==null&&(x=C),typeof v.type=="function"&&v.__k===w.__k?v.__d=f=Ah(v,f,n):f=Eh(n,v,w,D,C,f),typeof t.type=="function"&&(t.__d=f)):f&&w.__e==f&&f.parentNode!=n&&(f=Dr(w))}for(t.__e=x,h=R;h--;)D[h]!=null&&(typeof t.type=="function"&&D[h].__e!=null&&D[h].__e==t.__d&&(t.__d=xh(i).nextSibling),Dh(D[h],D[h]));if(S)for(h=0;h<S.length;h++)Th(S[h],S[++h],S[++h])}function Ah(n,e,t){for(var i,s=n.__k,o=0;s&&o<s.length;o++)(i=s[o])&&(i.__=n,e=typeof i.type=="function"?Ah(i,e,t):Eh(t,i,i,s,i.__e,e));return e}function to(n,e){return e=e||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some(function(t){to(t,e)}):e.push(n)),e}function Eh(n,e,t,i,s,o){var a,d,f;if(e.__d!==void 0)a=e.__d,e.__d=void 0;else if(t==null||s!=o||s.parentNode==null)e:if(o==null||o.parentNode!==n)n.appendChild(s),a=null;else{for(d=o,f=0;(d=d.nextSibling)&&f<i.length;f+=1)if(d==s)break e;n.insertBefore(s,o),a=o}return a!==void 0?a:s.nextSibling}function xh(n){var e,t,i;if(n.type==null||typeof n.type=="string")return n.__e;if(n.__k){for(e=n.__k.length-1;e>=0;e--)if((t=n.__k[e])&&(i=xh(t)))return i}return null}function Vl(n,e,t,i,s,o,a,d,f){var p,h,y,w,v,C,x,S,D,R,z,E,X,V,W,Z=e.type;if(e.constructor!==void 0)return null;t.__h!=null&&(f=t.__h,d=e.__e=t.__e,e.__h=null,o=[d]),(p=te.__b)&&p(e);try{e:if(typeof Z=="function"){if(S=e.props,D=(p=Z.contextType)&&i[p.__c],R=p?D?D.props.value:p.__:i,t.__c?x=(h=e.__c=t.__c).__=h.__E:("prototype"in Z&&Z.prototype.render?e.__c=h=new Z(S,R):(e.__c=h=new Lt(S,R),h.constructor=Z,h.render=Sv),D&&D.sub(h),h.props=S,h.state||(h.state={}),h.context=R,h.__n=i,y=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),Z.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=$n({},h.__s)),$n(h.__s,Z.getDerivedStateFromProps(S,h.__s))),w=h.props,v=h.state,h.__v=e,y)Z.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(Z.getDerivedStateFromProps==null&&S!==w&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(S,R),!h.__e&&h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(S,h.__s,R)===!1||e.__v===t.__v){for(e.__v!==t.__v&&(h.props=S,h.state=h.__s,h.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach(function(me){me&&(me.__=e)}),z=0;z<h._sb.length;z++)h.__h.push(h._sb[z]);h._sb=[],h.__h.length&&a.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(S,h.__s,R),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(w,v,C)})}if(h.context=R,h.props=S,h.__P=n,E=te.__r,X=0,"prototype"in Z&&Z.prototype.render){for(h.state=h.__s,h.__d=!1,E&&E(e),p=h.render(h.props,h.state,h.context),V=0;V<h._sb.length;V++)h.__h.push(h._sb[V]);h._sb=[]}else do h.__d=!1,E&&E(e),p=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++X<25);h.state=h.__s,h.getChildContext!=null&&(i=$n($n({},i),h.getChildContext())),y||h.getSnapshotBeforeUpdate==null||(C=h.getSnapshotBeforeUpdate(w,v)),W=p!=null&&p.type===ze&&p.key==null?p.props.children:p,Ch(n,Array.isArray(W)?W:[W],e,t,i,s,o,a,d,f),h.base=e.__e,e.__h=null,h.__h.length&&a.push(h),x&&(h.__E=h.__=null),h.__e=!1}else o==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=xv(t.__e,e,t,i,s,o,a,f);(p=te.diffed)&&p(e)}catch(me){e.__v=null,(f||o!=null)&&(e.__e=d,e.__h=!!f,o[o.indexOf(d)]=null),te.__e(me,e,t)}}function Sh(n,e){te.__c&&te.__c(e,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(i){i.call(t)})}catch(i){te.__e(i,t.__v)}})}function xv(n,e,t,i,s,o,a,d){var f,p,h,y=t.props,w=e.props,v=e.type,C=0;if(v==="svg"&&(s=!0),o!=null){for(;C<o.length;C++)if((f=o[C])&&"setAttribute"in f==!!v&&(v?f.localName===v:f.nodeType===3)){n=f,o[C]=null;break}}if(n==null){if(v===null)return document.createTextNode(w);n=s?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,w.is&&w),o=null,d=!1}if(v===null)y===w||d&&n.data===w||(n.data=w);else{if(o=o&&go.call(n.childNodes),p=(y=t.props||Js).dangerouslySetInnerHTML,h=w.dangerouslySetInnerHTML,!d){if(o!=null)for(y={},C=0;C<n.attributes.length;C++)y[n.attributes[C].name]=n.attributes[C].value;(h||p)&&(h&&(p&&h.__html==p.__html||h.__html===n.innerHTML)||(n.innerHTML=h&&h.__html||""))}if(Av(n,w,y,s,d),h)e.__k=[];else if(C=e.props.children,Ch(n,Array.isArray(C)?C:[C],e,t,i,s&&v!=="foreignObject",o,a,o?o[0]:t.__k&&Dr(t,0),d),o!=null)for(C=o.length;C--;)o[C]!=null&&_h(o[C]);d||("value"in w&&(C=w.value)!==void 0&&(C!==n.value||v==="progress"&&!C||v==="option"&&C!==y.value)&&Ks(n,"value",C,y.value,!1),"checked"in w&&(C=w.checked)!==void 0&&C!==n.checked&&Ks(n,"checked",C,y.checked,!1))}return n}function Th(n,e,t){try{typeof n=="function"?n(e):n.current=e}catch(i){te.__e(i,t)}}function Dh(n,e,t){var i,s;if(te.unmount&&te.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||Th(i,null,e)),(i=n.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){te.__e(o,e)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(s=0;s<i.length;s++)i[s]&&Dh(i[s],e,t||typeof n.type!="function");t||n.__e==null||_h(n.__e),n.__=n.__e=n.__d=void 0}function Sv(n,e,t){return this.constructor(n,t)}function kr(n,e,t){var i,s,o;te.__&&te.__(n,e),s=(i=typeof t=="function")?null:e.__k,o=[],Vl(e,n=(!i&&t||e).__k=$(ze,null,[n]),s||Js,Js,e.ownerSVGElement!==void 0,!i&&t?[t]:s?null:e.firstChild?go.call(e.childNodes):null,o,!i&&t?t:s?s.__e:e.firstChild,i),Sh(o,n)}function Tv(n,e){var t={__c:e="__cC"+yh++,__:n,Consumer:function(i,s){return i.children(s)},Provider:function(i){var s,o;return this.getChildContext||(s=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&s.some(function(d){d.__e=!0,El(d)})},this.sub=function(a){s.push(a);var d=a.componentWillUnmount;a.componentWillUnmount=function(){s.splice(s.indexOf(a),1),d&&d.call(a)}}),i.children}};return t.Provider.__=t.Consumer.contextType=t}go=wh.slice,te={__e:function(n,e,t,i){for(var s,o,a;e=e.__;)if((s=e.__c)&&!s.__)try{if((o=s.constructor)&&o.getDerivedStateFromError!=null&&(s.setState(o.getDerivedStateFromError(n)),a=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(n,i||{}),a=s.__d),a)return s.__E=s}catch(d){n=d}throw n}},mh=0,vh=function(n){return n!=null&&n.constructor===void 0},qi=!1,Lt.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=$n({},this.state),typeof n=="function"&&(n=n($n({},t),this.props)),n&&$n(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),El(this))},Lt.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),El(this))},Lt.prototype.render=ze,fi=[],bh=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,eo.__r=0,yh=0;var Jt,nl,Dd,kh=[],il=[],kd=te.__b,Od=te.__r,Md=te.diffed,Rd=te.__c,Pd=te.unmount;function Dv(){for(var n;n=kh.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(Us),n.__H.__h.forEach(xl),n.__H.__h=[]}catch(e){n.__H.__h=[],te.__e(e,n.__v)}}te.__b=function(n){Jt=null,kd&&kd(n)},te.__r=function(n){Od&&Od(n);var e=(Jt=n.__c).__H;e&&(nl===Jt?(e.__h=[],Jt.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=il,t.__N=t.i=void 0})):(e.__h.forEach(Us),e.__h.forEach(xl),e.__h=[])),nl=Jt},te.diffed=function(n){Md&&Md(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(kh.push(e)!==1&&Dd===te.requestAnimationFrame||((Dd=te.requestAnimationFrame)||kv)(Dv)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==il&&(t.__=t.__V),t.i=void 0,t.__V=il})),nl=Jt=null},te.__c=function(n,e){e.some(function(t){try{t.__h.forEach(Us),t.__h=t.__h.filter(function(i){return!i.__||xl(i)})}catch(i){e.some(function(s){s.__h&&(s.__h=[])}),e=[],te.__e(i,t.__v)}}),Rd&&Rd(n,e)},te.unmount=function(n){Pd&&Pd(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach(function(i){try{Us(i)}catch(s){e=s}}),t.__H=void 0,e&&te.__e(e,t.__v))};var Id=typeof requestAnimationFrame=="function";function kv(n){var e,t=function(){clearTimeout(i),Id&&cancelAnimationFrame(e),setTimeout(n)},i=setTimeout(t,100);Id&&(e=requestAnimationFrame(t))}function Us(n){var e=Jt,t=n.__c;typeof t=="function"&&(n.__c=void 0,t()),Jt=e}function xl(n){var e=Jt;n.__c=n.__(),Jt=e}function Ov(n,e){for(var t in e)n[t]=e[t];return n}function Nd(n,e){for(var t in n)if(t!=="__source"&&!(t in e))return!0;for(var i in e)if(i!=="__source"&&n[i]!==e[i])return!0;return!1}function $d(n){this.props=n}($d.prototype=new Lt).isPureReactComponent=!0,$d.prototype.shouldComponentUpdate=function(n,e){return Nd(this.props,n)||Nd(this.state,e)};var jd=te.__b;te.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),jd&&jd(n)};var Mv=te.__e;te.__e=function(n,e,t,i){if(n.then){for(var s,o=e;o=o.__;)if((s=o.__c)&&s.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),s.__c(n,e)}Mv(n,e,t,i)};var Hd=te.unmount;function Oh(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),n.__c.__H=null),(n=Ov({},n)).__c!=null&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map(function(i){return Oh(i,e,t)})),n}function Mh(n,e,t){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(i){return Mh(i,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=t)),n}function rl(){this.__u=0,this.t=null,this.__b=null}function Rh(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function ks(){this.u=null,this.o=null}te.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&n.__h===!0&&(n.type=null),Hd&&Hd(n)},(rl.prototype=new Lt).__c=function(n,e){var t=e.__c,i=this;i.t==null&&(i.t=[]),i.t.push(t);var s=Rh(i.__v),o=!1,a=function(){o||(o=!0,t.__R=null,s?s(d):d())};t.__R=a;var d=function(){if(!--i.__u){if(i.state.__a){var p=i.state.__a;i.__v.__k[0]=Mh(p,p.__c.__P,p.__c.__O)}var h;for(i.setState({__a:i.__b=null});h=i.t.pop();)h.forceUpdate()}},f=e.__h===!0;i.__u++||f||i.setState({__a:i.__b=i.__v.__k[0]}),n.then(a,a)},rl.prototype.componentWillUnmount=function(){this.t=[]},rl.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=Oh(this.__b,t,i.__O=i.__P)}this.__b=null}var s=e.__a&&$(ze,null,n.fallback);return s&&(s.__h=null),[$(ze,null,e.__a?null:n.children),s]};var Bd=function(n,e,t){if(++t[1]===t[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(t=n.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;n.u=t=t[2]}};function Rv(n){return this.getChildContext=function(){return n.context},n.children}function Pv(n){var e=this,t=n.i;e.componentWillUnmount=function(){kr(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),n.__v?(e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(i){this.childNodes.push(i),e.i.appendChild(i)},insertBefore:function(i,s){this.childNodes.push(i),e.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),e.i.removeChild(i)}}),kr($(Rv,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function Iv(n,e){var t=$(Pv,{__v:n,i:e});return t.containerInfo=e,t}(ks.prototype=new Lt).__a=function(n){var e=this,t=Rh(e.__v),i=e.o.get(n);return i[0]++,function(s){var o=function(){e.props.revealOrder?(i.push(s),Bd(e,n,i)):s()};t?t(o):o()}},ks.prototype.render=function(n){this.u=null,this.o=new Map;var e=to(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return n.children},ks.prototype.componentDidUpdate=ks.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,t){Bd(n,t,e)})};var Nv=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,$v=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,jv=typeof document!="undefined",Hv=function(n){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};Lt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(Lt.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var Fd=te.event;function Bv(){}function Fv(){return this.cancelBubble}function zv(){return this.defaultPrevented}te.event=function(n){return Fd&&(n=Fd(n)),n.persist=Bv,n.isPropagationStopped=Fv,n.isDefaultPrevented=zv,n.nativeEvent=n};var zd={configurable:!0,get:function(){return this.class}},Vd=te.vnode;te.vnode=function(n){var e=n.type,t=n.props,i=t;if(typeof e=="string"){var s=e.indexOf("-")===-1;for(var o in i={},t){var a=t[o];jv&&o==="children"&&e==="noscript"||o==="value"&&"defaultValue"in t&&a==null||(o==="defaultValue"&&"value"in t&&t.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!Hv(t.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():s&&$v.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():a===null&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),i[o]&&(o="oninputCapture")),i[o]=a)}e=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=to(t.children).forEach(function(d){d.props.selected=i.value.indexOf(d.props.value)!=-1})),e=="select"&&i.defaultValue!=null&&(i.value=to(t.children).forEach(function(d){d.props.selected=i.multiple?i.defaultValue.indexOf(d.props.value)!=-1:i.defaultValue==d.props.value})),n.props=i,t.class!=t.className&&(zd.enumerable="className"in t,t.className!=null&&(i.class=t.className),Object.defineProperty(i,"className",zd))}n.$$typeof=Nv,Vd&&Vd(n)};var Wd=te.__r;te.__r=function(n){Wd&&Wd(n),n.__c};const Ph=[],Sl=new Map;function Ih(n){Ph.push(n),Sl.forEach(e=>{$h(e,n)})}function Vv(n){n.isConnected&&n.getRootNode&&Nh(n.getRootNode())}function Nh(n){let e=Sl.get(n);if(!e||!e.isConnected){if(e=n.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");const t=Uv();t&&(e.nonce=t);const i=n===document?document.head:n,s=n===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(e,s)}Sl.set(n,e),Wv(e)}}function Wv(n){for(const e of Ph)$h(n,e)}function $h(n,e){const{sheet:t}=n,i=t.cssRules.length;e.split("}").forEach((s,o)=>{s=s.trim(),s&&t.insertRule(s+"}",i+o)})}let sl;function Uv(){return sl===void 0&&(sl=Gv()),sl}function Gv(){const n=document.querySelector('meta[name="csp-nonce"]');if(n&&n.hasAttribute("content"))return n.getAttribute("content");const e=document.querySelector("script[nonce]");return e&&e.nonce||""}typeof document!="undefined"&&Nh(document);var qv=':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';Ih(qv);class Wl{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),e==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:i}=this;e in i&&(t?delete i[e]:(i[e]-=1,i[e]<=0&&delete i[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function Yv(n){n.parentNode&&n.parentNode.removeChild(n)}function Ln(n,e){if(n.closest)return n.closest(e);if(!document.documentElement.contains(n))return null;do{if(Zv(n,e))return n;n=n.parentElement||n.parentNode}while(n!==null&&n.nodeType===1);return null}function Zv(n,e){return(n.matches||n.matchesSelector||n.msMatchesSelector).call(n,e)}function Qv(n,e){let t=n instanceof HTMLElement?[n]:n,i=[];for(let s=0;s<t.length;s+=1){let o=t[s].querySelectorAll(e);for(let a=0;a<o.length;a+=1)i.push(o[a])}return i}const Xv=/(top|left|right|bottom|width|height)$/i;function Jv(n,e){for(let t in e)jh(n,t,e[t])}function jh(n,e,t){t==null?n.style[e]="":typeof t=="number"&&Xv.test(e)?n.style[e]=`${t}px`:n.style[e]=t}function Kv(n){var e,t;return(t=(e=n.composedPath)===null||e===void 0?void 0:e.call(n)[0])!==null&&t!==void 0?t:n.target}let Ud=0;function mo(){return Ud+=1,"fc-dom-"+Ud}function e1(n,e){return t=>{let i=Ln(t.target,n);i&&e.call(i,t,i)}}function Hh(n,e,t,i){let s=e1(t,i);return n.addEventListener(e,s),()=>{n.removeEventListener(e,s)}}function t1(n,e,t,i){let s;return Hh(n,"mouseover",e,(o,a)=>{if(a!==s){s=a,t(o,a);let d=f=>{s=null,i(f,a),a.removeEventListener("mouseleave",d)};a.addEventListener("mouseleave",d)}})}function Bh(n){return Object.assign({onClick:n},Fh(n))}function Fh(n){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(n(e),e.preventDefault())}}}let Gd=0;function wi(){return Gd+=1,String(Gd)}function n1(n){let e=[],t=[],i,s;for(typeof n=="string"?t=n.split(/\s*,\s*/):typeof n=="function"?t=[n]:Array.isArray(n)&&(t=n),i=0;i<t.length;i+=1)s=t[i],typeof s=="string"?e.push(s.charAt(0)==="-"?{field:s.substring(1),order:-1}:{field:s,order:1}):typeof s=="function"&&e.push({func:s});return e}function i1(n,e,t){let i,s;for(i=0;i<t.length;i+=1)if(s=r1(n,e,t[i]),s)return s;return 0}function r1(n,e,t){return t.func?t.func(n,e):s1(n[t.field],e[t.field])*(t.order||1)}function s1(n,e){return!n&&!e?0:e==null?-1:n==null?1:typeof n=="string"||typeof e=="string"?String(n).localeCompare(String(e)):n-e}function ol(n,e){let t=String(n);return"000".substr(0,e-t.length)+t}function _r(n,e,t){return typeof n=="function"?n(...e):typeof n=="string"?e.reduce((i,s,o)=>i.replace("$"+o,s||""),n):t}function al(n){return n%1===0}function o1(n){let e=n.querySelector(".fc-scrollgrid-shrink-frame"),t=n.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!t)throw new Error("needs fc-scrollgrid-shrink-cushion className");return n.getBoundingClientRect().width-e.getBoundingClientRect().width+t.getBoundingClientRect().width}const a1=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Ee(n,e){return typeof n=="string"?l1(n):typeof n=="object"&&n?qd(n):typeof n=="number"?qd({[e||"milliseconds"]:n}):null}function l1(n){let e=a1.exec(n);if(e){let t=e[1]?-1:1;return{years:0,months:0,days:t*(e[2]?parseInt(e[2],10):0),milliseconds:t*((e[3]?parseInt(e[3],10):0)*60*60*1e3+(e[4]?parseInt(e[4],10):0)*60*1e3+(e[5]?parseInt(e[5],10):0)*1e3+(e[6]?parseInt(e[6],10):0))}}return null}function qd(n){let e={years:n.years||n.year||0,months:n.months||n.month||0,days:n.days||n.day||0,milliseconds:(n.hours||n.hour||0)*60*60*1e3+(n.minutes||n.minute||0)*60*1e3+(n.seconds||n.second||0)*1e3+(n.milliseconds||n.millisecond||n.ms||0)},t=n.weeks||n.week;return t&&(e.days+=t*7,e.specifiedWeeks=!0),e}function c1(n,e){return n.years===e.years&&n.months===e.months&&n.days===e.days&&n.milliseconds===e.milliseconds}function u1(n,e){return{years:n.years-e.years,months:n.months-e.months,days:n.days-e.days,milliseconds:n.milliseconds-e.milliseconds}}function d1(n){return Ui(n)/365}function f1(n){return Ui(n)/30}function Ui(n){return Or(n)/864e5}function Or(n){return n.years*(365*864e5)+n.months*(30*864e5)+n.days*864e5+n.milliseconds}function Tl(n){let e=n.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%(1e3*60)!==0)return{unit:"second",value:e/1e3};if(e%(1e3*60*60)!==0)return{unit:"minute",value:e/(1e3*60)};if(e)return{unit:"hour",value:e/(1e3*60*60)}}return n.days?n.specifiedWeeks&&n.days%7===0?{unit:"week",value:n.days/7}:{unit:"day",value:n.days}:n.months?{unit:"month",value:n.months}:n.years?{unit:"year",value:n.years}:{unit:"millisecond",value:0}}function Fn(n,e,t){if(n===e)return!0;let i=n.length,s;if(i!==e.length)return!1;for(s=0;s<i;s+=1)if(!(t?t(n[s],e[s]):n[s]===e[s]))return!1;return!0}const h1=["sun","mon","tue","wed","thu","fri","sat"];function Yd(n,e){let t=jn(n);return t[2]+=e*7,ht(t)}function nt(n,e){let t=jn(n);return t[2]+=e,ht(t)}function zn(n,e){let t=jn(n);return t[6]+=e,ht(t)}function p1(n,e){return er(n,e)/7}function er(n,e){return(e.valueOf()-n.valueOf())/(1e3*60*60*24)}function g1(n,e){return(e.valueOf()-n.valueOf())/(1e3*60*60)}function m1(n,e){return(e.valueOf()-n.valueOf())/(1e3*60)}function v1(n,e){return(e.valueOf()-n.valueOf())/1e3}function b1(n,e){let t=je(n),i=je(e);return{years:0,months:0,days:Math.round(er(t,i)),milliseconds:e.valueOf()-i.valueOf()-(n.valueOf()-t.valueOf())}}function y1(n,e){let t=no(n,e);return t!==null&&t%7===0?t/7:null}function no(n,e){return Hn(n)===Hn(e)?Math.round(er(n,e)):null}function je(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()])}function w1(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours()])}function _1(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes()])}function L1(n){return ht([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()])}function C1(n,e,t){let i=n.getUTCFullYear(),s=ll(n,i,e,t);if(s<1)return ll(n,i-1,e,t);let o=ll(n,i+1,e,t);return o>=1?Math.min(s,o):s}function ll(n,e,t,i){let s=ht([e,0,1+A1(e,t,i)]),o=je(n),a=Math.round(er(s,o));return Math.floor(a/7)+1}function A1(n,e,t){let i=7+e-t;return-((7+ht([n,0,i]).getUTCDay()-e)%7)+i-1}function Zd(n){return[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()]}function Qd(n){return new Date(n[0],n[1]||0,n[2]==null?1:n[2],n[3]||0,n[4]||0,n[5]||0)}function jn(n){return[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()]}function ht(n){return n.length===1&&(n=n.concat([0])),new Date(Date.UTC(...n))}function zh(n){return!isNaN(n.valueOf())}function Hn(n){return n.getUTCHours()*1e3*60*60+n.getUTCMinutes()*1e3*60+n.getUTCSeconds()*1e3+n.getUTCMilliseconds()}function E1(n,e,t=!1){let i=n.toISOString();return i=i.replace(".000",""),t&&(i=i.replace("T00:00:00Z","")),i.length>10&&(e==null?i=i.replace("Z",""):e!==0&&(i=i.replace("Z",Gl(e,!0)))),i}function Ul(n){return n.toISOString().replace(/T.*$/,"")}function x1(n){return n.toISOString().match(/^\d{4}-\d{2}/)[0]}function Gl(n,e=!1){let t=n<0?"-":"+",i=Math.abs(n),s=Math.floor(i/60),o=Math.round(i%60);return e?`${t+ol(s,2)}:${ol(o,2)}`:`GMT${t}${s}${o?`:${ol(o,2)}`:""}`}function we(n,e,t){let i,s;return function(...o){if(!i)s=n.apply(this,o);else if(!Fn(i,o)){let a=n.apply(this,o);(!e||!e(a,s))&&(s=a)}return i=o,s}}function Gs(n,e,t){let i,s;return o=>(i?rn(i,o)||(s=n.call(this,o)):s=n.call(this,o),i=o,s)}const Xd={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},io={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Os=/\s*([ap])\.?m\.?/i,S1=/,/g,T1=/\s+/g,D1=/\u200e/g,k1=/UTC|GMT/;class O1{constructor(e){let t={},i={},s=0;for(let o in e)o in Xd?(i[o]=e[o],s=Math.max(Xd[o],s)):(t[o]=e[o],o in io&&(s=Math.max(io[o],s)));this.standardDateProps=t,this.extendedSettings=i,this.severity=s,this.buildFormattingFunc=we(Jd)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,i,s){let{standardDateProps:o,extendedSettings:a}=this,d=$1(e.marker,t.marker,i.calendarSystem);if(!d)return this.format(e,i);let f=d;f>1&&(o.year==="numeric"||o.year==="2-digit")&&(o.month==="numeric"||o.month==="2-digit")&&(o.day==="numeric"||o.day==="2-digit")&&(f=1);let p=this.format(e,i),h=this.format(t,i);if(p===h)return p;let y=j1(o,f),w=Jd(y,a,i),v=w(e),C=w(t),x=H1(p,v,h,C),S=a.separator||s||i.defaultSeparator||"";return x?x.before+v+S+C+x.after:p+S+h}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function Jd(n,e,t){let i=Object.keys(n).length;return i===1&&n.timeZoneName==="short"?s=>Gl(s.timeZoneOffset):i===0&&e.week?s=>N1(t.computeWeekNumber(s.marker),t.weekText,t.weekTextLong,t.locale,e.week):M1(n,e,t)}function M1(n,e,t){n=Object.assign({},n),e=Object.assign({},e),R1(n,e),n.timeZone="UTC";let i=new Intl.DateTimeFormat(t.locale.codes,n),s;if(e.omitZeroMinute){let o=Object.assign({},n);delete o.minute,s=new Intl.DateTimeFormat(t.locale.codes,o)}return o=>{let{marker:a}=o,d;s&&!a.getUTCMinutes()?d=s:d=i;let f=d.format(a);return P1(f,o,n,e,t)}}function R1(n,e){n.timeZoneName&&(n.hour||(n.hour="2-digit"),n.minute||(n.minute="2-digit")),n.timeZoneName==="long"&&(n.timeZoneName="short"),e.omitZeroMinute&&(n.second||n.millisecond)&&delete e.omitZeroMinute}function P1(n,e,t,i,s){return n=n.replace(D1,""),t.timeZoneName==="short"&&(n=I1(n,s.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":Gl(e.timeZoneOffset))),i.omitCommas&&(n=n.replace(S1,"").trim()),i.omitZeroMinute&&(n=n.replace(":00","")),i.meridiem===!1?n=n.replace(Os,"").trim():i.meridiem==="narrow"?n=n.replace(Os,(o,a)=>a.toLocaleLowerCase()):i.meridiem==="short"?n=n.replace(Os,(o,a)=>`${a.toLocaleLowerCase()}m`):i.meridiem==="lowercase"&&(n=n.replace(Os,o=>o.toLocaleLowerCase())),n=n.replace(T1," "),n=n.trim(),n}function I1(n,e){let t=!1;return n=n.replace(k1,()=>(t=!0,e)),t||(n+=` ${e}`),n}function N1(n,e,t,i,s){let o=[];return s==="long"?o.push(t):(s==="short"||s==="narrow")&&o.push(e),(s==="long"||s==="short")&&o.push(" "),o.push(i.simpleNumberFormat.format(n)),i.options.direction==="rtl"&&o.reverse(),o.join("")}function $1(n,e,t){return t.getMarkerYear(n)!==t.getMarkerYear(e)?5:t.getMarkerMonth(n)!==t.getMarkerMonth(e)?4:t.getMarkerDay(n)!==t.getMarkerDay(e)?2:Hn(n)!==Hn(e)?1:0}function j1(n,e){let t={};for(let i in n)(!(i in io)||io[i]<=e)&&(t[i]=n[i]);return t}function H1(n,e,t,i){let s=0;for(;s<n.length;){let o=n.indexOf(e,s);if(o===-1)break;let a=n.substr(0,o);s=o+e.length;let d=n.substr(s),f=0;for(;f<t.length;){let p=t.indexOf(i,f);if(p===-1)break;let h=t.substr(0,p);f=p+i.length;let y=t.substr(f);if(a===h&&d===y)return{before:a,after:d}}}return null}function Kd(n,e){let t=e.markerToArray(n.marker);return{marker:n.marker,timeZoneOffset:n.timeZoneOffset,array:t,year:t[0],month:t[1],day:t[2],hour:t[3],minute:t[4],second:t[5],millisecond:t[6]}}function ro(n,e,t,i){let s=Kd(n,t.calendarSystem),o=e?Kd(e,t.calendarSystem):null;return{date:s,start:s,end:o,timeZone:t.timeZone,localeCodes:t.locale.codes,defaultSeparator:i||t.defaultSeparator}}class B1{constructor(e){this.cmdStr=e}format(e,t,i){return t.cmdFormatter(this.cmdStr,ro(e,null,t,i))}formatRange(e,t,i,s){return i.cmdFormatter(this.cmdStr,ro(e,t,i,s))}}class F1{constructor(e){this.func=e}format(e,t,i){return this.func(ro(e,null,t,i))}formatRange(e,t,i,s){return this.func(ro(e,t,i,s))}}function Ze(n){return typeof n=="object"&&n?new O1(n):typeof n=="string"?new B1(n):typeof n=="function"?new F1(n):null}const ef={navLinkDayClick:j,navLinkWeekClick:j,duration:Ee,bootstrapFontAwesome:j,buttonIcons:j,customButtons:j,defaultAllDayEventDuration:Ee,defaultTimedEventDuration:Ee,nextDayThreshold:Ee,scrollTime:Ee,scrollTimeReset:Boolean,slotMinTime:Ee,slotMaxTime:Ee,dayPopoverFormat:Ze,slotDuration:Ee,snapDuration:Ee,headerToolbar:j,footerToolbar:j,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Ze,dayHeaderClassNames:j,dayHeaderContent:j,dayHeaderDidMount:j,dayHeaderWillUnmount:j,dayCellClassNames:j,dayCellContent:j,dayCellDidMount:j,dayCellWillUnmount:j,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:j,weekNumbers:Boolean,weekNumberClassNames:j,weekNumberContent:j,weekNumberDidMount:j,weekNumberWillUnmount:j,editable:Boolean,viewClassNames:j,viewDidMount:j,viewWillUnmount:j,nowIndicator:Boolean,nowIndicatorClassNames:j,nowIndicatorContent:j,nowIndicatorDidMount:j,nowIndicatorWillUnmount:j,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:j,locale:j,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:j,eventOrder:n1,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:j,contentHeight:j,direction:String,weekNumberFormat:Ze,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:j,initialDate:j,now:j,eventDataTransform:j,stickyHeaderDates:j,stickyFooterScrollbar:j,viewHeight:j,defaultAllDay:Boolean,eventSourceFailure:j,eventSourceSuccess:j,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:j,eventConstraint:j,eventAllow:j,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:j,eventContent:j,eventDidMount:j,eventWillUnmount:j,selectConstraint:j,selectOverlap:j,selectAllow:j,droppable:Boolean,unselectCancel:String,slotLabelFormat:j,slotLaneClassNames:j,slotLaneContent:j,slotLaneDidMount:j,slotLaneWillUnmount:j,slotLabelClassNames:j,slotLabelContent:j,slotLabelDidMount:j,slotLabelWillUnmount:j,dayMaxEvents:j,dayMaxEventRows:j,dayMinWidth:Number,slotLabelInterval:Ee,allDayText:String,allDayClassNames:j,allDayContent:j,allDayDidMount:j,allDayWillUnmount:j,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Ze,rerenderDelay:Number,moreLinkText:j,moreLinkHint:j,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:j,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Ee,hiddenDays:j,fixedWeekCount:Boolean,validRange:j,visibleRange:j,titleFormat:j,eventInteractive:Boolean,noEventsText:String,viewHint:j,navLinkHint:j,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:j,moreLinkClassNames:j,moreLinkContent:j,moreLinkDidMount:j,moreLinkWillUnmount:j,monthStartFormat:Ze,handleCustomRendering:j,customRenderingMetaMap:j,customRenderingReplaces:Boolean},Lr={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},tf={datesSet:j,eventsSet:j,eventAdd:j,eventChange:j,eventRemove:j,windowResize:j,eventClick:j,eventMouseEnter:j,eventMouseLeave:j,select:j,unselect:j,loading:j,_unmount:j,_beforeprint:j,_afterprint:j,_noEventDrop:j,_noEventResize:j,_resize:j,_scrollRequest:j},nf={buttonText:j,buttonHints:j,views:j,plugins:j,initialEvents:j,events:j,eventSources:j},li={headerToolbar:ci,footerToolbar:ci,buttonText:ci,buttonHints:ci,buttonIcons:ci,dateIncrement:ci,plugins:Ms,events:Ms,eventSources:Ms,resources:Ms};function ci(n,e){return typeof n=="object"&&typeof e=="object"&&n&&e?rn(n,e):n===e}function Ms(n,e){return Array.isArray(n)&&Array.isArray(e)?Fn(n,e):n===e}const z1={type:String,component:j,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:j,usesMinMaxTime:Boolean,classNames:j,content:j,didMount:j,willUnmount:j};function cl(n){return Yl(n,li)}function ql(n,e){let t={},i={};for(let s in e)s in n&&(t[s]=e[s](n[s]));for(let s in n)s in e||(i[s]=n[s]);return{refined:t,extra:i}}function j(n){return n}const{hasOwnProperty:so}=Object.prototype;function Yl(n,e){let t={};if(e){for(let i in e)if(e[i]===ci){let s=[];for(let o=n.length-1;o>=0;o-=1){let a=n[o][i];if(typeof a=="object"&&a)s.unshift(a);else if(a!==void 0){t[i]=a;break}}s.length&&(t[i]=Yl(s))}}for(let i=n.length-1;i>=0;i-=1){let s=n[i];for(let o in s)o in t||(t[o]=s[o])}return t}function Yi(n,e){let t={};for(let i in n)e(n[i],i)&&(t[i]=n[i]);return t}function Ir(n,e){let t={};for(let i in n)t[i]=e(n[i],i);return t}function Vh(n){let e={};for(let t of n)e[t]=!0;return e}function Zl(n){let e=[];for(let t in n)e.push(n[t]);return e}function rn(n,e){if(n===e)return!0;for(let t in n)if(so.call(n,t)&&!(t in e))return!1;for(let t in e)if(so.call(e,t)&&n[t]!==e[t])return!1;return!0}const V1=/^on[A-Z]/;function W1(n,e){const t=Dl(n,e);for(let i of t)if(!V1.test(i))return!1;return!0}function Dl(n,e){let t=[];for(let i in n)so.call(n,i)&&(i in e||t.push(i));for(let i in e)so.call(e,i)&&n[i]!==e[i]&&t.push(i);return t}function ul(n,e,t={}){if(n===e)return!0;for(let i in e)if(!(i in n&&U1(n[i],e[i],t[i])))return!1;for(let i in n)if(!(i in e))return!1;return!0}function U1(n,e,t){return n===e||t===!0?!0:t?t(n,e):!1}function G1(n,e=0,t,i=1){let s=[];t==null&&(t=Object.keys(n).length);for(let o=e;o<t;o+=i){let a=n[o];a!==void 0&&s.push(a)}return s}let Wh={};function q1(n,e){Wh[n]=e}function Y1(n){return new Wh[n]}class Z1{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return ht(e)}markerToArray(e){return jn(e)}}q1("gregory",Z1);const Q1=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function X1(n){let e=Q1.exec(n);if(e){let t=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?+`0.${e[12]}`*1e3:0));if(zh(t)){let i=null;return e[13]&&(i=(e[15]==="-"?-1:1)*(Number(e[16]||0)*60+Number(e[18]||0))),{marker:t,isTimeUnspecified:!e[6],timeZoneOffset:i}}}return null}class J1{constructor(e){let t=this.timeZone=e.timeZone,i=t!=="local"&&t!=="UTC";e.namedTimeZoneImpl&&i&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=!!(!i||this.namedTimeZoneImpl),this.calendarSystem=Y1(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,e.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof e.firstDay=="number"&&(this.weekDow=e.firstDay),typeof e.weekNumberCalculation=="function"&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=e.weekText!=null?e.weekText:e.locale.options.weekText,this.weekTextLong=(e.weekTextLong!=null?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return t===null?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):ht(Zd(new Date))}createMarkerMeta(e){if(typeof e=="string")return this.parse(e);let t=null;return typeof e=="number"?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=ht(e)),t===null||!zh(t)?null:{marker:t,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let t=X1(e);if(t===null)return null;let{marker:i}=t,s=null;return t.timeZoneOffset!==null&&(this.canComputeOffset?i=this.timestampToMarker(i.valueOf()-t.timeZoneOffset*60*1e3):s=t.timeZoneOffset),{marker:i,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:s}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let i=this.calendarSystem.markerToArray(e);return i[0]+=t.years,i[1]+=t.months,i[2]+=t.days,i[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(i)}subtract(e,t){let i=this.calendarSystem.markerToArray(e);return i[0]-=t.years,i[1]-=t.months,i[2]-=t.days,i[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(i)}addYears(e,t){let i=this.calendarSystem.markerToArray(e);return i[0]+=t,this.calendarSystem.arrayToMarker(i)}addMonths(e,t){let i=this.calendarSystem.markerToArray(e);return i[1]+=t,this.calendarSystem.arrayToMarker(i)}diffWholeYears(e,t){let{calendarSystem:i}=this;return Hn(e)===Hn(t)&&i.getMarkerDay(e)===i.getMarkerDay(t)&&i.getMarkerMonth(e)===i.getMarkerMonth(t)?i.getMarkerYear(t)-i.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:i}=this;return Hn(e)===Hn(t)&&i.getMarkerDay(e)===i.getMarkerDay(t)?i.getMarkerMonth(t)-i.getMarkerMonth(e)+(i.getMarkerYear(t)-i.getMarkerYear(e))*12:null}greatestWholeUnit(e,t){let i=this.diffWholeYears(e,t);return i!==null?{unit:"year",value:i}:(i=this.diffWholeMonths(e,t),i!==null?{unit:"month",value:i}:(i=y1(e,t),i!==null?{unit:"week",value:i}:(i=no(e,t),i!==null?{unit:"day",value:i}:(i=g1(e,t),al(i)?{unit:"hour",value:i}:(i=m1(e,t),al(i)?{unit:"minute",value:i}:(i=v1(e,t),al(i)?{unit:"second",value:i}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,i){let s;return i.years&&(s=this.diffWholeYears(e,t),s!==null)?s/d1(i):i.months&&(s=this.diffWholeMonths(e,t),s!==null)?s/f1(i):i.days&&(s=no(e,t),s!==null)?s/Ui(i):(t.valueOf()-e.valueOf())/Or(i)}startOf(e,t){return t==="year"?this.startOfYear(e):t==="month"?this.startOfMonth(e):t==="week"?this.startOfWeek(e):t==="day"?je(e):t==="hour"?w1(e):t==="minute"?_1(e):t==="second"?L1(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):C1(e,this.weekDow,this.weekDoy)}format(e,t,i={}){return t.format({marker:e,timeZoneOffset:i.forcedTzo!=null?i.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,i,s={}){return s.isEndExclusive&&(t=zn(t,-1)),i.formatRange({marker:e,timeZoneOffset:s.forcedStartTzo!=null?s.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:s.forcedEndTzo!=null?s.forcedEndTzo:this.offsetForMarker(t)},this,s.defaultSeparator)}formatIso(e,t={}){let i=null;return t.omitTimeZoneOffset||(t.forcedTzo!=null?i=t.forcedTzo:i=this.offsetForMarker(e)),E1(e,i,t.omitTime)}timestampToMarker(e){return this.timeZone==="local"?ht(Zd(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):ht(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-Qd(jn(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(jn(e)):null}toDate(e,t){return this.timeZone==="local"?Qd(jn(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(jn(e))*1e3*60):new Date(e.valueOf()-(t||0))}}class Nr{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,i;if(typeof e=="object"&&e){t=Object.assign({},this.iconClasses);for(i in e)t[i]=this.applyIconOverridePrefix(e[i]);this.iconClasses=t}else e===!1&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&e.indexOf(t)!==0&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let i;return t&&this.rtlIconClasses?i=this.rtlIconClasses[e]||this.iconClasses[e]:i=this.iconClasses[e],i?`${this.baseIconClass} ${i}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}Nr.prototype.classes={};Nr.prototype.iconClasses={};Nr.prototype.baseIconClass="";Nr.prototype.iconOverridePrefix="";function oo(n){n();let e=te.debounceRendering,t=[];function i(s){t.push(s)}for(te.debounceRendering=i,kr($(K1,{}),document.createElement("div"));t.length;)t.shift()();te.debounceRendering=e}class K1 extends Lt{render(){return $("div",{})}componentDidMount(){this.setState({})}}function Uh(n){let e=Tv(n),t=e.Provider;return e.Provider=function(){let i=!this.getChildContext,s=t.apply(this,arguments);if(i){let o=[];this.shouldComponentUpdate=a=>{this.props.value!==a.value&&o.forEach(d=>{d.context=a.value,d.forceUpdate()})},this.sub=a=>{o.push(a);let d=a.componentWillUnmount;a.componentWillUnmount=()=>{o.splice(o.indexOf(a),1),d&&d.call(a)}}}return s},e}class eb{constructor(e,t,i,s){this.execFunc=e,this.emitter=t,this.scrollTime=i,this.scrollTimeReset=s,this.handleScrollRequest=o=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},o),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const _i=Uh({});function tb(n,e,t,i,s,o,a,d,f,p,h,y,w){return{dateEnv:s,options:t,pluginHooks:a,emitter:p,dispatch:d,getCurrentData:f,calendarApi:h,viewSpec:n,viewApi:e,dateProfileGenerator:i,theme:o,isRtl:t.direction==="rtl",addResizeHandler(v){p.on("_resize",v)},removeResizeHandler(v){p.off("_resize",v)},createScrollResponder(v){return new eb(v,p,Ee(t.scrollTime),t.scrollTimeReset)},registerInteractiveComponent:y,unregisterInteractiveComponent:w}}class Li extends Lt{shouldComponentUpdate(e,t){return this.debug&&console.log(Dl(e,this.props),Dl(t,this.state)),!ul(this.props,e,this.propEquality)||!ul(this.state,t,this.stateEquality)}safeSetState(e){ul(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Li.addPropsEquality=nb;Li.addStateEquality=ib;Li.contextType=_i;Li.prototype.propEquality={};Li.prototype.stateEquality={};class He extends Li{}He.contextType=_i;function nb(n){let e=Object.create(this.prototype.propEquality);Object.assign(e,n),this.prototype.propEquality=e}function ib(n){let e=Object.create(this.prototype.stateEquality);Object.assign(e,n),this.prototype.stateEquality=e}function En(n,e){typeof n=="function"?n(e):n&&(n.current=e)}class Ql extends He{constructor(){super(...arguments),this.id=wi(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:t}=this.context,{generatorName:i}=this.props;(!t.customRenderingReplaces||!kl(i,t))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&En(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:i}=t,{customGenerator:s,defaultGenerator:o,renderProps:a}=e,d=Gh(e,[],this.handleEl);let f=!1,p,h=[],y;if(s!=null){const w=typeof s=="function"?s(a,$):s;if(w===!0)f=!0;else{const v=w&&typeof w=="object";v&&"html"in w?d.dangerouslySetInnerHTML={__html:w.html}:v&&"domNodes"in w?h=Array.prototype.slice.call(w.domNodes):(v?vh(w):typeof w!="function")?p=w:y=w}}else f=!kl(e.generatorName,i);return f&&o&&(p=o(a)),this.queuedDomNodes=h,this.currentGeneratorMeta=y,$(e.elTag,d,p)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:i,context:s}=this,{handleCustomRendering:o,customRenderingMetaMap:a}=s.options;if(o){const d=(t=this.currentGeneratorMeta)!==null&&t!==void 0?t:a==null?void 0:a[i.generatorName];d&&o(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:d},i),{elClasses:(i.elClasses||[]).filter(rb)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,i=this.base;if(!Fn(e,t)){t.forEach(Yv);for(let s of e)i.appendChild(s);this.currentDomNodes=e}}}Ql.addPropsEquality({elClasses:Fn,elStyle:rn,elAttrs:W1,renderProps:rn});function kl(n,e){var t;return!!(e.handleCustomRendering&&n&&(!((t=e.customRenderingMetaMap)===null||t===void 0)&&t[n]))}function Gh(n,e,t){const i=Object.assign(Object.assign({},n.elAttrs),{ref:t});return(n.elClasses||e)&&(i.className=(n.elClasses||[]).concat(e||[]).concat(i.className||[]).filter(Boolean).join(" ")),n.elStyle&&(i.style=n.elStyle),i}function rb(n){return!!n}const qh=Uh(0);class Sn extends Lt{constructor(){super(...arguments),this.InnerContent=sb.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(En(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,t=ob(e.classNameGenerator,e.renderProps);if(e.children){const i=Gh(e,t,this.handleEl),s=e.children(this.InnerContent,e.renderProps,i);return e.elTag?$(e.elTag,i,s):s}else return $(Ql,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;this.el?(t=(e=this.props).didMount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,t;(t=(e=this.props).willUnmount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}Sn.contextType=qh;function sb(n,e){const t=n.props;return $(Ql,Object.assign({renderProps:t.renderProps,generatorName:t.generatorName,customGenerator:t.customGenerator,defaultGenerator:t.defaultGenerator,renderId:n.context},e))}function ob(n,e){const t=typeof n=="function"?n(e):n||[];return typeof t=="string"?[t]:t}class rf extends He{render(){let{props:e,context:t}=this,{options:i}=t,s={view:t.viewApi};return $(Sn,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Yh(e.viewSpec),...e.elClasses||[]],renderProps:s,classNameGenerator:i.viewClassNames,generatorName:void 0,didMount:i.viewDidMount,willUnmount:i.viewWillUnmount}),()=>e.children)}}function Yh(n){return[`fc-${n.type}-view`,"fc-view"]}function ab(n,e){let t=null,i=null;return n.start&&(t=e.createMarker(n.start)),n.end&&(i=e.createMarker(n.end)),!t&&!i||t&&i&&i<t?null:{start:t,end:i}}function sf(n,e){let t=[],{start:i}=e,s,o;for(n.sort(lb),s=0;s<n.length;s+=1)o=n[s],o.start>i&&t.push({start:i,end:o.start}),o.end>i&&(i=o.end);return i<e.end&&t.push({start:i,end:e.end}),t}function lb(n,e){return n.start.valueOf()-e.start.valueOf()}function Zi(n,e){let{start:t,end:i}=n,s=null;return e.start!==null&&(t===null?t=e.start:t=new Date(Math.max(t.valueOf(),e.start.valueOf()))),e.end!=null&&(i===null?i=e.end:i=new Date(Math.min(i.valueOf(),e.end.valueOf()))),(t===null||i===null||t<i)&&(s={start:t,end:i}),s}function cb(n,e){return(n.end===null||e.start===null||n.end>e.start)&&(n.start===null||e.end===null||n.start<e.end)}function Bn(n,e){return(n.start===null||e>=n.start)&&(n.end===null||e<n.end)}function ub(n,e){return e.start!=null&&n<e.start?e.start:e.end!=null&&n>=e.end?new Date(e.end.valueOf()-1):n}function Zh(n){let e=Math.floor(er(n.start,n.end))||1,t=je(n.start),i=nt(t,e);return{start:t,end:i}}function Qh(n,e=Ee(0)){let t=null,i=null;if(n.end){i=je(n.end);let s=n.end.valueOf()-i.valueOf();s&&s>=Or(e)&&(i=nt(i,1))}return n.start&&(t=je(n.start),i&&i<=t&&(i=nt(t,1))),{start:t,end:i}}function Rs(n,e,t,i){return i==="year"?Ee(t.diffWholeYears(n,e),"year"):i==="month"?Ee(t.diffWholeMonths(n,e),"month"):b1(n,e)}function db(n,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return n}}function fb(n,e){let t=n.initialDate;return t!=null?e.createMarker(t):$r(n.now,e)}function $r(n,e){return typeof n=="function"&&(n=n()),n==null?e.createNowMarker():e.createMarker(n)}class Xh{constructor(e){this.props=e,this.nowDate=$r(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,i){let{dateEnv:s}=this.props,o=s.subtract(s.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,i)}buildNext(e,t,i){let{dateEnv:s}=this.props,o=s.add(s.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,i)}build(e,t,i=!0){let{props:s}=this,o,a,d,f,p,h;return o=this.buildValidRange(),o=this.trimHiddenDays(o),i&&(e=ub(e,o)),a=this.buildCurrentRangeInfo(e,t),d=/^(year|month|week|day)$/.test(a.unit),f=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,d),f=this.trimHiddenDays(f),p=f,s.showNonCurrentDates||(p=Zi(p,a.range)),p=this.adjustActiveRange(p),p=Zi(p,o),h=cb(a.range,o),Bn(f,e)||(e=f.start),{currentDate:e,validRange:o,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:d,activeRange:p,renderRange:f,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,isValid:h,dateIncrement:this.buildDateIncrement(a.duration)}}buildValidRange(){let e=this.props.validRangeInput,t=typeof e=="function"?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let{props:i}=this,s=null,o=null,a=null,d;return i.duration?(s=i.duration,o=i.durationUnit,a=this.buildRangeFromDuration(e,t,s,o)):(d=this.props.dayCount)?(o="day",a=this.buildRangeFromDayCount(e,t,d)):(a=this.buildCustomVisibleRange(e))?o=i.dateEnv.greatestWholeUnit(a.start,a.end).unit:(s=this.getFallbackDuration(),o=Tl(s).unit,a=this.buildRangeFromDuration(e,t,s,o)),{duration:s,unit:o,range:a}}getFallbackDuration(){return Ee({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:i,slotMinTime:s,slotMaxTime:o}=this.props,{start:a,end:d}=e;return i&&(Ui(s)<0&&(a=je(a),a=t.add(a,s)),Ui(o)>1&&(d=je(d),d=nt(d,-1),d=t.add(d,o))),{start:a,end:d}}buildRangeFromDuration(e,t,i,s){let{dateEnv:o,dateAlignment:a}=this.props,d,f,p;if(!a){let{dateIncrement:y}=this.props;y&&Or(y)<Or(i)?a=Tl(y).unit:a=s}Ui(i)<=1&&this.isHiddenDay(d)&&(d=this.skipHiddenDays(d,t),d=je(d));function h(){d=o.startOf(e,a),f=o.add(d,i),p={start:d,end:f}}return h(),this.trimHiddenDays(p)||(e=this.skipHiddenDays(e,t),h()),p}buildRangeFromDayCount(e,t,i){let{dateEnv:s,dateAlignment:o}=this.props,a=0,d=e,f;o&&(d=s.startOf(d,o)),d=je(d),d=this.skipHiddenDays(d,t),f=d;do f=nt(f,1),this.isHiddenDay(f)||(a+=1);while(a<i);return{start:d,end:f}}buildCustomVisibleRange(e){let{props:t}=this,i=t.visibleRangeInput,s=typeof i=="function"?i.call(t.calendarApi,t.dateEnv.toDate(e)):i,o=this.refineRange(s);return o&&(o.start==null||o.end==null)?null:o}buildRenderRange(e,t,i){return e}buildDateIncrement(e){let{dateIncrement:t}=this.props,i;return t||((i=this.props.dateAlignment)?Ee(1,i):e||Ee({days:1}))}refineRange(e){if(e){let t=ab(e,this.props.dateEnv);return t&&(t=Qh(t)),t}return null}initHiddenDays(){let e=this.props.hiddenDays||[],t=[],i=0,s;for(this.props.weekends===!1&&e.push(0,6),s=0;s<7;s+=1)(t[s]=e.indexOf(s)!==-1)||(i+=1);if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=t}trimHiddenDays(e){let{start:t,end:i}=e;return t&&(t=this.skipHiddenDays(t)),i&&(i=this.skipHiddenDays(i,-1,!0)),t==null||i==null||t<i?{start:t,end:i}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,t=1,i=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(i?t:0)+7)%7];)e=nt(e,t);return e}}function Xl(n,e,t,i){return{instanceId:wi(),defId:n,range:e,forcedStartTzo:t==null?null:t,forcedEndTzo:i==null?null:i}}function hb(n,e,t,i){for(let s=0;s<i.length;s+=1){let o=i[s].parse(n,t);if(o){let{allDay:a}=n;return a==null&&(a=e,a==null&&(a=o.allDayGuess,a==null&&(a=!1))),{allDay:a,duration:o.duration,typeData:o.typeData,typeId:s}}}return null}function jr(n,e,t){let{dateEnv:i,pluginHooks:s,options:o}=t,{defs:a,instances:d}=n;d=Yi(d,f=>!a[f.defId].recurringDef);for(let f in a){let p=a[f];if(p.recurringDef){let{duration:h}=p.recurringDef;h||(h=p.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);let y=pb(p,h,e,i,s.recurringTypes);for(let w of y){let v=Xl(f,{start:w,end:i.add(w,h)});d[v.instanceId]=v}}}return{defs:a,instances:d}}function pb(n,e,t,i,s){let a=s[n.recurringDef.typeId].expand(n.recurringDef.typeData,{start:i.subtract(t.start,e),end:t.end},i);return n.allDay&&(a=a.map(je)),a}const qs={id:String,groupId:String,title:String,url:String,interactive:Boolean},Jh={start:j,end:j,date:j,allDay:Boolean},gb=Object.assign(Object.assign(Object.assign({},qs),Jh),{extendedProps:j});function Kh(n,e,t,i,s=Jl(t),o,a){let{refined:d,extra:f}=ep(n,t,s),p=vb(e,t),h=hb(d,p,t.dateEnv,t.pluginHooks.recurringTypes);if(h){let w=Ol(d,f,e?e.sourceId:"",h.allDay,!!h.duration,t,o);return w.recurringDef={typeId:h.typeId,typeData:h.typeData,duration:h.duration},{def:w,instance:null}}let y=mb(d,p,t,i);if(y){let w=Ol(d,f,e?e.sourceId:"",y.allDay,y.hasEnd,t,o),v=Xl(w.defId,y.range,y.forcedStartTzo,y.forcedEndTzo);return a&&w.publicId&&a[w.publicId]&&(v.instanceId=a[w.publicId]),{def:w,instance:v}}return null}function ep(n,e,t=Jl(e)){return ql(n,t)}function Jl(n){return Object.assign(Object.assign(Object.assign({},ao),gb),n.pluginHooks.eventRefiners)}function Ol(n,e,t,i,s,o,a){let d={title:n.title||"",groupId:n.groupId||"",publicId:n.id||"",url:n.url||"",recurringDef:null,defId:(a&&n.id?a[n.id]:"")||wi(),sourceId:t,allDay:i,hasEnd:s,interactive:n.interactive,ui:lo(n,o),extendedProps:Object.assign(Object.assign({},n.extendedProps||{}),e)};for(let f of o.pluginHooks.eventDefMemberAdders)Object.assign(d,f(n));return Object.freeze(d.ui.classNames),Object.freeze(d.extendedProps),d}function mb(n,e,t,i){let{allDay:s}=n,o,a=null,d=!1,f,p=null,h=n.start!=null?n.start:n.date;if(o=t.dateEnv.createMarkerMeta(h),o)a=o.marker;else if(!i)return null;return n.end!=null&&(f=t.dateEnv.createMarkerMeta(n.end)),s==null&&(e!=null?s=e:s=(!o||o.isTimeUnspecified)&&(!f||f.isTimeUnspecified)),s&&a&&(a=je(a)),f&&(p=f.marker,s&&(p=je(p)),a&&p<=a&&(p=null)),p?d=!0:i||(d=t.options.forceEventDuration||!1,p=t.dateEnv.add(a,s?t.options.defaultAllDayEventDuration:t.options.defaultTimedEventDuration)),{allDay:s,hasEnd:d,range:{start:a,end:p},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:f?f.forcedTzo:null}}function vb(n,e){let t=null;return n&&(t=n.defaultAllDay),t==null&&(t=e.options.defaultAllDay),t}function Mr(n,e,t,i,s,o){let a=bi(),d=Jl(t);for(let f of n){let p=Kh(f,e,t,i,d,s,o);p&&Ml(p,a)}return a}function Ml(n,e=bi()){return e.defs[n.def.defId]=n.def,n.instance&&(e.instances[n.instance.instanceId]=n.instance),e}function bb(n,e){let t=n.instances[e];if(t){let i=n.defs[t.defId],s=ec(n,o=>yb(i,o));return s.defs[i.defId]=i,s.instances[t.instanceId]=t,s}return bi()}function yb(n,e){return!!(n.groupId&&n.groupId===e.groupId)}function bi(){return{defs:{},instances:{}}}function Kl(n,e){return{defs:Object.assign(Object.assign({},n.defs),e.defs),instances:Object.assign(Object.assign({},n.instances),e.instances)}}function ec(n,e){let t=Yi(n.defs,e),i=Yi(n.instances,s=>t[s.defId]);return{defs:t,instances:i}}function wb(n,e){let{defs:t,instances:i}=n,s={},o={};for(let a in t)e.defs[a]||(s[a]=t[a]);for(let a in i)!e.instances[a]&&s[i[a].defId]&&(o[a]=i[a]);return{defs:s,instances:o}}function _b(n,e){return Array.isArray(n)?Mr(n,null,e,!0):typeof n=="object"&&n?Mr([n],null,e,!0):n!=null?String(n):null}function of(n){return Array.isArray(n)?n:typeof n=="string"?n.split(/\s+/):[]}const ao={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:j,overlap:j,allow:j,className:of,classNames:of,color:String,backgroundColor:String,borderColor:String,textColor:String},Lb={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function lo(n,e){let t=_b(n.constraint,e);return{display:n.display||null,startEditable:n.startEditable!=null?n.startEditable:n.editable,durationEditable:n.durationEditable!=null?n.durationEditable:n.editable,constraints:t!=null?[t]:[],overlap:n.overlap!=null?n.overlap:null,allows:n.allow!=null?[n.allow]:[],backgroundColor:n.backgroundColor||n.color||"",borderColor:n.borderColor||n.color||"",textColor:n.textColor||"",classNames:(n.className||[]).concat(n.classNames||[])}}function Cb(n){return n.reduce(Ab,Lb)}function Ab(n,e){return{display:e.display!=null?e.display:n.display,startEditable:e.startEditable!=null?e.startEditable:n.startEditable,durationEditable:e.durationEditable!=null?e.durationEditable:n.durationEditable,constraints:n.constraints.concat(e.constraints),overlap:typeof e.overlap=="boolean"?e.overlap:n.overlap,allows:n.allows.concat(e.allows),backgroundColor:e.backgroundColor||n.backgroundColor,borderColor:e.borderColor||n.borderColor,textColor:e.textColor||n.textColor,classNames:n.classNames.concat(e.classNames)}}const Eb={id:String,defaultAllDay:Boolean,url:String,format:String,events:j,eventDataTransform:j,success:j,failure:j};function tp(n,e,t=np(e)){let i;if(typeof n=="string"?i={url:n}:typeof n=="function"||Array.isArray(n)?i={events:n}:typeof n=="object"&&n&&(i=n),i){let{refined:s,extra:o}=ql(i,t),a=xb(s,e);if(a)return{_raw:n,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:s.defaultAllDay,eventDataTransform:s.eventDataTransform,success:s.success,failure:s.failure,publicId:s.id||"",sourceId:wi(),sourceDefId:a.sourceDefId,meta:a.meta,ui:lo(s,e),extendedProps:o}}return null}function np(n){return Object.assign(Object.assign(Object.assign({},ao),Eb),n.pluginHooks.eventSourceRefiners)}function xb(n,e){let t=e.pluginHooks.eventSourceDefs;for(let i=t.length-1;i>=0;i-=1){let o=t[i].parseMeta(n);if(o)return{sourceDefId:i,meta:o}}return null}function Sb(n,e,t,i,s){switch(e.type){case"RECEIVE_EVENTS":return Tb(n,t[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,s);case"RESET_RAW_EVENTS":return Db(n,t[e.sourceId],e.rawEvents,i.activeRange,s);case"ADD_EVENTS":return kb(n,e.eventStore,i?i.activeRange:null,s);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return Kl(n,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?jr(n,i.activeRange,s):n;case"REMOVE_EVENTS":return wb(n,e.eventStore);case"REMOVE_EVENT_SOURCE":return rp(n,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return ec(n,o=>!o.sourceId);case"REMOVE_ALL_EVENTS":return bi();default:return n}}function Tb(n,e,t,i,s,o){if(e&&t===e.latestFetchId){let a=Mr(ip(s,e,o),e,o);return i&&(a=jr(a,i,o)),Kl(rp(n,e.sourceId),a)}return n}function Db(n,e,t,i,s){const{defIdMap:o,instanceIdMap:a}=Ob(n);let d=Mr(ip(t,e,s),e,s,!1,o,a);return jr(d,i,s)}function ip(n,e,t){let i=t.options.eventDataTransform,s=e?e.eventDataTransform:null;return s&&(n=af(n,s)),i&&(n=af(n,i)),n}function af(n,e){let t;if(!e)t=n;else{t=[];for(let i of n){let s=e(i);s?t.push(s):s==null&&t.push(i)}}return t}function kb(n,e,t,i){return t&&(e=jr(e,t,i)),Kl(n,e)}function lf(n,e,t){let{defs:i}=n,s=Ir(n.instances,o=>i[o.defId].allDay?o:Object.assign(Object.assign({},o),{range:{start:t.createMarker(e.toDate(o.range.start,o.forcedStartTzo)),end:t.createMarker(e.toDate(o.range.end,o.forcedEndTzo))},forcedStartTzo:t.canComputeOffset?null:o.forcedStartTzo,forcedEndTzo:t.canComputeOffset?null:o.forcedEndTzo}));return{defs:i,instances:s}}function rp(n,e){return ec(n,t=>t.sourceId!==e)}function Ob(n){const{defs:e,instances:t}=n,i={},s={};for(let o in e){const a=e[o],{publicId:d}=a;d&&(i[d]=o)}for(let o in t){const a=t[o],d=e[a.defId],{publicId:f}=d;f&&(s[f]=o)}return{defIdMap:i,instanceIdMap:s}}class Mb{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){Rb(this.handlers,e,t)}off(e,t){Pb(this.handlers,e,t)}trigger(e,...t){let i=this.handlers[e]||[],s=this.options&&this.options[e],o=[].concat(s||[],i);for(let a of o)a.apply(this.thisContext,t)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}function Rb(n,e,t){(n[e]||(n[e]=[])).push(t)}function Pb(n,e,t){t?n[e]&&(n[e]=n[e].filter(i=>i!==t)):delete n[e]}const Ib={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Nb(n,e){return Mr($b(n),null,e)}function $b(n){let e;return n===!0?e=[{}]:Array.isArray(n)?e=n.filter(t=>t.daysOfWeek):typeof n=="object"&&n?e=[n]:e=[],e=e.map(t=>Object.assign(Object.assign({},Ib),t)),e}function jb(n,e,t){t.emitter.trigger("select",Object.assign(Object.assign({},Bb(n,t)),{jsEvent:null,view:t.viewApi||t.calendarApi.view}))}function Hb(n,e){e.emitter.trigger("unselect",{jsEvent:n?n.origEvent:null,view:e.viewApi||e.calendarApi.view})}function Bb(n,e){let t={};for(let i of e.pluginHooks.dateSpanTransforms)Object.assign(t,i(n,e));return Object.assign(t,ey(n,e.dateEnv)),t}function cf(n,e,t){let{dateEnv:i,options:s}=t,o=e;return n?(o=je(o),o=i.add(o,s.defaultAllDayEventDuration)):o=i.add(o,s.defaultTimedEventDuration),o}function Fb(n,e,t,i){let s=op(n.defs,e),o=bi();for(let a in n.defs){let d=n.defs[a];o.defs[a]=zb(d,s[a],t,i)}for(let a in n.instances){let d=n.instances[a],f=o.defs[d.defId];o.instances[a]=Vb(d,f,s[d.defId],t,i)}return o}function zb(n,e,t,i){let s=t.standardProps||{};s.hasEnd==null&&e.durationEditable&&(t.startDelta||t.endDelta)&&(s.hasEnd=!0);let o=Object.assign(Object.assign(Object.assign({},n),s),{ui:Object.assign(Object.assign({},n.ui),s.ui)});t.extendedProps&&(o.extendedProps=Object.assign(Object.assign({},o.extendedProps),t.extendedProps));for(let a of i.pluginHooks.eventDefMutationAppliers)a(o,t,i);return!o.hasEnd&&i.options.forceEventDuration&&(o.hasEnd=!0),o}function Vb(n,e,t,i,s){let{dateEnv:o}=s,a=i.standardProps&&i.standardProps.allDay===!0,d=i.standardProps&&i.standardProps.hasEnd===!1,f=Object.assign({},n);return a&&(f.range=Zh(f.range)),i.datesDelta&&t.startEditable&&(f.range={start:o.add(f.range.start,i.datesDelta),end:o.add(f.range.end,i.datesDelta)}),i.startDelta&&t.durationEditable&&(f.range={start:o.add(f.range.start,i.startDelta),end:f.range.end}),i.endDelta&&t.durationEditable&&(f.range={start:f.range.start,end:o.add(f.range.end,i.endDelta)}),d&&(f.range={start:f.range.start,end:cf(e.allDay,f.range.start,s)}),e.allDay&&(f.range={start:je(f.range.start),end:je(f.range.end)}),f.range.end<f.range.start&&(f.range.end=cf(e.allDay,f.range.start,s)),f}class Vi{constructor(e,t){this.context=e,this.internalEventSource=t}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class Rt{constructor(e,t,i){this._context=e,this._def=t,this._instance=i||null}setProp(e,t){if(e in Jh)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")t=qs[e](t),this.mutate({standardProps:{publicId:t}});else if(e in qs)t=qs[e](t),this.mutate({standardProps:{[e]:t}});else if(e in ao){let i=ao[e](t);e==="color"?i={backgroundColor:t,borderColor:t}:e==="editable"?i={startEditable:t,durationEditable:t}:i={[e]:t},this.mutate({standardProps:{ui:i}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,t){this.mutate({extendedProps:{[e]:t}})}setStart(e,t={}){let{dateEnv:i}=this._context,s=i.createMarker(e);if(s&&this._instance){let o=this._instance.range,a=Rs(o.start,s,i,t.granularity);t.maintainDuration?this.mutate({datesDelta:a}):this.mutate({startDelta:a})}}setEnd(e,t={}){let{dateEnv:i}=this._context,s;if(!(e!=null&&(s=i.createMarker(e),!s))&&this._instance)if(s){let o=Rs(this._instance.range.end,s,i,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,i={}){let{dateEnv:s}=this._context,o={allDay:i.allDay},a=s.createMarker(e),d;if(a&&!(t!=null&&(d=s.createMarker(t),!d))&&this._instance){let f=this._instance.range;i.allDay===!0&&(f=Zh(f));let p=Rs(f.start,a,s,i.granularity);if(d){let h=Rs(f.end,d,s,i.granularity);c1(p,h)?this.mutate({datesDelta:p,standardProps:o}):this.mutate({startDelta:p,endDelta:h,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:p,standardProps:o})}}moveStart(e){let t=Ee(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=Ee(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=Ee(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let i={allDay:e},{maintainDuration:s}=t;s==null&&(s=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(i.hasEnd=s),this.mutate({standardProps:i})}formatRange(e){let{dateEnv:t}=this._context,i=this._instance,s=Ze(e);return this._def.hasEnd?t.formatRange(i.range.start,i.range.end,s,{forcedStartTzo:i.forcedStartTzo,forcedEndTzo:i.forcedEndTzo}):t.format(i.range.start,s,{forcedTzo:i.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let i=this._def,s=this._context,{eventStore:o}=s.getCurrentData(),a=bb(o,t.instanceId);a=Fb(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,s);let f=new Rt(s,i,t);this._def=a.defs[i.defId],this._instance=a.instances[t.instanceId],s.dispatch({type:"MERGE_EVENTS",eventStore:a}),s.emitter.trigger("eventChange",{oldEvent:f,event:this,relatedEvents:tc(a,s,t),revert(){s.dispatch({type:"RESET_EVENTS",eventStore:o})}})}}remove(){let e=this._context,t=sp(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}get source(){let{sourceId:e}=this._def;return e?new Vi(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let t=this._def,{ui:i}=t,{startStr:s,endStr:o}=this,a={allDay:t.allDay};return t.title&&(a.title=t.title),s&&(a.start=s),o&&(a.end=o),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),i.display&&i.display!=="auto"&&(a.display=i.display),e.collapseColor&&i.backgroundColor&&i.backgroundColor===i.borderColor?a.color=i.backgroundColor:(i.backgroundColor&&(a.backgroundColor=i.backgroundColor),i.borderColor&&(a.borderColor=i.borderColor)),i.textColor&&(a.textColor=i.textColor),i.classNames.length&&(a.classNames=i.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(a,t.extendedProps):a.extendedProps=t.extendedProps),a}toJSON(){return this.toPlainObject()}}function sp(n){let e=n._def,t=n._instance;return{defs:{[e.defId]:e},instances:t?{[t.instanceId]:t}:{}}}function tc(n,e,t){let{defs:i,instances:s}=n,o=[],a=t?t.instanceId:"";for(let d in s){let f=s[d],p=i[f.defId];f.instanceId!==a&&o.push(new Rt(e,p,f))}return o}function uf(n,e,t,i){let s={},o={},a={},d=[],f=[],p=op(n.defs,e);for(let h in n.defs){let y=n.defs[h];p[y.defId].display==="inverse-background"&&(y.groupId?(s[y.groupId]=[],a[y.groupId]||(a[y.groupId]=y)):o[h]=[])}for(let h in n.instances){let y=n.instances[h],w=n.defs[y.defId],v=p[w.defId],C=y.range,x=!w.allDay&&i?Qh(C,i):C,S=Zi(x,t);S&&(v.display==="inverse-background"?w.groupId?s[w.groupId].push(S):o[y.defId].push(S):v.display!=="none"&&(v.display==="background"?d:f).push({def:w,ui:v,instance:y,range:S,isStart:x.start&&x.start.valueOf()===S.start.valueOf(),isEnd:x.end&&x.end.valueOf()===S.end.valueOf()}))}for(let h in s){let y=s[h],w=sf(y,t);for(let v of w){let C=a[h],x=p[C.defId];d.push({def:C,ui:x,instance:null,range:v,isStart:!1,isEnd:!1})}}for(let h in o){let y=o[h],w=sf(y,t);for(let v of w)d.push({def:n.defs[h],ui:p[h],instance:null,range:v,isStart:!1,isEnd:!1})}return{bg:d,fg:f}}function df(n,e){n.fcSeg=e}function Rl(n){return n.fcSeg||n.parentNode.fcSeg||null}function op(n,e){return Ir(n,t=>ap(t,e))}function ap(n,e){let t=[];return e[""]&&t.push(e[""]),e[n.defId]&&t.push(e[n.defId]),t.push(n.ui),Cb(t)}function Wb(n,e){let t=n.map(Ub);return t.sort((i,s)=>i1(i,s,e)),t.map(i=>i._seg)}function Ub(n){let{eventRange:e}=n,t=e.def,i=e.instance?e.instance.range:e.range,s=i.start?i.start.valueOf():0,o=i.end?i.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},t.extendedProps),t),{id:t.publicId,start:s,end:o,duration:o-s,allDay:Number(t.allDay),_seg:n})}function Gb(n,e){let{pluginHooks:t}=e,i=t.isDraggableTransformers,{def:s,ui:o}=n.eventRange,a=o.startEditable;for(let d of i)a=d(a,s,o,e);return a}function qb(n,e){return n.isStart&&n.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function Yb(n,e){return n.isEnd&&n.eventRange.ui.durationEditable}function lp(n,e,t,i,s,o,a){let{dateEnv:d,options:f}=t,{displayEventTime:p,displayEventEnd:h}=f,y=n.eventRange.def,w=n.eventRange.instance;p==null&&(p=i!==!1),h==null&&(h=s!==!1);let v=w.range.start,C=w.range.end,x=n.start||n.eventRange.range.start,S=n.end||n.eventRange.range.end,D=je(v).valueOf()===je(x).valueOf(),R=je(zn(C,-1)).valueOf()===je(zn(S,-1)).valueOf();return p&&!y.allDay&&(D||R)?(x=D?v:x,S=R?C:S,h&&y.hasEnd?d.formatRange(x,S,e,{forcedStartTzo:w.forcedStartTzo,forcedEndTzo:w.forcedEndTzo}):d.format(x,e,{forcedTzo:w.forcedStartTzo})):""}function Cr(n,e,t){let i=n.eventRange.range;return{isPast:i.end<=e.start,isFuture:i.start>=e.end,isToday:e&&Bn(e,i.start)}}function Zb(n){let e=["fc-event"];return n.isMirror&&e.push("fc-event-mirror"),n.isDraggable&&e.push("fc-event-draggable"),(n.isStartResizable||n.isEndResizable)&&e.push("fc-event-resizable"),n.isDragging&&e.push("fc-event-dragging"),n.isResizing&&e.push("fc-event-resizing"),n.isSelected&&e.push("fc-event-selected"),n.isStart&&e.push("fc-event-start"),n.isEnd&&e.push("fc-event-end"),n.isPast&&e.push("fc-event-past"),n.isToday&&e.push("fc-event-today"),n.isFuture&&e.push("fc-event-future"),e}function Qb(n){return n.instance?n.instance.instanceId:`${n.def.defId}:${n.range.start.toISOString()}`}function cp(n,e){let{def:t,instance:i}=n.eventRange,{url:s}=t;if(s)return{href:s};let{emitter:o,options:a}=e,{eventInteractive:d}=a;return d==null&&(d=t.interactive,d==null&&(d=!!o.hasHandlers("eventClick"))),d?Fh(f=>{o.trigger("eventClick",{el:f.target,event:new Rt(e,t,i),jsEvent:f,view:e.viewApi})}):{}}const Xb={start:j,end:j,allDay:Boolean};function Jb(n,e,t){let i=Kb(n,e),{range:s}=i;if(!s.start)return null;if(!s.end){if(t==null)return null;s.end=e.add(s.start,t)}return i}function Kb(n,e){let{refined:t,extra:i}=ql(n,Xb),s=t.start?e.createMarkerMeta(t.start):null,o=t.end?e.createMarkerMeta(t.end):null,{allDay:a}=t;return a==null&&(a=s&&s.isTimeUnspecified&&(!o||o.isTimeUnspecified)),Object.assign({range:{start:s?s.marker:null,end:o?o.marker:null},allDay:a},i)}function ey(n,e){return Object.assign(Object.assign({},dp(n.range,e,n.allDay)),{allDay:n.allDay})}function up(n,e,t){return Object.assign(Object.assign({},dp(n,e,t)),{timeZone:e.timeZone})}function dp(n,e,t){return{start:e.toDate(n.start),end:e.toDate(n.end),startStr:e.formatIso(n.start,{omitTime:t}),endStr:e.formatIso(n.end,{omitTime:t})}}function ty(n,e,t){let i=ep({editable:!1},t),s=Ol(i.refined,i.extra,"",n.allDay,!0,t);return{def:s,ui:ap(s,e),instance:Xl(s.defId,n.range),range:n.range,isStart:!0,isEnd:!0}}function ny(n,e,t){let i=!1,s=function(d){i||(i=!0,e(d))},o=function(d){i||(i=!0,t(d))},a=n(s,o);a&&typeof a.then=="function"&&a.then(s,o)}class ff extends Error{constructor(e,t){super(e),this.response=t}}function iy(n,e,t){n=n.toUpperCase();const i={method:n};return n==="GET"?e+=(e.indexOf("?")===-1?"?":"&")+new URLSearchParams(t):(i.body=new URLSearchParams(t),i.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(e,i).then(s=>{if(s.ok)return s.json().then(o=>[o,s],()=>{throw new ff("Failure parsing JSON",s)});throw new ff("Request failed",s)})}let dl;function fp(){return dl==null&&(dl=ry()),dl}function ry(){if(typeof document=="undefined")return!0;let n=document.createElement("div");n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.innerHTML="<table><tr><td><div></div></td></tr></table>",n.querySelector("table").style.height="100px",n.querySelector("div").style.height="100%",document.body.appendChild(n);let t=n.querySelector("div").offsetHeight>0;return document.body.removeChild(n),t}class sy extends He{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{oo(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{oo(()=>{this.setState({forPrint:!1})})}}render(){let{props:e}=this,{options:t}=e,{forPrint:i}=this.state,s=i||t.height==="auto"||t.contentHeight==="auto",o=!s&&t.height!=null?t.height:"",a=["fc",i?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return fp()||a.push("fc-liquid-hack"),e.children(a,o,s,i)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class hp{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function oy(n,e){return{component:n,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}const hf={};class ay{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:i}=this;i.currentCalendarOptionsRefiners[e]?i.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering(()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:i}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:i.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,t){let i=this.getCurrentData(),s;t=t||"day",s=i.viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),s?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:s.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:t,toolbarConfig:i}=this.getCurrentData(),s=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]),o,a;for(let d in t)s.push(d);for(o=0;o<s.length;o+=1)if(a=t[s[o]],a&&a.singleUnit===e)return a;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:$r(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}incrementDate(e){let t=this.getCurrentData(),i=Ee(e);i&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,i)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,t){let{dateEnv:i}=this.getCurrentData();return i.format(i.createMarker(e),Ze(t))}formatRange(e,t,i){let{dateEnv:s}=this.getCurrentData();return s.formatRange(s.createMarker(e),s.createMarker(t),Ze(i),i)}formatIso(e,t){let{dateEnv:i}=this.getCurrentData();return i.formatIso(i.createMarker(e),{omitTime:t})}select(e,t){let i;t==null?e.start!=null?i=e:i={start:e,end:null}:i={start:e,end:t};let s=this.getCurrentData(),o=Jb(i,s.dateEnv,Ee({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),jb(o,null,s))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),Hb(e,t))}addEvent(e,t){if(e instanceof Rt){let a=e._def,d=e._instance;return this.getCurrentData().eventStore.defs[a.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Ml({def:a,instance:d})}),this.triggerEventAdd(e)),e}let i=this.getCurrentData(),s;if(t instanceof Vi)s=t.internalEventSource;else if(typeof t=="boolean")t&&([s]=Zl(i.eventSources));else if(t!=null){let a=this.getEventSourceById(t);if(!a)return console.warn(`Could not find an event source with ID "${t}"`),null;s=a.internalEventSource}let o=Kh(e,s,i,!1);if(o){let a=new Rt(i,o.def,o.def.recurringDef?null:o.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Ml(o)}),this.triggerEventAdd(a),a}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:sp(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:i,instances:s}=t.eventStore;e=String(e);for(let o in i){let a=i[o];if(a.publicId===e){if(a.recurringDef)return new Rt(t,a,null);for(let d in s){let f=s[d];if(f.defId===a.defId)return new Rt(t,a,f)}}}return null}getEvents(){let e=this.getCurrentData();return tc(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,i=[];for(let s in t)i.push(new Vi(e,t[s]));return i}getEventSourceById(e){let t=this.getCurrentData(),i=t.eventSources;e=String(e);for(let s in i)if(i[s].publicId===e)return new Vi(t,i[s]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof Vi)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let i=tp(e,t);return i?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[i]}),new Vi(t,i)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=Ee(e);t&&this.trigger("_scrollRequest",{time:t})}}function ly(n,e){let t={left:Math.max(n.left,e.left),right:Math.min(n.right,e.right),top:Math.max(n.top,e.top),bottom:Math.min(n.bottom,e.bottom)};return t.left<t.right&&t.top<t.bottom?t:!1}function pp(n,e,t,i){return{dow:n.getUTCDay(),isDisabled:!!(i&&!Bn(i.activeRange,n)),isOther:!!(i&&!Bn(i.currentRange,n)),isToday:!!(e&&Bn(e,n)),isPast:!!(e&&n<e.start),isFuture:!!(e&&n>=e.end)}}function nc(n,e){let t=["fc-day",`fc-day-${h1[n.dow]}`];return n.isDisabled?t.push("fc-day-disabled"):(n.isToday&&(t.push("fc-day-today"),t.push(e.getClass("today"))),n.isPast&&t.push("fc-day-past"),n.isFuture&&t.push("fc-day-future"),n.isOther&&t.push("fc-day-other")),t}const cy=Ze({year:"numeric",month:"long",day:"numeric"}),uy=Ze({week:"long"});function Pl(n,e,t="day",i=!0){const{dateEnv:s,options:o,calendarApi:a}=n;let d=s.format(e,t==="week"?uy:cy);if(o.navLinks){let f=s.toDate(e);const p=h=>{let y=t==="day"?o.navLinkDayClick:t==="week"?o.navLinkWeekClick:null;typeof y=="function"?y.call(a,s.toDate(e),h):(typeof y=="string"&&(t=y),a.zoomTo(e,t))};return Object.assign({title:_r(o.navLinkHint,[d,f],d),"data-navlink":""},i?Bh(p):{onClick:p})}return{"aria-label":d}}let fl;function dy(){return fl||(fl=fy()),fl}function fy(){let n=document.createElement("div");n.style.overflow="scroll",n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",document.body.appendChild(n);let e=hy(n);return document.body.removeChild(n),e}function hy(n){return{x:n.offsetHeight-n.clientHeight,y:n.offsetWidth-n.clientWidth}}function py(n){let e=gy(n),t=n.getBoundingClientRect();for(let i of e){let s=ly(t,i.getBoundingClientRect());if(s)t=s;else return null}return t}function gy(n){let e=[];for(;n instanceof HTMLElement;){let t=window.getComputedStyle(n);if(t.position==="fixed")break;/(auto|scroll)/.test(t.overflow+t.overflowY+t.overflowX)&&e.push(n),n=n.parentNode}return e}class co{constructor(e,t,i,s){this.els=t;let o=this.originClientRect=e.getBoundingClientRect();i&&this.buildElHorizontals(o.left),s&&this.buildElVerticals(o.top)}buildElHorizontals(e){let t=[],i=[];for(let s of this.els){let o=s.getBoundingClientRect();t.push(o.left-e),i.push(o.right-e)}this.lefts=t,this.rights=i}buildElVerticals(e){let t=[],i=[];for(let s of this.els){let o=s.getBoundingClientRect();t.push(o.top-e),i.push(o.bottom-e)}this.tops=t,this.bottoms=i}leftToIndex(e){let{lefts:t,rights:i}=this,s=t.length,o;for(o=0;o<s;o+=1)if(e>=t[o]&&e<i[o])return o}topToIndex(e){let{tops:t,bottoms:i}=this,s=t.length,o;for(o=0;o<s;o+=1)if(e>=t[o]&&e<i[o])return o}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return Ps(this.tops||[],e.tops||[])&&Ps(this.bottoms||[],e.bottoms||[])&&Ps(this.lefts||[],e.lefts||[])&&Ps(this.rights||[],e.rights||[])}}function Ps(n,e){const t=n.length;if(t!==e.length)return!1;for(let i=0;i<t;i++)if(Math.round(n[i])!==Math.round(e[i]))return!1;return!0}class Ci extends He{constructor(){super(...arguments),this.uid=wi()}prepareHits(){}queryHit(e,t,i,s){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!Ln(e,".fc-event-mirror")}isValidDateDownEl(e){return!Ln(e,".fc-event:not(.fc-bg-event)")&&!Ln(e,".fc-more-link")&&!Ln(e,"a[data-navlink]")&&!Ln(e,".fc-popover")}}class my{constructor(e=t=>t.thickness||1){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let i of e)this.insertEntry(i,t);return t}insertEntry(e,t){let i=this.findInsertion(e);this.isInsertionValid(i,e)?this.insertEntryAt(e,i):this.handleInvalidInsertion(i,e,t)}isInsertionValid(e,t){return(this.maxCoord===-1||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,i){if(this.allowReslicing&&e.touchingEntry){const s=Object.assign(Object.assign({},t),{span:gp(t.span,e.touchingEntry.span)});i.push(s),this.splitEntry(t,e.touchingEntry,i)}else i.push(t)}splitEntry(e,t,i){let s=e.span,o=t.span;s.start<o.start&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.start,end:o.start}},i),s.end>o.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.end,end:s.end}},i)}insertEntryAt(e,t){let{entriesByLevel:i,levelCoords:s}=this;t.lateral===-1?(hl(s,t.level,t.levelCoord),hl(i,t.level,[e])):hl(i[t.level],t.lateral,e),this.stackCnts[Ar(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:i,strictOrder:s,stackCnts:o}=this,a=t.length,d=0,f=-1,p=-1,h=null,y=0;for(let C=0;C<a;C+=1){const x=t[C];if(!s&&x>=d+this.getEntryThickness(e))break;let S=i[C],D,R=gf(S,e.span.start,pf),z=R[0]+R[1];for(;(D=S[z])&&D.span.start<e.span.end;){let E=x+this.getEntryThickness(D);E>d&&(d=E,h=D,f=C,p=z),E===d&&(y=Math.max(y,o[Ar(D)]+1)),z+=1}}let w=0;if(h)for(w=f+1;w<a&&t[w]<d;)w+=1;let v=-1;return w<a&&t[w]===d&&(v=gf(i[w],e.span.end,pf)[0]),{touchingLevel:f,touchingLateral:p,touchingEntry:h,stackCnt:y,levelCoord:d,level:w,lateral:v}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,i=e.length,s=[];for(let o=0;o<i;o+=1){let a=e[o],d=t[o];for(let f of a)s.push(Object.assign(Object.assign({},f),{thickness:this.getEntryThickness(f),levelCoord:d}))}return s}}function pf(n){return n.span.end}function Ar(n){return n.index+":"+n.span.start}function gp(n,e){let t=Math.max(n.start,e.start),i=Math.min(n.end,e.end);return t<i?{start:t,end:i}:null}function hl(n,e,t){n.splice(e,0,t)}function gf(n,e,t){let i=0,s=n.length;if(!s||e<t(n[i]))return[0,0];if(e>t(n[s-1]))return[s,0];for(;i<s;){let o=Math.floor(i+(s-i)/2),a=t(n[o]);if(e<a)s=o;else if(e>a)i=o+1;else return[o,1]}return[i,0]}function vy(n,e){return!n||e>10?Ze({weekday:"short"}):e>1?Ze({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):Ze({weekday:"long"})}const mp="fc-col-header-cell";function vp(n){return n.text}class by extends He{render(){let{dateEnv:e,options:t,theme:i,viewApi:s}=this.context,{props:o}=this,{date:a,dateProfile:d}=o,f=pp(a,o.todayRange,null,d),p=[mp].concat(nc(f,i)),h=e.format(a,o.dayHeaderFormat),y=!f.isDisabled&&o.colCnt>1?Pl(this.context,a):{},w=Object.assign(Object.assign(Object.assign({date:e.toDate(a),view:s},o.extraRenderProps),{text:h}),f);return $(Sn,{elTag:"th",elClasses:p,elAttrs:Object.assign({role:"columnheader",colSpan:o.colSpan,"data-date":f.isDisabled?void 0:Ul(a)},o.extraDataAttrs),renderProps:w,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:vp,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},v=>$("div",{className:"fc-scrollgrid-sync-inner"},!f.isDisabled&&$(v,{elTag:"a",elAttrs:y,elClasses:["fc-col-header-cell-cushion",o.isSticky&&"fc-sticky"]})))}}const yy=Ze({weekday:"long"});class wy extends He{render(){let{props:e}=this,{dateEnv:t,theme:i,viewApi:s,options:o}=this.context,a=nt(new Date(2592e5),e.dow),d={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},f=t.format(a,e.dayHeaderFormat),p=Object.assign(Object.assign(Object.assign(Object.assign({date:a},d),{view:s}),e.extraRenderProps),{text:f});return $(Sn,{elTag:"th",elClasses:[mp,...nc(d,i),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:p,generatorName:"dayHeaderContent",customGenerator:o.dayHeaderContent,defaultGenerator:vp,classNameGenerator:o.dayHeaderClassNames,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},h=>$("div",{className:"fc-scrollgrid-sync-inner"},$(h,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(a,yy)}})))}}class ic extends Lt{constructor(e,t){super(e,t),this.initialNowDate=$r(t.options.now,t.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,i=zn(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),s=t.dateEnv.startOf(i,e.unit),o=t.dateEnv.add(s,Ee(1,e.unit)),a=o.valueOf()-i.valueOf();return a=Math.min(1e3*60*60*24,a),{currentState:{nowDate:s,todayRange:mf(s)},nextState:{nowDate:o,todayRange:mf(o)},waitMs:a}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}ic.contextType=_i;function mf(n){let e=je(n),t=nt(e,1);return{start:e,end:t}}class _y extends He{constructor(){super(...arguments),this.createDayHeaderFormatter=we(Ly)}render(){let{context:e}=this,{dates:t,dateProfile:i,datesRepDistinctDays:s,renderIntro:o}=this.props,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,s,t.length);return $(ic,{unit:"day"},(d,f)=>$("tr",{role:"row"},o&&o("day"),t.map(p=>s?$(by,{key:p.toISOString(),date:p,dateProfile:i,todayRange:f,colCnt:t.length,dayHeaderFormat:a}):$(wy,{key:p.getUTCDay(),dow:p.getUTCDay(),dayHeaderFormat:a}))))}}function Ly(n,e,t){return n||vy(e,t)}class Cy{constructor(e,t){let i=e.start,{end:s}=e,o=[],a=[],d=-1;for(;i<s;)t.isHiddenDay(i)?o.push(d+.5):(d+=1,o.push(d),a.push(i)),i=nt(i,1);this.dates=a,this.indices=o,this.cnt=a.length}sliceRange(e){let t=this.getDateDayIndex(e.start),i=this.getDateDayIndex(nt(e.end,-1)),s=Math.max(0,t),o=Math.min(this.cnt-1,i);return s=Math.ceil(s),o=Math.floor(o),s<=o?{firstIndex:s,lastIndex:o,isStart:t===s,isEnd:i===o}:null}getDateDayIndex(e){let{indices:t}=this,i=Math.floor(er(this.dates[0],e));return i<0?t[0]-1:i>=t.length?t[t.length-1]+1:t[i]}}class Ay{constructor(e,t){let{dates:i}=e,s,o,a;if(t){for(o=i[0].getUTCDay(),s=1;s<i.length&&i[s].getUTCDay()!==o;s+=1);a=Math.ceil(i.length/s)}else a=1,s=i.length;this.rowCnt=a,this.colCnt=s,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let t=0;t<this.rowCnt;t+=1){let i=[];for(let s=0;s<this.colCnt;s+=1)i.push(this.buildCell(t,s));e.push(i)}return e}buildCell(e,t){let i=this.daySeries.dates[e*this.colCnt+t];return{key:i.toISOString(),date:i}}buildHeaderDates(){let e=[];for(let t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}sliceRange(e){let{colCnt:t}=this,i=this.daySeries.sliceRange(e),s=[];if(i){let{firstIndex:o,lastIndex:a}=i,d=o;for(;d<=a;){let f=Math.floor(d/t),p=Math.min((f+1)*t,a+1);s.push({row:f,firstCol:d%t,lastCol:(p-1)%t,isStart:i.isStart&&d===o,isEnd:i.isEnd&&p-1===a}),d=p}}return s}}class Ey{constructor(){this.sliceBusinessHours=we(this._sliceBusinessHours),this.sliceDateSelection=we(this._sliceDateSpan),this.sliceEventStore=we(this._sliceEventStore),this.sliceEventDrag=we(this._sliceInteraction),this.sliceEventResize=we(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,i,s,...o){let{eventUiBases:a}=e,d=this.sliceEventStore(e.eventStore,a,t,i,...o);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,i,a,s,...o),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,i,s,...o),fgEventSegs:d.fg,bgEventSegs:d.bg,eventDrag:this.sliceEventDrag(e.eventDrag,a,t,i,...o),eventResize:this.sliceEventResize(e.eventResize,a,t,i,...o),eventSelection:e.eventSelection}}sliceNowDate(e,t,i,s,...o){return this._sliceDateSpan({range:{start:e,end:zn(e,1)},allDay:!1},t,i,{},s,...o)}_sliceBusinessHours(e,t,i,s,...o){return e?this._sliceEventStore(jr(e,Is(t,!!i),s),{},t,i,...o).bg:[]}_sliceEventStore(e,t,i,s,...o){if(e){let a=uf(e,t,Is(i,!!s),s);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,i,s,...o){if(!e)return null;let a=uf(e.mutatedEvents,t,Is(i,!!s),s);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,i,s,o,...a){if(!e)return[];let d=Is(t,!!i),f=Zi(e.range,d);if(f){e=Object.assign(Object.assign({},e),{range:f});let p=ty(e,s,o),h=this.sliceRange(e.range,...a);for(let y of h)y.eventRange=p;return h}return[]}sliceEventRanges(e,t){let i=[];for(let s of e)i.push(...this.sliceEventRange(s,t));return i}sliceEventRange(e,t){let i=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(i={start:i.start,end:nt(i.start,1)});let s=this.sliceRange(i,...t);for(let o of s)o.eventRange=e,o.isStart=e.isStart&&o.isStart,o.isEnd=e.isEnd&&o.isEnd;return s}}function Is(n,e){let t=n.activeRange;return e?t:{start:zn(t.start,n.slotMinTime.milliseconds),end:zn(t.end,n.slotMaxTime.milliseconds-864e5)}}const Ns=/^(visible|hidden)$/;class xy extends He{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,En(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:i}=e,s=t&&i,o=["fc-scroller"];return t&&(i?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),$("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:s&&-(e.overcomeLeft||0)||"",right:s&&-(e.overcomeRight||0)||"",bottom:s&&-(e.overcomeBottom||0)||"",marginLeft:!s&&-(e.overcomeLeft||0)||"",marginRight:!s&&-(e.overcomeRight||0)||"",marginBottom:!s&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(Ns.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:i}=e;for(let s=0;s<i.length;s+=1)if(i[s].getBoundingClientRect().width>t)return!0;return!1}needsYScrolling(){if(Ns.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:i}=e;for(let s=0;s<i.length;s+=1)if(i[s].getBoundingClientRect().height>t)return!0;return!1}getXScrollbarWidth(){return Ns.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return Ns.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class gi{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(t,i)=>{let{depths:s,currentMap:o}=this,a=!1,d=!1;t!==null?(a=i in o,o[i]=t,s[i]=(s[i]||0)+1,d=!0):(s[i]-=1,s[i]||(delete o[i],delete this.callbackMap[i],a=!0)),this.masterCallback&&(a&&this.masterCallback(null,String(i)),d&&this.masterCallback(t,String(i)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=i=>{this.handleValue(i,String(e))}),t}collect(e,t,i){return G1(this.currentMap,e,t,i)}getAll(){return Zl(this.currentMap)}}function Sy(n){let e=Qv(n,".fc-scrollgrid-shrink"),t=0;for(let i of e)t=Math.max(t,o1(i));return Math.ceil(t)}function bp(n,e){return n.liquid&&e.liquid}function Ty(n,e){return e.maxHeight!=null||bp(n,e)}function Dy(n,e,t,i){let{expandRows:s}=t;return typeof e.content=="function"?e.content(t):$("table",{role:"presentation",className:[e.tableClassName,n.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:t.tableMinWidth,width:t.clientWidth,height:s?t.clientHeight:""}},t.tableColGroupNode,$(i?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(t):e.rowContent))}function ky(n,e){return Fn(n,e,rn)}function Oy(n,e){let t=[];for(let i of n){let s=i.span||1;for(let o=0;o<s;o+=1)t.push($("col",{style:{width:i.width==="shrink"?My(e):i.width||"",minWidth:i.minWidth||""}}))}return $("colgroup",{},...t)}function My(n){return n==null?4:n}function Ry(n){for(let e of n)if(e.width==="shrink")return!0;return!1}function Py(n,e){let t=["fc-scrollgrid",e.theme.getClass("table")];return n&&t.push("fc-scrollgrid-liquid"),t}function Iy(n,e){let t=["fc-scrollgrid-section",`fc-scrollgrid-section-${n.type}`,n.className];return e&&n.liquid&&n.maxHeight==null&&t.push("fc-scrollgrid-section-liquid"),n.isSticky&&t.push("fc-scrollgrid-section-sticky"),t}function Ny(n){return $("div",{className:"fc-scrollgrid-sticky-shim",style:{width:n.clientWidth,minWidth:n.tableMinWidth}})}function vf(n){let{stickyHeaderDates:e}=n;return(e==null||e==="auto")&&(e=n.height==="auto"||n.viewHeight==="auto"),e}function $y(n){let{stickyFooterScrollbar:e}=n;return(e==null||e==="auto")&&(e=n.height==="auto"||n.viewHeight==="auto"),e}class yp extends He{constructor(){super(...arguments),this.processCols=we(e=>e,ky),this.renderMicroColGroup=we(Oy),this.scrollerRefs=new gi,this.scrollerElRefs=new gi(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:t,context:i}=this,s=e.sections||[],o=this.processCols(e.cols),a=this.renderMicroColGroup(o,t.shrinkWidth),d=Py(e.liquid,i);e.collapsibleWidth&&d.push("fc-scrollgrid-collapsible");let f=s.length,p=0,h,y=[],w=[],v=[];for(;p<f&&(h=s[p]).type==="header";)y.push(this.renderSection(h,a,!0)),p+=1;for(;p<f&&(h=s[p]).type==="body";)w.push(this.renderSection(h,a,!1)),p+=1;for(;p<f&&(h=s[p]).type==="footer";)v.push(this.renderSection(h,a,!0)),p+=1;let C=!fp();const x={role:"rowgroup"};return $("table",{role:"grid",className:d.join(" "),style:{height:e.height}},!!(!C&&y.length)&&$("thead",x,...y),!!(!C&&w.length)&&$("tbody",x,...w),!!(!C&&v.length)&&$("tfoot",x,...v),C&&$("tbody",x,...y,...w,...v))}renderSection(e,t,i){return"outerContent"in e?$(ze,{key:e.key},e.outerContent):$("tr",{key:e.key,role:"presentation",className:Iy(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,i))}renderChunkTd(e,t,i,s){if("outerContent"in i)return i.outerContent;let{props:o}=this,{forceYScrollbars:a,scrollerClientWidths:d,scrollerClientHeights:f}=this.state,p=Ty(o,e),h=bp(o,e),y=o.liquid?a?"scroll":p?"auto":"hidden":"visible",w=e.key,v=Dy(e,i,{tableColGroupNode:t,tableMinWidth:"",clientWidth:!o.collapsibleWidth&&d[w]!==void 0?d[w]:null,clientHeight:f[w]!==void 0?f[w]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},s);return $(s?"th":"td",{ref:i.elRef,role:"presentation"},$("div",{className:`fc-scroller-harness${h?" fc-scroller-harness-liquid":""}`},$(xy,{ref:this.scrollerRefs.createRef(w),elRef:this.scrollerElRefs.createRef(w),overflowY:y,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:h,liquidIsAbsolute:!0},v)))}_handleScrollerEl(e,t){let i=jy(this.props.sections,t);i&&En(i.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return Ry(this.props.cols)?Sy(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=dy(),{scrollerRefs:t,scrollerElRefs:i}=this,s=!1,o={},a={};for(let d in t.currentMap){let f=t.currentMap[d];if(f&&f.needsYScrolling()){s=!0;break}}for(let d of this.props.sections){let f=d.key,p=i.currentMap[f];if(p){let h=p.parentNode;o[f]=Math.floor(h.getBoundingClientRect().width-(s?e.y:0)),a[f]=Math.floor(h.getBoundingClientRect().height)}}return{forceYScrollbars:s,scrollerClientWidths:o,scrollerClientHeights:a}}}yp.addStateEquality({scrollerClientWidths:rn,scrollerClientHeights:rn});function jy(n,e){for(let t of n)if(t.key===e)return t;return null}class rc extends He{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&df(e,this.props.seg)}}render(){const{props:e,context:t}=this,{options:i}=t,{seg:s}=e,{eventRange:o}=s,{ui:a}=o,d={event:new Rt(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&Gb(s,t),isStartResizable:!e.disableResizing&&qb(s,t),isEndResizable:!e.disableResizing&&Yb(s),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!s.isStart,isEnd:!!s.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing};return $(Sn,Object.assign({},e,{elRef:this.handleEl,elClasses:[...Zb(d),...s.eventRange.ui.classNames,...e.elClasses||[]],renderProps:d,generatorName:"eventContent",customGenerator:i.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.eventClassNames,didMount:i.eventDidMount,willUnmount:i.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&df(this.el,this.props.seg)}}class Hy extends He{render(){let{props:e,context:t}=this,{options:i}=t,{seg:s}=e,{ui:o}=s.eventRange,a=i.eventTimeFormat||e.defaultTimeFormat,d=lp(s,a,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return $(rc,Object.assign({},e,{elTag:"a",elStyle:{borderColor:o.borderColor,backgroundColor:o.backgroundColor},elAttrs:cp(s,t),defaultGenerator:By,timeText:d}),(f,p)=>$(ze,null,$(f,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:p.textColor}}),!!p.isStartResizable&&$("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!p.isEndResizable&&$("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function By(n){return $("div",{className:"fc-event-main-frame"},n.timeText&&$("div",{className:"fc-event-time"},n.timeText),$("div",{className:"fc-event-title-container"},$("div",{className:"fc-event-title fc-sticky"},n.event.title||$(ze,null," "))))}const Fy=Ze({day:"numeric"});class wp extends He{constructor(){super(...arguments),this.refineRenderProps=Gs(zy)}render(){let{props:e,context:t}=this,{options:i}=t,s=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:i.monthStartFormat});return $(Sn,Object.assign({},e,{elClasses:[...nc(s,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),s.isDisabled?{}:{"data-date":Ul(e.date)}),renderProps:s,generatorName:"dayCellContent",customGenerator:i.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:s.isDisabled?void 0:i.dayCellClassNames,didMount:i.dayCellDidMount,willUnmount:i.dayCellWillUnmount}))}}function _p(n){return!!(n.dayCellContent||kl("dayCellContent",n))}function zy(n){let{date:e,dateEnv:t,dateProfile:i,isMonthStart:s}=n,o=pp(e,n.todayRange,null,i),a=n.showDayNumber?t.format(e,s?n.monthStartFormat:Fy):"";return Object.assign(Object.assign(Object.assign({date:t.toDate(e),view:n.viewApi},o),{isMonthStart:s,dayNumberText:a}),n.extraRenderProps)}class Vy extends He{render(){let{props:e}=this,{seg:t}=e;return $(rc,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:Wy,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function Wy(n){let{title:e}=n.event;return e&&$("div",{className:"fc-event-title"},n.event.title)}function Uy(n){return $("div",{className:`fc-${n}`})}const Gy=n=>$(_i.Consumer,null,e=>{let{dateEnv:t,options:i}=e,{date:s}=n,o=i.weekNumberFormat||n.defaultFormat,a=t.computeWeekNumber(s),d=t.format(s,o);return $(Sn,Object.assign({},n,{renderProps:{num:a,text:d,date:s},generatorName:"weekNumberContent",customGenerator:i.weekNumberContent,defaultGenerator:qy,classNameGenerator:i.weekNumberClassNames,didMount:i.weekNumberDidMount,willUnmount:i.weekNumberWillUnmount}))});function qy(n){return n.text}const pl=10;class Yy extends He{constructor(){super(...arguments),this.state={titleId:mo()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&En(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const t=Kv(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:i,state:s}=this,o=["fc-popover",e.getClass("popover")].concat(i.extraClassNames||[]);return Iv($("div",Object.assign({},i.extraAttrs,{id:i.id,className:o.join(" "),"aria-labelledby":s.titleId,ref:this.handleRootEl}),$("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},$("span",{className:"fc-popover-title",id:s.titleId},i.title),$("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),$("div",{className:"fc-popover-body "+e.getClass("popoverContent")},i.children)),i.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:i}=this.props,{rootEl:s}=this,o=py(t);if(o){let a=s.getBoundingClientRect(),d=i?Ln(t,".fc-scrollgrid").getBoundingClientRect().top:o.top,f=e?o.right-a.width:o.left;d=Math.max(d,pl),f=Math.min(f,document.documentElement.clientWidth-pl-a.width),f=Math.max(f,pl);let p=s.offsetParent.getBoundingClientRect();Jv(s,{top:d-p.top,left:f-p.left})}}}class Zy extends Ci{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:i}=this,{startDate:s,todayRange:o,dateProfile:a}=i,d=t.format(s,e.dayPopoverFormat);return $(wp,{elRef:this.handleRootEl,date:s,dateProfile:a,todayRange:o},(f,p,h)=>$(Yy,{elRef:h.ref,id:i.id,title:d,extraClassNames:["fc-more-popover"].concat(h.className||[]),extraAttrs:h,parentEl:i.parentEl,alignmentEl:i.alignmentEl,alignGridTop:i.alignGridTop,onClose:i.onClose},_p(e)&&$(f,{elTag:"div",elClasses:["fc-more-popover-misc"]}),i.children))}queryHit(e,t,i,s){let{rootEl:o,props:a}=this;return e>=0&&e<i&&t>=0&&t<s?{dateProfile:a.dateProfile,dateSpan:Object.assign({allDay:!a.forceTimed,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:i,bottom:s},layer:1}:null}}class Qy extends He{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:mo()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&En(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:i}=this,{moreLinkClick:s}=i.options,o=bf(t).start;function a(d){let{def:f,instance:p,range:h}=d.eventRange;return{event:new Rt(i,f,p),start:i.dateEnv.toDate(h.start),end:i.dateEnv.toDate(h.end),isStart:d.isStart,isEnd:d.isEnd}}typeof s=="function"&&(s=s({date:o,allDay:!!t.allDayDate,allSegs:t.allSegs.map(a),hiddenSegs:t.hiddenSegs.map(a),jsEvent:e,view:i.viewApi})),!s||s==="popover"?this.setState({isPopoverOpen:!0}):typeof s=="string"&&i.calendarApi.zoomTo(o,s)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return $(_i.Consumer,null,i=>{let{viewApi:s,options:o,calendarApi:a}=i,{moreLinkText:d}=o,{moreCnt:f}=e,p=bf(e),h=typeof d=="function"?d.call(a,f):`+${f} ${d}`,y=_r(o.moreLinkHint,[f],h),w={num:f,shortText:`+${f}`,text:h,view:s};return $(ze,null,!!e.moreCnt&&$(Sn,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),Bh(this.handleClick)),{title:y,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:w,generatorName:"moreLinkContent",customGenerator:o.moreLinkContent,defaultGenerator:e.defaultGenerator||Xy,classNameGenerator:o.moreLinkClassNames,didMount:o.moreLinkDidMount,willUnmount:o.moreLinkWillUnmount},e.children),t.isPopoverOpen&&$(Zy,{id:t.popoverId,startDate:p.start,endDate:p.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=Ln(this.linkEl,".fc-view-harness"))}}function Xy(n){return n.text}function bf(n){if(n.allDayDate)return{start:n.allDayDate,end:nt(n.allDayDate,1)};let{hiddenSegs:e}=n;return{start:Jy(e),end:ew(e)}}function Jy(n){return n.reduce(Ky).eventRange.range.start}function Ky(n,e){return n.eventRange.range.start<e.eventRange.range.start?n:e}function ew(n){return n.reduce(tw).eventRange.range.end}function tw(n,e){return n.eventRange.range.end>e.eventRange.range.end?n:e}class nw{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(let t of this.handlers)t(e)}subscribe(e){this.handlers.push(e),this.currentValue!==void 0&&e(this.currentValue)}}class iw extends nw{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:t}=this;let i=!1;e.isActive?(t.set(e.id,e),i=!0):t.has(e.id)&&(t.delete(e.id),i=!0),i&&this.set(t)}}const rw=[],Lp={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Cp=Object.assign(Object.assign({},Lp),{buttonHints:{prev:"Previous $0",next:"Next $0",today(n,e){return e==="day"?"Today":`This ${n}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(n){return`Show ${n} more event${n===1?"":"s"}`}});function sw(n){let e=n.length>0?n[0].code:"en",t=rw.concat(n),i={en:Cp};for(let s of t)i[s.code]=s;return{map:i,defaultCode:e}}function Ap(n,e){return typeof n=="object"&&!Array.isArray(n)?Ep(n.code,[n.code],n):ow(n,e)}function ow(n,e){let t=[].concat(n||[]),i=aw(t,e)||Cp;return Ep(n,t,i)}function aw(n,e){for(let t=0;t<n.length;t+=1){let i=n[t].toLocaleLowerCase().split("-");for(let s=i.length;s>0;s-=1){let o=i.slice(0,s).join("-");if(e[o])return e[o]}}return null}function Ep(n,e,t){let i=Yl([Lp,t],["buttonText"]);delete i.code;let{week:s}=i;return delete i.week,{codeArg:n,codes:e,week:s,simpleNumberFormat:new Intl.NumberFormat(n),options:i}}function Ai(n){return{id:wi(),name:n.name,premiumReleaseDate:n.premiumReleaseDate?new Date(n.premiumReleaseDate):void 0,deps:n.deps||[],reducers:n.reducers||[],isLoadingFuncs:n.isLoadingFuncs||[],contextInit:[].concat(n.contextInit||[]),eventRefiners:n.eventRefiners||{},eventDefMemberAdders:n.eventDefMemberAdders||[],eventSourceRefiners:n.eventSourceRefiners||{},isDraggableTransformers:n.isDraggableTransformers||[],eventDragMutationMassagers:n.eventDragMutationMassagers||[],eventDefMutationAppliers:n.eventDefMutationAppliers||[],dateSelectionTransformers:n.dateSelectionTransformers||[],datePointTransforms:n.datePointTransforms||[],dateSpanTransforms:n.dateSpanTransforms||[],views:n.views||{},viewPropsTransformers:n.viewPropsTransformers||[],isPropsValid:n.isPropsValid||null,externalDefTransforms:n.externalDefTransforms||[],viewContainerAppends:n.viewContainerAppends||[],eventDropTransformers:n.eventDropTransformers||[],componentInteractions:n.componentInteractions||[],calendarInteractions:n.calendarInteractions||[],themeClasses:n.themeClasses||{},eventSourceDefs:n.eventSourceDefs||[],cmdFormatter:n.cmdFormatter,recurringTypes:n.recurringTypes||[],namedTimeZonedImpl:n.namedTimeZonedImpl,initialView:n.initialView||"",elementDraggingImpl:n.elementDraggingImpl,optionChangeHandlers:n.optionChangeHandlers||{},scrollGridImpl:n.scrollGridImpl||null,listenerRefiners:n.listenerRefiners||{},optionRefiners:n.optionRefiners||{},propSetHandlers:n.propSetHandlers||{}}}function lw(n,e){let t={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function s(o){for(let a of o){const d=a.name,f=t[d];f===void 0?(t[d]=a.id,s(a.deps),i=uw(i,a)):f!==a.id&&console.warn(`Duplicate plugin '${d}'`)}}return n&&s(n),s(e),i}function cw(){let n=[],e=[],t;return(i,s)=>((!t||!Fn(i,n)||!Fn(s,e))&&(t=lw(i,s)),n=i,e=s,t)}function uw(n,e){return{premiumReleaseDate:dw(n.premiumReleaseDate,e.premiumReleaseDate),reducers:n.reducers.concat(e.reducers),isLoadingFuncs:n.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:n.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},n.eventRefiners),e.eventRefiners),eventDefMemberAdders:n.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},n.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:n.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:n.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:n.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:n.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:n.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:n.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},n.views),e.views),viewPropsTransformers:n.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||n.isPropsValid,externalDefTransforms:n.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:n.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:n.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:n.calendarInteractions.concat(e.calendarInteractions),componentInteractions:n.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},n.themeClasses),e.themeClasses),eventSourceDefs:n.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||n.cmdFormatter,recurringTypes:n.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||n.namedTimeZonedImpl,initialView:n.initialView||e.initialView,elementDraggingImpl:n.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},n.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||n.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},n.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},n.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},n.propSetHandlers),e.propSetHandlers)}}function dw(n,e){return n===void 0?e:e===void 0?n:new Date(Math.max(n.valueOf(),e.valueOf()))}class Vn extends Nr{}Vn.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};Vn.prototype.baseIconClass="fc-icon";Vn.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"};Vn.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};Vn.prototype.iconOverrideOption="buttonIcons";Vn.prototype.iconOverrideCustomButtonOption="icon";Vn.prototype.iconOverridePrefix="fc-icon-";function fw(n,e){let t={},i;for(i in n)Il(i,t,n,e);for(i in e)Il(i,t,n,e);return t}function Il(n,e,t,i){if(e[n])return e[n];let s=hw(n,e,t,i);return s&&(e[n]=s),s}function hw(n,e,t,i){let s=t[n],o=i[n],a=h=>s&&s[h]!==null?s[h]:o&&o[h]!==null?o[h]:null,d=a("component"),f=a("superType"),p=null;if(f){if(f===n)throw new Error("Can't have a custom view type that references itself");p=Il(f,e,t,i)}return!d&&p&&(d=p.component),d?{type:n,component:d,defaults:Object.assign(Object.assign({},p?p.defaults:{}),s?s.rawOptions:{}),overrides:Object.assign(Object.assign({},p?p.overrides:{}),o?o.rawOptions:{})}:null}function yf(n){return Ir(n,pw)}function pw(n){let e=typeof n=="function"?{component:n}:n,{component:t}=e;return e.content?t=wf(e):t&&!(t.prototype instanceof He)&&(t=wf(Object.assign(Object.assign({},e),{content:t}))),{superType:e.type,component:t,rawOptions:e}}function wf(n){return e=>$(_i.Consumer,null,t=>$(Sn,{elTag:"div",elClasses:Yh(t.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:t.options.nextDayThreshold}),generatorName:void 0,customGenerator:n.content,classNameGenerator:n.classNames,didMount:n.didMount,willUnmount:n.willUnmount}))}function gw(n,e,t,i){let s=yf(n),o=yf(e.views),a=fw(s,o);return Ir(a,d=>mw(d,o,e,t,i))}function mw(n,e,t,i,s){let o=n.overrides.duration||n.defaults.duration||i.duration||t.duration,a=null,d="",f="",p={};if(o&&(a=vw(o),a)){let w=Tl(a);d=w.unit,w.value===1&&(f=d,p=e[d]?e[d].rawOptions:{})}let h=w=>{let v=w.buttonText||{},C=n.defaults.buttonTextKey;return C!=null&&v[C]!=null?v[C]:v[n.type]!=null?v[n.type]:v[f]!=null?v[f]:null},y=w=>{let v=w.buttonHints||{},C=n.defaults.buttonTextKey;return C!=null&&v[C]!=null?v[C]:v[n.type]!=null?v[n.type]:v[f]!=null?v[f]:null};return{type:n.type,component:n.component,duration:a,durationUnit:d,singleUnit:f,optionDefaults:n.defaults,optionOverrides:Object.assign(Object.assign({},p),n.overrides),buttonTextOverride:h(i)||h(t)||n.overrides.buttonText,buttonTextDefault:h(s)||n.defaults.buttonText||h(Lr)||n.type,buttonTitleOverride:y(i)||y(t)||n.overrides.buttonHint,buttonTitleDefault:y(s)||n.defaults.buttonHint||y(Lr)}}let _f={};function vw(n){let e=JSON.stringify(n),t=_f[e];return t===void 0&&(t=Ee(n),_f[e]=t),t}function bw(n,e){switch(e.type){case"CHANGE_VIEW_TYPE":n=e.viewType}return n}function yw(n,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},n),{[e.optionName]:e.rawOptionValue});default:return n}}function ww(n,e,t,i){let s;switch(e.type){case"CHANGE_VIEW_TYPE":return i.build(e.dateMarker||t);case"CHANGE_DATE":return i.build(e.dateMarker);case"PREV":if(s=i.buildPrev(n,t),s.isValid)return s;break;case"NEXT":if(s=i.buildNext(n,t),s.isValid)return s;break}return n}function _w(n,e,t){let i=e?e.activeRange:null;return Sp({},Tw(n,t),i,t)}function Lw(n,e,t,i){let s=t?t.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return Sp(n,e.sources,s,i);case"REMOVE_EVENT_SOURCE":return Aw(n,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return t?Tp(n,s,i):n;case"FETCH_EVENT_SOURCES":return sc(n,e.sourceIds?Vh(e.sourceIds):Dp(n,i),s,e.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Sw(n,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return n}}function Cw(n,e,t){let i=e?e.activeRange:null;return sc(n,Dp(n,t),i,!0,t)}function xp(n){for(let e in n)if(n[e].isFetching)return!0;return!1}function Sp(n,e,t,i){let s={};for(let o of e)s[o.sourceId]=o;return t&&(s=Tp(s,t,i)),Object.assign(Object.assign({},n),s)}function Aw(n,e){return Yi(n,t=>t.sourceId!==e)}function Tp(n,e,t){return sc(n,Yi(n,i=>Ew(i,e,t)),e,!1,t)}function Ew(n,e,t){return kp(n,t)?!t.options.lazyFetching||!n.fetchRange||n.isFetching||e.start<n.fetchRange.start||e.end>n.fetchRange.end:!n.latestFetchId}function sc(n,e,t,i,s){let o={};for(let a in n){let d=n[a];e[a]?o[a]=xw(d,t,i,s):o[a]=d}return o}function xw(n,e,t,i){let{options:s,calendarApi:o}=i,a=i.pluginHooks.eventSourceDefs[n.sourceDefId],d=wi();return a.fetch({eventSource:n,range:e,isRefetch:t,context:i},f=>{let{rawEvents:p}=f;s.eventSourceSuccess&&(p=s.eventSourceSuccess.call(o,p,f.response)||p),n.success&&(p=n.success.call(o,p,f.response)||p),i.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:d,fetchRange:e,rawEvents:p})},f=>{let p=!1;s.eventSourceFailure&&(s.eventSourceFailure.call(o,f),p=!0),n.failure&&(n.failure(f),p=!0),p||console.warn(f.message,f),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:d,fetchRange:e,error:f})}),Object.assign(Object.assign({},n),{isFetching:!0,latestFetchId:d})}function Sw(n,e,t,i){let s=n[e];return s&&t===s.latestFetchId?Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},s),{isFetching:!1,fetchRange:i})}):n}function Dp(n,e){return Yi(n,t=>kp(t,e))}function Tw(n,e){let t=np(e),i=[].concat(n.eventSources||[]),s=[];n.initialEvents&&i.unshift(n.initialEvents),n.events&&i.unshift(n.events);for(let o of i){let a=tp(o,e,t);a&&s.push(a)}return s}function kp(n,e){return!e.pluginHooks.eventSourceDefs[n.sourceDefId].ignoreRange}function Dw(n,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return n}}function kw(n,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return n}}function Ow(n,e){let t;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return t=e.state,{affectedEvents:t.affectedEvents,mutatedEvents:t.mutatedEvents,isEvent:t.isEvent};default:return n}}function Mw(n,e){let t;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return t=e.state,{affectedEvents:t.affectedEvents,mutatedEvents:t.mutatedEvents,isEvent:t.isEvent};default:return n}}function Rw(n,e,t,i,s){let o=n.headerToolbar?Lf(n.headerToolbar,n,e,t,i,s):null,a=n.footerToolbar?Lf(n.footerToolbar,n,e,t,i,s):null;return{header:o,footer:a}}function Lf(n,e,t,i,s,o){let a={},d=[],f=!1;for(let p in n){let h=n[p],y=Pw(h,e,t,i,s,o);a[p]=y.widgets,d.push(...y.viewsWithButtons),f=f||y.hasTitle}return{sectionWidgets:a,viewsWithButtons:d,hasTitle:f}}function Pw(n,e,t,i,s,o){let a=e.direction==="rtl",d=e.customButtons||{},f=t.buttonText||{},p=e.buttonText||{},h=t.buttonHints||{},y=e.buttonHints||{},w=n?n.split(" "):[],v=[],C=!1;return{widgets:w.map(S=>S.split(",").map(D=>{if(D==="title")return C=!0,{buttonName:D};let R,z,E,X,V,W;if(R=d[D])E=Z=>{R.click&&R.click.call(Z.target,Z,Z.target)},(X=i.getCustomButtonIconClass(R))||(X=i.getIconClass(D,a))||(V=R.text),W=R.hint||R.text;else if(z=s[D]){v.push(D),E=()=>{o.changeView(D)},(V=z.buttonTextOverride)||(X=i.getIconClass(D,a))||(V=z.buttonTextDefault);let Z=z.buttonTextOverride||z.buttonTextDefault;W=_r(z.buttonTitleOverride||z.buttonTitleDefault||e.viewHint,[Z,D],Z)}else if(o[D])if(E=()=>{o[D]()},(V=f[D])||(X=i.getIconClass(D,a))||(V=p[D]),D==="prevYear"||D==="nextYear"){let Z=D==="prevYear"?"prev":"next";W=_r(h[Z]||y[Z],[p.year||"year","year"],p[D])}else W=Z=>_r(h[D]||y[D],[p[Z]||Z,Z],p[D]);return{buttonName:D,buttonClick:E,buttonIcon:X,buttonText:V,buttonHint:W}})),viewsWithButtons:v,hasTitle:C}}class Iw{constructor(e,t,i){this.type=e,this.getCurrentData=t,this.dateEnv=i}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let Nw={ignoreRange:!0,parseMeta(n){return Array.isArray(n.events)?n.events:null},fetch(n,e){e({rawEvents:n.eventSource.meta})}};const $w=Ai({name:"array-event-source",eventSourceDefs:[Nw]});let jw={parseMeta(n){return typeof n.events=="function"?n.events:null},fetch(n,e,t){const{dateEnv:i}=n.context,s=n.eventSource.meta;ny(s.bind(null,up(n.range,i)),o=>e({rawEvents:o}),t)}};const Hw=Ai({name:"func-event-source",eventSourceDefs:[jw]}),Bw={method:String,extraParams:j,startParam:String,endParam:String,timeZoneParam:String};let Fw={parseMeta(n){return n.url&&(n.format==="json"||!n.format)?{url:n.url,format:"json",method:(n.method||"GET").toUpperCase(),extraParams:n.extraParams,startParam:n.startParam,endParam:n.endParam,timeZoneParam:n.timeZoneParam}:null},fetch(n,e,t){const{meta:i}=n.eventSource,s=Vw(i,n.range,n.context);iy(i.method,i.url,s).then(([o,a])=>{e({rawEvents:o,response:a})},t)}};const zw=Ai({name:"json-event-source",eventSourceRefiners:Bw,eventSourceDefs:[Fw]});function Vw(n,e,t){let{dateEnv:i,options:s}=t,o,a,d,f,p={};return o=n.startParam,o==null&&(o=s.startParam),a=n.endParam,a==null&&(a=s.endParam),d=n.timeZoneParam,d==null&&(d=s.timeZoneParam),typeof n.extraParams=="function"?f=n.extraParams():f=n.extraParams||{},Object.assign(p,f),p[o]=i.formatIso(e.start),p[a]=i.formatIso(e.end),i.timeZone!=="local"&&(p[d]=i.timeZone),p}const Ww={daysOfWeek:j,startTime:Ee,endTime:Ee,duration:Ee,startRecur:j,endRecur:j};let Uw={parse(n,e){if(n.daysOfWeek||n.startTime||n.endTime||n.startRecur||n.endRecur){let t={daysOfWeek:n.daysOfWeek||null,startTime:n.startTime||null,endTime:n.endTime||null,startRecur:n.startRecur?e.createMarker(n.startRecur):null,endRecur:n.endRecur?e.createMarker(n.endRecur):null},i;return n.duration&&(i=n.duration),!i&&n.startTime&&n.endTime&&(i=u1(n.endTime,n.startTime)),{allDayGuess:!n.startTime&&!n.endTime,duration:i,typeData:t}}return null},expand(n,e,t){let i=Zi(e,{start:n.startRecur,end:n.endRecur});return i?qw(n.daysOfWeek,n.startTime,i,t):[]}};const Gw=Ai({name:"simple-recurring-event",recurringTypes:[Uw],eventRefiners:Ww});function qw(n,e,t,i){let s=n?Vh(n):null,o=je(t.start),a=t.end,d=[];for(;o<a;){let f;(!s||s[o.getUTCDay()])&&(e?f=i.add(o,e):f=o,d.push(f)),o=nt(o,1)}return d}const Yw=Ai({name:"change-handler",optionChangeHandlers:{events(n,e){Cf([n],e)},eventSources:Cf}});function Cf(n,e){let t=Zl(e.getCurrentData().eventSources);if(t.length===1&&n.length===1&&Array.isArray(t[0]._raw)&&Array.isArray(n[0])){e.dispatch({type:"RESET_RAW_EVENTS",sourceId:t[0].sourceId,rawEvents:n[0]});return}let i=[];for(let s of n){let o=!1;for(let a=0;a<t.length;a+=1)if(t[a]._raw===s){t.splice(a,1),o=!0;break}o||i.push(s)}for(let s of t)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:s.sourceId});for(let s of i)e.calendarApi.addEventSource(s)}function Zw(n,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},up(n.activeRange,e.dateEnv)),{view:e.viewApi}))}function Qw(n,e){let{emitter:t}=e;t.hasHandlers("eventsSet")&&t.trigger("eventsSet",tc(n,e))}const Xw=[$w,Hw,zw,Gw,Yw,Ai({name:"misc",isLoadingFuncs:[n=>xp(n.eventSources)],propSetHandlers:{dateProfile:Zw,eventStore:Qw}})];class Jw{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new Wl(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t=[],i;for(;i=e.shift();)this.runTask(i),t.push(i);this.drained(t)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function Kw(n,e,t){let i;return/^(year|month)$/.test(n.currentRangeUnit)?i=n.currentRange:i=n.activeRange,t.formatRange(i.start,i.end,Ze(e.titleFormat||e_(n)),{isEndExclusive:n.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function e_(n){let{currentRangeUnit:e}=n;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let t=no(n.currentRange.start,n.currentRange.end);return t!==null&&t>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class t_{constructor(e){this.computeCurrentViewData=we(this._computeCurrentViewData),this.organizeRawLocales=we(sw),this.buildLocale=we(Ap),this.buildPluginHooks=cw(),this.buildDateEnv=we(n_),this.buildTheme=we(i_),this.parseToolbars=we(Rw),this.buildViewSpecs=we(gw),this.buildDateProfileGenerator=Gs(r_),this.buildViewApi=we(s_),this.buildViewUiProps=Gs(l_),this.buildEventUiBySource=we(o_,rn),this.buildEventUiBases=we(a_),this.parseContextBusinessHours=Gs(c_),this.buildTitle=we(Kw),this.emitter=new Mb,this.actionRunner=new Jw(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=w=>{this.actionRunner.request(w)},this.props=e,this.actionRunner.pause();let t={},i=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),s=i.calendarOptions.initialView||i.pluginHooks.initialView,o=this.computeCurrentViewData(s,i,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(o.options);let a=fb(i.calendarOptions,i.dateEnv),d=o.dateProfileGenerator.build(a);Bn(d.activeRange,a)||(a=d.currentRange.start);let f={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let w of i.pluginHooks.contextInit)w(f);let p=_w(i.calendarOptions,d,f),h={dynamicOptionOverrides:t,currentViewType:s,currentDate:a,dateProfile:d,businessHours:this.parseContextBusinessHours(f),eventSources:p,eventUiBases:{},eventStore:bi(),renderableEventStore:bi(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(f).selectionConfig},y=Object.assign(Object.assign({},f),h);for(let w of i.pluginHooks.reducers)Object.assign(h,w(null,null,y));gl(h,f)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:i}=this;t===void 0?i.optionOverrides=e:(i.optionOverrides=Object.assign(Object.assign({},i.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(t===void 0||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:i,emitter:s}=this,o=yw(i.dynamicOptionOverrides,e),a=this.computeOptionsData(t.optionOverrides,o,t.calendarApi),d=bw(i.currentViewType,e),f=this.computeCurrentViewData(d,a,t.optionOverrides,o);t.calendarApi.currentDataManager=this,s.setThisContext(t.calendarApi),s.setOptions(f.options);let p={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:s,getCurrentData:this.getCurrentData},{currentDate:h,dateProfile:y}=i;this.data&&this.data.dateProfileGenerator!==f.dateProfileGenerator&&(y=f.dateProfileGenerator.build(h)),h=db(h,e),y=ww(y,e,h,f.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!Bn(y.currentRange,h))&&(h=y.currentRange.start);let w=Lw(i.eventSources,e,y,p),v=Sb(i.eventStore,e,w,y,p),x=xp(w)&&!f.options.progressiveEventRendering&&i.renderableEventStore||v,{eventUiSingleBase:S,selectionConfig:D}=this.buildViewUiProps(p),R=this.buildEventUiBySource(w),z=this.buildEventUiBases(x.defs,S,R),E={dynamicOptionOverrides:o,currentViewType:d,currentDate:h,dateProfile:y,eventSources:w,eventStore:v,renderableEventStore:x,selectionConfig:D,eventUiBases:z,businessHours:this.parseContextBusinessHours(p),dateSelection:Dw(i.dateSelection,e),eventSelection:kw(i.eventSelection,e),eventDrag:Ow(i.eventDrag,e),eventResize:Mw(i.eventResize,e)},X=Object.assign(Object.assign({},p),E);for(let Z of a.pluginHooks.reducers)Object.assign(E,Z(i,e,X));let V=gl(i,p),W=gl(E,p);!V&&W?s.trigger("loading",!0):V&&!W&&s.trigger("loading",!1),this.state=E,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,i=this.data,s=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,s,e.optionOverrides,t.dynamicOptionOverrides),a=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,o.options,s.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},s),o),t),d=s.pluginHooks.optionChangeHandlers,f=i&&i.calendarOptions,p=s.calendarOptions;if(f&&f!==p){f.timeZone!==p.timeZone&&(t.eventSources=a.eventSources=Cw(a.eventSources,t.dateProfile,a),t.eventStore=a.eventStore=lf(a.eventStore,i.dateEnv,a.dateEnv),t.renderableEventStore=a.renderableEventStore=lf(a.renderableEventStore,i.dateEnv,a.dateEnv));for(let h in d)(this.optionsForHandling.indexOf(h)!==-1||f[h]!==p[h])&&d[h](p[h],a)}this.optionsForHandling=[],e.onData&&e.onData(a)}computeOptionsData(e,t,i){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:s,pluginHooks:o,localeDefaults:a,availableLocaleData:d,extra:f}=this.processRawCalendarOptions(e,t);Af(f);let p=this.buildDateEnv(s.timeZone,s.locale,s.weekNumberCalculation,s.firstDay,s.weekText,o,d,s.defaultRangeSeparator),h=this.buildViewSpecs(o.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,a),y=this.buildTheme(s,o),w=this.parseToolbars(s,this.stableOptionOverrides,y,h,i);return this.stableCalendarOptionsData={calendarOptions:s,pluginHooks:o,dateEnv:p,viewSpecs:h,theme:y,toolbarConfig:w,localeDefaults:a,availableRawLocales:d.map}}processRawCalendarOptions(e,t){let{locales:i,locale:s}=cl([Lr,e,t]),o=this.organizeRawLocales(i),a=o.map,d=this.buildLocale(s||o.defaultCode,a).options,f=this.buildPluginHooks(e.plugins||[],Xw),p=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ef),tf),nf),f.listenerRefiners),f.optionRefiners),h={},y=cl([Lr,d,e,t]),w={},v=this.currentCalendarOptionsInput,C=this.currentCalendarOptionsRefined,x=!1;for(let S in y)this.optionsForRefining.indexOf(S)===-1&&(y[S]===v[S]||li[S]&&S in v&&li[S](v[S],y[S]))?w[S]=C[S]:p[S]?(w[S]=p[S](y[S]),x=!0):h[S]=v[S];return x&&(this.currentCalendarOptionsInput=y,this.currentCalendarOptionsRefined=w,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:f,availableLocaleData:o,localeDefaults:d,extra:h}}_computeCurrentViewData(e,t,i,s){let o=t.viewSpecs[e];if(!o)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:a,extra:d}=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,i,s);Af(d);let f=this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,fixedWeekCount:a.fixedWeekCount}),p=this.buildViewApi(e,this.getCurrentData,t.dateEnv);return{viewSpec:o,options:a,dateProfileGenerator:f,viewApi:p}}processRawViewOptions(e,t,i,s,o){let a=cl([Lr,e.optionDefaults,i,s,e.optionOverrides,o]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ef),tf),nf),z1),t.listenerRefiners),t.optionRefiners),f={},p=this.currentViewOptionsInput,h=this.currentViewOptionsRefined,y=!1,w={};for(let v in a)a[v]===p[v]||li[v]&&li[v](a[v],p[v])?f[v]=h[v]:(a[v]===this.currentCalendarOptionsInput[v]||li[v]&&li[v](a[v],this.currentCalendarOptionsInput[v])?v in this.currentCalendarOptionsRefined&&(f[v]=this.currentCalendarOptionsRefined[v]):d[v]?f[v]=d[v](a[v]):w[v]=a[v],y=!0);return y&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=f),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:w}}}function n_(n,e,t,i,s,o,a,d){let f=Ap(e||a.defaultCode,a.map);return new J1({calendarSystem:"gregory",timeZone:n,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:f,weekNumberCalculation:t,firstDay:i,weekText:s,cmdFormatter:o.cmdFormatter,defaultSeparator:d})}function i_(n,e){let t=e.themeClasses[n.themeSystem]||Vn;return new t(n)}function r_(n){let e=n.dateProfileGeneratorClass||Xh;return new e(n)}function s_(n,e,t){return new Iw(n,e,t)}function o_(n){return Ir(n,e=>e.ui)}function a_(n,e,t){let i={"":e};for(let s in n){let o=n[s];o.sourceId&&t[o.sourceId]&&(i[s]=t[o.sourceId])}return i}function l_(n){let{options:e}=n;return{eventUiSingleBase:lo({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},n),selectionConfig:lo({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},n)}}function gl(n,e){for(let t of e.pluginHooks.isLoadingFuncs)if(t(n))return!0;return!1}function c_(n){return Nb(n.options.businessHours,n)}function Af(n,e){for(let t in n)console.warn(`Unknown option '${t}'`)}class u_ extends He{render(){let e=this.props.widgetGroups.map(t=>this.renderWidgetGroup(t));return $("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:t}=this,{theme:i}=this.context,s=[],o=!0;for(let a of e){let{buttonName:d,buttonClick:f,buttonText:p,buttonIcon:h,buttonHint:y}=a;if(d==="title")o=!1,s.push($("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let w=d===t.activeButton,v=!t.isTodayEnabled&&d==="today"||!t.isPrevEnabled&&d==="prev"||!t.isNextEnabled&&d==="next",C=[`fc-${d}-button`,i.getClass("button")];w&&C.push(i.getClass("buttonActive")),s.push($("button",{type:"button",title:typeof y=="function"?y(t.navUnit):y,disabled:v,"aria-pressed":w,className:C.join(" "),onClick:f},p||(h?$("span",{className:h,role:"img"}):"")))}}if(s.length>1){let a=o&&i.getClass("buttonGroup")||"";return $("div",{className:a},...s)}return s[0]}}class Ef extends He{render(){let{model:e,extraClassName:t}=this.props,i=!1,s,o,a=e.sectionWidgets,d=a.center;return a.left?(i=!0,s=a.left):s=a.start,a.right?(i=!0,o=a.right):o=a.end,$("div",{className:[t||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",s||[]),this.renderSection("center",d||[]),this.renderSection("end",o||[]))}renderSection(e,t){let{props:i}=this;return $(u_,{key:e,widgetGroups:t,title:i.title,navUnit:i.navUnit,activeButton:i.activeButton,isTodayEnabled:i.isTodayEnabled,isPrevEnabled:i.isPrevEnabled,isNextEnabled:i.isNextEnabled,titleId:i.titleId})}}class d_ extends He{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,En(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:i}=e,s=["fc-view-harness",i||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",a="";return i?t.availableWidth!==null?o=t.availableWidth/i:a=`${1/i*100}%`:o=e.height||"",$("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:s.join(" "),style:{height:o,paddingBottom:a}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class f_ extends hp{constructor(e){super(e),this.handleSegClick=(t,i)=>{let{component:s}=this,{context:o}=s,a=Rl(i);if(a&&s.isValidSegDownEl(t.target)){let d=Ln(t.target,".fc-event-forced-url"),f=d?d.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:i,event:new Rt(s.context,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:o.viewApi}),f&&!t.defaultPrevented&&(window.location.href=f)}},this.destroy=Hh(e.el,"click",".fc-event",this.handleSegClick)}}class h_ extends hp{constructor(e){super(e),this.handleEventElRemove=t=>{t===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(t,i)=>{Rl(i)&&(this.currentSegEl=i,this.triggerEvent("eventMouseEnter",t,i))},this.handleSegLeave=(t,i)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",t,i))},this.removeHoverListeners=t1(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,i){let{component:s}=this,{context:o}=s,a=Rl(i);(!t||s.isValidSegDownEl(t.target))&&o.emitter.trigger(e,{el:i,event:new Rt(o,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:o.viewApi})}}class p_ extends Li{constructor(){super(...arguments),this.buildViewContext=we(tb),this.buildViewPropTransformers=we(m_),this.buildToolbarProps=we(g_),this.headerRef=An(),this.footerRef=An(),this.interactionsStore={},this.state={viewLabelId:mo()},this.registerInteractiveComponent=(e,t)=>{let i=oy(e,t),a=[f_,h_].concat(this.props.pluginHooks.componentInteractions).map(d=>new d(i));this.interactionsStore[e.uid]=a,hf[e.uid]=i},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let i of t)i.destroy();delete this.interactionsStore[e.uid]}delete hf[e.uid]},this.resizeRunner=new Wl(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:t,options:i}=e,s=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,$r(e.options.now,e.dateEnv),e.viewTitle),o=!1,a="",d;e.isHeightAuto||e.forPrint?a="":i.height!=null?o=!0:i.contentHeight!=null?a=i.contentHeight:d=Math.max(i.aspectRatio,.5);let f=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),p=t.header&&t.header.hasTitle?this.state.viewLabelId:void 0;return $(_i.Provider,{value:f},t.header&&$(Ef,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:t.header,titleId:p},s)),$(d_,{liquid:o,height:a,aspectRatio:d,labeledById:p},this.renderView(e),this.buildAppendContent()),t.footer&&$(Ef,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:t.footer,titleId:""},s)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(i=>new i(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let i in t)t[i](e[i],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:i}=t.pluginHooks;for(let s in i)t[s]!==e[s]&&i[s](t[s],t)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,t=e.pluginHooks.viewContainerAppends.map(i=>i(e));return $(ze,{},...t)}renderView(e){let{pluginHooks:t}=e,{viewSpec:i}=e,s={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=this.buildViewPropTransformers(t.viewPropsTransformers);for(let d of o)Object.assign(s,d.transform(s,e));let a=i.component;return $(a,Object.assign({},s))}}function g_(n,e,t,i,s,o){let a=t.build(s,void 0,!1),d=t.buildPrev(e,i,!1),f=t.buildNext(e,i,!1);return{title:o,activeButton:n.type,navUnit:n.singleUnit,isTodayEnabled:a.isValid&&!Bn(e.currentRange,s),isPrevEnabled:d.isValid,isNextEnabled:f.isValid}}function m_(n){return n.map(e=>new e)}class v_ extends ay{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=i=>{switch(i.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=i=>{this.currentData=i,this.renderRunner.request(i.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:i}=this;oo(()=>{kr($(sy,{options:i.calendarOptions,theme:i.theme,emitter:i.emitter},(s,o,a,d)=>(this.setClassNames(s),this.setHeight(o),$(qh.Provider,{value:this.customContentRenderId},$(p_,Object.assign({isHeightAuto:a,forPrint:d},i))))),this.el)})}else this.isRendered&&(this.isRendered=!1,kr(null,this.el),this.setClassNames([]),this.setHeight(""))},Vv(e),this.el=e,this.renderRunner=new Wl(this.handleRenderRequest),new t_({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){oo(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!Fn(e,this.currentClassNames)){let{classList:t}=this.el;for(let i of this.currentClassNames)t.remove(i);for(let i of e)t.add(i);this.currentClassNames=e}}setHeight(e){jh(this.el,"height",e)}}const b_={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0},$s=typeof document!="undefined"?document.createDocumentFragment():null,y_=Re.extend({render(n){return n("aside",{style:{display:"none"}},this.$slots.default||[])},mounted(){$s&&$s.appendChild(this.$el)},beforeDestroy(){$s&&$s.removeChild(this.$el)}}),hi=typeof document!="undefined"?document.createDocumentFragment():null,w_=Re.extend({props:{inPlaceOf:typeof Element!="undefined"?Element:Object,reportEl:Function,elTag:String,elClasses:Array,elStyle:Object,elAttrs:Object},render(n){return n(this.elTag,{class:this.elClasses,style:this.elStyle,attrs:this.elAttrs},this.$slots.default||[])},mounted(){xf(this.$el,this.inPlaceOf),this.inPlaceOf.style.display="none",this.reportEl(this.$el)},updated(){hi&&this.inPlaceOf.parentNode!==hi&&(xf(this.$el,this.inPlaceOf),this.reportEl(this.$el))},beforeDestroy(){hi&&this.inPlaceOf.parentNode===hi&&hi.removeChild(this.inPlaceOf),this.reportEl(null)}});function xf(n,e){var t;(t=e.parentNode)===null||t===void 0||t.insertBefore(n,e.nextSibling),hi&&hi.appendChild(e)}const Op=Re.extend({props:{options:Object},data(){return{renderId:0,customRenderingMap:new Map}},methods:{getApi(){return this.calendar},buildOptions(n){return Object.assign(Object.assign({},n),{customRenderingMetaMap:L_(this.$scopedSlots),handleCustomRendering:this.handleCustomRendering,customRenderingReplaces:!0})}},render(n){const e=[];for(const t of this.customRenderingMap.values()){const i=typeof t.generatorMeta=="function"?t.generatorMeta(t.renderProps):t.generatorMeta;e.push(n("div",{key:t.id},[n(w_,{key:t.id,props:{inPlaceOf:t.containerEl,reportEl:t.reportNewContainerEl,elTag:t.elTag,elClasses:t.elClasses,elStyle:t.elStyle,elAttrs:t.elAttrs}},i)]))}return n("div",{attrs:{"data-fc-render-id":this.renderId}},[n(y_,e)])},mounted(){const n=new iw;this.handleCustomRendering=n.handle.bind(n);const e=this.buildOptions(this.options),t=new v_(this.$el,e);this.calendar=t,t.render(),n.subscribe(i=>{this.customRenderingMap=i,this.renderId++,this.needCustomRenderingResize=!0})},beforeUpdate(){this.getApi().resumeRendering()},updated(){this.needCustomRenderingResize&&(this.needCustomRenderingResize=!1,this.getApi().updateSize())},beforeDestroy(){this.getApi().destroy()},watch:__()});function __(){let n={options:{deep:!0,handler(e){let t=this.getApi();t.pauseRendering();let i=this.buildOptions(e);t.resetOptions(i),this.renderId++}}};for(let e in b_)n[`options.${e}`]={deep:!0,handler(t){if(t!==void 0){let i=this.getApi();i.pauseRendering(),i.resetOptions({[e]:t},[e]),this.renderId++}}};return n}function L_(n){const e={};for(const t in n)e[C_(t)]=n[t];return e}function C_(n){return n.split("-").map((e,t)=>t?A_(e):e).join("")}function A_(n){return n.charAt(0).toUpperCase()+n.slice(1)}let Sf=!1;function E_(n){Sf||(Sf=!0,n.component("FullCalendar",Op))}let uo;typeof globalThis!="undefined"?uo=globalThis.Vue:uo=window.Vue;uo&&uo.use({install:E_});class x_ extends Ci{constructor(){super(...arguments),this.headerElRef=An()}renderSimpleLayout(e,t){let{props:i,context:s}=this,o=[],a=vf(s.options);return e&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),$(rf,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},$(yp,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[],sections:o}))}renderHScrollLayout(e,t,i,s){let o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");let{props:a,context:d}=this,f=!a.forPrint&&vf(d.options),p=!a.forPrint&&$y(d.options),h=[];return e&&h.push({type:"header",key:"header",isSticky:f,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),h.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),p&&h.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Ny}]}),$(rf,{elClasses:["fc-daygrid"],viewSpec:d.viewSpec},$(o,{liquid:!a.isHeightAuto&&!a.forPrint,forPrint:a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:i,minWidth:s}]}],sections:h}))}}function js(n,e){let t=[];for(let i=0;i<e;i+=1)t[i]=[];for(let i of n)t[i.row].push(i);return t}function Hs(n,e){let t=[];for(let i=0;i<e;i+=1)t[i]=[];for(let i of n)t[i.firstCol].push(i);return t}function Tf(n,e){let t=[];if(n){for(let i=0;i<e;i+=1)t[i]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(let i of n.segs)t[i.row].segs.push(i)}else for(let i=0;i<e;i+=1)t[i]=null;return t}const Mp=Ze({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Rp(n){let{display:e}=n.eventRange.ui;return e==="list-item"||e==="auto"&&!n.eventRange.def.allDay&&n.firstCol===n.lastCol&&n.isStart&&n.isEnd}class Pp extends He{render(){let{props:e}=this;return $(Hy,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Mp,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class Ip extends He{render(){let{props:e,context:t}=this,{options:i}=t,{seg:s}=e,o=i.eventTimeFormat||Mp,a=lp(s,o,t,!0,e.defaultDisplayEventEnd);return $(rc,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:cp(e.seg,t),defaultGenerator:S_,timeText:a,isResizing:!1,isDateSelecting:!1}))}}function S_(n){return $(ze,null,$("div",{className:"fc-daygrid-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}}),n.timeText&&$("div",{className:"fc-event-time"},n.timeText),$("div",{className:"fc-event-title"},n.event.title||$(ze,null," ")))}class T_ extends He{constructor(){super(...arguments),this.compileSegs=we(D_)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:i}=this.compileSegs(e.singlePlacements);return $(Qy,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:i,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let s=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return $(ze,null,t.map(o=>{let a=o.eventRange.instance.instanceId;return $("div",{className:"fc-daygrid-event-harness",key:a,style:{visibility:s[a]?"hidden":""}},Rp(o)?$(Ip,Object.assign({seg:o,isDragging:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},Cr(o,e.todayRange))):$(Pp,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},Cr(o,e.todayRange))))}))}})}}function D_(n){let e=[],t=[];for(let i of n)e.push(i.seg),i.isVisible||t.push(i.seg);return{allSegs:e,invisibleSegs:t}}const k_=Ze({week:"narrow"});class O_ extends Ci{constructor(){super(...arguments),this.rootElRef=An(),this.state={dayNumberId:mo()},this.handleRootEl=e=>{En(this.rootElRef,e),En(this.props.elRef,e)}}render(){let{context:e,props:t,state:i,rootElRef:s}=this,{options:o,dateEnv:a}=e,{date:d,dateProfile:f}=t;const p=t.showDayNumber&&R_(d,f.currentRange,a);return $(wp,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":i.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:M_,date:d,dateProfile:f,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:p,extraRenderProps:t.extraRenderProps},(h,y)=>$("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&$(Gy,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:Pl(e,d,"week"),date:d,defaultFormat:k_}),!y.isDisabled&&(t.showDayNumber||_p(o)||t.forceDayTop)?$("div",{className:"fc-daygrid-day-top"},$(h,{elTag:"a",elClasses:["fc-daygrid-day-number",p&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},Pl(e,d)),{id:i.dayNumberId})})):t.showDayNumber?$("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},$("a",{className:"fc-daygrid-day-number"}," ")):void 0,$("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,$("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},$(T_,{allDayDate:d,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:s,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),$("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function M_(n){return n.dayNumberText||$(ze,null," ")}function R_(n,e,t){const{start:i,end:s}=e,o=zn(s,-1),a=t.getYear(i),d=t.getMonth(i),f=t.getYear(o),p=t.getMonth(o);return!(a===f&&d===p)&&(n.valueOf()===i.valueOf()||t.getDay(n)===1&&n.valueOf()<s.valueOf())}function Np(n){return n.eventRange.instance.instanceId+":"+n.firstCol}function $p(n){return Np(n)+":"+n.lastCol}function P_(n,e,t,i,s,o,a){let d=new $_(D=>{let R=n[D.index].eventRange.instance.instanceId+":"+D.span.start+":"+(D.span.end-1);return s[R]||1});d.allowReslicing=!0,d.strictOrder=i,e===!0||t===!0?(d.maxCoord=o,d.hiddenConsumes=!0):typeof e=="number"?d.maxStackCnt=e:typeof t=="number"&&(d.maxStackCnt=t,d.hiddenConsumes=!0);let f=[],p=[];for(let D=0;D<n.length;D+=1){let R=n[D],z=$p(R);s[z]!=null?f.push({index:D,span:{start:R.firstCol,end:R.lastCol+1}}):p.push(R)}let h=d.addSegs(f),y=d.toRects(),{singleColPlacements:w,multiColPlacements:v,leftoverMargins:C}=I_(y,n,a),x=[],S=[];for(let D of p){v[D.firstCol].push({seg:D,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let R=D.firstCol;R<=D.lastCol;R+=1)w[R].push({seg:Gi(D,R,R+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let D=0;D<a.length;D+=1)x.push(0);for(let D of h){let R=n[D.index],z=D.span;v[z.start].push({seg:Gi(R,z.start,z.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let E=z.start;E<z.end;E+=1)x[E]+=1,w[E].push({seg:Gi(R,E,E+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let D=0;D<a.length;D+=1)S.push(C[D]);return{singleColPlacements:w,multiColPlacements:v,moreCnts:x,moreMarginTops:S}}function I_(n,e,t){let i=N_(n,t.length),s=[],o=[],a=[];for(let d=0;d<t.length;d+=1){let f=i[d],p=[],h=0,y=0;for(let v of f){let C=e[v.index];p.push({seg:Gi(C,d,d+1,t),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:v.levelCoord-h}),h=v.levelCoord+v.thickness}let w=[];h=0,y=0;for(let v of f){let C=e[v.index],x=v.span.end-v.span.start>1,S=v.span.start===d;y+=v.levelCoord-h,h=v.levelCoord+v.thickness,x?(y+=v.thickness,S&&w.push({seg:Gi(C,v.span.start,v.span.end,t),isVisible:!0,isAbsolute:!0,absoluteTop:v.levelCoord,marginTop:0})):S&&(w.push({seg:Gi(C,v.span.start,v.span.end,t),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:y}),y=0)}s.push(p),o.push(w),a.push(y)}return{singleColPlacements:s,multiColPlacements:o,leftoverMargins:a}}function N_(n,e){let t=[];for(let i=0;i<e;i+=1)t.push([]);for(let i of n)for(let s=i.span.start;s<i.span.end;s+=1)t[s].push(i);return t}function Gi(n,e,t,i){if(n.firstCol===e&&n.lastCol===t-1)return n;let s=n.eventRange,o=s.range,a=Zi(o,{start:i[e].date,end:nt(i[t-1].date,1)});return Object.assign(Object.assign({},n),{firstCol:e,lastCol:t-1,eventRange:{def:s.def,ui:Object.assign(Object.assign({},s.ui),{durationEditable:!1}),instance:s.instance,range:a},isStart:n.isStart&&a.start.valueOf()===o.start.valueOf(),isEnd:n.isEnd&&a.end.valueOf()===o.end.valueOf()})}class $_ extends my{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const t=super.addSegs(e),{entriesByLevel:i}=this,s=o=>!this.forceHidden[Ar(o)];for(let o=0;o<i.length;o+=1)i[o]=i[o].filter(s);return t}handleInvalidInsertion(e,t,i){const{entriesByLevel:s,forceHidden:o}=this,{touchingEntry:a,touchingLevel:d,touchingLateral:f}=e;if(this.hiddenConsumes&&a){const p=Ar(a);if(!o[p])if(this.allowReslicing){const h=Object.assign(Object.assign({},a),{span:gp(a.span,t.span)}),y=Ar(h);o[y]=!0,s[d][f]=h,i.push(h),this.splitEntry(a,t,i)}else o[p]=!0,i.push(a)}super.handleInvalidInsertion(e,t,i)}}class jp extends Ci{constructor(){super(...arguments),this.cellElRefs=new gi,this.frameElRefs=new gi,this.fgElRefs=new gi,this.segHarnessRefs=new gi,this.rootElRef=An(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:i}=this,{options:s}=i,o=e.cells.length,a=Hs(e.businessHourSegs,o),d=Hs(e.bgEventSegs,o),f=Hs(this.getHighlightSegs(),o),p=Hs(this.getMirrorSegs(),o),{singleColPlacements:h,multiColPlacements:y,moreCnts:w,moreMarginTops:v}=P_(Wb(e.fgEventSegs,s.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,s.eventOrderStrict,t.segHeights,t.maxContentHeight,e.cells),C=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return $("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((x,S)=>{let D=this.renderFgSegs(S,e.forPrint?h[S]:y[S],e.todayRange,C),R=this.renderFgSegs(S,j_(p[S],y),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return $(O_,{key:x.key,elRef:this.cellElRefs.createRef(x.key),innerElRef:this.frameElRefs.createRef(x.key),dateProfile:e.dateProfile,date:x.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&S===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:x.extraRenderProps,extraDataAttrs:x.extraDataAttrs,extraClassNames:x.extraClassNames,extraDateSpan:x.extraDateSpan,moreCnt:w[S],moreMarginTop:v[S],singlePlacements:h[S],fgContentElRef:this.fgElRefs.createRef(x.key),fgContent:$(ze,null,$(ze,null,D),$(ze,null,R)),bgContent:$(ze,null,this.renderFillSegs(f[S],"highlight"),this.renderFillSegs(a[S],"non-business"),this.renderFillSegs(d[S],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let i=this.props;this.updateSizing(!rn(e,i))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,i,s,o,a,d){let{context:f}=this,{eventSelection:p}=this.props,{framePositions:h}=this.state,y=this.props.cells.length===1,w=o||a||d,v=[];if(h)for(let C of t){let{seg:x}=C,{instanceId:S}=x.eventRange.instance,D=C.isVisible&&!s[S],R=C.isAbsolute,z="",E="";R&&(f.isRtl?(E=0,z=h.lefts[x.lastCol]-h.lefts[x.firstCol]):(z=0,E=h.rights[x.firstCol]-h.rights[x.lastCol])),v.push($("div",{className:"fc-daygrid-event-harness"+(R?" fc-daygrid-event-harness-abs":""),key:Np(x),ref:w?null:this.segHarnessRefs.createRef($p(x)),style:{visibility:D?"":"hidden",marginTop:R?"":C.marginTop,top:R?C.absoluteTop:"",left:z,right:E}},Rp(x)?$(Ip,Object.assign({seg:x,isDragging:o,isSelected:S===p,defaultDisplayEventEnd:y},Cr(x,i))):$(Pp,Object.assign({seg:x,isDragging:o,isResizing:a,isDateSelecting:d,isSelected:S===p,defaultDisplayEventEnd:y},Cr(x,i)))))}return v}renderFillSegs(e,t){let{isRtl:i}=this.context,{todayRange:s}=this.props,{framePositions:o}=this.state,a=[];if(o)for(let d of e){let f=i?{right:0,left:o.lefts[d.lastCol]-o.lefts[d.firstCol]}:{left:0,right:o.rights[d.firstCol]-o.rights[d.lastCol]};a.push($("div",{key:Qb(d.eventRange),className:"fc-daygrid-bg-harness",style:f},t==="bg-event"?$(Vy,Object.assign({seg:d},Cr(d,s))):Uy(t)))}return $(ze,{},...a)}updateSizing(e){let{props:t,state:i,frameElRefs:s}=this;if(!t.forPrint&&t.clientWidth!==null){if(e){let f=t.cells.map(p=>s.currentMap[p.key]);if(f.length){let p=this.rootElRef.current,h=new co(p,f,!0,!1);(!i.framePositions||!i.framePositions.similarTo(h))&&this.setState({framePositions:new co(p,f,!0,!1)})}}const o=this.state.segHeights,a=this.querySegHeights(),d=t.dayMaxEvents===!0||t.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},o),a),maxContentHeight:d?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let i in e){let s=Math.round(e[i].getBoundingClientRect().height);t[i]=Math.max(t[i]||0,s)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],i=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-i.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}}jp.addStateEquality({segHeights:rn});function j_(n,e){if(!n.length)return[];let t=H_(e);return n.map(i=>({seg:i,isVisible:!0,isAbsolute:!0,absoluteTop:t[i.eventRange.instance.instanceId],marginTop:0}))}function H_(n){let e={};for(let t of n)for(let i of t)e[i.seg.eventRange.instance.instanceId]=i.absoluteTop;return e}class B_ extends Ci{constructor(){super(...arguments),this.splitBusinessHourSegs=we(js),this.splitBgEventSegs=we(js),this.splitFgEventSegs=we(js),this.splitDateSelectionSegs=we(js),this.splitEventDrag=we(Tf),this.splitEventResize=we(Tf),this.rowRefs=new gi}render(){let{props:e,context:t}=this,i=e.cells.length,s=this.splitBusinessHourSegs(e.businessHourSegs,i),o=this.splitBgEventSegs(e.bgEventSegs,i),a=this.splitFgEventSegs(e.fgEventSegs,i),d=this.splitDateSelectionSegs(e.dateSelectionSegs,i),f=this.splitEventDrag(e.eventDrag,i),p=this.splitEventResize(e.eventResize,i),h=i>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return $(ic,{unit:"day"},(y,w)=>$(ze,null,e.cells.map((v,C)=>$(jp,{ref:this.rowRefs.createRef(C),key:v.length?v[0].date.toISOString():C,showDayNumbers:i>1,showWeekNumbers:e.showWeekNumbers,todayRange:w,dateProfile:e.dateProfile,cells:v,renderIntro:e.renderRowIntro,businessHourSegs:s[C],eventSelection:e.eventSelection,bgEventSegs:o[C].filter(F_),fgEventSegs:a[C],dateSelectionSegs:d[C],eventDrag:f[C],eventResize:p[C],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:h,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new co(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new co(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:i,rowPositions:s}=this,o=i.leftToIndex(e),a=s.topToIndex(t);if(a!=null&&o!=null){let d=this.props.cells[a][o];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(a,o),allDay:!0},d.extraDateSpan),dayEl:this.getCellEl(a,o),rect:{left:i.lefts[o],right:i.rights[o],top:s.tops[a],bottom:s.bottoms[a]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let i=this.props.cells[e][t].date,s=nt(i,1);return{start:i,end:s}}}function F_(n){return n.eventRange.def.allDay}class z_ extends Ci{constructor(){super(...arguments),this.elRef=An(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:i,expandRows:s}=e,o=i===!0||t===!0;o&&!s&&(o=!1,t=null,i=null);let a=["fc-daygrid-body",o?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",s?"":"fc-daygrid-body-natural"];return $("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},$("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:s?e.clientHeight:""}},e.colGroupNode,$("tbody",{role:"presentation"},$(B_,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:i,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=V_(this.elRef.current,this.props.dateProfile);if(e){const t=e.closest(".fc-daygrid-body"),i=t.closest(".fc-scroller"),s=e.getBoundingClientRect().top-t.getBoundingClientRect().top;i.scrollTop=s?s+1:0}this.needsScrollReset=!1}}}function V_(n,e){let t;return e.currentRangeUnit.match(/year|month/)&&(t=n.querySelector(`[data-date="${x1(e.currentDate)}-01"]`)),t||(t=n.querySelector(`[data-date="${Ul(e.currentDate)}"]`)),t}class W_ extends Ey{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class U_ extends Ci{constructor(){super(...arguments),this.slicer=new W_,this.tableRef=An()}render(){let{props:e,context:t}=this;return $(z_,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class G_ extends x_{constructor(){super(...arguments),this.buildDayTableModel=we(q_),this.headerRef=An(),this.tableRef=An()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:i}=this,s=this.buildDayTableModel(i.dateProfile,t),o=e.dayHeaders&&$(_y,{ref:this.headerRef,dateProfile:i.dateProfile,dates:s.headerDates,datesRepDistinctDays:s.rowCnt===1}),a=d=>$(U_,{ref:this.tableRef,dateProfile:i.dateProfile,dayTableModel:s,businessHours:i.businessHours,dateSelection:i.dateSelection,eventStore:i.eventStore,eventUiBases:i.eventUiBases,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:d.tableColGroupNode,tableMinWidth:d.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!i.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:d.clientWidth,clientHeight:d.clientHeight,forPrint:i.forPrint});return e.dayMinWidth?this.renderHScrollLayout(o,a,s.colCnt,e.dayMinWidth):this.renderSimpleLayout(o,a)}}function q_(n,e){let t=new Cy(n.renderRange,e);return new Ay(t,/year|month|week/.test(n.currentRangeUnit))}class Y_ extends Xh{buildRenderRange(e,t,i){let s=super.buildRenderRange(e,t,i),{props:o}=this;return Z_({currentRange:s,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:o.fixedWeekCount,dateEnv:o.dateEnv})}}function Z_(n){let{dateEnv:e,currentRange:t}=n,{start:i,end:s}=t,o;if(n.snapToWeek&&(i=e.startOfWeek(i),o=e.startOfWeek(s),o.valueOf()!==s.valueOf()&&(s=Yd(o,1))),n.fixedWeekCount){let a=e.startOfWeek(e.startOfMonth(nt(t.end,-1))),d=Math.ceil(p1(a,s));s=Yd(s,6-d)}return{start:i,end:s}}var Q_=':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';Ih(Q_);var X_=Ai({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:G_,dateProfileGeneratorClass:Y_},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}}),pt="top",It="bottom",Nt="right",gt="left",oc="auto",Hr=[pt,It,Nt,gt],Qi="start",Rr="end",J_="clippingParents",Hp="viewport",br="popper",K_="reference",Df=Hr.reduce(function(n,e){return n.concat([e+"-"+Qi,e+"-"+Rr])},[]),Bp=[].concat(Hr,[oc]).reduce(function(n,e){return n.concat([e,e+"-"+Qi,e+"-"+Rr])},[]),e5="beforeRead",t5="read",n5="afterRead",i5="beforeMain",r5="main",s5="afterMain",o5="beforeWrite",a5="write",l5="afterWrite",c5=[e5,t5,n5,i5,r5,s5,o5,a5,l5];function sn(n){return n?(n.nodeName||"").toLowerCase():null}function Ct(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function yi(n){var e=Ct(n).Element;return n instanceof e||n instanceof Element}function Pt(n){var e=Ct(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function ac(n){if(typeof ShadowRoot=="undefined")return!1;var e=Ct(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function u5(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},s=e.attributes[t]||{},o=e.elements[t];!Pt(o)||!sn(o)||(Object.assign(o.style,i),Object.keys(s).forEach(function(a){var d=s[a];d===!1?o.removeAttribute(a):o.setAttribute(a,d===!0?"":d)}))})}function d5(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var s=e.elements[i],o=e.attributes[i]||{},a=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),d=a.reduce(function(f,p){return f[p]="",f},{});!Pt(s)||!sn(s)||(Object.assign(s.style,d),Object.keys(o).forEach(function(f){s.removeAttribute(f)}))})}}const Fp={name:"applyStyles",enabled:!0,phase:"write",fn:u5,effect:d5,requires:["computeStyles"]};function nn(n){return n.split("-")[0]}var vi=Math.max,fo=Math.min,Xi=Math.round;function Nl(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function zp(){return!/^((?!chrome|android).)*safari/i.test(Nl())}function Ji(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),s=1,o=1;e&&Pt(n)&&(s=n.offsetWidth>0&&Xi(i.width)/n.offsetWidth||1,o=n.offsetHeight>0&&Xi(i.height)/n.offsetHeight||1);var a=yi(n)?Ct(n):window,d=a.visualViewport,f=!zp()&&t,p=(i.left+(f&&d?d.offsetLeft:0))/s,h=(i.top+(f&&d?d.offsetTop:0))/o,y=i.width/s,w=i.height/o;return{width:y,height:w,top:h,right:p+y,bottom:h+w,left:p,x:p,y:h}}function lc(n){var e=Ji(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Vp(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&ac(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function xn(n){return Ct(n).getComputedStyle(n)}function f5(n){return["table","td","th"].indexOf(sn(n))>=0}function Wn(n){return((yi(n)?n.ownerDocument:n.document)||window.document).documentElement}function vo(n){return sn(n)==="html"?n:n.assignedSlot||n.parentNode||(ac(n)?n.host:null)||Wn(n)}function kf(n){return!Pt(n)||xn(n).position==="fixed"?null:n.offsetParent}function h5(n){var e=/firefox/i.test(Nl()),t=/Trident/i.test(Nl());if(t&&Pt(n)){var i=xn(n);if(i.position==="fixed")return null}var s=vo(n);for(ac(s)&&(s=s.host);Pt(s)&&["html","body"].indexOf(sn(s))<0;){var o=xn(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function Br(n){for(var e=Ct(n),t=kf(n);t&&f5(t)&&xn(t).position==="static";)t=kf(t);return t&&(sn(t)==="html"||sn(t)==="body"&&xn(t).position==="static")?e:t||h5(n)||e}function cc(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Er(n,e,t){return vi(n,fo(e,t))}function p5(n,e,t){var i=Er(n,e,t);return i>t?t:i}function Wp(){return{top:0,right:0,bottom:0,left:0}}function Up(n){return Object.assign({},Wp(),n)}function Gp(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var g5=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Up(typeof e!="number"?e:Gp(e,Hr))};function m5(n){var e,t=n.state,i=n.name,s=n.options,o=t.elements.arrow,a=t.modifiersData.popperOffsets,d=nn(t.placement),f=cc(d),p=[gt,Nt].indexOf(d)>=0,h=p?"height":"width";if(!(!o||!a)){var y=g5(s.padding,t),w=lc(o),v=f==="y"?pt:gt,C=f==="y"?It:Nt,x=t.rects.reference[h]+t.rects.reference[f]-a[f]-t.rects.popper[h],S=a[f]-t.rects.reference[f],D=Br(o),R=D?f==="y"?D.clientHeight||0:D.clientWidth||0:0,z=x/2-S/2,E=y[v],X=R-w[h]-y[C],V=R/2-w[h]/2+z,W=Er(E,V,X),Z=f;t.modifiersData[i]=(e={},e[Z]=W,e.centerOffset=W-V,e)}}function v5(n){var e=n.state,t=n.options,i=t.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||Vp(e.elements.popper,s)&&(e.elements.arrow=s))}const b5={name:"arrow",enabled:!0,phase:"main",fn:m5,effect:v5,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ki(n){return n.split("-")[1]}var y5={top:"auto",right:"auto",bottom:"auto",left:"auto"};function w5(n,e){var t=n.x,i=n.y,s=e.devicePixelRatio||1;return{x:Xi(t*s)/s||0,y:Xi(i*s)/s||0}}function Of(n){var e,t=n.popper,i=n.popperRect,s=n.placement,o=n.variation,a=n.offsets,d=n.position,f=n.gpuAcceleration,p=n.adaptive,h=n.roundOffsets,y=n.isFixed,w=a.x,v=w===void 0?0:w,C=a.y,x=C===void 0?0:C,S=typeof h=="function"?h({x:v,y:x}):{x:v,y:x};v=S.x,x=S.y;var D=a.hasOwnProperty("x"),R=a.hasOwnProperty("y"),z=gt,E=pt,X=window;if(p){var V=Br(t),W="clientHeight",Z="clientWidth";if(V===Ct(t)&&(V=Wn(t),xn(V).position!=="static"&&d==="absolute"&&(W="scrollHeight",Z="scrollWidth")),V=V,s===pt||(s===gt||s===Nt)&&o===Rr){E=It;var me=y&&V===X&&X.visualViewport?X.visualViewport.height:V[W];x-=me-i.height,x*=f?1:-1}if(s===gt||(s===pt||s===It)&&o===Rr){z=Nt;var ce=y&&V===X&&X.visualViewport?X.visualViewport.width:V[Z];v-=ce-i.width,v*=f?1:-1}}var Se=Object.assign({position:d},p&&y5),Ae=h===!0?w5({x:v,y:x},Ct(t)):{x:v,y:x};if(v=Ae.x,x=Ae.y,f){var re;return Object.assign({},Se,(re={},re[E]=R?"0":"",re[z]=D?"0":"",re.transform=(X.devicePixelRatio||1)<=1?"translate("+v+"px, "+x+"px)":"translate3d("+v+"px, "+x+"px, 0)",re))}return Object.assign({},Se,(e={},e[E]=R?x+"px":"",e[z]=D?v+"px":"",e.transform="",e))}function _5(n){var e=n.state,t=n.options,i=t.gpuAcceleration,s=i===void 0?!0:i,o=t.adaptive,a=o===void 0?!0:o,d=t.roundOffsets,f=d===void 0?!0:d,p={placement:nn(e.placement),variation:Ki(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Of(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:f})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Of(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const L5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_5,data:{}};var Bs={passive:!0};function C5(n){var e=n.state,t=n.instance,i=n.options,s=i.scroll,o=s===void 0?!0:s,a=i.resize,d=a===void 0?!0:a,f=Ct(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&p.forEach(function(h){h.addEventListener("scroll",t.update,Bs)}),d&&f.addEventListener("resize",t.update,Bs),function(){o&&p.forEach(function(h){h.removeEventListener("scroll",t.update,Bs)}),d&&f.removeEventListener("resize",t.update,Bs)}}const A5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:C5,data:{}};var E5={left:"right",right:"left",bottom:"top",top:"bottom"};function Ys(n){return n.replace(/left|right|bottom|top/g,function(e){return E5[e]})}var x5={start:"end",end:"start"};function Mf(n){return n.replace(/start|end/g,function(e){return x5[e]})}function uc(n){var e=Ct(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function dc(n){return Ji(Wn(n)).left+uc(n).scrollLeft}function S5(n,e){var t=Ct(n),i=Wn(n),s=t.visualViewport,o=i.clientWidth,a=i.clientHeight,d=0,f=0;if(s){o=s.width,a=s.height;var p=zp();(p||!p&&e==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}return{width:o,height:a,x:d+dc(n),y:f}}function T5(n){var e,t=Wn(n),i=uc(n),s=(e=n.ownerDocument)==null?void 0:e.body,o=vi(t.scrollWidth,t.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=vi(t.scrollHeight,t.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),d=-i.scrollLeft+dc(n),f=-i.scrollTop;return xn(s||t).direction==="rtl"&&(d+=vi(t.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:d,y:f}}function fc(n){var e=xn(n),t=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+s+i)}function qp(n){return["html","body","#document"].indexOf(sn(n))>=0?n.ownerDocument.body:Pt(n)&&fc(n)?n:qp(vo(n))}function xr(n,e){var t;e===void 0&&(e=[]);var i=qp(n),s=i===((t=n.ownerDocument)==null?void 0:t.body),o=Ct(i),a=s?[o].concat(o.visualViewport||[],fc(i)?i:[]):i,d=e.concat(a);return s?d:d.concat(xr(vo(a)))}function $l(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function D5(n,e){var t=Ji(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Rf(n,e,t){return e===Hp?$l(S5(n,t)):yi(e)?D5(e,t):$l(T5(Wn(n)))}function k5(n){var e=xr(vo(n)),t=["absolute","fixed"].indexOf(xn(n).position)>=0,i=t&&Pt(n)?Br(n):n;return yi(i)?e.filter(function(s){return yi(s)&&Vp(s,i)&&sn(s)!=="body"}):[]}function O5(n,e,t,i){var s=e==="clippingParents"?k5(n):[].concat(e),o=[].concat(s,[t]),a=o[0],d=o.reduce(function(f,p){var h=Rf(n,p,i);return f.top=vi(h.top,f.top),f.right=fo(h.right,f.right),f.bottom=fo(h.bottom,f.bottom),f.left=vi(h.left,f.left),f},Rf(n,a,i));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function Yp(n){var e=n.reference,t=n.element,i=n.placement,s=i?nn(i):null,o=i?Ki(i):null,a=e.x+e.width/2-t.width/2,d=e.y+e.height/2-t.height/2,f;switch(s){case pt:f={x:a,y:e.y-t.height};break;case It:f={x:a,y:e.y+e.height};break;case Nt:f={x:e.x+e.width,y:d};break;case gt:f={x:e.x-t.width,y:d};break;default:f={x:e.x,y:e.y}}var p=s?cc(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(o){case Qi:f[p]=f[p]-(e[h]/2-t[h]/2);break;case Rr:f[p]=f[p]+(e[h]/2-t[h]/2);break}}return f}function Pr(n,e){e===void 0&&(e={});var t=e,i=t.placement,s=i===void 0?n.placement:i,o=t.strategy,a=o===void 0?n.strategy:o,d=t.boundary,f=d===void 0?J_:d,p=t.rootBoundary,h=p===void 0?Hp:p,y=t.elementContext,w=y===void 0?br:y,v=t.altBoundary,C=v===void 0?!1:v,x=t.padding,S=x===void 0?0:x,D=Up(typeof S!="number"?S:Gp(S,Hr)),R=w===br?K_:br,z=n.rects.popper,E=n.elements[C?R:w],X=O5(yi(E)?E:E.contextElement||Wn(n.elements.popper),f,h,a),V=Ji(n.elements.reference),W=Yp({reference:V,element:z,strategy:"absolute",placement:s}),Z=$l(Object.assign({},z,W)),me=w===br?Z:V,ce={top:X.top-me.top+D.top,bottom:me.bottom-X.bottom+D.bottom,left:X.left-me.left+D.left,right:me.right-X.right+D.right},Se=n.modifiersData.offset;if(w===br&&Se){var Ae=Se[s];Object.keys(ce).forEach(function(re){var ke=[Nt,It].indexOf(re)>=0?1:-1,Ue=[pt,It].indexOf(re)>=0?"y":"x";ce[re]+=Ae[Ue]*ke})}return ce}function M5(n,e){e===void 0&&(e={});var t=e,i=t.placement,s=t.boundary,o=t.rootBoundary,a=t.padding,d=t.flipVariations,f=t.allowedAutoPlacements,p=f===void 0?Bp:f,h=Ki(i),y=h?d?Df:Df.filter(function(C){return Ki(C)===h}):Hr,w=y.filter(function(C){return p.indexOf(C)>=0});w.length===0&&(w=y);var v=w.reduce(function(C,x){return C[x]=Pr(n,{placement:x,boundary:s,rootBoundary:o,padding:a})[nn(x)],C},{});return Object.keys(v).sort(function(C,x){return v[C]-v[x]})}function R5(n){if(nn(n)===oc)return[];var e=Ys(n);return[Mf(n),e,Mf(e)]}function P5(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var s=t.mainAxis,o=s===void 0?!0:s,a=t.altAxis,d=a===void 0?!0:a,f=t.fallbackPlacements,p=t.padding,h=t.boundary,y=t.rootBoundary,w=t.altBoundary,v=t.flipVariations,C=v===void 0?!0:v,x=t.allowedAutoPlacements,S=e.options.placement,D=nn(S),R=D===S,z=f||(R||!C?[Ys(S)]:R5(S)),E=[S].concat(z).reduce(function(bt,st){return bt.concat(nn(st)===oc?M5(e,{placement:st,boundary:h,rootBoundary:y,padding:p,flipVariations:C,allowedAutoPlacements:x}):st)},[]),X=e.rects.reference,V=e.rects.popper,W=new Map,Z=!0,me=E[0],ce=0;ce<E.length;ce++){var Se=E[ce],Ae=nn(Se),re=Ki(Se)===Qi,ke=[pt,It].indexOf(Ae)>=0,Ue=ke?"width":"height",ne=Pr(e,{placement:Se,boundary:h,rootBoundary:y,altBoundary:w,padding:p}),Be=ke?re?Nt:gt:re?It:pt;X[Ue]>V[Ue]&&(Be=Ys(Be));var oe=Ys(Be),Oe=[];if(o&&Oe.push(ne[Ae]<=0),d&&Oe.push(ne[Be]<=0,ne[oe]<=0),Oe.every(function(bt){return bt})){me=Se,Z=!1;break}W.set(Se,Oe)}if(Z)for(var mt=C?3:1,it=function(st){var ot=E.find(function(on){var Qe=W.get(on);if(Qe)return Qe.slice(0,st).every(function(an){return an})});if(ot)return me=ot,"break"},vt=mt;vt>0;vt--){var At=it(vt);if(At==="break")break}e.placement!==me&&(e.modifiersData[i]._skip=!0,e.placement=me,e.reset=!0)}}const I5={name:"flip",enabled:!0,phase:"main",fn:P5,requiresIfExists:["offset"],data:{_skip:!1}};function Pf(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function If(n){return[pt,Nt,It,gt].some(function(e){return n[e]>=0})}function N5(n){var e=n.state,t=n.name,i=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,a=Pr(e,{elementContext:"reference"}),d=Pr(e,{altBoundary:!0}),f=Pf(a,i),p=Pf(d,s,o),h=If(f),y=If(p);e.modifiersData[t]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:y},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":y})}const $5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:N5};function j5(n,e,t){var i=nn(n),s=[gt,pt].indexOf(i)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,a=o[0],d=o[1];return a=a||0,d=(d||0)*s,[gt,Nt].indexOf(i)>=0?{x:d,y:a}:{x:a,y:d}}function H5(n){var e=n.state,t=n.options,i=n.name,s=t.offset,o=s===void 0?[0,0]:s,a=Bp.reduce(function(h,y){return h[y]=j5(y,e.rects,o),h},{}),d=a[e.placement],f=d.x,p=d.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=f,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=a}const B5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:H5};function F5(n){var e=n.state,t=n.name;e.modifiersData[t]=Yp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const z5={name:"popperOffsets",enabled:!0,phase:"read",fn:F5,data:{}};function V5(n){return n==="x"?"y":"x"}function W5(n){var e=n.state,t=n.options,i=n.name,s=t.mainAxis,o=s===void 0?!0:s,a=t.altAxis,d=a===void 0?!1:a,f=t.boundary,p=t.rootBoundary,h=t.altBoundary,y=t.padding,w=t.tether,v=w===void 0?!0:w,C=t.tetherOffset,x=C===void 0?0:C,S=Pr(e,{boundary:f,rootBoundary:p,padding:y,altBoundary:h}),D=nn(e.placement),R=Ki(e.placement),z=!R,E=cc(D),X=V5(E),V=e.modifiersData.popperOffsets,W=e.rects.reference,Z=e.rects.popper,me=typeof x=="function"?x(Object.assign({},e.rects,{placement:e.placement})):x,ce=typeof me=="number"?{mainAxis:me,altAxis:me}:Object.assign({mainAxis:0,altAxis:0},me),Se=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,Ae={x:0,y:0};if(V){if(o){var re,ke=E==="y"?pt:gt,Ue=E==="y"?It:Nt,ne=E==="y"?"height":"width",Be=V[E],oe=Be+S[ke],Oe=Be-S[Ue],mt=v?-Z[ne]/2:0,it=R===Qi?W[ne]:Z[ne],vt=R===Qi?-Z[ne]:-W[ne],At=e.elements.arrow,bt=v&&At?lc(At):{width:0,height:0},st=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Wp(),ot=st[ke],on=st[Ue],Qe=Er(0,W[ne],bt[ne]),an=z?W[ne]/2-mt-Qe-ot-ce.mainAxis:it-Qe-ot-ce.mainAxis,$t=z?-W[ne]/2+mt+Qe+on+ce.mainAxis:vt+Qe+on+ce.mainAxis,xe=e.elements.arrow&&Br(e.elements.arrow),Ei=xe?E==="y"?xe.clientTop||0:xe.clientLeft||0:0,Un=(re=Se==null?void 0:Se[E])!=null?re:0,Fe=Be+an-Un-Ei,Xe=Be+$t-Un,at=Er(v?fo(oe,Fe):oe,Be,v?vi(Oe,Xe):Oe);V[E]=at,Ae[E]=at-Be}if(d){var Et,Gn=E==="x"?pt:gt,xi=E==="x"?It:Nt,yt=V[X],jt=X==="y"?"height":"width",ln=yt+S[Gn],Vt=yt-S[xi],Tn=[pt,gt].indexOf(D)!==-1,lt=(Et=Se==null?void 0:Se[X])!=null?Et:0,qn=Tn?ln:yt-W[jt]-Z[jt]-lt+ce.altAxis,Ht=Tn?yt+W[jt]+Z[jt]-lt-ce.altAxis:Vt,cn=v&&Tn?p5(qn,yt,Ht):Er(v?qn:ln,yt,v?Ht:Vt);V[X]=cn,Ae[X]=cn-yt}e.modifiersData[i]=Ae}}const U5={name:"preventOverflow",enabled:!0,phase:"main",fn:W5,requiresIfExists:["offset"]};function G5(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function q5(n){return n===Ct(n)||!Pt(n)?uc(n):G5(n)}function Y5(n){var e=n.getBoundingClientRect(),t=Xi(e.width)/n.offsetWidth||1,i=Xi(e.height)/n.offsetHeight||1;return t!==1||i!==1}function Z5(n,e,t){t===void 0&&(t=!1);var i=Pt(e),s=Pt(e)&&Y5(e),o=Wn(e),a=Ji(n,s,t),d={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!t)&&((sn(e)!=="body"||fc(o))&&(d=q5(e)),Pt(e)?(f=Ji(e,!0),f.x+=e.clientLeft,f.y+=e.clientTop):o&&(f.x=dc(o))),{x:a.left+d.scrollLeft-f.x,y:a.top+d.scrollTop-f.y,width:a.width,height:a.height}}function Q5(n){var e=new Map,t=new Set,i=[];n.forEach(function(o){e.set(o.name,o)});function s(o){t.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(d){if(!t.has(d)){var f=e.get(d);f&&s(f)}}),i.push(o)}return n.forEach(function(o){t.has(o.name)||s(o)}),i}function X5(n){var e=Q5(n);return c5.reduce(function(t,i){return t.concat(e.filter(function(s){return s.phase===i}))},[])}function J5(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function K5(n){var e=n.reduce(function(t,i){var s=t[i.name];return t[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var Nf={placement:"bottom",modifiers:[],strategy:"absolute"};function $f(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function eL(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,s=e.defaultOptions,o=s===void 0?Nf:s;return function(d,f,p){p===void 0&&(p=o);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nf,o),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},y=[],w=!1,v={state:h,setOptions:function(D){var R=typeof D=="function"?D(h.options):D;x(),h.options=Object.assign({},o,h.options,R),h.scrollParents={reference:yi(d)?xr(d):d.contextElement?xr(d.contextElement):[],popper:xr(f)};var z=X5(K5([].concat(i,h.options.modifiers)));return h.orderedModifiers=z.filter(function(E){return E.enabled}),C(),v.update()},forceUpdate:function(){if(!w){var D=h.elements,R=D.reference,z=D.popper;if($f(R,z)){h.rects={reference:Z5(R,Br(z),h.options.strategy==="fixed"),popper:lc(z)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(ce){return h.modifiersData[ce.name]=Object.assign({},ce.data)});for(var E=0;E<h.orderedModifiers.length;E++){if(h.reset===!0){h.reset=!1,E=-1;continue}var X=h.orderedModifiers[E],V=X.fn,W=X.options,Z=W===void 0?{}:W,me=X.name;typeof V=="function"&&(h=V({state:h,options:Z,name:me,instance:v})||h)}}}},update:J5(function(){return new Promise(function(S){v.forceUpdate(),S(h)})}),destroy:function(){x(),w=!0}};if(!$f(d,f))return v;v.setOptions(p).then(function(S){!w&&p.onFirstUpdate&&p.onFirstUpdate(S)});function C(){h.orderedModifiers.forEach(function(S){var D=S.name,R=S.options,z=R===void 0?{}:R,E=S.effect;if(typeof E=="function"){var X=E({state:h,name:D,instance:v,options:z}),V=function(){};y.push(X||V)}})}function x(){y.forEach(function(S){return S()}),y=[]}return v}}var tL=[A5,z5,L5,Fp,B5,I5,U5,b5,$5],nL=eL({defaultModifiers:tL}),iL="tippy-box",Zp="tippy-content",rL="tippy-backdrop",Qp="tippy-arrow",Xp="tippy-svg-arrow",ui={passive:!0,capture:!0},Jp=function(){return document.body};function ml(n,e,t){if(Array.isArray(n)){var i=n[e];return i==null?Array.isArray(t)?t[e]:t:i}return n}function hc(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function Kp(n,e){return typeof n=="function"?n.apply(void 0,e):n}function jf(n,e){if(e===0)return n;var t;return function(i){clearTimeout(t),t=setTimeout(function(){n(i)},e)}}function sL(n){return n.split(/\s+/).filter(Boolean)}function Wi(n){return[].concat(n)}function Hf(n,e){n.indexOf(e)===-1&&n.push(e)}function oL(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function aL(n){return n.split("-")[0]}function ho(n){return[].slice.call(n)}function Bf(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function Sr(){return document.createElement("div")}function bo(n){return["Element","Fragment"].some(function(e){return hc(n,e)})}function lL(n){return hc(n,"NodeList")}function cL(n){return hc(n,"MouseEvent")}function uL(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function dL(n){return bo(n)?[n]:lL(n)?ho(n):Array.isArray(n)?n:ho(document.querySelectorAll(n))}function vl(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function Ff(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function fL(n){var e,t=Wi(n),i=t[0];return i!=null&&(e=i.ownerDocument)!=null&&e.body?i.ownerDocument:document}function hL(n,e){var t=e.clientX,i=e.clientY;return n.every(function(s){var o=s.popperRect,a=s.popperState,d=s.props,f=d.interactiveBorder,p=aL(a.placement),h=a.modifiersData.offset;if(!h)return!0;var y=p==="bottom"?h.top.y:0,w=p==="top"?h.bottom.y:0,v=p==="right"?h.left.x:0,C=p==="left"?h.right.x:0,x=o.top-i+y>f,S=i-o.bottom-w>f,D=o.left-t+v>f,R=t-o.right-C>f;return x||S||D||R})}function bl(n,e,t){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(s){n[i](s,t)})}function zf(n,e){for(var t=e;t;){var i;if(n.contains(t))return!0;t=t.getRootNode==null||(i=t.getRootNode())==null?void 0:i.host}return!1}var Kt={isTouch:!1},Vf=0;function pL(){Kt.isTouch||(Kt.isTouch=!0,window.performance&&document.addEventListener("mousemove",e9))}function e9(){var n=performance.now();n-Vf<20&&(Kt.isTouch=!1,document.removeEventListener("mousemove",e9)),Vf=n}function gL(){var n=document.activeElement;if(uL(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function mL(){document.addEventListener("touchstart",pL,ui),window.addEventListener("blur",gL)}var vL=typeof window!="undefined"&&typeof document!="undefined",bL=vL?!!window.msCrypto:!1,yL={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wL={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ft=Object.assign({appendTo:Jp,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},yL,wL),_L=Object.keys(Ft),LL=function(e){var t=Object.keys(e);t.forEach(function(i){Ft[i]=e[i]})};function t9(n){var e=n.plugins||[],t=e.reduce(function(i,s){var o=s.name,a=s.defaultValue;if(o){var d;i[o]=n[o]!==void 0?n[o]:(d=Ft[o])!=null?d:a}return i},{});return Object.assign({},n,t)}function CL(n,e){var t=e?Object.keys(t9(Object.assign({},Ft,{plugins:e}))):_L,i=t.reduce(function(s,o){var a=(n.getAttribute("data-tippy-"+o)||"").trim();if(!a)return s;if(o==="content")s[o]=a;else try{s[o]=JSON.parse(a)}catch(d){s[o]=a}return s},{});return i}function Wf(n,e){var t=Object.assign({},e,{content:Kp(e.content,[n])},e.ignoreAttributes?{}:CL(n,e.plugins));return t.aria=Object.assign({},Ft.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}var AL=function(){return"innerHTML"};function jl(n,e){n[AL()]=e}function Uf(n){var e=Sr();return n===!0?e.className=Qp:(e.className=Xp,bo(n)?e.appendChild(n):jl(e,n)),e}function Gf(n,e){bo(e.content)?(jl(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?jl(n,e.content):n.textContent=e.content)}function Hl(n){var e=n.firstElementChild,t=ho(e.children);return{box:e,content:t.find(function(i){return i.classList.contains(Zp)}),arrow:t.find(function(i){return i.classList.contains(Qp)||i.classList.contains(Xp)}),backdrop:t.find(function(i){return i.classList.contains(rL)})}}function n9(n){var e=Sr(),t=Sr();t.className=iL,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var i=Sr();i.className=Zp,i.setAttribute("data-state","hidden"),Gf(i,n.props),e.appendChild(t),t.appendChild(i),s(n.props,n.props);function s(o,a){var d=Hl(e),f=d.box,p=d.content,h=d.arrow;a.theme?f.setAttribute("data-theme",a.theme):f.removeAttribute("data-theme"),typeof a.animation=="string"?f.setAttribute("data-animation",a.animation):f.removeAttribute("data-animation"),a.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?f.setAttribute("role",a.role):f.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Gf(p,n.props),a.arrow?h?o.arrow!==a.arrow&&(f.removeChild(h),f.appendChild(Uf(a.arrow))):f.appendChild(Uf(a.arrow)):h&&f.removeChild(h)}return{popper:e,onUpdate:s}}n9.$$tippy=!0;var EL=1,Fs=[],yl=[];function xL(n,e){var t=Wf(n,Object.assign({},Ft,t9(Bf(e)))),i,s,o,a=!1,d=!1,f=!1,p=!1,h,y,w,v=[],C=jf(Fe,t.interactiveDebounce),x,S=EL++,D=null,R=oL(t.plugins),z={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},E={id:S,reference:n,popper:Sr(),popperInstance:D,props:t,state:z,plugins:R,clearDelayTimeouts:qn,setProps:Ht,setContent:cn,show:Yn,hide:Ne,hideWithInteractivity:Wt,enable:Tn,disable:lt,unmount:ct,destroy:un};if(!t.render)return E;var X=t.render(E),V=X.popper,W=X.onUpdate;V.setAttribute("data-tippy-root",""),V.id="tippy-"+E.id,E.popper=V,n._tippy=E,V._tippy=E;var Z=R.map(function(H){return H.fn(E)}),me=n.hasAttribute("aria-expanded");return xe(),mt(),Be(),oe("onCreate",[E]),t.showOnCreate&&ln(),V.addEventListener("mouseenter",function(){E.props.interactive&&E.state.isVisible&&E.clearDelayTimeouts()}),V.addEventListener("mouseleave",function(){E.props.interactive&&E.props.trigger.indexOf("mouseenter")>=0&&ke().addEventListener("mousemove",C)}),E;function ce(){var H=E.props.touch;return Array.isArray(H)?H:[H,0]}function Se(){return ce()[0]==="hold"}function Ae(){var H;return!!((H=E.props.render)!=null&&H.$$tippy)}function re(){return x||n}function ke(){var H=re().parentNode;return H?fL(H):document}function Ue(){return Hl(V)}function ne(H){return E.state.isMounted&&!E.state.isVisible||Kt.isTouch||h&&h.type==="focus"?0:ml(E.props.delay,H?0:1,Ft.delay)}function Be(H){H===void 0&&(H=!1),V.style.pointerEvents=E.props.interactive&&!H?"":"none",V.style.zIndex=""+E.props.zIndex}function oe(H,J,se){if(se===void 0&&(se=!0),Z.forEach(function(de){de[H]&&de[H].apply(de,J)}),se){var fe;(fe=E.props)[H].apply(fe,J)}}function Oe(){var H=E.props.aria;if(H.content){var J="aria-"+H.content,se=V.id,fe=Wi(E.props.triggerTarget||n);fe.forEach(function(de){var De=de.getAttribute(J);if(E.state.isVisible)de.setAttribute(J,De?De+" "+se:se);else{var Je=De&&De.replace(se,"").trim();Je?de.setAttribute(J,Je):de.removeAttribute(J)}})}}function mt(){if(!(me||!E.props.aria.expanded)){var H=Wi(E.props.triggerTarget||n);H.forEach(function(J){E.props.interactive?J.setAttribute("aria-expanded",E.state.isVisible&&J===re()?"true":"false"):J.removeAttribute("aria-expanded")})}}function it(){ke().removeEventListener("mousemove",C),Fs=Fs.filter(function(H){return H!==C})}function vt(H){if(!(Kt.isTouch&&(f||H.type==="mousedown"))){var J=H.composedPath&&H.composedPath()[0]||H.target;if(!(E.props.interactive&&zf(V,J))){if(Wi(E.props.triggerTarget||n).some(function(se){return zf(se,J)})){if(Kt.isTouch||E.state.isVisible&&E.props.trigger.indexOf("click")>=0)return}else oe("onClickOutside",[E,H]);E.props.hideOnClick===!0&&(E.clearDelayTimeouts(),E.hide(),d=!0,setTimeout(function(){d=!1}),E.state.isMounted||ot())}}}function At(){f=!0}function bt(){f=!1}function st(){var H=ke();H.addEventListener("mousedown",vt,!0),H.addEventListener("touchend",vt,ui),H.addEventListener("touchstart",bt,ui),H.addEventListener("touchmove",At,ui)}function ot(){var H=ke();H.removeEventListener("mousedown",vt,!0),H.removeEventListener("touchend",vt,ui),H.removeEventListener("touchstart",bt,ui),H.removeEventListener("touchmove",At,ui)}function on(H,J){an(H,function(){!E.state.isVisible&&V.parentNode&&V.parentNode.contains(V)&&J()})}function Qe(H,J){an(H,J)}function an(H,J){var se=Ue().box;function fe(de){de.target===se&&(bl(se,"remove",fe),J())}if(H===0)return J();bl(se,"remove",y),bl(se,"add",fe),y=fe}function $t(H,J,se){se===void 0&&(se=!1);var fe=Wi(E.props.triggerTarget||n);fe.forEach(function(de){de.addEventListener(H,J,se),v.push({node:de,eventType:H,handler:J,options:se})})}function xe(){Se()&&($t("touchstart",Un,{passive:!0}),$t("touchend",Xe,{passive:!0})),sL(E.props.trigger).forEach(function(H){if(H!=="manual")switch($t(H,Un),H){case"mouseenter":$t("mouseleave",Xe);break;case"focus":$t(bL?"focusout":"blur",at);break;case"focusin":$t("focusout",at);break}})}function Ei(){v.forEach(function(H){var J=H.node,se=H.eventType,fe=H.handler,de=H.options;J.removeEventListener(se,fe,de)}),v=[]}function Un(H){var J,se=!1;if(!(!E.state.isEnabled||Et(H)||d)){var fe=((J=h)==null?void 0:J.type)==="focus";h=H,x=H.currentTarget,mt(),!E.state.isVisible&&cL(H)&&Fs.forEach(function(de){return de(H)}),H.type==="click"&&(E.props.trigger.indexOf("mouseenter")<0||a)&&E.props.hideOnClick!==!1&&E.state.isVisible?se=!0:ln(H),H.type==="click"&&(a=!se),se&&!fe&&Vt(H)}}function Fe(H){var J=H.target,se=re().contains(J)||V.contains(J);if(!(H.type==="mousemove"&&se)){var fe=jt().concat(V).map(function(de){var De,Je=de._tippy,wt=(De=Je.popperInstance)==null?void 0:De.state;return wt?{popperRect:de.getBoundingClientRect(),popperState:wt,props:t}:null}).filter(Boolean);hL(fe,H)&&(it(),Vt(H))}}function Xe(H){var J=Et(H)||E.props.trigger.indexOf("click")>=0&&a;if(!J){if(E.props.interactive){E.hideWithInteractivity(H);return}Vt(H)}}function at(H){E.props.trigger.indexOf("focusin")<0&&H.target!==re()||E.props.interactive&&H.relatedTarget&&V.contains(H.relatedTarget)||Vt(H)}function Et(H){return Kt.isTouch?Se()!==H.type.indexOf("touch")>=0:!1}function Gn(){xi();var H=E.props,J=H.popperOptions,se=H.placement,fe=H.offset,de=H.getReferenceClientRect,De=H.moveTransition,Je=Ae()?Hl(V).arrow:null,wt=de?{getBoundingClientRect:de,contextElement:de.contextElement||re()}:n,dn={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Zn){var fn=Zn.state;if(Ae()){var tr=Ue(),xt=tr.box;["placement","reference-hidden","escaped"].forEach(function(Si){Si==="placement"?xt.setAttribute("data-placement",fn.placement):fn.attributes.popper["data-popper-"+Si]?xt.setAttribute("data-"+Si,""):xt.removeAttribute("data-"+Si)}),fn.attributes.popper={}}}},Ut=[{name:"offset",options:{offset:fe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!De}},dn];Ae()&&Je&&Ut.push({name:"arrow",options:{element:Je,padding:3}}),Ut.push.apply(Ut,(J==null?void 0:J.modifiers)||[]),E.popperInstance=nL(wt,V,Object.assign({},J,{placement:se,onFirstUpdate:w,modifiers:Ut}))}function xi(){E.popperInstance&&(E.popperInstance.destroy(),E.popperInstance=null)}function yt(){var H=E.props.appendTo,J,se=re();E.props.interactive&&H===Jp||H==="parent"?J=se.parentNode:J=Kp(H,[se]),J.contains(V)||J.appendChild(V),E.state.isMounted=!0,Gn()}function jt(){return ho(V.querySelectorAll("[data-tippy-root]"))}function ln(H){E.clearDelayTimeouts(),H&&oe("onTrigger",[E,H]),st();var J=ne(!0),se=ce(),fe=se[0],de=se[1];Kt.isTouch&&fe==="hold"&&de&&(J=de),J?i=setTimeout(function(){E.show()},J):E.show()}function Vt(H){if(E.clearDelayTimeouts(),oe("onUntrigger",[E,H]),!E.state.isVisible){ot();return}if(!(E.props.trigger.indexOf("mouseenter")>=0&&E.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(H.type)>=0&&a)){var J=ne(!1);J?s=setTimeout(function(){E.state.isVisible&&E.hide()},J):o=requestAnimationFrame(function(){E.hide()})}}function Tn(){E.state.isEnabled=!0}function lt(){E.hide(),E.state.isEnabled=!1}function qn(){clearTimeout(i),clearTimeout(s),cancelAnimationFrame(o)}function Ht(H){if(!E.state.isDestroyed){oe("onBeforeUpdate",[E,H]),Ei();var J=E.props,se=Wf(n,Object.assign({},J,Bf(H),{ignoreAttributes:!0}));E.props=se,xe(),J.interactiveDebounce!==se.interactiveDebounce&&(it(),C=jf(Fe,se.interactiveDebounce)),J.triggerTarget&&!se.triggerTarget?Wi(J.triggerTarget).forEach(function(fe){fe.removeAttribute("aria-expanded")}):se.triggerTarget&&n.removeAttribute("aria-expanded"),mt(),Be(),W&&W(J,se),E.popperInstance&&(Gn(),jt().forEach(function(fe){requestAnimationFrame(fe._tippy.popperInstance.forceUpdate)})),oe("onAfterUpdate",[E,H])}}function cn(H){E.setProps({content:H})}function Yn(){var H=E.state.isVisible,J=E.state.isDestroyed,se=!E.state.isEnabled,fe=Kt.isTouch&&!E.props.touch,de=ml(E.props.duration,0,Ft.duration);if(!(H||J||se||fe)&&!re().hasAttribute("disabled")&&(oe("onShow",[E],!1),E.props.onShow(E)!==!1)){if(E.state.isVisible=!0,Ae()&&(V.style.visibility="visible"),Be(),st(),E.state.isMounted||(V.style.transition="none"),Ae()){var De=Ue(),Je=De.box,wt=De.content;vl([Je,wt],0)}w=function(){var Ut;if(!(!E.state.isVisible||p)){if(p=!0,V.offsetHeight,V.style.transition=E.props.moveTransition,Ae()&&E.props.animation){var Dn=Ue(),Zn=Dn.box,fn=Dn.content;vl([Zn,fn],de),Ff([Zn,fn],"visible")}Oe(),mt(),Hf(yl,E),(Ut=E.popperInstance)==null||Ut.forceUpdate(),oe("onMount",[E]),E.props.animation&&Ae()&&Qe(de,function(){E.state.isShown=!0,oe("onShown",[E])})}},yt()}}function Ne(){var H=!E.state.isVisible,J=E.state.isDestroyed,se=!E.state.isEnabled,fe=ml(E.props.duration,1,Ft.duration);if(!(H||J||se)&&(oe("onHide",[E],!1),E.props.onHide(E)!==!1)){if(E.state.isVisible=!1,E.state.isShown=!1,p=!1,a=!1,Ae()&&(V.style.visibility="hidden"),it(),ot(),Be(!0),Ae()){var de=Ue(),De=de.box,Je=de.content;E.props.animation&&(vl([De,Je],fe),Ff([De,Je],"hidden"))}Oe(),mt(),E.props.animation?Ae()&&on(fe,E.unmount):E.unmount()}}function Wt(H){ke().addEventListener("mousemove",C),Hf(Fs,C),C(H)}function ct(){E.state.isVisible&&E.hide(),E.state.isMounted&&(xi(),jt().forEach(function(H){H._tippy.unmount()}),V.parentNode&&V.parentNode.removeChild(V),yl=yl.filter(function(H){return H!==E}),E.state.isMounted=!1,oe("onHidden",[E]))}function un(){E.state.isDestroyed||(E.clearDelayTimeouts(),E.unmount(),Ei(),delete n._tippy,E.state.isDestroyed=!0,oe("onDestroy",[E]))}}function Fr(n,e){e===void 0&&(e={});var t=Ft.plugins.concat(e.plugins||[]);mL();var i=Object.assign({},e,{plugins:t}),s=dL(n),o=s.reduce(function(a,d){var f=d&&xL(d,i);return f&&a.push(f),a},[]);return bo(n)?o[0]:o}Fr.defaultProps=Ft;Fr.setDefaultProps=LL;Fr.currentInput=Kt;Object.assign({},Fp,{effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow)}});Fr.setDefaultProps({render:n9});const SL={components:{FullCalendar:Op},props:["events"],data(){return{calendarOptions:{plugins:[X_],initialView:"dayGridMonth",contentHeight:"auto",locale:"cs",buttonText:{today:"dnes"},eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:!1},eventClick(n){n.jsEvent.preventDefault(),Fr(n.el,{content:` <div class="p-2 flex flex-col gap-3 text-white"> ${n.event.title!==void 0?` <div class="flex gap-2 items-baseline"> @@ -47,4 +48,4 @@ var Pa=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?wind </div> `:""} </div> - `,trigger:n.event.url!==""&&n.event.extendedProps.location===void 0&&n.event.extendedProps.url===void 0?"hover":"click",allowHTML:!0,interactive:!0,onShow(t){t.popper.style.minWidth="250px"}}).show()},events:JSON.parse(this.events)}}}};var y4=function(){var e=this,t=e._self._c;return t("FullCalendar",{attrs:{options:e.calendarOptions}})},w4=[],_4=Ie(b4,y4,w4);const L4=_4.exports,C4={props:{links:{type:Object,default:function(){return{praha:"https://praha.pirati.cz",stredocesky:"https://stredocesky.pirati.cz",jihocesky:"https://jihocesky.pirati.cz",plzensky:"https://plzensky.pirati.cz",karlovarsky:"https://karlovarsky.pirati.cz",ustecky:"https://ustecky.pirati.cz",liberecky:"https://liberecky.pirati.cz",kralovehradecky:"https://kralovehradecky.pirati.cz",moravskoslezsky:"https://moravskoslezsky.pirati.cz",pardubicky:"https://pardubicky.pirati.cz",vysocina:"https://vysocina.pirati.cz",jihomoravsky:"https://jihomoravsky.pirati.cz",olomoucky:"https://olomoucky.pirati.cz",zlinsky:"https://zlinsky.pirati.cz"}}}},methods:{selectRegion(n){const e=this.$props.links[n.id];window.open(e,"_blank")}},data(){return{current:null,regions:[{id:"jihocesky",name:"Jihočeský kraj",polygon:"M173.5,445.61L179.5,447.36L185.61599999999999,452.692L184.61599999999999,455.789L188.963,462.31L196.57,463.669L198.743,470.46099999999996L203.905,477.25299999999993L206.079,483.50199999999995L211.78400000000002,483.77299999999997L221.56500000000003,493.01L226.72700000000003,494.911L232.43300000000002,501.704L228.35800000000003,506.051L237.32400000000004,515.0169999999999H247.64800000000005L257.97200000000004,516.9179999999999L266.39400000000006,521.8089999999999L278.34800000000007,511.75599999999986L280.79300000000006,505.50799999999987L287.0420000000001,510.9419999999999L293.83400000000006,512.2999999999998L299.2680000000001,510.94199999999984L308.2340000000001,516.9189999999999L311.7660000000001,511.2139999999999L310.68000000000006,505.77999999999986L311.76700000000005,496.54299999999984L319.3740000000001,490.29499999999985L322.09100000000007,482.4159999999998L329.1550000000001,482.68699999999984L338.9360000000001,485.67499999999984L340.5660000000001,482.68699999999984L338.1210000000001,478.33999999999986L339.4790000000001,472.36199999999985L341.9240000000001,465.02599999999984L341.1090000000001,455.5169999999998L340.5660000000001,445.4639999999998L343.5540000000001,439.75899999999984L352.5200000000001,442.74699999999984L360.1270000000001,444.3779999999998L362.5720000000001,452.5279999999998L374.2550000000001,449.8109999999998L377.5150000000001,445.4629999999998L385.3940000000001,445.7349999999998L397.3490000000001,451.9829999999998L401.4240000000001,453.88499999999976L405.5010000000001,459.85699999999974L408.7510000000001,452.85699999999974L404.7510000000001,446.60699999999974L400.2510000000001,442.60699999999974L405.7510000000001,436.85699999999974L406.7510000000001,430.60699999999974L412.0010000000001,429.60699999999974L412.7510000000001,425.10699999999974L405.5010000000001,419.35699999999974L398.5010000000001,420.85699999999974L390.0010000000001,420.60699999999974L383.5010000000001,414.10699999999974L384.5010000000001,408.60699999999974L381.2510000000001,404.10699999999974L374.0010000000001,405.35699999999974L366.0010000000001,402.35699999999974L361.0010000000001,405.10699999999974L355.5010000000001,400.10699999999974L352.7510000000001,395.10699999999974L346.5010000000001,391.60699999999974L341.7510000000001,394.35699999999974L336.2510000000001,389.85699999999974L333.5010000000001,384.85699999999974L334.7510000000001,380.35699999999974L332.0010000000001,374.60699999999974V366.85699999999974L335.0010000000001,363.10699999999974L335.2510000000001,356.10699999999974L333.5010000000001,349.60699999999974L330.2510000000001,344.85699999999974L328.0010000000001,339.35699999999974L323.7510000000001,339.85699999999974L316.0010000000001,333.35699999999974L310.7510000000001,337.10699999999974L312.2510000000001,344.85699999999974L305.7510000000001,348.35699999999974L302.2510000000001,352.35699999999974L295.0010000000001,349.35699999999974L287.0010000000001,347.35699999999974L282.5010000000001,348.10699999999974L276.0010000000001,345.10699999999974L269.7510000000001,348.85699999999974C269.7510000000001,348.85699999999974,266.10300000000007,348.62199999999973,265.5010000000001,348.60699999999974S261.5010000000001,343.60699999999974,261.5010000000001,343.60699999999974H255.5010000000001L252.5010000000001,347.35699999999974L239.0010000000001,348.85699999999974L235.2510000000001,344.85699999999974H230.5010000000001L227.7510000000001,349.60699999999974L220.7510000000001,353.10699999999974L216.2510000000001,350.85699999999974L202.5010000000001,350.35699999999974L199.7510000000001,354.35699999999974L201.2510000000001,359.85699999999974V364.35699999999974L200.5010000000001,372.10699999999974L204.0010000000001,377.85699999999974L199.5010000000001,384.85699999999974L196.0010000000001,387.60699999999974V391.35699999999974L193.0010000000001,394.10699999999974L196.7510000000001,398.35699999999974L192.0010000000001,400.85699999999974L195.0010000000001,406.85699999999974L192.5010000000001,412.85699999999974L186.5010000000001,415.10699999999974L185.0010000000001,417.85699999999974L180.5010000000001,416.35699999999974L179.2510000000001,426.10699999999974L181.7510000000001,430.10699999999974L180.5010000000001,433.60699999999974L175.2510000000001,435.85699999999974L173.57600000000008,441.83199999999977L173.5,445.61Z"},{id:"plzensky",name:"Plzeňský kraj",polygon:"M151.027,246.771L147.637,255.059L141.986,256.566V265.042L134.452,259.39099999999996L126.541,258.44899999999996L111.472,268.24299999999994V273.89399999999995L107.61099999999999,277.75499999999994L101.30099999999999,274.6479999999999L98.09899999999999,276.1549999999999L91.883,272.38699999999994L84.34899999999999,275.58899999999994L78.981,280.95699999999994L73.99,276.5299999999999L69.469,280.2979999999999L62.355999999999995,280.0069999999999L54.477,291.9609999999999L54,299.11L45.784,306.63300000000004L52.033,313.696L59.64,318.858L59.097,326.737L64.259,332.71500000000003L63.987,340.05L72.138,345.75600000000003L71.32300000000001,354.721L72.68100000000001,360.969L79.20200000000001,364.501L84.90800000000002,370.479L89.25500000000001,377.81399999999996L97.13400000000001,379.98799999999994L99.85100000000001,378.08699999999993L106.91400000000002,379.44499999999994L115.88000000000001,385.96599999999995L116.96700000000001,393.30099999999993L124.84600000000002,401.17999999999995V404.9839999999999L132.181,410.68999999999994L133.53900000000002,416.3949999999999L138.43,419.9269999999999H145.222L151.743,426.4479999999999L157.72,435.1409999999999L158.535,444.6509999999999L169.674,451.9859999999999L173.501,445.6109999999999L173.576,441.8359999999999L175.251,435.8609999999999L180.501,433.6109999999999L181.751,430.1109999999999L179.251,426.1109999999999L180.501,416.3609999999999L185.001,417.8609999999999L186.501,415.1109999999999L192.501,412.8609999999999L195.001,406.8609999999999L192.001,400.8609999999999L196.751,398.3609999999999L193.001,394.1109999999999L196.001,391.3609999999999V387.6109999999999L199.501,384.8609999999999L204.001,377.8609999999999L200.501,372.1109999999999L201.251,364.3609999999999V359.8609999999999L199.751,354.3609999999999L202.501,350.3609999999999L199.251,344.8609999999999L199.501,338.8609999999999L200.751,334.3609999999999L197.501,331.8609999999999L194.001,327.3609999999999L195.751,322.3609999999999L191.751,318.1109999999999L197.001,314.3609999999999H202.501L207.251,308.6109999999999L205.001,304.1109999999999L207.501,299.8609999999999L205.251,293.8609999999999L210.001,289.1109999999999L208.751,285.3609999999999L209.251,278.8609999999999L205.001,276.1109999999999L200.001,275.1109999999999L199.751,271.1109999999999L194.751,272.1109999999999C194.751,272.1109999999999,189.695,265.40499999999986,189.501,265.3609999999999S185.001,267.1109999999999,185.001,267.1109999999999L180.501,264.8609999999999L176.501,262.6109999999999L175.751,258.3609999999999L169.001,257.8609999999999L165.001,260.3609999999999L161.501,257.1109999999999L164.251,253.61099999999988L161.95600000000002,250.7269999999999L155.175,246.7709999999999L151.027,246.771Z"},{id:"karlovarsky",name:"Karlovarský kraj",polygon:"M69.47,280.299L62.357,280.008V274.846L57.195,272.401L57.466,266.42400000000004L42.251,256.1L32.742,251.21000000000004L28.665999999999997,243.87400000000002L24.590999999999998,239.25500000000002L26.493,230.83300000000003L20.244,221.324L15.761,216.841L18.886,210.728L16.169999999999998,203.936H24.863999999999997L27.037,206.11V212.08700000000002H31.656L34.237,214.668L32.742000000000004,218.87900000000002L35.459,221.59600000000003V228.38800000000003L39.535000000000004,232.46400000000003L41.437000000000005,222.68300000000002C41.437000000000005,222.68300000000002,40.07900000000001,219.42200000000003,41.437000000000005,218.06400000000002S46.871,212.63000000000002,46.871,212.63000000000002L49.316,204.479L59.912000000000006,198.774V194.97L63.30800000000001,191.574L71.051,190.351L80.83200000000001,188.721L84.09200000000001,191.981L89.52600000000001,185.189L99.57900000000001,182.47199999999998L110.17500000000001,190.35099999999997L115.019,195.19499999999996H125.036L129.933,197.04499999999996C129.933,197.04499999999996,129.676,201.25999999999996,129.933,201.75399999999996S140.66899999999998,200.62399999999997,140.66899999999998,200.62399999999997L145.378,205.33299999999997L140.76299999999998,209.94799999999998L143.30599999999998,214.75099999999998L141.611,220.96599999999998L145.755,225.10999999999999L144.06,228.689L148.768,235.093L144.059,239.801L151.028,246.771L147.638,255.059L141.987,256.566V265.042L134.453,259.39099999999996L126.542,258.44899999999996L111.473,268.24299999999994V273.89399999999995L107.612,277.75499999999994L101.30199999999999,274.6479999999999L98.1,276.1549999999999L91.884,272.38699999999994L84.35,275.58899999999994L78.982,280.95699999999994L73.991,276.5299999999999L69.47,280.299Z"},{id:"jihomoravsky",name:"Jihomoravský kraj",polygon:"M546.667,336.777L540.5,330.61H522L518.333,336.61H506L502.75,339.86L501.5,344.61L506.75,348.11L505.25,351.11L500.25,354.11L503,360.61L500.75,365.36L502.75,370.36L503.25,379.36L493.5,383.86L491.75,387.86L487.25,390.86L491,395.61L487,398.86L485.75,403.36L491,408.61L485.25,412.11L486.75,417.11C486.75,417.11,491.12,419.697,491.25,420.36S489.5,423.61,489.5,423.61L485.75,424.61L483.5,430.11L478.75,428.86L475.75,433.61L470.25,436.36L464.5,434.61L460.25,437.11L454,432.86L447,435.86L444.75,441.11H438.75L435.5,445.61L432,446.61L429,452.36L423.25,448.11L417.75,453.86L413.25,450.61L408.75,452.86L405.5,459.86L409.03,460.409L416.09299999999996,461.223L424.24299999999994,467.201L432.39399999999995,468.016L434.29499999999996,464.755L442.44499999999994,465.57L454.3999999999999,473.992L455.7579999999999,478.34000000000003L471.51499999999993,487.033L490.26199999999994,486.762L504.66099999999994,489.479L510.09499999999997,483.22999999999996L513.083,475.08L523.136,474.537L527.483,479.155L537.536,480.78499999999997L538.8939999999999,487.578L544.0559999999999,485.947L553.0219999999999,491.382L561.1719999999999,489.208L566.6059999999999,492.74L569.3229999999999,506.324L573.6709999999998,505.781L576.9309999999998,494.37L579.1049999999998,486.491L588.0709999999998,475.351L590.2439999999998,467.74399999999997L593.5049999999998,466.38599999999997L598.3949999999998,461.496H603.5569999999998L613.6099999999998,465.84299999999996L622.3039999999997,471.00499999999994L630.9969999999997,465.29999999999995L638.3329999999997,470.18999999999994L644.8539999999997,468.55999999999995L651.6459999999997,462.3109999999999L649.4999999999998,459.61099999999993L645.7499999999998,454.11099999999993L639.4999999999998,452.61099999999993L639.2499999999998,448.61099999999993L633.4999999999998,445.11099999999993L626.9999999999998,447.61099999999993L621.4999999999998,442.61099999999993L616.2499999999998,442.86099999999993L616.4999999999998,437.11099999999993L608.2499999999998,436.11099999999993L601.9999999999998,432.61099999999993L602.7499999999998,426.86099999999993L599.7499999999998,423.61099999999993L591.4999999999998,426.86099999999993L587.7499999999998,422.11099999999993L592.7499999999998,416.86099999999993L597.2499999999998,413.86099999999993L597.9999999999998,408.86099999999993L591.2499999999998,408.11099999999993L592.7499999999998,402.86099999999993L589.7499999999998,397.61099999999993L593.3749999999998,392.73599999999993L589.4999999999998,386.11099999999993V382.36099999999993L586.3749999999998,379.23599999999993H579.5L578.5,373.86099999999993V368.86099999999993L572.5,365.11099999999993V360.61099999999993L568.625,356.73599999999993L566.25,351.61099999999993H560.75L557,355.86099999999993L561,359.86099999999993L565.125,363.98599999999993L560.75,370.36099999999993L557.75,373.36099999999993L550.25,367.86099999999993L553.75,364.36099999999993L549.25,358.36099999999993V351.86099999999993L554.25,346.61099999999993L548.5,344.86099999999993L543.75,344.61099999999993L546.667,336.777Z"},{id:"zlinsky",name:"Zlínský kraj",polygon:"M737.5,365.046L731.75,362.36L730.5,356.61L723.5,352.11L723,347.61L717.5,349.86H712.25L706.25,345.61L698.25,343.86L690.25,347.11L685.25,342.86H679.5L675.375,346.985L671.25,345.61L664.5,350.11V357.11C664.5,357.11,660.164,361.736,659.125,362.485S653.25,355.86,653.25,355.86L645.5,358.61L647.75,365.36L641,367.36L636,365.86L631.875,369.985L629,375.11L625.125,371.235L618.5,371.61L616.5,366.86L612.5,370.36L614.75,378.11L611,381.86L608.75,385.36L599.25,386.86L593.375,392.735L589.75,397.61L592.75,402.86L591.25,408.11L598,408.86L597.25,413.86L592.75,416.86L587.75,422.11L591.5,426.86L599.75,423.61L602.75,426.86L602,432.61L608.25,436.11L616.5,437.11L616.25,442.86L621.5,442.61L627,447.61L633.5,445.11L639.25,448.61L639.5,452.61L645.75,454.11L649.5,459.61L651.646,462.31H656.5369999999999L663.6009999999999,457.963L668.4909999999999,449.54L678.5439999999999,448.997L680.3099999999998,435.548L684.2489999999998,431.609L697.2899999999998,430.522L704.0829999999999,420.742V409.06L707.6139999999998,399.007V391.944L713.0479999999998,383.522L720.3839999999998,381.62L727.1759999999998,378.088L733.1539999999998,375.915L737.5,365.046Z"},{id:"vysocina",name:"Kraj Vysočina",polygon:"M502.75,339.86L495.5,332.61L489.667,332.44300000000004L482.5,323.94300000000004L468.5,320.77700000000004L466,314.94300000000004L459.333,315.11V311.44300000000004L452.5,315.77700000000004C452.5,315.77700000000004,452.729,321.25500000000005,452.5,321.44300000000004S444.833,318.77700000000004,444.833,318.77700000000004L441,316.77700000000004V311.77700000000004L435.833,309.11000000000007L431.833,308.27700000000004L427.66700000000003,303.94300000000004L420.66700000000003,299.44300000000004L411,299.61L402,292.61L396,293.11L392,296.36L392.5,302.36L386.75,302.11L384.75,306.36H379L375.75,309.36L371.75,308.36L368.75,310.11L368,314.11L364.25,317.61L364,323.36L371.75,327.11C371.75,327.11,372.032,331.726,372,332.36S367.25,335.61,367.25,335.61L363.5,333.86L361.25,337.86L356.75,337.11L350.25,337.36L342,336.11L336.5,341.61L336.25,346.86L333.5,349.61L335.25,356.11L335,363.11L332,366.86V374.61L334.75,380.36L333.5,384.86L336.25,389.86L341.75,394.36L346.5,391.61L352.75,395.11L355.5,400.11L361,405.11L366,402.36L374,405.36L381.25,404.11L384.5,408.61L383.5,414.11L390,420.61L398.5,420.86L405.5,419.36L412.75,425.11L412,429.61L406.75,430.61L405.75,436.86L400.25,442.61L404.75,446.61L408.75,452.86L413.25,450.61L417.75,453.86L423.25,448.11L429,452.36L432,446.61L435.5,445.61L438.75,441.11H444.75L447,435.86L454,432.86L460.25,437.11L464.5,434.61L470.25,436.36L475.75,433.61L478.75,428.86L483.5,430.11L485.75,424.61L489.5,423.61L491.25,420.36L486.75,417.11L485.25,412.11L491,408.61L485.75,403.36L487,398.86L491,395.61L487.25,390.86L491.75,387.86L493.5,383.86L503.25,379.36L502.75,370.36L500.75,365.36L503,360.61L500.25,354.11L505.25,351.11L506.75,348.11L501.5,344.61L502.75,339.86Z"},{id:"stredocesky",name:"Středočeský kraj",polygon:"M404.167,273.11L397.33399999999995,269.777L397.167,265.11L391.667,263.277L386,259.944L386.833,255.27700000000002L390.24800000000005,250.347L392.32000000000005,243.566L384.22100000000006,239.234L388.1770000000001,232.26500000000001L386.1050000000001,227.74400000000003L387.23500000000007,222.09400000000002L385.9170000000001,216.06600000000003L382.9030000000001,213.05200000000002L377.4410000000001,216.63100000000003L368.5880000000001,215.50100000000003V210.22700000000003L363.7850000000001,205.42400000000004L357.4750000000001,204.20000000000005L356.1570000000001,199.49100000000004L360.9600000000001,194.68800000000005L358.0410000000001,186.68300000000005L359.7360000000001,181.97400000000005L356.9110000000001,177.45300000000006L359.35700000000014,173.68500000000006L354.27200000000016,171.42500000000007V167.65800000000007L347.1610000000002,164.03200000000007L343.91200000000015,160.78300000000007H338.35500000000013L334.11700000000013,156.54500000000007L329.9730000000001,163.70200000000008L323.3800000000001,171.0480000000001L321.1200000000001,168.7880000000001L315.47000000000014,169.7290000000001V174.4380000000001L307.55900000000014,180.8420000000001L298.14100000000013,183.1020000000001L295.88100000000014,176.32100000000008L284.95300000000015,176.88600000000008L282.69300000000015,179.90100000000007L283.63500000000016,187.05900000000005H278.92600000000016L277.41900000000015,191.58000000000004H272.52200000000016L274.21700000000016,200.05600000000004L270.63800000000015,203.63500000000005L262.53900000000016,202.88200000000006L258.20600000000013,207.21500000000006H241.81900000000013L233.90800000000013,203.63600000000005L227.50400000000013,207.02600000000004V211.54700000000003L222.32400000000013,216.72700000000003H216.39100000000013L214.36600000000013,218.75100000000003L214.50800000000012,222.66000000000003L208.8570000000001,219.26900000000003L202.6420000000001,225.48400000000004L193.97700000000012,225.29600000000005L185.6890000000001,230.38200000000006L178.3430000000001,230.75800000000007L172.6920000000001,236.03200000000007L171.5620000000001,242.62400000000008L165.3460000000001,245.26100000000008L161.9560000000001,250.72300000000007L164.2510000000001,253.60700000000006L161.5010000000001,257.1070000000001L165.0010000000001,260.3570000000001L169.0010000000001,257.8570000000001L175.7510000000001,258.3570000000001L176.5010000000001,262.6070000000001L180.5010000000001,264.8570000000001L185.0010000000001,267.1070000000001L189.5010000000001,265.3570000000001L194.7510000000001,272.1070000000001L199.7510000000001,271.1070000000001L200.0010000000001,275.1070000000001L205.0010000000001,276.1070000000001L209.2510000000001,278.8570000000001L208.7510000000001,285.3570000000001L210.0010000000001,289.1070000000001L205.2510000000001,293.8570000000001L207.5010000000001,299.8570000000001L205.0010000000001,304.1070000000001L207.2510000000001,308.6070000000001L202.5010000000001,314.3570000000001H197L191.75,318.1070000000001L195.75,322.3570000000001L194,327.3570000000001L197.5,331.8570000000001L200.75,334.3570000000001L199.5,338.8570000000001L199.25,344.8570000000001L202.5,350.3570000000001L216.25,350.8570000000001L220.75,353.1070000000001L227.75,349.6070000000001L230.5,344.8570000000001H235.25L239,348.8570000000001L252.5,347.3570000000001L255.5,343.6070000000001H261.5L265.5,348.6070000000001L269.75,348.8570000000001L276,345.1070000000001L282.5,348.1070000000001L287,347.3570000000001L295,349.3570000000001L302.25,352.3570000000001L305.75,348.3570000000001L312.25,344.8570000000001L310.75,337.1070000000001L316,333.3570000000001L323.75,339.8570000000001L328,339.3570000000001L330.25,344.8570000000001L333.5,349.6070000000001L336.25,346.8570000000001L336.5,341.6070000000001L342,336.1070000000001L350.25,337.3570000000001L356.75,337.1070000000001L361.25,337.8570000000001L363.5,333.8570000000001L367.25,335.6070000000001L372,332.3570000000001L371.75,327.1070000000001L364,323.3570000000001L364.25,317.6070000000001L368,314.1070000000001L368.75,310.1070000000001L371.75,308.3570000000001L375.75,309.3570000000001L379,306.3570000000001H384.75L386.75,302.1070000000001L392.5,302.3570000000001L392,296.3570000000001L396,293.1070000000001L402,292.6070000000001L400,284.4410000000001L403.667,280.7740000000001L404.167,273.11ZM310,254.11L305.167,254.61L301.83399999999995,256.94300000000004L304.167,258.94300000000004L304.667,264.11L301.167,267.277L297.167,264.61L292,263.944L289.5,266.444L284.833,267.611L282.16600000000005,271.444L278.4990000000001,271.611L274.9990000000001,273.27799999999996L273.9990000000001,275.94499999999994L269.4990000000001,276.94499999999994L266.16600000000005,273.27799999999996L267.833,267.94499999999994L263.16600000000005,265.6119999999999L264.4990000000001,262.6119999999999L260.66600000000005,260.1119999999999L257.66600000000005,255.7789999999999L259.9990000000001,252.2789999999999L256.16600000000005,247.6119999999999L263.16600000000005,244.1119999999999L265.833,245.6119999999999L270.5,245.9449999999999L269.333,241.6119999999999L272.333,239.7789999999999L276.5,240.6119999999999L281.167,238.1119999999999L283.667,234.7789999999999L289.167,234.9459999999999L290.5,237.2789999999999L293.667,238.2789999999999L294.667,239.7789999999999L298.33399999999995,238.9459999999999L297.33399999999995,242.61299999999991L302.167,243.77999999999992L304.33399999999995,247.27999999999992H307.5009999999999L310.5009999999999,251.11299999999991L310,254.11Z"},{id:"praha",name:"Hlavní město Praha",polygon:"M256.167,247.61L263.167,244.11L265.83399999999995,245.61C265.83399999999995,245.61,270.00299999999993,246.41500000000002,270.5009999999999,245.943S269.33399999999995,241.61,269.33399999999995,241.61L272.33399999999995,239.77700000000002L276.5009999999999,240.61L281.1679999999999,238.11L283.6679999999999,234.77700000000002L289.1679999999999,234.94400000000002L290.5009999999999,237.27700000000002L293.6679999999999,238.27700000000002L294.6679999999999,239.77700000000002L298.33499999999987,238.94400000000002L297.33499999999987,242.61100000000002L302.1679999999999,243.77800000000002L304.33499999999987,247.27800000000002H307.50199999999984L310.50199999999984,251.11100000000002L310.00199999999984,254.11100000000002L305.1689999999998,254.61100000000002L301.8359999999998,256.944L304.1689999999998,258.944L304.6689999999998,264.111L301.1689999999998,267.27799999999996L297.1689999999998,264.611L292,263.944L289.5,266.444L284.833,267.611L282.16600000000005,271.444L278.4990000000001,271.611L274.9990000000001,273.27799999999996L273.9990000000001,275.94499999999994L269.4990000000001,276.94499999999994L266.16600000000005,273.27799999999996L267.833,267.94499999999994L263.16600000000005,265.6119999999999L264.4990000000001,262.6119999999999L260.66600000000005,260.1119999999999L257.66600000000005,255.7789999999999L259.9990000000001,252.2789999999999L256.167,247.61Z"},{id:"ustecky",name:"Ústecký kraj",polygon:"M110.174,190.351L119.683,185.189L119.412,177.85399999999998L122.67200000000001,174.593L132.453,172.963L140.604,174.04999999999998L143.864,168.07299999999998V163.72599999999997L146.58100000000002,158.83599999999998H149.841L151.471,163.72599999999997L155.546,162.36799999999997V156.39099999999996L158.128,153.80899999999997L159.62199999999999,149.86999999999998H163.42499999999998L165.05499999999998,155.03199999999998L169.402,157.749L177.82399999999998,151.772L178.367,141.72L182.30599999999998,137.781L186.789,140.09L192.22299999999998,135.20000000000002L195.755,138.73200000000003L202.27599999999998,135.20000000000002L209.611,134.38500000000002L211.24099999999999,138.18900000000002H214.23L219.11999999999998,133.29900000000004V125.69200000000004L225.36899999999997,124.60500000000003L229.71599999999998,120.25800000000004L235.421,123.79000000000003L244.11499999999998,119.17100000000003L247.647,115.63900000000004L254.982,116.18200000000004L258.514,109.11900000000004H263.404L265.306,111.29200000000004L275.087,107.76000000000005L276.174,100.96800000000005L268.02299999999997,98.25100000000005V93.08900000000004L259.873,91.45900000000005L262.861,86.02500000000005L265.578,78.96100000000004L273.729,82.76500000000004L275.631,84.66700000000004H280.52099999999996L288.128,81.95000000000005L293.018,86.84000000000005L297.909,91.45900000000005L298.18,97.43600000000005L294.105,104.22800000000005L303.34200000000004,102.59800000000006L301.71200000000005,112.10700000000006V116.45400000000005L295.31000000000006,118.69000000000005L294.36800000000005,126.03600000000006L287.96400000000006,123.58700000000006L280.8070000000001,122.64500000000007L282.3140000000001,128.67200000000005L277.5110000000001,133.47500000000005V137.33600000000004L273.3200000000001,141.52700000000004C273.3200000000001,141.52700000000004,269.2500000000001,147.21300000000005,269.3180000000001,148.26100000000005S272.7080000000001,153.72300000000004,272.7080000000001,153.72300000000004V158.80900000000005L279.8670000000001,170.67200000000005L284.9510000000001,176.88900000000007L282.6910000000001,179.90400000000005L283.6330000000001,187.06200000000004H278.9240000000001L277.4170000000001,191.58300000000003H272.5200000000001L274.2150000000001,200.05900000000003L270.6360000000001,203.63800000000003L262.5370000000001,202.88500000000005L258.20400000000006,207.21800000000005H241.81700000000006L233.90600000000006,203.63900000000004L227.50200000000007,207.02900000000002V211.55L222.32200000000006,216.73000000000002H216.38900000000007L214.36400000000006,218.75400000000002L214.50600000000006,222.663L208.85500000000005,219.27200000000002L202.64000000000004,225.48700000000002L193.97500000000005,225.29900000000004L185.68700000000004,230.38500000000005L178.34100000000004,230.76100000000005L172.69000000000003,236.03500000000005L171.56000000000003,242.62700000000007L165.34400000000002,245.26400000000007L161.95400000000004,250.72600000000006L155.17300000000003,246.77000000000007L151.02600000000004,246.77100000000007L144.05700000000004,239.80100000000007L148.76600000000005,235.09300000000007L144.05800000000005,228.68900000000008L145.75300000000004,225.11000000000007L141.60900000000004,220.96600000000007L143.30400000000003,214.75100000000006L140.76100000000002,209.94800000000006L145.37600000000003,205.33300000000006L140.66700000000003,200.62400000000005L129.93100000000004,201.75400000000005V197.04500000000004L125.03400000000003,195.19500000000005H115.01700000000004L110.174,190.351Z"},{id:"pardubicky",name:"Pardubický kraj",polygon:"M555.742,226.757L554,234.944L549.333,243.944L547.833,252.611L550.333,256.77799999999996L540.333,264.94499999999994V270.6119999999999L542.833,276.44499999999994L543.833,283.77899999999994L546.25,286.1959999999999L540.667,289.94499999999994L544.8330000000001,298.1119999999999L549.3330000000001,306.94499999999994V311.44499999999994L555.0000000000001,313.94499999999994V321.44499999999994L549.8330000000001,326.6119999999999V332.2789999999999L546.667,336.7789999999999L540.5,330.6119999999999H522L518.333,336.6119999999999H506L502.75,339.8619999999999L495.5,332.6119999999999L489.667,332.44499999999994L482.5,323.94499999999994L468.5,320.77899999999994L466,314.94499999999994L459.333,315.1119999999999V311.44499999999994L452.5,315.77899999999994V321.44499999999994L444.833,318.77899999999994L441,316.77899999999994V311.77899999999994L435.833,309.11199999999997L431.833,308.27899999999994L427.66700000000003,303.94499999999994L420.66700000000003,299.44499999999994L411,299.61L402,292.61L400,284.444L403.667,280.77700000000004L404.167,273.11000000000007L397.33399999999995,269.77700000000004L397.167,265.11000000000007L391.667,263.27700000000004L386,259.944L386.833,255.27700000000002L390.24800000000005,250.347L398.95900000000006,248.40300000000002L408.89500000000004,239.79900000000004L414.16900000000004,242.81300000000005C414.16900000000004,242.81300000000005,423.29800000000006,243.14300000000006,423.77400000000006,242.81300000000005S428.86000000000007,235.84400000000005,428.86000000000007,235.84400000000005H433.75700000000006V241.49500000000006L437.24100000000004,242.72000000000006L440.53700000000003,239.42400000000006L446.94100000000003,236.22200000000007L454.66400000000004,236.41000000000005L458.05500000000006,239.80000000000004V246.39300000000003H462.5760000000001L466.7200000000001,250.53700000000003L473.9720000000001,254.77500000000003L478.2100000000001,259.01300000000003L484.8020000000001,257.13000000000005H494.2200000000001L495.9150000000001,249.97300000000004L501.1890000000001,244.69900000000004L511.17100000000005,241.87400000000005V236.41200000000006H515.1260000000001L523.5210000000001,240.17100000000005L535.9080000000001,247.13600000000005L542.9710000000001,240.07300000000006L546.6390000000001,236.40500000000006L546.5030000000002,230.02000000000007L555.742,226.757Z"},{id:"kralovehradecky",name:"Královéhradecký kraj",polygon:"M401.151,127.863L409.302,128.406L418.267,132.481L420.984,135.198L427.233,136.285L434.025,132.481L436.74199999999996,138.458L440.54599999999994,146.88H445.43699999999995L452.49999999999994,144.16299999999998L456.84799999999996,152.313L456.304,157.475L463.097,152.585L467.715,147.966L475.86499999999995,153.67100000000002L479.941,153.943L481.299,147.966H492.438L506.294,161.55L501.67499999999995,165.626L500.58799999999997,173.505L491.895,176.765L479.397,186.546L480.484,191.98L487.54699999999997,200.13L493.525,197.142L496.921,200.53799999999998V204.749L500.792,208.62099999999998L505.75,208.01L511.456,218.063L519.335,224.31199999999998L520.693,234.36499999999998L523.521,240.16899999999998L515.126,236.41H511.171V241.87199999999999L501.18899999999996,244.69699999999997L495.91499999999996,249.97099999999998L494.21999999999997,257.128H484.80199999999996L478.21,259.01099999999997L473.972,254.77299999999997L466.71999999999997,250.53499999999997L462.57599999999996,246.39099999999996H458.05499999999995V239.8L454.66399999999993,236.41000000000003L446.9409999999999,236.22200000000004L440.5369999999999,239.42400000000004L437.24099999999993,242.72000000000003C437.24099999999993,242.72000000000003,434.0929999999999,241.62100000000004,433.75699999999995,241.49500000000003S433.75699999999995,235.84400000000002,433.75699999999995,235.84400000000002H428.85999999999996L423.77399999999994,242.81300000000002H414.1689999999999L408.8949999999999,239.799L398.95899999999995,248.40300000000002L390.24799999999993,250.347L392.31999999999994,243.566L384.22099999999995,239.234L388.17699999999996,232.26500000000001L386.10499999999996,227.74400000000003L387.23499999999996,222.09400000000002L385.917,216.06600000000003L382.90299999999996,213.05200000000002L377.441,216.63100000000003L368.58799999999997,215.50100000000003V210.22700000000003L363.78499999999997,205.42400000000004L357.47499999999997,204.20000000000005L356.157,199.49100000000004L360.96,194.68800000000005L358.041,186.68300000000005L359.736,181.97400000000005L356.911,177.45300000000006L359.357,173.68500000000006L367.26800000000003,178.77100000000007L374.425,174.06200000000007L385.35,177.82900000000006L388.552,182.72600000000006L393.449,179.90100000000007V174.81600000000006L399.288,171.04900000000006L403.809,175.57000000000005C403.809,175.57000000000005,413.317,173.60500000000005,413.415,173.49800000000005S413.415,169.91900000000004,413.415,169.91900000000004L407.764,164.26800000000003L410.778,158.24100000000004L407.011,154.47400000000005L408.517,150.33000000000004L405.316,142.60700000000003L407.19899999999996,134.69600000000003L401.151,127.863Z"},{id:"liberecky",name:"Liberecký kraj",polygon:"M401.151,127.863L407.197,134.697L405.314,142.608L408.51500000000004,150.33100000000002L407.00900000000007,154.47500000000002L410.77600000000007,158.24200000000002L407.76200000000006,164.269L413.41300000000007,169.92000000000002V173.49900000000002L403.8070000000001,175.57100000000003L399.28600000000006,171.05000000000004L393.44700000000006,174.81700000000004V179.90200000000004L388.55000000000007,182.72700000000003L385.34800000000007,177.83000000000004L374.42300000000006,174.06300000000005L367.2660000000001,178.77200000000005L359.3550000000001,173.68600000000004L354.2700000000001,171.42600000000004V167.65900000000005L347.1590000000001,164.03300000000004L343.9100000000001,160.78400000000005H338.35300000000007L334.11500000000007,156.54600000000005L329.97100000000006,163.70300000000006L323.37800000000004,171.04900000000006L321.11800000000005,168.78900000000007L315.4680000000001,169.73000000000008V174.43900000000008L307.5570000000001,180.84300000000007L298.13900000000007,183.10300000000007L295.8790000000001,176.32200000000006L284.9510000000001,176.88700000000006L279.8670000000001,170.67000000000004L272.7080000000001,158.80700000000004V153.72100000000003L269.3180000000001,148.25900000000004L273.3200000000001,141.52500000000003L277.5110000000001,137.33400000000003V133.47300000000004L282.3140000000001,128.67000000000004L280.8070000000001,122.64300000000004L287.96400000000006,123.58500000000004L294.36800000000005,126.03400000000003L295.31000000000006,118.68800000000003L301.71200000000005,116.45200000000003L318.557,121.61400000000003L323.99100000000004,113.73500000000003L334.04300000000006,113.19200000000002C334.04300000000006,113.19200000000002,340.65700000000004,114.42000000000002,341.1070000000001,114.00700000000002S342.7370000000001,104.49800000000002,342.7370000000001,104.49800000000002L344.9100000000001,95.80400000000002L340.29100000000005,91.18500000000002L344.63800000000003,86.83800000000002H351.973L355.777,90.37000000000002L361.75399999999996,87.11000000000001L365.01399999999995,92.81600000000002L369.90399999999994,90.64300000000001L375.33799999999997,97.16400000000002L372.893,102.59800000000001L375.60999999999996,111.02000000000001L380.364,115.77400000000002L384.847,120.25700000000002L385.39,128.13600000000002L387.156,129.90200000000002L393.269,124.33200000000002L401.151,127.863Z"},{id:"olomoucky",name:"Olomoucký kraj",polygon:"M617.687,214.259V224.60999999999999H612.75L608.25,229.10999999999999L598.25,235.60999999999999V242.60999999999999L594.75,246.10999999999999L597.5,251.10999999999999L591.5,259.61L589.75,267.36L593.875,271.485L590,277.86L588.75,285.36L592.375,288.985H597V294.36H603.25L607.25,298.36L614.5,296.36L620.5,305.11H625.5L629.75,307.36L634.75,303.86L639,308.11L644.5,305.11L652,309.11L650.25,317.61H658L660.75,325.11L666.75,327.11L671.875,332.235L671.25,337.36H676.75L679.5,342.86L675.375,346.985L671.25,345.61L664.5,350.11V357.11L659.125,362.485L653.25,355.86L645.5,358.61L647.75,365.36L641,367.36L636,365.86L631.875,369.985L629,375.11L625.125,371.235L618.5,371.61L616.5,366.86L612.5,370.36L614.75,378.11L611,381.86L608.75,385.36L599.25,386.86L593.375,392.735L589.5,386.11V382.36L586.375,379.235H579.5L578.5,373.86V368.86L572.5,365.11V360.61L568.625,356.735L566.25,351.61H560.75L557,355.86L561,359.86L565.125,363.985L560.75,370.36L557.75,373.36L550.25,367.86L553.75,364.36L549.25,358.36V351.86L554.25,346.61L548.5,344.86L543.75,344.61L546.667,336.777L549.8330000000001,332.277V326.61L555.0000000000001,321.44300000000004V313.94300000000004L549.3330000000001,311.44300000000004V306.94300000000004L544.8330000000001,298.11L540.667,289.94300000000004L546.25,286.194L543.833,283.77700000000004L542.833,276.44300000000004L540.333,270.61V264.94300000000004C540.333,264.94300000000004,550.221,257.03200000000004,550.333,256.77600000000007S547.833,252.60900000000007,547.833,252.60900000000007L549.333,243.94200000000006L554,234.94200000000006L555.742,226.75500000000005L564.435,222.67900000000006H571.228L571.4989999999999,214.25700000000006L567.016,209.77400000000006L562.534,208.00800000000007L559.273,196.32500000000007L552.21,192.52100000000007L556.014,185.18600000000006L564.436,187.35900000000007L570.6850000000001,188.71700000000007L581.009,191.70600000000007L585.22,195.9170000000001L592.4200000000001,193.60700000000008L593.5070000000001,200.67100000000008L599.2120000000001,205.0180000000001H607.9060000000001L610.0790000000001,212.62500000000009L617.687,214.259Z"},{id:"moravskoslezsky",name:"Moravskoslezský kraj",polygon:"M617.687,214.259V224.60999999999999H612.75L608.25,229.10999999999999L598.25,235.60999999999999V242.60999999999999L594.75,246.10999999999999L597.5,251.10999999999999L591.5,259.61L589.75,267.36L593.875,271.485L590,277.86L588.75,285.36L592.375,288.985H597V294.36H603.25L607.25,298.36L614.5,296.36L620.5,305.11H625.5L629.75,307.36L634.75,303.86L639,308.11L644.5,305.11L652,309.11L650.25,317.61H658L660.75,325.11L666.75,327.11L671.875,332.235L671.25,337.36H676.75L679.5,342.86H685.25L690.25,347.11L698.25,343.86L706.25,345.61L712.25,349.86H717.5L723,347.61L723.5,352.11L730.5,356.61L731.75,362.36L737.5,365.046L742.119,363.416L750.813,352.005L750.269,345.484L756.247,342.767L761.1379999999999,345.212L769.2879999999999,343.582L776.0799999999999,345.755L784.7739999999999,341.68L786.1319999999998,335.159L781.2409999999999,321.847L778.2529999999998,312.60999999999996H771.1889999999999L768.2009999999998,309.078L759.2349999999998,306.361L757.8769999999998,299.84L751.8989999999999,286.799L755.1599999999999,279.736L752.4429999999999,278.649L749.7259999999999,271.042L744.2919999999999,275.11699999999996L733.6959999999999,269.14L724.4579999999999,267.782L721.1979999999999,273.488L716.3069999999999,265.338L710.0579999999999,262.34900000000005L707.0699999999998,258.5450000000001L701.6359999999999,262.07700000000006L696.2019999999999,259.63200000000006L696.6089999999999,252.97500000000005L692.127,248.49300000000005L685.606,249.58000000000004L682.345,258.00200000000007C682.345,258.00200000000007,676.811,263.9390000000001,676.096,264.2510000000001S670.255,264.11500000000007,670.255,264.11500000000007L664.686,258.54600000000005L658.98,256.64400000000006L655.992,247.67900000000006L650.8299999999999,240.34300000000005L644.9879999999999,241.02300000000005L639.419,235.45300000000006V230.83400000000006L649.1999999999999,227.84500000000006L656.943,224.04100000000005V219.55800000000005L651.917,214.53200000000004L653.004,209.09800000000004L647.57,203.66400000000004L644.8520000000001,209.09800000000004L640.777,213.17300000000003L627.1930000000001,212.08600000000004L617.687,214.259Z"}]}}};var A4=function(){var e=this,t=e._self._c;return t("div",{staticClass:"region-map flex justify-center items-center"},[t("div",{staticClass:"w-full max-w-4xl block"},[t("svg",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/svg",id:"svgmapy",version:"1.1",viewBox:"0 75 800 500"}},[t("g",e._l(e.regions,function(i){return t("a",{key:i.id,attrs:{"xlink:href":"#"},on:{mouseover:function(s){e.current=i},mouseout:function(s){e.current=null},click:function(s){return e.selectRegion(i)}}},[t("path",{staticClass:"map-polygon region-map__region",class:{"region-map__region--current":e.current===i},attrs:{d:i.polygon}})])}),0)])])])},E4=[],x4=Ie(C4,A4,E4);const S4=x4.exports,T4={props:{initial:{default:()=>{}},syncLocation:{type:Boolean,default:!1},locationParam:{type:String,default:"view"}},data(){return{views:this.$props.initial,queryParams:null,keyListener:n=>{n.keyCode===27&&this.hideAllViews()}}},watch:{routeView(){new URLSearchParams(window.location.search)}},methods:{setView(n,e,t=!1){if(t&&Object.keys(this.$data.views).forEach(i=>{i!==n&&this.setView(i,!1)}),this.$data.views[n]=e,e&&this.$props.syncLocation){const i=new URLSearchParams(window.location.search);i.set(this.$props.locationParam,n),history.pushState(null,null,"?"+i.toString())}},setViews(n){this.$data.views=Object.assign({},this.data.views,n)},toggleView(n){!this.isCurrentView(n)&&this.setView(n,!this.isCurrentView(n),!0)},showView(n){this.setView(n,!0,!0)},isCurrentView(n){return this.$data.views[n]},hideAllViews(){Object.keys(this.$data.views).forEach(n=>{this.setView(n,!1)})}},mounted(){if(window.addEventListener("keydown",this.$data.keyListener),this.$props.syncLocation){const e=new URLSearchParams(window.location.search).get(this.$props.locationParam);e&&Object.keys(this.$data.views).indexOf(e)!==-1&&this.showView(e)}},destroyed(){window.removeEventListener("keydown",this.$data.keyListener)}};var D4=function(){var e=this,t=e._self._c;return t("div",[e._t("default",null,{views:e.views,isCurrentView:e.isCurrentView,toggleView:e.toggleView,showView:e.showView,setView:e.setView})],2)},k4=[],O4=Ie(T4,D4,k4);const R4=O4.exports,M4={props:{initial:{default:()=>{}},syncLocation:{type:Boolean,default:!1},locationParam:{type:String,default:"secondary-view"}},data(){return{secondaryViews:this.$props.initial,queryParams:null,keyListener:n=>{n.keyCode===27&&this.hideAllViews()}}},watch:{routeView(){new URLSearchParams(window.location.search)}},methods:{setSecondaryView(n,e,t=!1){if(t&&Object.keys(this.$data.secondaryViews).forEach(i=>{i!==n&&this.setSecondaryView(i,!1)}),this.$data.secondaryViews[n]=e,e&&this.$props.syncLocation){const i=new URLSearchParams(window.location.search);i.set(this.$props.locationParam,n),history.pushState(null,null,"?"+i.toString())}},setSecondaryViews(n){this.$data.secondaryViews=Object.assign({},this.data.secondaryViews,n)},toggleSecondaryView(n){!this.isCurrentSecondaryView(n)&&this.setSecondaryView(n,!this.isCurrentSecondaryView(n),!0)},showSecondaryView(n){this.setSecondaryView(n,!0,!0)},isCurrentSecondaryView(n){return this.$data.secondaryViews[n]},hideAllViews(){Object.keys(this.$data.secondaryViews).forEach(n=>{this.setSecondaryView(n,!1)})}},mounted(){if(window.addEventListener("keydown",this.$data.keyListener),this.$props.syncLocation){const e=new URLSearchParams(window.location.search).get(this.$props.locationParam);e&&Object.keys(this.$data.secondaryViews).indexOf(e)!==-1&&this.showSecondaryView(e)}},destroyed(){window.removeEventListener("keydown",this.$data.keyListener)}};var P4=function(){var e=this,t=e._self._c;return t("div",[e._t("default",null,{secondaryViews:e.secondaryViews,isCurrentSecondaryView:e.isCurrentSecondaryView,toggleSecondaryView:e.toggleSecondaryView,showSecondaryView:e.showSecondaryView,setSecondaryView:e.setSecondaryView})],2)},I4=[],N4=Ie(M4,P4,I4);const $4=N4.exports;var gi=zf;gi="default"in gi?gi.default:gi;var j4="2.2.2",H4=/^2\./.test(gi.version);H4||gi.util.warn("VueClickaway "+j4+" only supports Vue 2.x, and does not support Vue "+gi.version);var fo="_vue_clickaway_handler";function Hf(n,e,t){Zp(n);var i=t.context,s=e.value;if(typeof s=="function"){var o=!1;setTimeout(function(){o=!0},0),n[fo]=function(a){var d=a.path||(a.composedPath?a.composedPath():void 0);if(o&&(d?d.indexOf(n)<0:!n.contains(a.target)))return s.call(i,a)},document.documentElement.addEventListener("click",n[fo],!1)}}function Zp(n){document.documentElement.removeEventListener("click",n[fo],!1),delete n[fo]}var B4={bind:Hf,update:function(n,e){e.value!==e.oldValue&&Hf(n,e)},unbind:Zp},z4={directives:{onClickaway:B4}},F4=z4;const V4={name:"Popout",mixins:[F4],provide(){return{sharedState:this.sharedState}},data(){return{sharedState:{active:!1}}},methods:{toggle(){this.sharedState.active=!this.sharedState.active},away(){this.sharedState.active=!1}},computed:{active(){return this.sharedState.active}}};var W4=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.away,expression:"away"}],staticClass:"popout"},[t("div",{staticClass:"popout__toggle-wrapper",class:{"popout__toggle-wrapper--active":e.active},on:{click:e.toggle}},[t("div",{staticClass:"popout__toggle-name"},[e._t("toggler")],2),t("div",{staticClass:"popout__toggle-arrow"},[e.active?e._e():t("i",{staticClass:"ico--chevron-down"}),e.active?t("i",{staticClass:"ico--chevron-up"}):e._e()])]),t("ui-slide-up-down",{attrs:{active:e.active,duration:200}},[e._t("default")],2)],1)},U4=[],G4=Ie(V4,W4,U4);const Y4=G4.exports,q4={name:"PopoutContent",inject:["sharedState"],computed:{active(){return this.sharedState.active}}};var Z4=function(){var e=this,t=e._self._c;return e.active?t("ul",{staticClass:"popout__content-wrapper"},[e._t("default")],2):e._e()},Q4=[],X4=Ie(q4,Z4,Q4);const J4=X4.exports,K4={name:"PopoutItem"};var eL=function(){var e=this,t=e._self._c;return t("li",[e._t("default")],2)},tL=[],nL=Ie(K4,eL,tL);const iL=nL.exports,rL={data(){return{isMdScreenSize:Bu(),show:!1,resizeHandler:()=>{this.$data.isMdScreenSize=Bu()}}},props:{href:{type:String},label:{type:String},labelclass:{type:String},wrapperclass:{type:String,default:""},slotwrapperclass:{type:String,default:""}},methods:{handleClick(){this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}},mounted(){this.$nextTick(()=>{window.addEventListener("resize",this.$data.resizeHandler)})},beforeDestroy(){window.removeEventListener("resize",this.$data.resizeHandler)}};var sL=function(){var e=this,t=e._self._c;return t("div",{class:[e.wrapperclass,"footer-collapsible"]},[t("span",{staticClass:"head-8xl xl:head-9xl footer-collapsible__toggle",class:[e.labelclass,e.show?"footer-collapsible__toggle--open":""],on:{click:e.handleClick}},[e._v(e._s(e.label))]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.show||e.isMdScreenSize,expression:"show || isMdScreenSize"}],class:[e.slotwrapperclass]},[e._t("default")],2)])},oL=[],aL=Ie(rL,sL,oL);const lL=aL.exports,cL={data(){const n=()=>{var e=document.body.scrollTop||document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight,i=e/t*100;this.$refs.scrollProgressElement.style.width=i+"%"};return{scrollListener:()=>{n()}}},mounted(){window.addEventListener("scroll",this.$data.scrollListener),this.$data.scrollListener()},destroyed(){window.removeEventListener("scroll",this.$data.scrollListener)}};var uL=function(){var e=this,t=e._self._c;return t("div",{staticClass:"progress-container"},[t("div",{ref:"scrollProgressElement",staticClass:"progress-bar"})])},dL=[],fL=Ie(cL,uL,dL);const hL=fL.exports,pL={name:"FaqSectionHeader",props:["iteration","name"],data(){return{top:Bs()?parseInt(this.iteration)*1.9:parseInt(this.iteration)*1.9+3.8}}},gL=Object.assign(pL,{setup(n){return{__sfc:!0}}});var mL=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"sticky border-y bg-white border-black",style:"top: "+this.top+"em"},[t("a",{staticClass:"container--wide py-1 flex gap-1 items-center",attrs:{href:"#faq"+this.iteration}},[t("svg",{attrs:{width:"20",height:"21",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"arrow-icon",attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#000"}})])]),t("span",{staticClass:"mt-0.5"},[e._v(" "+e._s(e.name)+" ")])])])},vL=[],bL=Ie(gL,mL,vL);const yL=bL.exports,wL={name:"CardScroll",data(){return{realArrowPosition:this.arrowPosition!==void 0?this.arrowPosition:"top"}},methods:{moveLeft:function(n){this.$refs.scrollable.getBoundingClientRect(),this.$refs.scrollable.scrollBy({left:-this.$refs.scrollable.offsetWidth-32,behavior:"smooth"})},moveRight:function(n){this.$refs.scrollable.getBoundingClientRect(),this.$refs.scrollable.scrollBy({left:this.$refs.scrollable.offsetWidth+32,behavior:"smooth"})}},props:["classes","scrollerClasses","arrowPosition"]};var _L=function(){var e=this,t=e._self._c;return t("div",[e.realArrowPosition==="top"?t("div",{class:"flex gap-4 justify-end text-white text-4xl pt-2 cursor-pointer lg:hidden "+e.scrollerClasses},[t("i",{staticClass:"ico--chevron-left",on:{click:e.moveLeft}}),t("i",{staticClass:"ico--chevron-right",on:{click:e.moveRight}})]):e._e(),t("div",{ref:"scrollable",class:e.classes+" hide-scrollbar"},[e._t("default")],2),e.realArrowPosition==="bottom"?t("div",{class:"flex gap-4 justify-end text-white text-4xl pt-2 cursor-pointer lg:hidden "+e.scrollerClasses},[t("i",{staticClass:"ico--chevron-left",on:{click:e.moveLeft}}),t("i",{staticClass:"ico--chevron-right",on:{click:e.moveRight}})]):e._e()])},LL=[],CL=Ie(wL,_L,LL);const AL=CL.exports,EL={name:"CardProgramItemPoint",props:["content","isFirst"]};var xL=function(){var e=this,t=e._self._c;return t("div",{staticClass:"[&_p]:text-lg [&_p]:leading-7 [&_p]:duration-150 [&_p]:delay-300 mt-[-5px] xl:w-1/2 xl:pt-1 xl:m-0"},[t("div",{staticClass:"content-block"},[t("p",[e._v(" "+e._s(this.content)+" ")])])])},SL=[],TL=Ie(EL,xL,SL);const DL=TL.exports,kL={name:"CardProgramItem",props:["slug","title","number","renderedContent","points","defaultIsOpen","openPointBackgroundClass"],data(){return{isOpen:this.defaultIsOpen}},methods:{openClose:function(){if(this.isOpen=!this.isOpen,this.isOpen){let n=new URLSearchParams(window.location.search),e=new URL(window.location);n.set("program_view",this.slug),e.search=n,window.history.replaceState({},this.slug,e)}}},mounted(){this.$watch("isOpen",(e,t)=>{e&&!t?(this.$refs.openVariant.classList.remove("w-0"),this.$refs.openVariant.classList.remove("[&_*]:!text-[0rem]"),this.$refs.openVariant.classList.remove("[&_*]:!p-0"),this.$refs.openVariant.classList.remove("[&_*]:!gap-0"),this.$refs.openVariant.classList.remove("[&_*]:!leading-[0px]"),this.$refs.openVariant.classList.remove("[&_*]:!duration-0"),this.$refs.openVariant.classList.remove("[&_*]:!delay-0"),this.$refs.openVariant.classList.remove("!h-0"),Bs()&&this.$refs.openVariant.classList.add("duration-300"),this.$refs.openVariant.classList.add("w-full"),this.$refs.openVariant.classList.add("xl:p-12"),this.$refs.openVariant.classList.add("p-6"),Bs()||setTimeout(()=>{const s=this.$refs.openVariant.getBoundingClientRect().top+window.pageYOffset-90;window.scrollTo({top:s,behavior:"instant"})},20)):!e&&t&&(Bs()&&this.$refs.openVariant.classList.remove("duration-300"),this.$refs.openVariant.classList.remove("w-full"),this.$refs.openVariant.classList.remove("xl:p-12"),this.$refs.openVariant.classList.remove("p-6"),this.$refs.openVariant.classList.add("w-0"),this.$refs.openVariant.classList.add("[&_*]:!text-[0rem]"),this.$refs.openVariant.classList.add("[&_*]:!p-0"),this.$refs.openVariant.classList.add("[&_*]:!gap-0"),this.$refs.openVariant.classList.add("[&_*]:!leading-[0px]"),this.$refs.openVariant.classList.add("[&_*]:!duration-0"),this.$refs.openVariant.classList.add("[&_*]:!delay-0"),this.$refs.openVariant.classList.add("!h-0"))});let n=null;setInterval(()=>{const e=window.location.href;if(e!=n){n=e;const t=new Proxy(new URLSearchParams(window.location.search),{get:(i,s)=>i.get(s)});t.program_view!==null&&t.program_view!==this.slug&&(this.isOpen=!1),t.program_view!==null&&t.program_view===this.slug&&!this.isOpen&&(this.isOpen=!0)}},.1)}},OL=Object.assign(kL,{setup(n){return{__sfc:!0,CardProgramItemPoint:DL}}});var RL=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("li",{class:this.isOpen?"w-full":""},[e.isOpen?e._e():t("div",{ref:"closedVariant",staticClass:"bg-black flex flex-row items-center px-5 py-2 gap-5 justify-start duration-200 cursor-pointer xl:h-[696px] xl:flex-col xl:gap-12 xl:py-8 xl:px-3 xl:justify-between 2xl:h-[646px] hover:bg-grey-600",on:{click:e.openClose}},[t("div",{staticClass:"font-alt text-black text-7xl xl:text-9xl",staticStyle:{"text-shadow":"-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff"}},[e._v(" "+e._s(e.number)+" ")]),t("div",{staticClass:"text-white leading-7 text-2xl xl:rotate-180 xl:[writing-mode:vertical-rl]"},[e._v(" "+e._s(e.title)+" ")])]),t("div",{ref:"openVariant",class:(e.defaultIsOpen?"p-6 xl:p-12":"w-0 [&_*]:!text-[0rem] [&_*]:!p-0 [&_*]:!gap-0 [&_*]:!leading-[0px] [&_*]:!delay-0 [&_*]:!duration-0 !h-0")+" "+(e.openPointBackgroundClass!==void 0?e.openPointBackgroundClass:"bg-white")},[t("div",{staticClass:"flex flex-col gap-8 xl:flex-row xl:gap-16"},[t("div",{staticClass:"flex gap-7 w-full justify-start flex-col xl:[flex-flow:column_wrap] xl:h-[600px] 2xl:h-[550px]"},[t("h2",{staticClass:"font-alt text-[3.25rem] duration-200 delay-100 w-1/2 lg:text-[5.5rem] 2xl:text-[6.5rem]"},[e._v(" "+e._s(e.title)+" ")]),e._l(e.points,function(s,o){return t(i.CardProgramItemPoint,{directives:[{name:"id",rawName:"v-id",value:e.points,expression:"points"}],key:s.number,attrs:{content:s.content}})}),e.renderedContent?t("div",{domProps:{innerHTML:e._s(e.renderedContent)}}):e._e()],2)])])])},ML=[],PL=Ie(OL,RL,ML);const IL=PL.exports,NL={name:"CardProgram",props:["points","label","backgroundClass","openPointBackgroundClass"]},$L=Object.assign(NL,{setup(n){return{__sfc:!0,CardProgramItem:IL}}});var jL=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("div",{class:(e.backgroundClass!==null?e.backgroundClass:"bg-pirati-yellow")+" py-16"},[t("div",{staticClass:"container--wide"},[e.label?t("h2",{staticClass:"head-14xl head-compact mb-8"},[e._v(e._s(e.label))]):e._e(),t("ul",{staticClass:"flex gap-3 w-full flex-col xl:flex-row"},e._l(e.points,function(s,o){return t(i.CardProgramItem,{key:s.slug,attrs:{slug:s.slug,defaultIsOpen:o===0,number:s.number,title:s.title,renderedContent:s.renderedContent,points:s.points,openPointBackgroundClass:e.openPointBackgroundClass}})}),1)])])},HL=[],BL=Ie($L,jL,HL);const zL=BL.exports,FL={name:"CandidatePrimaryBox",props:["name","subheading","position","description","url","buttonText","imageSource","socialLinks"],mounted(){var n={rootMargin:"0px",threshold:.25};const e=this.$refs.text,t=this.$refs.image;function i(o,a){o.forEach(d=>{d.intersectionRatio>=.25&&(e.classList.remove("candidate-primary-box--text-column__hidden"),t.classList.remove("candidate-primary-box--image-column__hidden"))})}var s=new IntersectionObserver(i,n);s.observe(this.$refs.candidateBox)}};var VL=function(){var e=this,t=e._self._c;return t("li",{ref:"candidateBox",staticClass:"candidate-primary-box"},[t("div",{staticClass:"candidate-primary-box--content container--wide flex gap-10 pt-16 pb-8 overflow-x-hidden lg:flex-row lg:gap-8 lg:py-16"},[t("div",{ref:"text",staticClass:"candidate-primary-box--text-column candidate-primary-box--text-column__hidden flex flex-col justify-between w-full duration-700"},[t("div",{staticClass:"flex flex-col"},[t("h2",{staticClass:"head-9xl"},[e._v(" "+e._s(e.name)+" ")]),e.subheading?t("h3",{staticClass:"head-6xl mb-5"},[e._v(" "+e._s(e.subheading)+" ")]):e._e(),e.position?t("p",{staticClass:"font-bold text-lg mt-[-0.5rem] mb-3"},[e._v(" "+e._s(e.position)+" ")]):e._e(),e.socialLinks?e._e():t("div",{staticClass:"mb-5"}),e.socialLinks?t("ul",{staticClass:"flex gap-2 mb-6"},e._l(e.socialLinks,function(i){return t("li",[t("a",{attrs:{href:i.url,target:"_blank"}},[t("i",{class:i.icon})])])}),0):e._e(),t("div",{staticClass:"text-lg mb-8 lg:mb-16"},[t("div",{domProps:{innerHTML:e._s(e.description)}})])]),t("div",{staticClass:"flex justify-start"},[t("a",{staticClass:"flex items-center group rounded-full uppercase font-semibold tracking-normal bg-black text-white pl-8 pr-3 py-3 hover:no-underline xl:text-lg xl:pl-8 xl:pr-3 xl:py-4",attrs:{href:e.url}},[t("span",{staticClass:"group-hover:-translate-x-2 duration-200"},[e.buttonText?t("div",[e._v(e._s(e.buttonText))]):t("div",[e._v("Zjisti více")])]),t("span",{staticClass:"opacity-0 group-hover:opacity-100 duration-200 mb-[0.03rem]"},[t("svg",{attrs:{width:"20",height:"21",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"arrow-icon",attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])])])])])]),t("div",{ref:"image",staticClass:"candidate-primary-box--image-column candidate-primary-box--image-column__hidden w-full flex items-start justify-center duration-700"},[t("img",{staticClass:"w-3/4 lg:w-1/2",attrs:{src:e.imageSource}})])])])},WL=[],UL=Ie(FL,VL,WL);const GL=UL.exports,YL={name:"CandidateSecondaryBox",props:["url","number","imageSource","name","position"]};var qL=function(){var e=this,t=e._self._c;return t("li",{staticClass:"candidate-secondary-box container--wide"},[t("a",{staticClass:"py-2 flex gap-6 items-center underline-offset-2",attrs:{href:e.url}},[t("div",{staticClass:"font-bold text-xl"},[e._v(" "+e._s(this.number)+" ")]),t("div",{staticClass:"flex font-bold justify-center items-center rounded-full"},[t("img",{staticClass:"w-12 object-cover",attrs:{src:this.imageSource}})]),t("div",{staticClass:"flex flex-col lg:flex-row"},[t("h4",{staticClass:"text-xl font-bold"},[e._v(e._s(this.name))]),this.position?t("p",[t("span",{staticClass:"hidden lg:inline"},[e._v(",")]),e._v(" "+e._s(this.position)+" ")]):e._e()])])])},ZL=[],QL=Ie(YL,qL,ZL);const XL=QL.exports,JL={name:"CandidateSecondaryList",props:["heading","candidates","preopened"],methods:{openList(){this.$refs.content.classList.remove("hidden"),this.$refs.button.classList.add("hidden")}},mounted(){this.preopened&&this.openList()}},KL=Object.assign(JL,{setup(n){return{__sfc:!0,CandidateSecondaryBox:XL}}});var eC=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("div",{staticClass:"bg-grey-180"},[t("ul",{ref:"content",staticClass:"candidate-secondary-list pt-14 pb-16 hidden"},[t("div",{staticClass:"container--wide"},[t("h2",{staticClass:"head-7xl mb-3"},[e._v(e._s(e.heading))])]),e._l(e.candidates,function(s){return t(i.CandidateSecondaryBox,{key:s.position,attrs:{url:s.url,number:s.number,imageSource:s.imageSource,name:s.name,position:s.position}})})],2),t("div",{ref:"button",staticClass:"pt-14 pb-16 flex justify-center"},[t("button",{staticClass:"flex items-center group rounded-full font-condensed uppercase font-semibold tracking-normal bg-black text-white hover:no-underline pl-8 pr-3 py-3 xl:text-lg xl:pl-8 xl:pr-3 xl:py-4",on:{click:function(s){return e.openList()}}},[t("span",{staticClass:"group-hover:-translate-x-2 duration-200"},[e._v("Další kandidáti")]),t("span",{staticClass:"opacity-0 group-hover:opacity-100 duration-200 mb-[0.03rem]"},[t("svg",{attrs:{width:"20",height:"21",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{id:"Icon / Placeholder"}},[t("path",{staticClass:"arrow-icon",attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])])])])])])},tC=[],nC=Ie(KL,eC,tC);const iC=nC.exports,rC={data(){return{countdown:{days:0,hours:0,minutes:0,seconds:0},countdownText:""}},props:{to:{type:String,required:!0}},mounted(){this.updateCountdown(),setInterval(this.updateCountdown,1e3)},methods:{updateCountdown(){const n=o=>{let a=[];o.days>0&&a.push(`${o.days} dní`),o.hours>0&&a.push(`${o.hours} hodin`),o.minutes>0&&a.push(`${o.minutes} minut`),a.push(`${o.seconds} sekund`);let d="";return o.seconds===1?d="a":o.seconds>1&&o.seconds<5&&(d="y"),a.join(", ")+(a.length>0?d:"")};let i=new Date(this.to)-new Date;if(i<=0){this.countdownText="nic. Jdeme volit!";return}const s=24*60*60*1e3;this.countdown.days=Math.floor(i/s),i-=this.countdown.days*s,this.countdown.hours=Math.floor(i/(60*60*1e3)),i-=this.countdown.hours*(60*60*1e3),this.countdown.minutes=Math.floor(i/(60*1e3)),i-=this.countdown.minutes*(60*1e3),this.countdown.seconds=Math.floor(i/1e3),this.countdownText=n(this.countdown)}}};var sC=function(){var e=this,t=e._self._c;return t("span",[e._v(" "+e._s(e.countdownText)+" ")])},oC=[],aC=Ie(rC,sC,oC);const lC=aC.exports,cC={props:{sizingClasses:{type:String,required:!1},openByDefault:{type:Boolean,required:!0}},data(){return{isOpen:!1,isOpen:this.$props.openByDefault}}};var uC=function(){var e=this,t=e._self._c;return t("table",{class:"duration-200 my-6 prose "+e.$props.sizingClasses},[e._t("caption"),t("thead",{staticClass:"relative w-full duration-200"},[e._t("head"),t("div",{staticClass:"absolute top-0 right-[-60px]"},[t("button",{ref:"togglerButton",staticClass:"w-10 h-10 rounded-full bg-white hover:bg-grey-125 duration-150 flex justify-center items-center",on:{click:function(i){e.$data.isOpen=!e.$data.isOpen}}},[t("i",{staticClass:"text-2xl",class:e.$data.isOpen?"ico--chevron-up":"ico--chevron-down"})])])],2),e.$data.isOpen?t("tbody",{staticClass:"w-full duration-200 [&_p]:py-0 [&_p]:my-0 [&_td]:py-2 [&_td]:align-middle [&_tr:nth-child(even)]:bg-grey-50"},[e._t("body")],2):e._e()],2)},dC=[],fC=Ie(cC,uC,dC);const hC=fC.exports,pC={name:"SlideUpDown",props:{active:Boolean,duration:{type:Number,default:500},tag:{type:String,default:"div"},useHidden:{type:Boolean,default:!0}},data:function(){return{style:{},initial:!1,hidden:!1}},watch:{active:function(){this.layout()}},render:function(n){return n(this.tag,{style:this.style,attrs:this.attrs,ref:"container",on:{transitionend:this.onTransitionEnd}},this.$slots.default)},mounted:function(){this.layout(),this.initial=!0},created:function(){this.hidden=!this.active},computed:{el:function(){return this.$refs.container},attrs:function(){var n={"aria-hidden":!this.active,"aria-expanded":this.active};return this.useHidden&&(n.hidden=this.hidden),n}},methods:{layout:function(){var n=this;this.active?(this.hidden=!1,this.$emit("open-start"),this.initial&&this.setHeight("0px",function(){return n.el.scrollHeight+"px"})):(this.$emit("close-start"),this.setHeight(this.el.scrollHeight+"px",function(){return"0px"}))},asap:function(n){this.initial?this.$nextTick(n):n()},setHeight:function(n,e){var t=this;this.style={height:n},this.asap(function(){t.__=t.el.scrollHeight,t.style={height:e(),overflow:"hidden","transition-property":"height","transition-duration":t.duration+"ms"}})},onTransitionEnd:function(n){n.target===this.el&&(this.active?(this.style={},this.$emit("open-end")):(this.style={height:"0",overflow:"hidden"},this.hidden=!0,this.$emit("close-end")))}}},gC={mounted(){console.log("Mounted generic Vue app in ",this.$el)}},mC=null,vC=null;var bC=Ie(gC,mC,vC);const yC=bC.exports;Me.component("ui-animated-arrow",Qm);Me.component("ui-calendar-renderer",tv);Me.component("ui-calendar-dummy-provider",av);Me.component("ui-calendar-google-provider",hv);Me.component("ui-full-calendar",L4);Me.component("ui-region-map",S4);Me.component("ui-view-provider",R4);Me.component("ui-secondary-view-provider",$4);Me.component("ui-popout",Y4);Me.component("ui-popout-content",J4);Me.component("ui-popout-item",iL);Me.component("ui-scroll-indicator",hL);Me.component("ui-footer-collapsible",lL);Me.component("ui-faq-section-header",yL);Me.component("ui-horizontal-scrollable",AL);Me.component("ui-candidate-primary-box",GL);Me.component("ui-card-program",zL);Me.component("ui-slide-up-down",pC);Me.component("ui-candidate-secondary-list",iC);Me.component("ui-countdown",lC);Me.component("ui-popout-table",hC);pe.bind("[data-fancybox]",{l10n:Um});const wC=(n,e)=>{new Me({el:n,components:{UiApp:yC}})};function _C(n){return Object.assign({},n.dataset),wC(n)}function LC(n){km(document.querySelectorAll(".__js-root"),_C)}document.addEventListener("DOMContentLoaded",LC); + `,trigger:n.event.url!==""&&n.event.extendedProps.location===void 0&&n.event.extendedProps.url===void 0?"hover":"click",allowHTML:!0,interactive:!0,onShow(t){t.popper.style.minWidth="250px"}}).show()},events:JSON.parse(this.events)}}}};var TL=function(){var e=this,t=e._self._c;return t("FullCalendar",{attrs:{options:e.calendarOptions}})},DL=[],kL=Ie(SL,TL,DL);const OL=kL.exports,ML={props:{links:{type:Object,default:function(){return{praha:"https://praha.pirati.cz",stredocesky:"https://stredocesky.pirati.cz",jihocesky:"https://jihocesky.pirati.cz",plzensky:"https://plzensky.pirati.cz",karlovarsky:"https://karlovarsky.pirati.cz",ustecky:"https://ustecky.pirati.cz",liberecky:"https://liberecky.pirati.cz",kralovehradecky:"https://kralovehradecky.pirati.cz",moravskoslezsky:"https://moravskoslezsky.pirati.cz",pardubicky:"https://pardubicky.pirati.cz",vysocina:"https://vysocina.pirati.cz",jihomoravsky:"https://jihomoravsky.pirati.cz",olomoucky:"https://olomoucky.pirati.cz",zlinsky:"https://zlinsky.pirati.cz"}}}},methods:{selectRegion(n){const e=this.$props.links[n.id];window.open(e,"_blank")}},data(){return{current:null,regions:[{id:"jihocesky",name:"Jihočeský kraj",polygon:"M173.5,445.61L179.5,447.36L185.61599999999999,452.692L184.61599999999999,455.789L188.963,462.31L196.57,463.669L198.743,470.46099999999996L203.905,477.25299999999993L206.079,483.50199999999995L211.78400000000002,483.77299999999997L221.56500000000003,493.01L226.72700000000003,494.911L232.43300000000002,501.704L228.35800000000003,506.051L237.32400000000004,515.0169999999999H247.64800000000005L257.97200000000004,516.9179999999999L266.39400000000006,521.8089999999999L278.34800000000007,511.75599999999986L280.79300000000006,505.50799999999987L287.0420000000001,510.9419999999999L293.83400000000006,512.2999999999998L299.2680000000001,510.94199999999984L308.2340000000001,516.9189999999999L311.7660000000001,511.2139999999999L310.68000000000006,505.77999999999986L311.76700000000005,496.54299999999984L319.3740000000001,490.29499999999985L322.09100000000007,482.4159999999998L329.1550000000001,482.68699999999984L338.9360000000001,485.67499999999984L340.5660000000001,482.68699999999984L338.1210000000001,478.33999999999986L339.4790000000001,472.36199999999985L341.9240000000001,465.02599999999984L341.1090000000001,455.5169999999998L340.5660000000001,445.4639999999998L343.5540000000001,439.75899999999984L352.5200000000001,442.74699999999984L360.1270000000001,444.3779999999998L362.5720000000001,452.5279999999998L374.2550000000001,449.8109999999998L377.5150000000001,445.4629999999998L385.3940000000001,445.7349999999998L397.3490000000001,451.9829999999998L401.4240000000001,453.88499999999976L405.5010000000001,459.85699999999974L408.7510000000001,452.85699999999974L404.7510000000001,446.60699999999974L400.2510000000001,442.60699999999974L405.7510000000001,436.85699999999974L406.7510000000001,430.60699999999974L412.0010000000001,429.60699999999974L412.7510000000001,425.10699999999974L405.5010000000001,419.35699999999974L398.5010000000001,420.85699999999974L390.0010000000001,420.60699999999974L383.5010000000001,414.10699999999974L384.5010000000001,408.60699999999974L381.2510000000001,404.10699999999974L374.0010000000001,405.35699999999974L366.0010000000001,402.35699999999974L361.0010000000001,405.10699999999974L355.5010000000001,400.10699999999974L352.7510000000001,395.10699999999974L346.5010000000001,391.60699999999974L341.7510000000001,394.35699999999974L336.2510000000001,389.85699999999974L333.5010000000001,384.85699999999974L334.7510000000001,380.35699999999974L332.0010000000001,374.60699999999974V366.85699999999974L335.0010000000001,363.10699999999974L335.2510000000001,356.10699999999974L333.5010000000001,349.60699999999974L330.2510000000001,344.85699999999974L328.0010000000001,339.35699999999974L323.7510000000001,339.85699999999974L316.0010000000001,333.35699999999974L310.7510000000001,337.10699999999974L312.2510000000001,344.85699999999974L305.7510000000001,348.35699999999974L302.2510000000001,352.35699999999974L295.0010000000001,349.35699999999974L287.0010000000001,347.35699999999974L282.5010000000001,348.10699999999974L276.0010000000001,345.10699999999974L269.7510000000001,348.85699999999974C269.7510000000001,348.85699999999974,266.10300000000007,348.62199999999973,265.5010000000001,348.60699999999974S261.5010000000001,343.60699999999974,261.5010000000001,343.60699999999974H255.5010000000001L252.5010000000001,347.35699999999974L239.0010000000001,348.85699999999974L235.2510000000001,344.85699999999974H230.5010000000001L227.7510000000001,349.60699999999974L220.7510000000001,353.10699999999974L216.2510000000001,350.85699999999974L202.5010000000001,350.35699999999974L199.7510000000001,354.35699999999974L201.2510000000001,359.85699999999974V364.35699999999974L200.5010000000001,372.10699999999974L204.0010000000001,377.85699999999974L199.5010000000001,384.85699999999974L196.0010000000001,387.60699999999974V391.35699999999974L193.0010000000001,394.10699999999974L196.7510000000001,398.35699999999974L192.0010000000001,400.85699999999974L195.0010000000001,406.85699999999974L192.5010000000001,412.85699999999974L186.5010000000001,415.10699999999974L185.0010000000001,417.85699999999974L180.5010000000001,416.35699999999974L179.2510000000001,426.10699999999974L181.7510000000001,430.10699999999974L180.5010000000001,433.60699999999974L175.2510000000001,435.85699999999974L173.57600000000008,441.83199999999977L173.5,445.61Z"},{id:"plzensky",name:"Plzeňský kraj",polygon:"M151.027,246.771L147.637,255.059L141.986,256.566V265.042L134.452,259.39099999999996L126.541,258.44899999999996L111.472,268.24299999999994V273.89399999999995L107.61099999999999,277.75499999999994L101.30099999999999,274.6479999999999L98.09899999999999,276.1549999999999L91.883,272.38699999999994L84.34899999999999,275.58899999999994L78.981,280.95699999999994L73.99,276.5299999999999L69.469,280.2979999999999L62.355999999999995,280.0069999999999L54.477,291.9609999999999L54,299.11L45.784,306.63300000000004L52.033,313.696L59.64,318.858L59.097,326.737L64.259,332.71500000000003L63.987,340.05L72.138,345.75600000000003L71.32300000000001,354.721L72.68100000000001,360.969L79.20200000000001,364.501L84.90800000000002,370.479L89.25500000000001,377.81399999999996L97.13400000000001,379.98799999999994L99.85100000000001,378.08699999999993L106.91400000000002,379.44499999999994L115.88000000000001,385.96599999999995L116.96700000000001,393.30099999999993L124.84600000000002,401.17999999999995V404.9839999999999L132.181,410.68999999999994L133.53900000000002,416.3949999999999L138.43,419.9269999999999H145.222L151.743,426.4479999999999L157.72,435.1409999999999L158.535,444.6509999999999L169.674,451.9859999999999L173.501,445.6109999999999L173.576,441.8359999999999L175.251,435.8609999999999L180.501,433.6109999999999L181.751,430.1109999999999L179.251,426.1109999999999L180.501,416.3609999999999L185.001,417.8609999999999L186.501,415.1109999999999L192.501,412.8609999999999L195.001,406.8609999999999L192.001,400.8609999999999L196.751,398.3609999999999L193.001,394.1109999999999L196.001,391.3609999999999V387.6109999999999L199.501,384.8609999999999L204.001,377.8609999999999L200.501,372.1109999999999L201.251,364.3609999999999V359.8609999999999L199.751,354.3609999999999L202.501,350.3609999999999L199.251,344.8609999999999L199.501,338.8609999999999L200.751,334.3609999999999L197.501,331.8609999999999L194.001,327.3609999999999L195.751,322.3609999999999L191.751,318.1109999999999L197.001,314.3609999999999H202.501L207.251,308.6109999999999L205.001,304.1109999999999L207.501,299.8609999999999L205.251,293.8609999999999L210.001,289.1109999999999L208.751,285.3609999999999L209.251,278.8609999999999L205.001,276.1109999999999L200.001,275.1109999999999L199.751,271.1109999999999L194.751,272.1109999999999C194.751,272.1109999999999,189.695,265.40499999999986,189.501,265.3609999999999S185.001,267.1109999999999,185.001,267.1109999999999L180.501,264.8609999999999L176.501,262.6109999999999L175.751,258.3609999999999L169.001,257.8609999999999L165.001,260.3609999999999L161.501,257.1109999999999L164.251,253.61099999999988L161.95600000000002,250.7269999999999L155.175,246.7709999999999L151.027,246.771Z"},{id:"karlovarsky",name:"Karlovarský kraj",polygon:"M69.47,280.299L62.357,280.008V274.846L57.195,272.401L57.466,266.42400000000004L42.251,256.1L32.742,251.21000000000004L28.665999999999997,243.87400000000002L24.590999999999998,239.25500000000002L26.493,230.83300000000003L20.244,221.324L15.761,216.841L18.886,210.728L16.169999999999998,203.936H24.863999999999997L27.037,206.11V212.08700000000002H31.656L34.237,214.668L32.742000000000004,218.87900000000002L35.459,221.59600000000003V228.38800000000003L39.535000000000004,232.46400000000003L41.437000000000005,222.68300000000002C41.437000000000005,222.68300000000002,40.07900000000001,219.42200000000003,41.437000000000005,218.06400000000002S46.871,212.63000000000002,46.871,212.63000000000002L49.316,204.479L59.912000000000006,198.774V194.97L63.30800000000001,191.574L71.051,190.351L80.83200000000001,188.721L84.09200000000001,191.981L89.52600000000001,185.189L99.57900000000001,182.47199999999998L110.17500000000001,190.35099999999997L115.019,195.19499999999996H125.036L129.933,197.04499999999996C129.933,197.04499999999996,129.676,201.25999999999996,129.933,201.75399999999996S140.66899999999998,200.62399999999997,140.66899999999998,200.62399999999997L145.378,205.33299999999997L140.76299999999998,209.94799999999998L143.30599999999998,214.75099999999998L141.611,220.96599999999998L145.755,225.10999999999999L144.06,228.689L148.768,235.093L144.059,239.801L151.028,246.771L147.638,255.059L141.987,256.566V265.042L134.453,259.39099999999996L126.542,258.44899999999996L111.473,268.24299999999994V273.89399999999995L107.612,277.75499999999994L101.30199999999999,274.6479999999999L98.1,276.1549999999999L91.884,272.38699999999994L84.35,275.58899999999994L78.982,280.95699999999994L73.991,276.5299999999999L69.47,280.299Z"},{id:"jihomoravsky",name:"Jihomoravský kraj",polygon:"M546.667,336.777L540.5,330.61H522L518.333,336.61H506L502.75,339.86L501.5,344.61L506.75,348.11L505.25,351.11L500.25,354.11L503,360.61L500.75,365.36L502.75,370.36L503.25,379.36L493.5,383.86L491.75,387.86L487.25,390.86L491,395.61L487,398.86L485.75,403.36L491,408.61L485.25,412.11L486.75,417.11C486.75,417.11,491.12,419.697,491.25,420.36S489.5,423.61,489.5,423.61L485.75,424.61L483.5,430.11L478.75,428.86L475.75,433.61L470.25,436.36L464.5,434.61L460.25,437.11L454,432.86L447,435.86L444.75,441.11H438.75L435.5,445.61L432,446.61L429,452.36L423.25,448.11L417.75,453.86L413.25,450.61L408.75,452.86L405.5,459.86L409.03,460.409L416.09299999999996,461.223L424.24299999999994,467.201L432.39399999999995,468.016L434.29499999999996,464.755L442.44499999999994,465.57L454.3999999999999,473.992L455.7579999999999,478.34000000000003L471.51499999999993,487.033L490.26199999999994,486.762L504.66099999999994,489.479L510.09499999999997,483.22999999999996L513.083,475.08L523.136,474.537L527.483,479.155L537.536,480.78499999999997L538.8939999999999,487.578L544.0559999999999,485.947L553.0219999999999,491.382L561.1719999999999,489.208L566.6059999999999,492.74L569.3229999999999,506.324L573.6709999999998,505.781L576.9309999999998,494.37L579.1049999999998,486.491L588.0709999999998,475.351L590.2439999999998,467.74399999999997L593.5049999999998,466.38599999999997L598.3949999999998,461.496H603.5569999999998L613.6099999999998,465.84299999999996L622.3039999999997,471.00499999999994L630.9969999999997,465.29999999999995L638.3329999999997,470.18999999999994L644.8539999999997,468.55999999999995L651.6459999999997,462.3109999999999L649.4999999999998,459.61099999999993L645.7499999999998,454.11099999999993L639.4999999999998,452.61099999999993L639.2499999999998,448.61099999999993L633.4999999999998,445.11099999999993L626.9999999999998,447.61099999999993L621.4999999999998,442.61099999999993L616.2499999999998,442.86099999999993L616.4999999999998,437.11099999999993L608.2499999999998,436.11099999999993L601.9999999999998,432.61099999999993L602.7499999999998,426.86099999999993L599.7499999999998,423.61099999999993L591.4999999999998,426.86099999999993L587.7499999999998,422.11099999999993L592.7499999999998,416.86099999999993L597.2499999999998,413.86099999999993L597.9999999999998,408.86099999999993L591.2499999999998,408.11099999999993L592.7499999999998,402.86099999999993L589.7499999999998,397.61099999999993L593.3749999999998,392.73599999999993L589.4999999999998,386.11099999999993V382.36099999999993L586.3749999999998,379.23599999999993H579.5L578.5,373.86099999999993V368.86099999999993L572.5,365.11099999999993V360.61099999999993L568.625,356.73599999999993L566.25,351.61099999999993H560.75L557,355.86099999999993L561,359.86099999999993L565.125,363.98599999999993L560.75,370.36099999999993L557.75,373.36099999999993L550.25,367.86099999999993L553.75,364.36099999999993L549.25,358.36099999999993V351.86099999999993L554.25,346.61099999999993L548.5,344.86099999999993L543.75,344.61099999999993L546.667,336.777Z"},{id:"zlinsky",name:"Zlínský kraj",polygon:"M737.5,365.046L731.75,362.36L730.5,356.61L723.5,352.11L723,347.61L717.5,349.86H712.25L706.25,345.61L698.25,343.86L690.25,347.11L685.25,342.86H679.5L675.375,346.985L671.25,345.61L664.5,350.11V357.11C664.5,357.11,660.164,361.736,659.125,362.485S653.25,355.86,653.25,355.86L645.5,358.61L647.75,365.36L641,367.36L636,365.86L631.875,369.985L629,375.11L625.125,371.235L618.5,371.61L616.5,366.86L612.5,370.36L614.75,378.11L611,381.86L608.75,385.36L599.25,386.86L593.375,392.735L589.75,397.61L592.75,402.86L591.25,408.11L598,408.86L597.25,413.86L592.75,416.86L587.75,422.11L591.5,426.86L599.75,423.61L602.75,426.86L602,432.61L608.25,436.11L616.5,437.11L616.25,442.86L621.5,442.61L627,447.61L633.5,445.11L639.25,448.61L639.5,452.61L645.75,454.11L649.5,459.61L651.646,462.31H656.5369999999999L663.6009999999999,457.963L668.4909999999999,449.54L678.5439999999999,448.997L680.3099999999998,435.548L684.2489999999998,431.609L697.2899999999998,430.522L704.0829999999999,420.742V409.06L707.6139999999998,399.007V391.944L713.0479999999998,383.522L720.3839999999998,381.62L727.1759999999998,378.088L733.1539999999998,375.915L737.5,365.046Z"},{id:"vysocina",name:"Kraj Vysočina",polygon:"M502.75,339.86L495.5,332.61L489.667,332.44300000000004L482.5,323.94300000000004L468.5,320.77700000000004L466,314.94300000000004L459.333,315.11V311.44300000000004L452.5,315.77700000000004C452.5,315.77700000000004,452.729,321.25500000000005,452.5,321.44300000000004S444.833,318.77700000000004,444.833,318.77700000000004L441,316.77700000000004V311.77700000000004L435.833,309.11000000000007L431.833,308.27700000000004L427.66700000000003,303.94300000000004L420.66700000000003,299.44300000000004L411,299.61L402,292.61L396,293.11L392,296.36L392.5,302.36L386.75,302.11L384.75,306.36H379L375.75,309.36L371.75,308.36L368.75,310.11L368,314.11L364.25,317.61L364,323.36L371.75,327.11C371.75,327.11,372.032,331.726,372,332.36S367.25,335.61,367.25,335.61L363.5,333.86L361.25,337.86L356.75,337.11L350.25,337.36L342,336.11L336.5,341.61L336.25,346.86L333.5,349.61L335.25,356.11L335,363.11L332,366.86V374.61L334.75,380.36L333.5,384.86L336.25,389.86L341.75,394.36L346.5,391.61L352.75,395.11L355.5,400.11L361,405.11L366,402.36L374,405.36L381.25,404.11L384.5,408.61L383.5,414.11L390,420.61L398.5,420.86L405.5,419.36L412.75,425.11L412,429.61L406.75,430.61L405.75,436.86L400.25,442.61L404.75,446.61L408.75,452.86L413.25,450.61L417.75,453.86L423.25,448.11L429,452.36L432,446.61L435.5,445.61L438.75,441.11H444.75L447,435.86L454,432.86L460.25,437.11L464.5,434.61L470.25,436.36L475.75,433.61L478.75,428.86L483.5,430.11L485.75,424.61L489.5,423.61L491.25,420.36L486.75,417.11L485.25,412.11L491,408.61L485.75,403.36L487,398.86L491,395.61L487.25,390.86L491.75,387.86L493.5,383.86L503.25,379.36L502.75,370.36L500.75,365.36L503,360.61L500.25,354.11L505.25,351.11L506.75,348.11L501.5,344.61L502.75,339.86Z"},{id:"stredocesky",name:"Středočeský kraj",polygon:"M404.167,273.11L397.33399999999995,269.777L397.167,265.11L391.667,263.277L386,259.944L386.833,255.27700000000002L390.24800000000005,250.347L392.32000000000005,243.566L384.22100000000006,239.234L388.1770000000001,232.26500000000001L386.1050000000001,227.74400000000003L387.23500000000007,222.09400000000002L385.9170000000001,216.06600000000003L382.9030000000001,213.05200000000002L377.4410000000001,216.63100000000003L368.5880000000001,215.50100000000003V210.22700000000003L363.7850000000001,205.42400000000004L357.4750000000001,204.20000000000005L356.1570000000001,199.49100000000004L360.9600000000001,194.68800000000005L358.0410000000001,186.68300000000005L359.7360000000001,181.97400000000005L356.9110000000001,177.45300000000006L359.35700000000014,173.68500000000006L354.27200000000016,171.42500000000007V167.65800000000007L347.1610000000002,164.03200000000007L343.91200000000015,160.78300000000007H338.35500000000013L334.11700000000013,156.54500000000007L329.9730000000001,163.70200000000008L323.3800000000001,171.0480000000001L321.1200000000001,168.7880000000001L315.47000000000014,169.7290000000001V174.4380000000001L307.55900000000014,180.8420000000001L298.14100000000013,183.1020000000001L295.88100000000014,176.32100000000008L284.95300000000015,176.88600000000008L282.69300000000015,179.90100000000007L283.63500000000016,187.05900000000005H278.92600000000016L277.41900000000015,191.58000000000004H272.52200000000016L274.21700000000016,200.05600000000004L270.63800000000015,203.63500000000005L262.53900000000016,202.88200000000006L258.20600000000013,207.21500000000006H241.81900000000013L233.90800000000013,203.63600000000005L227.50400000000013,207.02600000000004V211.54700000000003L222.32400000000013,216.72700000000003H216.39100000000013L214.36600000000013,218.75100000000003L214.50800000000012,222.66000000000003L208.8570000000001,219.26900000000003L202.6420000000001,225.48400000000004L193.97700000000012,225.29600000000005L185.6890000000001,230.38200000000006L178.3430000000001,230.75800000000007L172.6920000000001,236.03200000000007L171.5620000000001,242.62400000000008L165.3460000000001,245.26100000000008L161.9560000000001,250.72300000000007L164.2510000000001,253.60700000000006L161.5010000000001,257.1070000000001L165.0010000000001,260.3570000000001L169.0010000000001,257.8570000000001L175.7510000000001,258.3570000000001L176.5010000000001,262.6070000000001L180.5010000000001,264.8570000000001L185.0010000000001,267.1070000000001L189.5010000000001,265.3570000000001L194.7510000000001,272.1070000000001L199.7510000000001,271.1070000000001L200.0010000000001,275.1070000000001L205.0010000000001,276.1070000000001L209.2510000000001,278.8570000000001L208.7510000000001,285.3570000000001L210.0010000000001,289.1070000000001L205.2510000000001,293.8570000000001L207.5010000000001,299.8570000000001L205.0010000000001,304.1070000000001L207.2510000000001,308.6070000000001L202.5010000000001,314.3570000000001H197L191.75,318.1070000000001L195.75,322.3570000000001L194,327.3570000000001L197.5,331.8570000000001L200.75,334.3570000000001L199.5,338.8570000000001L199.25,344.8570000000001L202.5,350.3570000000001L216.25,350.8570000000001L220.75,353.1070000000001L227.75,349.6070000000001L230.5,344.8570000000001H235.25L239,348.8570000000001L252.5,347.3570000000001L255.5,343.6070000000001H261.5L265.5,348.6070000000001L269.75,348.8570000000001L276,345.1070000000001L282.5,348.1070000000001L287,347.3570000000001L295,349.3570000000001L302.25,352.3570000000001L305.75,348.3570000000001L312.25,344.8570000000001L310.75,337.1070000000001L316,333.3570000000001L323.75,339.8570000000001L328,339.3570000000001L330.25,344.8570000000001L333.5,349.6070000000001L336.25,346.8570000000001L336.5,341.6070000000001L342,336.1070000000001L350.25,337.3570000000001L356.75,337.1070000000001L361.25,337.8570000000001L363.5,333.8570000000001L367.25,335.6070000000001L372,332.3570000000001L371.75,327.1070000000001L364,323.3570000000001L364.25,317.6070000000001L368,314.1070000000001L368.75,310.1070000000001L371.75,308.3570000000001L375.75,309.3570000000001L379,306.3570000000001H384.75L386.75,302.1070000000001L392.5,302.3570000000001L392,296.3570000000001L396,293.1070000000001L402,292.6070000000001L400,284.4410000000001L403.667,280.7740000000001L404.167,273.11ZM310,254.11L305.167,254.61L301.83399999999995,256.94300000000004L304.167,258.94300000000004L304.667,264.11L301.167,267.277L297.167,264.61L292,263.944L289.5,266.444L284.833,267.611L282.16600000000005,271.444L278.4990000000001,271.611L274.9990000000001,273.27799999999996L273.9990000000001,275.94499999999994L269.4990000000001,276.94499999999994L266.16600000000005,273.27799999999996L267.833,267.94499999999994L263.16600000000005,265.6119999999999L264.4990000000001,262.6119999999999L260.66600000000005,260.1119999999999L257.66600000000005,255.7789999999999L259.9990000000001,252.2789999999999L256.16600000000005,247.6119999999999L263.16600000000005,244.1119999999999L265.833,245.6119999999999L270.5,245.9449999999999L269.333,241.6119999999999L272.333,239.7789999999999L276.5,240.6119999999999L281.167,238.1119999999999L283.667,234.7789999999999L289.167,234.9459999999999L290.5,237.2789999999999L293.667,238.2789999999999L294.667,239.7789999999999L298.33399999999995,238.9459999999999L297.33399999999995,242.61299999999991L302.167,243.77999999999992L304.33399999999995,247.27999999999992H307.5009999999999L310.5009999999999,251.11299999999991L310,254.11Z"},{id:"praha",name:"Hlavní město Praha",polygon:"M256.167,247.61L263.167,244.11L265.83399999999995,245.61C265.83399999999995,245.61,270.00299999999993,246.41500000000002,270.5009999999999,245.943S269.33399999999995,241.61,269.33399999999995,241.61L272.33399999999995,239.77700000000002L276.5009999999999,240.61L281.1679999999999,238.11L283.6679999999999,234.77700000000002L289.1679999999999,234.94400000000002L290.5009999999999,237.27700000000002L293.6679999999999,238.27700000000002L294.6679999999999,239.77700000000002L298.33499999999987,238.94400000000002L297.33499999999987,242.61100000000002L302.1679999999999,243.77800000000002L304.33499999999987,247.27800000000002H307.50199999999984L310.50199999999984,251.11100000000002L310.00199999999984,254.11100000000002L305.1689999999998,254.61100000000002L301.8359999999998,256.944L304.1689999999998,258.944L304.6689999999998,264.111L301.1689999999998,267.27799999999996L297.1689999999998,264.611L292,263.944L289.5,266.444L284.833,267.611L282.16600000000005,271.444L278.4990000000001,271.611L274.9990000000001,273.27799999999996L273.9990000000001,275.94499999999994L269.4990000000001,276.94499999999994L266.16600000000005,273.27799999999996L267.833,267.94499999999994L263.16600000000005,265.6119999999999L264.4990000000001,262.6119999999999L260.66600000000005,260.1119999999999L257.66600000000005,255.7789999999999L259.9990000000001,252.2789999999999L256.167,247.61Z"},{id:"ustecky",name:"Ústecký kraj",polygon:"M110.174,190.351L119.683,185.189L119.412,177.85399999999998L122.67200000000001,174.593L132.453,172.963L140.604,174.04999999999998L143.864,168.07299999999998V163.72599999999997L146.58100000000002,158.83599999999998H149.841L151.471,163.72599999999997L155.546,162.36799999999997V156.39099999999996L158.128,153.80899999999997L159.62199999999999,149.86999999999998H163.42499999999998L165.05499999999998,155.03199999999998L169.402,157.749L177.82399999999998,151.772L178.367,141.72L182.30599999999998,137.781L186.789,140.09L192.22299999999998,135.20000000000002L195.755,138.73200000000003L202.27599999999998,135.20000000000002L209.611,134.38500000000002L211.24099999999999,138.18900000000002H214.23L219.11999999999998,133.29900000000004V125.69200000000004L225.36899999999997,124.60500000000003L229.71599999999998,120.25800000000004L235.421,123.79000000000003L244.11499999999998,119.17100000000003L247.647,115.63900000000004L254.982,116.18200000000004L258.514,109.11900000000004H263.404L265.306,111.29200000000004L275.087,107.76000000000005L276.174,100.96800000000005L268.02299999999997,98.25100000000005V93.08900000000004L259.873,91.45900000000005L262.861,86.02500000000005L265.578,78.96100000000004L273.729,82.76500000000004L275.631,84.66700000000004H280.52099999999996L288.128,81.95000000000005L293.018,86.84000000000005L297.909,91.45900000000005L298.18,97.43600000000005L294.105,104.22800000000005L303.34200000000004,102.59800000000006L301.71200000000005,112.10700000000006V116.45400000000005L295.31000000000006,118.69000000000005L294.36800000000005,126.03600000000006L287.96400000000006,123.58700000000006L280.8070000000001,122.64500000000007L282.3140000000001,128.67200000000005L277.5110000000001,133.47500000000005V137.33600000000004L273.3200000000001,141.52700000000004C273.3200000000001,141.52700000000004,269.2500000000001,147.21300000000005,269.3180000000001,148.26100000000005S272.7080000000001,153.72300000000004,272.7080000000001,153.72300000000004V158.80900000000005L279.8670000000001,170.67200000000005L284.9510000000001,176.88900000000007L282.6910000000001,179.90400000000005L283.6330000000001,187.06200000000004H278.9240000000001L277.4170000000001,191.58300000000003H272.5200000000001L274.2150000000001,200.05900000000003L270.6360000000001,203.63800000000003L262.5370000000001,202.88500000000005L258.20400000000006,207.21800000000005H241.81700000000006L233.90600000000006,203.63900000000004L227.50200000000007,207.02900000000002V211.55L222.32200000000006,216.73000000000002H216.38900000000007L214.36400000000006,218.75400000000002L214.50600000000006,222.663L208.85500000000005,219.27200000000002L202.64000000000004,225.48700000000002L193.97500000000005,225.29900000000004L185.68700000000004,230.38500000000005L178.34100000000004,230.76100000000005L172.69000000000003,236.03500000000005L171.56000000000003,242.62700000000007L165.34400000000002,245.26400000000007L161.95400000000004,250.72600000000006L155.17300000000003,246.77000000000007L151.02600000000004,246.77100000000007L144.05700000000004,239.80100000000007L148.76600000000005,235.09300000000007L144.05800000000005,228.68900000000008L145.75300000000004,225.11000000000007L141.60900000000004,220.96600000000007L143.30400000000003,214.75100000000006L140.76100000000002,209.94800000000006L145.37600000000003,205.33300000000006L140.66700000000003,200.62400000000005L129.93100000000004,201.75400000000005V197.04500000000004L125.03400000000003,195.19500000000005H115.01700000000004L110.174,190.351Z"},{id:"pardubicky",name:"Pardubický kraj",polygon:"M555.742,226.757L554,234.944L549.333,243.944L547.833,252.611L550.333,256.77799999999996L540.333,264.94499999999994V270.6119999999999L542.833,276.44499999999994L543.833,283.77899999999994L546.25,286.1959999999999L540.667,289.94499999999994L544.8330000000001,298.1119999999999L549.3330000000001,306.94499999999994V311.44499999999994L555.0000000000001,313.94499999999994V321.44499999999994L549.8330000000001,326.6119999999999V332.2789999999999L546.667,336.7789999999999L540.5,330.6119999999999H522L518.333,336.6119999999999H506L502.75,339.8619999999999L495.5,332.6119999999999L489.667,332.44499999999994L482.5,323.94499999999994L468.5,320.77899999999994L466,314.94499999999994L459.333,315.1119999999999V311.44499999999994L452.5,315.77899999999994V321.44499999999994L444.833,318.77899999999994L441,316.77899999999994V311.77899999999994L435.833,309.11199999999997L431.833,308.27899999999994L427.66700000000003,303.94499999999994L420.66700000000003,299.44499999999994L411,299.61L402,292.61L400,284.444L403.667,280.77700000000004L404.167,273.11000000000007L397.33399999999995,269.77700000000004L397.167,265.11000000000007L391.667,263.27700000000004L386,259.944L386.833,255.27700000000002L390.24800000000005,250.347L398.95900000000006,248.40300000000002L408.89500000000004,239.79900000000004L414.16900000000004,242.81300000000005C414.16900000000004,242.81300000000005,423.29800000000006,243.14300000000006,423.77400000000006,242.81300000000005S428.86000000000007,235.84400000000005,428.86000000000007,235.84400000000005H433.75700000000006V241.49500000000006L437.24100000000004,242.72000000000006L440.53700000000003,239.42400000000006L446.94100000000003,236.22200000000007L454.66400000000004,236.41000000000005L458.05500000000006,239.80000000000004V246.39300000000003H462.5760000000001L466.7200000000001,250.53700000000003L473.9720000000001,254.77500000000003L478.2100000000001,259.01300000000003L484.8020000000001,257.13000000000005H494.2200000000001L495.9150000000001,249.97300000000004L501.1890000000001,244.69900000000004L511.17100000000005,241.87400000000005V236.41200000000006H515.1260000000001L523.5210000000001,240.17100000000005L535.9080000000001,247.13600000000005L542.9710000000001,240.07300000000006L546.6390000000001,236.40500000000006L546.5030000000002,230.02000000000007L555.742,226.757Z"},{id:"kralovehradecky",name:"Královéhradecký kraj",polygon:"M401.151,127.863L409.302,128.406L418.267,132.481L420.984,135.198L427.233,136.285L434.025,132.481L436.74199999999996,138.458L440.54599999999994,146.88H445.43699999999995L452.49999999999994,144.16299999999998L456.84799999999996,152.313L456.304,157.475L463.097,152.585L467.715,147.966L475.86499999999995,153.67100000000002L479.941,153.943L481.299,147.966H492.438L506.294,161.55L501.67499999999995,165.626L500.58799999999997,173.505L491.895,176.765L479.397,186.546L480.484,191.98L487.54699999999997,200.13L493.525,197.142L496.921,200.53799999999998V204.749L500.792,208.62099999999998L505.75,208.01L511.456,218.063L519.335,224.31199999999998L520.693,234.36499999999998L523.521,240.16899999999998L515.126,236.41H511.171V241.87199999999999L501.18899999999996,244.69699999999997L495.91499999999996,249.97099999999998L494.21999999999997,257.128H484.80199999999996L478.21,259.01099999999997L473.972,254.77299999999997L466.71999999999997,250.53499999999997L462.57599999999996,246.39099999999996H458.05499999999995V239.8L454.66399999999993,236.41000000000003L446.9409999999999,236.22200000000004L440.5369999999999,239.42400000000004L437.24099999999993,242.72000000000003C437.24099999999993,242.72000000000003,434.0929999999999,241.62100000000004,433.75699999999995,241.49500000000003S433.75699999999995,235.84400000000002,433.75699999999995,235.84400000000002H428.85999999999996L423.77399999999994,242.81300000000002H414.1689999999999L408.8949999999999,239.799L398.95899999999995,248.40300000000002L390.24799999999993,250.347L392.31999999999994,243.566L384.22099999999995,239.234L388.17699999999996,232.26500000000001L386.10499999999996,227.74400000000003L387.23499999999996,222.09400000000002L385.917,216.06600000000003L382.90299999999996,213.05200000000002L377.441,216.63100000000003L368.58799999999997,215.50100000000003V210.22700000000003L363.78499999999997,205.42400000000004L357.47499999999997,204.20000000000005L356.157,199.49100000000004L360.96,194.68800000000005L358.041,186.68300000000005L359.736,181.97400000000005L356.911,177.45300000000006L359.357,173.68500000000006L367.26800000000003,178.77100000000007L374.425,174.06200000000007L385.35,177.82900000000006L388.552,182.72600000000006L393.449,179.90100000000007V174.81600000000006L399.288,171.04900000000006L403.809,175.57000000000005C403.809,175.57000000000005,413.317,173.60500000000005,413.415,173.49800000000005S413.415,169.91900000000004,413.415,169.91900000000004L407.764,164.26800000000003L410.778,158.24100000000004L407.011,154.47400000000005L408.517,150.33000000000004L405.316,142.60700000000003L407.19899999999996,134.69600000000003L401.151,127.863Z"},{id:"liberecky",name:"Liberecký kraj",polygon:"M401.151,127.863L407.197,134.697L405.314,142.608L408.51500000000004,150.33100000000002L407.00900000000007,154.47500000000002L410.77600000000007,158.24200000000002L407.76200000000006,164.269L413.41300000000007,169.92000000000002V173.49900000000002L403.8070000000001,175.57100000000003L399.28600000000006,171.05000000000004L393.44700000000006,174.81700000000004V179.90200000000004L388.55000000000007,182.72700000000003L385.34800000000007,177.83000000000004L374.42300000000006,174.06300000000005L367.2660000000001,178.77200000000005L359.3550000000001,173.68600000000004L354.2700000000001,171.42600000000004V167.65900000000005L347.1590000000001,164.03300000000004L343.9100000000001,160.78400000000005H338.35300000000007L334.11500000000007,156.54600000000005L329.97100000000006,163.70300000000006L323.37800000000004,171.04900000000006L321.11800000000005,168.78900000000007L315.4680000000001,169.73000000000008V174.43900000000008L307.5570000000001,180.84300000000007L298.13900000000007,183.10300000000007L295.8790000000001,176.32200000000006L284.9510000000001,176.88700000000006L279.8670000000001,170.67000000000004L272.7080000000001,158.80700000000004V153.72100000000003L269.3180000000001,148.25900000000004L273.3200000000001,141.52500000000003L277.5110000000001,137.33400000000003V133.47300000000004L282.3140000000001,128.67000000000004L280.8070000000001,122.64300000000004L287.96400000000006,123.58500000000004L294.36800000000005,126.03400000000003L295.31000000000006,118.68800000000003L301.71200000000005,116.45200000000003L318.557,121.61400000000003L323.99100000000004,113.73500000000003L334.04300000000006,113.19200000000002C334.04300000000006,113.19200000000002,340.65700000000004,114.42000000000002,341.1070000000001,114.00700000000002S342.7370000000001,104.49800000000002,342.7370000000001,104.49800000000002L344.9100000000001,95.80400000000002L340.29100000000005,91.18500000000002L344.63800000000003,86.83800000000002H351.973L355.777,90.37000000000002L361.75399999999996,87.11000000000001L365.01399999999995,92.81600000000002L369.90399999999994,90.64300000000001L375.33799999999997,97.16400000000002L372.893,102.59800000000001L375.60999999999996,111.02000000000001L380.364,115.77400000000002L384.847,120.25700000000002L385.39,128.13600000000002L387.156,129.90200000000002L393.269,124.33200000000002L401.151,127.863Z"},{id:"olomoucky",name:"Olomoucký kraj",polygon:"M617.687,214.259V224.60999999999999H612.75L608.25,229.10999999999999L598.25,235.60999999999999V242.60999999999999L594.75,246.10999999999999L597.5,251.10999999999999L591.5,259.61L589.75,267.36L593.875,271.485L590,277.86L588.75,285.36L592.375,288.985H597V294.36H603.25L607.25,298.36L614.5,296.36L620.5,305.11H625.5L629.75,307.36L634.75,303.86L639,308.11L644.5,305.11L652,309.11L650.25,317.61H658L660.75,325.11L666.75,327.11L671.875,332.235L671.25,337.36H676.75L679.5,342.86L675.375,346.985L671.25,345.61L664.5,350.11V357.11L659.125,362.485L653.25,355.86L645.5,358.61L647.75,365.36L641,367.36L636,365.86L631.875,369.985L629,375.11L625.125,371.235L618.5,371.61L616.5,366.86L612.5,370.36L614.75,378.11L611,381.86L608.75,385.36L599.25,386.86L593.375,392.735L589.5,386.11V382.36L586.375,379.235H579.5L578.5,373.86V368.86L572.5,365.11V360.61L568.625,356.735L566.25,351.61H560.75L557,355.86L561,359.86L565.125,363.985L560.75,370.36L557.75,373.36L550.25,367.86L553.75,364.36L549.25,358.36V351.86L554.25,346.61L548.5,344.86L543.75,344.61L546.667,336.777L549.8330000000001,332.277V326.61L555.0000000000001,321.44300000000004V313.94300000000004L549.3330000000001,311.44300000000004V306.94300000000004L544.8330000000001,298.11L540.667,289.94300000000004L546.25,286.194L543.833,283.77700000000004L542.833,276.44300000000004L540.333,270.61V264.94300000000004C540.333,264.94300000000004,550.221,257.03200000000004,550.333,256.77600000000007S547.833,252.60900000000007,547.833,252.60900000000007L549.333,243.94200000000006L554,234.94200000000006L555.742,226.75500000000005L564.435,222.67900000000006H571.228L571.4989999999999,214.25700000000006L567.016,209.77400000000006L562.534,208.00800000000007L559.273,196.32500000000007L552.21,192.52100000000007L556.014,185.18600000000006L564.436,187.35900000000007L570.6850000000001,188.71700000000007L581.009,191.70600000000007L585.22,195.9170000000001L592.4200000000001,193.60700000000008L593.5070000000001,200.67100000000008L599.2120000000001,205.0180000000001H607.9060000000001L610.0790000000001,212.62500000000009L617.687,214.259Z"},{id:"moravskoslezsky",name:"Moravskoslezský kraj",polygon:"M617.687,214.259V224.60999999999999H612.75L608.25,229.10999999999999L598.25,235.60999999999999V242.60999999999999L594.75,246.10999999999999L597.5,251.10999999999999L591.5,259.61L589.75,267.36L593.875,271.485L590,277.86L588.75,285.36L592.375,288.985H597V294.36H603.25L607.25,298.36L614.5,296.36L620.5,305.11H625.5L629.75,307.36L634.75,303.86L639,308.11L644.5,305.11L652,309.11L650.25,317.61H658L660.75,325.11L666.75,327.11L671.875,332.235L671.25,337.36H676.75L679.5,342.86H685.25L690.25,347.11L698.25,343.86L706.25,345.61L712.25,349.86H717.5L723,347.61L723.5,352.11L730.5,356.61L731.75,362.36L737.5,365.046L742.119,363.416L750.813,352.005L750.269,345.484L756.247,342.767L761.1379999999999,345.212L769.2879999999999,343.582L776.0799999999999,345.755L784.7739999999999,341.68L786.1319999999998,335.159L781.2409999999999,321.847L778.2529999999998,312.60999999999996H771.1889999999999L768.2009999999998,309.078L759.2349999999998,306.361L757.8769999999998,299.84L751.8989999999999,286.799L755.1599999999999,279.736L752.4429999999999,278.649L749.7259999999999,271.042L744.2919999999999,275.11699999999996L733.6959999999999,269.14L724.4579999999999,267.782L721.1979999999999,273.488L716.3069999999999,265.338L710.0579999999999,262.34900000000005L707.0699999999998,258.5450000000001L701.6359999999999,262.07700000000006L696.2019999999999,259.63200000000006L696.6089999999999,252.97500000000005L692.127,248.49300000000005L685.606,249.58000000000004L682.345,258.00200000000007C682.345,258.00200000000007,676.811,263.9390000000001,676.096,264.2510000000001S670.255,264.11500000000007,670.255,264.11500000000007L664.686,258.54600000000005L658.98,256.64400000000006L655.992,247.67900000000006L650.8299999999999,240.34300000000005L644.9879999999999,241.02300000000005L639.419,235.45300000000006V230.83400000000006L649.1999999999999,227.84500000000006L656.943,224.04100000000005V219.55800000000005L651.917,214.53200000000004L653.004,209.09800000000004L647.57,203.66400000000004L644.8520000000001,209.09800000000004L640.777,213.17300000000003L627.1930000000001,212.08600000000004L617.687,214.259Z"}]}}};var RL=function(){var e=this,t=e._self._c;return t("div",{staticClass:"region-map flex justify-center items-center"},[t("div",{staticClass:"w-full max-w-4xl block"},[t("svg",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/svg",id:"svgmapy",version:"1.1",viewBox:"0 75 800 500"}},[t("g",e._l(e.regions,function(i){return t("a",{key:i.id,attrs:{"xlink:href":"#"},on:{mouseover:function(s){e.current=i},mouseout:function(s){e.current=null},click:function(s){return e.selectRegion(i)}}},[t("path",{staticClass:"map-polygon region-map__region",class:{"region-map__region--current":e.current===i},attrs:{d:i.polygon}})])}),0)])])])},PL=[],IL=Ie(ML,RL,PL);const NL=IL.exports,$L={props:{initial:{default:()=>{}},syncLocation:{type:Boolean,default:!1},locationParam:{type:String,default:"view"}},data(){return{views:this.$props.initial,queryParams:null,keyListener:n=>{n.keyCode===27&&this.hideAllViews()}}},watch:{routeView(){new URLSearchParams(window.location.search)}},methods:{setView(n,e,t=!1){if(t&&Object.keys(this.$data.views).forEach(i=>{i!==n&&this.setView(i,!1)}),this.$data.views[n]=e,e&&this.$props.syncLocation){const i=new URLSearchParams(window.location.search);i.set(this.$props.locationParam,n),history.pushState(null,null,"?"+i.toString())}},setViews(n){this.$data.views=Object.assign({},this.data.views,n)},toggleView(n){!this.isCurrentView(n)&&this.setView(n,!this.isCurrentView(n),!0)},showView(n){this.setView(n,!0,!0)},isCurrentView(n){return this.$data.views[n]},hideAllViews(){Object.keys(this.$data.views).forEach(n=>{this.setView(n,!1)})}},mounted(){if(window.addEventListener("keydown",this.$data.keyListener),this.$props.syncLocation){const e=new URLSearchParams(window.location.search).get(this.$props.locationParam);e&&Object.keys(this.$data.views).indexOf(e)!==-1&&this.showView(e)}},destroyed(){window.removeEventListener("keydown",this.$data.keyListener)}};var jL=function(){var e=this,t=e._self._c;return t("div",[e._t("default",null,{views:e.views,isCurrentView:e.isCurrentView,toggleView:e.toggleView,showView:e.showView,setView:e.setView})],2)},HL=[],BL=Ie($L,jL,HL);const FL=BL.exports,zL={props:{initial:{default:()=>{}},syncLocation:{type:Boolean,default:!1},locationParam:{type:String,default:"secondary-view"}},data(){return{secondaryViews:this.$props.initial,queryParams:null,keyListener:n=>{n.keyCode===27&&this.hideAllViews()}}},watch:{routeView(){new URLSearchParams(window.location.search)}},methods:{setSecondaryView(n,e,t=!1){if(t&&Object.keys(this.$data.secondaryViews).forEach(i=>{i!==n&&this.setSecondaryView(i,!1)}),this.$data.secondaryViews[n]=e,e&&this.$props.syncLocation){const i=new URLSearchParams(window.location.search);i.set(this.$props.locationParam,n),history.pushState(null,null,"?"+i.toString())}},setSecondaryViews(n){this.$data.secondaryViews=Object.assign({},this.data.secondaryViews,n)},toggleSecondaryView(n){!this.isCurrentSecondaryView(n)&&this.setSecondaryView(n,!this.isCurrentSecondaryView(n),!0)},showSecondaryView(n){this.setSecondaryView(n,!0,!0)},isCurrentSecondaryView(n){return this.$data.secondaryViews[n]},hideAllViews(){Object.keys(this.$data.secondaryViews).forEach(n=>{this.setSecondaryView(n,!1)})}},mounted(){if(window.addEventListener("keydown",this.$data.keyListener),this.$props.syncLocation){const e=new URLSearchParams(window.location.search).get(this.$props.locationParam);e&&Object.keys(this.$data.secondaryViews).indexOf(e)!==-1&&this.showSecondaryView(e)}},destroyed(){window.removeEventListener("keydown",this.$data.keyListener)}};var VL=function(){var e=this,t=e._self._c;return t("div",[e._t("default",null,{secondaryViews:e.secondaryViews,isCurrentSecondaryView:e.isCurrentSecondaryView,toggleSecondaryView:e.toggleSecondaryView,showSecondaryView:e.showSecondaryView,setSecondaryView:e.setSecondaryView})],2)},WL=[],UL=Ie(zL,VL,WL);const GL=UL.exports;var mi=Zf;mi="default"in mi?mi.default:mi;var qL="2.2.2",YL=/^2\./.test(mi.version);YL||mi.util.warn("VueClickaway "+qL+" only supports Vue 2.x, and does not support Vue "+mi.version);var po="_vue_clickaway_handler";function qf(n,e,t){i9(n);var i=t.context,s=e.value;if(typeof s=="function"){var o=!1;setTimeout(function(){o=!0},0),n[po]=function(a){var d=a.path||(a.composedPath?a.composedPath():void 0);if(o&&(d?d.indexOf(n)<0:!n.contains(a.target)))return s.call(i,a)},document.documentElement.addEventListener("click",n[po],!1)}}function i9(n){document.documentElement.removeEventListener("click",n[po],!1),delete n[po]}var ZL={bind:qf,update:function(n,e){e.value!==e.oldValue&&qf(n,e)},unbind:i9},QL={directives:{onClickaway:ZL}},XL=QL;const JL={name:"Popout",mixins:[XL],provide(){return{sharedState:this.sharedState}},data(){return{sharedState:{active:!1}}},methods:{toggle(){this.sharedState.active=!this.sharedState.active},away(){this.sharedState.active=!1}},computed:{active(){return this.sharedState.active}}};var KL=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.away,expression:"away"}],staticClass:"popout"},[t("div",{staticClass:"popout__toggle-wrapper",class:{"popout__toggle-wrapper--active":e.active},on:{click:e.toggle}},[t("div",{staticClass:"popout__toggle-name"},[e._t("toggler")],2),t("div",{staticClass:"popout__toggle-arrow"},[e.active?e._e():t("i",{staticClass:"ico--chevron-down"}),e.active?t("i",{staticClass:"ico--chevron-up"}):e._e()])]),t("ui-slide-up-down",{attrs:{active:e.active,duration:200}},[e._t("default")],2)],1)},e4=[],t4=Ie(JL,KL,e4);const n4=t4.exports,i4={name:"PopoutContent",inject:["sharedState"],computed:{active(){return this.sharedState.active}}};var r4=function(){var e=this,t=e._self._c;return e.active?t("ul",{staticClass:"popout__content-wrapper"},[e._t("default")],2):e._e()},s4=[],o4=Ie(i4,r4,s4);const a4=o4.exports,l4={name:"PopoutItem"};var c4=function(){var e=this,t=e._self._c;return t("li",[e._t("default")],2)},u4=[],d4=Ie(l4,c4,u4);const f4=d4.exports,h4={data(){return{isMdScreenSize:Gu(),show:!1,resizeHandler:()=>{this.$data.isMdScreenSize=Gu()}}},props:{href:{type:String},label:{type:String},labelclass:{type:String},wrapperclass:{type:String,default:""},slotwrapperclass:{type:String,default:""}},methods:{handleClick(){this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}},mounted(){this.$nextTick(()=>{window.addEventListener("resize",this.$data.resizeHandler)})},beforeDestroy(){window.removeEventListener("resize",this.$data.resizeHandler)}};var p4=function(){var e=this,t=e._self._c;return t("div",{class:[e.wrapperclass,"footer-collapsible"]},[t("span",{staticClass:"head-8xl xl:head-9xl footer-collapsible__toggle",class:[e.labelclass,e.show?"footer-collapsible__toggle--open":""],on:{click:e.handleClick}},[e._v(e._s(e.label))]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.show||e.isMdScreenSize,expression:"show || isMdScreenSize"}],class:[e.slotwrapperclass]},[e._t("default")],2)])},g4=[],m4=Ie(h4,p4,g4);const v4=m4.exports,b4={data(){const n=()=>{var e=document.body.scrollTop||document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight,i=e/t*100;this.$refs.scrollProgressElement.style.width=i+"%"};return{scrollListener:()=>{n()}}},mounted(){window.addEventListener("scroll",this.$data.scrollListener),this.$data.scrollListener()},destroyed(){window.removeEventListener("scroll",this.$data.scrollListener)}};var y4=function(){var e=this,t=e._self._c;return t("div",{staticClass:"progress-container"},[t("div",{ref:"scrollProgressElement",staticClass:"progress-bar"})])},w4=[],_4=Ie(b4,y4,w4);const L4=_4.exports,C4={name:"FaqSectionHeader",props:["iteration","name"],data(){return{top:zs()?parseInt(this.iteration)*1.9:parseInt(this.iteration)*1.9+3.8}}},A4=Object.assign(C4,{setup(n){return{__sfc:!0}}});var E4=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"sticky border-y bg-white border-black",style:"top: "+this.top+"em"},[t("a",{staticClass:"container--wide py-1 flex gap-1 items-center",attrs:{href:"#faq"+this.iteration}},[t("svg",{attrs:{width:"20",height:"21",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"arrow-icon",attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#000"}})])]),t("span",{staticClass:"mt-0.5"},[e._v(" "+e._s(e.name)+" ")])])])},x4=[],S4=Ie(A4,E4,x4);const T4=S4.exports,D4={name:"CardScroll",data(){return{realArrowPosition:this.arrowPosition!==void 0?this.arrowPosition:"top"}},methods:{moveLeft:function(n){this.$refs.scrollable.getBoundingClientRect(),this.$refs.scrollable.scrollBy({left:-this.$refs.scrollable.offsetWidth-32,behavior:"smooth"})},moveRight:function(n){this.$refs.scrollable.getBoundingClientRect(),this.$refs.scrollable.scrollBy({left:this.$refs.scrollable.offsetWidth+32,behavior:"smooth"})}},props:["classes","scrollerClasses","arrowPosition"]};var k4=function(){var e=this,t=e._self._c;return t("div",[e.realArrowPosition==="top"?t("div",{class:"flex gap-4 justify-end text-white text-4xl pt-2 cursor-pointer lg:hidden "+e.scrollerClasses},[t("i",{staticClass:"ico--chevron-left",on:{click:e.moveLeft}}),t("i",{staticClass:"ico--chevron-right",on:{click:e.moveRight}})]):e._e(),t("div",{ref:"scrollable",class:e.classes+" hide-scrollbar"},[e._t("default")],2),e.realArrowPosition==="bottom"?t("div",{class:"flex gap-4 justify-end text-white text-4xl pt-2 cursor-pointer lg:hidden "+e.scrollerClasses},[t("i",{staticClass:"ico--chevron-left",on:{click:e.moveLeft}}),t("i",{staticClass:"ico--chevron-right",on:{click:e.moveRight}})]):e._e()])},O4=[],M4=Ie(D4,k4,O4);const R4=M4.exports,P4={name:"CardProgramItemPoint",props:["content","isFirst"]};var I4=function(){var e=this,t=e._self._c;return t("div",{staticClass:"[&_p]:text-lg [&_p]:leading-7 [&_p]:duration-150 [&_p]:delay-300 mt-[-5px] xl:w-1/2 xl:pt-1 xl:m-0"},[t("div",{staticClass:"content-block"},[t("p",[e._v(" "+e._s(this.content)+" ")])])])},N4=[],$4=Ie(P4,I4,N4);const j4=$4.exports,H4={name:"CardProgramItem",props:["slug","title","number","renderedContent","points","defaultIsOpen","openPointBackgroundClass"],data(){return{isOpen:this.defaultIsOpen}},methods:{openClose:function(){if(this.isOpen=!this.isOpen,this.isOpen){let n=new URLSearchParams(window.location.search),e=new URL(window.location);n.set("program_view",this.slug),e.search=n,window.history.replaceState({},this.slug,e)}}},mounted(){this.$watch("isOpen",(e,t)=>{e&&!t?(this.$refs.openVariant.classList.remove("w-0"),this.$refs.openVariant.classList.remove("[&_*]:!text-[0rem]"),this.$refs.openVariant.classList.remove("[&_*]:!p-0"),this.$refs.openVariant.classList.remove("[&_*]:!gap-0"),this.$refs.openVariant.classList.remove("[&_*]:!leading-[0px]"),this.$refs.openVariant.classList.remove("[&_*]:!duration-0"),this.$refs.openVariant.classList.remove("[&_*]:!delay-0"),this.$refs.openVariant.classList.remove("!h-0"),zs()&&this.$refs.openVariant.classList.add("duration-300"),this.$refs.openVariant.classList.add("w-full"),this.$refs.openVariant.classList.add("xl:p-12"),this.$refs.openVariant.classList.add("p-6"),zs()||setTimeout(()=>{const s=this.$refs.openVariant.getBoundingClientRect().top+window.pageYOffset-90;window.scrollTo({top:s,behavior:"instant"})},20)):!e&&t&&(zs()&&this.$refs.openVariant.classList.remove("duration-300"),this.$refs.openVariant.classList.remove("w-full"),this.$refs.openVariant.classList.remove("xl:p-12"),this.$refs.openVariant.classList.remove("p-6"),this.$refs.openVariant.classList.add("w-0"),this.$refs.openVariant.classList.add("[&_*]:!text-[0rem]"),this.$refs.openVariant.classList.add("[&_*]:!p-0"),this.$refs.openVariant.classList.add("[&_*]:!gap-0"),this.$refs.openVariant.classList.add("[&_*]:!leading-[0px]"),this.$refs.openVariant.classList.add("[&_*]:!duration-0"),this.$refs.openVariant.classList.add("[&_*]:!delay-0"),this.$refs.openVariant.classList.add("!h-0"))});let n=null;setInterval(()=>{const e=window.location.href;if(e!=n){n=e;const t=new Proxy(new URLSearchParams(window.location.search),{get:(i,s)=>i.get(s)});t.program_view!==null&&t.program_view!==this.slug&&(this.isOpen=!1),t.program_view!==null&&t.program_view===this.slug&&!this.isOpen&&(this.isOpen=!0)}},.1)}},B4=Object.assign(H4,{setup(n){return{__sfc:!0,CardProgramItemPoint:j4}}});var F4=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("li",{class:this.isOpen?"w-full":""},[e.isOpen?e._e():t("div",{ref:"closedVariant",staticClass:"bg-black flex flex-row items-center px-5 py-2 gap-5 justify-start duration-200 cursor-pointer xl:h-[696px] xl:flex-col xl:gap-12 xl:py-8 xl:px-3 xl:justify-between 2xl:h-[646px] hover:bg-grey-600",on:{click:e.openClose}},[t("div",{staticClass:"font-alt text-black text-7xl xl:text-9xl",staticStyle:{"text-shadow":"-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff"}},[e._v(" "+e._s(e.number)+" ")]),t("div",{staticClass:"text-white leading-7 text-2xl xl:rotate-180 xl:[writing-mode:vertical-rl]"},[e._v(" "+e._s(e.title)+" ")])]),t("div",{ref:"openVariant",class:(e.defaultIsOpen?"p-6 xl:p-12":"w-0 [&_*]:!text-[0rem] [&_*]:!p-0 [&_*]:!gap-0 [&_*]:!leading-[0px] [&_*]:!delay-0 [&_*]:!duration-0 !h-0")+" "+(e.openPointBackgroundClass!==void 0?e.openPointBackgroundClass:"bg-white")},[t("div",{staticClass:"flex flex-col gap-8 xl:flex-row xl:gap-16"},[t("div",{staticClass:"flex gap-7 w-full justify-start flex-col xl:[flex-flow:column_wrap] xl:h-[600px] 2xl:h-[550px]"},[t("h2",{staticClass:"font-alt text-[3.25rem] duration-200 delay-100 w-1/2 lg:text-[5.5rem] 2xl:text-[6.5rem]"},[e._v(" "+e._s(e.title)+" ")]),e._l(e.points,function(s,o){return t(i.CardProgramItemPoint,{directives:[{name:"id",rawName:"v-id",value:e.points,expression:"points"}],key:s.number,attrs:{content:s.content}})}),e.renderedContent?t("div",{domProps:{innerHTML:e._s(e.renderedContent)}}):e._e()],2)])])])},z4=[],V4=Ie(B4,F4,z4);const W4=V4.exports,U4={name:"CardProgram",props:["points","label","backgroundClass","openPointBackgroundClass"]},G4=Object.assign(U4,{setup(n){return{__sfc:!0,CardProgramItem:W4}}});var q4=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("div",{class:(e.backgroundClass!==null?e.backgroundClass:"bg-pirati-yellow")+" py-16"},[t("div",{staticClass:"container--wide"},[e.label?t("h2",{staticClass:"head-14xl head-compact mb-8"},[e._v(e._s(e.label))]):e._e(),t("ul",{staticClass:"flex gap-3 w-full flex-col xl:flex-row"},e._l(e.points,function(s,o){return t(i.CardProgramItem,{key:s.slug,attrs:{slug:s.slug,defaultIsOpen:o===0,number:s.number,title:s.title,renderedContent:s.renderedContent,points:s.points,openPointBackgroundClass:e.openPointBackgroundClass}})}),1)])])},Y4=[],Z4=Ie(G4,q4,Y4);const Q4=Z4.exports,X4={name:"CandidatePrimaryBox",props:["name","subheading","position","description","url","buttonText","imageSource","socialLinks"],mounted(){var n={rootMargin:"0px",threshold:.25};const e=this.$refs.text,t=this.$refs.image;function i(o,a){o.forEach(d=>{d.intersectionRatio>=.25&&(e.classList.remove("candidate-primary-box--text-column__hidden"),t.classList.remove("candidate-primary-box--image-column__hidden"))})}var s=new IntersectionObserver(i,n);s.observe(this.$refs.candidateBox)}};var J4=function(){var e=this,t=e._self._c;return t("li",{ref:"candidateBox",staticClass:"candidate-primary-box"},[t("div",{staticClass:"candidate-primary-box--content container--wide flex gap-10 pt-16 pb-8 overflow-x-hidden lg:flex-row lg:gap-8 lg:py-16"},[t("div",{ref:"text",staticClass:"candidate-primary-box--text-column candidate-primary-box--text-column__hidden flex flex-col justify-between w-full duration-700"},[t("div",{staticClass:"flex flex-col"},[t("h2",{staticClass:"head-9xl"},[e._v(" "+e._s(e.name)+" ")]),e.subheading?t("h3",{staticClass:"head-6xl mb-5"},[e._v(" "+e._s(e.subheading)+" ")]):e._e(),e.position?t("p",{staticClass:"font-bold text-lg mt-[-0.5rem] mb-3"},[e._v(" "+e._s(e.position)+" ")]):e._e(),e.socialLinks?e._e():t("div",{staticClass:"mb-5"}),e.socialLinks?t("ul",{staticClass:"flex gap-2 mb-6"},e._l(e.socialLinks,function(i){return t("li",[t("a",{attrs:{href:i.url,target:"_blank"}},[t("i",{class:i.icon})])])}),0):e._e(),t("div",{staticClass:"text-lg mb-8 lg:mb-16"},[t("div",{domProps:{innerHTML:e._s(e.description)}})])]),t("div",{staticClass:"flex justify-start"},[t("a",{staticClass:"flex items-center group rounded-full uppercase font-semibold tracking-normal bg-black text-white pl-8 pr-3 py-3 hover:no-underline xl:text-lg xl:pl-8 xl:pr-3 xl:py-4",attrs:{href:e.url}},[t("span",{staticClass:"group-hover:-translate-x-2 duration-200"},[e.buttonText?t("div",[e._v(e._s(e.buttonText))]):t("div",[e._v("Zjisti více")])]),t("span",{staticClass:"opacity-0 group-hover:opacity-100 duration-200 mb-[0.03rem]"},[t("svg",{attrs:{width:"20",height:"21",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"arrow-icon",attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])])])])])]),t("div",{ref:"image",staticClass:"candidate-primary-box--image-column candidate-primary-box--image-column__hidden w-full flex items-start justify-center duration-700"},[t("img",{staticClass:"w-3/4 lg:w-1/2",attrs:{src:e.imageSource}})])])])},K4=[],eC=Ie(X4,J4,K4);const tC=eC.exports,nC={name:"CandidateSecondaryBox",props:["url","number","imageSource","name","position"]};var iC=function(){var e=this,t=e._self._c;return t("li",{staticClass:"candidate-secondary-box container--wide"},[t("a",{staticClass:"py-2 flex gap-6 items-center underline-offset-2",attrs:{href:e.url}},[t("div",{staticClass:"font-bold text-xl"},[e._v(" "+e._s(this.number)+" ")]),t("div",{staticClass:"flex font-bold justify-center items-center rounded-full"},[t("img",{staticClass:"w-12 object-cover",attrs:{src:this.imageSource}})]),t("div",{staticClass:"flex flex-col lg:flex-row"},[t("h4",{staticClass:"text-xl font-bold"},[e._v(e._s(this.name))]),this.position?t("p",[t("span",{staticClass:"hidden lg:inline"},[e._v(",")]),e._v(" "+e._s(this.position)+" ")]):e._e()])])])},rC=[],sC=Ie(nC,iC,rC);const oC=sC.exports,aC={name:"CandidateSecondaryList",props:["heading","candidates","preopened"],methods:{openList(){this.$refs.content.classList.remove("hidden"),this.$refs.button.classList.add("hidden")}},mounted(){this.preopened&&this.openList()}},lC=Object.assign(aC,{setup(n){return{__sfc:!0,CandidateSecondaryBox:oC}}});var cC=function(){var e=this,t=e._self._c,i=e._self._setupProxy;return t("div",{staticClass:"bg-grey-180"},[t("ul",{ref:"content",staticClass:"candidate-secondary-list pt-14 pb-16 hidden"},[t("div",{staticClass:"container--wide"},[t("h2",{staticClass:"head-7xl mb-3"},[e._v(e._s(e.heading))])]),e._l(e.candidates,function(s){return t(i.CandidateSecondaryBox,{key:s.position,attrs:{url:s.url,number:s.number,imageSource:s.imageSource,name:s.name,position:s.position}})})],2),t("div",{ref:"button",staticClass:"pt-14 pb-16 flex justify-center"},[t("button",{staticClass:"flex items-center group rounded-full font-condensed uppercase font-semibold tracking-normal bg-black text-white hover:no-underline pl-8 pr-3 py-3 xl:text-lg xl:pl-8 xl:pr-3 xl:py-4",on:{click:function(s){return e.openList()}}},[t("span",{staticClass:"group-hover:-translate-x-2 duration-200"},[e._v("Další kandidáti")]),t("span",{staticClass:"opacity-0 group-hover:opacity-100 duration-200 mb-[0.03rem]"},[t("svg",{attrs:{width:"20",height:"21",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{id:"Icon / Placeholder"}},[t("path",{staticClass:"arrow-icon",attrs:{d:"M0 16.5H4.40178L11 10.0002L4.40228 3.5H0L6.60069 10.0002L0 16.5Z",fill:"#FEC900"}})])])])])])])},uC=[],dC=Ie(lC,cC,uC);const fC=dC.exports,hC={data(){return{countdown:{days:0,hours:0,minutes:0,seconds:0},countdownText:""}},props:{to:{type:String,required:!0}},mounted(){this.updateCountdown(),setInterval(this.updateCountdown,1e3)},methods:{updateCountdown(){const n=o=>{let a=[];o.days>0&&a.push(`${o.days} dní`),o.hours>0&&a.push(`${o.hours} hodin`),o.minutes>0&&a.push(`${o.minutes} minut`),a.push(`${o.seconds} sekund`);let d="";return o.seconds===1?d="a":o.seconds>1&&o.seconds<5&&(d="y"),a.join(", ")+(a.length>0?d:"")};let i=new Date(this.to)-new Date;if(i<=0){this.countdownText="nic. Jdeme volit!";return}const s=24*60*60*1e3;this.countdown.days=Math.floor(i/s),i-=this.countdown.days*s,this.countdown.hours=Math.floor(i/(60*60*1e3)),i-=this.countdown.hours*(60*60*1e3),this.countdown.minutes=Math.floor(i/(60*1e3)),i-=this.countdown.minutes*(60*1e3),this.countdown.seconds=Math.floor(i/1e3),this.countdownText=n(this.countdown)}}};var pC=function(){var e=this,t=e._self._c;return t("span",[e._v(" "+e._s(e.countdownText)+" ")])},gC=[],mC=Ie(hC,pC,gC);const vC=mC.exports,bC={props:{sizingClasses:{type:String,required:!1},openByDefault:{type:Boolean,required:!0}},data(){return{isOpen:!1,isOpen:this.$props.openByDefault}}};var yC=function(){var e=this,t=e._self._c;return t("table",{class:"duration-200 my-6 prose "+e.$props.sizingClasses},[e._t("caption"),t("thead",{staticClass:"relative w-full duration-200"},[e._t("head"),t("div",{staticClass:"absolute top-0 right-[-60px]"},[t("button",{ref:"togglerButton",staticClass:"w-10 h-10 rounded-full bg-white hover:bg-grey-125 duration-150 flex justify-center items-center",on:{click:function(i){e.$data.isOpen=!e.$data.isOpen}}},[t("i",{staticClass:"text-2xl",class:e.$data.isOpen?"ico--chevron-up":"ico--chevron-down"})])])],2),e.$data.isOpen?t("tbody",{staticClass:"w-full duration-200 [&_p]:py-0 [&_p]:my-0 [&_td]:py-2 [&_td]:align-middle [&_tr:nth-child(even)]:bg-grey-50"},[e._t("body")],2):e._e()],2)},wC=[],_C=Ie(bC,yC,wC);const LC=_C.exports,CC={name:"SlideUpDown",props:{active:Boolean,duration:{type:Number,default:500},tag:{type:String,default:"div"},useHidden:{type:Boolean,default:!0}},data:function(){return{style:{},initial:!1,hidden:!1}},watch:{active:function(){this.layout()}},render:function(n){return n(this.tag,{style:this.style,attrs:this.attrs,ref:"container",on:{transitionend:this.onTransitionEnd}},this.$slots.default)},mounted:function(){this.layout(),this.initial=!0},created:function(){this.hidden=!this.active},computed:{el:function(){return this.$refs.container},attrs:function(){var n={"aria-hidden":!this.active,"aria-expanded":this.active};return this.useHidden&&(n.hidden=this.hidden),n}},methods:{layout:function(){var n=this;this.active?(this.hidden=!1,this.$emit("open-start"),this.initial&&this.setHeight("0px",function(){return n.el.scrollHeight+"px"})):(this.$emit("close-start"),this.setHeight(this.el.scrollHeight+"px",function(){return"0px"}))},asap:function(n){this.initial?this.$nextTick(n):n()},setHeight:function(n,e){var t=this;this.style={height:n},this.asap(function(){t.__=t.el.scrollHeight,t.style={height:e(),overflow:"hidden","transition-property":"height","transition-duration":t.duration+"ms"}})},onTransitionEnd:function(n){n.target===this.el&&(this.active?(this.style={},this.$emit("open-end")):(this.style={height:"0",overflow:"hidden"},this.hidden=!0,this.$emit("close-end")))}}},AC={mounted(){console.log("Mounted generic Vue app in ",this.$el)}},EC=null,xC=null;var SC=Ie(AC,EC,xC);const TC=SC.exports;Re.component("ui-animated-arrow",sv);Re.component("ui-calendar-renderer",uv);Re.component("ui-calendar-dummy-provider",mv);Re.component("ui-calendar-google-provider",Lv);Re.component("ui-full-calendar",OL);Re.component("ui-region-map",NL);Re.component("ui-view-provider",FL);Re.component("ui-secondary-view-provider",GL);Re.component("ui-popout",n4);Re.component("ui-popout-content",a4);Re.component("ui-popout-item",f4);Re.component("ui-scroll-indicator",L4);Re.component("ui-footer-collapsible",v4);Re.component("ui-faq-section-header",T4);Re.component("ui-horizontal-scrollable",R4);Re.component("ui-candidate-primary-box",tC);Re.component("ui-card-program",Q4);Re.component("ui-slide-up-down",CC);Re.component("ui-candidate-secondary-list",fC);Re.component("ui-countdown",vC);Re.component("ui-popout-table",LC);pe.bind("[data-fancybox]",{l10n:ev});const DC=(n,e)=>{new Re({el:n,components:{UiApp:TC}})};function kC(n){return Object.assign({},n.dataset),DC(n)}function OC(n){jm(document.querySelectorAll(".__js-root"),kC),Al.init(),console.log("init micromodal",Al)}document.addEventListener("DOMContentLoaded",OC); diff --git a/shared/static/styleguide2/pirati-ui.svg b/shared/static/styleguide2/pirati-ui.svg index c6e3a71a..ffc20ecc 100644 --- a/shared/static/styleguide2/pirati-ui.svg +++ b/shared/static/styleguide2/pirati-ui.svg @@ -127,4 +127,4 @@ <glyph unicode="" glyph-name="price-tags" horiz-adv-x="1280" d="M1232 960h-384c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l476.118 476.118c18.666 18.666 33.94 55.54 33.94 81.94v384c0 26.4-21.6 48-48 48zM992 576c-53.020 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96-42.98-96-96-96zM128 416l544 544h-80c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l30.058 30.058-416 416z" /> <glyph unicode="" glyph-name="twitter" horiz-adv-x="1001" d="M596.009 526.629l372.819 433.371h-88.346l-323.718-376.29-258.553 376.29h-298.21l390.983-569.018-390.983-454.457h88.351l341.855 397.375 273.051-397.375h298.21l-405.458 590.103zM475 385.969l-354.815 507.521h135.702l624.636-893.48h-135.702l-269.821 385.959z" /> <glyph unicode="" glyph-name="stats-dots" d="M128 64h896v-128h-1024v1024h128zM288 128c-53.020 0-96 42.98-96 96s42.98 96 96 96c2.828 0 5.622-0.148 8.388-0.386l103.192 171.986c-9.84 15.070-15.58 33.062-15.58 52.402 0 53.020 42.98 96 96 96s96-42.98 96-96c0-19.342-5.74-37.332-15.58-52.402l103.192-171.986c2.766 0.238 5.56 0.386 8.388 0.386 2.136 0 4.248-0.094 6.35-0.23l170.356 298.122c-10.536 15.408-16.706 34.036-16.706 54.11 0 53.020 42.98 96 96 96s96-42.98 96-96c0-53.020-42.98-96-96-96-2.14 0-4.248 0.094-6.35 0.232l-170.356-298.124c10.536-15.406 16.706-34.036 16.706-54.11 0-53.020-42.98-96-96-96s-96 42.98-96 96c0 19.34 5.74 37.332 15.578 52.402l-103.19 171.984c-2.766-0.238-5.56-0.386-8.388-0.386s-5.622 0.146-8.388 0.386l-103.192-171.986c9.84-15.068 15.58-33.060 15.58-52.4 0-53.020-42.98-96-96-96z" /> -</font></defs></svg> +</font></defs></svg> \ No newline at end of file diff --git a/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html b/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html new file mode 100644 index 00000000..36e3c138 --- /dev/null +++ b/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html @@ -0,0 +1,24 @@ +<div + class="p-6 bg-black text-white flex flex-col gap-2" +> + <div class="flex justify-between"> + <div class="text-xl font-bold">{{ career_offer.name }}</div> + <div class="text-xl font-bold">{{ career_offer.location }}</div> + </div> + + <div class="text-xl p-4"> + {{ career_offer.description|safe }} + </div> + + <div class="flex justify-between items-end"> + <div> + <em> + Prihlášky do: {{ career_offer.applications_until }}<br> + Zveřejněno: {{ career_offer.created_on }} + </em> + </div> + <div> + {% include "patterns/atoms/buttons/round_button.html" with fill="#fff" classes="bg-pirati-yellow text-black" button_text="Více" url=career_offer.url %} + </div> + </div> +</div> \ No newline at end of file diff --git a/shared/templates/styleguide2/includes/organisms/header/main/careers_header.html b/shared/templates/styleguide2/includes/organisms/header/main/careers_header.html new file mode 100644 index 00000000..788906ac --- /dev/null +++ b/shared/templates/styleguide2/includes/organisms/header/main/careers_header.html @@ -0,0 +1,29 @@ +{% extends 'styleguide2/includes/organisms/header/simple_header_with_ui_switch.html' %} + +{% block extra_classes %}xl:pt-32 xl:pb-16 mb-20{% endblock %} + +{% block description %} + <div + class=" + hidden gap-10 pb-4 font-bold pr-4 grid-cols-1 whitespace-pre-line [&_p]:!text-lg [&_p]:leading-7 + md:grid md:grid-cols-2 md:pr-0 + " + > + <p> + {{ description_column_1|safe }} + </p> + + <p> + {{ description_column_2|safe }} + </p> + </div> +{% endblock %} + +{% block switch %} + {% for category in page.get_career_categories %} + <a + @click="toggleView('{{ forloop.count0 }}-{{ category }}')" class="switch__item" + :class="{'switch__item--active': isCurrentView('{{ category }}')}" + >{{ category }}</a> + {% endfor %} +{% endblock %} diff --git a/shared/templates/styleguide2/includes/organisms/header/simple_header.html b/shared/templates/styleguide2/includes/organisms/header/simple_header.html index 72bbb5c2..f6769383 100644 --- a/shared/templates/styleguide2/includes/organisms/header/simple_header.html +++ b/shared/templates/styleguide2/includes/organisms/header/simple_header.html @@ -68,7 +68,13 @@ </h1> {% endblock %} - {% block after_heading %}{% endblock %} + {% block after_heading %} + {% if sub_heading %} + <h2 + class="head-6xl" + >{{ sub_heading }}</h2> + {% endif %} + {% endblock %} {% block description %} {% if description %} -- GitLab From 7eb3146899ad26164dc48febf0fedbd0b091d2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Tue, 10 Dec 2024 12:40:28 +0100 Subject: [PATCH 2/6] add email settings --- README.md | 6 +- .../migrations/0138_maincareerpage_content.py | 19 ++ main/models.py | 24 ++- main/templates/main/main_career_page.html | 201 ++++++++++++++++++ majak/settings/base.py | 9 +- .../includes/atoms/buttons/round_button.html | 5 + .../molecules/boxes/main/career_box.html | 14 +- .../organisms/header/main/career_header.html | 7 + 8 files changed, 272 insertions(+), 13 deletions(-) create mode 100644 main/migrations/0138_maincareerpage_content.py create mode 100644 main/templates/main/main_career_page.html create mode 100644 shared/templates/styleguide2/includes/organisms/header/main/career_header.html diff --git a/README.md b/README.md index 50f9cdaa..ba48d873 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,10 @@ V produkci musí být navíc nastaveno: | `DJANGO_ALLOWED_HOSTS` | | allowed hosts (více hodnot odděleno čárkami) | | `CELERY_BROKER_URL` | | URL pro Celery Broker | | `CELERY_RESULT_BACKEND` | | URL pro Celery Result Backend | +| `EMAIL_HOST` | SMTP pro odesílání přihlášek do kariér | +| `EMAIL_HOST_USER` | --||-- Username | +| `EMAIL_HOST_PASSWORD` | --||-- Heslo | +| `EMAIL_PORT` | --||-- Port | Různé: @@ -177,8 +181,6 @@ Přes CRON je třeba na pozadí spouštět Django `manage.py` commandy: * `update_callendars` - stáhne a aktualizuje kalendáře (několikrát denně) * `update_main_timeline_articles` - aktualizuje články na `pirati.cz` z `https://piratipracuji.cz/api/` * `update_redmine_issues` - aktualizuje programované body MS a KS stránek napojených na Redmine (několikrát denně) -* `update_tweets` - aktualizuje tweety podle nastavení na Homepage pirati.cz - vyžaduje mít v .env TWITTER_BEARER_TOKEN, parametr --days určuje stáří tweetů (default 1) -* `update_instagram` - aktualizuje Instagramové posty na Homepage pirati.cz. ### Fulltextové vyhledávání v češtině diff --git a/main/migrations/0138_maincareerpage_content.py b/main/migrations/0138_maincareerpage_content.py new file mode 100644 index 00000000..283c67b8 --- /dev/null +++ b/main/migrations/0138_maincareerpage_content.py @@ -0,0 +1,19 @@ +# Generated by Django 5.0.7 on 2024-12-10 07:37 + +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0137_maincareerspage_perex_col_1_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='maincareerpage', + name='content', + field=wagtail.fields.RichTextField(blank=True, verbose_name='Text nabídky'), + ), + ] diff --git a/main/models.py b/main/models.py index a93c8640..4920c4a7 100644 --- a/main/models.py +++ b/main/models.py @@ -11,6 +11,7 @@ from wagtailmetadata.models import MetadataPageMixin from datetime import date from shared import blocks as shared_blocks +from shared.const import RICH_TEXT_DEFAULT_FEATURES from shared.models import ( # MenuMixin, ArticleMixin, ExtendedMetadataHomePageMixin, @@ -92,6 +93,11 @@ class MainHomePage(MainHomePageMixin): class Meta: verbose_name = "HomePage pirati.cz" + + @property + def careers_page(self): + return self._first_subpage_of_type(MainCareersPage) + @property def article_page_model(self): return MainArticlePage @@ -488,14 +494,28 @@ class MainCareerPage( default=date.today ) + content = RichTextField( + "Text nabídky", + blank=True, + features=RICH_TEXT_DEFAULT_FEATURES + ) + content_panels = Page.content_panels + [ + MultiFieldPanel( + [ + FieldPanel("submission_end_date"), + FieldPanel("created_date"), + ], + "Datumy" + ), + FieldPanel("category"), FieldPanel("location"), FieldPanel("time_cost"), FieldPanel("employment_relationship"), FieldPanel("pay_rate"), - FieldPanel("submission_end_date"), - FieldPanel("created_date"), + + FieldPanel("content"), ] parent_page_types = ["main.MainCareersPage"] diff --git a/main/templates/main/main_career_page.html b/main/templates/main/main_career_page.html new file mode 100644 index 00000000..98503165 --- /dev/null +++ b/main/templates/main/main_career_page.html @@ -0,0 +1,201 @@ +{% extends "styleguide2/base.html" %} +{% load wagtailcore_tags %} + +{% block content %} + {% block navbar %} + {% include 'styleguide2/includes/organisms/layout/navbar.html' with selected_item=page.get_menu_title %} + {% endblock %} + + {% block header %} + {% include 'styleguide2/includes/organisms/header/main/career_header.html' with title=page.title %} + {% endblock %} + + <main role="main"> + <section class="container--wide mb-4 xl:mb-20"> + <div class="text-lg mb-6"> + <strong>Přihlášky do</strong>: {{ page.submission_end_date }}<br> + <strong>Zveřejněno</strong>: {{ page.created_date }}<br> + </div> + + <div class="mb-6"> + {{ page.content|richtext }} + </div> + + <div data-micromodal-trigger="modal-1" class="lg:mb-3 mb-12"> + {% include "styleguide2/includes/atoms/buttons/round_button.html" with text="Přihlásit se" show_arrow_on_hover=True %} + </div> + </section> + </main> + + <div class="modal micromodal-slide" id="modal-1" aria-hidden="true"> + <div class="modal__overlay" tabindex="-1"> + <form + class="modal__container" + role="dialog" + aria-modal="true" + aria-labelledby="modal-1-title" + method="POST" + action="" + > + <header class="modal__header"> + <h2 class="modal__title" id="modal-1-title"> + Přihlásit se + </h2> + <button class="modal__close" aria-label="Close modal" data-micromodal-close></button> + </header> + <main class="modal__content mb-6" id="modal-1-content"> + <div class="form_control"> + <section + class=" + flex gap-4 flex-nowrap flex-col w-full + + lg:flex-row lg:gap-2 + " + > + <div class="lg:w-auto w-full"> + <input + type="text" + name="name" + maxlength="256" + placeholder="Jméno" + id="id_name" + class="lg:w-auto w-full" + required + > + </div> + <div class="lg:w-auto w-full"> + <input + type="text" + name="surname" + maxlength="256" + placeholder="Příjmení" + id="id_surname" + class="lg:w-auto w-full" + required + > + </div> + </section> + <section> + <div class="w-full"> + <input + class="w-full" + type="email" + name="email" + maxlength="256" + id="id_email" + placeholder="E-mail" + required + > + </div> + </section> + <section> + <div class="w-full"> + <input + class="w-full" + type="tel" + name="phone" + maxlength="19" + id="id_phone" + placeholder="Telefon" + required + > + </div> + </section> + <section> + <div class="w-full"> + <textarea + class="w-full" + name="custom_text" + maxlength="65535" + id="id_custom_text" + placeholder="Vlastní text (nepovinný)" + ></textarea> + </div> + </section> + <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> + <label + class="w-36" + for="cv" + id="cv_label" + >CV: </label> + + <input + type="file" + id="cv" + name="cv" + aria-labelledby="cv_label" + class="max-w-64 mr-auto overflow-hidden break-words" + required + > + + <small class="text-grey-300">(Povinné)</small> + </section> + <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> + <label + class="w-36" + id="cover_letter_label" + for="cover_letter" + >Mot. dopis: </label> + + <input + type="file" + id="cover_letter" + name="cover_letter" + aria-labelledby="cover_letter_label" + class="max-w-64 mr-auto overflow-hidden break-words" + required + > + + <small class="text-grey-300">(Povinný)</small> + </section> + <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> + <label + class="w-36" + id="other_files_label" + for="other_files" + >Ostatní soubory: </label> + + <input + type="file" + id="other_files" + name="other_files" + aria-labelledby="other_files_label" + class="max-w-64 mr-auto overflow-hidden break-words" + multiple + > + </section> + + <section class="flex flex-row gap-3 items-start leading-none"> + <input + type="checkbox" + id="personal_data_agreement" + name="personal_data_agreement" + aria-labelledby="personal_data_agreement_label" + required + > + + <label + for="personal_data_agreement" + >Souhlasím se zpracováním osobním údajů (povinné)</label> + </section> + </div> + </main> + <footer + class=" + modal__footer flex gap-2 justify-end flex-col items-end + + lg:items-start lg:gap-4 lg:flex-row + " + > + <div data-micromodal-close> + {% include "styleguide2/includes/atoms/buttons/round_button_form.html" with type="button" text="Zrušit" show_arrow_on_hover=True %} + </div> + <div> + {% include "styleguide2/includes/atoms/buttons/round_button_form.html" with type="submit" fill="#fff" classes="bg-pirati-yellow text-black" text="Odeslat přihlášku" %} + </div> + </footer> + </form> + </div> + </div> + +{% endblock %} diff --git a/majak/settings/base.py b/majak/settings/base.py index 0c69ff0c..939d0729 100644 --- a/majak/settings/base.py +++ b/majak/settings/base.py @@ -168,9 +168,12 @@ DATA_UPLOAD_MAX_NUMBER_FIELDS = None # EMAIL # ------------------------------------------------------------------------------ -EMAIL_BACKEND = env( - "DJANGO_EMAIL_BACKEND", default="django.core.mail.backends.dummy.EmailBackend" -) +EMAIL_HOST = env.str("EMAIL_HOST", "") +EMAIL_HOST_USER = env.str("EMAIL_HOST_USER", "") +EMAIL_HOST_PASSWORD = env.str("EMAIL_HOST_PASSWORD", "") +EMAIL_PORT = env.str("EMAIL_PORT", "") +EMAIL_SUBJECT_PREFIX = env.str("EMAIL_SUBJECT_PREFIX", "[Piráti] ") + # LOGGING # ------------------------------------------------------------------------------ diff --git a/shared/templates/styleguide2/includes/atoms/buttons/round_button.html b/shared/templates/styleguide2/includes/atoms/buttons/round_button.html index 747c421c..8a1a39bf 100644 --- a/shared/templates/styleguide2/includes/atoms/buttons/round_button.html +++ b/shared/templates/styleguide2/includes/atoms/buttons/round_button.html @@ -1,5 +1,10 @@ <{% block element_opener %}a{% endblock %} {% block href %}href="{% if url %}{{ url }}{% else %}#{% endif %}"{% endblock %} + + {% if type %} + type="{{ type }}" + {% endif %} + class=" flex items-center group rounded-full font-condensed uppercase font-semibold tracking-normal hover:no-underline max-w-max diff --git a/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html b/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html index 36e3c138..6107ce37 100644 --- a/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html +++ b/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html @@ -2,23 +2,25 @@ class="p-6 bg-black text-white flex flex-col gap-2" > <div class="flex justify-between"> - <div class="text-xl font-bold">{{ career_offer.name }}</div> - <div class="text-xl font-bold">{{ career_offer.location }}</div> + <div class="text-xl font-bold">{{ career.title }}</div> + <div class="text-xl font-bold">{{ career.location }}</div> </div> <div class="text-xl p-4"> - {{ career_offer.description|safe }} + <strong>Časová náročnost</strong>: {{ career.time_cost }}<br> + <strong>Poměr</strong>: {{ career.employment_relationship }}<br> + <strong>Plat</strong>: {{ career.pay_rate }}<br> </div> <div class="flex justify-between items-end"> <div> <em> - Prihlášky do: {{ career_offer.applications_until }}<br> - Zveřejněno: {{ career_offer.created_on }} + Prihlášky do: {{ career.submission_end_date }}<br> + Zveřejněno: {{ career.created_date }} </em> </div> <div> - {% include "patterns/atoms/buttons/round_button.html" with fill="#fff" classes="bg-pirati-yellow text-black" button_text="Více" url=career_offer.url %} + {% include "styleguide2/includes/atoms/buttons/round_button.html" with fill="#fff" classes="bg-pirati-yellow text-black" text="Více" url=career.url show_arrow_on_hover=True %} </div> </div> </div> \ No newline at end of file diff --git a/shared/templates/styleguide2/includes/organisms/header/main/career_header.html b/shared/templates/styleguide2/includes/organisms/header/main/career_header.html new file mode 100644 index 00000000..23898c67 --- /dev/null +++ b/shared/templates/styleguide2/includes/organisms/header/main/career_header.html @@ -0,0 +1,7 @@ +{% extends 'styleguide2/includes/organisms/header/simple_header.html' %} + +{% block before_heading %} + {% include 'styleguide2/includes/atoms/header/navigation.html' with classes='mb-6' first_text="Pracovní nabídky" first_link=page.root_page.careers_page.url second_text=page.created_date %} +{% endblock %} + +{% block heading_classes %}head-8xl{% endblock %} \ No newline at end of file -- GitLab From eedddccb43d48af5c31d6a099ca860ccdbf78835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Tue, 10 Dec 2024 13:30:43 +0100 Subject: [PATCH 3/6] prepare for form --- main/forms.py | 5 +++++ main/models.py | 28 +++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/main/forms.py b/main/forms.py index 5f75fcee..fb710b04 100644 --- a/main/forms.py +++ b/main/forms.py @@ -1,5 +1,6 @@ import os import tempfile +from django import forms from shared.forms import ArticlesPageForm as SharedArticlesPageForm from shared.forms import JekyllImportForm as SharedJekyllImportForm @@ -7,6 +8,10 @@ from shared.forms import JekyllImportForm as SharedJekyllImportForm from .tasks import import_jekyll_articles +class CareerSubmissionForm(forms.Form): + pass + + class JekyllImportForm(SharedJekyllImportForm): def handle_import(self): lock_file_name = os.path.join( diff --git a/main/models.py b/main/models.py index 4920c4a7..0a59148c 100644 --- a/main/models.py +++ b/main/models.py @@ -9,6 +9,8 @@ from wagtail.fields import RichTextField, StreamField from wagtail.models import Page from wagtailmetadata.models import MetadataPageMixin from datetime import date +from django.contrib import messages +from django.shortcuts import render from shared import blocks as shared_blocks from shared.const import RICH_TEXT_DEFAULT_FEATURES @@ -32,7 +34,7 @@ from shared.models import ( # MenuMixin, from shared.utils import make_promote_panels from . import blocks -from .forms import MainArticlesPageForm +from .forms import MainArticlesPageForm, CareerSubmissionForm class MainHomePage(MainHomePageMixin): @@ -520,6 +522,30 @@ class MainCareerPage( parent_page_types = ["main.MainCareersPage"] + def serve(self, request): + form = None + + if request.method == 'POST': + form = CareerSubmissionForm(request.POST) + + if form.is_valid(): + # TODO + pass + + messages.add_message( + request, + messages.SUCCESS, + "Přihláška odeslána." + ) + else: + form = CareerSubmissionForm() + + return render(request, self.template, { + 'page': self, + 'self': self, + 'form': form, + }) + class Meta: verbose_name = "Pracovní nabídka" -- GitLab From 27c785160028c37c1f15d7f0259c072fd82adb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Wed, 11 Dec 2024 09:33:30 +0100 Subject: [PATCH 4/6] finish basic career page --- .../commands/octopus_people_import.py | 2 +- ...uspersonpage_originating_group_and_more.py | 33 ++-- .../0305_alter_districtcustompage_options.py | 10 +- .../0063_alter_electionssimplepage_options.py | 7 +- main/forms.py | 85 ++++++++- .../0132_alter_mainsimplepage_options.py | 7 +- .../0133_maincareerpage_maincareerspage.py | 80 +++++++-- ...4_alter_maincareerpage_options_and_more.py | 11 +- ...35_maincareerpage_created_date_and_more.py | 62 ++++--- .../0136_maincareerpage_category.py | 13 +- ...37_maincareerspage_perex_col_1_and_more.py | 31 ++-- .../migrations/0138_maincareerpage_content.py | 9 +- .../0139_maincareerpage_recipient_emails.py | 19 ++ main/models.py | 162 ++++++++++++------ main/templates/main/main_career_page.html | 114 +++--------- majak/settings/base.py | 1 + ..._octopuspersonoriginatinggroup_and_more.py | 31 +++- shared/people_import.py | 4 +- shared/static/styleguide2/pirati-ui.svg | 2 +- .../molecules/boxes/main/career_box.html | 2 +- .../organisms/header/main/career_header.html | 2 +- uniweb/migrations/0114_auto_20241122_1238.py | 7 +- 22 files changed, 447 insertions(+), 247 deletions(-) create mode 100644 main/migrations/0139_maincareerpage_recipient_emails.py diff --git a/district/management/commands/octopus_people_import.py b/district/management/commands/octopus_people_import.py index 16e331a4..83b7bc70 100644 --- a/district/management/commands/octopus_people_import.py +++ b/district/management/commands/octopus_people_import.py @@ -36,7 +36,7 @@ class Command(BaseCommand): if not hasattr(people_page.root_page, "image_collection_id"): # FIXME: This should not be UniwebHomePage, but sometimes it is. continue - + collection_id = people_page.root_page.image_collection_id if collection_id is None: diff --git a/district/migrations/0304_remove_districtoctopuspersonpage_originating_group_and_more.py b/district/migrations/0304_remove_districtoctopuspersonpage_originating_group_and_more.py index 4696fa53..96075507 100644 --- a/district/migrations/0304_remove_districtoctopuspersonpage_originating_group_and_more.py +++ b/district/migrations/0304_remove_districtoctopuspersonpage_originating_group_and_more.py @@ -4,29 +4,36 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('district', '0303_alter_districtcenterpage_content'), - ('shared', '0014_octopuspersonoriginatinggroup_and_more'), + ("district", "0303_alter_districtcenterpage_content"), + ("shared", "0014_octopuspersonoriginatinggroup_and_more"), ] operations = [ migrations.RemoveField( - model_name='districtoctopuspersonpage', - name='originating_group', + model_name="districtoctopuspersonpage", + name="originating_group", ), migrations.RemoveField( - model_name='districtoctopuspersonpage', - name='originating_team', + model_name="districtoctopuspersonpage", + name="originating_team", ), migrations.AddField( - model_name='districtoctopuspersonpage', - name='originating_groups', - field=models.ManyToManyField(help_text='Skupiny, ze kterých byla tato osba importována.', to='shared.octopuspersonoriginatinggroup', verbose_name='Skupiny'), + model_name="districtoctopuspersonpage", + name="originating_groups", + field=models.ManyToManyField( + help_text="Skupiny, ze kterých byla tato osba importována.", + to="shared.octopuspersonoriginatinggroup", + verbose_name="Skupiny", + ), ), migrations.AddField( - model_name='districtoctopuspersonpage', - name='originating_teams', - field=models.ManyToManyField(help_text='Týmy, ze kterých byla tato osba importována.', to='shared.octopuspersonoriginatingteam', verbose_name='Tým'), + model_name="districtoctopuspersonpage", + name="originating_teams", + field=models.ManyToManyField( + help_text="Týmy, ze kterých byla tato osba importována.", + to="shared.octopuspersonoriginatingteam", + verbose_name="Tým", + ), ), ] diff --git a/district/migrations/0305_alter_districtcustompage_options.py b/district/migrations/0305_alter_districtcustompage_options.py index 6b20ce54..b7ee5563 100644 --- a/district/migrations/0305_alter_districtcustompage_options.py +++ b/district/migrations/0305_alter_districtcustompage_options.py @@ -4,14 +4,16 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('district', '0304_remove_districtoctopuspersonpage_originating_group_and_more'), + ( + "district", + "0304_remove_districtoctopuspersonpage_originating_group_and_more", + ), ] operations = [ migrations.AlterModelOptions( - name='districtcustompage', - options={'verbose_name': 'Jednoduchá stránka'}, + name="districtcustompage", + options={"verbose_name": "Jednoduchá stránka"}, ), ] diff --git a/elections/migrations/0063_alter_electionssimplepage_options.py b/elections/migrations/0063_alter_electionssimplepage_options.py index 085f69f1..76a8469b 100644 --- a/elections/migrations/0063_alter_electionssimplepage_options.py +++ b/elections/migrations/0063_alter_electionssimplepage_options.py @@ -4,14 +4,13 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('elections', '0062_alter_electionsarticlepage_content'), + ("elections", "0062_alter_electionsarticlepage_content"), ] operations = [ migrations.AlterModelOptions( - name='electionssimplepage', - options={'verbose_name': 'Jednoduchá stránka'}, + name="electionssimplepage", + options={"verbose_name": "Jednoduchá stránka"}, ), ] diff --git a/main/forms.py b/main/forms.py index fb710b04..51f89000 100644 --- a/main/forms.py +++ b/main/forms.py @@ -1,5 +1,6 @@ import os import tempfile + from django import forms from shared.forms import ArticlesPageForm as SharedArticlesPageForm @@ -8,8 +9,90 @@ from shared.forms import JekyllImportForm as SharedJekyllImportForm from .tasks import import_jekyll_articles +class MultipleFileInput(forms.ClearableFileInput): + allow_multiple_selected = True + + +class MultipleFileField(forms.FileField): + def __init__(self, *args, **kwargs): + kwargs.setdefault("widget", MultipleFileInput()) + super().__init__(*args, **kwargs) + + def clean(self, data, initial=None): + single_file_clean = super().clean + if isinstance(data, (list, tuple)): + result = [single_file_clean(d, initial) for d in data] + else: + result = [single_file_clean(data, initial)] + return result + + class CareerSubmissionForm(forms.Form): - pass + name = forms.CharField( + min_length=1, + max_length=256, + required=True, + widget=forms.TextInput( + attrs={"placeholder": "Jméno", "class": "lg:w-auto w-full"} + ), + ) + + surname = forms.CharField( + min_length=1, + max_length=256, + required=True, + widget=forms.TextInput( + attrs={"placeholder": "Příjmení", "class": "lg:w-auto w-full"} + ), + ) + + email = forms.EmailField( + min_length=1, + max_length=256, + required=True, + widget=forms.EmailInput(attrs={"placeholder": "Email", "class": "w-full"}), + ) + + phone = forms.IntegerField( + required=True, + widget=forms.NumberInput( + attrs={"type": "tel", "placeholder": "Telefon", "class": "w-full"} + ), + ) + + own_text = forms.CharField( + widget=forms.Textarea( + attrs={ + "placeholder": "Vlastní text (nepovinný)", + "class": "w-full", + "rows": 3, + } + ), + max_length=65535, + required=False, + ) + + cv_file = forms.FileField( + required=True, + widget=forms.FileInput( + attrs={"class": "max-w-64 mr-auto overflow-hidden break-words"} + ), + ) + + cover_letter_file = forms.FileField( + required=True, + widget=forms.FileInput( + attrs={"class": "max-w-64 mr-auto overflow-hidden break-words"} + ), + ) + + other_files = MultipleFileField( + widget=MultipleFileInput( + attrs={"class": "max-w-64 mr-auto overflow-hidden break-words"} + ) + ) + + personal_data_agreement = forms.BooleanField(required=True) class JekyllImportForm(SharedJekyllImportForm): diff --git a/main/migrations/0132_alter_mainsimplepage_options.py b/main/migrations/0132_alter_mainsimplepage_options.py index 9c491cb2..645cd00a 100644 --- a/main/migrations/0132_alter_mainsimplepage_options.py +++ b/main/migrations/0132_alter_mainsimplepage_options.py @@ -4,14 +4,13 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0131_alter_mainarticlepage_content_and_more'), + ("main", "0131_alter_mainarticlepage_content_and_more"), ] operations = [ migrations.AlterModelOptions( - name='mainsimplepage', - options={'verbose_name': 'Jednoduchá stránka'}, + name="mainsimplepage", + options={"verbose_name": "Jednoduchá stránka"}, ), ] diff --git a/main/migrations/0133_maincareerpage_maincareerspage.py b/main/migrations/0133_maincareerpage_maincareerspage.py index 8861b37f..3dd36516 100644 --- a/main/migrations/0133_maincareerpage_maincareerspage.py +++ b/main/migrations/0133_maincareerpage_maincareerspage.py @@ -1,40 +1,90 @@ # Generated by Django 5.0.7 on 2024-12-09 15:00 import django.db.models.deletion -import shared.models.main import wagtailmetadata.models from django.db import migrations, models +import shared.models.main + class Migration(migrations.Migration): - dependencies = [ - ('main', '0132_alter_mainsimplepage_options'), - ('wagtailcore', '0094_alter_page_locale'), - ('wagtailimages', '0026_delete_uploadedimage'), + ("main", "0132_alter_mainsimplepage_options"), + ("wagtailcore", "0094_alter_page_locale"), + ("wagtailimages", "0026_delete_uploadedimage"), ] operations = [ migrations.CreateModel( - name='MainCareerPage', + name="MainCareerPage", fields=[ - ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), - ('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')), + ( + "page_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="wagtailcore.page", + ), + ), + ( + "search_image", + models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="+", + to="wagtailimages.image", + verbose_name="Search image", + ), + ), ], options={ - 'abstract': False, + "abstract": False, }, - bases=(shared.models.main.SubpageMixin, wagtailmetadata.models.WagtailImageMetadataMixin, 'wagtailcore.page', models.Model), + bases=( + shared.models.main.SubpageMixin, + wagtailmetadata.models.WagtailImageMetadataMixin, + "wagtailcore.page", + models.Model, + ), ), migrations.CreateModel( - name='MainCareersPage', + name="MainCareersPage", fields=[ - ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), - ('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')), + ( + "page_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="wagtailcore.page", + ), + ), + ( + "search_image", + models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="+", + to="wagtailimages.image", + verbose_name="Search image", + ), + ), ], options={ - 'abstract': False, + "abstract": False, }, - bases=(shared.models.main.SubpageMixin, wagtailmetadata.models.WagtailImageMetadataMixin, 'wagtailcore.page', models.Model), + bases=( + shared.models.main.SubpageMixin, + wagtailmetadata.models.WagtailImageMetadataMixin, + "wagtailcore.page", + models.Model, + ), ), ] diff --git a/main/migrations/0134_alter_maincareerpage_options_and_more.py b/main/migrations/0134_alter_maincareerpage_options_and_more.py index d393524d..fc77624c 100644 --- a/main/migrations/0134_alter_maincareerpage_options_and_more.py +++ b/main/migrations/0134_alter_maincareerpage_options_and_more.py @@ -4,18 +4,17 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0133_maincareerpage_maincareerspage'), + ("main", "0133_maincareerpage_maincareerspage"), ] operations = [ migrations.AlterModelOptions( - name='maincareerpage', - options={'verbose_name': 'Pracovní nabídka'}, + name="maincareerpage", + options={"verbose_name": "Pracovní nabídka"}, ), migrations.AlterModelOptions( - name='maincareerspage', - options={'verbose_name': 'Kariéry'}, + name="maincareerspage", + options={"verbose_name": "Kariéry"}, ), ] diff --git a/main/migrations/0135_maincareerpage_created_date_and_more.py b/main/migrations/0135_maincareerpage_created_date_and_more.py index 9d496acf..7d7958a5 100644 --- a/main/migrations/0135_maincareerpage_created_date_and_more.py +++ b/main/migrations/0135_maincareerpage_created_date_and_more.py @@ -1,49 +1,71 @@ # Generated by Django 5.0.7 on 2024-12-09 15:36 import datetime + from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0134_alter_maincareerpage_options_and_more'), + ("main", "0134_alter_maincareerpage_options_and_more"), ] operations = [ migrations.AddField( - model_name='maincareerpage', - name='created_date', - field=models.DateField(default=datetime.date.today, verbose_name='Datum vytvoření'), + model_name="maincareerpage", + name="created_date", + field=models.DateField( + default=datetime.date.today, verbose_name="Datum vytvoření" + ), ), migrations.AddField( - model_name='maincareerpage', - name='employment_relationship', - field=models.CharField(default=None, help_text="Např. 'Rámcová smlouva na dobu určitou'", max_length=128, verbose_name='Poměr'), + model_name="maincareerpage", + name="employment_relationship", + field=models.CharField( + default=None, + help_text="Např. 'Rámcová smlouva na dobu určitou'", + max_length=128, + verbose_name="Poměr", + ), preserve_default=False, ), migrations.AddField( - model_name='maincareerpage', - name='location', - field=models.CharField(default=None, help_text="Např. 'Středočeský kraj'", max_length=64, verbose_name='Místo výkonu práce'), + model_name="maincareerpage", + name="location", + field=models.CharField( + default=None, + help_text="Např. 'Středočeský kraj'", + max_length=64, + verbose_name="Místo výkonu práce", + ), preserve_default=False, ), migrations.AddField( - model_name='maincareerpage', - name='pay_rate', - field=models.CharField(default=None, help_text="Např. '300-350 Kč/h'", max_length=64, verbose_name='Odměna'), + model_name="maincareerpage", + name="pay_rate", + field=models.CharField( + default=None, + help_text="Např. '300-350 Kč/h'", + max_length=64, + verbose_name="Odměna", + ), preserve_default=False, ), migrations.AddField( - model_name='maincareerpage', - name='submission_end_date', - field=models.DateField(default=None, verbose_name='Datum konce přihlášek'), + model_name="maincareerpage", + name="submission_end_date", + field=models.DateField(default=None, verbose_name="Datum konce přihlášek"), preserve_default=False, ), migrations.AddField( - model_name='maincareerpage', - name='time_cost', - field=models.CharField(default=None, help_text="Např. '8h denně'", max_length=64, verbose_name='Časová náročnost'), + model_name="maincareerpage", + name="time_cost", + field=models.CharField( + default=None, + help_text="Např. '8h denně'", + max_length=64, + verbose_name="Časová náročnost", + ), preserve_default=False, ), ] diff --git a/main/migrations/0136_maincareerpage_category.py b/main/migrations/0136_maincareerpage_category.py index 67b5a7e1..775263fd 100644 --- a/main/migrations/0136_maincareerpage_category.py +++ b/main/migrations/0136_maincareerpage_category.py @@ -4,16 +4,19 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0135_maincareerpage_created_date_and_more'), + ("main", "0135_maincareerpage_created_date_and_more"), ] operations = [ migrations.AddField( - model_name='maincareerpage', - name='category', - field=models.CharField(default='Bez kategorie', help_text="Např. 'Koordinátor/ka', 'Programátor/ka', 'Volební manažer/ka', ...", verbose_name='Kategorie pracovní pozice'), + model_name="maincareerpage", + name="category", + field=models.CharField( + default="Bez kategorie", + help_text="Např. 'Koordinátor/ka', 'Programátor/ka', 'Volební manažer/ka', ...", + verbose_name="Kategorie pracovní pozice", + ), preserve_default=False, ), ] diff --git a/main/migrations/0137_maincareerspage_perex_col_1_and_more.py b/main/migrations/0137_maincareerspage_perex_col_1_and_more.py index 89f09a9c..9f923809 100644 --- a/main/migrations/0137_maincareerspage_perex_col_1_and_more.py +++ b/main/migrations/0137_maincareerspage_perex_col_1_and_more.py @@ -4,25 +4,34 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0136_maincareerpage_category'), + ("main", "0136_maincareerpage_category"), ] operations = [ migrations.AddField( - model_name='maincareerspage', - name='perex_col_1', - field=models.TextField(blank=True, null=True, verbose_name='Perex - první sloupec'), + model_name="maincareerspage", + name="perex_col_1", + field=models.TextField( + blank=True, null=True, verbose_name="Perex - první sloupec" + ), ), migrations.AddField( - model_name='maincareerspage', - name='perex_col_2', - field=models.TextField(blank=True, null=True, verbose_name='Perex - druhý sloupec'), + model_name="maincareerspage", + name="perex_col_2", + field=models.TextField( + blank=True, null=True, verbose_name="Perex - druhý sloupec" + ), ), migrations.AddField( - model_name='maincareerspage', - name='subheading', - field=models.CharField(blank=True, help_text='Text pod hlavním nadpisem stránky', max_length=32, null=True, verbose_name='Podtitulek'), + model_name="maincareerspage", + name="subheading", + field=models.CharField( + blank=True, + help_text="Text pod hlavním nadpisem stránky", + max_length=32, + null=True, + verbose_name="Podtitulek", + ), ), ] diff --git a/main/migrations/0138_maincareerpage_content.py b/main/migrations/0138_maincareerpage_content.py index 283c67b8..2be821d3 100644 --- a/main/migrations/0138_maincareerpage_content.py +++ b/main/migrations/0138_maincareerpage_content.py @@ -5,15 +5,14 @@ from django.db import migrations class Migration(migrations.Migration): - dependencies = [ - ('main', '0137_maincareerspage_perex_col_1_and_more'), + ("main", "0137_maincareerspage_perex_col_1_and_more"), ] operations = [ migrations.AddField( - model_name='maincareerpage', - name='content', - field=wagtail.fields.RichTextField(blank=True, verbose_name='Text nabídky'), + model_name="maincareerpage", + name="content", + field=wagtail.fields.RichTextField(blank=True, verbose_name="Text nabídky"), ), ] diff --git a/main/migrations/0139_maincareerpage_recipient_emails.py b/main/migrations/0139_maincareerpage_recipient_emails.py new file mode 100644 index 00000000..59783e9e --- /dev/null +++ b/main/migrations/0139_maincareerpage_recipient_emails.py @@ -0,0 +1,19 @@ +# Generated by Django 5.0.7 on 2024-12-10 16:50 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0138_maincareerpage_content'), + ] + + operations = [ + migrations.AddField( + model_name='maincareerpage', + name='recipient_emails', + field=models.CharField(default='', help_text='Zadej buď jednu adresu, nebo víc, oddělených čárkami.', verbose_name='Příjemci emailů o nových přihláškách'), + preserve_default=False, + ), + ] diff --git a/main/models.py b/main/models.py index 0a59148c..e9c2f00c 100644 --- a/main/models.py +++ b/main/models.py @@ -1,4 +1,9 @@ +from datetime import date, datetime + +from django.contrib import messages +from django.core.mail import EmailMessage from django.db import models +from django.shortcuts import render from modelcluster.contrib.taggit import ClusterTaggableManager from modelcluster.fields import ParentalKey, ParentalManyToManyField from taggit.models import TaggedItemBase @@ -8,9 +13,6 @@ from wagtail.contrib.routable_page.models import route from wagtail.fields import RichTextField, StreamField from wagtail.models import Page from wagtailmetadata.models import MetadataPageMixin -from datetime import date -from django.contrib import messages -from django.shortcuts import render from shared import blocks as shared_blocks from shared.const import RICH_TEXT_DEFAULT_FEATURES @@ -34,7 +36,7 @@ from shared.models import ( # MenuMixin, from shared.utils import make_promote_panels from . import blocks -from .forms import MainArticlesPageForm, CareerSubmissionForm +from .forms import CareerSubmissionForm, MainArticlesPageForm class MainHomePage(MainHomePageMixin): @@ -95,7 +97,6 @@ class MainHomePage(MainHomePageMixin): class Meta: verbose_name = "HomePage pirati.cz" - @property def careers_page(self): return self._first_subpage_of_type(MainCareersPage) @@ -383,7 +384,7 @@ class MainCareersPage( help_text="Text pod hlavním nadpisem stránky", max_length=32, blank=True, - null=True + null=True, ) perex_col_1 = models.TextField( @@ -416,26 +417,16 @@ class MainCareersPage( def get_career_categories(self) -> list[str]: return ( - MainCareerPage. - objects. - child_of(self). - live(). - distinct("category"). - values_list("category", flat=True). - order_by("category"). - all() + MainCareerPage.objects.child_of(self) + .live() + .distinct("category") + .values_list("category", flat=True) + .order_by("category") + .all() ) - def get_career_pages(self): - return ( - MainCareerPage. - objects. - child_of(self). - live(). - all() - ) - + return MainCareerPage.objects.child_of(self).live().all() class Meta: verbose_name = "Kariéry" @@ -444,11 +435,18 @@ class MainCareersPage( class MainCareerPage( ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, PageInMenuMixin, Page ): + recipient_emails = models.CharField( + verbose_name="Příjemci emailů o nových přihláškách", + help_text="Zadej buď jednu adresu, nebo víc, oddělených čárkami.", + blank=False, + null=False, + ) + category = models.CharField( verbose_name="Kategorie pracovní pozice", help_text="Např. 'Koordinátor/ka', 'Programátor/ka', 'Volební manažer/ka', ...", blank=False, - null=False + null=False, ) location = models.CharField( @@ -456,7 +454,7 @@ class MainCareerPage( help_text="Např. 'Středočeský kraj'", max_length=64, blank=False, - null=False + null=False, ) time_cost = models.CharField( @@ -464,7 +462,7 @@ class MainCareerPage( help_text="Např. '8h denně'", max_length=64, blank=False, - null=False + null=False, ) employment_relationship = models.CharField( @@ -472,7 +470,7 @@ class MainCareerPage( help_text="Např. 'Rámcová smlouva na dobu určitou'", max_length=128, blank=False, - null=False + null=False, ) pay_rate = models.CharField( @@ -480,7 +478,7 @@ class MainCareerPage( help_text="Např. '300-350 Kč/h'", max_length=64, blank=False, - null=False + null=False, ) submission_end_date = models.DateField( @@ -488,18 +486,13 @@ class MainCareerPage( blank=False, null=False, ) - + created_date = models.DateField( - verbose_name="Datum vytvoření", - blank=False, - null=False, - default=date.today + verbose_name="Datum vytvoření", blank=False, null=False, default=date.today ) content = RichTextField( - "Text nabídky", - blank=True, - features=RICH_TEXT_DEFAULT_FEATURES + "Text nabídky", blank=True, features=RICH_TEXT_DEFAULT_FEATURES ) content_panels = Page.content_panels + [ @@ -508,15 +501,14 @@ class MainCareerPage( FieldPanel("submission_end_date"), FieldPanel("created_date"), ], - "Datumy" + "Datumy", ), - + FieldPanel("recipient_emails"), FieldPanel("category"), FieldPanel("location"), FieldPanel("time_cost"), FieldPanel("employment_relationship"), FieldPanel("pay_rate"), - FieldPanel("content"), ] @@ -524,27 +516,93 @@ class MainCareerPage( def serve(self, request): form = None + current_time = datetime.now() - if request.method == 'POST': - form = CareerSubmissionForm(request.POST) + if request.method == "POST": + form = CareerSubmissionForm(request.POST, request.FILES) if form.is_valid(): - # TODO - pass - + other_files_names = "" + + for file in form.cleaned_data["other_files"]: + other_files_names += f" - {file.name}\n" + + email = EmailMessage( + # Subject + f"Nová přihláška k pracovní pozici {self.title} - {form.cleaned_data['name']} {form.cleaned_data['surname']}", + # Message + ( + f""" +K pracovní pozici {self.title} se {current_time} přihlásil nový zájemce. + +Vyplněné údaje: + + Jméno: {form.cleaned_data['name']} + Příjmení: {form.cleaned_data['surname']} + E-mail: {form.cleaned_data['email']} + Telefon: {form.cleaned_data['phone']} + Vlastní text: {form.cleaned_data['own_text'] if form.cleaned_data['own_text'] else '(nevyplněn)'} + +CV, motivační dopis a ostatní soubory jsou v přílohách. Názvy souborů: + + CV: {form.cleaned_data["cv_file"].name} + Mot. dopis: {form.cleaned_data["cover_letter_file"].name} + Ostatní soubory: +{other_files_names} + +Při otevírání souborů buďte opatrní, virový sken neproběhl! + """ + ), + # From email + "vyberka@pirati.cz", + # Recipient list + self.recipient_emails.split(","), + ) + + email.attach( + form.cleaned_data["cv_file"].name, + form.cleaned_data["cv_file"].read(), + form.cleaned_data["cv_file"].content_type, + ) + email.attach( + form.cleaned_data["cover_letter_file"].name, + form.cleaned_data["cover_letter_file"].read(), + form.cleaned_data["cover_letter_file"].content_type, + ) + + for file in form.cleaned_data["other_files"]: + email.attach(file.name, file.read(), file.content_type) + + sent_successfully = email.send(fail_silently=True) + + if sent_successfully: + messages.add_message( + request, messages.SUCCESS, "Přihláška odeslána." + ) + else: + messages.add_message( + request, + messages.ERROR, + "Chyba serveru při odesílání přihlášky.", + ) + else: messages.add_message( request, - messages.SUCCESS, - "Přihláška odeslána." + messages.ERROR, + "Chyba při odeslání přihlášky - prohlížeč odeslal chybná data.", ) else: form = CareerSubmissionForm() - return render(request, self.template, { - 'page': self, - 'self': self, - 'form': form, - }) + return render( + request, + self.template, + { + "page": self, + "self": self, + "form": form, + }, + ) class Meta: verbose_name = "Pracovní nabídka" @@ -560,4 +618,4 @@ class MainSearchPage(MainSearchPageMixin): MainArticlePage, MainPersonPage, MainSimplePage, - ] \ No newline at end of file + ] diff --git a/main/templates/main/main_career_page.html b/main/templates/main/main_career_page.html index 98503165..06719098 100644 --- a/main/templates/main/main_career_page.html +++ b/main/templates/main/main_career_page.html @@ -34,6 +34,7 @@ role="dialog" aria-modal="true" aria-labelledby="modal-1-title" + enctype="multipart/form-data" method="POST" action="" > @@ -48,134 +49,71 @@ <section class=" flex gap-4 flex-nowrap flex-col w-full - + lg:flex-row lg:gap-2 " > + {% csrf_token %} + <div class="lg:w-auto w-full"> - <input - type="text" - name="name" - maxlength="256" - placeholder="Jméno" - id="id_name" - class="lg:w-auto w-full" - required - > + {{ form.name }} </div> <div class="lg:w-auto w-full"> - <input - type="text" - name="surname" - maxlength="256" - placeholder="Příjmení" - id="id_surname" - class="lg:w-auto w-full" - required - > + {{ form.surname }} </div> </section> <section> <div class="w-full"> - <input - class="w-full" - type="email" - name="email" - maxlength="256" - id="id_email" - placeholder="E-mail" - required - > + {{ form.email }} </div> </section> <section> <div class="w-full"> - <input - class="w-full" - type="tel" - name="phone" - maxlength="19" - id="id_phone" - placeholder="Telefon" - required - > + {{ form.phone }} </div> </section> <section> <div class="w-full"> - <textarea - class="w-full" - name="custom_text" - maxlength="65535" - id="id_custom_text" - placeholder="Vlastní text (nepovinný)" - ></textarea> + {{ form.own_text }} </div> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label class="w-36" - for="cv" + for="id_cv" id="cv_label" >CV: </label> - - <input - type="file" - id="cv" - name="cv" - aria-labelledby="cv_label" - class="max-w-64 mr-auto overflow-hidden break-words" - required - > - + + {{ form.cv_file }} + <small class="text-grey-300">(Povinné)</small> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label class="w-36" id="cover_letter_label" - for="cover_letter" + for="id_cover_letter_file" >Mot. dopis: </label> - - <input - type="file" - id="cover_letter" - name="cover_letter" - aria-labelledby="cover_letter_label" - class="max-w-64 mr-auto overflow-hidden break-words" - required - > - + + {{ form.cover_letter_file }} + <small class="text-grey-300">(Povinný)</small> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label class="w-36" id="other_files_label" - for="other_files" + for="id_other_files" >Ostatní soubory: </label> - - <input - type="file" - id="other_files" - name="other_files" - aria-labelledby="other_files_label" - class="max-w-64 mr-auto overflow-hidden break-words" - multiple - > + + {{ form.other_files }} </section> - + <section class="flex flex-row gap-3 items-start leading-none"> - <input - type="checkbox" - id="personal_data_agreement" - name="personal_data_agreement" - aria-labelledby="personal_data_agreement_label" - required - > - + {{ form.personal_data_agreement }} + <label - for="personal_data_agreement" + for="id_personal_data_agreement" >Souhlasím se zpracováním osobním údajů (povinné)</label> </section> </div> @@ -183,7 +121,7 @@ <footer class=" modal__footer flex gap-2 justify-end flex-col items-end - + lg:items-start lg:gap-4 lg:flex-row " > @@ -191,7 +129,7 @@ {% include "styleguide2/includes/atoms/buttons/round_button_form.html" with type="button" text="Zrušit" show_arrow_on_hover=True %} </div> <div> - {% include "styleguide2/includes/atoms/buttons/round_button_form.html" with type="submit" fill="#fff" classes="bg-pirati-yellow text-black" text="Odeslat přihlášku" %} + {% include "styleguide2/includes/atoms/buttons/round_button_form.html" with type="submit" fill="#fff" classes="bg-pirati-yellow text-black" text="Odeslat přihlášku" show_arrow_on_hover=True %} </div> </footer> </form> diff --git a/majak/settings/base.py b/majak/settings/base.py index 939d0729..3012a6e8 100644 --- a/majak/settings/base.py +++ b/majak/settings/base.py @@ -173,6 +173,7 @@ EMAIL_HOST_USER = env.str("EMAIL_HOST_USER", "") EMAIL_HOST_PASSWORD = env.str("EMAIL_HOST_PASSWORD", "") EMAIL_PORT = env.str("EMAIL_PORT", "") EMAIL_SUBJECT_PREFIX = env.str("EMAIL_SUBJECT_PREFIX", "[Piráti] ") +EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", False) # LOGGING diff --git a/shared/migrations/0014_octopuspersonoriginatinggroup_and_more.py b/shared/migrations/0014_octopuspersonoriginatinggroup_and_more.py index 02c5c6e3..a2d5843d 100644 --- a/shared/migrations/0014_octopuspersonoriginatinggroup_and_more.py +++ b/shared/migrations/0014_octopuspersonoriginatinggroup_and_more.py @@ -4,24 +4,39 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('shared', '0013_alter_octopusperson_order'), + ("shared", "0013_alter_octopusperson_order"), ] operations = [ migrations.CreateModel( - name='OctopusPersonOriginatingGroup', + name="OctopusPersonOriginatingGroup", fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=128)), + ( + "id", + models.AutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ("name", models.CharField(max_length=128)), ], ), migrations.CreateModel( - name='OctopusPersonOriginatingTeam', + name="OctopusPersonOriginatingTeam", fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=128)), + ( + "id", + models.AutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ("name", models.CharField(max_length=128)), ], ), ] diff --git a/shared/people_import.py b/shared/people_import.py index 2d210e92..81877be9 100644 --- a/shared/people_import.py +++ b/shared/people_import.py @@ -7,8 +7,8 @@ import requests from django.conf import settings from django.core.files.images import ImageFile from gql import Client, gql -from gql.transport.exceptions import TransportServerError from gql.transport.aiohttp import AIOHTTPTransport +from gql.transport.exceptions import TransportServerError from wagtail.images.models import Image from wagtail.models.media import Collection @@ -480,7 +480,7 @@ class PeopleTeamImporter(ImporterMixin): logger.warning( f"Error getting data for group %s: %s", self.team_shortcut, - str(exception) + str(exception), ) return [] diff --git a/shared/static/styleguide2/pirati-ui.svg b/shared/static/styleguide2/pirati-ui.svg index ffc20ecc..c6e3a71a 100644 --- a/shared/static/styleguide2/pirati-ui.svg +++ b/shared/static/styleguide2/pirati-ui.svg @@ -127,4 +127,4 @@ <glyph unicode="" glyph-name="price-tags" horiz-adv-x="1280" d="M1232 960h-384c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l476.118 476.118c18.666 18.666 33.94 55.54 33.94 81.94v384c0 26.4-21.6 48-48 48zM992 576c-53.020 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96-42.98-96-96-96zM128 416l544 544h-80c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l30.058 30.058-416 416z" /> <glyph unicode="" glyph-name="twitter" horiz-adv-x="1001" d="M596.009 526.629l372.819 433.371h-88.346l-323.718-376.29-258.553 376.29h-298.21l390.983-569.018-390.983-454.457h88.351l341.855 397.375 273.051-397.375h298.21l-405.458 590.103zM475 385.969l-354.815 507.521h135.702l624.636-893.48h-135.702l-269.821 385.959z" /> <glyph unicode="" glyph-name="stats-dots" d="M128 64h896v-128h-1024v1024h128zM288 128c-53.020 0-96 42.98-96 96s42.98 96 96 96c2.828 0 5.622-0.148 8.388-0.386l103.192 171.986c-9.84 15.070-15.58 33.062-15.58 52.402 0 53.020 42.98 96 96 96s96-42.98 96-96c0-19.342-5.74-37.332-15.58-52.402l103.192-171.986c2.766 0.238 5.56 0.386 8.388 0.386 2.136 0 4.248-0.094 6.35-0.23l170.356 298.122c-10.536 15.408-16.706 34.036-16.706 54.11 0 53.020 42.98 96 96 96s96-42.98 96-96c0-53.020-42.98-96-96-96-2.14 0-4.248 0.094-6.35 0.232l-170.356-298.124c10.536-15.406 16.706-34.036 16.706-54.11 0-53.020-42.98-96-96-96s-96 42.98-96 96c0 19.34 5.74 37.332 15.578 52.402l-103.19 171.984c-2.766-0.238-5.56-0.386-8.388-0.386s-5.622 0.146-8.388 0.386l-103.192-171.986c9.84-15.068 15.58-33.060 15.58-52.4 0-53.020-42.98-96-96-96z" /> -</font></defs></svg> \ No newline at end of file +</font></defs></svg> diff --git a/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html b/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html index 6107ce37..0a139c46 100644 --- a/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html +++ b/shared/templates/styleguide2/includes/molecules/boxes/main/career_box.html @@ -23,4 +23,4 @@ {% include "styleguide2/includes/atoms/buttons/round_button.html" with fill="#fff" classes="bg-pirati-yellow text-black" text="Více" url=career.url show_arrow_on_hover=True %} </div> </div> -</div> \ No newline at end of file +</div> diff --git a/shared/templates/styleguide2/includes/organisms/header/main/career_header.html b/shared/templates/styleguide2/includes/organisms/header/main/career_header.html index 23898c67..9070aae3 100644 --- a/shared/templates/styleguide2/includes/organisms/header/main/career_header.html +++ b/shared/templates/styleguide2/includes/organisms/header/main/career_header.html @@ -4,4 +4,4 @@ {% include 'styleguide2/includes/atoms/header/navigation.html' with classes='mb-6' first_text="Pracovní nabídky" first_link=page.root_page.careers_page.url second_text=page.created_date %} {% endblock %} -{% block heading_classes %}head-8xl{% endblock %} \ No newline at end of file +{% block heading_classes %}head-8xl{% endblock %} diff --git a/uniweb/migrations/0114_auto_20241122_1238.py b/uniweb/migrations/0114_auto_20241122_1238.py index ad98c190..a7655234 100644 --- a/uniweb/migrations/0114_auto_20241122_1238.py +++ b/uniweb/migrations/0114_auto_20241122_1238.py @@ -21,11 +21,8 @@ def fix_po_people_page(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ - ('uniweb', '0113_alter_uniwebhomepage_dark_logo_and_more'), + ("uniweb", "0113_alter_uniwebhomepage_dark_logo_and_more"), ] - operations = [ - migrations.RunPython(fix_po_people_page) - ] + operations = [migrations.RunPython(fix_po_people_page)] -- GitLab From c274d7a5a1b3a251b9da1509e37a155b522a7325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Wed, 11 Dec 2024 18:11:11 +0100 Subject: [PATCH 5/6] scan attachments with clamav --- .isort.cfg | 2 +- README.md | 2 + main/forms.py | 60 ++++++- main/middlewares.py | 40 +++++ .../0139_maincareerpage_recipient_emails.py | 13 +- main/models.py | 21 ++- main/templates/main/main_career_page.html | 12 +- majak/settings/base.py | 7 + requirements/base.in | 2 + requirements/base.txt | 161 +++++++++--------- requirements/dev.txt | 36 ++-- requirements/production.txt | 6 +- .../includes/organisms/layout/messages.html | 2 +- 13 files changed, 247 insertions(+), 117 deletions(-) create mode 100644 main/middlewares.py diff --git a/.isort.cfg b/.isort.cfg index 90a916d6..86199fdc 100644 --- a/.isort.cfg +++ b/.isort.cfg @@ -3,4 +3,4 @@ line_length = 88 multi_line_output = 3 include_trailing_comma = true -known_third_party = PyPDF2,arrow,bleach,bs4,captcha,celery,dateutil,django,environ,faker,fastjsonschema,gql,httplib2,icalendar,instaloader,markdown,modelcluster,nh3,pirates,pytest,pytz,requests,sentry_sdk,taggit,wagtail,wagtailmetadata,weasyprint,willow,yaml +known_third_party = PyPDF2,arrow,bleach,bs4,captcha,celery,dateutil,django,django_ratelimit,environ,faker,fastjsonschema,gql,httplib2,icalendar,instaloader,markdown,modelcluster,nh3,pirates,pytest,pytz,requests,sentry_sdk,taggit,wagtail,wagtailmetadata,weasyprint,willow,yaml diff --git a/README.md b/README.md index ba48d873..dfe3d884 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,8 @@ V produkci musí být navíc nastaveno: | `EMAIL_HOST_USER` | --||-- Username | | `EMAIL_HOST_PASSWORD` | --||-- Heslo | | `EMAIL_PORT` | --||-- Port | +| `CLAMD_TCP_ADDR` | ClamAV host (pro skenování virů v nahraných souborech) | +| `CLAMD_TCP_SOCKET` | ClamAV socket | Různé: diff --git a/main/forms.py b/main/forms.py index 51f89000..f01f1d9e 100644 --- a/main/forms.py +++ b/main/forms.py @@ -2,6 +2,7 @@ import os import tempfile from django import forms +from django.core.exceptions import ValidationError from shared.forms import ArticlesPageForm as SharedArticlesPageForm from shared.forms import JekyllImportForm as SharedJekyllImportForm @@ -18,15 +19,53 @@ class MultipleFileField(forms.FileField): kwargs.setdefault("widget", MultipleFileInput()) super().__init__(*args, **kwargs) + TOTAL_MAX_FILE_SIZE = 25 * 1024 * 1024 # 25 MB + def clean(self, data, initial=None): single_file_clean = super().clean + if isinstance(data, (list, tuple)): + total_size = 0 + + for file in data: + total_size += file.size + + if total_size > self.TOTAL_MAX_FILE_SIZE: + raise ValidationError( + "Celková velikost nahraných souborů je příliš velká." + ) + result = [single_file_clean(d, initial) for d in data] else: result = [single_file_clean(data, initial)] + return result +# Allowed MIME types +ALLOWED_FILE_TYPES = [ + "application/pdf", # PDF + "application/msword", # DOC + "application/vnd.openxmlformats-officedocument.wordprocessingml.document", # DOCX + "image/png", # PNG + "application/vnd.oasis.opendocument.text", # ODT +] + + +def validate_file_type(file): + if file.content_type not in ALLOWED_FILE_TYPES: + raise ValidationError( + f"Chybný formát souboru: {file.content_type}. Povolené jsou pouze PDF, DOC, DOCX, PNG, and ODT." + ) + + +def validate_file_size(file, max_size=10 * 1024 * 1024): # Default: 10 MB + if file.size > max_size: + raise ValidationError( + f"Soubory mohou být max. {max_size / (1024 * 1024)} MB velké." + ) + + class CareerSubmissionForm(forms.Form): name = forms.CharField( min_length=1, @@ -74,22 +113,35 @@ class CareerSubmissionForm(forms.Form): cv_file = forms.FileField( required=True, + validators=[validate_file_type, validate_file_size], widget=forms.FileInput( - attrs={"class": "max-w-64 mr-auto overflow-hidden break-words"} + attrs={ + "class": "max-w-64 mr-auto overflow-hidden break-words", + "accept": ".pdf,.doc,.docx,.png,.odt", + } ), ) cover_letter_file = forms.FileField( required=True, + validators=[validate_file_type, validate_file_size], widget=forms.FileInput( - attrs={"class": "max-w-64 mr-auto overflow-hidden break-words"} + attrs={ + "class": "max-w-64 mr-auto overflow-hidden break-words", + "accept": ".pdf,.doc,.docx,.png,.odt", + } ), ) other_files = MultipleFileField( + required=False, + validators=[validate_file_type, validate_file_size], widget=MultipleFileInput( - attrs={"class": "max-w-64 mr-auto overflow-hidden break-words"} - ) + attrs={ + "class": "max-w-64 mr-auto overflow-hidden break-words", + "accept": ".pdf,.doc,.docx,.png,.odt", + } + ), ) personal_data_agreement = forms.BooleanField(required=True) diff --git a/main/middlewares.py b/main/middlewares.py new file mode 100644 index 00000000..b136e1ee --- /dev/null +++ b/main/middlewares.py @@ -0,0 +1,40 @@ +from io import BytesIO + +import clamd +from django.conf import settings +from django.http import HttpResponseForbidden + + +class ClamAVMiddleware: + def __init__(self, get_response): + self.get_response = get_response + # One-time configuration and initialization. + + def __call__(self, request): + # Code to be executed for each request before + # the view (and later middleware) are called. + + # If there is no Clamd connection set, don't check files as we are presumably + # in a development environment. + if not settings.CLAMD_TCP_SOCKET or not settings.CLAMD_TCP_ADDR: + return self.get_response(request) + + cd = clamd.ClamdNetworkSocket( + host=settings.CLAMD_TCP_ADDR, port=settings.CLAMD_TCP_SOCKET, timeout=120 + ) + + if request.method == "POST" and len(request.FILES) > 0: + for file_ in request.FILES.values(): + scan_result = cd.instream(BytesIO(file_.read())) + + if scan_result["stream"][0] == "FOUND": + return HttpResponseForbidden( + "Nahraný soubor obsahuje potenciálně škodlivý obsah." + ) + + response = self.get_response(request) + + # Code to be executed for each request/response after + # the view is called. + + return response diff --git a/main/migrations/0139_maincareerpage_recipient_emails.py b/main/migrations/0139_maincareerpage_recipient_emails.py index 59783e9e..7cebf5cb 100644 --- a/main/migrations/0139_maincareerpage_recipient_emails.py +++ b/main/migrations/0139_maincareerpage_recipient_emails.py @@ -4,16 +4,19 @@ from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ - ('main', '0138_maincareerpage_content'), + ("main", "0138_maincareerpage_content"), ] operations = [ migrations.AddField( - model_name='maincareerpage', - name='recipient_emails', - field=models.CharField(default='', help_text='Zadej buď jednu adresu, nebo víc, oddělených čárkami.', verbose_name='Příjemci emailů o nových přihláškách'), + model_name="maincareerpage", + name="recipient_emails", + field=models.CharField( + default="", + help_text="Zadej buď jednu adresu, nebo víc, oddělených čárkami.", + verbose_name="Příjemci emailů o nových přihláškách", + ), preserve_default=False, ), ] diff --git a/main/models.py b/main/models.py index e9c2f00c..91500894 100644 --- a/main/models.py +++ b/main/models.py @@ -1,9 +1,11 @@ from datetime import date, datetime from django.contrib import messages +from django.core.exceptions import PermissionDenied from django.core.mail import EmailMessage from django.db import models from django.shortcuts import render +from django_ratelimit.core import is_ratelimited from modelcluster.contrib.taggit import ClusterTaggableManager from modelcluster.fields import ParentalKey, ParentalManyToManyField from taggit.models import TaggedItemBase @@ -515,6 +517,11 @@ class MainCareerPage( parent_page_types = ["main.MainCareersPage"] def serve(self, request): + if is_ratelimited( + request, group="career_submissions", key="ip", rate="2/m", method="POST" + ): + raise PermissionDenied("Rate limit exceeded") + form = None current_time = datetime.now() @@ -573,7 +580,7 @@ Při otevírání souborů buďte opatrní, virový sken neproběhl! for file in form.cleaned_data["other_files"]: email.attach(file.name, file.read(), file.content_type) - sent_successfully = email.send(fail_silently=True) + sent_successfully = email.send() if sent_successfully: messages.add_message( @@ -583,13 +590,21 @@ Při otevírání souborů buďte opatrní, virový sken neproběhl! messages.add_message( request, messages.ERROR, - "Chyba serveru při odesílání přihlášky.", + "Odeslání přihlášky selhalo. Zkuste to znovu.", ) else: + errors = "" + + for error_val in form.errors.values(): + errors += f"{error_val.as_text()}\n" + messages.add_message( request, messages.ERROR, - "Chyba při odeslání přihlášky - prohlížeč odeslal chybná data.", + f""" +Odeslání přihlášky selhalo: +{errors} +""", ) else: form = CareerSubmissionForm() diff --git a/main/templates/main/main_career_page.html b/main/templates/main/main_career_page.html index 06719098..060e80d3 100644 --- a/main/templates/main/main_career_page.html +++ b/main/templates/main/main_career_page.html @@ -86,7 +86,7 @@ {{ form.cv_file }} - <small class="text-grey-300">(Povinné)</small> + <small class="text-grey-300">(Povinné, max. 10 MB)</small> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label @@ -97,7 +97,7 @@ {{ form.cover_letter_file }} - <small class="text-grey-300">(Povinný)</small> + <small class="text-grey-300">(Povinný, max. 10 MB)</small> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label @@ -106,7 +106,13 @@ for="id_other_files" >Ostatní soubory: </label> - {{ form.other_files }} + <div class="flex flex-col gap-2"> + {{ form.other_files }} + + <small class="text-grey-300"> + (Max. 10 MB na jeden soubor, 25 MB celkem) + </small> + </div> </section> <section class="flex flex-row gap-3 items-start leading-none"> diff --git a/majak/settings/base.py b/majak/settings/base.py index 3012a6e8..9088da18 100644 --- a/majak/settings/base.py +++ b/majak/settings/base.py @@ -115,6 +115,7 @@ MIDDLEWARE = [ "django.middleware.clickjacking.XFrameOptionsMiddleware", "django.middleware.security.SecurityMiddleware", "wagtail.contrib.redirects.middleware.RedirectMiddleware", + "main.middlewares.ClamAVMiddleware", ] # STATIC @@ -163,6 +164,12 @@ CSRF_COOKIE_HTTPONLY = True SECURE_BROWSER_XSS_FILTER = True X_FRAME_OPTIONS = "DENY" +# ClamAV + +CLAMD_USE_TCP = True +CLAMD_TCP_SOCKET = env.int("CLAMD_TCP_SOCKET", default=0) +CLAMD_TCP_ADDR = env.str("CLAMD_TCP_ADDR", default="") + # needed for editing large map collections DATA_UPLOAD_MAX_NUMBER_FIELDS = None diff --git a/requirements/base.in b/requirements/base.in index 57010e17..3f2dd2a6 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -1,3 +1,4 @@ +clamd wagtail wagtail-metadata wagtail-trash @@ -7,6 +8,7 @@ django-extensions django-redis django-settings-export django-widget-tweaks +django-ratelimit django-simple-captcha gql[all] numpy diff --git a/requirements/base.txt b/requirements/base.txt index 28152d4f..56b9bb03 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -2,29 +2,29 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile base.in +# pip-compile requirements/base.in # -aiohappyeyeballs==2.4.3 +aiohappyeyeballs==2.4.4 # via aiohttp -aiohttp==3.10.10 +aiohttp==3.11.10 # via gql aiosignal==1.3.1 # via aiohttp -amqp==5.2.0 +amqp==5.3.1 # via kombu anyascii==0.3.2 # via wagtail -anyio==4.6.2.post1 +anyio==4.7.0 # via # gql # httpx arrow==1.3.0 # via - # -r base.in + # -r requirements/base.in # ics asgiref==3.8.1 # via django -asttokens==2.4.1 +asttokens==3.0.0 # via stack-data attrs==24.2.0 # via @@ -36,20 +36,20 @@ backoff==2.2.1 # via gql beautifulsoup4==4.12.3 # via - # -r base.in + # -r requirements/base.in # wagtail billiard==4.2.1 # via celery -bleach==6.1.0 - # via -r base.in -botocore==1.35.50 +bleach==6.2.0 + # via -r requirements/base.in +botocore==1.35.78 # via gql brotli==1.1.0 # via fonttools cattrs==24.1.2 # via requests-cache celery==5.4.0 - # via -r base.in + # via -r requirements/base.in certifi==2024.8.30 # via # httpcore @@ -62,6 +62,8 @@ cffi==1.17.1 # weasyprint charset-normalizer==3.4.0 # via requests +clamd==1.0.2 + # via -r requirements/base.in click==8.1.7 # via # celery @@ -74,7 +76,7 @@ click-plugins==1.1.1 # via celery click-repl==0.3.0 # via celery -cryptography==43.0.3 +cryptography==44.0.0 # via # josepy # mozilla-django-oidc @@ -87,7 +89,7 @@ defusedxml==0.7.1 # via willow django==5.0.7 # via - # -r base.in + # -r requirements/base.in # django-extensions # django-filter # django-modelcluster @@ -103,9 +105,9 @@ django==5.0.7 # mozilla-django-oidc # wagtail django-environ==0.11.2 - # via -r base.in + # via -r requirements/base.in django-extensions==3.2.3 - # via -r base.in + # via -r requirements/base.in django-filter==24.3 # via wagtail django-modelcluster==6.3 @@ -114,18 +116,20 @@ django-permissionedforms==0.1 # via wagtail django-ranged-response==0.2.0 # via django-simple-captcha +django-ratelimit==4.1.0 + # via -r requirements/base.in django-redis==5.4.0 - # via -r base.in + # via -r requirements/base.in django-settings-export==1.2.1 - # via -r base.in + # via -r requirements/base.in django-simple-captcha==0.6.0 - # via -r base.in -django-taggit==5.0.1 + # via -r requirements/base.in +django-taggit==6.1.0 # via wagtail django-treebeard==4.7.1 # via wagtail django-widget-tweaks==1.5.0 - # via -r base.in + # via -r requirements/base.in djangorestframework==3.15.2 # via wagtail draftjs-exporter==5.0.0 @@ -134,43 +138,41 @@ et-xmlfile==2.0.0 # via openpyxl executing==2.1.0 # via stack-data -fastjsonschema==2.20.0 - # via -r base.in +fastjsonschema==2.21.1 + # via -r requirements/base.in filetype==1.2.0 # via willow -fonttools[woff]==4.54.1 +fonttools[woff]==4.55.3 # via weasyprint frozenlist==1.5.0 # via # aiohttp # aiosignal gql[all]==3.5.0 - # via -r base.in + # via -r requirements/base.in graphql-core==3.2.5 # via gql h11==0.14.0 # via httpcore -html5lib==1.1 - # via weasyprint -httpcore==1.0.6 +httpcore==1.0.7 # via httpx httplib2==0.22.0 - # via -r base.in -httpx==0.27.2 + # via -r requirements/base.in +httpx==0.28.1 # via gql -icalendar==6.0.1 - # via -r base.in +icalendar==6.1.0 + # via -r requirements/base.in ics==0.7.2 - # via -r base.in + # via -r requirements/base.in idna==3.10 # via # anyio # httpx # requests # yarl -ipython==8.29.0 - # via -r base.in -jedi==0.19.1 +ipython==8.30.0 + # via -r requirements/base.in +jedi==0.19.2 # via ipython jmespath==1.0.1 # via botocore @@ -183,7 +185,7 @@ l18n==2021.3 laces==0.1.1 # via wagtail markdown==3.7 - # via -r base.in + # via -r requirements/base.in matplotlib-inline==0.1.7 # via ipython mozilla-django-oidc==3.0.0 @@ -192,44 +194,46 @@ multidict==6.1.0 # via # aiohttp # yarl -nh3==0.2.18 - # via -r base.in -numpy==2.1.2 +nh3==0.2.19 + # via -r requirements/base.in +numpy==2.2.0 # via - # -r base.in + # -r requirements/base.in # opencv-python oauthlib==3.2.2 # via # requests-oauthlib # tweepy opencv-python==4.10.0.84 - # via -r base.in + # via -r requirements/base.in openpyxl==3.1.5 # via wagtail parso==0.8.4 # via jedi pexpect==4.9.0 # via ipython -pillow==10.4.0 +pillow==11.0.0 # via # django-simple-captcha # pillow-heif # wagtail # weasyprint -pillow-heif==0.20.0 +pillow-heif==0.21.0 # via willow pirates==0.7.0 - # via -r base.in + # via -r requirements/base.in platformdirs==4.3.6 # via requests-cache prompt-toolkit==3.0.48 # via # click-repl # ipython -propcache==0.2.0 - # via yarl +propcache==0.2.1 + # via + # aiohttp + # yarl psycopg2-binary==2.9.10 - # via -r base.in + # via -r requirements/base.in ptyprocess==0.7.0 # via pexpect pure-eval==0.2.3 @@ -240,12 +244,12 @@ pydyf==0.11.0 # via weasyprint pygments==2.18.0 # via ipython -pyopenssl==24.2.1 +pyopenssl==24.3.0 # via josepy pyparsing==3.2.0 # via httplib2 pypdf2==3.0.1 - # via -r base.in + # via -r requirements/base.in pyphen==0.17.0 # via weasyprint python-dateutil==2.9.0.post0 @@ -257,16 +261,16 @@ python-dateutil==2.9.0.post0 # ics pytz==2024.2 # via - # -r base.in + # -r requirements/base.in # django-modelcluster # l18n pyyaml==6.0.2 - # via -r base.in -redis==5.2.0 + # via -r requirements/base.in +redis==5.2.1 # via django-redis requests==2.32.3 # via - # -r base.in + # -r requirements/base.in # gql # mozilla-django-oidc # requests-cache @@ -275,33 +279,28 @@ requests==2.32.3 # tweepy # wagtail requests-cache==1.2.1 - # via -r base.in + # via -r requirements/base.in requests-oauthlib==1.3.1 # via tweepy requests-toolbelt==1.0.0 # via gql -sentry-sdk==2.17.0 - # via -r base.in -six==1.16.0 +sentry-sdk==2.19.2 + # via -r requirements/base.in +six==1.17.0 # via - # asttokens - # bleach - # html5lib # ics # l18n # python-dateutil # url-normalize sniffio==1.3.1 - # via - # anyio - # httpx + # via anyio soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.5.1 +sqlparse==0.5.3 # via django stack-data==0.6.3 # via ipython -tatsu==5.12.1 +tatsu==5.12.2 # via ics telepath==0.3.1 # via wagtail @@ -309,16 +308,20 @@ tinycss2==1.4.0 # via # cssselect2 # weasyprint +tinyhtml5==2.0.0 + # via weasyprint traitlets==5.14.3 # via # ipython # matplotlib-inline tweepy==4.14.0 - # via -r base.in -types-python-dateutil==2.9.0.20241003 + # via -r requirements/base.in +types-python-dateutil==2.9.0.20241206 # via arrow typing-extensions==4.12.2 - # via ipython + # via + # anyio + # ipython tzdata==2024.2 # via # celery @@ -337,39 +340,39 @@ vine==5.1.0 # amqp # celery # kombu -wagtail==6.2.2 +wagtail==6.3.1 # via - # -r base.in + # -r requirements/base.in # wagtail-metadata # wagtail-modeladmin # wagtail-trash wagtail-metadata==5.0.0 - # via -r base.in + # via -r requirements/base.in wagtail-modeladmin==2.1.0 # via wagtail-trash wagtail-trash==3.0.0 - # via -r base.in + # via -r requirements/base.in wand==0.6.13 - # via -r base.in + # via -r requirements/base.in wcwidth==0.2.13 # via prompt-toolkit -weasyprint==62.3 - # via -r base.in +weasyprint==63.1 + # via -r requirements/base.in webencodings==0.5.1 # via # bleach # cssselect2 - # html5lib # tinycss2 + # tinyhtml5 websockets==11.0.3 # via gql whitenoise==5.3.0 - # via -r base.in + # via -r requirements/base.in willow[heif]==1.9.0 # via # wagtail # willow -yarl==1.17.0 +yarl==1.18.3 # via # aiohttp # gql diff --git a/requirements/dev.txt b/requirements/dev.txt index e5bbcebf..031722c5 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -2,21 +2,21 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile dev.in +# pip-compile requirements/dev.in # asgiref==3.8.1 # via django -coverage[toml]==7.6.4 +coverage[toml]==7.6.9 # via pytest-cov django==5.0.7 # via - # -r dev.in + # -r requirements/dev.in # django-debug-toolbar django-debug-toolbar==4.4.6 - # via -r dev.in + # via -r requirements/dev.in factory-boy==3.3.1 # via pytest-factoryboy -faker==30.8.1 +faker==33.1.0 # via factory-boy fastdiff==0.3.0 # via snapshottest @@ -26,45 +26,45 @@ inflection==0.5.1 # via pytest-factoryboy iniconfig==2.0.0 # via pytest -packaging==24.1 +packaging==24.2 # via # pytest # pytest-factoryboy # pytest-sugar pluggy==1.5.0 # via pytest -pytest==8.3.3 +pytest==8.3.4 # via - # -r dev.in + # -r requirements/dev.in # pytest-cov # pytest-django # pytest-factoryboy # pytest-freezegun # pytest-mock # pytest-sugar -pytest-cov==5.0.0 - # via -r dev.in +pytest-cov==6.0.0 + # via -r requirements/dev.in pytest-django==4.9.0 - # via -r dev.in + # via -r requirements/dev.in pytest-factoryboy==2.7.0 - # via -r dev.in + # via -r requirements/dev.in pytest-freezegun==0.4.2 - # via -r dev.in + # via -r requirements/dev.in pytest-mock==3.14.0 - # via -r dev.in + # via -r requirements/dev.in pytest-sugar==1.0.0 - # via -r dev.in + # via -r requirements/dev.in python-dateutil==2.9.0.post0 # via # faker # freezegun -six==1.16.0 +six==1.17.0 # via # python-dateutil # snapshottest snapshottest==0.6.0 - # via -r dev.in -sqlparse==0.5.1 + # via -r requirements/dev.in +sqlparse==0.5.3 # via # django # django-debug-toolbar diff --git a/requirements/production.txt b/requirements/production.txt index 8123fbd9..8e4e8c16 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -2,9 +2,9 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile production.in +# pip-compile requirements/production.in # gunicorn==23.0.0 - # via -r production.in -packaging==24.1 + # via -r requirements/production.in +packaging==24.2 # via gunicorn diff --git a/shared/templates/styleguide2/includes/organisms/layout/messages.html b/shared/templates/styleguide2/includes/organisms/layout/messages.html index b422fc81..dbe8f862 100644 --- a/shared/templates/styleguide2/includes/organisms/layout/messages.html +++ b/shared/templates/styleguide2/includes/organisms/layout/messages.html @@ -1,6 +1,6 @@ <ul class="flex flex-col w-full"> {% for message in messages %} - <script>alert("{{ message }}");</script> + <script>alert(`{{ message }}`);</script> {% comment %} <li> -- GitLab From 00812366a9ee346465d24fa76bdccaee70409c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Thu, 12 Dec 2024 13:23:07 +0100 Subject: [PATCH 6/6] update file size limits --- main/forms.py | 4 ++-- main/templates/main/main_career_page.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/forms.py b/main/forms.py index f01f1d9e..55bb85f2 100644 --- a/main/forms.py +++ b/main/forms.py @@ -19,7 +19,7 @@ class MultipleFileField(forms.FileField): kwargs.setdefault("widget", MultipleFileInput()) super().__init__(*args, **kwargs) - TOTAL_MAX_FILE_SIZE = 25 * 1024 * 1024 # 25 MB + TOTAL_MAX_FILE_SIZE = 10 * 1024 * 1024 # 10 MB def clean(self, data, initial=None): single_file_clean = super().clean @@ -59,7 +59,7 @@ def validate_file_type(file): ) -def validate_file_size(file, max_size=10 * 1024 * 1024): # Default: 10 MB +def validate_file_size(file, max_size=5 * 1024 * 1024): # Default: 5 MB if file.size > max_size: raise ValidationError( f"Soubory mohou být max. {max_size / (1024 * 1024)} MB velké." diff --git a/main/templates/main/main_career_page.html b/main/templates/main/main_career_page.html index 060e80d3..be1372ec 100644 --- a/main/templates/main/main_career_page.html +++ b/main/templates/main/main_career_page.html @@ -86,7 +86,7 @@ {{ form.cv_file }} - <small class="text-grey-300">(Povinné, max. 10 MB)</small> + <small class="text-grey-300">(Povinné, max. 5 MB)</small> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label @@ -97,7 +97,7 @@ {{ form.cover_letter_file }} - <small class="text-grey-300">(Povinný, max. 10 MB)</small> + <small class="text-grey-300">(Povinný, max. 5 MB)</small> </section> <section class="flex flex-col gap-3 lg:items-center lg:flex-row"> <label @@ -110,7 +110,7 @@ {{ form.other_files }} <small class="text-grey-300"> - (Max. 10 MB na jeden soubor, 25 MB celkem) + (Max. 5 MB na jeden soubor, 10 MB celkem) </small> </div> </section> -- GitLab