diff --git a/.isort.cfg b/.isort.cfg
index 793ccf442a3b99141fbea1834586b3ce1fd83bd8..9b65c58f973c9775015aa58dba6436e4fe8326e0 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,icalevnt,markdown,modelcluster,pirates,pytest,pytz,requests,requests_cache,sentry_sdk,taggit,wagtail,wagtailmetadata,weasyprint,yaml
+known_third_party = PyPDF2,arrow,bleach,bs4,captcha,celery,dateutil,django,environ,faker,fastjsonschema,icalevnt,markdown,modelcluster,pirates,pytest,pytz,requests,sentry_sdk,taggit,wagtail,wagtailmetadata,weasyprint,yaml
diff --git a/district/migrations/0109_districtpersonpage_ical_calendar_url.py b/district/migrations/0109_districtpersonpage_ical_calendar_url.py
new file mode 100644
index 0000000000000000000000000000000000000000..fc0786915f38f6722dfc84947c6e10c6116d21fc
--- /dev/null
+++ b/district/migrations/0109_districtpersonpage_ical_calendar_url.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.1.8 on 2023-04-13 08:51
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('district', '0108_alter_districtcenterpage_content_and_more'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='districtpersonpage',
+            name='ical_calendar_url',
+            field=models.URLField(blank=True, help_text='Podporuje Mrak, Google Kalendář a další. Návod na synchronizaci najdeš na pi2.cz/kalendare', max_length=256, null=True, verbose_name='iCal adresa kalendáře'),
+        ),
+    ]
diff --git a/district/models.py b/district/models.py
index 68270abaabb159ddfd320bed2e2c103ea580b91b..bca802cc81f8449b8deac312fbe68eadf46d9497 100644
--- a/district/models.py
+++ b/district/models.py
@@ -50,6 +50,7 @@ from shared.models import (
     ExtendedMetadataHomePageMixin,
     ExtendedMetadataPageMixin,
     MenuMixin,
+    PersonCalendarMixin,
     SubpageMixin,
 )
 from shared.utils import make_promote_panels, strip_all_html_tags, trim_to_length
@@ -591,7 +592,11 @@ class DistrictPersonTag(TaggedItemBase):
 
 
 class DistrictPersonPage(
-    ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, Page
+    ExtendedMetadataPageMixin,
+    SubpageMixin,
+    MetadataPageMixin,
+    PersonCalendarMixin,
+    Page,
 ):
     ### FIELDS
     job = models.CharField(
diff --git a/instagram_utils/migrations/0001_initial.py b/instagram_utils/migrations/0001_initial.py
index fe92a5f0cceab4237757af27655e75ed54fd1932..d7b805c83efad9ab44d8f323d3040fe27266340d 100644
--- a/instagram_utils/migrations/0001_initial.py
+++ b/instagram_utils/migrations/0001_initial.py
@@ -1,30 +1,55 @@
 # Generated by Django 4.1.6 on 2023-04-05 17:16
 
 from django.db import migrations, models
+
 import instagram_utils.models
 
 
 class Migration(migrations.Migration):
-
     initial = True
 
-    dependencies = [
-    ]
+    dependencies = []
 
     operations = [
         migrations.CreateModel(
-            name='InstagramPost',
+            name="InstagramPost",
             fields=[
-                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
-                ('author_name', models.CharField(max_length=64, verbose_name='Jméno autora')),
-                ('author_username', models.CharField(max_length=64, verbose_name='Username autora')),
-                ('timestamp', models.DateTimeField(default=instagram_utils.models.get_current_datetime, verbose_name='Datum a čas vytvoření')),
-                ('caption', models.TextField(blank=True, null=True, verbose_name='Popis')),
-                ('image', models.ImageField(upload_to='instagram', verbose_name='Obrázek')),
-                ('url', models.URLField(blank=True, null=True, verbose_name='Odkaz')),
+                (
+                    "id",
+                    models.AutoField(
+                        auto_created=True,
+                        primary_key=True,
+                        serialize=False,
+                        verbose_name="ID",
+                    ),
+                ),
+                (
+                    "author_name",
+                    models.CharField(max_length=64, verbose_name="Jméno autora"),
+                ),
+                (
+                    "author_username",
+                    models.CharField(max_length=64, verbose_name="Username autora"),
+                ),
+                (
+                    "timestamp",
+                    models.DateTimeField(
+                        default=instagram_utils.models.get_current_datetime,
+                        verbose_name="Datum a čas vytvoření",
+                    ),
+                ),
+                (
+                    "caption",
+                    models.TextField(blank=True, null=True, verbose_name="Popis"),
+                ),
+                (
+                    "image",
+                    models.ImageField(upload_to="instagram", verbose_name="Obrázek"),
+                ),
+                ("url", models.URLField(blank=True, null=True, verbose_name="Odkaz")),
             ],
             options={
-                'ordering': ('timestamp',),
+                "ordering": ("timestamp",),
             },
         ),
     ]
diff --git a/instagram_utils/migrations/0002_instagrampost_remote_id.py b/instagram_utils/migrations/0002_instagrampost_remote_id.py
index 61fa72432662fda4fb794ceac0dbc9c4e79d4b5a..b5c253d19baf713ae60a64a9d256d036f021bf6f 100644
--- a/instagram_utils/migrations/0002_instagrampost_remote_id.py
+++ b/instagram_utils/migrations/0002_instagrampost_remote_id.py
@@ -4,16 +4,15 @@ from django.db import migrations, models
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('instagram_utils', '0001_initial'),
+        ("instagram_utils", "0001_initial"),
     ]
 
     operations = [
         migrations.AddField(
-            model_name='instagrampost',
-            name='remote_id',
-            field=models.CharField(default='', max_length=64, verbose_name='ID Postu'),
+            model_name="instagrampost",
+            name="remote_id",
+            field=models.CharField(default="", max_length=64, verbose_name="ID Postu"),
             preserve_default=False,
         ),
     ]
diff --git a/instagram_utils/migrations/0003_alter_instagrampost_remote_id.py b/instagram_utils/migrations/0003_alter_instagrampost_remote_id.py
index 8053396e28fbb1655ca1baf9275272949fe823b6..afca8626836acd993b1addbd6f3887176f5199cd 100644
--- a/instagram_utils/migrations/0003_alter_instagrampost_remote_id.py
+++ b/instagram_utils/migrations/0003_alter_instagrampost_remote_id.py
@@ -4,15 +4,14 @@ from django.db import migrations, models
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('instagram_utils', '0002_instagrampost_remote_id'),
+        ("instagram_utils", "0002_instagrampost_remote_id"),
     ]
 
     operations = [
         migrations.AlterField(
-            model_name='instagrampost',
-            name='remote_id',
-            field=models.CharField(max_length=64, unique=True, verbose_name='ID Postu'),
+            model_name="instagrampost",
+            name="remote_id",
+            field=models.CharField(max_length=64, unique=True, verbose_name="ID Postu"),
         ),
     ]
diff --git a/instagram_utils/models.py b/instagram_utils/models.py
index eb72e8bd2a165c2511e89c5f8ae292322015567c..ec9ccdd15a26881f8e850c9a3d8dabae926b9a8e 100644
--- a/instagram_utils/models.py
+++ b/instagram_utils/models.py
@@ -19,8 +19,7 @@ class InstagramPost(models.Model):
         unique=True,
     )
     timestamp = models.DateTimeField(
-        verbose_name="Datum a čas vytvoření",
-        default=get_current_datetime
+        verbose_name="Datum a čas vytvoření", default=get_current_datetime
     )
 
     author_name = models.CharField(
diff --git a/instagram_utils/services.py b/instagram_utils/services.py
index bc167bf5fefd2f02ec0a05abb59853a4d099b8e0..b2857519a709c86f66c6579ffb6af896683dc50b 100644
--- a/instagram_utils/services.py
+++ b/instagram_utils/services.py
@@ -1,15 +1,15 @@
 import datetime
-import logging
 import io
+import logging
 import os
-import requests
 
+import requests
 from django.core.files import File
+
 from main.models import MainHomePage, MainPersonPage
 
 from .models import InstagramPost
 
-
 logger = logging.getLogger()
 
 
@@ -26,10 +26,7 @@ class InstagramDownloadService:
         access_block = MainHomePage.objects.first().instagram_access
 
         homepage_access_list = [
-            (
-                block["value"]["name"],
-                block["value"]["access_token"]
-            )
+            (block["value"]["name"], block["value"]["access_token"])
             for block in access_block.raw_data
         ]
 
@@ -37,10 +34,7 @@ class InstagramDownloadService:
 
         for people_page in MainPersonPage.objects.all():
             people_access_list += [
-                (
-                    block["value"]["name"],
-                    block["value"]["access_token"]
-                )
+                (block["value"]["name"], block["value"]["access_token"])
                 for block in people_page.instagram_access.raw_data
             ]
 
@@ -52,10 +46,7 @@ class InstagramDownloadService:
             response = requests.get(image_url)
             response.raise_for_status()
         except Exception as exc:
-            logger.warning(
-                "Error getting Instagram image at %s: %s",
-                image_url, exc
-            )
+            logger.warning("Error getting Instagram image at %s: %s", image_url, exc)
             return "", None
 
         return os.path.basename(image_url), File(io.BytesIO(response.content))
@@ -80,7 +71,7 @@ class InstagramDownloadService:
             logger.warning(
                 "Error getting media for user %s: %s",
                 user_data["id"],
-                recent_media.status_code
+                recent_media.status_code,
             )
 
             return []
@@ -102,8 +93,7 @@ class InstagramDownloadService:
             # Don't recreate existing posts'
             if InstagramPost.objects.filter(remote_id=media_data["id"]).exists():
                 logging.info(
-                    "Skipping Instagram post ID %s, already exists",
-                    media_data["id"]
+                    "Skipping Instagram post ID %s, already exists", media_data["id"]
                 )
 
                 continue
diff --git a/main/blocks.py b/main/blocks.py
index 04cab96d35c50b3452f2f4af2ceaa5e5253a2545..de53c4579b3e9c66c7e77e617860eeca51d5e402 100644
--- a/main/blocks.py
+++ b/main/blocks.py
@@ -362,7 +362,9 @@ class CardLinkWithHeadlineBlock(CardLinkWithHeadlineBlockMixin):
 
 class InstagramAccessBlock(StructBlock):
     name = CharBlock(label="Zobrazované jméno")
-    username = CharBlock(label="Username", help_text="Např. pirati.cz, bez @ na začátku!")
+    username = CharBlock(
+        label="Username", help_text="Např. pirati.cz, bez @ na začátku!"
+    )
     access_token = CharBlock(label="Přístupový token")
 
     class Meta:
diff --git a/main/migrations/0046_mainhomepage_instagram_usernames_and_more.py b/main/migrations/0046_mainhomepage_instagram_usernames_and_more.py
index 8345a6a77d94d5b730c3f60dc49a048083cbd90f..0f3cd0be420eade20df9e948bababea5982bfc56 100644
--- a/main/migrations/0046_mainhomepage_instagram_usernames_and_more.py
+++ b/main/migrations/0046_mainhomepage_instagram_usernames_and_more.py
@@ -1,35 +1,66 @@
 # Generated by Django 4.1.7 on 2023-04-04 21:34
 
-from django.db import migrations, models
 import wagtail.blocks
 import wagtail.fields
+from django.db import migrations, models
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0045_alter_mainprogrampage_program'),
+        ("main", "0045_alter_mainprogrampage_program"),
     ]
 
     operations = [
         migrations.AddField(
-            model_name='mainhomepage',
-            name='instagram_usernames',
-            field=wagtail.fields.StreamField([('username', wagtail.blocks.CharBlock(label='Instagram uživatelské jméno'))], blank=True, use_json_field=True, verbose_name='Uživatelská jména pro synchronizované Instagram účty'),
+            model_name="mainhomepage",
+            name="instagram_usernames",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "username",
+                        wagtail.blocks.CharBlock(label="Instagram uživatelské jméno"),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména pro synchronizované Instagram účty",
+            ),
         ),
         migrations.AddField(
-            model_name='mainpersonpage',
-            name='instagram_username',
-            field=models.CharField(blank=True, help_text='Uživatelské jméno zadejte bez @ na začátku', max_length=32, null=True, verbose_name='Uživatelské jméno na Instagramu pro získání příspěvků'),
+            model_name="mainpersonpage",
+            name="instagram_username",
+            field=models.CharField(
+                blank=True,
+                help_text="Uživatelské jméno zadejte bez @ na začátku",
+                max_length=32,
+                null=True,
+                verbose_name="Uživatelské jméno na Instagramu pro získání příspěvků",
+            ),
         ),
         migrations.AlterField(
-            model_name='mainhomepage',
-            name='twitter_usernames',
-            field=wagtail.fields.StreamField([('username', wagtail.blocks.CharBlock(label='Twitter uživatelské jméno'))], blank=True, use_json_field=True, verbose_name='Uživatelská jména pro synchronizované Twitter účty'),
+            model_name="mainhomepage",
+            name="twitter_usernames",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "username",
+                        wagtail.blocks.CharBlock(label="Twitter uživatelské jméno"),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména pro synchronizované Twitter účty",
+            ),
         ),
         migrations.AlterField(
-            model_name='mainpersonpage',
-            name='twitter_username',
-            field=models.CharField(blank=True, help_text='Uživatelské jméno zadejte bez @ na začátku', max_length=32, null=True, verbose_name='Uživatelské jméno na Twitteru pro získání příspěvků'),
+            model_name="mainpersonpage",
+            name="twitter_username",
+            field=models.CharField(
+                blank=True,
+                help_text="Uživatelské jméno zadejte bez @ na začátku",
+                max_length=32,
+                null=True,
+                verbose_name="Uživatelské jméno na Twitteru pro získání příspěvků",
+            ),
         ),
     ]
diff --git a/main/migrations/0047_remove_mainhomepage_instagram_usernames_and_more.py b/main/migrations/0047_remove_mainhomepage_instagram_usernames_and_more.py
index 5ffb82cca00a53943819f00197da88817b34a591..bc079b46d77bc81f7e37e7e3385e0dc23cd670d8 100644
--- a/main/migrations/0047_remove_mainhomepage_instagram_usernames_and_more.py
+++ b/main/migrations/0047_remove_mainhomepage_instagram_usernames_and_more.py
@@ -1,24 +1,46 @@
 # Generated by Django 4.1.6 on 2023-04-05 11:17
 
-from django.db import migrations
 import wagtail.blocks
 import wagtail.fields
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0046_mainhomepage_instagram_usernames_and_more'),
+        ("main", "0046_mainhomepage_instagram_usernames_and_more"),
     ]
 
     operations = [
         migrations.RemoveField(
-            model_name='mainhomepage',
-            name='instagram_usernames',
+            model_name="mainhomepage",
+            name="instagram_usernames",
         ),
         migrations.AddField(
-            model_name='mainhomepage',
-            name='instagram_access',
-            field=wagtail.fields.StreamField([('instagram_access', wagtail.blocks.StructBlock([('username', wagtail.blocks.CharBlock(label='Uživatelské jméno')), ('access_token', wagtail.blocks.CharBlock(help_text='TODO', label='Přístupový token'))]))], blank=True, use_json_field=True, verbose_name='Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty'),
+            model_name="mainhomepage",
+            name="instagram_access",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "instagram_access",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "username",
+                                    wagtail.blocks.CharBlock(label="Uživatelské jméno"),
+                                ),
+                                (
+                                    "access_token",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="TODO", label="Přístupový token"
+                                    ),
+                                ),
+                            ]
+                        ),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty",
+            ),
         ),
     ]
diff --git a/main/migrations/0048_alter_mainhomepage_instagram_access.py b/main/migrations/0048_alter_mainhomepage_instagram_access.py
index 808610fa2221c5d48fd9ecfa370fe83ff4cc95ee..91cf8f043078d980f116388c647a7510a5638fff 100644
--- a/main/migrations/0048_alter_mainhomepage_instagram_access.py
+++ b/main/migrations/0048_alter_mainhomepage_instagram_access.py
@@ -1,20 +1,48 @@
 # Generated by Django 4.1.6 on 2023-04-05 11:34
 
-from django.db import migrations
 import wagtail.blocks
 import wagtail.fields
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0047_remove_mainhomepage_instagram_usernames_and_more'),
+        ("main", "0047_remove_mainhomepage_instagram_usernames_and_more"),
     ]
 
     operations = [
         migrations.AlterField(
-            model_name='mainhomepage',
-            name='instagram_access',
-            field=wagtail.fields.StreamField([('instagram_access', wagtail.blocks.StructBlock([('name', wagtail.blocks.CharBlock(label='Zobrazované jméno')), ('user_id', wagtail.blocks.CharBlock(help_text='TODO', label='Uživatelské ID')), ('access_token', wagtail.blocks.CharBlock(help_text='TODO', label='Přístupový token'))]))], blank=True, use_json_field=True, verbose_name='Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty'),
+            model_name="mainhomepage",
+            name="instagram_access",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "instagram_access",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "name",
+                                    wagtail.blocks.CharBlock(label="Zobrazované jméno"),
+                                ),
+                                (
+                                    "user_id",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="TODO", label="Uživatelské ID"
+                                    ),
+                                ),
+                                (
+                                    "access_token",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="TODO", label="Přístupový token"
+                                    ),
+                                ),
+                            ]
+                        ),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty",
+            ),
         ),
     ]
diff --git a/main/migrations/0049_alter_mainhomepage_instagram_access.py b/main/migrations/0049_alter_mainhomepage_instagram_access.py
index 6ffa876b5842cbd976731c072c0b5b62cf7c2527..fc75b2b1aa9133c4e56ff3625841870d702743a4 100644
--- a/main/migrations/0049_alter_mainhomepage_instagram_access.py
+++ b/main/migrations/0049_alter_mainhomepage_instagram_access.py
@@ -1,20 +1,44 @@
 # Generated by Django 4.1.6 on 2023-04-05 11:56
 
-from django.db import migrations
 import wagtail.blocks
 import wagtail.fields
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0048_alter_mainhomepage_instagram_access'),
+        ("main", "0048_alter_mainhomepage_instagram_access"),
     ]
 
     operations = [
         migrations.AlterField(
-            model_name='mainhomepage',
-            name='instagram_access',
-            field=wagtail.fields.StreamField([('instagram_access', wagtail.blocks.StructBlock([('name', wagtail.blocks.CharBlock(label='Zobrazované jméno')), ('user_id', wagtail.blocks.CharBlock(label='Uživatelské ID')), ('access_token', wagtail.blocks.CharBlock(label='Přístupový token'))]))], blank=True, use_json_field=True, verbose_name='Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty'),
+            model_name="mainhomepage",
+            name="instagram_access",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "instagram_access",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "name",
+                                    wagtail.blocks.CharBlock(label="Zobrazované jméno"),
+                                ),
+                                (
+                                    "user_id",
+                                    wagtail.blocks.CharBlock(label="Uživatelské ID"),
+                                ),
+                                (
+                                    "access_token",
+                                    wagtail.blocks.CharBlock(label="Přístupový token"),
+                                ),
+                            ]
+                        ),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty",
+            ),
         ),
     ]
diff --git a/main/migrations/0050_alter_mainhomepage_instagram_access.py b/main/migrations/0050_alter_mainhomepage_instagram_access.py
index decd471b58ada9c413d454d11ca652a70cb7dcfe..67d5ead46734221aca2ac79a1c57b9210749ed64 100644
--- a/main/migrations/0050_alter_mainhomepage_instagram_access.py
+++ b/main/migrations/0050_alter_mainhomepage_instagram_access.py
@@ -1,20 +1,40 @@
 # Generated by Django 4.1.6 on 2023-04-05 16:45
 
-from django.db import migrations
 import wagtail.blocks
 import wagtail.fields
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0049_alter_mainhomepage_instagram_access'),
+        ("main", "0049_alter_mainhomepage_instagram_access"),
     ]
 
     operations = [
         migrations.AlterField(
-            model_name='mainhomepage',
-            name='instagram_access',
-            field=wagtail.fields.StreamField([('instagram_access', wagtail.blocks.StructBlock([('name', wagtail.blocks.CharBlock(label='Zobrazované jméno')), ('access_token', wagtail.blocks.CharBlock(label='Přístupový token'))]))], blank=True, use_json_field=True, verbose_name='Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty'),
+            model_name="mainhomepage",
+            name="instagram_access",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "instagram_access",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "name",
+                                    wagtail.blocks.CharBlock(label="Zobrazované jméno"),
+                                ),
+                                (
+                                    "access_token",
+                                    wagtail.blocks.CharBlock(label="Přístupový token"),
+                                ),
+                            ]
+                        ),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty",
+            ),
         ),
     ]
diff --git a/main/migrations/0051_remove_mainhomepage_twitter_usernames_and_more.py b/main/migrations/0051_remove_mainhomepage_twitter_usernames_and_more.py
index f00c4d3ce2c35b0458fbba0652bf54656fc68442..6d9c0209b5efc59d518a0afb186b1a70a954d9db 100644
--- a/main/migrations/0051_remove_mainhomepage_twitter_usernames_and_more.py
+++ b/main/migrations/0051_remove_mainhomepage_twitter_usernames_and_more.py
@@ -1,31 +1,170 @@
 # Generated by Django 4.1.6 on 2023-04-06 11:09
 
-from django.db import migrations
-import main.blocks
 import wagtail.blocks
 import wagtail.fields
 import wagtail.images.blocks
+from django.db import migrations
 
+import main.blocks
 
-class Migration(migrations.Migration):
 
+class Migration(migrations.Migration):
     dependencies = [
-        ('main', '0050_alter_mainhomepage_instagram_access'),
+        ("main", "0050_alter_mainhomepage_instagram_access"),
     ]
 
     operations = [
         migrations.RemoveField(
-            model_name='mainhomepage',
-            name='twitter_usernames',
+            model_name="mainhomepage",
+            name="twitter_usernames",
         ),
         migrations.AlterField(
-            model_name='mainhomepage',
-            name='content',
-            field=wagtail.fields.StreamField([('carousel', wagtail.blocks.StructBlock([('slides', wagtail.blocks.ListBlock(main.blocks.HomePageCarouseSlideBlock, label='Obrázky s nadpisy - carouselu'))])), ('news', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Nejnovější články se načtou automaticky', label='Titulek')), ('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek pozadí', required=False))])), ('people', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Hlavní titulek')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky'))])), ('regions', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Články pro regiony se načtou automaticky', label='Titulek')), ('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek pozadí', required=False))])), ('instagram_posts', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Instagramové posty budou načteny pro všechny profily uvedené v nastavení webu automaticky', label='Titulek'))])), ('boxes', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Nadpis')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky')), ('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek pozadí', required=False))]))], blank=True, use_json_field=True, verbose_name='Hlavní obsah'),
+            model_name="mainhomepage",
+            name="content",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "carousel",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "slides",
+                                    wagtail.blocks.ListBlock(
+                                        main.blocks.HomePageCarouseSlideBlock,
+                                        label="Obrázky s nadpisy - carouselu",
+                                    ),
+                                )
+                            ]
+                        ),
+                    ),
+                    (
+                        "news",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "title",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="Nejnovější články se načtou automaticky",
+                                        label="Titulek",
+                                    ),
+                                ),
+                                (
+                                    "image",
+                                    wagtail.images.blocks.ImageChooserBlock(
+                                        label="Obrázek pozadí", required=False
+                                    ),
+                                ),
+                            ]
+                        ),
+                    ),
+                    (
+                        "people",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "title",
+                                    wagtail.blocks.CharBlock(label="Hlavní titulek"),
+                                ),
+                                (
+                                    "list",
+                                    wagtail.blocks.ListBlock(
+                                        main.blocks.BoxBlock, label="Boxíky"
+                                    ),
+                                ),
+                            ]
+                        ),
+                    ),
+                    (
+                        "regions",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "title",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="Články pro regiony se načtou automaticky",
+                                        label="Titulek",
+                                    ),
+                                ),
+                                (
+                                    "image",
+                                    wagtail.images.blocks.ImageChooserBlock(
+                                        label="Obrázek pozadí", required=False
+                                    ),
+                                ),
+                            ]
+                        ),
+                    ),
+                    (
+                        "instagram_posts",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "title",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="Instagramové posty budou načteny pro všechny profily uvedené v nastavení webu automaticky",
+                                        label="Titulek",
+                                    ),
+                                )
+                            ]
+                        ),
+                    ),
+                    (
+                        "boxes",
+                        wagtail.blocks.StructBlock(
+                            [
+                                ("title", wagtail.blocks.CharBlock(label="Nadpis")),
+                                (
+                                    "list",
+                                    wagtail.blocks.ListBlock(
+                                        main.blocks.BoxBlock, label="Boxíky"
+                                    ),
+                                ),
+                                (
+                                    "image",
+                                    wagtail.images.blocks.ImageChooserBlock(
+                                        label="Obrázek pozadí", required=False
+                                    ),
+                                ),
+                            ]
+                        ),
+                    ),
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Hlavní obsah",
+            ),
         ),
         migrations.AlterField(
-            model_name='mainhomepage',
-            name='instagram_access',
-            field=wagtail.fields.StreamField([('instagram_access', wagtail.blocks.StructBlock([('name', wagtail.blocks.CharBlock(label='Zobrazované jméno')), ('username', wagtail.blocks.CharBlock(help_text='Např. pirati.cz, bez @ na začátku!', label='Username')), ('access_token', wagtail.blocks.CharBlock(label='Přístupový token'))]))], blank=True, use_json_field=True, verbose_name='Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty'),
+            model_name="mainhomepage",
+            name="instagram_access",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "instagram_access",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "name",
+                                    wagtail.blocks.CharBlock(label="Zobrazované jméno"),
+                                ),
+                                (
+                                    "username",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="Např. pirati.cz, bez @ na začátku!",
+                                        label="Username",
+                                    ),
+                                ),
+                                (
+                                    "access_token",
+                                    wagtail.blocks.CharBlock(label="Přístupový token"),
+                                ),
+                            ]
+                        ),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Uživatelská jména a přístupové tokeny pro synchronizované Instagram účty",
+            ),
         ),
     ]
diff --git a/main/migrations/0052_remove_mainpersonpage_instagram_username_and_more.py b/main/migrations/0052_remove_mainpersonpage_instagram_username_and_more.py
index 08b2c4a3cc0ada19f4a12f70c5eada0425b6bbb5..790dd5c9f218e4240cb8a57530068ebb3fb6cfeb 100644
--- a/main/migrations/0052_remove_mainpersonpage_instagram_username_and_more.py
+++ b/main/migrations/0052_remove_mainpersonpage_instagram_username_and_more.py
@@ -1,28 +1,55 @@
 # Generated by Django 4.1.6 on 2023-04-06 12:36
 
-from django.db import migrations
 import wagtail.blocks
 import wagtail.fields
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0051_remove_mainhomepage_twitter_usernames_and_more'),
+        ("main", "0051_remove_mainhomepage_twitter_usernames_and_more"),
     ]
 
     operations = [
         migrations.RemoveField(
-            model_name='mainpersonpage',
-            name='instagram_username',
+            model_name="mainpersonpage",
+            name="instagram_username",
         ),
         migrations.RemoveField(
-            model_name='mainpersonpage',
-            name='twitter_username',
+            model_name="mainpersonpage",
+            name="twitter_username",
         ),
         migrations.AddField(
-            model_name='mainpersonpage',
-            name='instagram_access',
-            field=wagtail.fields.StreamField([('instagram_access', wagtail.blocks.StructBlock([('name', wagtail.blocks.CharBlock(label='Zobrazované jméno')), ('username', wagtail.blocks.CharBlock(help_text='Např. pirati.cz, bez @ na začátku!', label='Username')), ('access_token', wagtail.blocks.CharBlock(label='Přístupový token'))]))], blank=True, use_json_field=True, verbose_name='Synchronizace s Instagramem'),
+            model_name="mainpersonpage",
+            name="instagram_access",
+            field=wagtail.fields.StreamField(
+                [
+                    (
+                        "instagram_access",
+                        wagtail.blocks.StructBlock(
+                            [
+                                (
+                                    "name",
+                                    wagtail.blocks.CharBlock(label="Zobrazované jméno"),
+                                ),
+                                (
+                                    "username",
+                                    wagtail.blocks.CharBlock(
+                                        help_text="Např. pirati.cz, bez @ na začátku!",
+                                        label="Username",
+                                    ),
+                                ),
+                                (
+                                    "access_token",
+                                    wagtail.blocks.CharBlock(label="Přístupový token"),
+                                ),
+                            ]
+                        ),
+                    )
+                ],
+                blank=True,
+                use_json_field=True,
+                verbose_name="Synchronizace s Instagramem",
+            ),
         ),
     ]
diff --git a/main/migrations/0053_merge_20230406_1446.py b/main/migrations/0053_merge_20230406_1446.py
index ce339473f5c0b340a512536e69ff186ace76c58d..a2bfe410f538ed0c0c098bc96801a3de25964dbc 100644
--- a/main/migrations/0053_merge_20230406_1446.py
+++ b/main/migrations/0053_merge_20230406_1446.py
@@ -4,11 +4,9 @@ from django.db import migrations
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0047_alter_mainhoaxpage_content'),
-        ('main', '0052_remove_mainpersonpage_instagram_username_and_more'),
+        ("main", "0047_alter_mainhoaxpage_content"),
+        ("main", "0052_remove_mainpersonpage_instagram_username_and_more"),
     ]
 
-    operations = [
-    ]
+    operations = []
diff --git a/main/migrations/0054_mainpersonpage_ical_calendar_url_and_more.py b/main/migrations/0054_mainpersonpage_ical_calendar_url_and_more.py
index c7410e365de3360ba4c6516822775da4411d35a0..c60f00f4fa9ef5af852eb2719a6878635de831be 100644
--- a/main/migrations/0054_mainpersonpage_ical_calendar_url_and_more.py
+++ b/main/migrations/0054_mainpersonpage_ical_calendar_url_and_more.py
@@ -4,20 +4,31 @@ from django.db import migrations, models
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0053_merge_20230406_1446'),
+        ("main", "0053_merge_20230406_1446"),
     ]
 
     operations = [
         migrations.AddField(
-            model_name='mainpersonpage',
-            name='ical_calendar_url',
-            field=models.URLField(blank=True, help_text='Musí být ve formátu iCal. V Google kalendáři lze exportovat v nastavení (TODO).', max_length=256, null=True, verbose_name='iCal adresa kalendáře'),
+            model_name="mainpersonpage",
+            name="ical_calendar_url",
+            field=models.URLField(
+                blank=True,
+                help_text="Musí být ve formátu iCal. V Google kalendáři lze exportovat v nastavení (TODO).",
+                max_length=256,
+                null=True,
+                verbose_name="iCal adresa kalendáře",
+            ),
         ),
         migrations.AddField(
-            model_name='mainpersonpage',
-            name='nextcloud_calendar_url',
-            field=models.URLField(blank=True, help_text='V nastavení kalendáře klikni na ikonu "+" vedle "odkaz na sdílení" a vlož zkopírovaný odkaz.', max_length=256, null=True, verbose_name='Adresa kalendáře v Mraku'),
+            model_name="mainpersonpage",
+            name="nextcloud_calendar_url",
+            field=models.URLField(
+                blank=True,
+                help_text='V nastavení kalendáře klikni na ikonu "+" vedle "odkaz na sdílení" a vlož zkopírovaný odkaz.',
+                max_length=256,
+                null=True,
+                verbose_name="Adresa kalendáře v Mraku",
+            ),
         ),
     ]
diff --git a/main/migrations/0055_remove_mainpersonpage_nextcloud_calendar_url_and_more.py b/main/migrations/0055_remove_mainpersonpage_nextcloud_calendar_url_and_more.py
index 94fc21034462628b80d7267a8654e31fbbb134f3..7b056036641ac5b4213ba847ad36c190994ca096 100644
--- a/main/migrations/0055_remove_mainpersonpage_nextcloud_calendar_url_and_more.py
+++ b/main/migrations/0055_remove_mainpersonpage_nextcloud_calendar_url_and_more.py
@@ -4,19 +4,24 @@ from django.db import migrations, models
 
 
 class Migration(migrations.Migration):
-
     dependencies = [
-        ('main', '0054_mainpersonpage_ical_calendar_url_and_more'),
+        ("main", "0054_mainpersonpage_ical_calendar_url_and_more"),
     ]
 
     operations = [
         migrations.RemoveField(
-            model_name='mainpersonpage',
-            name='nextcloud_calendar_url',
+            model_name="mainpersonpage",
+            name="nextcloud_calendar_url",
         ),
         migrations.AlterField(
-            model_name='mainpersonpage',
-            name='ical_calendar_url',
-            field=models.URLField(blank=True, help_text='Podporuje Mrak, Google Kalendář a další. Návod na synchronizaci najdeš na pi2.cz/kalendare', max_length=256, null=True, verbose_name='iCal adresa kalendáře'),
+            model_name="mainpersonpage",
+            name="ical_calendar_url",
+            field=models.URLField(
+                blank=True,
+                help_text="Podporuje Mrak, Google Kalendář a další. Návod na synchronizaci najdeš na pi2.cz/kalendare",
+                max_length=256,
+                null=True,
+                verbose_name="iCal adresa kalendáře",
+            ),
         ),
     ]
diff --git a/main/models.py b/main/models.py
index 934bd1b650a71d32689b80f25d8d6d75a2eb461c..ff0cd54f32bf47bd83b7a0ce40a262651a5f227b 100644
--- a/main/models.py
+++ b/main/models.py
@@ -1,10 +1,7 @@
+from datetime import date, timedelta
 from functools import cached_property
 
-import json
-import requests
-
 from dateutil.relativedelta import relativedelta
-from datetime import date, timedelta
 from django.conf import settings
 from django.contrib import messages
 from django.core.cache import cache
@@ -40,11 +37,11 @@ from shared.models import (  # MenuMixin,
     ArticleMixin,
     ExtendedMetadataHomePageMixin,
     ExtendedMetadataPageMixin,
+    PersonCalendarMixin,
     SubpageMixin,
 )
 from shared.utils import make_promote_panels, subscribe_to_newsletter
 from tuning import admin_help
-from instagram_utils.models import InstagramPost
 
 from . import blocks
 from .constants import MONTH_NAMES
@@ -217,12 +214,9 @@ class MainHomePage(
             for access_data in self.instagram_access.raw_data
         ]
 
-        instagram_post_list = (
-            InstagramPost.
-            objects.
-            filter(author_username__in=instagram_username_list).
-            order_by("-timestamp")
-        )
+        instagram_post_list = InstagramPost.objects.filter(
+            author_username__in=instagram_username_list
+        ).order_by("-timestamp")
 
         context["instagram_post_list"] = instagram_post_list[:4]
         context["show_next_instagram_post"] = len(instagram_post_list) > 4
@@ -270,22 +264,19 @@ class MainHomePage(
             for access_data in self.instagram_access.raw_data
         ]
 
-        instagram_post_list_queryset = (
-            InstagramPost.
-            objects.
-            filter(author_username__in=instagram_username_list).
-            order_by("-timestamp")
-        )
+        instagram_post_list_queryset = InstagramPost.objects.filter(
+            author_username__in=instagram_username_list
+        ).order_by("-timestamp")
 
         instagram_post_paginator = Paginator(instagram_post_list_queryset, 4)
 
-        instagram_post_page = instagram_post_paginator.get_page(request.GET.get("page", 1))
+        instagram_post_page = instagram_post_paginator.get_page(
+            request.GET.get("page", 1)
+        )
         context = {"instagram_post_list": instagram_post_page.object_list}
 
         html_content = render(
-            request,
-            "main/includes/instagram_widget.html",
-            context
+            request, "main/includes/instagram_widget.html", context
         ).content
 
         data = {
@@ -739,7 +730,13 @@ class MainPeoplePage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin,
         verbose_name = "Lidé a týmy"
 
 
-class MainPersonPage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, Page):
+class MainPersonPage(
+    ExtendedMetadataPageMixin,
+    SubpageMixin,
+    MetadataPageMixin,
+    PersonCalendarMixin,
+    Page,
+):
     ### FIELDS
     main_image = models.ForeignKey(
         "wagtailimages.Image",
@@ -797,16 +794,6 @@ class MainPersonPage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin,
 
     email = models.CharField("E-mail", max_length=128, blank=True, null=True)
     phone = models.CharField("Telefonní kontakt", max_length=16, blank=True, null=True)
-    ical_calendar_url = models.URLField(
-        "iCal adresa kalendáře",
-        max_length=256,
-        blank=True,
-        null=True,
-        help_text=(
-            "Podporuje Mrak, Google Kalendář a další. Návod na synchronizaci najdeš "
-            "na pi2.cz/kalendare"
-        ),
-    )
 
     settings_panels = []
 
@@ -832,69 +819,17 @@ class MainPersonPage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin,
         FieldPanel("people"),
     ]
 
-    def get_context(self, request):
+    def get_context(self, request) -> dict:
         context = super().get_context(request)
 
         context["article_page_list"] = MainArticlePage.objects.filter(
             author_page=self.id
         )
 
-        if len(self.instagram_access.raw_data) != 0:
-            context["instagram_post_list"] = (
-                InstagramPost.
-                objects.
-                filter(
-                    author_username=self.instagram_access.raw_data[0]["value"]["username"]
-                ).
-                order_by("-timestamp")
-            )[:20]
-
-        if self.ical_calendar_url:
-            context["calendar_data"] = self.get_ical_data()
-
         return context
 
     ### OTHERS
 
-    def get_ical_data(self) -> list:
-        ical_response = cache.get(f"calendar_{self.ical_calendar_url}")
-
-        if ical_response is None:
-            ical_response = requests.get(self.ical_calendar_url)
-            ical_response.raise_for_status()
-            ical_response = ical_response.text
-
-            cache.set(
-                f"calendar_{self.ical_calendar_url}",
-                ical_response,
-                timeout=3600,  # 1 hour
-            )
-
-        parsed_events = icalevents.parse_events(
-            ical_response,
-            start=date.today() - timedelta(days=30),
-            end=date.today() + timedelta(days=60),
-        )
-
-        calendar_format_events = []
-
-        for event in parsed_events:
-            parsed_event = {
-                "allDay": event.all_day,
-                "start": event.start.isoformat(),
-                "end": event.end.isoformat(),
-            }
-
-            if event.summary is not None:
-                parsed_event["title"] = event.summary
-
-            if event.url is not None:
-                parsed_event["url"] = event.url
-
-            calendar_format_events.append(parsed_event)
-
-        return json.dumps(calendar_format_events)
-
     class Meta:
         verbose_name = "Detail osoby"
         # ordering = ("title",)
diff --git a/main/static/main/main.js b/main/static/main/main.js
index d82d9f2ff1debd7803d5273cf007bdc4fdaea69a..ff9bd1d7a9b80a7fef858a1922a56fc88a23956d 100644
--- a/main/static/main/main.js
+++ b/main/static/main/main.js
@@ -10,7 +10,7 @@ var is=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?wind
 `,"	":"	","'":"'"},C9=/&(?:lt|gt|quot|amp|#39);/g,T9=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,x9=x("pre,textarea",!0),D0=function(s,a){return s&&x9(s)&&a[0]===`
 `};function D9(s,a){var c=a?T9:C9;return s.replace(c,function(u){return A9[u]})}function _9(s,a){for(var c,u,p=[],h=a.expectHTML,b=a.isUnaryTag||Te,L=a.canBeLeftOpenTag||Te,w=0,_=function(){if(c=s,u&&T0(u)){var N=0,H=u.toLowerCase(),B=x0[H]||(x0[H]=new RegExp("([\\s\\S]*?)(</"+H+"[^>]*>)","i"));I=s.replace(B,function(pe,Se,Ue){return N=Ue.length,T0(H)||H==="noscript"||(Se=Se.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),D0(H,Se)&&(Se=Se.slice(1)),a.chars&&a.chars(Se),""}),w+=s.length-I.length,s=I,T(H,w-N,w)}else{var ie=s.indexOf("<");if(ie===0){if(A0.test(s)){var te=s.indexOf("-->");if(te>=0)return a.shouldKeepComment&&a.comment&&a.comment(s.substring(4,te),w,w+te+3),R(te+3),"continue"}if(C0.test(s)){var ye=s.indexOf("]>");if(ye>=0)return R(ye+2),"continue"}var ve=s.match(w9);if(ve)return R(ve[0].length),"continue";var Ke=s.match(w0);if(Ke){var Ie=w;return R(Ke[0].length),T(Ke[1],Ie,w),"continue"}var Be=function(){var pe=s.match(L0);if(pe){var Se={tagName:pe[1],attrs:[],start:w};R(pe[0].length);for(var Ue=void 0,rt=void 0;!(Ue=s.match(L9))&&(rt=s.match(E9)||s.match(S9));)rt.start=w,R(rt[0].length),rt.end=w,Se.attrs.push(rt);if(Ue)return Se.unarySlash=Ue[1],R(Ue[0].length),Se.end=w,Se}}();if(Be)return function(pe){var Se=pe.tagName,Ue=pe.unarySlash;h&&(u==="p"&&b9(Se)&&T(u),L(Se)&&u===Se&&T(Se));for(var rt=b(Se)||!!Ue,Je=pe.attrs.length,et=new Array(Je),bt=0;bt<Je;bt++){var lt=pe.attrs[bt],nt=lt[3]||lt[4]||lt[5]||"",vt=Se==="a"&&lt[1]==="href"?a.shouldDecodeNewlinesForHref:a.shouldDecodeNewlines;et[bt]={name:lt[1],value:D9(nt,vt)}}rt||(p.push({tag:Se,lowerCasedTag:Se.toLowerCase(),attrs:et,start:pe.start,end:pe.end}),u=Se),a.start&&a.start(Se,et,rt,pe.start,pe.end)}(Be),D0(Be.tagName,s)&&R(1),"continue"}var Ge=void 0,I=void 0,F=void 0;if(ie>=0){for(I=s.slice(ie);!(w0.test(I)||L0.test(I)||A0.test(I)||C0.test(I)||(F=I.indexOf("<",1))<0);)ie+=F,I=s.slice(ie);Ge=s.substring(0,ie)}ie<0&&(Ge=s),Ge&&R(Ge.length),a.chars&&Ge&&a.chars(Ge,w-Ge.length,w)}if(s===c)return a.chars&&a.chars(s),"break"};s&&_()!=="break";);function R(N){w+=N,s=s.substring(N)}function T(N,H,B){var ie,te;if(H==null&&(H=w),B==null&&(B=w),N)for(te=N.toLowerCase(),ie=p.length-1;ie>=0&&p[ie].lowerCasedTag!==te;ie--);else ie=0;if(ie>=0){for(var ye=p.length-1;ye>=ie;ye--)a.end&&a.end(p[ye].tag,H,B);p.length=ie,u=ie&&p[ie-1].tag}else te==="br"?a.start&&a.start(N,[],!0,H,B):te==="p"&&(a.start&&a.start(N,[],!1,H,B),a.end&&a.end(N,H,B))}T()}var _0,R0,Ro,Oo,Mo,Io,ko,O0,M0=/^@|^v-on:/,Po=/^v-|^@|^:|^#/,R9=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,I0=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,O9=/^\(|\)$/g,Wi=/^\[.*\]$/,M9=/:(.*)$/,k0=/^:|^\.|^v-bind:/,P0=/\.[^.\]]+(?=[^\]]*$)/g,No=/^v-slot(:|$)|^#/,I9=/[\r\n]/,k9=/[ \f\t\r\n]+/g,P9=se(g9),Gi="_empty_";function jo(s,a,c){return{type:1,tag:s,attrsList:a,attrsMap:H9(a),rawAttrsMap:{},parent:c,children:[]}}function N9(s,a){_0=a.warn||Pl,Io=a.isPreTag||Te,ko=a.mustUseProp||Te,O0=a.getTagNamespace||Te,a.isReservedTag,Ro=Xr(a.modules,"transformNode"),Oo=Xr(a.modules,"preTransformNode"),Mo=Xr(a.modules,"postTransformNode"),R0=a.delimiters;var c,u,p=[],h=a.preserveWhitespace!==!1,b=a.whitespace,L=!1,w=!1;function _(T){if(R(T),L||T.processed||(T=Yi(T,a)),p.length||T===c||c.if&&(T.elseif||T.else)&&Dr(c,{exp:T.elseif,block:T}),u&&!T.forbidden)if(T.elseif||T.else)H=T,B=function(te){for(var ye=te.length;ye--;){if(te[ye].type===1)return te[ye];te.pop()}}(u.children),B&&B.if&&Dr(B,{exp:H.elseif,block:H});else{if(T.slotScope){var N=T.slotTarget||'"default"';(u.scopedSlots||(u.scopedSlots={}))[N]=T}u.children.push(T),T.parent=u}var H,B;T.children=T.children.filter(function(te){return!te.slotScope}),R(T),T.pre&&(L=!1),Io(T.tag)&&(w=!1);for(var ie=0;ie<Mo.length;ie++)Mo[ie](T,a)}function R(T){if(!w)for(var N=void 0;(N=T.children[T.children.length-1])&&N.type===3&&N.text===" ";)T.children.pop()}return _9(s,{warn:_0,expectHTML:a.expectHTML,isUnaryTag:a.isUnaryTag,canBeLeftOpenTag:a.canBeLeftOpenTag,shouldDecodeNewlines:a.shouldDecodeNewlines,shouldDecodeNewlinesForHref:a.shouldDecodeNewlinesForHref,shouldKeepComment:a.comments,outputSourceRange:a.outputSourceRange,start:function(T,N,H,B,ie){var te=u&&u.ns||O0(T);ht&&te==="svg"&&(N=function(Ie){for(var Be=[],Ge=0;Ge<Ie.length;Ge++){var I=Ie[Ge];$9.test(I.name)||(I.name=I.name.replace(B9,""),Be.push(I))}return Be}(N));var ye,ve=jo(T,N,u);te&&(ve.ns=te),(ye=ve).tag!=="style"&&(ye.tag!=="script"||ye.attrsMap.type&&ye.attrsMap.type!=="text/javascript")||Rt()||(ve.forbidden=!0);for(var Ke=0;Ke<Oo.length;Ke++)ve=Oo[Ke](ve,a)||ve;L||(function(Ie){Ct(Ie,"v-pre")!=null&&(Ie.pre=!0)}(ve),ve.pre&&(L=!0)),Io(ve.tag)&&(w=!0),L?function(Ie){var Be=Ie.attrsList,Ge=Be.length;if(Ge)for(var I=Ie.attrs=new Array(Ge),F=0;F<Ge;F++)I[F]={name:Be[F].name,value:JSON.stringify(Be[F].value)},Be[F].start!=null&&(I[F].start=Be[F].start,I[F].end=Be[F].end);else Ie.pre||(Ie.plain=!0)}(ve):ve.processed||(N0(ve),function(Ie){var Be=Ct(Ie,"v-if");if(Be)Ie.if=Be,Dr(Ie,{exp:Be,block:Ie});else{Ct(Ie,"v-else")!=null&&(Ie.else=!0);var Ge=Ct(Ie,"v-else-if");Ge&&(Ie.elseif=Ge)}}(ve),function(Ie){Ct(Ie,"v-once")!=null&&(Ie.once=!0)}(ve)),c||(c=ve),H?_(ve):(u=ve,p.push(ve))},end:function(T,N,H){var B=p[p.length-1];p.length-=1,u=p[p.length-1],_(B)},chars:function(T,N,H){if(u&&(!ht||u.tag!=="textarea"||u.attrsMap.placeholder!==T)){var B,ie=u.children;if(T=w||T.trim()?(B=u).tag==="script"||B.tag==="style"?T:P9(T):ie.length?b?b==="condense"&&I9.test(T)?"":" ":h?" ":"":""){w||b!=="condense"||(T=T.replace(k9," "));var te=void 0,ye=void 0;!L&&T!==" "&&(te=function(ve,Ke){var Ie=Ke?h9(Ke):f9;if(Ie.test(ve)){for(var Be,Ge,I,F=[],pe=[],Se=Ie.lastIndex=0;Be=Ie.exec(ve);){(Ge=Be.index)>Se&&(pe.push(I=ve.slice(Se,Ge)),F.push(JSON.stringify(I)));var Ue=ho(Be[1].trim());F.push("_s(".concat(Ue,")")),pe.push({"@binding":Ue}),Se=Ge+Be[0].length}return Se<ve.length&&(pe.push(I=ve.slice(Se)),F.push(JSON.stringify(I))),{expression:F.join("+"),tokens:pe}}}(T,R0))?ye={type:2,expression:te.expression,tokens:te.tokens,text:T}:T===" "&&ie.length&&ie[ie.length-1].text===" "||(ye={type:3,text:T}),ye&&ie.push(ye)}}},comment:function(T,N,H){if(u){var B={type:3,text:T,isComment:!0};u.children.push(B)}}}),c}function Yi(s,a){var c,u;(u=sn(c=s,"key"))&&(c.key=u),s.plain=!s.key&&!s.scopedSlots&&!s.attrsList.length,function(h){var b=sn(h,"ref");b&&(h.ref=b,h.refInFor=function(L){for(var w=L;w;){if(w.for!==void 0)return!0;w=w.parent}return!1}(h))}(s),function(h){var b;h.tag==="template"?(b=Ct(h,"scope"),h.slotScope=b||Ct(h,"slot-scope")):(b=Ct(h,"slot-scope"))&&(h.slotScope=b);var L=sn(h,"slot");if(L&&(h.slotTarget=L==='""'?'"default"':L,h.slotTargetDynamic=!(!h.attrsMap[":slot"]&&!h.attrsMap["v-bind:slot"]),h.tag==="template"||h.slotScope||po(h,"slot",L,function(te,ye){return te.rawAttrsMap[":"+ye]||te.rawAttrsMap["v-bind:"+ye]||te.rawAttrsMap[ye]}(h,"slot"))),h.tag==="template"){if(T=Nl(h,No)){var w=j0(T),_=w.name,R=w.dynamic;h.slotTarget=_,h.slotTargetDynamic=R,h.slotScope=T.value||Gi}}else{var T;if(T=Nl(h,No)){var N=h.scopedSlots||(h.scopedSlots={}),H=j0(T),B=H.name,ie=(R=H.dynamic,N[B]=jo("template",[],h));ie.slotTarget=B,ie.slotTargetDynamic=R,ie.children=h.children.filter(function(te){if(!te.slotScope)return te.parent=ie,!0}),ie.slotScope=T.value||Gi,h.children=[],h.plain=!1}}}(s),function(h){h.tag==="slot"&&(h.slotName=sn(h,"name"))}(s),function(h){var b;(b=sn(h,"is"))&&(h.component=b),Ct(h,"inline-template")!=null&&(h.inlineTemplate=!0)}(s);for(var p=0;p<Ro.length;p++)s=Ro[p](s,a)||s;return function(h){var b,L,w,_,R,T,N,H,B=h.attrsList;for(b=0,L=B.length;b<L;b++)if(w=_=B[b].name,R=B[b].value,Po.test(w))if(h.hasBindings=!0,(T=j9(w.replace(Po,"")))&&(w=w.replace(P0,"")),k0.test(w))w=w.replace(k0,""),R=ho(R),(H=Wi.test(w))&&(w=w.slice(1,-1)),T&&(T.prop&&!H&&(w=W(w))==="innerHtml"&&(w="innerHTML"),T.camel&&!H&&(w=W(w)),T.sync&&(N=Fn(R,"$event"),H?Dn(h,'"update:"+('.concat(w,")"),N,null,!1,0,B[b],!0):(Dn(h,"update:".concat(W(w)),N,null,!1,0,B[b]),X(w)!==W(w)&&Dn(h,"update:".concat(X(w)),N,null,!1,0,B[b])))),T&&T.prop||!h.component&&ko(h.tag,h.attrsMap.type,w)?rr(h,w,R,B[b],H):po(h,w,R,B[b],H);else if(M0.test(w))w=w.replace(M0,""),(H=Wi.test(w))&&(w=w.slice(1,-1)),Dn(h,w,R,T,!1,0,B[b],H);else{var ie=(w=w.replace(Po,"")).match(M9),te=ie&&ie[1];H=!1,te&&(w=w.slice(0,-(te.length+1)),Wi.test(te)&&(te=te.slice(1,-1),H=!0)),Ff(h,w,_,R,te,H,T,B[b])}else po(h,w,JSON.stringify(R),B[b]),!h.component&&w==="muted"&&ko(h.tag,h.attrsMap.type,w)&&rr(h,w,"true",B[b])}(s),s}function N0(s){var a;if(a=Ct(s,"v-for")){var c=function(u){var p=u.match(R9);if(!!p){var h={};h.for=p[2].trim();var b=p[1].trim().replace(O9,""),L=b.match(I0);return L?(h.alias=b.replace(I0,"").trim(),h.iterator1=L[1].trim(),L[2]&&(h.iterator2=L[2].trim())):h.alias=b,h}}(a);c&&ce(s,c)}}function Dr(s,a){s.ifConditions||(s.ifConditions=[]),s.ifConditions.push(a)}function j0(s){var a=s.name.replace(No,"");return a||s.name[0]!=="#"&&(a="default"),Wi.test(a)?{name:a.slice(1,-1),dynamic:!0}:{name:'"'.concat(a,'"'),dynamic:!1}}function j9(s){var a=s.match(P0);if(a){var c={};return a.forEach(function(u){c[u.slice(1)]=!0}),c}}function H9(s){for(var a={},c=0,u=s.length;c<u;c++)a[s[c].name]=s[c].value;return a}var $9=/^xmlns:NS\d+/,B9=/^NS\d+:/;function Ho(s){return jo(s.tag,s.attrsList.slice(),s.parent)}var H0=[p9,v9,{preTransformNode:function(s,a){if(s.tag==="input"){var c=s.attrsMap;if(!c["v-model"])return;var u=void 0;if((c[":type"]||c["v-bind:type"])&&(u=sn(s,"type")),c.type||u||!c["v-bind"]||(u="(".concat(c["v-bind"],").type")),u){var p=Ct(s,"v-if",!0),h=p?"&&(".concat(p,")"):"",b=Ct(s,"v-else",!0)!=null,L=Ct(s,"v-else-if",!0),w=Ho(s);N0(w),vo(w,"type","checkbox"),Yi(w,a),w.processed=!0,w.if="(".concat(u,")==='checkbox'")+h,Dr(w,{exp:w.if,block:w});var _=Ho(s);Ct(_,"v-for",!0),vo(_,"type","radio"),Yi(_,a),Dr(w,{exp:"(".concat(u,")==='radio'")+h,block:_});var R=Ho(s);return Ct(R,"v-for",!0),vo(R,":type",u),Yi(R,a),Dr(w,{exp:p,block:R}),b?w.else=!0:L&&(w.elseif=L),w}}}}],$0,$o,F9={model:function(s,a,c){var u=a.value,p=a.modifiers,h=s.tag,b=s.attrsMap.type;if(s.component)return jl(s,u,p),!1;if(h==="select")(function(L,w,_){var R=_&&_.number,T='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(R?"_n(val)":"val","})"),N="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",H="var $$selectedVal = ".concat(T,";");H="".concat(H," ").concat(Fn(w,N)),Dn(L,"change",H,null,!0)})(s,u,p);else if(h==="input"&&b==="checkbox")(function(L,w,_){var R=_&&_.number,T=sn(L,"value")||"null",N=sn(L,"true-value")||"true",H=sn(L,"false-value")||"false";rr(L,"checked","Array.isArray(".concat(w,")")+"?_i(".concat(w,",").concat(T,")>-1")+(N==="true"?":(".concat(w,")"):":_q(".concat(w,",").concat(N,")"))),Dn(L,"change","var $$a=".concat(w,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(N,"):(").concat(H,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(R?"_n("+T+")":T,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Fn(w,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Fn(w,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Fn(w,"$$c"),"}"),null,!0)})(s,u,p);else if(h==="input"&&b==="radio")(function(L,w,_){var R=_&&_.number,T=sn(L,"value")||"null";T=R?"_n(".concat(T,")"):T,rr(L,"checked","_q(".concat(w,",").concat(T,")")),Dn(L,"change",Fn(w,T),null,!0)})(s,u,p);else if(h==="input"||h==="textarea")(function(L,w,_){var R=L.attrsMap.type,T=_||{},N=T.lazy,H=T.number,B=T.trim,ie=!N&&R!=="range",te=N?"change":R==="range"?zf:"input",ye="$event.target.value";B&&(ye="$event.target.value.trim()"),H&&(ye="_n(".concat(ye,")"));var ve=Fn(w,ye);ie&&(ve="if($event.target.composing)return;".concat(ve)),rr(L,"value","(".concat(w,")")),Dn(L,te,ve,null,!0),(B||H)&&Dn(L,"blur","$forceUpdate()")})(s,u,p);else if(!le.isReservedTag(h))return jl(s,u,p),!1;return!0},text:function(s,a){a.value&&rr(s,"textContent","_s(".concat(a.value,")"),a)},html:function(s,a){a.value&&rr(s,"innerHTML","_s(".concat(a.value,")"),a)}},V9={expectHTML:!0,modules:H0,directives:F9,isPreTag:function(s){return s==="pre"},isUnaryTag:m9,mustUseProp:wl,canBeLeftOpenTag:y9,isReservedTag:oo,getTagNamespace:xl,staticKeys:function(s){return s.reduce(function(a,c){return a.concat(c.staticKeys||[])},[]).join(",")}(H0)},z9=se(function(s){return x("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(s?","+s:""))});function U9(s,a){s&&($0=z9(a.staticKeys||""),$o=a.isReservedTag||Te,Bo(s),Fo(s,!1))}function Bo(s){if(s.static=function(h){return h.type===2?!1:h.type===3?!0:!(!h.pre&&(h.hasBindings||h.if||h.for||O(h.tag)||!$o(h.tag)||function(b){for(;b.parent;){if((b=b.parent).tag!=="template")return!1;if(b.for)return!0}return!1}(h)||!Object.keys(h).every($0)))}(s),s.type===1){if(!$o(s.tag)&&s.tag!=="slot"&&s.attrsMap["inline-template"]==null)return;for(var a=0,c=s.children.length;a<c;a++){var u=s.children[a];Bo(u),u.static||(s.static=!1)}if(s.ifConditions)for(a=1,c=s.ifConditions.length;a<c;a++){var p=s.ifConditions[a].block;Bo(p),p.static||(s.static=!1)}}}function Fo(s,a){if(s.type===1){if((s.static||s.once)&&(s.staticInFor=a),s.static&&s.children.length&&(s.children.length!==1||s.children[0].type!==3))return void(s.staticRoot=!0);if(s.staticRoot=!1,s.children)for(var c=0,u=s.children.length;c<u;c++)Fo(s.children[c],a||!!s.for);if(s.ifConditions)for(c=1,u=s.ifConditions.length;c<u;c++)Fo(s.ifConditions[c].block,a)}}var W9=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,G9=/\([^)]*?\);*$/,B0=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,F0={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Y9={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"]},Rn=function(s){return"if(".concat(s,")return null;")},V0={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Rn("$event.target !== $event.currentTarget"),ctrl:Rn("!$event.ctrlKey"),shift:Rn("!$event.shiftKey"),alt:Rn("!$event.altKey"),meta:Rn("!$event.metaKey"),left:Rn("'button' in $event && $event.button !== 0"),middle:Rn("'button' in $event && $event.button !== 1"),right:Rn("'button' in $event && $event.button !== 2")};function z0(s,a){var c=a?"nativeOn:":"on:",u="",p="";for(var h in s){var b=U0(s[h]);s[h]&&s[h].dynamic?p+="".concat(h,",").concat(b,","):u+='"'.concat(h,'":').concat(b,",")}return u="{".concat(u.slice(0,-1),"}"),p?c+"_d(".concat(u,",[").concat(p.slice(0,-1),"])"):c+u}function U0(s){if(!s)return"function(){}";if(Array.isArray(s))return"[".concat(s.map(function(R){return U0(R)}).join(","),"]");var a=B0.test(s.value),c=W9.test(s.value),u=B0.test(s.value.replace(G9,""));if(s.modifiers){var p="",h="",b=[],L=function(R){if(V0[R])h+=V0[R],F0[R]&&b.push(R);else if(R==="exact"){var T=s.modifiers;h+=Rn(["ctrl","shift","alt","meta"].filter(function(N){return!T[N]}).map(function(N){return"$event.".concat(N,"Key")}).join("||"))}else b.push(R)};for(var w in s.modifiers)L(w);b.length&&(p+=function(R){return"if(!$event.type.indexOf('key')&&"+"".concat(R.map(Z9).join("&&"),")return null;")}(b)),h&&(p+=h);var _=a?"return ".concat(s.value,".apply(null, arguments)"):c?"return (".concat(s.value,").apply(null, arguments)"):u?"return ".concat(s.value):s.value;return"function($event){".concat(p).concat(_,"}")}return a||c?s.value:"function($event){".concat(u?"return ".concat(s.value):s.value,"}")}function Z9(s){var a=parseInt(s,10);if(a)return"$event.keyCode!==".concat(a);var c=F0[s],u=Y9[s];return"_k($event.keyCode,"+"".concat(JSON.stringify(s),",")+"".concat(JSON.stringify(c),",")+"$event.key,"+"".concat(JSON.stringify(u))+")"}var Q9={on:function(s,a){s.wrapListeners=function(c){return"_g(".concat(c,",").concat(a.value,")")}},bind:function(s,a){s.wrapData=function(c){return"_b(".concat(c,",'").concat(s.tag,"',").concat(a.value,",").concat(a.modifiers&&a.modifiers.prop?"true":"false").concat(a.modifiers&&a.modifiers.sync?",true":"",")")}},cloak:we},X9=function(s){this.options=s,this.warn=s.warn||Pl,this.transforms=Xr(s.modules,"transformCode"),this.dataGenFns=Xr(s.modules,"genData"),this.directives=ce(ce({},Q9),s.directives);var a=s.isReservedTag||Te;this.maybeComponent=function(c){return!!c.component||!a(c.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function W0(s,a){var c=new X9(a),u=s?s.tag==="script"?"null":On(s,c):'_c("div")';return{render:"with(this){return ".concat(u,"}"),staticRenderFns:c.staticRenderFns}}function On(s,a){if(s.parent&&(s.pre=s.pre||s.parent.pre),s.staticRoot&&!s.staticProcessed)return G0(s,a);if(s.once&&!s.onceProcessed)return Y0(s,a);if(s.for&&!s.forProcessed)return Q0(s,a);if(s.if&&!s.ifProcessed)return Vo(s,a);if(s.tag!=="template"||s.slotTarget||a.pre){if(s.tag==="slot")return function(_,R){var T=_.slotName||'"default"',N=_r(_,R),H="_t(".concat(T).concat(N?",function(){return ".concat(N,"}"):""),B=_.attrs||_.dynamicAttrs?Zi((_.attrs||[]).concat(_.dynamicAttrs||[]).map(function(te){return{name:W(te.name),value:te.value,dynamic:te.dynamic}})):null,ie=_.attrsMap["v-bind"];return!B&&!ie||N||(H+=",null"),B&&(H+=",".concat(B)),ie&&(H+="".concat(B?"":",null",",").concat(ie)),H+")"}(s,a);var c=void 0;if(s.component)c=function(_,R,T){var N=R.inlineTemplate?null:_r(R,T,!0);return"_c(".concat(_,",").concat(X0(R,T)).concat(N?",".concat(N):"",")")}(s.component,s,a);else{var u=void 0,p=a.maybeComponent(s);(!s.plain||s.pre&&p)&&(u=X0(s,a));var h=void 0,b=a.options.bindings;p&&b&&b.__isScriptSetup!==!1&&(h=function(_,R){var T=W(R),N=ue(T),H=function(te){return _[R]===te?R:_[T]===te?T:_[N]===te?N:void 0},B=H("setup-const")||H("setup-reactive-const");if(B)return B;var ie=H("setup-let")||H("setup-ref")||H("setup-maybe-ref");if(ie)return ie}(b,s.tag)),h||(h="'".concat(s.tag,"'"));var L=s.inlineTemplate?null:_r(s,a,!0);c="_c(".concat(h).concat(u?",".concat(u):"").concat(L?",".concat(L):"",")")}for(var w=0;w<a.transforms.length;w++)c=a.transforms[w](s,c);return c}return _r(s,a)||"void 0"}function G0(s,a){s.staticProcessed=!0;var c=a.pre;return s.pre&&(a.pre=s.pre),a.staticRenderFns.push("with(this){return ".concat(On(s,a),"}")),a.pre=c,"_m(".concat(a.staticRenderFns.length-1).concat(s.staticInFor?",true":"",")")}function Y0(s,a){if(s.onceProcessed=!0,s.if&&!s.ifProcessed)return Vo(s,a);if(s.staticInFor){for(var c="",u=s.parent;u;){if(u.for){c=u.key;break}u=u.parent}return c?"_o(".concat(On(s,a),",").concat(a.onceId++,",").concat(c,")"):On(s,a)}return G0(s,a)}function Vo(s,a,c,u){return s.ifProcessed=!0,Z0(s.ifConditions.slice(),a,c,u)}function Z0(s,a,c,u){if(!s.length)return u||"_e()";var p=s.shift();return p.exp?"(".concat(p.exp,")?").concat(h(p.block),":").concat(Z0(s,a,c,u)):"".concat(h(p.block));function h(b){return c?c(b,a):b.once?Y0(b,a):On(b,a)}}function Q0(s,a,c,u){var p=s.for,h=s.alias,b=s.iterator1?",".concat(s.iterator1):"",L=s.iterator2?",".concat(s.iterator2):"";return s.forProcessed=!0,"".concat(u||"_l","((").concat(p,"),")+"function(".concat(h).concat(b).concat(L,"){")+"return ".concat((c||On)(s,a))+"})"}function X0(s,a){var c="{",u=function(b,L){var w=b.directives;if(!!w){var _,R,T,N,H="directives:[",B=!1;for(_=0,R=w.length;_<R;_++){T=w[_],N=!0;var ie=L.directives[T.name];ie&&(N=!!ie(b,T,L.warn)),N&&(B=!0,H+='{name:"'.concat(T.name,'",rawName:"').concat(T.rawName,'"').concat(T.value?",value:(".concat(T.value,"),expression:").concat(JSON.stringify(T.value)):"").concat(T.arg?",arg:".concat(T.isDynamicArg?T.arg:'"'.concat(T.arg,'"')):"").concat(T.modifiers?",modifiers:".concat(JSON.stringify(T.modifiers)):"","},"))}if(B)return H.slice(0,-1)+"]"}}(s,a);u&&(c+=u+","),s.key&&(c+="key:".concat(s.key,",")),s.ref&&(c+="ref:".concat(s.ref,",")),s.refInFor&&(c+="refInFor:true,"),s.pre&&(c+="pre:true,"),s.component&&(c+='tag:"'.concat(s.tag,'",'));for(var p=0;p<a.dataGenFns.length;p++)c+=a.dataGenFns[p](s);if(s.attrs&&(c+="attrs:".concat(Zi(s.attrs),",")),s.props&&(c+="domProps:".concat(Zi(s.props),",")),s.events&&(c+="".concat(z0(s.events,!1),",")),s.nativeEvents&&(c+="".concat(z0(s.nativeEvents,!0),",")),s.slotTarget&&!s.slotScope&&(c+="slot:".concat(s.slotTarget,",")),s.scopedSlots&&(c+="".concat(function(b,L,w){var _=b.for||Object.keys(L).some(function(H){var B=L[H];return B.slotTargetDynamic||B.if||B.for||K0(B)}),R=!!b.if;if(!_)for(var T=b.parent;T;){if(T.slotScope&&T.slotScope!==Gi||T.for){_=!0;break}T.if&&(R=!0),T=T.parent}var N=Object.keys(L).map(function(H){return zo(L[H],w)}).join(",");return"scopedSlots:_u([".concat(N,"]").concat(_?",null,true":"").concat(!_&&R?",null,false,".concat(function(H){for(var B=5381,ie=H.length;ie;)B=33*B^H.charCodeAt(--ie);return B>>>0}(N)):"",")")}(s,s.scopedSlots,a),",")),s.model&&(c+="model:{value:".concat(s.model.value,",callback:").concat(s.model.callback,",expression:").concat(s.model.expression,"},")),s.inlineTemplate){var h=function(b,L){var w=b.children[0];if(w&&w.type===1){var _=W0(w,L.options);return"inlineTemplate:{render:function(){".concat(_.render,"},staticRenderFns:[").concat(_.staticRenderFns.map(function(R){return"function(){".concat(R,"}")}).join(","),"]}")}}(s,a);h&&(c+="".concat(h,","))}return c=c.replace(/,$/,"")+"}",s.dynamicAttrs&&(c="_b(".concat(c,',"').concat(s.tag,'",').concat(Zi(s.dynamicAttrs),")")),s.wrapData&&(c=s.wrapData(c)),s.wrapListeners&&(c=s.wrapListeners(c)),c}function K0(s){return s.type===1&&(s.tag==="slot"||s.children.some(K0))}function zo(s,a){var c=s.attrsMap["slot-scope"];if(s.if&&!s.ifProcessed&&!c)return Vo(s,a,zo,"null");if(s.for&&!s.forProcessed)return Q0(s,a,zo);var u=s.slotScope===Gi?"":String(s.slotScope),p="function(".concat(u,"){")+"return ".concat(s.tag==="template"?s.if&&c?"(".concat(s.if,")?").concat(_r(s,a)||"undefined",":undefined"):_r(s,a)||"undefined":On(s,a),"}"),h=u?"":",proxy:true";return"{key:".concat(s.slotTarget||'"default"',",fn:").concat(p).concat(h,"}")}function _r(s,a,c,u,p){var h=s.children;if(h.length){var b=h[0];if(h.length===1&&b.for&&b.tag!=="template"&&b.tag!=="slot"){var L=c?a.maybeComponent(b)?",1":",0":"";return"".concat((u||On)(b,a)).concat(L)}var w=c?function(R,T){for(var N=0,H=0;H<R.length;H++){var B=R[H];if(B.type===1){if(J0(B)||B.ifConditions&&B.ifConditions.some(function(ie){return J0(ie.block)})){N=2;break}(T(B)||B.ifConditions&&B.ifConditions.some(function(ie){return T(ie.block)}))&&(N=1)}}return N}(h,a.maybeComponent):0,_=p||K9;return"[".concat(h.map(function(R){return _(R,a)}).join(","),"]").concat(w?",".concat(w):"")}}function J0(s){return s.for!==void 0||s.tag==="template"||s.tag==="slot"}function K9(s,a){return s.type===1?On(s,a):s.type===3&&s.isComment?function(c){return"_e(".concat(JSON.stringify(c.text),")")}(s):function(c){return"_v(".concat(c.type===2?c.expression:q0(JSON.stringify(c.text)),")")}(s)}function Zi(s){for(var a="",c="",u=0;u<s.length;u++){var p=s[u],h=q0(p.value);p.dynamic?c+="".concat(p.name,",").concat(h,","):a+='"'.concat(p.name,'":').concat(h,",")}return a="{".concat(a.slice(0,-1),"}"),c?"_d(".concat(a,",[").concat(c.slice(0,-1),"])"):a}function q0(s){return s.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function ec(s,a){try{return new Function(s)}catch(c){return a.push({err:c,code:s}),we}}function J9(s){var a=Object.create(null);return function(c,u,p){(u=ce({},u)).warn,delete u.warn;var h=u.delimiters?String(u.delimiters)+c:c;if(a[h])return a[h];var b=s(c,u),L={},w=[];return L.render=ec(b.render,w),L.staticRenderFns=b.staticRenderFns.map(function(_){return ec(_,w)}),a[h]=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 tc,Uo,q9=(tc=function(s,a){var c=N9(s.trim(),a);a.optimize!==!1&&U9(c,a);var u=W0(c,a);return{ast:c,render:u.render,staticRenderFns:u.staticRenderFns}},function(s){function a(c,u){var p=Object.create(s),h=[],b=[];if(u)for(var L in u.modules&&(p.modules=(s.modules||[]).concat(u.modules)),u.directives&&(p.directives=ce(Object.create(s.directives||null),u.directives)),u)L!=="modules"&&L!=="directives"&&(p[L]=u[L]);p.warn=function(_,R,T){(T?b:h).push(_)};var w=tc(c.trim(),p);return w.errors=h,w.tips=b,w}return{compile:a,compileToFunctions:J9(a)}}),nc=q9(V9).compileToFunctions;function rc(s){return(Uo=Uo||document.createElement("div")).innerHTML=s?`<a href="
 "/>`:`<div a="
-"/>`,Uo.innerHTML.indexOf("&#10;")>0}var eh=!!Ne&&rc(!1),th=!!Ne&&rc(!0),nh=se(function(s){var a=lo(s);return a&&a.innerHTML}),rh=dt.prototype.$mount;return dt.prototype.$mount=function(s,a){if((s=s&&lo(s))===document.body||s===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=nh(u));else{if(!u.nodeType)return this;u=u.innerHTML}else s&&(u=function(L){if(L.outerHTML)return L.outerHTML;var w=document.createElement("div");return w.appendChild(L.cloneNode(!0)),w.innerHTML}(s));if(u){var p=nc(u,{outputSourceRange:!1,shouldDecodeNewlines:eh,shouldDecodeNewlinesForHref:th,delimiters:c.delimiters,comments:c.comments},this),h=p.render,b=p.staticRenderFns;c.render=h,c.staticRenderFns=b}}return rh.call(this,s,a)},dt.compile=nc,ce(dt,uf),dt.effect=function(s,a){var c=new Cr(qe,s,we,{sync:!0});a&&(c.update=function(){a(function(){return c.run()})})},dt})})(Sa);const At=uu(Sa.exports),du=function(n,e,t){for(var i=0;i<n.length;i++)e.call(t,n[i])};function ih(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)}function Sn(){return ih()>=1200}var fu={exports:{}};(function(n,e){(function(i,r){n.exports=r()})(typeof self!="undefined"?self:is,function(){return function(t){var i={};function r(o){if(i[o])return i[o].exports;var l=i[o]={i:o,l:!1,exports:{}};return t[o].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=t,r.c=i,r.d=function(o,l,d){r.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:d})},r.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,l){if(l&1&&(o=r(o)),l&8||l&4&&typeof o=="object"&&o&&o.__esModule)return o;var d=Object.create(null);if(r.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:o}),l&2&&typeof o!="string")for(var f in o)r.d(d,f,function(v){return o[v]}.bind(null,f));return d},r.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(l,"a",l),l},r.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},r.p="",r(r.s="fb15")}({"00ee":function(t,i,r){var o=r("b622"),l=o("toStringTag"),d={};d[l]="z",t.exports=String(d)==="[object z]"},"0366":function(t,i,r){var o=r("1c0b");t.exports=function(l,d,f){if(o(l),d===void 0)return l;switch(f){case 0:return function(){return l.call(d)};case 1:return function(v){return l.call(d,v)};case 2:return function(v,g){return l.call(d,v,g)};case 3:return function(v,g,y){return l.call(d,v,g,y)}}return function(){return l.apply(d,arguments)}}},"0497":function(t,i){var r=function(o){return o.replace(/[A-Z]/g,function(l){return"-"+l.toLowerCase()}).toLowerCase()};t.exports=r},"057f":function(t,i,r){var o=r("fc6a"),l=r("241c").f,d={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(g){try{return l(g)}catch(y){return f.slice()}};t.exports.f=function(y){return f&&d.call(y)=="[object Window]"?v(y):l(o(y))}},"06cf":function(t,i,r){var o=r("83ab"),l=r("d1e7"),d=r("5c6c"),f=r("fc6a"),v=r("c04e"),g=r("5135"),y=r("0cfb"),S=Object.getOwnPropertyDescriptor;i.f=o?S:function(C,D){if(C=f(C),D=v(D,!0),y)try{return S(C,D)}catch(x){}if(g(C,D))return d(!l.f.call(C,D),C[D])}},"07ac":function(t,i,r){var o=r("23e7"),l=r("6f53").values;o({target:"Object",stat:!0},{values:function(f){return l(f)}})},"0cfb":function(t,i,r){var o=r("83ab"),l=r("d039"),d=r("cc12");t.exports=!o&&!l(function(){return Object.defineProperty(d("div"),"a",{get:function(){return 7}}).a!=7})},1276:function(t,i,r){var o=r("d784"),l=r("44e7"),d=r("825a"),f=r("1d80"),v=r("4840"),g=r("8aa5"),y=r("50c4"),S=r("14c3"),E=r("9263"),C=r("d039"),D=[].push,x=Math.min,O=4294967295,j=!C(function(){return!RegExp(O,"y")});o("split",2,function(U,Y,re){var se;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?se=function(J,W){var ue=String(f(this)),me=W===void 0?O:W>>>0;if(me===0)return[];if(J===void 0)return[ue];if(!l(J))return Y.call(ue,J,me);for(var X=[],be=(J.ignoreCase?"i":"")+(J.multiline?"m":"")+(J.unicode?"u":"")+(J.sticky?"y":""),Le=0,ce=new RegExp(J.source,be+"g"),Ae,we,Te;(Ae=E.call(ce,ue))&&(we=ce.lastIndex,!(we>Le&&(X.push(ue.slice(Le,Ae.index)),Ae.length>1&&Ae.index<ue.length&&D.apply(X,Ae.slice(1)),Te=Ae[0].length,Le=we,X.length>=me)));)ce.lastIndex===Ae.index&&ce.lastIndex++;return Le===ue.length?(Te||!ce.test(""))&&X.push(""):X.push(ue.slice(Le)),X.length>me?X.slice(0,me):X}:"0".split(void 0,0).length?se=function(J,W){return J===void 0&&W===0?[]:Y.call(this,J,W)}:se=Y,[function(W,ue){var me=f(this),X=W==null?void 0:W[U];return X!==void 0?X.call(W,me,ue):se.call(String(me),W,ue)},function(J,W){var ue=re(se,J,this,W,se!==Y);if(ue.done)return ue.value;var me=d(J),X=String(this),be=v(me,RegExp),Le=me.unicode,ce=(me.ignoreCase?"i":"")+(me.multiline?"m":"")+(me.unicode?"u":"")+(j?"y":"g"),Ae=new be(j?me:"^(?:"+me.source+")",ce),we=W===void 0?O:W>>>0;if(we===0)return[];if(X.length===0)return S(Ae,X)===null?[X]:[];for(var Te=0,ke=0,K=[];ke<X.length;){Ae.lastIndex=j?ke:0;var q=S(Ae,j?X:X.slice(ke)),oe;if(q===null||(oe=x(y(Ae.lastIndex+(j?0:ke)),X.length))===Te)ke=g(X,ke,Le);else{if(K.push(X.slice(Te,ke)),K.length===we)return K;for(var he=1;he<=q.length-1;he++)if(K.push(q[he]),K.length===we)return K;ke=Te=oe}}return K.push(X.slice(Te)),K}]},!j)},"13d5":function(t,i,r){var o=r("23e7"),l=r("d58f").left,d=r("a640"),f=r("ae40"),v=d("reduce"),g=f("reduce",{1:0});o({target:"Array",proto:!0,forced:!v||!g},{reduce:function(S){return l(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,i,r){var o=r("c6b6"),l=r("9263");t.exports=function(d,f){var v=d.exec;if(typeof v=="function"){var g=v.call(d,f);if(typeof g!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return g}if(o(d)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(d,f)}},"159b":function(t,i,r){var o=r("da84"),l=r("fdbc"),d=r("17c2"),f=r("9112");for(var v in l){var g=o[v],y=g&&g.prototype;if(y&&y.forEach!==d)try{f(y,"forEach",d)}catch(S){y.forEach=d}}},"17c2":function(t,i,r){var o=r("b727").forEach,l=r("a640"),d=r("ae40"),f=l("forEach"),v=d("forEach");t.exports=!f||!v?function(y){return o(this,y,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(t,i,r){var o=r("d066");t.exports=o("document","documentElement")},"1c0b":function(t,i){t.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"1c7e":function(t,i,r){var o=r("b622"),l=o("iterator"),d=!1;try{var f=0,v={next:function(){return{done:!!f++}},return:function(){d=!0}};v[l]=function(){return this},Array.from(v,function(){throw 2})}catch(g){}t.exports=function(g,y){if(!y&&!d)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},g(E)}catch(C){}return S}},"1d80":function(t,i){t.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"1dde":function(t,i,r){var o=r("d039"),l=r("b622"),d=r("2d00"),f=l("species");t.exports=function(v){return d>=51||!o(function(){var g=[],y=g.constructor={};return y[f]=function(){return{foo:1}},g[v](Boolean).foo!==1})}},"217d":function(t,i){function r(d,f){var v=0,g=d.length,y;for(v;v<g&&(y=f(d[v],v),y!==!1);v++);}function o(d){return Object.prototype.toString.apply(d)==="[object Array]"}function l(d){return typeof d=="function"}t.exports={isFunction:l,isArray:o,each:r}},"23cb":function(t,i,r){var o=r("a691"),l=Math.max,d=Math.min;t.exports=function(f,v){var g=o(f);return g<0?l(g+v,0):d(g,v)}},"23e7":function(t,i,r){var o=r("da84"),l=r("06cf").f,d=r("9112"),f=r("6eeb"),v=r("ce4e"),g=r("e893"),y=r("94ca");t.exports=function(S,E){var C=S.target,D=S.global,x=S.stat,O,j,U,Y,re,se;if(D?j=o:x?j=o[C]||v(C,{}):j=(o[C]||{}).prototype,j)for(U in E){if(re=E[U],S.noTargetGet?(se=l(j,U),Y=se&&se.value):Y=j[U],O=y(D?U:C+(x?".":"#")+U,S.forced),!O&&Y!==void 0){if(typeof re==typeof Y)continue;g(re,Y)}(S.sham||Y&&Y.sham)&&d(re,"sham",!0),f(j,U,re,S)}}},"241c":function(t,i,r){var o=r("ca84"),l=r("7839"),d=l.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(v){return o(v,d)}},"25f0":function(t,i,r){var o=r("6eeb"),l=r("825a"),d=r("d039"),f=r("ad6d"),v="toString",g=RegExp.prototype,y=g[v],S=d(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),E=y.name!=v;(S||E)&&o(RegExp.prototype,v,function(){var D=l(this),x=String(D.source),O=D.flags,j=String(O===void 0&&D instanceof RegExp&&!("flags"in g)?f.call(D):O);return"/"+x+"/"+j},{unsafe:!0})},"2d00":function(t,i,r){var o=r("da84"),l=r("342f"),d=o.process,f=d&&d.versions,v=f&&f.v8,g,y;v?(g=v.split("."),y=g[0]+g[1]):l&&(g=l.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=l.match(/Chrome\/(\d+)/),g&&(y=g[1]))),t.exports=y&&+y},"342f":function(t,i,r){var o=r("d066");t.exports=o("navigator","userAgent")||""},"35a1":function(t,i,r){var o=r("f5df"),l=r("3f8c"),d=r("b622"),f=d("iterator");t.exports=function(v){if(v!=null)return v[f]||v["@@iterator"]||l[o(v)]}},"37e8":function(t,i,r){var o=r("83ab"),l=r("9bf2"),d=r("825a"),f=r("df75");t.exports=o?Object.defineProperties:function(g,y){d(g);for(var S=f(y),E=S.length,C=0,D;E>C;)l.f(g,D=S[C++],y[D]);return g}},"3b81":function(t,i,r){},"3bbe":function(t,i,r){var o=r("861d");t.exports=function(l){if(!o(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(t,i,r){var o=r("6547").charAt,l=r("69f3"),d=r("7dd0"),f="String Iterator",v=l.set,g=l.getterFor(f);d(String,"String",function(y){v(this,{type:f,string:String(y),index:0})},function(){var S=g(this),E=S.string,C=S.index,D;return C>=E.length?{value:void 0,done:!0}:(D=o(E,C),S.index+=D.length,{value:D,done:!1})})},"3f8c":function(t,i){t.exports={}},4160:function(t,i,r){var o=r("23e7"),l=r("17c2");o({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(t,i,r){var o=r("da84");t.exports=o},"42a0":function(t,i){var r=9007199254740991,o="[object Arguments]",l="[object Function]",d="[object GeneratorFunction]",f=/^(?:0|[1-9]\d*)$/;function v($,ee,k){switch(k.length){case 0:return $.call(ee);case 1:return $.call(ee,k[0]);case 2:return $.call(ee,k[0],k[1]);case 3:return $.call(ee,k[0],k[1],k[2])}return $.apply(ee,k)}function g($,ee){for(var k=-1,le=Array($);++k<$;)le[k]=ee(k);return le}function y($,ee){return function(k){return $(ee(k))}}var S=Object.prototype,E=S.hasOwnProperty,C=S.toString,D=S.propertyIsEnumerable,x=y(Object.keys,Object),O=Math.max,j=!D.call({valueOf:1},"valueOf");function U($,ee){var k=ce($)||Le($)?g($.length,String):[],le=k.length,ge=!!le;for(var _e in $)(ee||E.call($,_e))&&!(ge&&(_e=="length"||ue(_e,le)))&&k.push(_e);return k}function Y($,ee,k){var le=$[ee];(!(E.call($,ee)&&be(le,k))||k===void 0&&!(ee in $))&&($[ee]=k)}function re($){if(!X($))return x($);var ee=[];for(var k in Object($))E.call($,k)&&k!="constructor"&&ee.push(k);return ee}function se($,ee){return ee=O(ee===void 0?$.length-1:ee,0),function(){for(var k=arguments,le=-1,ge=O(k.length-ee,0),_e=Array(ge);++le<ge;)_e[le]=k[ee+le];le=-1;for(var Ee=Array(ee+1);++le<ee;)Ee[le]=k[le];return Ee[ee]=_e,v($,this,Ee)}}function J($,ee,k,le){k||(k={});for(var ge=-1,_e=ee.length;++ge<_e;){var Ee=ee[ge],ft=le?le(k[Ee],$[Ee],Ee,k,$):void 0;Y(k,Ee,ft===void 0?$[Ee]:ft)}return k}function W($){return se(function(ee,k){var le=-1,ge=k.length,_e=ge>1?k[ge-1]:void 0,Ee=ge>2?k[2]:void 0;for(_e=$.length>3&&typeof _e=="function"?(ge--,_e):void 0,Ee&&me(k[0],k[1],Ee)&&(_e=ge<3?void 0:_e,ge=1),ee=Object(ee);++le<ge;){var ft=k[le];ft&&$(ee,ft,le,_e)}return ee})}function ue($,ee){return ee=ee==null?r:ee,!!ee&&(typeof $=="number"||f.test($))&&$>-1&&$%1==0&&$<ee}function me($,ee,k){if(!K(k))return!1;var le=typeof ee;return(le=="number"?Ae(k)&&ue(ee,k.length):le=="string"&&ee in k)?be(k[ee],$):!1}function X($){var ee=$&&$.constructor,k=typeof ee=="function"&&ee.prototype||S;return $===k}function be($,ee){return $===ee||$!==$&&ee!==ee}function Le($){return we($)&&E.call($,"callee")&&(!D.call($,"callee")||C.call($)==o)}var ce=Array.isArray;function Ae($){return $!=null&&ke($.length)&&!Te($)}function we($){return q($)&&Ae($)}function Te($){var ee=K($)?C.call($):"";return ee==l||ee==d}function ke($){return typeof $=="number"&&$>-1&&$%1==0&&$<=r}function K($){var ee=typeof $;return!!$&&(ee=="object"||ee=="function")}function q($){return!!$&&typeof $=="object"}var oe=W(function($,ee){if(j||X(ee)||Ae(ee)){J(ee,he(ee),$);return}for(var k in ee)E.call(ee,k)&&Y($,k,ee[k])});function he($){return Ae($)?U($):re($)}t.exports=oe},"44ad":function(t,i,r){var o=r("d039"),l=r("c6b6"),d="".split;t.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?d.call(f,""):Object(f)}:Object},"44d2":function(t,i,r){var o=r("b622"),l=r("7c73"),d=r("9bf2"),f=o("unscopables"),v=Array.prototype;v[f]==null&&d.f(v,f,{configurable:!0,value:l(null)}),t.exports=function(g){v[f][g]=!0}},"44e7":function(t,i,r){var o=r("861d"),l=r("c6b6"),d=r("b622"),f=d("match");t.exports=function(v){var g;return o(v)&&((g=v[f])!==void 0?!!g:l(v)=="RegExp")}},"466d":function(t,i,r){var o=r("d784"),l=r("825a"),d=r("50c4"),f=r("1d80"),v=r("8aa5"),g=r("14c3");o("match",1,function(y,S,E){return[function(D){var x=f(this),O=D==null?void 0:D[y];return O!==void 0?O.call(D,x):new RegExp(D)[y](String(x))},function(C){var D=E(S,C,this);if(D.done)return D.value;var x=l(C),O=String(this);if(!x.global)return g(x,O);var j=x.unicode;x.lastIndex=0;for(var U=[],Y=0,re;(re=g(x,O))!==null;){var se=String(re[0]);U[Y]=se,se===""&&(x.lastIndex=v(O,d(x.lastIndex),j)),Y++}return Y===0?null:U}]})},4840:function(t,i,r){var o=r("825a"),l=r("1c0b"),d=r("b622"),f=d("species");t.exports=function(v,g){var y=o(v).constructor,S;return y===void 0||(S=o(y)[f])==null?g:l(S)}},4930:function(t,i,r){var o=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())})},"4d64":function(t,i,r){var o=r("fc6a"),l=r("50c4"),d=r("23cb"),f=function(v){return function(g,y,S){var E=o(g),C=l(E.length),D=d(S,C),x;if(v&&y!=y){for(;C>D;)if(x=E[D++],x!=x)return!0}else for(;C>D;D++)if((v||D in E)&&E[D]===y)return v||D||0;return!v&&-1}};t.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(t,i,r){var o=r("23e7"),l=r("b727").filter,d=r("1dde"),f=r("ae40"),v=d("filter"),g=f("filter");o({target:"Array",proto:!0,forced:!v||!g},{filter:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,i,r){var o=r("0366"),l=r("7b0b"),d=r("9bdd"),f=r("e95a"),v=r("50c4"),g=r("8418"),y=r("35a1");t.exports=function(E){var C=l(E),D=typeof this=="function"?this:Array,x=arguments.length,O=x>1?arguments[1]:void 0,j=O!==void 0,U=y(C),Y=0,re,se,J,W,ue,me;if(j&&(O=o(O,x>2?arguments[2]:void 0,2)),U!=null&&!(D==Array&&f(U)))for(W=U.call(C),ue=W.next,se=new D;!(J=ue.call(W)).done;Y++)me=j?d(W,O,[J.value,Y],!0):J.value,g(se,Y,me);else for(re=v(C.length),se=new D(re);re>Y;Y++)me=j?O(C[Y],Y):C[Y],g(se,Y,me);return se.length=Y,se}},"50c4":function(t,i,r){var o=r("a691"),l=Math.min;t.exports=function(d){return d>0?l(o(d),9007199254740991):0}},5135:function(t,i){var r={}.hasOwnProperty;t.exports=function(o,l){return r.call(o,l)}},5692:function(t,i,r){var o=r("c430"),l=r("c6cd");(t.exports=function(d,f){return l[d]||(l[d]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.4",mode:o?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,i,r){var o=r("d066"),l=r("241c"),d=r("7418"),f=r("825a");t.exports=o("Reflect","ownKeys")||function(g){var y=l.f(f(g)),S=d.f;return S?y.concat(S(g)):y}},5899:function(t,i){t.exports=`	
+"/>`,Uo.innerHTML.indexOf("&#10;")>0}var eh=!!Ne&&rc(!1),th=!!Ne&&rc(!0),nh=se(function(s){var a=lo(s);return a&&a.innerHTML}),rh=dt.prototype.$mount;return dt.prototype.$mount=function(s,a){if((s=s&&lo(s))===document.body||s===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=nh(u));else{if(!u.nodeType)return this;u=u.innerHTML}else s&&(u=function(L){if(L.outerHTML)return L.outerHTML;var w=document.createElement("div");return w.appendChild(L.cloneNode(!0)),w.innerHTML}(s));if(u){var p=nc(u,{outputSourceRange:!1,shouldDecodeNewlines:eh,shouldDecodeNewlinesForHref:th,delimiters:c.delimiters,comments:c.comments},this),h=p.render,b=p.staticRenderFns;c.render=h,c.staticRenderFns=b}}return rh.call(this,s,a)},dt.compile=nc,ce(dt,uf),dt.effect=function(s,a){var c=new Cr(qe,s,we,{sync:!0});a&&(c.update=function(){a(function(){return c.run()})})},dt})})(Sa);const At=uu(Sa.exports),du=function(n,e,t){for(var i=0;i<n.length;i++)e.call(t,n[i])};function ih(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)}function Sn(){return ih()>=1200}var fu={exports:{}};(function(n,e){(function(i,r){n.exports=r()})(typeof self!="undefined"?self:is,function(){return function(t){var i={};function r(o){if(i[o])return i[o].exports;var l=i[o]={i:o,l:!1,exports:{}};return t[o].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=t,r.c=i,r.d=function(o,l,d){r.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:d})},r.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,l){if(l&1&&(o=r(o)),l&8||l&4&&typeof o=="object"&&o&&o.__esModule)return o;var d=Object.create(null);if(r.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:o}),l&2&&typeof o!="string")for(var f in o)r.d(d,f,function(v){return o[v]}.bind(null,f));return d},r.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(l,"a",l),l},r.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},r.p="",r(r.s="fb15")}({"00ee":function(t,i,r){var o=r("b622"),l=o("toStringTag"),d={};d[l]="z",t.exports=String(d)==="[object z]"},"0366":function(t,i,r){var o=r("1c0b");t.exports=function(l,d,f){if(o(l),d===void 0)return l;switch(f){case 0:return function(){return l.call(d)};case 1:return function(v){return l.call(d,v)};case 2:return function(v,g){return l.call(d,v,g)};case 3:return function(v,g,y){return l.call(d,v,g,y)}}return function(){return l.apply(d,arguments)}}},"0497":function(t,i){var r=function(o){return o.replace(/[A-Z]/g,function(l){return"-"+l.toLowerCase()}).toLowerCase()};t.exports=r},"057f":function(t,i,r){var o=r("fc6a"),l=r("241c").f,d={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(g){try{return l(g)}catch(y){return f.slice()}};t.exports.f=function(y){return f&&d.call(y)=="[object Window]"?v(y):l(o(y))}},"06cf":function(t,i,r){var o=r("83ab"),l=r("d1e7"),d=r("5c6c"),f=r("fc6a"),v=r("c04e"),g=r("5135"),y=r("0cfb"),S=Object.getOwnPropertyDescriptor;i.f=o?S:function(C,D){if(C=f(C),D=v(D,!0),y)try{return S(C,D)}catch(x){}if(g(C,D))return d(!l.f.call(C,D),C[D])}},"07ac":function(t,i,r){var o=r("23e7"),l=r("6f53").values;o({target:"Object",stat:!0},{values:function(f){return l(f)}})},"0cfb":function(t,i,r){var o=r("83ab"),l=r("d039"),d=r("cc12");t.exports=!o&&!l(function(){return Object.defineProperty(d("div"),"a",{get:function(){return 7}}).a!=7})},1276:function(t,i,r){var o=r("d784"),l=r("44e7"),d=r("825a"),f=r("1d80"),v=r("4840"),g=r("8aa5"),y=r("50c4"),S=r("14c3"),E=r("9263"),C=r("d039"),D=[].push,x=Math.min,O=4294967295,j=!C(function(){return!RegExp(O,"y")});o("split",2,function(U,Y,re){var se;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?se=function(J,W){var ue=String(f(this)),me=W===void 0?O:W>>>0;if(me===0)return[];if(J===void 0)return[ue];if(!l(J))return Y.call(ue,J,me);for(var X=[],be=(J.ignoreCase?"i":"")+(J.multiline?"m":"")+(J.unicode?"u":"")+(J.sticky?"y":""),Le=0,ce=new RegExp(J.source,be+"g"),Ae,we,Te;(Ae=E.call(ce,ue))&&(we=ce.lastIndex,!(we>Le&&(X.push(ue.slice(Le,Ae.index)),Ae.length>1&&Ae.index<ue.length&&D.apply(X,Ae.slice(1)),Te=Ae[0].length,Le=we,X.length>=me)));)ce.lastIndex===Ae.index&&ce.lastIndex++;return Le===ue.length?(Te||!ce.test(""))&&X.push(""):X.push(ue.slice(Le)),X.length>me?X.slice(0,me):X}:"0".split(void 0,0).length?se=function(J,W){return J===void 0&&W===0?[]:Y.call(this,J,W)}:se=Y,[function(W,ue){var me=f(this),X=W==null?void 0:W[U];return X!==void 0?X.call(W,me,ue):se.call(String(me),W,ue)},function(J,W){var ue=re(se,J,this,W,se!==Y);if(ue.done)return ue.value;var me=d(J),X=String(this),be=v(me,RegExp),Le=me.unicode,ce=(me.ignoreCase?"i":"")+(me.multiline?"m":"")+(me.unicode?"u":"")+(j?"y":"g"),Ae=new be(j?me:"^(?:"+me.source+")",ce),we=W===void 0?O:W>>>0;if(we===0)return[];if(X.length===0)return S(Ae,X)===null?[X]:[];for(var Te=0,ke=0,K=[];ke<X.length;){Ae.lastIndex=j?ke:0;var q=S(Ae,j?X:X.slice(ke)),oe;if(q===null||(oe=x(y(Ae.lastIndex+(j?0:ke)),X.length))===Te)ke=g(X,ke,Le);else{if(K.push(X.slice(Te,ke)),K.length===we)return K;for(var he=1;he<=q.length-1;he++)if(K.push(q[he]),K.length===we)return K;ke=Te=oe}}return K.push(X.slice(Te)),K}]},!j)},"13d5":function(t,i,r){var o=r("23e7"),l=r("d58f").left,d=r("a640"),f=r("ae40"),v=d("reduce"),g=f("reduce",{1:0});o({target:"Array",proto:!0,forced:!v||!g},{reduce:function(S){return l(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,i,r){var o=r("c6b6"),l=r("9263");t.exports=function(d,f){var v=d.exec;if(typeof v=="function"){var g=v.call(d,f);if(typeof g!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return g}if(o(d)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(d,f)}},"159b":function(t,i,r){var o=r("da84"),l=r("fdbc"),d=r("17c2"),f=r("9112");for(var v in l){var g=o[v],y=g&&g.prototype;if(y&&y.forEach!==d)try{f(y,"forEach",d)}catch(S){y.forEach=d}}},"17c2":function(t,i,r){var o=r("b727").forEach,l=r("a640"),d=r("ae40"),f=l("forEach"),v=d("forEach");t.exports=!f||!v?function(y){return o(this,y,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(t,i,r){var o=r("d066");t.exports=o("document","documentElement")},"1c0b":function(t,i){t.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"1c7e":function(t,i,r){var o=r("b622"),l=o("iterator"),d=!1;try{var f=0,v={next:function(){return{done:!!f++}},return:function(){d=!0}};v[l]=function(){return this},Array.from(v,function(){throw 2})}catch(g){}t.exports=function(g,y){if(!y&&!d)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},g(E)}catch(C){}return S}},"1d80":function(t,i){t.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"1dde":function(t,i,r){var o=r("d039"),l=r("b622"),d=r("2d00"),f=l("species");t.exports=function(v){return d>=51||!o(function(){var g=[],y=g.constructor={};return y[f]=function(){return{foo:1}},g[v](Boolean).foo!==1})}},"217d":function(t,i){function r(d,f){var v=0,g=d.length,y;for(v;v<g&&(y=f(d[v],v),y!==!1);v++);}function o(d){return Object.prototype.toString.apply(d)==="[object Array]"}function l(d){return typeof d=="function"}t.exports={isFunction:l,isArray:o,each:r}},"23cb":function(t,i,r){var o=r("a691"),l=Math.max,d=Math.min;t.exports=function(f,v){var g=o(f);return g<0?l(g+v,0):d(g,v)}},"23e7":function(t,i,r){var o=r("da84"),l=r("06cf").f,d=r("9112"),f=r("6eeb"),v=r("ce4e"),g=r("e893"),y=r("94ca");t.exports=function(S,E){var C=S.target,D=S.global,x=S.stat,O,j,U,Y,re,se;if(D?j=o:x?j=o[C]||v(C,{}):j=(o[C]||{}).prototype,j)for(U in E){if(re=E[U],S.noTargetGet?(se=l(j,U),Y=se&&se.value):Y=j[U],O=y(D?U:C+(x?".":"#")+U,S.forced),!O&&Y!==void 0){if(typeof re==typeof Y)continue;g(re,Y)}(S.sham||Y&&Y.sham)&&d(re,"sham",!0),f(j,U,re,S)}}},"241c":function(t,i,r){var o=r("ca84"),l=r("7839"),d=l.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(v){return o(v,d)}},"25f0":function(t,i,r){var o=r("6eeb"),l=r("825a"),d=r("d039"),f=r("ad6d"),v="toString",g=RegExp.prototype,y=g[v],S=d(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),E=y.name!=v;(S||E)&&o(RegExp.prototype,v,function(){var D=l(this),x=String(D.source),O=D.flags,j=String(O===void 0&&D instanceof RegExp&&!("flags"in g)?f.call(D):O);return"/"+x+"/"+j},{unsafe:!0})},"2d00":function(t,i,r){var o=r("da84"),l=r("342f"),d=o.process,f=d&&d.versions,v=f&&f.v8,g,y;v?(g=v.split("."),y=g[0]+g[1]):l&&(g=l.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=l.match(/Chrome\/(\d+)/),g&&(y=g[1]))),t.exports=y&&+y},"342f":function(t,i,r){var o=r("d066");t.exports=o("navigator","userAgent")||""},"35a1":function(t,i,r){var o=r("f5df"),l=r("3f8c"),d=r("b622"),f=d("iterator");t.exports=function(v){if(v!=null)return v[f]||v["@@iterator"]||l[o(v)]}},"37e8":function(t,i,r){var o=r("83ab"),l=r("9bf2"),d=r("825a"),f=r("df75");t.exports=o?Object.defineProperties:function(g,y){d(g);for(var S=f(y),E=S.length,C=0,D;E>C;)l.f(g,D=S[C++],y[D]);return g}},"3b81":function(t,i,r){},"3bbe":function(t,i,r){var o=r("861d");t.exports=function(l){if(!o(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(t,i,r){var o=r("6547").charAt,l=r("69f3"),d=r("7dd0"),f="String Iterator",v=l.set,g=l.getterFor(f);d(String,"String",function(y){v(this,{type:f,string:String(y),index:0})},function(){var S=g(this),E=S.string,C=S.index,D;return C>=E.length?{value:void 0,done:!0}:(D=o(E,C),S.index+=D.length,{value:D,done:!1})})},"3f8c":function(t,i){t.exports={}},4160:function(t,i,r){var o=r("23e7"),l=r("17c2");o({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(t,i,r){var o=r("da84");t.exports=o},"42a0":function(t,i){var r=9007199254740991,o="[object Arguments]",l="[object Function]",d="[object GeneratorFunction]",f=/^(?:0|[1-9]\d*)$/;function v($,ee,k){switch(k.length){case 0:return $.call(ee);case 1:return $.call(ee,k[0]);case 2:return $.call(ee,k[0],k[1]);case 3:return $.call(ee,k[0],k[1],k[2])}return $.apply(ee,k)}function g($,ee){for(var k=-1,le=Array($);++k<$;)le[k]=ee(k);return le}function y($,ee){return function(k){return $(ee(k))}}var S=Object.prototype,E=S.hasOwnProperty,C=S.toString,D=S.propertyIsEnumerable,x=y(Object.keys,Object),O=Math.max,j=!D.call({valueOf:1},"valueOf");function U($,ee){var k=ce($)||Le($)?g($.length,String):[],le=k.length,ge=!!le;for(var _e in $)(ee||E.call($,_e))&&!(ge&&(_e=="length"||ue(_e,le)))&&k.push(_e);return k}function Y($,ee,k){var le=$[ee];(!(E.call($,ee)&&be(le,k))||k===void 0&&!(ee in $))&&($[ee]=k)}function re($){if(!X($))return x($);var ee=[];for(var k in Object($))E.call($,k)&&k!="constructor"&&ee.push(k);return ee}function se($,ee){return ee=O(ee===void 0?$.length-1:ee,0),function(){for(var k=arguments,le=-1,ge=O(k.length-ee,0),_e=Array(ge);++le<ge;)_e[le]=k[ee+le];le=-1;for(var Ee=Array(ee+1);++le<ee;)Ee[le]=k[le];return Ee[ee]=_e,v($,this,Ee)}}function J($,ee,k,le){k||(k={});for(var ge=-1,_e=ee.length;++ge<_e;){var Ee=ee[ge],ft=le?le(k[Ee],$[Ee],Ee,k,$):void 0;Y(k,Ee,ft===void 0?$[Ee]:ft)}return k}function W($){return se(function(ee,k){var le=-1,ge=k.length,_e=ge>1?k[ge-1]:void 0,Ee=ge>2?k[2]:void 0;for(_e=$.length>3&&typeof _e=="function"?(ge--,_e):void 0,Ee&&me(k[0],k[1],Ee)&&(_e=ge<3?void 0:_e,ge=1),ee=Object(ee);++le<ge;){var ft=k[le];ft&&$(ee,ft,le,_e)}return ee})}function ue($,ee){return ee=ee==null?r:ee,!!ee&&(typeof $=="number"||f.test($))&&$>-1&&$%1==0&&$<ee}function me($,ee,k){if(!K(k))return!1;var le=typeof ee;return(le=="number"?Ae(k)&&ue(ee,k.length):le=="string"&&ee in k)?be(k[ee],$):!1}function X($){var ee=$&&$.constructor,k=typeof ee=="function"&&ee.prototype||S;return $===k}function be($,ee){return $===ee||$!==$&&ee!==ee}function Le($){return we($)&&E.call($,"callee")&&(!D.call($,"callee")||C.call($)==o)}var ce=Array.isArray;function Ae($){return $!=null&&ke($.length)&&!Te($)}function we($){return q($)&&Ae($)}function Te($){var ee=K($)?C.call($):"";return ee==l||ee==d}function ke($){return typeof $=="number"&&$>-1&&$%1==0&&$<=r}function K($){var ee=typeof $;return!!$&&(ee=="object"||ee=="function")}function q($){return!!$&&typeof $=="object"}var oe=W(function($,ee){if(j||X(ee)||Ae(ee)){J(ee,he(ee),$);return}for(var k in ee)E.call(ee,k)&&Y($,k,ee[k])});function he($){return Ae($)?U($):re($)}t.exports=oe},"44ad":function(t,i,r){var o=r("d039"),l=r("c6b6"),d="".split;t.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?d.call(f,""):Object(f)}:Object},"44d2":function(t,i,r){var o=r("b622"),l=r("7c73"),d=r("9bf2"),f=o("unscopables"),v=Array.prototype;v[f]==null&&d.f(v,f,{configurable:!0,value:l(null)}),t.exports=function(g){v[f][g]=!0}},"44e7":function(t,i,r){var o=r("861d"),l=r("c6b6"),d=r("b622"),f=d("match");t.exports=function(v){var g;return o(v)&&((g=v[f])!==void 0?!!g:l(v)=="RegExp")}},"466d":function(t,i,r){var o=r("d784"),l=r("825a"),d=r("50c4"),f=r("1d80"),v=r("8aa5"),g=r("14c3");o("match",1,function(y,S,E){return[function(D){var x=f(this),O=D==null?void 0:D[y];return O!==void 0?O.call(D,x):new RegExp(D)[y](String(x))},function(C){var D=E(S,C,this);if(D.done)return D.value;var x=l(C),O=String(this);if(!x.global)return g(x,O);var j=x.unicode;x.lastIndex=0;for(var U=[],Y=0,re;(re=g(x,O))!==null;){var se=String(re[0]);U[Y]=se,se===""&&(x.lastIndex=v(O,d(x.lastIndex),j)),Y++}return Y===0?null:U}]})},4840:function(t,i,r){var o=r("825a"),l=r("1c0b"),d=r("b622"),f=d("species");t.exports=function(v,g){var y=o(v).constructor,S;return y===void 0||(S=o(y)[f])==null?g:l(S)}},4930:function(t,i,r){var o=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())})},"4d64":function(t,i,r){var o=r("fc6a"),l=r("50c4"),d=r("23cb"),f=function(v){return function(g,y,S){var E=o(g),C=l(E.length),D=d(S,C),x;if(v&&y!=y){for(;C>D;)if(x=E[D++],x!=x)return!0}else for(;C>D;D++)if((v||D in E)&&E[D]===y)return v||D||0;return!v&&-1}};t.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(t,i,r){var o=r("23e7"),l=r("b727").filter,d=r("1dde"),f=r("ae40"),v=d("filter"),g=f("filter");o({target:"Array",proto:!0,forced:!v||!g},{filter:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,i,r){var o=r("0366"),l=r("7b0b"),d=r("9bdd"),f=r("e95a"),v=r("50c4"),g=r("8418"),y=r("35a1");t.exports=function(E){var C=l(E),D=typeof this=="function"?this:Array,x=arguments.length,O=x>1?arguments[1]:void 0,j=O!==void 0,U=y(C),Y=0,re,se,J,W,ue,me;if(j&&(O=o(O,x>2?arguments[2]:void 0,2)),U!=null&&!(D==Array&&f(U)))for(W=U.call(C),ue=W.next,se=new D;!(J=ue.call(W)).done;Y++)me=j?d(W,O,[J.value,Y],!0):J.value,g(se,Y,me);else for(re=v(C.length),se=new D(re);re>Y;Y++)me=j?O(C[Y],Y):C[Y],g(se,Y,me);return se.length=Y,se}},"50c4":function(t,i,r){var o=r("a691"),l=Math.min;t.exports=function(d){return d>0?l(o(d),9007199254740991):0}},5135:function(t,i){var r={}.hasOwnProperty;t.exports=function(o,l){return r.call(o,l)}},5692:function(t,i,r){var o=r("c430"),l=r("c6cd");(t.exports=function(d,f){return l[d]||(l[d]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.4",mode:o?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,i,r){var o=r("d066"),l=r("241c"),d=r("7418"),f=r("825a");t.exports=o("Reflect","ownKeys")||function(g){var y=l.f(f(g)),S=d.f;return S?y.concat(S(g)):y}},5899:function(t,i){t.exports=`
 \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"58a8":function(t,i,r){var o=r("1d80"),l=r("5899"),d="["+l+"]",f=RegExp("^"+d+d+"*"),v=RegExp(d+d+"*$"),g=function(y){return function(S){var E=String(o(S));return y&1&&(E=E.replace(f,"")),y&2&&(E=E.replace(v,"")),E}};t.exports={start:g(1),end:g(2),trim:g(3)}},"5c6c":function(t,i){t.exports=function(r,o){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:o}}},"60da":function(t,i,r){var o=r("83ab"),l=r("d039"),d=r("df75"),f=r("7418"),v=r("d1e7"),g=r("7b0b"),y=r("44ad"),S=Object.assign,E=Object.defineProperty;t.exports=!S||l(function(){if(o&&S({b:1},S(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var C={},D={},x=Symbol(),O="abcdefghijklmnopqrst";return C[x]=7,O.split("").forEach(function(j){D[j]=j}),S({},C)[x]!=7||d(S({},D)).join("")!=O})?function(D,x){for(var O=g(D),j=arguments.length,U=1,Y=f.f,re=v.f;j>U;)for(var se=y(arguments[U++]),J=Y?d(se).concat(Y(se)):d(se),W=J.length,ue=0,me;W>ue;)me=J[ue++],(!o||re.call(se,me))&&(O[me]=se[me]);return O}:S},6547:function(t,i,r){var o=r("a691"),l=r("1d80"),d=function(f){return function(v,g){var y=String(l(v)),S=o(g),E=y.length,C,D;return S<0||S>=E?f?"":void 0:(C=y.charCodeAt(S),C<55296||C>56319||S+1===E||(D=y.charCodeAt(S+1))<56320||D>57343?f?y.charAt(S):C:f?y.slice(S,S+2):(C-55296<<10)+(D-56320)+65536)}};t.exports={codeAt:d(!1),charAt:d(!0)}},"65f0":function(t,i,r){var o=r("861d"),l=r("e8b5"),d=r("b622"),f=d("species");t.exports=function(v,g){var y;return l(v)&&(y=v.constructor,typeof y=="function"&&(y===Array||l(y.prototype))?y=void 0:o(y)&&(y=y[f],y===null&&(y=void 0))),new(y===void 0?Array:y)(g===0?0:g)}},"69f3":function(t,i,r){var o=r("7f9a"),l=r("da84"),d=r("861d"),f=r("9112"),v=r("5135"),g=r("f772"),y=r("d012"),S=l.WeakMap,E,C,D,x=function(J){return D(J)?C(J):E(J,{})},O=function(J){return function(W){var ue;if(!d(W)||(ue=C(W)).type!==J)throw TypeError("Incompatible receiver, "+J+" required");return ue}};if(o){var j=new S,U=j.get,Y=j.has,re=j.set;E=function(J,W){return re.call(j,J,W),W},C=function(J){return U.call(j,J)||{}},D=function(J){return Y.call(j,J)}}else{var se=g("state");y[se]=!0,E=function(J,W){return f(J,se,W),W},C=function(J){return v(J,se)?J[se]:{}},D=function(J){return v(J,se)}}t.exports={set:E,get:C,has:D,enforce:x,getterFor:O}},"6dd8":function(t,i,r){(function(o){var l=function(){if(typeof Map!="undefined")return Map;function K(q,oe){var he=-1;return q.some(function($,ee){return $[0]===oe?(he=ee,!0):!1}),he}return function(){function q(){this.__entries__=[]}return Object.defineProperty(q.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),q.prototype.get=function(oe){var he=K(this.__entries__,oe),$=this.__entries__[he];return $&&$[1]},q.prototype.set=function(oe,he){var $=K(this.__entries__,oe);~$?this.__entries__[$][1]=he:this.__entries__.push([oe,he])},q.prototype.delete=function(oe){var he=this.__entries__,$=K(he,oe);~$&&he.splice($,1)},q.prototype.has=function(oe){return!!~K(this.__entries__,oe)},q.prototype.clear=function(){this.__entries__.splice(0)},q.prototype.forEach=function(oe,he){he===void 0&&(he=null);for(var $=0,ee=this.__entries__;$<ee.length;$++){var k=ee[$];oe.call(he,k[1],k[0])}},q}()}(),d=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,f=function(){return typeof o!="undefined"&&o.Math===Math?o:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),v=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(f):function(K){return setTimeout(function(){return K(Date.now())},1e3/60)}}(),g=2;function y(K,q){var oe=!1,he=!1,$=0;function ee(){oe&&(oe=!1,K()),he&&le()}function k(){v(ee)}function le(){var ge=Date.now();if(oe){if(ge-$<g)return;he=!0}else oe=!0,he=!1,setTimeout(k,q);$=ge}return le}var S=20,E=["top","right","bottom","left","width","height","size","weight"],C=typeof MutationObserver!="undefined",D=function(){function K(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=y(this.refresh.bind(this),S)}return K.prototype.addObserver=function(q){~this.observers_.indexOf(q)||this.observers_.push(q),this.connected_||this.connect_()},K.prototype.removeObserver=function(q){var oe=this.observers_,he=oe.indexOf(q);~he&&oe.splice(he,1),!oe.length&&this.connected_&&this.disconnect_()},K.prototype.refresh=function(){var q=this.updateObservers_();q&&this.refresh()},K.prototype.updateObservers_=function(){var q=this.observers_.filter(function(oe){return oe.gatherActive(),oe.hasActive()});return q.forEach(function(oe){return oe.broadcastActive()}),q.length>0},K.prototype.connect_=function(){!d||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),C?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},K.prototype.disconnect_=function(){!d||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},K.prototype.onTransitionEnd_=function(q){var oe=q.propertyName,he=oe===void 0?"":oe,$=E.some(function(ee){return!!~he.indexOf(ee)});$&&this.refresh()},K.getInstance=function(){return this.instance_||(this.instance_=new K),this.instance_},K.instance_=null,K}(),x=function(K,q){for(var oe=0,he=Object.keys(q);oe<he.length;oe++){var $=he[oe];Object.defineProperty(K,$,{value:q[$],enumerable:!1,writable:!1,configurable:!0})}return K},O=function(K){var q=K&&K.ownerDocument&&K.ownerDocument.defaultView;return q||f},j=be(0,0,0,0);function U(K){return parseFloat(K)||0}function Y(K){for(var q=[],oe=1;oe<arguments.length;oe++)q[oe-1]=arguments[oe];return q.reduce(function(he,$){var ee=K["border-"+$+"-width"];return he+U(ee)},0)}function re(K){for(var q=["top","right","bottom","left"],oe={},he=0,$=q;he<$.length;he++){var ee=$[he],k=K["padding-"+ee];oe[ee]=U(k)}return oe}function se(K){var q=K.getBBox();return be(0,0,q.width,q.height)}function J(K){var q=K.clientWidth,oe=K.clientHeight;if(!q&&!oe)return j;var he=O(K).getComputedStyle(K),$=re(he),ee=$.left+$.right,k=$.top+$.bottom,le=U(he.width),ge=U(he.height);if(he.boxSizing==="border-box"&&(Math.round(le+ee)!==q&&(le-=Y(he,"left","right")+ee),Math.round(ge+k)!==oe&&(ge-=Y(he,"top","bottom")+k)),!ue(K)){var _e=Math.round(le+ee)-q,Ee=Math.round(ge+k)-oe;Math.abs(_e)!==1&&(le-=_e),Math.abs(Ee)!==1&&(ge-=Ee)}return be($.left,$.top,le,ge)}var W=function(){return typeof SVGGraphicsElement!="undefined"?function(K){return K instanceof O(K).SVGGraphicsElement}:function(K){return K instanceof O(K).SVGElement&&typeof K.getBBox=="function"}}();function ue(K){return K===O(K).document.documentElement}function me(K){return d?W(K)?se(K):J(K):j}function X(K){var q=K.x,oe=K.y,he=K.width,$=K.height,ee=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,k=Object.create(ee.prototype);return x(k,{x:q,y:oe,width:he,height:$,top:oe,right:q+he,bottom:$+oe,left:q}),k}function be(K,q,oe,he){return{x:K,y:q,width:oe,height:he}}var Le=function(){function K(q){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=be(0,0,0,0),this.target=q}return K.prototype.isActive=function(){var q=me(this.target);return this.contentRect_=q,q.width!==this.broadcastWidth||q.height!==this.broadcastHeight},K.prototype.broadcastRect=function(){var q=this.contentRect_;return this.broadcastWidth=q.width,this.broadcastHeight=q.height,q},K}(),ce=function(){function K(q,oe){var he=X(oe);x(this,{target:q,contentRect:he})}return K}(),Ae=function(){function K(q,oe,he){if(this.activeObservations_=[],this.observations_=new l,typeof q!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=q,this.controller_=oe,this.callbackCtx_=he}return K.prototype.observe=function(q){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(q instanceof O(q).Element))throw new TypeError('parameter 1 is not of type "Element".');var oe=this.observations_;oe.has(q)||(oe.set(q,new Le(q)),this.controller_.addObserver(this),this.controller_.refresh())}},K.prototype.unobserve=function(q){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(q instanceof O(q).Element))throw new TypeError('parameter 1 is not of type "Element".');var oe=this.observations_;!oe.has(q)||(oe.delete(q),oe.size||this.controller_.removeObserver(this))}},K.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},K.prototype.gatherActive=function(){var q=this;this.clearActive(),this.observations_.forEach(function(oe){oe.isActive()&&q.activeObservations_.push(oe)})},K.prototype.broadcastActive=function(){if(!!this.hasActive()){var q=this.callbackCtx_,oe=this.activeObservations_.map(function(he){return new ce(he.target,he.broadcastRect())});this.callback_.call(q,oe,q),this.clearActive()}},K.prototype.clearActive=function(){this.activeObservations_.splice(0)},K.prototype.hasActive=function(){return this.activeObservations_.length>0},K}(),we=typeof WeakMap!="undefined"?new WeakMap:new l,Te=function(){function K(q){if(!(this instanceof K))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var oe=D.getInstance(),he=new Ae(q,oe,this);we.set(this,he)}return K}();["observe","unobserve","disconnect"].forEach(function(K){Te.prototype[K]=function(){var q;return(q=we.get(this))[K].apply(q,arguments)}});var ke=function(){return typeof f.ResizeObserver!="undefined"?f.ResizeObserver:Te}();i.a=ke}).call(this,r("c8ba"))},"6ea2":function(t,i,r){var o=r("890c"),l=r.n(o);l.a},"6eeb":function(t,i,r){var o=r("da84"),l=r("9112"),d=r("5135"),f=r("ce4e"),v=r("8925"),g=r("69f3"),y=g.get,S=g.enforce,E=String(String).split("String");(t.exports=function(C,D,x,O){var j=O?!!O.unsafe:!1,U=O?!!O.enumerable:!1,Y=O?!!O.noTargetGet:!1;if(typeof x=="function"&&(typeof D=="string"&&!d(x,"name")&&l(x,"name",D),S(x).source=E.join(typeof D=="string"?D:"")),C===o){U?C[D]=x:f(D,x);return}else j?!Y&&C[D]&&(U=!0):delete C[D];U?C[D]=x:l(C,D,x)})(Function.prototype,"toString",function(){return typeof this=="function"&&y(this).source||v(this)})},"6f53":function(t,i,r){var o=r("83ab"),l=r("df75"),d=r("fc6a"),f=r("d1e7").f,v=function(g){return function(y){for(var S=d(y),E=l(S),C=E.length,D=0,x=[],O;C>D;)O=E[D++],(!o||f.call(S,O))&&x.push(g?[O,S[O]]:S[O]);return x}};t.exports={entries:v(!0),values:v(!1)}},7156:function(t,i,r){var o=r("861d"),l=r("d2bb");t.exports=function(d,f,v){var g,y;return l&&typeof(g=f.constructor)=="function"&&g!==v&&o(y=g.prototype)&&y!==v.prototype&&l(d,y),d}},7418:function(t,i){i.f=Object.getOwnPropertySymbols},"746f":function(t,i,r){var o=r("428f"),l=r("5135"),d=r("e538"),f=r("9bf2").f;t.exports=function(v){var g=o.Symbol||(o.Symbol={});l(g,v)||f(g,v,{value:d.f(v)})}},7839:function(t,i){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,i,r){var o=r("1d80");t.exports=function(l){return Object(o(l))}},"7c73":function(t,i,r){var o=r("825a"),l=r("37e8"),d=r("7839"),f=r("d012"),v=r("1be4"),g=r("cc12"),y=r("f772"),S=">",E="<",C="prototype",D="script",x=y("IE_PROTO"),O=function(){},j=function(J){return E+D+S+J+E+"/"+D+S},U=function(J){J.write(j("")),J.close();var W=J.parentWindow.Object;return J=null,W},Y=function(){var J=g("iframe"),W="java"+D+":",ue;return J.style.display="none",v.appendChild(J),J.src=String(W),ue=J.contentWindow.document,ue.open(),ue.write(j("document.F=Object")),ue.close(),ue.F},re,se=function(){try{re=document.domain&&new ActiveXObject("htmlfile")}catch(W){}se=re?U(re):Y();for(var J=d.length;J--;)delete se[C][d[J]];return se()};f[x]=!0,t.exports=Object.create||function(W,ue){var me;return W!==null?(O[C]=o(W),me=new O,O[C]=null,me[x]=W):me=se(),ue===void 0?me:l(me,ue)}},"7dd0":function(t,i,r){var o=r("23e7"),l=r("9ed3"),d=r("e163"),f=r("d2bb"),v=r("d44e"),g=r("9112"),y=r("6eeb"),S=r("b622"),E=r("c430"),C=r("3f8c"),D=r("ae93"),x=D.IteratorPrototype,O=D.BUGGY_SAFARI_ITERATORS,j=S("iterator"),U="keys",Y="values",re="entries",se=function(){return this};t.exports=function(J,W,ue,me,X,be,Le){l(ue,W,me);var ce=function(ee){if(ee===X&&K)return K;if(!O&&ee in Te)return Te[ee];switch(ee){case U:return function(){return new ue(this,ee)};case Y:return function(){return new ue(this,ee)};case re:return function(){return new ue(this,ee)}}return function(){return new ue(this)}},Ae=W+" Iterator",we=!1,Te=J.prototype,ke=Te[j]||Te["@@iterator"]||X&&Te[X],K=!O&&ke||ce(X),q=W=="Array"&&Te.entries||ke,oe,he,$;if(q&&(oe=d(q.call(new J)),x!==Object.prototype&&oe.next&&(!E&&d(oe)!==x&&(f?f(oe,x):typeof oe[j]!="function"&&g(oe,j,se)),v(oe,Ae,!0,!0),E&&(C[Ae]=se))),X==Y&&ke&&ke.name!==Y&&(we=!0,K=function(){return ke.call(this)}),(!E||Le)&&Te[j]!==K&&g(Te,j,K),C[W]=K,X)if(he={values:ce(Y),keys:be?K:ce(U),entries:ce(re)},Le)for($ in he)(O||we||!($ in Te))&&y(Te,$,he[$]);else o({target:W,proto:!0,forced:O||we},he);return he}},"7f9a":function(t,i,r){var o=r("da84"),l=r("8925"),d=o.WeakMap;t.exports=typeof d=="function"&&/native code/.test(l(d))},"825a":function(t,i,r){var o=r("861d");t.exports=function(l){if(!o(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(t,i,r){var o=r("d039");t.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(t,i,r){var o=r("c04e"),l=r("9bf2"),d=r("5c6c");t.exports=function(f,v,g){var y=o(v);y in f?l.f(f,y,d(0,g)):f[y]=g}},"861d":function(t,i){t.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},"88bc":function(t,i,r){(function(o){var l=1/0,d=9007199254740991,f="[object Arguments]",v="[object Function]",g="[object GeneratorFunction]",y="[object Symbol]",S=typeof o=="object"&&o&&o.Object===Object&&o,E=typeof self=="object"&&self&&self.Object===Object&&self,C=S||E||Function("return this")();function D(k,le,ge){switch(ge.length){case 0:return k.call(le);case 1:return k.call(le,ge[0]);case 2:return k.call(le,ge[0],ge[1]);case 3:return k.call(le,ge[0],ge[1],ge[2])}return k.apply(le,ge)}function x(k,le){for(var ge=-1,_e=k?k.length:0,Ee=Array(_e);++ge<_e;)Ee[ge]=le(k[ge],ge,k);return Ee}function O(k,le){for(var ge=-1,_e=le.length,Ee=k.length;++ge<_e;)k[Ee+ge]=le[ge];return k}var j=Object.prototype,U=j.hasOwnProperty,Y=j.toString,re=C.Symbol,se=j.propertyIsEnumerable,J=re?re.isConcatSpreadable:void 0,W=Math.max;function ue(k,le,ge,_e,Ee){var ft=-1,ot=k.length;for(ge||(ge=Le),Ee||(Ee=[]);++ft<ot;){var Ne=k[ft];le>0&&ge(Ne)?le>1?ue(Ne,le-1,ge,_e,Ee):O(Ee,Ne):_e||(Ee[Ee.length]=Ne)}return Ee}function me(k,le){return k=Object(k),X(k,le,function(ge,_e){return _e in k})}function X(k,le,ge){for(var _e=-1,Ee=le.length,ft={};++_e<Ee;){var ot=le[_e],Ne=k[ot];ge(Ne,ot)&&(ft[ot]=Ne)}return ft}function be(k,le){return le=W(le===void 0?k.length-1:le,0),function(){for(var ge=arguments,_e=-1,Ee=W(ge.length-le,0),ft=Array(Ee);++_e<Ee;)ft[_e]=ge[le+_e];_e=-1;for(var ot=Array(le+1);++_e<le;)ot[_e]=ge[_e];return ot[le]=ft,D(k,this,ot)}}function Le(k){return we(k)||Ae(k)||!!(J&&k&&k[J])}function ce(k){if(typeof k=="string"||$(k))return k;var le=k+"";return le=="0"&&1/k==-l?"-0":le}function Ae(k){return ke(k)&&U.call(k,"callee")&&(!se.call(k,"callee")||Y.call(k)==f)}var we=Array.isArray;function Te(k){return k!=null&&q(k.length)&&!K(k)}function ke(k){return he(k)&&Te(k)}function K(k){var le=oe(k)?Y.call(k):"";return le==v||le==g}function q(k){return typeof k=="number"&&k>-1&&k%1==0&&k<=d}function oe(k){var le=typeof k;return!!k&&(le=="object"||le=="function")}function he(k){return!!k&&typeof k=="object"}function $(k){return typeof k=="symbol"||he(k)&&Y.call(k)==y}var ee=be(function(k,le){return k==null?{}:me(k,x(ue(le,1),ce))});t.exports=ee}).call(this,r("c8ba"))},"890c":function(t,i,r){},8925:function(t,i,r){var o=r("c6cd"),l=Function.toString;typeof o.inspectSource!="function"&&(o.inspectSource=function(d){return l.call(d)}),t.exports=o.inspectSource},"8aa5":function(t,i,r){var o=r("6547").charAt;t.exports=function(l,d,f){return d+(f?o(l,d).length:1)}},"8e95":function(t,i,r){var o=r("c195");t.exports=new o},9020:function(t,i){function r(o){this.options=o,!o.deferSetup&&this.setup()}r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(o){return this.options===o||this.options.match===o}},t.exports=r},"90e3":function(t,i){var r=0,o=Math.random();t.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++r+o).toString(36)}},9112:function(t,i,r){var o=r("83ab"),l=r("9bf2"),d=r("5c6c");t.exports=o?function(f,v,g){return l.f(f,v,d(1,g))}:function(f,v,g){return f[v]=g,f}},9263:function(t,i,r){var o=r("ad6d"),l=r("9f7f"),d=RegExp.prototype.exec,f=String.prototype.replace,v=d,g=function(){var C=/a/,D=/b*/g;return d.call(C,"a"),d.call(D,"a"),C.lastIndex!==0||D.lastIndex!==0}(),y=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=g||S||y;E&&(v=function(D){var x=this,O,j,U,Y,re=y&&x.sticky,se=o.call(x),J=x.source,W=0,ue=D;return re&&(se=se.replace("y",""),se.indexOf("g")===-1&&(se+="g"),ue=String(D).slice(x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&D[x.lastIndex-1]!==`
 `)&&(J="(?: "+J+")",ue=" "+ue,W++),j=new RegExp("^(?:"+J+")",se)),S&&(j=new RegExp("^"+J+"$(?!\\s)",se)),g&&(O=x.lastIndex),U=d.call(re?j:x,ue),re?U?(U.input=U.input.slice(W),U[0]=U[0].slice(W),U.index=x.lastIndex,x.lastIndex+=U[0].length):x.lastIndex=0:g&&U&&(x.lastIndex=x.global?U.index+U[0].length:O),S&&U&&U.length>1&&f.call(U[0],j,function(){for(Y=1;Y<arguments.length-2;Y++)arguments[Y]===void 0&&(U[Y]=void 0)}),U}),t.exports=v},"94ca":function(t,i,r){var o=r("d039"),l=/#|\.prototype\./,d=function(S,E){var C=v[f(S)];return C==y?!0:C==g?!1:typeof E=="function"?o(E):!!E},f=d.normalize=function(S){return String(S).replace(l,".").toLowerCase()},v=d.data={},g=d.NATIVE="N",y=d.POLYFILL="P";t.exports=d},"99af":function(t,i,r){var o=r("23e7"),l=r("d039"),d=r("e8b5"),f=r("861d"),v=r("7b0b"),g=r("50c4"),y=r("8418"),S=r("65f0"),E=r("1dde"),C=r("b622"),D=r("2d00"),x=C("isConcatSpreadable"),O=9007199254740991,j="Maximum allowed index exceeded",U=D>=51||!l(function(){var J=[];return J[x]=!1,J.concat()[0]!==J}),Y=E("concat"),re=function(J){if(!f(J))return!1;var W=J[x];return W!==void 0?!!W:d(J)},se=!U||!Y;o({target:"Array",proto:!0,forced:se},{concat:function(W){var ue=v(this),me=S(ue,0),X=0,be,Le,ce,Ae,we;for(be=-1,ce=arguments.length;be<ce;be++)if(we=be===-1?ue:arguments[be],re(we)){if(Ae=g(we.length),X+Ae>O)throw TypeError(j);for(Le=0;Le<Ae;Le++,X++)Le in we&&y(me,X,we[Le])}else{if(X>=O)throw TypeError(j);y(me,X++,we)}return me.length=X,me}})},"9bdd":function(t,i,r){var o=r("825a");t.exports=function(l,d,f,v){try{return v?d(o(f)[0],f[1]):d(f)}catch(y){var g=l.return;throw g!==void 0&&o(g.call(l)),y}}},"9bf2":function(t,i,r){var o=r("83ab"),l=r("0cfb"),d=r("825a"),f=r("c04e"),v=Object.defineProperty;i.f=o?v:function(y,S,E){if(d(y),S=f(S,!0),d(E),l)try{return v(y,S,E)}catch(C){}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(y[S]=E.value),y}},"9ed3":function(t,i,r){var o=r("ae93").IteratorPrototype,l=r("7c73"),d=r("5c6c"),f=r("d44e"),v=r("3f8c"),g=function(){return this};t.exports=function(y,S,E){var C=S+" Iterator";return y.prototype=l(o,{next:d(1,E)}),f(y,C,!1,!0),v[C]=g,y}},"9f7f":function(t,i,r){var o=r("d039");function l(d,f){return RegExp(d,f)}i.UNSUPPORTED_Y=o(function(){var d=l("a","y");return d.lastIndex=2,d.exec("abcd")!=null}),i.BROKEN_CARET=o(function(){var d=l("^r","gy");return d.lastIndex=2,d.exec("str")!=null})},a15b:function(t,i,r){var o=r("23e7"),l=r("44ad"),d=r("fc6a"),f=r("a640"),v=[].join,g=l!=Object,y=f("join",",");o({target:"Array",proto:!0,forced:g||!y},{join:function(E){return v.call(d(this),E===void 0?",":E)}})},a48b:function(t,i,r){var o=r("0497"),l=function(v){var g=/[height|width]$/;return g.test(v)},d=function(v){var g="",y=Object.keys(v);return y.forEach(function(S,E){var C=v[S];S=o(S),l(S)&&typeof C=="number"&&(C=C+"px"),C===!0?g+=S:C===!1?g+="not "+S:g+="("+S+": "+C+")",E<y.length-1&&(g+=" and ")}),g},f=function(v){var g="";return typeof v=="string"?v:v instanceof Array?(v.forEach(function(y,S){g+=d(y),S<v.length-1&&(g+=", ")}),g):d(v)};t.exports=f},a4d3:function(t,i,r){var o=r("23e7"),l=r("da84"),d=r("d066"),f=r("c430"),v=r("83ab"),g=r("4930"),y=r("fdbf"),S=r("d039"),E=r("5135"),C=r("e8b5"),D=r("861d"),x=r("825a"),O=r("7b0b"),j=r("fc6a"),U=r("c04e"),Y=r("5c6c"),re=r("7c73"),se=r("df75"),J=r("241c"),W=r("057f"),ue=r("7418"),me=r("06cf"),X=r("9bf2"),be=r("d1e7"),Le=r("9112"),ce=r("6eeb"),Ae=r("5692"),we=r("f772"),Te=r("d012"),ke=r("90e3"),K=r("b622"),q=r("e538"),oe=r("746f"),he=r("d44e"),$=r("69f3"),ee=r("b727").forEach,k=we("hidden"),le="Symbol",ge="prototype",_e=K("toPrimitive"),Ee=$.set,ft=$.getterFor(le),ot=Object[ge],Ne=l.Symbol,je=d("JSON","stringify"),ht=me.f,tt=X.f,Qt=W.f,Ln=be.f,St=Ae("symbols"),Ft=Ae("op-symbols"),on=Ae("string-to-symbol-registry"),Vt=Ae("symbol-to-string-registry"),un=Ae("wks"),Rt=l.QObject,tn=!Rt||!Rt[ge]||!Rt[ge].findChild,Ot=v&&S(function(){return re(tt({},"a",{get:function(){return tt(this,"a",{value:7}).a}})).a!=7})?function(Oe,Ce,De){var Ve=ht(ot,Ce);Ve&&delete ot[Ce],tt(Oe,Ce,De),Ve&&Oe!==ot&&tt(ot,Ce,Ve)}:tt,zt=function(Oe,Ce){var De=St[Oe]=re(Ne[ge]);return Ee(De,{type:le,tag:Oe,description:Ce}),v||(De.description=Ce),De},Pt=y?function(Oe){return typeof Oe=="symbol"}:function(Oe){return Object(Oe)instanceof Ne},qe=function(Ce,De,Ve){Ce===ot&&qe(Ft,De,Ve),x(Ce);var Ye=U(De,!0);return x(Ve),E(St,Ye)?(Ve.enumerable?(E(Ce,k)&&Ce[k][Ye]&&(Ce[k][Ye]=!1),Ve=re(Ve,{enumerable:Y(0,!1)})):(E(Ce,k)||tt(Ce,k,Y(1,{})),Ce[k][Ye]=!0),Ot(Ce,Ye,Ve)):tt(Ce,Ye,Ve)},Nt=function(Ce,De){x(Ce);var Ve=j(De),Ye=se(Ve).concat(Wt(Ve));return ee(Ye,function(yt){(!v||jt.call(Ve,yt))&&qe(Ce,yt,Ve[yt])}),Ce},pt=function(Ce,De){return De===void 0?re(Ce):Nt(re(Ce),De)},jt=function(Ce){var De=U(Ce,!0),Ve=Ln.call(this,De);return this===ot&&E(St,De)&&!E(Ft,De)?!1:Ve||!E(this,De)||!E(St,De)||E(this,k)&&this[k][De]?Ve:!0},Xt=function(Ce,De){var Ve=j(Ce),Ye=U(De,!0);if(!(Ve===ot&&E(St,Ye)&&!E(Ft,Ye))){var yt=ht(Ve,Ye);return yt&&E(St,Ye)&&!(E(Ve,k)&&Ve[k][Ye])&&(yt.enumerable=!0),yt}},dn=function(Ce){var De=Qt(j(Ce)),Ve=[];return ee(De,function(Ye){!E(St,Ye)&&!E(Te,Ye)&&Ve.push(Ye)}),Ve},Wt=function(Ce){var De=Ce===ot,Ve=Qt(De?Ft:j(Ce)),Ye=[];return ee(Ve,function(yt){E(St,yt)&&(!De||E(ot,yt))&&Ye.push(St[yt])}),Ye};if(g||(Ne=function(){if(this instanceof Ne)throw TypeError("Symbol is not a constructor");var Ce=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),De=ke(Ce),Ve=function(Ye){this===ot&&Ve.call(Ft,Ye),E(this,k)&&E(this[k],De)&&(this[k][De]=!1),Ot(this,De,Y(1,Ye))};return v&&tn&&Ot(ot,De,{configurable:!0,set:Ve}),zt(De,Ce)},ce(Ne[ge],"toString",function(){return ft(this).tag}),ce(Ne,"withoutSetter",function(Oe){return zt(ke(Oe),Oe)}),be.f=jt,X.f=qe,me.f=Xt,J.f=W.f=dn,ue.f=Wt,q.f=function(Oe){return zt(K(Oe),Oe)},v&&(tt(Ne[ge],"description",{configurable:!0,get:function(){return ft(this).description}}),f||ce(ot,"propertyIsEnumerable",jt,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!g,sham:!g},{Symbol:Ne}),ee(se(un),function(Oe){oe(Oe)}),o({target:le,stat:!0,forced:!g},{for:function(Oe){var Ce=String(Oe);if(E(on,Ce))return on[Ce];var De=Ne(Ce);return on[Ce]=De,Vt[De]=Ce,De},keyFor:function(Ce){if(!Pt(Ce))throw TypeError(Ce+" is not a symbol");if(E(Vt,Ce))return Vt[Ce]},useSetter:function(){tn=!0},useSimple:function(){tn=!1}}),o({target:"Object",stat:!0,forced:!g,sham:!v},{create:pt,defineProperty:qe,defineProperties:Nt,getOwnPropertyDescriptor:Xt}),o({target:"Object",stat:!0,forced:!g},{getOwnPropertyNames:dn,getOwnPropertySymbols:Wt}),o({target:"Object",stat:!0,forced:S(function(){ue.f(1)})},{getOwnPropertySymbols:function(Ce){return ue.f(O(Ce))}}),je){var fn=!g||S(function(){var Oe=Ne();return je([Oe])!="[null]"||je({a:Oe})!="{}"||je(Object(Oe))!="{}"});o({target:"JSON",stat:!0,forced:fn},{stringify:function(Ce,De,Ve){for(var Ye=[Ce],yt=1,hn;arguments.length>yt;)Ye.push(arguments[yt++]);if(hn=De,!(!D(De)&&Ce===void 0||Pt(Ce)))return C(De)||(De=function(V,ae){if(typeof hn=="function"&&(ae=hn.call(this,V,ae)),!Pt(ae))return ae}),Ye[1]=De,je.apply(null,Ye)}})}Ne[ge][_e]||Le(Ne[ge],_e,Ne[ge].valueOf),he(Ne,le),Te[k]=!0},a623:function(t,i,r){var o=r("23e7"),l=r("b727").every,d=r("a640"),f=r("ae40"),v=d("every"),g=f("every");o({target:"Array",proto:!0,forced:!v||!g},{every:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},a630:function(t,i,r){var o=r("23e7"),l=r("4df4"),d=r("1c7e"),f=!d(function(v){Array.from(v)});o({target:"Array",stat:!0,forced:f},{from:l})},a640:function(t,i,r){var o=r("d039");t.exports=function(l,d){var f=[][l];return!!f&&o(function(){f.call(null,d||function(){throw 1},1)})}},a691:function(t,i){var r=Math.ceil,o=Math.floor;t.exports=function(l){return isNaN(l=+l)?0:(l>0?o:r)(l)}},a9e3:function(t,i,r){var o=r("83ab"),l=r("da84"),d=r("94ca"),f=r("6eeb"),v=r("5135"),g=r("c6b6"),y=r("7156"),S=r("c04e"),E=r("d039"),C=r("7c73"),D=r("241c").f,x=r("06cf").f,O=r("9bf2").f,j=r("58a8").trim,U="Number",Y=l[U],re=Y.prototype,se=g(C(re))==U,J=function(be){var Le=S(be,!1),ce,Ae,we,Te,ke,K,q,oe;if(typeof Le=="string"&&Le.length>2){if(Le=j(Le),ce=Le.charCodeAt(0),ce===43||ce===45){if(Ae=Le.charCodeAt(2),Ae===88||Ae===120)return NaN}else if(ce===48){switch(Le.charCodeAt(1)){case 66:case 98:we=2,Te=49;break;case 79:case 111:we=8,Te=55;break;default:return+Le}for(ke=Le.slice(2),K=ke.length,q=0;q<K;q++)if(oe=ke.charCodeAt(q),oe<48||oe>Te)return NaN;return parseInt(ke,we)}}return+Le};if(d(U,!Y(" 0o1")||!Y("0b1")||Y("+0x1"))){for(var W=function(Le){var ce=arguments.length<1?0:Le,Ae=this;return Ae instanceof W&&(se?E(function(){re.valueOf.call(Ae)}):g(Ae)!=U)?y(new Y(J(ce)),Ae,W):J(ce)},ue=o?D(Y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),me=0,X;ue.length>me;me++)v(Y,X=ue[me])&&!v(W,X)&&O(W,X,x(Y,X));W.prototype=re,re.constructor=W,f(l,U,W)}},ac1f:function(t,i,r){var o=r("23e7"),l=r("9263");o({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(t,i,r){var o=r("825a");t.exports=function(){var l=o(this),d="";return l.global&&(d+="g"),l.ignoreCase&&(d+="i"),l.multiline&&(d+="m"),l.dotAll&&(d+="s"),l.unicode&&(d+="u"),l.sticky&&(d+="y"),d}},ae40:function(t,i,r){var o=r("83ab"),l=r("d039"),d=r("5135"),f=Object.defineProperty,v={},g=function(y){throw y};t.exports=function(y,S){if(d(v,y))return v[y];S||(S={});var E=[][y],C=d(S,"ACCESSORS")?S.ACCESSORS:!1,D=d(S,0)?S[0]:g,x=d(S,1)?S[1]:void 0;return v[y]=!!E&&!l(function(){if(C&&!o)return!0;var O={length:-1};C?f(O,1,{enumerable:!0,get:g}):O[1]=1,E.call(O,D,x)})}},ae93:function(t,i,r){var o=r("e163"),l=r("9112"),d=r("5135"),f=r("b622"),v=r("c430"),g=f("iterator"),y=!1,S=function(){return this},E,C,D;[].keys&&(D=[].keys(),"next"in D?(C=o(o(D)),C!==Object.prototype&&(E=C)):y=!0),E==null&&(E={}),!v&&!d(E,g)&&l(E,g,S),t.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:y}},b041:function(t,i,r){var o=r("00ee"),l=r("f5df");t.exports=o?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(t,i,r){var o=r("83ab"),l=r("9bf2").f,d=Function.prototype,f=d.toString,v=/^\s*function ([^ (]*)/,g="name";o&&!(g in d)&&l(d,g,{configurable:!0,get:function(){try{return f.call(this).match(v)[1]}catch(y){return""}}})},b622:function(t,i,r){var o=r("da84"),l=r("5692"),d=r("5135"),f=r("90e3"),v=r("4930"),g=r("fdbf"),y=l("wks"),S=o.Symbol,E=g?S:S&&S.withoutSetter||f;t.exports=function(C){return d(y,C)||(v&&d(S,C)?y[C]=S[C]:y[C]=E("Symbol."+C)),y[C]}},b64b:function(t,i,r){var o=r("23e7"),l=r("7b0b"),d=r("df75"),f=r("d039"),v=f(function(){d(1)});o({target:"Object",stat:!0,forced:v},{keys:function(y){return d(l(y))}})},b727:function(t,i,r){var o=r("0366"),l=r("44ad"),d=r("7b0b"),f=r("50c4"),v=r("65f0"),g=[].push,y=function(S){var E=S==1,C=S==2,D=S==3,x=S==4,O=S==6,j=S==5||O;return function(U,Y,re,se){for(var J=d(U),W=l(J),ue=o(Y,re,3),me=f(W.length),X=0,be=se||v,Le=E?be(U,me):C?be(U,0):void 0,ce,Ae;me>X;X++)if((j||X in W)&&(ce=W[X],Ae=ue(ce,X,J),S)){if(E)Le[X]=Ae;else if(Ae)switch(S){case 3:return!0;case 5:return ce;case 6:return X;case 2:g.call(Le,ce)}else if(x)return!1}return O?-1:D||x?x:Le}};t.exports={forEach:y(0),map:y(1),filter:y(2),some:y(3),every:y(4),find:y(5),findIndex:y(6)}},bcf7:function(t,i,r){var o=r("9020"),l=r("217d").each;function d(f,v){this.query=f,this.isUnconditional=v,this.handlers=[],this.mql=window.matchMedia(f);var g=this;this.listener=function(y){g.mql=y.currentTarget||y,g.assess()},this.mql.addListener(this.listener)}d.prototype={constuctor:d,addHandler:function(f){var v=new o(f);this.handlers.push(v),this.matches()&&v.on()},removeHandler:function(f){var v=this.handlers;l(v,function(g,y){if(g.equals(f))return g.destroy(),!v.splice(y,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){l(this.handlers,function(f){f.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var f=this.matches()?"on":"off";l(this.handlers,function(v){v[f]()})}},t.exports=d},c04e:function(t,i,r){var o=r("861d");t.exports=function(l,d){if(!o(l))return l;var f,v;if(d&&typeof(f=l.toString)=="function"&&!o(v=f.call(l))||typeof(f=l.valueOf)=="function"&&!o(v=f.call(l))||!d&&typeof(f=l.toString)=="function"&&!o(v=f.call(l)))return v;throw TypeError("Can't convert object to primitive value")}},c195:function(t,i,r){var o=r("bcf7"),l=r("217d"),d=l.each,f=l.isFunction,v=l.isArray;function g(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}g.prototype={constructor:g,register:function(y,S,E){var C=this.queries,D=E&&this.browserIsIncapable;return C[y]||(C[y]=new o(y,D)),f(S)&&(S={match:S}),v(S)||(S=[S]),d(S,function(x){f(x)&&(x={match:x}),C[y].addHandler(x)}),this},unregister:function(y,S){var E=this.queries[y];return E&&(S?E.removeHandler(S):(E.clear(),delete this.queries[y])),this}},t.exports=g},c430:function(t,i){t.exports=!1},c6b6:function(t,i){var r={}.toString;t.exports=function(o){return r.call(o).slice(8,-1)}},c6cd:function(t,i,r){var o=r("da84"),l=r("ce4e"),d="__core-js_shared__",f=o[d]||l(d,{});t.exports=f},c832:function(t,i,r){(function(o){var l="Expected a function",d="__lodash_hash_undefined__",f=1/0,v="[object Function]",g="[object GeneratorFunction]",y="[object Symbol]",S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,E=/^\w*$/,C=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,x=/[\\^$.*+?()[\]{}|]/g,O=/\\(\\)?/g,j=/^\[object .+?Constructor\]$/,U=typeof o=="object"&&o&&o.Object===Object&&o,Y=typeof self=="object"&&self&&self.Object===Object&&self,re=U||Y||Function("return this")();function se(V,ae){return V==null?void 0:V[ae]}function J(V){var ae=!1;if(V!=null&&typeof V.toString!="function")try{ae=!!(V+"")}catch(xe){}return ae}var W=Array.prototype,ue=Function.prototype,me=Object.prototype,X=re["__core-js_shared__"],be=function(){var V=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return V?"Symbol(src)_1."+V:""}(),Le=ue.toString,ce=me.hasOwnProperty,Ae=me.toString,we=RegExp("^"+Le.call(ce).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=re.Symbol,ke=W.splice,K=Pt(re,"Map"),q=Pt(Object,"create"),oe=Te?Te.prototype:void 0,he=oe?oe.toString:void 0;function $(V){var ae=-1,xe=V?V.length:0;for(this.clear();++ae<xe;){var at=V[ae];this.set(at[0],at[1])}}function ee(){this.__data__=q?q(null):{}}function k(V){return this.has(V)&&delete this.__data__[V]}function le(V){var ae=this.__data__;if(q){var xe=ae[V];return xe===d?void 0:xe}return ce.call(ae,V)?ae[V]:void 0}function ge(V){var ae=this.__data__;return q?ae[V]!==void 0:ce.call(ae,V)}function _e(V,ae){var xe=this.__data__;return xe[V]=q&&ae===void 0?d:ae,this}$.prototype.clear=ee,$.prototype.delete=k,$.prototype.get=le,$.prototype.has=ge,$.prototype.set=_e;function Ee(V){var ae=-1,xe=V?V.length:0;for(this.clear();++ae<xe;){var at=V[ae];this.set(at[0],at[1])}}function ft(){this.__data__=[]}function ot(V){var ae=this.__data__,xe=Vt(ae,V);if(xe<0)return!1;var at=ae.length-1;return xe==at?ae.pop():ke.call(ae,xe,1),!0}function Ne(V){var ae=this.__data__,xe=Vt(ae,V);return xe<0?void 0:ae[xe][1]}function je(V){return Vt(this.__data__,V)>-1}function ht(V,ae){var xe=this.__data__,at=Vt(xe,V);return at<0?xe.push([V,ae]):xe[at][1]=ae,this}Ee.prototype.clear=ft,Ee.prototype.delete=ot,Ee.prototype.get=Ne,Ee.prototype.has=je,Ee.prototype.set=ht;function tt(V){var ae=-1,xe=V?V.length:0;for(this.clear();++ae<xe;){var at=V[ae];this.set(at[0],at[1])}}function Qt(){this.__data__={hash:new $,map:new(K||Ee),string:new $}}function Ln(V){return zt(this,V).delete(V)}function St(V){return zt(this,V).get(V)}function Ft(V){return zt(this,V).has(V)}function on(V,ae){return zt(this,V).set(V,ae),this}tt.prototype.clear=Qt,tt.prototype.delete=Ln,tt.prototype.get=St,tt.prototype.has=Ft,tt.prototype.set=on;function Vt(V,ae){for(var xe=V.length;xe--;)if(fn(V[xe][0],ae))return xe;return-1}function un(V,ae){ae=qe(ae,V)?[ae]:Ot(ae);for(var xe=0,at=ae.length;V!=null&&xe<at;)V=V[Xt(ae[xe++])];return xe&&xe==at?V:void 0}function Rt(V){if(!De(V)||pt(V))return!1;var ae=Ce(V)||J(V)?we:j;return ae.test(dn(V))}function tn(V){if(typeof V=="string")return V;if(Ye(V))return he?he.call(V):"";var ae=V+"";return ae=="0"&&1/V==-f?"-0":ae}function Ot(V){return Oe(V)?V:jt(V)}function zt(V,ae){var xe=V.__data__;return Nt(ae)?xe[typeof ae=="string"?"string":"hash"]:xe.map}function Pt(V,ae){var xe=se(V,ae);return Rt(xe)?xe:void 0}function qe(V,ae){if(Oe(V))return!1;var xe=typeof V;return xe=="number"||xe=="symbol"||xe=="boolean"||V==null||Ye(V)?!0:E.test(V)||!S.test(V)||ae!=null&&V in Object(ae)}function Nt(V){var ae=typeof V;return ae=="string"||ae=="number"||ae=="symbol"||ae=="boolean"?V!=="__proto__":V===null}function pt(V){return!!be&&be in V}var jt=Wt(function(V){V=yt(V);var ae=[];return C.test(V)&&ae.push(""),V.replace(D,function(xe,at,nn,It){ae.push(nn?It.replace(O,"$1"):at||xe)}),ae});function Xt(V){if(typeof V=="string"||Ye(V))return V;var ae=V+"";return ae=="0"&&1/V==-f?"-0":ae}function dn(V){if(V!=null){try{return Le.call(V)}catch(ae){}try{return V+""}catch(ae){}}return""}function Wt(V,ae){if(typeof V!="function"||ae&&typeof ae!="function")throw new TypeError(l);var xe=function(){var at=arguments,nn=ae?ae.apply(this,at):at[0],It=xe.cache;if(It.has(nn))return It.get(nn);var Kt=V.apply(this,at);return xe.cache=It.set(nn,Kt),Kt};return xe.cache=new(Wt.Cache||tt),xe}Wt.Cache=tt;function fn(V,ae){return V===ae||V!==V&&ae!==ae}var Oe=Array.isArray;function Ce(V){var ae=De(V)?Ae.call(V):"";return ae==v||ae==g}function De(V){var ae=typeof V;return!!V&&(ae=="object"||ae=="function")}function Ve(V){return!!V&&typeof V=="object"}function Ye(V){return typeof V=="symbol"||Ve(V)&&Ae.call(V)==y}function yt(V){return V==null?"":tn(V)}function hn(V,ae,xe){var at=V==null?void 0:un(V,ae);return at===void 0?xe:at}t.exports=hn}).call(this,r("c8ba"))},c8ba:function(t,i){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(o){typeof window=="object"&&(r=window)}t.exports=r},c975:function(t,i,r){var o=r("23e7"),l=r("4d64").indexOf,d=r("a640"),f=r("ae40"),v=[].indexOf,g=!!v&&1/[1].indexOf(1,-0)<0,y=d("indexOf"),S=f("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:g||!y||!S},{indexOf:function(C){return g?v.apply(this,arguments)||0:l(this,C,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,i,r){var o=r("5135"),l=r("fc6a"),d=r("4d64").indexOf,f=r("d012");t.exports=function(v,g){var y=l(v),S=0,E=[],C;for(C in y)!o(f,C)&&o(y,C)&&E.push(C);for(;g.length>S;)o(y,C=g[S++])&&(~d(E,C)||E.push(C));return E}},cc12:function(t,i,r){var o=r("da84"),l=r("861d"),d=o.document,f=l(d)&&l(d.createElement);t.exports=function(v){return f?d.createElement(v):{}}},cca6:function(t,i,r){var o=r("23e7"),l=r("60da");o({target:"Object",stat:!0,forced:Object.assign!==l},{assign:l})},ce4e:function(t,i,r){var o=r("da84"),l=r("9112");t.exports=function(d,f){try{l(o,d,f)}catch(v){o[d]=f}return f}},d012:function(t,i){t.exports={}},d039:function(t,i){t.exports=function(r){try{return!!r()}catch(o){return!0}}},d066:function(t,i,r){var o=r("428f"),l=r("da84"),d=function(f){return typeof f=="function"?f:void 0};t.exports=function(f,v){return arguments.length<2?d(o[f])||d(l[f]):o[f]&&o[f][v]||l[f]&&l[f][v]}},d1e7:function(t,i,r){var o={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,d=l&&!o.call({1:2},1);i.f=d?function(v){var g=l(this,v);return!!g&&g.enumerable}:o},d28b:function(t,i,r){var o=r("746f");o("iterator")},d2bb:function(t,i,r){var o=r("825a"),l=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var d=!1,f={},v;try{v=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,v.call(f,[]),d=f instanceof Array}catch(g){}return function(y,S){return o(y),l(S),d?v.call(y,S):y.__proto__=S,y}}():void 0)},d3b7:function(t,i,r){var o=r("00ee"),l=r("6eeb"),d=r("b041");o||l(Object.prototype,"toString",d,{unsafe:!0})},d44e:function(t,i,r){var o=r("9bf2").f,l=r("5135"),d=r("b622"),f=d("toStringTag");t.exports=function(v,g,y){v&&!l(v=y?v:v.prototype,f)&&o(v,f,{configurable:!0,value:g})}},d58f:function(t,i,r){var o=r("1c0b"),l=r("7b0b"),d=r("44ad"),f=r("50c4"),v=function(g){return function(y,S,E,C){o(S);var D=l(y),x=d(D),O=f(D.length),j=g?O-1:0,U=g?-1:1;if(E<2)for(;;){if(j in x){C=x[j],j+=U;break}if(j+=U,g?j<0:O<=j)throw TypeError("Reduce of empty array with no initial value")}for(;g?j>=0:O>j;j+=U)j in x&&(C=S(C,x[j],j,D));return C}};t.exports={left:v(!1),right:v(!0)}},d784:function(t,i,r){r("ac1f");var o=r("6eeb"),l=r("d039"),d=r("b622"),f=r("9263"),v=r("9112"),g=d("species"),y=!l(function(){var x=/./;return x.exec=function(){var O=[];return O.groups={a:"7"},O},"".replace(x,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=d("replace"),C=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),D=!l(function(){var x=/(?:)/,O=x.exec;x.exec=function(){return O.apply(this,arguments)};var j="ab".split(x);return j.length!==2||j[0]!=="a"||j[1]!=="b"});t.exports=function(x,O,j,U){var Y=d(x),re=!l(function(){var X={};return X[Y]=function(){return 7},""[x](X)!=7}),se=re&&!l(function(){var X=!1,be=/a/;return x==="split"&&(be={},be.constructor={},be.constructor[g]=function(){return be},be.flags="",be[Y]=/./[Y]),be.exec=function(){return X=!0,null},be[Y](""),!X});if(!re||!se||x==="replace"&&!(y&&S&&!C)||x==="split"&&!D){var J=/./[Y],W=j(Y,""[x],function(X,be,Le,ce,Ae){return be.exec===f?re&&!Ae?{done:!0,value:J.call(be,Le,ce)}:{done:!0,value:X.call(Le,be,ce)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:C}),ue=W[0],me=W[1];o(String.prototype,x,ue),o(RegExp.prototype,Y,O==2?function(X,be){return me.call(X,this,be)}:function(X){return me.call(X,this)})}U&&v(RegExp.prototype[Y],"sham",!0)}},d81d:function(t,i,r){var o=r("23e7"),l=r("b727").map,d=r("1dde"),f=r("ae40"),v=d("map"),g=f("map");o({target:"Array",proto:!0,forced:!v||!g},{map:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,i,r){(function(o){var l=function(d){return d&&d.Math==Math&&d};t.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof o=="object"&&o)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(t,i,r){var o=r("23e7"),l=r("83ab"),d=r("56ef"),f=r("fc6a"),v=r("06cf"),g=r("8418");o({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(S){for(var E=f(S),C=v.f,D=d(E),x={},O=0,j,U;D.length>O;)U=C(E,j=D[O++]),U!==void 0&&g(x,j,U);return x}})},ddb0:function(t,i,r){var o=r("da84"),l=r("fdbc"),d=r("e260"),f=r("9112"),v=r("b622"),g=v("iterator"),y=v("toStringTag"),S=d.values;for(var E in l){var C=o[E],D=C&&C.prototype;if(D){if(D[g]!==S)try{f(D,g,S)}catch(O){D[g]=S}if(D[y]||f(D,y,E),l[E]){for(var x in d)if(D[x]!==d[x])try{f(D,x,d[x])}catch(O){D[x]=d[x]}}}}},df75:function(t,i,r){var o=r("ca84"),l=r("7839");t.exports=Object.keys||function(f){return o(f,l)}},e01a:function(t,i,r){var o=r("23e7"),l=r("83ab"),d=r("da84"),f=r("5135"),v=r("861d"),g=r("9bf2").f,y=r("e893"),S=d.Symbol;if(l&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},C=function(){var Y=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),re=this instanceof C?new S(Y):Y===void 0?S():S(Y);return Y===""&&(E[re]=!0),re};y(C,S);var D=C.prototype=S.prototype;D.constructor=C;var x=D.toString,O=String(S("test"))=="Symbol(test)",j=/^Symbol\((.*)\)[^)]+$/;g(D,"description",{configurable:!0,get:function(){var Y=v(this)?this.valueOf():this,re=x.call(Y);if(f(E,Y))return"";var se=O?re.slice(7,-1):re.replace(j,"$1");return se===""?void 0:se}}),o({global:!0,forced:!0},{Symbol:C})}},e163:function(t,i,r){var o=r("5135"),l=r("7b0b"),d=r("f772"),f=r("e177"),v=d("IE_PROTO"),g=Object.prototype;t.exports=f?Object.getPrototypeOf:function(y){return y=l(y),o(y,v)?y[v]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?g:null}},e177:function(t,i,r){var o=r("d039");t.exports=!o(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(t,i,r){var o=r("fc6a"),l=r("44d2"),d=r("3f8c"),f=r("69f3"),v=r("7dd0"),g="Array Iterator",y=f.set,S=f.getterFor(g);t.exports=v(Array,"Array",function(E,C){y(this,{type:g,target:o(E),index:0,kind:C})},function(){var E=S(this),C=E.target,D=E.kind,x=E.index++;return!C||x>=C.length?(E.target=void 0,{value:void 0,done:!0}):D=="keys"?{value:x,done:!1}:D=="values"?{value:C[x],done:!1}:{value:[x,C[x]],done:!1}},"values"),d.Arguments=d.Array,l("keys"),l("values"),l("entries")},e439:function(t,i,r){var o=r("23e7"),l=r("d039"),d=r("fc6a"),f=r("06cf").f,v=r("83ab"),g=l(function(){f(1)}),y=!v||g;o({target:"Object",stat:!0,forced:y,sham:!v},{getOwnPropertyDescriptor:function(E,C){return f(d(E),C)}})},e538:function(t,i,r){var o=r("b622");i.f=o},e893:function(t,i,r){var o=r("5135"),l=r("56ef"),d=r("06cf"),f=r("9bf2");t.exports=function(v,g){for(var y=l(g),S=f.f,E=d.f,C=0;C<y.length;C++){var D=y[C];o(v,D)||S(v,D,E(g,D))}}},e8b5:function(t,i,r){var o=r("c6b6");t.exports=Array.isArray||function(d){return o(d)=="Array"}},e95a:function(t,i,r){var o=r("b622"),l=r("3f8c"),d=o("iterator"),f=Array.prototype;t.exports=function(v){return v!==void 0&&(l.Array===v||f[d]===v)}},eaf9:function(t,i,r){var o=r("3b81"),l=r.n(o);l.a},f013:function(t,i,r){var o=r("fdb2"),l=r.n(o);l.a},f5df:function(t,i,r){var o=r("00ee"),l=r("c6b6"),d=r("b622"),f=d("toStringTag"),v=l(function(){return arguments}())=="Arguments",g=function(y,S){try{return y[S]}catch(E){}};t.exports=o?l:function(y){var S,E,C;return y===void 0?"Undefined":y===null?"Null":typeof(E=g(S=Object(y),f))=="string"?E:v?l(S):(C=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":C}},f6fd:function(t,i){(function(r){var o="currentScript",l=r.getElementsByTagName("script");o in r||Object.defineProperty(r,o,{get:function(){try{throw new Error}catch(v){var d,f=(/.*at [^\(]*\((.*):.+:.+\)$/ig.exec(v.stack)||[!1])[1];for(d in l)if(l[d].src==f||l[d].readyState=="interactive")return l[d];return null}}})})(document)},f772:function(t,i,r){var o=r("5692"),l=r("90e3"),d=o("keys");t.exports=function(f){return d[f]||(d[f]=l(f))}},f7fe:function(t,i,r){(function(o){var l="Expected a function",d=NaN,f="[object Symbol]",v=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,S=/^0o[0-7]+$/i,E=parseInt,C=typeof o=="object"&&o&&o.Object===Object&&o,D=typeof self=="object"&&self&&self.Object===Object&&self,x=C||D||Function("return this")(),O=Object.prototype,j=O.toString,U=Math.max,Y=Math.min,re=function(){return x.Date.now()};function se(X,be,Le){var ce,Ae,we,Te,ke,K,q=0,oe=!1,he=!1,$=!0;if(typeof X!="function")throw new TypeError(l);be=me(be)||0,J(Le)&&(oe=!!Le.leading,he="maxWait"in Le,we=he?U(me(Le.maxWait)||0,be):we,$="trailing"in Le?!!Le.trailing:$);function ee(je){var ht=ce,tt=Ae;return ce=Ae=void 0,q=je,Te=X.apply(tt,ht),Te}function k(je){return q=je,ke=setTimeout(_e,be),oe?ee(je):Te}function le(je){var ht=je-K,tt=je-q,Qt=be-ht;return he?Y(Qt,we-tt):Qt}function ge(je){var ht=je-K,tt=je-q;return K===void 0||ht>=be||ht<0||he&&tt>=we}function _e(){var je=re();if(ge(je))return Ee(je);ke=setTimeout(_e,le(je))}function Ee(je){return ke=void 0,$&&ce?ee(je):(ce=Ae=void 0,Te)}function ft(){ke!==void 0&&clearTimeout(ke),q=0,ce=K=Ae=ke=void 0}function ot(){return ke===void 0?Te:Ee(re())}function Ne(){var je=re(),ht=ge(je);if(ce=arguments,Ae=this,K=je,ht){if(ke===void 0)return k(K);if(he)return ke=setTimeout(_e,be),ee(K)}return ke===void 0&&(ke=setTimeout(_e,be)),Te}return Ne.cancel=ft,Ne.flush=ot,Ne}function J(X){var be=typeof X;return!!X&&(be=="object"||be=="function")}function W(X){return!!X&&typeof X=="object"}function ue(X){return typeof X=="symbol"||W(X)&&j.call(X)==f}function me(X){if(typeof X=="number")return X;if(ue(X))return d;if(J(X)){var be=typeof X.valueOf=="function"?X.valueOf():X;X=J(be)?be+"":be}if(typeof X!="string")return X===0?X:+X;X=X.replace(v,"");var Le=y.test(X);return Le||S.test(X)?E(X.slice(2),Le?2:8):g.test(X)?d:+X}t.exports=se}).call(this,r("c8ba"))},fb15:function(t,i,r){if(r.r(i),typeof window!="undefined"){r("f6fd");var o;(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=o[1])}r("4de4"),r("4160"),r("a15b"),r("d81d"),r("fb6a"),r("07ac"),r("159b"),r("a4d3"),r("e439"),r("dbb4"),r("b64b");function l(P,m,A){return m in P?Object.defineProperty(P,m,{value:A,enumerable:!0,configurable:!0,writable:!0}):P[m]=A,P}function d(P,m){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);m&&(M=M.filter(function(Q){return Object.getOwnPropertyDescriptor(P,Q).enumerable})),A.push.apply(A,M)}return A}function f(P){for(var m=1;m<arguments.length;m++){var A=arguments[m]!=null?arguments[m]:{};m%2?d(Object(A),!0).forEach(function(M){l(P,M,A[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):d(Object(A)).forEach(function(M){Object.defineProperty(P,M,Object.getOwnPropertyDescriptor(A,M))})}return P}var v=r("a48b"),g=r.n(v),y={computed:{isPropsUpdated:function(){var m=this;return Object.keys(this.$props).forEach(function(A){return m[A]}),this.updateSwitch=!this.updateSwitch}},watch:{isPropsUpdated:function(){typeof this.onPropsUpdated=="function"&&this.onPropsUpdated()}}},S=y;function E(P,m,A,M,Q,z,ne,de){var fe=typeof P=="function"?P.options:P;m&&(fe.render=m,fe.staticRenderFns=A,fe._compiled=!0),M&&(fe.functional=!0),z&&(fe._scopeId="data-v-"+z);var Pe;if(ne?(Pe=function($e){$e=$e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!$e&&typeof __VUE_SSR_CONTEXT__!="undefined"&&($e=__VUE_SSR_CONTEXT__),Q&&Q.call(this,$e),$e&&$e._registeredComponents&&$e._registeredComponents.add(ne)},fe._ssrRegister=Pe):Q&&(Pe=de?function(){Q.call(this,this.$root.$options.shadowRoot)}:Q),Pe)if(fe.functional){fe._injectStyles=Pe;var He=fe.render;fe.render=function(Ze,Qe){return Pe.call(Qe),He(Ze,Qe)}}else{var We=fe.beforeCreate;fe.beforeCreate=We?[].concat(We,Pe):[Pe]}return{exports:P,options:fe}}var C,D,x=E(S,C,D,!1,null,null,null),O=x.exports,j=r("88bc"),U=r.n(j),Y=r("42a0"),re=r.n(Y),se=r("c832"),J=r.n(se),W=function(m,A,M){!m||(m.data=m.data||{},m.data[A]=f({},m.data[A],{},M))},ue=function(m,A,M){!m||(m.data=m.data||{},m.data[A]=M)},me=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopesSlots","slot","ref","key"];function X(P){return""+P+"-cloned-cid"}function be(P,m){var A=U()(P.data,me);if(m){var M=P.componentOptions;re()(A,{props:M.propsData,on:M.listeners})}return A.key&&(A.key=X(A.key)),A}var Le=function P(m){var A=m.context&&m.context.$createElement,M=!!m.componentOptions,Q=!m.tag,z=M?m.componentOptions.children:m.children;if(Q)return m.text;var ne=be(m,M),de=M?m.componentOptions.Ctor:m.tag,fe=z?z.map(function(Pe){return P(Pe)}):void 0;return A(de,ne,fe)},ce=function(m,A,M){if(!!m){var Q=m.data||{};return typeof A=="undefined"?Q:J()(Q,A,M)}},Ae=function(m){return f({},ce(m,"staticStyle",{}),{},ce(m,"style",{}))};r("99af"),r("a623"),r("a630"),r("c975"),r("13d5"),r("a9e3"),r("ac1f"),r("3ca3"),r("466d");var we=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},Te=function(m){return m.unslick||!m.infinite?0:m.variableWidth?m.slideCount:m.slidesToShow+(m.centerMode?1:0)},ke=function(m){return m.unslick||!m.infinite?0:m.slideCount},K=function(m,A,M){return m.target.tagName.match("TEXTAREA|INPUT|SELECT")||!A?"":m.keyCode===37?M?"next":"previous":m.keyCode===39?M?"previous":"next":""},q=function(m){return m.targetSlide>m.currentSlide?m.targetSlide>m.currentSlide+oe(m)?"left":"right":m.targetSlide<m.currentSlide-he(m)?"right":"left"},oe=function(m){var A=m.slidesToShow,M=m.centerMode,Q=m.rtl,z=m.centerPadding;if(M){var ne=(A-1)/2+1;return parseInt(z)>0&&(ne+=1),Q&&A%2===0&&(ne+=1),ne}return Q?0:A-1},he=function(m){var A=m.slidesToShow,M=m.centerMode,Q=m.rtl,z=m.centerPadding;if(M){var ne=(A-1)/2+1;return parseInt(z)>0&&(ne+=1),!Q&&A%2===0&&(ne+=1),ne}return Q?A-1:0},$=function(m){return m.currentSlide-k(m)},ee=function(m){return m.currentSlide+le(m)},k=function(m){return m.centerMode?Math.floor(m.slidesToShow/2)+(parseInt(m.centerPadding)>0?1:0):0},le=function(m){return m.centerMode?Math.floor((m.slidesToShow-1)/2)+1+(parseInt(m.centerPadding)>0?1:0):m.slidesToShow},ge=function(m){for(var A=[],M=$(m),Q=ee(m),z=M;z<Q;z++)m.lazyLoadedList.indexOf(z)<0&&A.push(z);return A},_e=function(m,A){var M,Q,z,ne,de,fe=m.slidesToScroll,Pe=m.slidesToShow,He=m.slideCount,We=m.currentSlide,$e=m.lazyLoad,Ze=m.infinite;if(ne=He%fe!==0,M=ne?0:(He-We)%fe,A.message==="previous")z=M===0?fe:Pe-M,de=We-z,$e&&!Ze&&(Q=We-z,de=Q===-1?He-1:Q);else if(A.message==="next")z=M===0?fe:M,de=We+z,$e&&!Ze&&(de=(We+fe)%He+M);else if(A.message==="dots"){if(de=A.index*A.slidesToScroll,de===A.currentSlide)return null}else if(A.message==="children"){if(de=A.index,de===A.currentSlide)return null;if(Ze){var Qe=q(f({},m,{targetSlide:de}));de>A.currentSlide&&Qe==="left"?de=de-He:de<A.currentSlide&&Qe==="right"&&(de=de+He)}}else if(A.message==="index"&&(de=Number(A.index),de===A.currentSlide))return null;return de},Ee=function(m){return Object.keys(m).filter(function(A){return m[A]!==void 0}).reduce(function(A,M){return A[M]=m[M],A},{})},ft=function(m){return Object.keys(m).filter(function(A){return m[A]!==void 0&&m[A]!==null}).reduce(function(A,M){return A[M]=m[M],A},{})},ot=function(m,A,M){return!A||!M&&m.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:m.touches?m.touches[0].pageX:m.clientX,startY:m.touches?m.touches[0].pageY:m.clientY,curX:m.touches?m.touches[0].pageX:m.clientX,curY:m.touches?m.touches[0].pageY:m.clientY}}},Ne=function(m,A){var M=A.scrolling,Q=A.animating,z=A.vertical,ne=A.swipeToSlide,de=A.verticalSwiping,fe=A.rtl,Pe=A.currentSlide,He=A.edgeFriction,We=A.edgeDragged,$e=A.onEdge,Ze=A.swiped,Qe=A.swiping,Fe=A.slideCount,ze=A.slidesToScroll,Xe=A.infinite,Re=A.touchObject,Lt=A.swipeEvent,Gt=A.listHeight,Jt=A.listWidth;if(!M){if(Q)return m.preventDefault();z&&ne&&de&&m.preventDefault();var kt,an={},Nn=Ot(A);Re.curX=m.touches?m.touches[0].pageX:m.clientX,Re.curY=m.touches?m.touches[0].pageY:m.clientY,Re.swipeLength=Math.round(Math.sqrt(Math.pow(Re.curX-Re.startX,2)));var Gr=Math.round(Math.sqrt(Math.pow(Re.curY-Re.startY,2)));if(!de&&!Qe&&Gr>10)return{scrolling:!0};de&&(Re.swipeLength=Gr);var Kn=(fe?-1:1)*(Re.curX>Re.startX?1:-1);de&&(Kn=Re.curY>Re.startY?1:-1);var Ps=Math.ceil(Fe/ze),Jn=Rt(A.touchObject,de),jn=Re.swipeLength;return Xe||(Pe===0&&Jn==="right"||Pe+1>=Ps&&Jn==="left"||!Ft(A)&&Jn==="left")&&(jn=Re.swipeLength*He,We===!1&&$e&&($e(Jn),an.edgeDragged=!0)),!Ze&&Lt&&(Lt(Jn),an.swiped=!0),z?kt=Nn+jn*(Gt/Jt)*Kn:fe?kt=Nn-jn*Kn:kt=Nn+jn*Kn,de&&(kt=Nn+jn*Kn),an=f({},an,{touchObject:Re,swipeLeft:kt,trackStyle:qe(f({},A,{left:kt}))}),Math.abs(Re.curX-Re.startX)<Math.abs(Re.curY-Re.startY)*.8||Re.swipeLength>10&&(an.swiping=!0,m.preventDefault()),an}},je=function(m,A){var M=A.dragging,Q=A.swipe,z=A.touchObject,ne=A.listWidth,de=A.touchThreshold,fe=A.verticalSwiping,Pe=A.listHeight,He=A.currentSlide,We=A.swipeToSlide,$e=A.scrolling,Ze=A.onSwipe;if(!M)return Q&&m.preventDefault(),{};var Qe=fe?Pe/de:ne/de,Fe=Rt(z,fe),ze={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if($e||!z.swipeLength)return ze;if(z.swipeLength>Qe){m.preventDefault(),Ze&&Ze(Fe);var Xe,Re;switch(Fe){case"left":case"up":Re=He+Qt(A),Xe=We?tt(A,Re):Re,ze.currentDirection=0;break;case"right":case"down":Re=He-Qt(A),Xe=We?tt(A,Re):Re,ze.currentDirection=1;break;default:Xe=He}ze.triggerSlideHandler=Xe}else{var Lt=Ot(A);ze.trackStyle=Nt(f({},A,{left:Lt}))}return ze},ht=function(m){for(var A=m.infinite?m.slideCount*2:m.slideCount,M=m.infinite?m.slidesToShow*-1:0,Q=m.infinite?m.slidesToShow*-1:0,z=[];M<A;)z.push(M),M=Q+m.slidesToScroll,Q+=Math.min(m.slidesToScroll,m.slidesToShow);return z},tt=function(m,A){var M=ht(m),Q=0;if(A>M[M.length-1])A=M[M.length-1];else for(var z in M){if(A<M[z]){A=Q;break}Q=M[z]}return A},Qt=function(m){var A=m.centerMode?m.slideWidth*Math.floor(m.slidesToShow/2):0;if(m.swipeToSlide){var M,Q=m.listRef,z=Q.querySelectorAll(".slick-slide");if(Array.from(z).every(function(fe){if(m.vertical){if(fe.offsetTop+un(fe)/2>m.swipeLeft*-1)return M=fe,!1}else if(fe.offsetLeft-A+Vt(fe)/2>m.swipeLeft*-1)return M=fe,!1;return!0}),!M)return 0;var ne=m.rtl===!0?m.slideCount-m.currentSlide:m.currentSlide,de=Math.abs(M.dataset.index-ne)||1;return de}else return m.slidesToScroll},Ln=function(m,A){var M={};return A.forEach(function(Q){return M[Q]=m[Q]}),M},St={TRACK:["fade","cssEase","speed","infinite","centerMode","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"],DOT:["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","children","customPaging","infinite"],ARROW:["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]},Ft=function(m){var A=!0;return m.infinite||(m.centerMode&&m.currentSlide>=m.slideCount-1||m.slideCount<=m.slidesToShow||m.currentSlide>=m.slideCount-m.slidesToShow)&&(A=!1),A},on=function(m){var A=m.waitForAnimate,M=m.animating,Q=m.fade,z=m.infinite,ne=m.index,de=m.slideCount,fe=m.lazyLoadedList,Pe=m.lazyLoad,He=m.currentSlide,We=m.centerMode,$e=m.slidesToScroll,Ze=m.slidesToShow,Qe=m.useCSS;if(A&&M)return{};var Fe=ne,ze,Xe,Re,Lt={},Gt={};if(Q){if(!z&&(ne<0||ne>=de))return{};ne<0?Fe=ne+de:ne>=de&&(Fe=ne-de),Pe&&fe.indexOf(Fe)<0&&fe.push(Fe),Lt={animating:!0,currentSlide:Fe,lazyLoadedList:fe},Gt={animating:!1}}else ze=Fe,Fe<0?(ze=Fe+de,z?de%$e!==0&&(ze=de-de%$e):ze=0):!Ft(m)&&Fe>He?Fe=ze=He:We&&Fe>=de?(Fe=z?de:de-1,ze=z?0:de-1):Fe>=de&&(ze=Fe-de,z?de%$e!==0&&(ze=0):ze=de-Ze),Xe=Ot(f({},m,{slideIndex:Fe})),Re=Ot(f({},m,{slideIndex:ze})),z||(Xe===Re&&(Fe=ze),Xe=Re),Pe&&fe.concat(ge(f({},m,{currentSlide:Fe}))),Qe?(Lt={animating:!0,currentSlide:ze,trackStyle:Nt(f({},m,{left:Xe})),lazyLoadedList:fe},Gt={animating:!1,currentSlide:ze,trackStyle:qe(f({},m,{left:Re})),swipeLeft:null}):Lt={currentSlide:ze,trackStyle:qe(f({},m,{left:Re})),lazyLoadedList:fe};return{state:Lt,nextState:Gt}},Vt=function(m){return m&&m.offsetWidth||0},un=function(m){return m&&m.offsetHeight||0},Rt=function(m){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M,Q,z,ne;return M=m.startX-m.curX,Q=m.startY-m.curY,z=Math.atan2(Q,M),ne=Math.round(z*180/Math.PI),ne<0&&(ne=360-Math.abs(ne)),ne<=45&&ne>=0||ne<=360&&ne>=315?"left":ne>=135&&ne<=225?"right":A===!0?ne>=35&&ne<=135?"up":"down":"vertical"},tn=function(m){var A=m.children.length,M=Math.ceil(Vt(m.listRef)),Q=Math.ceil(Vt(m.trackRef)),z;if(m.vertical)z=M;else{var ne=m.centerMode&&parseInt(m.centerPadding)*2;typeof m.centerPadding=="string"&&m.centerPadding.slice(-1)==="%"&&(ne*=M/100),z=Math.ceil((M-ne)/m.slidesToShow)}var de=m.listRef&&un(m.listRef.querySelector('[data-index="0"]')),fe=de*m.slidesToShow,Pe=m.currentSlide===void 0?m.initialSlide:m.currentSlide;m.rtl&&m.currentSlide===void 0&&(Pe=A-1-m.initialSlide);var He=m.lazyLoadedList||[],We=ge({currentSlide:Pe,lazyLoadedList:He});He.concat(We);var $e={slideCount:A,slideWidth:z,listWidth:M,trackWidth:Q,currentSlide:Pe,slideHeight:de,listHeight:fe,lazyLoadedList:He};return m.autoplaying===null&&m.autoplay&&($e.autoplaying="playing"),$e},Ot=function(m){if(m.unslick)return 0;Pt(m,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var A=m.slideIndex,M=m.trackRef,Q=m.infinite,z=m.centerMode,ne=m.slideCount,de=m.slidesToShow,fe=m.slidesToScroll,Pe=m.slideWidth,He=m.listWidth,We=m.variableWidth,$e=m.slideHeight,Ze=m.fade,Qe=m.vertical,Fe=0,ze,Xe,Re=0;if(Ze||m.slideCount===1)return 0;var Lt=0;if(Q?(Lt=-Te(m),ne%fe!==0&&A+fe>ne&&(Lt=-(A>ne?de-(A-ne):ne%fe)),z&&(Lt+=parseInt(de/2))):(ne%fe!==0&&A+fe>ne&&(Lt=de-ne%fe),z&&(Lt=parseInt(de/2))),Fe=Lt*Pe,Re=Lt*$e,Qe?ze=A*$e*-1+Re:ze=A*Pe*-1+Fe,We===!0){var Gt,Jt=M.$el;if(Gt=A+Te(m),Xe=Jt&&Jt.childNodes[Gt],ze=Xe?Xe.offsetLeft*-1:0,z===!0){Gt=Q?A+Te(m):A,Xe=Jt&&Jt.children[Gt],ze=0;for(var kt=0;kt<Gt;kt++)ze-=Jt&&Jt.children[kt]&&Jt.children[kt].offsetWidth;ze-=parseInt(m.centerPadding),ze+=Xe&&(He-Xe.offsetWidth)/2}}return ze},zt=function(m){return m.slideCount===1?1:Te(m)+m.slideCount+ke(m)},Pt=function(m,A){return A.reduce(function(M,Q){return M&&m.hasOwnProperty(Q)},!0)?null:console.error("Keys Missing:",m)},qe=function(m){Pt(m,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var A,M,Q=m.slideCount+2*m.slidesToShow;m.vertical?M=Q*m.slideHeight:A=zt(m)*m.slideWidth;var z={opacity:1,transition:"",WebkitTransition:""};if(m.useTransform){var ne=m.vertical?"translate3d(0px, "+m.left+"px, 0px)":"translate3d("+m.left+"px, 0px, 0px)",de=m.vertical?"translate3d(0px, "+m.left+"px, 0px)":"translate3d("+m.left+"px, 0px, 0px)",fe=m.vertical?"translateY("+m.left+"px)":"translateX("+m.left+"px)";z=f({},z,{WebkitTransform:ne,transform:de,msTransform:fe})}else m.vertical?z.top=m.left:z.left=m.left;return m.fade&&(z={opacity:1}),A&&(z.width=A+"px"),M&&(z.height=M+"px"),window&&!window.addEventListener&&window.attachEvent&&(m.vertical?z.marginTop=m.left+"px":z.marginLeft=m.left+"px"),z},Nt=function(m){Pt(m,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var A=qe(m);return m.useTransform?(A.WebkitTransition="-webkit-transform "+m.speed+"ms "+m.cssEase,A.transition="transform "+m.speed+"ms "+m.cssEase):m.vertical?A.transition="top "+m.speed+"ms "+m.cssEase:A.transition="left "+m.speed+"ms "+m.cssEase,A},pt={accessibility:{type:Boolean,default:!0},adaptiveHeight:{type:Boolean,default:!1},arrows:{type:Boolean,default:!0},asNavFor:{type:Object,default:null},autoplay:{type:Boolean,default:!1},autoplaySpeed:{type:Number,default:3e3},centerMode:{type:Boolean,default:!1},centerPadding:{type:String,default:"50px"},cssEase:{type:String,default:"ease"},dots:{type:Boolean,default:!1},dotsClass:{type:String,default:"slick-dots"},draggable:{type:Boolean,default:!0},edgeFriction:{type:Number,default:.35},fade:{type:Boolean,default:!1},focusOnSelect:{type:Boolean,default:!1},infinite:{type:Boolean,default:!0},initialSlide:{type:Number,default:0},lazyLoad:{type:String,default:null},pauseOnDotsHover:{type:Boolean,default:!1},pauseOnFocus:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},responsive:{type:Array,default:null},rows:{type:Number,default:1},rtl:{type:Boolean,default:!1},slidesPerRow:{type:Number,default:1},slidesToScroll:{type:Number,default:1},slidesToShow:{type:Number,default:1},speed:{type:Number,default:500},swipe:{type:Boolean,default:!0},swipeToSlide:{type:Boolean,default:!1},touchMove:{type:Boolean,default:!0},touchThreshold:{type:Number,default:5},useCSS:{type:Boolean,default:!0},useTransform:{type:Boolean,default:!0},variableWidth:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},waitForAnimate:{type:Boolean,default:!0}},jt=Object.keys(pt).reduce(function(P,m){return P[m]=pt[m].default,P},{});Object.keys(pt).reduce(function(P,m){return P[m]=pt[m].type,P},{}),r("cca6");function Xt(P,m){if(P==null)return{};var A={},M=Object.keys(P),Q,z;for(z=0;z<M.length;z++)Q=M[z],!(m.indexOf(Q)>=0)&&(A[Q]=P[Q]);return A}function dn(P,m){if(P==null)return{};var A=Xt(P,m),M,Q;if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(P);for(Q=0;Q<z.length;Q++)M=z[Q],!(m.indexOf(M)>=0)&&(!Object.prototype.propertyIsEnumerable.call(P,M)||(A[M]=P[M]))}return A}r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("ddb0");function Wt(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wt=function(A){return typeof A}:Wt=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Wt(P)}var fn=r("6dd8"),Oe=r("f7fe"),Ce=r.n(Oe),De=function(m){var A,M,Q,z,ne;m.rtl?ne=m.slideCount-1-m.index:ne=m.index,Q=ne<0||ne>=m.slideCount,m.centerMode?(z=Math.floor(m.slidesToShow/2),M=(ne-m.currentSlide)%m.slideCount===0,ne>m.currentSlide-z-1&&ne<=m.currentSlide+z&&(A=!0)):A=m.currentSlide<=ne&&ne<m.currentSlide+m.slidesToShow;var de=ne===m.currentSlide;return{"slick-slide":!0,"slick-active":A,"slick-center":M,"slick-cloned":Q,"slick-current":de}},Ve=function(m){var A={};return(m.variableWidth===void 0||m.variableWidth===!1)&&(A.width=typeof m.slideWidth=="number"?"".concat(m.slideWidth,"px"):m.slideWidth),m.fade&&(A.position="relative",m.vertical?A.top="".concat(-m.index*parseInt(m.slideHeight),"px"):A.left="".concat(-m.index*parseInt(m.slideWidth),"px"),A.opacity=m.currentSlide===m.index?1:0,A.transition="opacity "+m.speed+"ms "+m.cssEase+", visibility "+m.speed+"ms "+m.cssEase),A},Ye=function(m,A){return m.key!=null&&String(m.key)||A},yt={name:"SliderTrack",props:St.TRACK,methods:{cloneSlide:function(m,A){var M=this,Q=Le(m);return Q.key=A.key,W(Q,"class",A.class),W(Q,"attrs",A.attrs),W(Q,"style",A.style),W(Q,"on",{click:function(ne){ce(m,"on.click",function(){})(ne),M.$emit("childClicked",A.childOnClickOptions)}}),Q},renderSlides:function(m,A){var M=this,Q=this.$createElement,z,ne=[],de=[],fe=[],Pe=A.length,He=$(m),We=ee(m);return A.forEach(function($e,Ze){var Qe,Fe={message:"children",index:Ze,slidesToScroll:m.slidesToScroll,currentSlide:m.currentSlide};!m.lazyLoad||m.lazyLoad&&m.lazyLoadedList.indexOf(Ze)>=0?Qe=$e:Qe=Q("div");var ze=Ve(f({},m,{index:Ze})),Xe=De(f({},m,{index:Ze}));if(ne.push(M.cloneSlide(Qe,{key:"original"+Ye(Qe,Ze),class:Xe,style:f({outline:"none"},ze),attrs:{tabIndex:"-1","data-index":Ze,"aria-hidden":"".concat(!Xe["slick-active"])},childOnClickOptions:Fe})),m.infinite&&m.fade===!1&&Pe>m.slidesToShow){var Re=Pe-Ze;Re<=Te(m)&&Pe!==m.slidesToShow&&(z=-Re,z>=He&&(Qe=$e),Xe=De(f({},m,{index:z})),de.push(M.cloneSlide(Qe,{key:"precloned"+Ye(Qe,z),class:Xe,style:ze,attrs:{tabIndex:"-1","data-index":z,"aria-hidden":"".concat(!Xe["slick-active"])},childOnClickOptions:Fe}))),Pe!==m.slidesToShow&&(z=Pe+Ze,z<We&&(Qe=$e),Xe=De(f({},m,{index:z})),fe.push(M.cloneSlide(Qe,{key:"postcloned"+Ye(Qe,z),class:Xe,style:ze,attrs:{tabIndex:"-1","data-index":z,"aria-hidden":"".concat(!Xe["slick-active"])},childOnClickOptions:Fe})))}},this),m.rtl?de.concat(ne,fe).reverse():de.concat(ne,fe)}},render:function(){var m=arguments[0],A=this.renderSlides(this.$props,this.$slots.default);return m("div",{class:{"slick-track":!0,"slick-center":this.$props.centerMode},style:this.trackStyle},[A])}},hn=yt;r("6ea2");var V,ae,xe=E(hn,V,ae,!1,null,"e4caeaf8",null),at=xe.exports;function nn(P,m){(m==null||m>P.length)&&(m=P.length);for(var A=0,M=new Array(m);A<m;A++)M[A]=P[A];return M}function It(P){if(Array.isArray(P))return nn(P)}function Kt(P){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(P))return Array.from(P)}r("b0c0"),r("25f0");function Sr(P,m){if(!!P){if(typeof P=="string")return nn(P,m);var A=Object.prototype.toString.call(P).slice(8,-1);if(A==="Object"&&P.constructor&&(A=P.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return nn(P,m)}}function Fr(){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 pi(P){return It(P)||Kt(P)||Sr(P)||Fr()}var Vr={name:"SliderArrow",props:[].concat(pi(St.ARROW),["type"]),render:function(){var m=this,A=arguments[0],M={"slick-arrow":!0},Q=!0,z,ne={currentSlide:this.currentSlide,slideCount:this.slideCount};return this.type==="previous"?(M["slick-prev"]=!0,!this.infinite&&(this.currentSlide===0||this.slideCount<=this.slidesToShow)&&(M["slick-disabled"]=!0,Q=!1),ne.key="0",z=this.prevArrow?this.prevArrow(ne)[0]:A("button",{attrs:{type:"button","data-role":"none"},style:"display: block;"},["Previous"])):(M["slick-next"]=!0,Ft(this.$props)||(M["slick-disabled"]=!0,Q=!1),ne.key="1",z=this.nextArrow?this.nextArrow(ne)[0]:A("button",{attrs:{type:"button","data-role":"none"},style:"display: block;"},["Next"])),ue(z,"key",ne.key),W(z,"class",M),W(z,"on",{click:function(){Q&&m.$emit("arrowClicked",{message:m.type})}}),z}},vi=Vr;r("f013");var wn,Er,An=E(vi,wn,Er,!1,null,"21137603",null),Cn=An.exports;r("1276");var xt=function(m){var A;return m.infinite?A=Math.ceil(m.slideCount/m.slidesToScroll):A=Math.ceil((m.slideCount-m.slidesToShow)/m.slidesToScroll)+1,A},gi={name:"SliderDots",props:St.DOT,render:function(){var m=this,A=arguments[0],M=xt({slideCount:this.slideCount,slidesToScroll:this.slidesToScroll,slidesToShow:this.slidesToShow,infinite:this.infinite}),Q=Array.apply(null,Array(M+1).join("0").split("")).map(function(de,fe){var Pe=fe*m.slidesToScroll,He=fe*m.slidesToScroll+(m.slidesToScroll-1),We={"slick-active":m.currentSlide>=Pe&&m.currentSlide<=He},$e={message:"dots",index:fe,slidesToScroll:m.slidesToScroll,currentSlide:m.currentSlide},Ze=m.customPaging?m.customPaging(fe)[0]:A("button",[fe+1]);return A("li",{key:fe,class:We,on:{click:function(){return m.$emit("dotClicked",$e)}}},[Ze])}),z={display:"block"},ne=l({},this.dotsClass,!0);return A("ul",{style:z,class:ne},[Q])}},Lr=gi,mi,yi,bi=E(Lr,mi,yi,!1,null,null,null),Si=bi.exports,Ei={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0},zr={name:"InnerSlider",components:{SliderTrack:at,SliderArrow:Cn,SliderDots:Si},mixins:[O],inheritAttrs:!1,props:f({},pt,{unslick:{type:Boolean,default:!1},prevArrow:Function,nextArrow:Function,customPaging:Function}),data:function(){return f({},Ei,{currentSlide:this.initialSlide})},computed:{slideCount:function(){return this.$slots.default.length},spec:function(){return f({},this.$props,{},this.$data,{slideCount:this.slideCount})}},created:function(){if(this.callbackTimers=[],this.clickable=!0,this.debouncedResize=null,this.ssrInit(),this.$parent.$emit("init"),this.lazyLoad){var m=ge(this.spec);m.length>0&&(this.lazyLoadedList=this.lazyLoadedList.concat(m),this.$parent.$emit("lazyLoad",m))}},mounted:function(){var m=this,A=f({listRef:this.$refs.list,trackRef:this.$refs.track,children:this.$slots.default},this.$props);this.updateState(A,!0),this.adaptHeight(),this.autoPlay&&this.autoPlay("update"),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new fn.a(function(){m.animating?(m.onWindowResized(!1),m.callbackTimers.push(setTimeout(function(){return m.onWindowResized()},m.speed))):m.onWindowResized()}),this.ro.observe(this.$refs.list),Array.prototype.forEach.call(this.$refs.list.querySelectorAll(".slick-slide"),function(M){M.onfocus=m.pauseOnFocus?m.onSlideFocus:null,M.onblur=m.pauseOnFocus?m.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)},updated:function(){if(this.checkImagesLoad(),this.$parent.$emit("reInit"),this.lazyLoad){var m=ge(f({},this.$props,{},this.$data));m.length>0&&(this.lazyLoadedList=this.lazyLoadedList.concat(m),this.$parent.$emit("lazyLoad",m))}this.adaptHeight()},beforeDestroy:function(){this.ro.unobserve(this.$refs.list),this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(function(m){return clearTimeout(m)}),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer)},methods:{onPropsUpdated:function(){for(var m=this.$props,A=f({listRef:this.$refs.list,trackRef:this.$refs.track,children:this.$slots.default},m,{},this.$data),M=!1,Q=0,z=Object.keys(this.$props);Q<z.length;Q++){var ne=z[Q];if(!m.hasOwnProperty(ne)){M=!0;break}if(!(Wt(m[ne])==="object"||typeof m[ne]=="function")&&m[ne]!==this.$props[ne]){M=!0;break}}this.updateState(A,M),this.currentSlide>=this.slideCount&&this.changeSlide({message:"index",index:this.slideCount-m.slidesToShow,currentSlide:this.currentSlide}),m.autoplay?this.autoPlay("update"):this.pause("paused")},updateState:function(m,A){var M=tn(m);m=f({},m,{},M,{slideIndex:M.currentSlide});var Q=Ot(m);m=f({},m,{left:Q});var z=qe(m);(A||this.slideCount!==m.children.length)&&(M.trackStyle=z),Object.assign(this.$data,M)},adaptHeight:function(){if(this.adaptiveHeight&&this.$refs.list){var m=this.$refs.list.querySelector('[data-index="'.concat(this.currentSlide,'"]'));this.$refs.list.style.height=un(m)+"px"}},ssrInit:function(){var m=Te(this.spec),A=ke(this.spec);if(this.variableWidth){var M=[],Q=[],z=[];this.$slots.default.forEach(function(Fe){var ze=Ae(Fe),Xe=ze.width;z.push(Xe),M.push(Xe)});for(var ne=0;ne<m;ne++)Q.push(z[z.length-1-ne]),M.push(z[z.length-1-ne]);for(var de=0;de<A;de++)M.push(z[de]);for(var fe=0;fe<this.currentSlide;fe++)Q.push(z[fe]);M=M.filter(function(Fe){return Fe}),Q=Q.filter(function(Fe){return Fe});var Pe={width:"calc(".concat(M.join(" + "),")"),left:"calc(".concat(Q.map(function(Fe){return"-".concat(Fe)}).join(" + "),")")};if(this.centerMode){var He=z[this.currentSlide];Pe.left="calc(".concat(Q.map(function(Fe){return"-".concat(Fe)}).join(" + ")," + (100% - ").concat(He,") / 2 )")}this.trackStyle=Pe}else{var We=m+A+this.slideCount,$e=100/this.slidesToShow*We,Ze=100/We,Qe=-Ze*(m+this.currentSlide)*$e/100;this.centerMode&&(Qe+=(100-Ze*$e/100)/2),this.slideWidth=Ze+"%",this.trackStyle={width:$e+"%",left:Qe+"%"}}},slideHandler:function(m){var A=this,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Q=this.asNavFor,z=this.speed,ne=this.currentSlide,de=on(f({index:m},this.$props,{},this.$data,{trackRef:this.$refs.track,useCSS:this.useCSS&&!M})),fe=de.state,Pe=de.nextState;if(!!fe){this.$parent.$emit("beforeChange",ne,fe.currentSlide);var He=fe.lazyLoadedList.filter(function(We){return A.lazyLoadedList.indexOf(We)<0});He.length&&this.$parent.$emit("lazyLoad",He),Object.assign(this.$data,fe),Q&&Q.goTo(m),Pe&&(this.animationEndCallback=setTimeout(function(){var We=Pe.animating,$e=dn(Pe,["animating"]);Object.assign(A.$data,$e),A.callbackTimers.push(setTimeout(function(){A.animating=We},10)),A.$parent.$emit("afterChange",fe.currentSlide),A.animationEndCallback=void 0},z))}},onWindowResized:function(m){var A=this;this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=Ce()(function(){return A.resizeWindow(m)},50),this.debouncedResize()},resizeWindow:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!(this.$refs.track&&this.$refs.track.$el)){var A=f({listRef:this.$refs.list,trackRef:this.$refs.track,children:this.$slots.default},this.$props,{},this.$data);this.updateState(A,m),this.autoplay?this.autoPlay("update"):this.pause("paused"),this.animating=!1,clearTimeout(this.animationEndCallback),this.animationEndCallback=void 0}},checkImagesLoad:function(){var m=this,A=this.$refs.list.querySelectorAll(".slick-slide img"),M=A.length,Q=0;Array.prototype.forEach.call(A,function(z){var ne=function(){return++Q&&Q>=M&&m.onWindowResized()};if(!z.onclick)z.onclick=function(){return z.parentNode.focus()};else{var de=z.onclick;z.onclick=function(){de(),z.parentNode.focus()}}z.onload||(m.lazyLoad?z.onload=function(){m.adaptHeight(),m.callbackTimers.push(setTimeout(m.onWindowResized,m.speed))}:(z.onload=ne,z.onerror=function(){ne(),m.$parent.$emit("lazyLoadError")}))})},progressiveLazyLoad:function(){for(var m=[],A=f({},this.$props,{},this.$data),M=this.currentSlide;M<this.slideCount+ke(A);M++)if(this.lazyLoadedList.indexOf(M)<0){m.push(M);break}for(var Q=this.currentSlide-1;Q>=-Te(A);Q--)if(this.lazyLoadedList.indexOf(Q)<0){m.push(Q);break}m.length>0?(this.lazyLoadedList=this.lazyLoadedList.concat(m),this.$parent.$emit("lazyLoad",m)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),this.lazyLoadTimer=void 0)},clickHandler:function(m){this.clickable===!1&&(m.stopPropagation(),m.preventDefault()),this.clickable=!0},keyHandler:function(m){var A=K(m,this.accessibility,this.rtl);A!==""&&this.changeSlide({message:A})},changeSlide:function(m){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M=f({},this.$props,{},this.$data),Q=_e(M,m);Q!==0&&!Q||(A===!0?this.slideHandler(Q,A):this.slideHandler(Q))},swipeStart:function(m){this.verticalSwiping&&this.disableBodyScroll();var A=ot(m,this.swipe,this.draggable);A!==""&&Object.assign(this.$data,A)},swipeMove:function(m){var A=this,M=Ne(m,f({},this.$props,{},this.$data,{trackRef:this.$refs.track,listRef:this.$refs.list,slideIndex:this.currentSlide,onEdge:function(z){return A.$parent.$emit("edge",z)},swipeEvent:function(z){return A.$parent.$emit("swipe",z)}}));!M||(M.swiping&&(this.clickable=!1),Object.assign(this.$data,M))},swipeEnd:function(m){var A=je(m,f({},this.$props,{},this.$data,{trackRef:this.$refs.track,listRef:this.$refs.list,slideIndex:this.currentSlide}));if(!!A){var M=A.triggerSlideHandler;this.triggerSlideHandler=void 0,Object.assign(this.$data,A),M!==void 0&&(this.slideHandler(M),this.verticalSwiping&&this.enableBodyScroll())}},prev:function(){var m=this;this.callbackTimers.push(setTimeout(function(){return m.changeSlide({message:"previous"})},0))},next:function(){var m=this;this.callbackTimers.push(setTimeout(function(){return m.changeSlide({message:"next"})},0))},goTo:function(m){var A=this,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(m=Number(m),isNaN(m))return"";this.callbackTimers.push(setTimeout(function(){return A.changeSlide({message:"index",index:m,currentSlide:A.currentSlide},M)},0))},play:function(){var m;if(this.rtl)m=this.currentSlide-this.slidesToScroll;else if(Ft(f({},this.$props,{},this.$data)))m=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(m)},autoPlay:function(m){this.autoplayTimer&&clearInterval(this.autoplayTimer);var A=this.autoplaying;if(m==="update"){if(A==="hovered"||A==="focused"||A==="paused")return}else if(m==="leave"){if(A==="paused"||A==="focused")return}else if(m==="blur"&&(A==="paused"||A==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.autoplaying="playing"},pause:function(m){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);var A=this.autoplaying;m==="paused"?this.autoplaying="paused":m==="focused"?(A==="hovered"||A==="playing")&&(this.autoplaying="focused"):A==="playing"&&(this.autoplaying="hovered")},onDotsOver:function(){this.autoplay&&this.pause("hovered")},onDotsLeave:function(){this.autoplay&&this.autoplaying==="hovered"&&this.autoPlay("leave")},onTrackOver:function(){this.autoplay&&this.pause("hovered")},onTrackLeave:function(){this.autoplay&&this.autoplaying==="hovered"&&this.autoPlay("leave")},onSlideFocus:function(){this.autoplay&&this.pause("focused")},onSlideBlur:function(){this.autoplay&&this.autoplaying==="focused"&&this.autoPlay("blur")},selectHandler:function(m){this.focusOnSelect&&this.changeSlide(m)}},render:function(){var m=arguments[0],A={"slick-slider":!0,"slick-initialized":!0,"slick-vertical":this.vertical},M=Ln(this.spec,St.TRACK);M=Ee(f({},M));var Q=this.pauseOnHover,z=Ee({mouseenter:Q?this.onTrackOver:void 0,mouseover:Q?this.onTrackOver:void 0,mouseleave:Q?this.onTrackLeave:void 0}),ne;if(this.dots===!0&&this.slideCount>=this.slidesToShow){var de=Ln(this.spec,St.DOT),fe=this.pauseOnDotsHover,Pe=Ee({mouseenter:fe?this.onDotsLeave:void 0,mouseover:fe?this.onDotsOver:void 0,mouseleave:fe?this.onDotsLeave:void 0});ne=m(Si,{props:f({},de),nativeOn:f({},Pe),on:{dotClicked:this.changeSlide}})}var He,We,$e=Ln(this.spec,St.ARROW);this.arrows&&(He=m(Cn,{props:f({},f({},$e,{type:"previous"})),on:{arrowClicked:this.changeSlide}}),We=m(Cn,{props:f({},f({},$e,{type:"next"})),on:{arrowClicked:this.changeSlide}}));var Ze={};this.vertical&&(Ze={height:"".concat(this.listHeight,"px")});var Qe={};this.vertical===!1?this.centerMode===!0&&(Qe={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(Qe={padding:this.centerPadding+" 0px"});var Fe=f({},this.$parent.$vnode.data.style);this.unslick||(Fe=f({},Fe,{},ft(Ze),{},Qe));var ze=this.accessibility,Xe=this.dragging,Re=this.touchMove,Lt=Ee({click:this.clickHandler,mousedown:Re?this.swipeStart:void 0,mousemove:Xe&&Re?this.swipeMove:void 0,mouseup:Re?this.swipeEnd:void 0,mouseleave:Xe&&Re?this.swipeEnd:void 0,touchstart:Re?this.swipeStart:void 0,touchmove:Xe&&Re?this.swipeMove:void 0,touchend:Re?this.swipeEnd:void 0,touchcancel:Xe&&Re?this.swipeEnd:void 0,keydown:ze?this.keyHandler:void 0});return m("div",{class:A,attrs:{dir:this.unslick?!1:"ltr"}},[this.unslick?"":He,m("div",{ref:"list",class:"slick-list",on:f({},Lt),style:Fe},[m(at,{ref:"track",props:f({},M),nativeOn:f({},z),on:{childClicked:this.selectHandler}},[this.$slots.default])]),this.unslick?"":We,this.unslick?"":ne])}},Li=zr;r("eaf9");var pn,wi,Ur=E(Li,pn,wi,!1,null,"3d1a4f76",null),Pn=Ur.exports,Wr=we()&&r("8e95"),Xn={name:"VueSlickCarousel",components:{InnerSlider:Pn},mixins:[O],inheritAttrs:!1,props:pt,data:function(){return{breakpoint:null}},computed:{settings:function(){var m=this,A=Ee(this.$props),M,Q;return this.breakpoint?(Q=this.responsive.filter(function(z){return z.breakpoint===m.breakpoint}),M=Q[0].settings==="unslick"?"unslick":f({},jt,{},A,{},Q[0].settings)):M=f({},jt,{},A),M.centerMode&&(M.slidesToScroll>1,M.slidesToScroll=1),M.fade&&(M.slidesToShow>1,M.slidesToScroll>1,M.slidesToShow=1,M.slidesToScroll=1),M.variableWidth&&(M.rows>1||M.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),M.variableWidth=!1),M}},created:function(){this.makeBreakpoints()},beforeDestroy:function(){this.clearBreakpoints()},methods:{prev:function(){this.$refs.innerSlider.prev()},next:function(){this.$refs.innerSlider.next()},goTo:function(m){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.$refs.innerSlider.goTo(m,A)},pause:function(){this.$refs.innerSlider.pause("paused")},play:function(){this.$refs.innerSlider.autoPlay("play")},onPropsUpdated:function(){this.clearBreakpoints(),this.makeBreakpoints()},clearBreakpoints:function(){this.responsiveMediaHandlers.forEach(function(m){return Wr.unregister(m.query,m.handler)}),this.responsiveMediaHandlers=[]},media:function(m,A){!we()||(Wr.register(m,A),this.responsiveMediaHandlers.push({query:m,handler:A}))},makeBreakpoints:function(){var m=this;if(this.breakpoint=null,this.responsiveMediaHandlers=[],this.responsive){var A=this.responsive.map(function(Q){return Q.breakpoint});A.sort(function(Q,z){return Q-z}),A.forEach(function(Q,z){var ne=g()({minWidth:z===0?0:A[z-1]+1,maxWidth:Q});m.media(ne,function(){m.breakpoint=Q})});var M=g()({minWidth:A.slice(-1)[0]});this.media(M,function(){m.breakpoint=null})}}},render:function(){var m=arguments[0],A=this.settings,M=this.$slots.default||[];if(A==="unslick")return m("div",{class:"regular slider"},[M]);A.prevArrow=this.$scopedSlots.prevArrow,A.nextArrow=this.$scopedSlots.nextArrow,A.customPaging=this.$scopedSlots.customPaging,M=M.filter(function($e){return!!$e.tag});for(var Q=[],z=null,ne=0;ne<M.length;ne+=A.rows*A.slidesPerRow){for(var de=[],fe=ne;fe<ne+A.rows*A.slidesPerRow;fe+=A.slidesPerRow){for(var Pe=[],He=fe;He<fe+A.slidesPerRow&&(A.variableWidth&&Ae(M[He])&&(z=Ae(M[He]).width),!(He>=M.length));He+=1){var We=Le(M[He]);ue(We,"key",100*ne+10*fe+He),W(We,"attrs",{tabIndex:-1}),W(We,"style",{width:"".concat(100/A.slidesPerRow,"%"),display:"inline-block"}),Pe.push(We)}de.push(m("div",{key:10*ne+fe},[Pe]))}A.variableWidth?Q.push(m("div",{key:ne,style:{width:z}},[de])):Q.push(m("div",{key:ne},[de]))}return Q.length<=A.slidesToShow&&(A.unslick=!0),m(Pn,{ref:"innerSlider",props:f({},A),key:Object.values(A).join("")},[Q])}},Ai=Xn,Ms,Is,ks=E(Ai,Ms,Is,!1,null,null,null),Ci=ks.exports;i.default=Ci},fb6a:function(t,i,r){var o=r("23e7"),l=r("861d"),d=r("e8b5"),f=r("23cb"),v=r("50c4"),g=r("fc6a"),y=r("8418"),S=r("b622"),E=r("1dde"),C=r("ae40"),D=E("slice"),x=C("slice",{ACCESSORS:!0,0:0,1:2}),O=S("species"),j=[].slice,U=Math.max;o({target:"Array",proto:!0,forced:!D||!x},{slice:function(re,se){var J=g(this),W=v(J.length),ue=f(re,W),me=f(se===void 0?W:se,W),X,be,Le;if(d(J)&&(X=J.constructor,typeof X=="function"&&(X===Array||d(X.prototype))?X=void 0:l(X)&&(X=X[O],X===null&&(X=void 0)),X===Array||X===void 0))return j.call(J,ue,me);for(be=new(X===void 0?Array:X)(U(me-ue,0)),Le=0;ue<me;ue++,Le++)ue in J&&y(be,Le,J[ue]);return be.length=Le,be}})},fc6a:function(t,i,r){var o=r("44ad"),l=r("1d80");t.exports=function(d){return o(l(d))}},fdb2:function(t,i,r){},fdbc:function(t,i){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,i,r){var o=r("4930");t.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(fu);const Ea=uu(fu.exports);function _t(n,e,t,i,r,o,l,d){var f=typeof n=="function"?n.options:n;e&&(f.render=e,f.staticRenderFns=t,f._compiled=!0),i&&(f.functional=!0),o&&(f._scopeId="data-v-"+o);var v;if(l?(v=function(S){S=S||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!S&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(S=__VUE_SSR_CONTEXT__),r&&r.call(this,S),S&&S._registeredComponents&&S._registeredComponents.add(l)},f._ssrRegister=v):r&&(v=d?function(){r.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:r),v)if(f.functional){f._injectStyles=v;var g=f.render;f.render=function(E,C){return v.call(C),g(E,C)}}else{var y=f.beforeCreate;f.beforeCreate=y?[].concat(y,v):[v]}return{exports:n,options:f}}const sh={components:{VueSlickCarousel:Ea},name:"ArticleCarousel",data:()=>({settings:{dots:!1,infinite:!1,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1200,settings:{slidesToShow:1}}]}})};var oh=function(){var e=this,t=e._self._c;return t("vue-slick-carousel",e._b({staticClass:"article-carousel"},"vue-slick-carousel",e.settings,!1),[e._t("default")],2)},ah=[],lh=_t(sh,oh,ah,!1,null,null,null,null);const ch=lh.exports,uh={components:{VueSlickCarousel:Ea},name:"HeaderCarousel",data:()=>({settings:{fade:!0,dots:!0}})};var dh=function(){var e=this,t=e._self._c;return t("div",{staticClass:"header-carousel mb-8 xl:mb-32"},[t("vue-slick-carousel",e._b({},"vue-slick-carousel",e.settings,!1),[e._t("default")],2)],1)},fh=[],hh=_t(uh,dh,fh,!1,null,null,null,null);const ph=hh.exports,vh={props:{name:{type:String,default:"Kalend\xE1\u0159"},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 gh=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\u0161\xED")])]):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\xFD 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)])},mh=[],yh=_t(vh,gh,mh,!1,null,null,null,null);const bh=yh.exports,ic=[{id:2,start:"2020-07-08T10:00:00.000Z",startTimestamp:new Date("2020-07-08T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 8. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-08T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",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\u011Bl\xED 13. \u010Dervence 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-13T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",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\u0159eda 15. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-15T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",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\u011Bl\xED 20. \u010Dervence 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-20T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",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\u0159eda 22. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-22T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",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\u011Bl\xED 27. \u010Dervence 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-27T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",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\u0159eda 29. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-29T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",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\u011Bl\xED 3. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-03T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",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\u0159eda 5. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-05T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MDVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],Sh=[{id:19,start:"2020-08-10T19:00:00.000Z",startTimestamp:new Date("2020-08-10T19:00:00.000Z").getTime(),startDateVerbose:"pond\u011Bl\xED 10. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-10T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",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\u0159eda 12. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-12T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MTJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],Eh={data:()=>({events:ic,hasMore:!0}),methods:{onShowMore(){this.$data.events=[...ic,...Sh],this.$data.hasMore=!1}},render(){return this.$scopedSlots.default({events:this.events,hasMore:this.hasMore,onShowMore:this.onShowMore})}},Lh=null,wh=null;var Ah=_t(Eh,Lh,wh,!1,null,null,null,null);const Ch=Ah.exports,Th=10,xh={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+=Th},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(),r=`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(r).then(l=>{if(!l.ok)throw new Error("Problem loading events from google");return l.json()}).then(l=>{this.events=l.items.map(d=>{const f=new Date(d.start.dateTime||d.start.date),v=new Date(d.end.dateTime||d.end.date),g=f.toLocaleDateString("cs-CZ",{weekday:"long",year:"numeric",month:"long",day:"numeric"}),y=f.getHours()+":"+f.getMinutes().toString().padStart(2,"0"),S=!d.start.dateTime;return{id:o++,start:f,startTimestamp:f.getTime(),startDateVerbose:g,startTimeVerbose:y,allDay:S,end:v,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})}},Dh=null,_h=null;var Rh=_t(xh,Dh,_h,!1,null,null,null,null);const Oh=Rh.exports;var As,Me,hu,Nr,lr,sc,pu,vu,cs={},gu=[],Mh=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Vn(n,e){for(var t in e)n[t]=e[t];return n}function mu(n){var e=n.parentNode;e&&e.removeChild(n)}function Z(n,e,t){var i,r,o,l={};for(o in e)o=="key"?i=e[o]:o=="ref"?r=e[o]:l[o]=e[o];if(arguments.length>2&&(l.children=arguments.length>3?As.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(o in n.defaultProps)l[o]===void 0&&(l[o]=n.defaultProps[o]);return ss(n,l,i,r,null)}function ss(n,e,t,i,r){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:r==null?++hu:r};return r==null&&Me.vnode!=null&&Me.vnode(o),o}function Mn(){return{current:null}}function wt(n){return n.children}function Ih(n,e,t,i,r){var o;for(o in t)o==="children"||o==="key"||o in e||us(n,o,null,t[o],i);for(o in e)r&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||t[o]===e[o]||us(n,o,e[o],t[o],i)}function oc(n,e,t){e[0]==="-"?n.setProperty(e,t==null?"":t):n[e]=t==null?"":typeof t!="number"||Mh.test(e)?t:t+"px"}function us(n,e,t,i,r){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||oc(n.style,e,"");if(t)for(e in t)i&&t[e]===i[e]||oc(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?lc:ac,o):n.removeEventListener(e,o?lc:ac,o);else if(e!=="dangerouslySetInnerHTML"){if(r)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(l){}typeof t=="function"||(t==null||t===!1&&e.indexOf("-")==-1?n.removeAttribute(e):n.setAttribute(e,t))}}function ac(n){Nr=!0;try{return this.l[n.type+!1](Me.event?Me.event(n):n)}finally{Nr=!1}}function lc(n){Nr=!0;try{return this.l[n.type+!0](Me.event?Me.event(n):n)}finally{Nr=!1}}function en(n,e){this.props=n,this.context=e}function oi(n,e){if(e==null)return n.__?oi(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"?oi(n):null}function yu(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 yu(n)}}function kh(n){Nr?setTimeout(n):pu(n)}function la(n){(!n.__d&&(n.__d=!0)&&lr.push(n)&&!ds.__r++||sc!==Me.debounceRendering)&&((sc=Me.debounceRendering)||kh)(ds)}function ds(){var n,e,t,i,r,o,l,d;for(lr.sort(function(f,v){return f.__v.__b-v.__v.__b});n=lr.shift();)n.__d&&(e=lr.length,i=void 0,r=void 0,l=(o=(t=n).__v).__e,(d=t.__P)&&(i=[],(r=Vn({},o)).__v=o.__v+1,La(d,o,r,t.__n,d.ownerSVGElement!==void 0,o.__h!=null?[l]:null,i,l==null?oi(o):l,o.__h),wu(i,o),o.__e!=l&&yu(o)),lr.length>e&&lr.sort(function(f,v){return f.__v.__b-v.__v.__b}));ds.__r=0}function bu(n,e,t,i,r,o,l,d,f,v){var g,y,S,E,C,D,x,O=i&&i.__k||gu,j=O.length;for(t.__k=[],g=0;g<e.length;g++)if((E=t.__k[g]=(E=e[g])==null||typeof E=="boolean"?null:typeof E=="string"||typeof E=="number"||typeof E=="bigint"?ss(null,E,null,null,E):Array.isArray(E)?ss(wt,{children:E},null,null,null):E.__b>0?ss(E.type,E.props,E.key,E.ref?E.ref:null,E.__v):E)!=null){if(E.__=t,E.__b=t.__b+1,(S=O[g])===null||S&&E.key==S.key&&E.type===S.type)O[g]=void 0;else for(y=0;y<j;y++){if((S=O[y])&&E.key==S.key&&E.type===S.type){O[y]=void 0;break}S=null}La(n,E,S=S||cs,r,o,l,d,f,v),C=E.__e,(y=E.ref)&&S.ref!=y&&(x||(x=[]),S.ref&&x.push(S.ref,null,E),x.push(y,E.__c||C,E)),C!=null?(D==null&&(D=C),typeof E.type=="function"&&E.__k===S.__k?E.__d=f=Su(E,f,n):f=Eu(n,E,S,O,C,f),typeof t.type=="function"&&(t.__d=f)):f&&S.__e==f&&f.parentNode!=n&&(f=oi(S))}for(t.__e=D,g=j;g--;)O[g]!=null&&(typeof t.type=="function"&&O[g].__e!=null&&O[g].__e==t.__d&&(t.__d=Lu(i).nextSibling),Cu(O[g],O[g]));if(x)for(g=0;g<x.length;g++)Au(x[g],x[++g],x[++g])}function Su(n,e,t){for(var i,r=n.__k,o=0;r&&o<r.length;o++)(i=r[o])&&(i.__=n,e=typeof i.type=="function"?Su(i,e,t):Eu(t,i,i,r,i.__e,e));return e}function fs(n,e){return e=e||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some(function(t){fs(t,e)}):e.push(n)),e}function Eu(n,e,t,i,r,o){var l,d,f;if(e.__d!==void 0)l=e.__d,e.__d=void 0;else if(t==null||r!=o||r.parentNode==null)e:if(o==null||o.parentNode!==n)n.appendChild(r),l=null;else{for(d=o,f=0;(d=d.nextSibling)&&f<i.length;f+=1)if(d==r)break e;n.insertBefore(r,o),l=o}return l!==void 0?l:r.nextSibling}function Lu(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=Lu(t)))return i}return null}function La(n,e,t,i,r,o,l,d,f){var v,g,y,S,E,C,D,x,O,j,U,Y,re,se,J,W=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]),(v=Me.__b)&&v(e);try{e:if(typeof W=="function"){if(x=e.props,O=(v=W.contextType)&&i[v.__c],j=v?O?O.props.value:v.__:i,t.__c?D=(g=e.__c=t.__c).__=g.__E:("prototype"in W&&W.prototype.render?e.__c=g=new W(x,j):(e.__c=g=new en(x,j),g.constructor=W,g.render=Nh),O&&O.sub(g),g.props=x,g.state||(g.state={}),g.context=j,g.__n=i,y=g.__d=!0,g.__h=[],g._sb=[]),g.__s==null&&(g.__s=g.state),W.getDerivedStateFromProps!=null&&(g.__s==g.state&&(g.__s=Vn({},g.__s)),Vn(g.__s,W.getDerivedStateFromProps(x,g.__s))),S=g.props,E=g.state,g.__v=e,y)W.getDerivedStateFromProps==null&&g.componentWillMount!=null&&g.componentWillMount(),g.componentDidMount!=null&&g.__h.push(g.componentDidMount);else{if(W.getDerivedStateFromProps==null&&x!==S&&g.componentWillReceiveProps!=null&&g.componentWillReceiveProps(x,j),!g.__e&&g.shouldComponentUpdate!=null&&g.shouldComponentUpdate(x,g.__s,j)===!1||e.__v===t.__v){for(e.__v!==t.__v&&(g.props=x,g.state=g.__s,g.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach(function(ue){ue&&(ue.__=e)}),U=0;U<g._sb.length;U++)g.__h.push(g._sb[U]);g._sb=[],g.__h.length&&l.push(g);break e}g.componentWillUpdate!=null&&g.componentWillUpdate(x,g.__s,j),g.componentDidUpdate!=null&&g.__h.push(function(){g.componentDidUpdate(S,E,C)})}if(g.context=j,g.props=x,g.__P=n,Y=Me.__r,re=0,"prototype"in W&&W.prototype.render){for(g.state=g.__s,g.__d=!1,Y&&Y(e),v=g.render(g.props,g.state,g.context),se=0;se<g._sb.length;se++)g.__h.push(g._sb[se]);g._sb=[]}else do g.__d=!1,Y&&Y(e),v=g.render(g.props,g.state,g.context),g.state=g.__s;while(g.__d&&++re<25);g.state=g.__s,g.getChildContext!=null&&(i=Vn(Vn({},i),g.getChildContext())),y||g.getSnapshotBeforeUpdate==null||(C=g.getSnapshotBeforeUpdate(S,E)),J=v!=null&&v.type===wt&&v.key==null?v.props.children:v,bu(n,Array.isArray(J)?J:[J],e,t,i,r,o,l,d,f),g.base=e.__e,e.__h=null,g.__h.length&&l.push(g),D&&(g.__E=g.__=null),g.__e=!1}else o==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=Ph(t.__e,e,t,i,r,o,l,f);(v=Me.diffed)&&v(e)}catch(ue){e.__v=null,(f||o!=null)&&(e.__e=d,e.__h=!!f,o[o.indexOf(d)]=null),Me.__e(ue,e,t)}}function wu(n,e){Me.__c&&Me.__c(e,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(i){i.call(t)})}catch(i){Me.__e(i,t.__v)}})}function Ph(n,e,t,i,r,o,l,d){var f,v,g,y=t.props,S=e.props,E=e.type,C=0;if(E==="svg"&&(r=!0),o!=null){for(;C<o.length;C++)if((f=o[C])&&"setAttribute"in f==!!E&&(E?f.localName===E:f.nodeType===3)){n=f,o[C]=null;break}}if(n==null){if(E===null)return document.createTextNode(S);n=r?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,S.is&&S),o=null,d=!1}if(E===null)y===S||d&&n.data===S||(n.data=S);else{if(o=o&&As.call(n.childNodes),v=(y=t.props||cs).dangerouslySetInnerHTML,g=S.dangerouslySetInnerHTML,!d){if(o!=null)for(y={},C=0;C<n.attributes.length;C++)y[n.attributes[C].name]=n.attributes[C].value;(g||v)&&(g&&(v&&g.__html==v.__html||g.__html===n.innerHTML)||(n.innerHTML=g&&g.__html||""))}if(Ih(n,S,y,r,d),g)e.__k=[];else if(C=e.props.children,bu(n,Array.isArray(C)?C:[C],e,t,i,r&&E!=="foreignObject",o,l,o?o[0]:t.__k&&oi(t,0),d),o!=null)for(C=o.length;C--;)o[C]!=null&&mu(o[C]);d||("value"in S&&(C=S.value)!==void 0&&(C!==n.value||E==="progress"&&!C||E==="option"&&C!==y.value)&&us(n,"value",C,y.value,!1),"checked"in S&&(C=S.checked)!==void 0&&C!==n.checked&&us(n,"checked",C,y.checked,!1))}return n}function Au(n,e,t){try{typeof n=="function"?n(e):n.current=e}catch(i){Me.__e(i,t)}}function Cu(n,e,t){var i,r;if(Me.unmount&&Me.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||Au(i,null,e)),(i=n.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){Me.__e(o,e)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&Cu(i[r],e,t||typeof n.type!="function");t||n.__e==null||mu(n.__e),n.__=n.__e=n.__d=void 0}function Nh(n,e,t){return this.constructor(n,t)}function ai(n,e,t){var i,r,o;Me.__&&Me.__(n,e),r=(i=typeof t=="function")?null:t&&t.__k||e.__k,o=[],La(e,n=(!i&&t||e).__k=Z(wt,null,[n]),r||cs,cs,e.ownerSVGElement!==void 0,!i&&t?[t]:r?null:e.firstChild?As.call(e.childNodes):null,o,!i&&t?t:r?r.__e:e.firstChild,i),wu(o,n)}function jh(n,e){var t={__c:e="__cC"+vu++,__:n,Consumer:function(i,r){return i.children(r)},Provider:function(i){var r,o;return this.getChildContext||(r=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&r.some(function(d){d.__e=!0,la(d)})},this.sub=function(l){r.push(l);var d=l.componentWillUnmount;l.componentWillUnmount=function(){r.splice(r.indexOf(l),1),d&&d.call(l)}}),i.children}};return t.Provider.__=t.Consumer.contextType=t}As=gu.slice,Me={__e:function(n,e,t,i){for(var r,o,l;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&o.getDerivedStateFromError!=null&&(r.setState(o.getDerivedStateFromError(n)),l=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(n,i||{}),l=r.__d),l)return r.__E=r}catch(d){n=d}throw n}},hu=0,Nr=!1,en.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Vn({},this.state),typeof n=="function"&&(n=n(Vn({},t),this.props)),n&&Vn(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),la(this))},en.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),la(this))},en.prototype.render=wt,lr=[],pu=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ds.__r=0,vu=0;var bn,Go,cc,Tu=[],Yo=[],uc=Me.__b,dc=Me.__r,fc=Me.diffed,hc=Me.__c,pc=Me.unmount;function Hh(){for(var n;n=Tu.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(os),n.__H.__h.forEach(ca),n.__H.__h=[]}catch(e){n.__H.__h=[],Me.__e(e,n.__v)}}Me.__b=function(n){bn=null,uc&&uc(n)},Me.__r=function(n){dc&&dc(n);var e=(bn=n.__c).__H;e&&(Go===bn?(e.__h=[],bn.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=Yo,t.__N=t.i=void 0})):(e.__h.forEach(os),e.__h.forEach(ca),e.__h=[])),Go=bn},Me.diffed=function(n){fc&&fc(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(Tu.push(e)!==1&&cc===Me.requestAnimationFrame||((cc=Me.requestAnimationFrame)||$h)(Hh)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==Yo&&(t.__=t.__V),t.i=void 0,t.__V=Yo})),Go=bn=null},Me.__c=function(n,e){e.some(function(t){try{t.__h.forEach(os),t.__h=t.__h.filter(function(i){return!i.__||ca(i)})}catch(i){e.some(function(r){r.__h&&(r.__h=[])}),e=[],Me.__e(i,t.__v)}}),hc&&hc(n,e)},Me.unmount=function(n){pc&&pc(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach(function(i){try{os(i)}catch(r){e=r}}),t.__H=void 0,e&&Me.__e(e,t.__v))};var vc=typeof requestAnimationFrame=="function";function $h(n){var e,t=function(){clearTimeout(i),vc&&cancelAnimationFrame(e),setTimeout(n)},i=setTimeout(t,100);vc&&(e=requestAnimationFrame(t))}function os(n){var e=bn,t=n.__c;typeof t=="function"&&(n.__c=void 0,t()),bn=e}function ca(n){var e=bn;n.__c=n.__(),bn=e}function Bh(n,e){for(var t in e)n[t]=e[t];return n}function gc(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 mc(n){this.props=n}(mc.prototype=new en).isPureReactComponent=!0,mc.prototype.shouldComponentUpdate=function(n,e){return gc(this.props,n)||gc(this.state,e)};var yc=Me.__b;Me.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),yc&&yc(n)};var Fh=Me.__e;Me.__e=function(n,e,t,i){if(n.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),r.__c(n,e)}Fh(n,e,t,i)};var bc=Me.unmount;function xu(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=Bh({},n)).__c!=null&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map(function(i){return xu(i,e,t)})),n}function Du(n,e,t){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(i){return Du(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 Zo(){this.__u=0,this.t=null,this.__b=null}function _u(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function Qi(){this.u=null,this.o=null}Me.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&n.__h===!0&&(n.type=null),bc&&bc(n)},(Zo.prototype=new en).__c=function(n,e){var t=e.__c,i=this;i.t==null&&(i.t=[]),i.t.push(t);var r=_u(i.__v),o=!1,l=function(){o||(o=!0,t.__R=null,r?r(d):d())};t.__R=l;var d=function(){if(!--i.__u){if(i.state.__a){var v=i.state.__a;i.__v.__k[0]=Du(v,v.__c.__P,v.__c.__O)}var g;for(i.setState({__a:i.__b=null});g=i.t.pop();)g.forceUpdate()}},f=e.__h===!0;i.__u++||f||i.setState({__a:i.__b=i.__v.__k[0]}),n.then(l,l)},Zo.prototype.componentWillUnmount=function(){this.t=[]},Zo.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]=xu(this.__b,t,i.__O=i.__P)}this.__b=null}var r=e.__a&&Z(wt,null,n.fallback);return r&&(r.__h=null),[Z(wt,null,e.__a?null:n.children),r]};var Sc=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 Vh(n){return this.getChildContext=function(){return n.context},n.children}function zh(n){var e=this,t=n.i;e.componentWillUnmount=function(){ai(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,r){this.childNodes.push(i),e.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),e.i.removeChild(i)}}),ai(Z(Vh,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function Uh(n,e){var t=Z(zh,{__v:n,i:e});return t.containerInfo=e,t}(Qi.prototype=new en).__a=function(n){var e=this,t=_u(e.__v),i=e.o.get(n);return i[0]++,function(r){var o=function(){e.props.revealOrder?(i.push(r),Sc(e,n,i)):r()};t?t(o):o()}},Qi.prototype.render=function(n){this.u=null,this.o=new Map;var e=fs(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},Qi.prototype.componentDidUpdate=Qi.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,t){Sc(n,t,e)})};var Wh=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Gh=/^(?: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]/,Yh=typeof document!="undefined",Zh=function(n){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};en.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(en.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var Ec=Me.event;function Qh(){}function Xh(){return this.cancelBubble}function Kh(){return this.defaultPrevented}Me.event=function(n){return Ec&&(n=Ec(n)),n.persist=Qh,n.isPropagationStopped=Xh,n.isDefaultPrevented=Kh,n.nativeEvent=n};var Lc={configurable:!0,get:function(){return this.class}},wc=Me.vnode;Me.vnode=function(n){var e=n.type,t=n.props,i=t;if(typeof e=="string"){var r=e.indexOf("-")===-1;for(var o in i={},t){var l=t[o];Yh&&o==="children"&&e==="noscript"||o==="value"&&"defaultValue"in t&&l==null||(o==="defaultValue"&&"value"in t&&t.value==null?o="value":o==="download"&&l===!0?l="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!Zh(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():r&&Gh.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():l===null&&(l=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),i[o]&&(o="oninputCapture")),i[o]=l)}e=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=fs(t.children).forEach(function(d){d.props.selected=i.value.indexOf(d.props.value)!=-1})),e=="select"&&i.defaultValue!=null&&(i.value=fs(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&&(Lc.enumerable="className"in t,t.className!=null&&(i.class=t.className),Object.defineProperty(i,"className",Lc))}n.$$typeof=Wh,wc&&wc(n)};var Ac=Me.__r;Me.__r=function(n){Ac&&Ac(n),n.__c};const Ru=[],ua=new Map,Cc=" fullcalendar styles ";typeof document!="undefined"&&Mu(document,document.head,document.head.querySelector("script,link,style"));function Ou(n){Ru.push(n),ua.forEach(e=>{Iu(n,e)})}function Jh(n){Mu(n.getRootNode())}function Mu(n,e=n,t=e.firstChild){if(!ua.has(n)){const i=document.createComment(Cc),r=document.createComment(` END${Cc}`);e.insertBefore(r,t),e.insertBefore(i,r),ua.set(n,r),qh(r)}}function qh(n){for(const e of Ru)Iu(e,n)}function Iu(n,e){const t=document.createElement("style"),i=ep();i&&(t.nonce=i),t.innerText=n,e.parentNode.insertBefore(t,e)}let Qo;function ep(){return Qo===void 0&&(Qo=tp()),Qo}function tp(){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||""}var np=':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::-moz-focus-inner{border-style:none;padding:0}.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)}';Ou(np);class wa{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 Aa(n){n.parentNode&&n.parentNode.removeChild(n)}function $t(n,e){if(n.closest)return n.closest(e);if(!document.documentElement.contains(n))return null;do{if(rp(n,e))return n;n=n.parentElement||n.parentNode}while(n!==null&&n.nodeType===1);return null}function rp(n,e){return(n.matches||n.matchesSelector||n.msMatchesSelector).call(n,e)}function ip(n,e){let t=n instanceof HTMLElement?[n]:n,i=[];for(let r=0;r<t.length;r+=1){let o=t[r].querySelectorAll(e);for(let l=0;l<o.length;l+=1)i.push(o[l])}return i}const sp=/(top|left|right|bottom|width|height)$/i;function ti(n,e){for(let t in e)ku(n,t,e[t])}function ku(n,e,t){t==null?n.style[e]="":typeof t=="number"&&sp.test(e)?n.style[e]=`${t}px`:n.style[e]=t}function Pu(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 Tc=0;function Cs(){return Tc+=1,"fc-dom-"+Tc}function Ts(n){n.preventDefault()}function op(n,e){return t=>{let i=$t(t.target,n);i&&e.call(i,t,i)}}function Nu(n,e,t,i){let r=op(t,i);return n.addEventListener(e,r),()=>{n.removeEventListener(e,r)}}function ap(n,e,t,i){let r;return Nu(n,"mouseover",e,(o,l)=>{if(l!==r){r=l,t(o,l);let d=f=>{r=null,i(f,l),l.removeEventListener("mouseleave",d)};l.addEventListener("mouseleave",d)}})}const xc=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function lp(n,e){let t=i=>{e(i),xc.forEach(r=>{n.removeEventListener(r,t)})};xc.forEach(i=>{n.addEventListener(i,t)})}function ju(n){return Object.assign({onClick:n},Hu(n))}function Hu(n){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(n(e),e.preventDefault())}}}let Dc=0;function vr(){return Dc+=1,String(Dc)}function Ca(){document.body.classList.add("fc-not-allowed")}function Ta(){document.body.classList.remove("fc-not-allowed")}function cp(n){n.style.userSelect="none",n.addEventListener("selectstart",Ts)}function up(n){n.style.userSelect="",n.removeEventListener("selectstart",Ts)}function dp(n){n.addEventListener("contextmenu",Ts)}function fp(n){n.removeEventListener("contextmenu",Ts)}function hp(n){let e=[],t=[],i,r;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)r=t[i],typeof r=="string"?e.push(r.charAt(0)==="-"?{field:r.substring(1),order:-1}:{field:r,order:1}):typeof r=="function"&&e.push({func:r});return e}function pp(n,e,t){let i,r;for(i=0;i<t.length;i+=1)if(r=vp(n,e,t[i]),r)return r;return 0}function vp(n,e,t){return t.func?t.func(n,e):gp(n[t.field],e[t.field])*(t.order||1)}function gp(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 Xo(n,e){let t=String(n);return"000".substr(0,e-t.length)+t}function ni(n,e,t){return typeof n=="function"?n(...e):typeof n=="string"?e.reduce((i,r,o)=>i.replace("$"+o,r||""),n):t}function mp(n,e){return n-e}function Ko(n){return n%1===0}function yp(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 bp=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function it(n,e){return typeof n=="string"?Sp(n):typeof n=="object"&&n?_c(n):typeof n=="number"?_c({[e||"milliseconds"]:n}):null}function Sp(n){let e=bp.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 _c(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 Ep(n,e){return n.years===e.years&&n.months===e.months&&n.days===e.days&&n.milliseconds===e.milliseconds}function Lp(n,e){return{years:n.years-e.years,months:n.months-e.months,days:n.days-e.days,milliseconds:n.milliseconds-e.milliseconds}}function wp(n){return kr(n)/365}function Ap(n){return kr(n)/30}function kr(n){return li(n)/864e5}function li(n){return n.years*(365*864e5)+n.months*(30*864e5)+n.days*864e5+n.milliseconds}function da(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 Gn(n,e,t){if(n===e)return!0;let i=n.length,r;if(i!==e.length)return!1;for(r=0;r<i;r+=1)if(!(t?t(n[r],e[r]):n[r]===e[r]))return!1;return!0}const Cp=["sun","mon","tue","wed","thu","fri","sat"];function Rc(n,e){let t=zn(n);return t[2]+=e*7,Zt(t)}function Bt(n,e){let t=zn(n);return t[2]+=e,Zt(t)}function Yn(n,e){let t=zn(n);return t[6]+=e,Zt(t)}function Tp(n,e){return $r(n,e)/7}function $r(n,e){return(e.valueOf()-n.valueOf())/(1e3*60*60*24)}function xp(n,e){return(e.valueOf()-n.valueOf())/(1e3*60*60)}function Dp(n,e){return(e.valueOf()-n.valueOf())/(1e3*60)}function _p(n,e){return(e.valueOf()-n.valueOf())/1e3}function Rp(n,e){let t=gt(n),i=gt(e);return{years:0,months:0,days:Math.round($r(t,i)),milliseconds:e.valueOf()-i.valueOf()-(n.valueOf()-t.valueOf())}}function Op(n,e){let t=hs(n,e);return t!==null&&t%7===0?t/7:null}function hs(n,e){return Un(n)===Un(e)?Math.round($r(n,e)):null}function gt(n){return Zt([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()])}function Mp(n){return Zt([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours()])}function Ip(n){return Zt([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes()])}function kp(n){return Zt([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()])}function Pp(n,e,t){let i=n.getUTCFullYear(),r=Jo(n,i,e,t);if(r<1)return Jo(n,i-1,e,t);let o=Jo(n,i+1,e,t);return o>=1?Math.min(r,o):r}function Jo(n,e,t,i){let r=Zt([e,0,1+Np(e,t,i)]),o=gt(n),l=Math.round($r(r,o));return Math.floor(l/7)+1}function Np(n,e,t){let i=7+e-t;return-((7+Zt([n,0,i]).getUTCDay()-e)%7)+i-1}function Oc(n){return[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()]}function Mc(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 zn(n){return[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()]}function Zt(n){return n.length===1&&(n=n.concat([0])),new Date(Date.UTC(...n))}function $u(n){return!isNaN(n.valueOf())}function Un(n){return n.getUTCHours()*1e3*60*60+n.getUTCMinutes()*1e3*60+n.getUTCSeconds()*1e3+n.getUTCMilliseconds()}function jp(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",Da(e,!0)))),i}function xa(n){return n.toISOString().replace(/T.*$/,"")}function Hp(n){return n.toISOString().match(/^\d{4}-\d{2}/)[0]}function Da(n,e=!1){let t=n<0?"-":"+",i=Math.abs(n),r=Math.floor(i/60),o=Math.round(i%60);return e?`${t+Xo(r,2)}:${Xo(o,2)}`:`GMT${t}${r}${o?`:${Xo(o,2)}`:""}`}function st(n,e,t){let i,r;return function(...o){if(!i)r=n.apply(this,o);else if(!Gn(i,o)){t&&t(r);let l=n.apply(this,o);(!e||!e(l,r))&&(r=l)}return i=o,r}}function as(n,e,t){let i,r;return o=>{if(!i)r=n.call(this,o);else if(!En(i,o)){t&&t(r);let l=n.call(this,o);(!e||!e(l,r))&&(r=l)}return i=o,r}}const Ic={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},ps={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Xi=/\s*([ap])\.?m\.?/i,$p=/,/g,Bp=/\s+/g,Fp=/\u200e/g,Vp=/UTC|GMT/;class zp{constructor(e){let t={},i={},r=0;for(let o in e)o in Ic?(i[o]=e[o],r=Math.max(Ic[o],r)):(t[o]=e[o],o in ps&&(r=Math.max(ps[o],r)));this.standardDateProps=t,this.extendedSettings=i,this.severity=r,this.buildFormattingFunc=st(kc)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,i,r){let{standardDateProps:o,extendedSettings:l}=this,d=Qp(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 v=this.format(e,i),g=this.format(t,i);if(v===g)return v;let y=Xp(o,f),S=kc(y,l,i),E=S(e),C=S(t),D=Kp(v,E,g,C),x=l.separator||r||i.defaultSeparator||"";return D?D.before+E+x+C+D.after:v+x+g}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 kc(n,e,t){let i=Object.keys(n).length;return i===1&&n.timeZoneName==="short"?r=>Da(r.timeZoneOffset):i===0&&e.week?r=>Zp(t.computeWeekNumber(r.marker),t.weekText,t.weekTextLong,t.locale,e.week):Up(n,e,t)}function Up(n,e,t){n=Object.assign({},n),e=Object.assign({},e),Wp(n,e),n.timeZone="UTC";let i=new Intl.DateTimeFormat(t.locale.codes,n),r;if(e.omitZeroMinute){let o=Object.assign({},n);delete o.minute,r=new Intl.DateTimeFormat(t.locale.codes,o)}return o=>{let{marker:l}=o,d;r&&!l.getUTCMinutes()?d=r:d=i;let f=d.format(l);return Gp(f,o,n,e,t)}}function Wp(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 Gp(n,e,t,i,r){return n=n.replace(Fp,""),t.timeZoneName==="short"&&(n=Yp(n,r.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":Da(e.timeZoneOffset))),i.omitCommas&&(n=n.replace($p,"").trim()),i.omitZeroMinute&&(n=n.replace(":00","")),i.meridiem===!1?n=n.replace(Xi,"").trim():i.meridiem==="narrow"?n=n.replace(Xi,(o,l)=>l.toLocaleLowerCase()):i.meridiem==="short"?n=n.replace(Xi,(o,l)=>`${l.toLocaleLowerCase()}m`):i.meridiem==="lowercase"&&(n=n.replace(Xi,o=>o.toLocaleLowerCase())),n=n.replace(Bp," "),n=n.trim(),n}function Yp(n,e){let t=!1;return n=n.replace(Vp,()=>(t=!0,e)),t||(n+=` ${e}`),n}function Zp(n,e,t,i,r){let o=[];return r==="long"?o.push(t):(r==="short"||r==="narrow")&&o.push(e),(r==="long"||r==="short")&&o.push(" "),o.push(i.simpleNumberFormat.format(n)),i.options.direction==="rtl"&&o.reverse(),o.join("")}function Qp(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:Un(n)!==Un(e)?1:0}function Xp(n,e){let t={};for(let i in n)(!(i in ps)||ps[i]<=e)&&(t[i]=n[i]);return t}function Kp(n,e,t,i){let r=0;for(;r<n.length;){let o=n.indexOf(e,r);if(o===-1)break;let l=n.substr(0,o);r=o+e.length;let d=n.substr(r),f=0;for(;f<t.length;){let v=t.indexOf(i,f);if(v===-1)break;let g=t.substr(0,v);f=v+i.length;let y=t.substr(f);if(l===g&&d===y)return{before:l,after:d}}}return null}function Pc(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 vs(n,e,t,i){let r=Pc(n,t.calendarSystem),o=e?Pc(e,t.calendarSystem):null;return{date:r,start:r,end:o,timeZone:t.timeZone,localeCodes:t.locale.codes,defaultSeparator:i||t.defaultSeparator}}class Jp{constructor(e){this.cmdStr=e}format(e,t,i){return t.cmdFormatter(this.cmdStr,vs(e,null,t,i))}formatRange(e,t,i,r){return i.cmdFormatter(this.cmdStr,vs(e,t,i,r))}}class qp{constructor(e){this.func=e}format(e,t,i){return this.func(vs(e,null,t,i))}formatRange(e,t,i,r){return this.func(vs(e,t,i,r))}}function Mt(n){return typeof n=="object"&&n?new zp(n):typeof n=="string"?new Jp(n):typeof n=="function"?new qp(n):null}const Nc={navLinkDayClick:G,navLinkWeekClick:G,duration:it,bootstrapFontAwesome:G,buttonIcons:G,customButtons:G,defaultAllDayEventDuration:it,defaultTimedEventDuration:it,nextDayThreshold:it,scrollTime:it,scrollTimeReset:Boolean,slotMinTime:it,slotMaxTime:it,dayPopoverFormat:Mt,slotDuration:it,snapDuration:it,headerToolbar:G,footerToolbar:G,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Mt,dayHeaderClassNames:G,dayHeaderContent:G,dayHeaderDidMount:G,dayHeaderWillUnmount:G,dayCellClassNames:G,dayCellContent:G,dayCellDidMount:G,dayCellWillUnmount:G,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:G,weekNumbers:Boolean,weekNumberClassNames:G,weekNumberContent:G,weekNumberDidMount:G,weekNumberWillUnmount:G,editable:Boolean,viewClassNames:G,viewDidMount:G,viewWillUnmount:G,nowIndicator:Boolean,nowIndicatorClassNames:G,nowIndicatorContent:G,nowIndicatorDidMount:G,nowIndicatorWillUnmount:G,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:G,locale:G,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:G,eventOrder:hp,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:G,contentHeight:G,direction:String,weekNumberFormat:Mt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:G,initialDate:G,now:G,eventDataTransform:G,stickyHeaderDates:G,stickyFooterScrollbar:G,viewHeight:G,defaultAllDay:Boolean,eventSourceFailure:G,eventSourceSuccess:G,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:G,eventConstraint:G,eventAllow:G,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:G,eventContent:G,eventDidMount:G,eventWillUnmount:G,selectConstraint:G,selectOverlap:G,selectAllow:G,droppable:Boolean,unselectCancel:String,slotLabelFormat:G,slotLaneClassNames:G,slotLaneContent:G,slotLaneDidMount:G,slotLaneWillUnmount:G,slotLabelClassNames:G,slotLabelContent:G,slotLabelDidMount:G,slotLabelWillUnmount:G,dayMaxEvents:G,dayMaxEventRows:G,dayMinWidth:Number,slotLabelInterval:it,allDayText:String,allDayClassNames:G,allDayContent:G,allDayDidMount:G,allDayWillUnmount:G,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Mt,rerenderDelay:Number,moreLinkText:G,moreLinkHint:G,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:G,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:it,hiddenDays:G,fixedWeekCount:Boolean,validRange:G,visibleRange:G,titleFormat:G,eventInteractive:Boolean,noEventsText:String,viewHint:G,navLinkHint:G,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:G,moreLinkClassNames:G,moreLinkContent:G,moreLinkDidMount:G,moreLinkWillUnmount:G,monthStartFormat:Mt,handleCustomRendering:G,customRenderingMetaMap:G,customRenderingReplacesEl:Boolean},ri={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",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"}},jc={datesSet:G,eventsSet:G,eventAdd:G,eventChange:G,eventRemove:G,windowResize:G,eventClick:G,eventMouseEnter:G,eventMouseLeave:G,select:G,unselect:G,loading:G,_unmount:G,_beforeprint:G,_afterprint:G,_noEventDrop:G,_noEventResize:G,_resize:G,_scrollRequest:G},Hc={buttonText:G,buttonHints:G,views:G,plugins:G,initialEvents:G,events:G,eventSources:G},or={headerToolbar:ar,footerToolbar:ar,buttonText:ar,buttonHints:ar,buttonIcons:ar,dateIncrement:ar,plugins:Ki,events:Ki,eventSources:Ki,resources:Ki};function ar(n,e){return typeof n=="object"&&typeof e=="object"&&n&&e?En(n,e):n===e}function Ki(n,e){return Array.isArray(n)&&Array.isArray(e)?Gn(n,e):n===e}const ev={type:String,component:G,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:G,usesMinMaxTime:Boolean,classNames:G,content:G,didMount:G,willUnmount:G};function qo(n){return Ra(n,or)}function _a(n,e){let t={},i={};for(let r in e)r in n&&(t[r]=e[r](n[r]));for(let r in n)r in e||(i[r]=n[r]);return{refined:t,extra:i}}function G(n){return n}const{hasOwnProperty:gs}=Object.prototype;function Ra(n,e){let t={};if(e){for(let i in e)if(e[i]===ar){let r=[];for(let o=n.length-1;o>=0;o-=1){let l=n[o][i];if(typeof l=="object"&&l)r.unshift(l);else if(l!==void 0){t[i]=l;break}}r.length&&(t[i]=Ra(r))}}for(let i=n.length-1;i>=0;i-=1){let r=n[i];for(let o in r)o in t||(t[o]=r[o])}return t}function hr(n,e){let t={};for(let i in n)e(n[i],i)&&(t[i]=n[i]);return t}function gr(n,e){let t={};for(let i in n)t[i]=e(n[i],i);return t}function Bu(n){let e={};for(let t of n)e[t]=!0;return e}function Oa(n){let e=[];for(let t in n)e.push(n[t]);return e}function En(n,e){if(n===e)return!0;for(let t in n)if(gs.call(n,t)&&!(t in e))return!1;for(let t in e)if(gs.call(e,t)&&n[t]!==e[t])return!1;return!0}const tv=/^on[A-Z]/;function nv(n,e){const t=fa(n,e);for(let i of t)if(!tv.test(i))return!1;return!0}function fa(n,e){let t=[];for(let i in n)gs.call(n,i)&&(i in e||t.push(i));for(let i in e)gs.call(e,i)&&n[i]!==e[i]&&t.push(i);return t}function ea(n,e,t={}){if(n===e)return!0;for(let i in e)if(!(i in n&&rv(n[i],e[i],t[i])))return!1;for(let i in n)if(!(i in e))return!1;return!0}function rv(n,e,t){return n===e||t===!0?!0:t?t(n,e):!1}function iv(n,e=0,t,i=1){let r=[];t==null&&(t=Object.keys(n).length);for(let o=e;o<t;o+=i){let l=n[o];l!==void 0&&r.push(l)}return r}let Fu={};function sv(n,e){Fu[n]=e}function ov(n){return new Fu[n]}class av{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return Zt(e)}markerToArray(e){return zn(e)}}sv("gregory",av);const lv=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function cv(n){let e=lv.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]?Number(`0.${e[12]}`)*1e3:0));if($u(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 uv{constructor(e){let t=this.timeZone=e.timeZone,i=t!=="local"&&t!=="UTC";e.namedTimeZoneImpl&&i&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!i||this.namedTimeZoneImpl),this.calendarSystem=ov(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()):Zt(Oc(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=Zt(e)),t===null||!$u(t)?null:{marker:t,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let t=cv(e);if(t===null)return null;let{marker:i}=t,r=null;return t.timeZoneOffset!==null&&(this.canComputeOffset?i=this.timestampToMarker(i.valueOf()-t.timeZoneOffset*60*1e3):r=t.timeZoneOffset),{marker:i,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}}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 Un(e)===Un(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 Un(e)===Un(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=Op(e,t),i!==null?{unit:"week",value:i}:(i=hs(e,t),i!==null?{unit:"day",value:i}:(i=xp(e,t),Ko(i)?{unit:"hour",value:i}:(i=Dp(e,t),Ko(i)?{unit:"minute",value:i}:(i=_p(e,t),Ko(i)?{unit:"second",value:i}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,i){let r;return i.years&&(r=this.diffWholeYears(e,t),r!==null)?r/wp(i):i.months&&(r=this.diffWholeMonths(e,t),r!==null)?r/Ap(i):i.days&&(r=hs(e,t),r!==null)?r/kr(i):(t.valueOf()-e.valueOf())/li(i)}startOf(e,t){return t==="year"?this.startOfYear(e):t==="month"?this.startOfMonth(e):t==="week"?this.startOfWeek(e):t==="day"?gt(e):t==="hour"?Mp(e):t==="minute"?Ip(e):t==="second"?kp(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)):Pp(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,r={}){return r.isEndExclusive&&(t=Yn(t,-1)),i.formatRange({marker:e,timeZoneOffset:r.forcedStartTzo!=null?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:r.forcedEndTzo!=null?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)}formatIso(e,t={}){let i=null;return t.omitTimeZoneOffset||(t.forcedTzo!=null?i=t.forcedTzo:i=this.offsetForMarker(e)),jp(e,i,t.omitTime)}timestampToMarker(e){return this.timeZone==="local"?Zt(Oc(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):Zt(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-Mc(zn(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(zn(e)):null}toDate(e,t){return this.timeZone==="local"?Mc(zn(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(zn(e))*1e3*60):new Date(e.valueOf()-(t||0))}}class ui{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)}`:""}}ui.prototype.classes={};ui.prototype.iconClasses={};ui.prototype.baseIconClass="";ui.prototype.iconOverridePrefix="";function $c(n){n();let e=Me.debounceRendering,t=[];function i(r){t.push(r)}for(Me.debounceRendering=i,ai(Z(dv,{}),document.createElement("div"));t.length;)t.shift()();Me.debounceRendering=e}class dv extends en{render(){return Z("div",{})}componentDidMount(){this.setState({})}}function Vu(n){let e=jh(n),t=e.Provider;return e.Provider=function(){let i=!this.getChildContext,r=t.apply(this,arguments);if(i){let o=[];this.shouldComponentUpdate=l=>{this.props.value!==l.value&&o.forEach(d=>{d.context=l.value,d.forceUpdate()})},this.sub=l=>{o.push(l);let d=l.componentWillUnmount;l.componentWillUnmount=()=>{o.splice(o.indexOf(l),1),d&&d.call(l)}}}return r},e}class fv{constructor(e,t,i,r){this.execFunc=e,this.emitter=t,this.scrollTime=i,this.scrollTimeReset=r,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 mr=Vu({});function hv(n,e,t,i,r,o,l,d,f,v,g,y,S){return{dateEnv:r,options:t,pluginHooks:l,emitter:v,dispatch:d,getCurrentData:f,calendarApi:g,viewSpec:n,viewApi:e,dateProfileGenerator:i,theme:o,isRtl:t.direction==="rtl",addResizeHandler(E){v.on("_resize",E)},removeResizeHandler(E){v.off("_resize",E)},createScrollResponder(E){return new fv(E,v,it(t.scrollTime),t.scrollTimeReset)},registerInteractiveComponent:y,unregisterInteractiveComponent:S}}class yr extends en{shouldComponentUpdate(e,t){return this.debug&&console.log(fa(e,this.props),fa(t,this.state)),!ea(this.props,e,this.propEquality)||!ea(this.state,t,this.stateEquality)}safeSetState(e){ea(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}yr.addPropsEquality=pv;yr.addStateEquality=vv;yr.contextType=mr;yr.prototype.propEquality={};yr.prototype.stateEquality={};class Et extends yr{}Et.contextType=mr;function pv(n){let e=Object.create(this.prototype.propEquality);Object.assign(e,n),this.prototype.propEquality=e}function vv(n){let e=Object.create(this.prototype.stateEquality);Object.assign(e,n),this.prototype.stateEquality=e}function In(n,e){typeof n=="function"?n(e):n&&(n.current=e)}class Ma extends Et{constructor(){super(...arguments),this.id=vr(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{this.props.elRef&&In(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:i}=t,{customGenerator:r,defaultGenerator:o,renderProps:l}=e,d=Uu(e);let f=!1,v,g=[],y;if(r!=null){const S=typeof r=="function"?r(l,Z):r;if(S===!0)f=!0;else{const E=S&&typeof S=="object";E&&"html"in S?d.dangerouslySetInnerHTML={__html:S.html}:E&&"domNodes"in S?g=Array.prototype.slice.call(S.domNodes):!E&&typeof S!="function"?v=S:y=S}}else f=!zu(e.generatorName,i);return f&&o&&(v=o(l)),this.queuedDomNodes=g,this.currentGeneratorMeta=y,Z(e.elTag,d,v)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:i,context:r}=this,{handleCustomRendering:o,customRenderingMetaMap:l}=r.options;if(o){const d=(t=this.currentGeneratorMeta)!==null&&t!==void 0?t:l==null?void 0:l[i.generatorName];d&&o(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.handleEl,generatorMeta:d},i),{elClasses:(i.elClasses||[]).filter(gv)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,i=this.base;if(!Gn(e,t)){t.forEach(Aa);for(let r of e)i.appendChild(r);this.currentDomNodes=e}}}Ma.addPropsEquality({elClasses:Gn,elStyle:En,elAttrs:nv,renderProps:En});function zu(n,e){var t;return Boolean(e.handleCustomRendering&&n&&((t=e.customRenderingMetaMap)===null||t===void 0?void 0:t[n]))}function Uu(n,e){const t=Object.assign(Object.assign({},n.elAttrs),{ref:n.elRef});return(n.elClasses||e)&&(t.className=(n.elClasses||[]).concat(e||[]).concat(t.className||[]).filter(Boolean).join(" ")),n.elStyle&&(t.style=n.elStyle),t}function gv(n){return Boolean(n)}const Wu=Vu(0);class kn extends en{constructor(){super(...arguments),this.InnerContent=mv.bind(void 0,this),this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&In(this.props.elRef,e)}}render(){const{props:e}=this,t=yv(e.classNameGenerator,e.renderProps);if(e.children){const i=Uu(e,t),r=e.children(this.InnerContent,e.renderProps,i);return e.elTag?Z(e.elTag,i,r):r}else return Z(Ma,Object.assign(Object.assign({},e),{elRef:this.handleRootEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;(t=(e=this.props).didMount)===null||t===void 0||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}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.rootEl||this.base}))}}kn.contextType=Wu;function mv(n,e){const t=n.props;return Z(Ma,Object.assign({renderProps:t.renderProps,generatorName:t.generatorName,customGenerator:t.customGenerator,defaultGenerator:t.defaultGenerator,renderId:n.context},e))}function yv(n,e){const t=typeof n=="function"?n(e):n||[];return typeof t=="string"?[t]:t}class Bc extends Et{render(){let{props:e,context:t}=this,{options:i}=t,r={view:t.viewApi};return Z(kn,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Gu(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:i.viewClassNames,generatorName:void 0,didMount:i.viewDidMount,willUnmount:i.viewWillUnmount}),()=>e.children)}}function Gu(n){return[`fc-${n.type}-view`,"fc-view"]}function bv(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 Fc(n,e){let t=[],{start:i}=e,r,o;for(n.sort(Sv),r=0;r<n.length;r+=1)o=n[r],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 Sv(n,e){return n.start.valueOf()-e.start.valueOf()}function jr(n,e){let{start:t,end:i}=n,r=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)&&(r={start:t,end:i}),r}function Ev(n,e){return(n.start===null?null:n.start.valueOf())===(e.start===null?null:e.start.valueOf())&&(n.end===null?null:n.end.valueOf())===(e.end===null?null:e.end.valueOf())}function Ia(n,e){return(n.end===null||e.start===null||n.end>e.start)&&(n.start===null||e.end===null||n.start<e.end)}function xs(n,e){return(n.start===null||e.start!==null&&e.start>=n.start)&&(n.end===null||e.end!==null&&e.end<=n.end)}function Wn(n,e){return(n.start===null||e>=n.start)&&(n.end===null||e<n.end)}function Lv(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 Yu(n){let e=Math.floor($r(n.start,n.end))||1,t=gt(n.start),i=Bt(t,e);return{start:t,end:i}}function Zu(n,e=it(0)){let t=null,i=null;if(n.end){i=gt(n.end);let r=n.end.valueOf()-i.valueOf();r&&r>=li(e)&&(i=Bt(i,1))}return n.start&&(t=gt(n.start),i&&i<=t&&(i=Bt(t,1))),{start:t,end:i}}function Ir(n,e,t,i){return i==="year"?it(t.diffWholeYears(n,e),"year"):i==="month"?it(t.diffWholeMonths(n,e),"month"):Rp(n,e)}function wv(n,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return n}}function Av(n,e){let t=n.initialDate;return t!=null?e.createMarker(t):di(n.now,e)}function di(n,e){return typeof n=="function"&&(n=n()),n==null?e.createNowMarker():e.createMarker(n)}class Qu{constructor(e){this.props=e,this.nowDate=di(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,i){let{dateEnv:r}=this.props,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,i)}buildNext(e,t,i){let{dateEnv:r}=this.props,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,i)}build(e,t,i=!0){let{props:r}=this,o,l,d,f,v,g;return o=this.buildValidRange(),o=this.trimHiddenDays(o),i&&(e=Lv(e,o)),l=this.buildCurrentRangeInfo(e,t),d=/^(year|month|week|day)$/.test(l.unit),f=this.buildRenderRange(this.trimHiddenDays(l.range),l.unit,d),f=this.trimHiddenDays(f),v=f,r.showNonCurrentDates||(v=jr(v,l.range)),v=this.adjustActiveRange(v),v=jr(v,o),g=Ia(l.range,o),Wn(f,e)||(e=f.start),{currentDate:e,validRange:o,currentRange:l.range,currentRangeUnit:l.unit,isRangeAllDay:d,activeRange:v,renderRange:f,slotMinTime:r.slotMinTime,slotMaxTime:r.slotMaxTime,isValid:g,dateIncrement:this.buildDateIncrement(l.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,r=null,o=null,l=null,d;return i.duration?(r=i.duration,o=i.durationUnit,l=this.buildRangeFromDuration(e,t,r,o)):(d=this.props.dayCount)?(o="day",l=this.buildRangeFromDayCount(e,t,d)):(l=this.buildCustomVisibleRange(e))?o=i.dateEnv.greatestWholeUnit(l.start,l.end).unit:(r=this.getFallbackDuration(),o=da(r).unit,l=this.buildRangeFromDuration(e,t,r,o)),{duration:r,unit:o,range:l}}getFallbackDuration(){return it({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:i,slotMinTime:r,slotMaxTime:o}=this.props,{start:l,end:d}=e;return i&&(kr(r)<0&&(l=gt(l),l=t.add(l,r)),kr(o)>1&&(d=gt(d),d=Bt(d,-1),d=t.add(d,o))),{start:l,end:d}}buildRangeFromDuration(e,t,i,r){let{dateEnv:o,dateAlignment:l}=this.props,d,f,v;if(!l){let{dateIncrement:y}=this.props;y&&li(y)<li(i)?l=da(y).unit:l=r}kr(i)<=1&&this.isHiddenDay(d)&&(d=this.skipHiddenDays(d,t),d=gt(d));function g(){d=o.startOf(e,l),f=o.add(d,i),v={start:d,end:f}}return g(),this.trimHiddenDays(v)||(e=this.skipHiddenDays(e,t),g()),v}buildRangeFromDayCount(e,t,i){let{dateEnv:r,dateAlignment:o}=this.props,l=0,d=e,f;o&&(d=r.startOf(d,o)),d=gt(d),d=this.skipHiddenDays(d,t),f=d;do f=Bt(f,1),this.isHiddenDay(f)||(l+=1);while(l<i);return{start:d,end:f}}buildCustomVisibleRange(e){let{props:t}=this,i=t.visibleRangeInput,r=typeof i=="function"?i.call(t.calendarApi,t.dateEnv.toDate(e)):i,o=this.refineRange(r);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)?it(1,i):e||it({days:1}))}refineRange(e){if(e){let t=bv(e,this.props.dateEnv);return t&&(t=Zu(t)),t}return null}initHiddenDays(){let e=this.props.hiddenDays||[],t=[],i=0,r;for(this.props.weekends===!1&&e.push(0,6),r=0;r<7;r+=1)(t[r]=e.indexOf(r)!==-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=Bt(e,t);return e}}function ka(n,e,t,i){return{instanceId:vr(),defId:n,range:e,forcedStartTzo:t==null?null:t,forcedEndTzo:i==null?null:i}}function Cv(n,e,t,i){for(let r=0;r<i.length;r+=1){let o=i[r].parse(n,t);if(o){let{allDay:l}=n;return l==null&&(l=e,l==null&&(l=o.allDayGuess,l==null&&(l=!1))),{allDay:l,duration:o.duration,typeData:o.typeData,typeId:r}}}return null}function pr(n,e,t){let{dateEnv:i,pluginHooks:r,options:o}=t,{defs:l,instances:d}=n;d=hr(d,f=>!l[f.defId].recurringDef);for(let f in l){let v=l[f];if(v.recurringDef){let{duration:g}=v.recurringDef;g||(g=v.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);let y=Tv(v,g,e,i,r.recurringTypes);for(let S of y){let E=ka(f,{start:S,end:i.add(S,g)});d[E.instanceId]=E}}}return{defs:l,instances:d}}function Tv(n,e,t,i,r){let l=r[n.recurringDef.typeId].expand(n.recurringDef.typeData,{start:i.subtract(t.start,e),end:t.end},i);return n.allDay&&(l=l.map(gt)),l}const ls={id:String,groupId:String,title:String,url:String,interactive:Boolean},Xu={start:G,end:G,date:G,allDay:Boolean},xv=Object.assign(Object.assign(Object.assign({},ls),Xu),{extendedProps:G});function Ku(n,e,t,i,r=Pa(t),o,l){let{refined:d,extra:f}=Ju(n,t,r),v=_v(e,t),g=Cv(d,v,t.dateEnv,t.pluginHooks.recurringTypes);if(g){let S=ha(d,f,e?e.sourceId:"",g.allDay,Boolean(g.duration),t,o);return S.recurringDef={typeId:g.typeId,typeData:g.typeData,duration:g.duration},{def:S,instance:null}}let y=Dv(d,v,t,i);if(y){let S=ha(d,f,e?e.sourceId:"",y.allDay,y.hasEnd,t,o),E=ka(S.defId,y.range,y.forcedStartTzo,y.forcedEndTzo);return l&&S.publicId&&l[S.publicId]&&(E.instanceId=l[S.publicId]),{def:S,instance:E}}return null}function Ju(n,e,t=Pa(e)){return _a(n,t)}function Pa(n){return Object.assign(Object.assign(Object.assign({},ms),xv),n.pluginHooks.eventRefiners)}function ha(n,e,t,i,r,o,l){let d={title:n.title||"",groupId:n.groupId||"",publicId:n.id||"",url:n.url||"",recurringDef:null,defId:(l&&n.id?l[n.id]:"")||vr(),sourceId:t,allDay:i,hasEnd:r,interactive:n.interactive,ui:ys(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 Dv(n,e,t,i){let{allDay:r}=n,o,l=null,d=!1,f,v=null,g=n.start!=null?n.start:n.date;if(o=t.dateEnv.createMarkerMeta(g),o)l=o.marker;else if(!i)return null;return n.end!=null&&(f=t.dateEnv.createMarkerMeta(n.end)),r==null&&(e!=null?r=e:r=(!o||o.isTimeUnspecified)&&(!f||f.isTimeUnspecified)),r&&l&&(l=gt(l)),f&&(v=f.marker,r&&(v=gt(v)),l&&v<=l&&(v=null)),v?d=!0:i||(d=t.options.forceEventDuration||!1,v=t.dateEnv.add(l,r?t.options.defaultAllDayEventDuration:t.options.defaultTimedEventDuration)),{allDay:r,hasEnd:d,range:{start:l,end:v},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:f?f.forcedTzo:null}}function _v(n,e){let t=null;return n&&(t=n.defaultAllDay),t==null&&(t=e.options.defaultAllDay),t}function ci(n,e,t,i,r,o){let l=cn(),d=Pa(t);for(let f of n){let v=Ku(f,e,t,i,d,r,o);v&&pa(v,l)}return l}function pa(n,e=cn()){return e.defs[n.def.defId]=n.def,n.instance&&(e.instances[n.instance.instanceId]=n.instance),e}function Na(n,e){let t=n.instances[e];if(t){let i=n.defs[t.defId],r=Ds(n,o=>Rv(i,o));return r.defs[i.defId]=i,r.instances[t.instanceId]=t,r}return cn()}function Rv(n,e){return Boolean(n.groupId&&n.groupId===e.groupId)}function cn(){return{defs:{},instances:{}}}function ja(n,e){return{defs:Object.assign(Object.assign({},n.defs),e.defs),instances:Object.assign(Object.assign({},n.instances),e.instances)}}function Ds(n,e){let t=hr(n.defs,e),i=hr(n.instances,r=>t[r.defId]);return{defs:t,instances:i}}function Ov(n,e){let{defs:t,instances:i}=n,r={},o={};for(let l in t)e.defs[l]||(r[l]=t[l]);for(let l in i)!e.instances[l]&&r[i[l].defId]&&(o[l]=i[l]);return{defs:r,instances:o}}function Mv(n,e){return Array.isArray(n)?ci(n,null,e,!0):typeof n=="object"&&n?ci([n],null,e,!0):n!=null?String(n):null}function Vc(n){return Array.isArray(n)?n:typeof n=="string"?n.split(/\s+/):[]}const ms={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:G,overlap:G,allow:G,className:Vc,classNames:Vc,color:String,backgroundColor:String,borderColor:String,textColor:String},Iv={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function ys(n,e){let t=Mv(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 kv(n){return n.reduce(Pv,Iv)}function Pv(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 Nv={id:String,defaultAllDay:Boolean,url:String,format:String,events:G,eventDataTransform:G,success:G,failure:G};function qu(n,e,t=ed(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:r,extra:o}=_a(i,t),l=jv(r,e);if(l)return{_raw:n,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:r.defaultAllDay,eventDataTransform:r.eventDataTransform,success:r.success,failure:r.failure,publicId:r.id||"",sourceId:vr(),sourceDefId:l.sourceDefId,meta:l.meta,ui:ys(r,e),extendedProps:o}}return null}function ed(n){return Object.assign(Object.assign(Object.assign({},ms),Nv),n.pluginHooks.eventSourceRefiners)}function jv(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 Hv(n,e,t,i,r){switch(e.type){case"RECEIVE_EVENTS":return $v(n,t[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,r);case"RESET_RAW_EVENTS":return Bv(n,t[e.sourceId],e.rawEvents,i.activeRange,r);case"ADD_EVENTS":return Fv(n,e.eventStore,i?i.activeRange:null,r);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return ja(n,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?pr(n,i.activeRange,r):n;case"REMOVE_EVENTS":return Ov(n,e.eventStore);case"REMOVE_EVENT_SOURCE":return nd(n,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Ds(n,o=>!o.sourceId);case"REMOVE_ALL_EVENTS":return cn();default:return n}}function $v(n,e,t,i,r,o){if(e&&t===e.latestFetchId){let l=ci(td(r,e,o),e,o);return i&&(l=pr(l,i,o)),ja(nd(n,e.sourceId),l)}return n}function Bv(n,e,t,i,r){const{defIdMap:o,instanceIdMap:l}=Uv(n);let d=ci(td(t,e,r),e,r,!1,o,l);return pr(d,i,r)}function td(n,e,t){let i=t.options.eventDataTransform,r=e?e.eventDataTransform:null;return r&&(n=zc(n,r)),i&&(n=zc(n,i)),n}function zc(n,e){let t;if(!e)t=n;else{t=[];for(let i of n){let r=e(i);r?t.push(r):r==null&&t.push(i)}}return t}function Fv(n,e,t,i){return t&&(e=pr(e,t,i)),ja(n,e)}function Vv(n,e,t){let{defs:i}=n,r=gr(n.instances,o=>{let l=i[o.defId];return l.allDay||l.recurringDef?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:r}}function nd(n,e){return Ds(n,t=>t.sourceId!==e)}function zv(n,e){return{defs:n.defs,instances:hr(n.instances,t=>!e[t.instanceId])}}function Uv(n){const{defs:e,instances:t}=n,i={},r={};for(let o in e){const l=e[o],{publicId:d}=l;d&&(i[d]=o)}for(let o in t){const l=t[o],d=e[l.defId],{publicId:f}=d;f&&(r[f]=o)}return{defIdMap:i,instanceIdMap:r}}class _s{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){Wv(this.handlers,e,t)}off(e,t){Gv(this.handlers,e,t)}trigger(e,...t){let i=this.handlers[e]||[],r=this.options&&this.options[e],o=[].concat(r||[],i);for(let l of o)l.apply(this.thisContext,t)}hasHandlers(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}function Wv(n,e,t){(n[e]||(n[e]=[])).push(t)}function Gv(n,e,t){t?n[e]&&(n[e]=n[e].filter(i=>i!==t)):delete n[e]}const Yv={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Zv(n,e){return ci(Qv(n),null,e)}function Qv(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({},Yv),t)),e}function rd(n,e,t){t.emitter.trigger("select",Object.assign(Object.assign({},Ha(n,t)),{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view}))}function Xv(n,e){e.emitter.trigger("unselect",{jsEvent:n?n.origEvent:null,view:e.viewApi||e.calendarApi.view})}function Ha(n,e){let t={};for(let i of e.pluginHooks.dateSpanTransforms)Object.assign(t,i(n,e));return Object.assign(t,dg(n,e.dateEnv)),t}function Uc(n,e,t){let{dateEnv:i,options:r}=t,o=e;return n?(o=gt(o),o=i.add(o,r.defaultAllDayEventDuration)):o=i.add(o,r.defaultTimedEventDuration),o}function $a(n,e,t,i){let r=bs(n.defs,e),o=cn();for(let l in n.defs){let d=n.defs[l];o.defs[l]=Kv(d,r[l],t,i)}for(let l in n.instances){let d=n.instances[l],f=o.defs[d.defId];o.instances[l]=Jv(d,f,r[d.defId],t,i)}return o}function Kv(n,e,t,i){let r=t.standardProps||{};r.hasEnd==null&&e.durationEditable&&(t.startDelta||t.endDelta)&&(r.hasEnd=!0);let o=Object.assign(Object.assign(Object.assign({},n),r),{ui:Object.assign(Object.assign({},n.ui),r.ui)});t.extendedProps&&(o.extendedProps=Object.assign(Object.assign({},o.extendedProps),t.extendedProps));for(let l of i.pluginHooks.eventDefMutationAppliers)l(o,t,i);return!o.hasEnd&&i.options.forceEventDuration&&(o.hasEnd=!0),o}function Jv(n,e,t,i,r){let{dateEnv:o}=r,l=i.standardProps&&i.standardProps.allDay===!0,d=i.standardProps&&i.standardProps.hasEnd===!1,f=Object.assign({},n);return l&&(f.range=Yu(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:Uc(e.allDay,f.range.start,r)}),e.allDay&&(f.range={start:gt(f.range.start),end:gt(f.range.end)}),f.range.end<f.range.start&&(f.range.end=Uc(e.allDay,f.range.start,r)),f}class Mr{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 Xu)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")t=ls[e](t),this.mutate({standardProps:{publicId:t}});else if(e in ls)t=ls[e](t),this.mutate({standardProps:{[e]:t}});else if(e in ms){let i=ms[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,r=i.createMarker(e);if(r&&this._instance){let o=this._instance.range,l=Ir(o.start,r,i,t.granularity);t.maintainDuration?this.mutate({datesDelta:l}):this.mutate({startDelta:l})}}setEnd(e,t={}){let{dateEnv:i}=this._context,r;if(!(e!=null&&(r=i.createMarker(e),!r))&&this._instance)if(r){let o=Ir(this._instance.range.end,r,i,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,i={}){let{dateEnv:r}=this._context,o={allDay:i.allDay},l=r.createMarker(e),d;if(!!l&&!(t!=null&&(d=r.createMarker(t),!d))&&this._instance){let f=this._instance.range;i.allDay===!0&&(f=Yu(f));let v=Ir(f.start,l,r,i.granularity);if(d){let g=Ir(f.end,d,r,i.granularity);Ep(v,g)?this.mutate({datesDelta:v,standardProps:o}):this.mutate({startDelta:v,endDelta:g,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:v,standardProps:o})}}moveStart(e){let t=it(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=it(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=it(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let i={allDay:e},{maintainDuration:r}=t;r==null&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(i.hasEnd=r),this.mutate({standardProps:i})}formatRange(e){let{dateEnv:t}=this._context,i=this._instance,r=Mt(e);return this._def.hasEnd?t.formatRange(i.range.start,i.range.end,r,{forcedStartTzo:i.forcedStartTzo,forcedEndTzo:i.forcedEndTzo}):t.format(i.range.start,r,{forcedTzo:i.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let i=this._def,r=this._context,{eventStore:o}=r.getCurrentData(),l=Na(o,t.instanceId);l=$a(l,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,r);let f=new mt(r,i,t);this._def=l.defs[i.defId],this._instance=l.instances[t.instanceId],r.dispatch({type:"MERGE_EVENTS",eventStore:l}),r.emitter.trigger("eventChange",{oldEvent:f,event:this,relatedEvents:fr(l,r,t),revert(){r.dispatch({type:"RESET_EVENTS",eventStore:o})}})}}remove(){let e=this._context,t=id(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 Mr(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:r,endStr:o}=this,l={allDay:t.allDay};return t.title&&(l.title=t.title),r&&(l.start=r),o&&(l.end=o),t.publicId&&(l.id=t.publicId),t.groupId&&(l.groupId=t.groupId),t.url&&(l.url=t.url),i.display&&i.display!=="auto"&&(l.display=i.display),e.collapseColor&&i.backgroundColor&&i.backgroundColor===i.borderColor?l.color=i.backgroundColor:(i.backgroundColor&&(l.backgroundColor=i.backgroundColor),i.borderColor&&(l.borderColor=i.borderColor)),i.textColor&&(l.textColor=i.textColor),i.classNames.length&&(l.classNames=i.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(l,t.extendedProps):l.extendedProps=t.extendedProps),l}toJSON(){return this.toPlainObject()}}function id(n){let e=n._def,t=n._instance;return{defs:{[e.defId]:e},instances:t?{[t.instanceId]:t}:{}}}function fr(n,e,t){let{defs:i,instances:r}=n,o=[],l=t?t.instanceId:"";for(let d in r){let f=r[d],v=i[f.defId];f.instanceId!==l&&o.push(new mt(e,v,f))}return o}function Wc(n,e,t,i){let r={},o={},l={},d=[],f=[],v=bs(n.defs,e);for(let g in n.defs){let y=n.defs[g];v[y.defId].display==="inverse-background"&&(y.groupId?(r[y.groupId]=[],l[y.groupId]||(l[y.groupId]=y)):o[g]=[])}for(let g in n.instances){let y=n.instances[g],S=n.defs[y.defId],E=v[S.defId],C=y.range,D=!S.allDay&&i?Zu(C,i):C,x=jr(D,t);x&&(E.display==="inverse-background"?S.groupId?r[S.groupId].push(x):o[y.defId].push(x):E.display!=="none"&&(E.display==="background"?d:f).push({def:S,ui:E,instance:y,range:x,isStart:D.start&&D.start.valueOf()===x.start.valueOf(),isEnd:D.end&&D.end.valueOf()===x.end.valueOf()}))}for(let g in r){let y=r[g],S=Fc(y,t);for(let E of S){let C=l[g],D=v[C.defId];d.push({def:C,ui:D,instance:null,range:E,isStart:!1,isEnd:!1})}}for(let g in o){let y=o[g],S=Fc(y,t);for(let E of S)d.push({def:n.defs[g],ui:v[g],instance:null,range:E,isStart:!1,isEnd:!1})}return{bg:d,fg:f}}function Gc(n,e){n.fcSeg=e}function Hr(n){return n.fcSeg||n.parentNode.fcSeg||null}function bs(n,e){return gr(n,t=>sd(t,e))}function sd(n,e){let t=[];return e[""]&&t.push(e[""]),e[n.defId]&&t.push(e[n.defId]),t.push(n.ui),kv(t)}function qv(n,e){let t=n.map(eg);return t.sort((i,r)=>pp(i,r,e)),t.map(i=>i._seg)}function eg(n){let{eventRange:e}=n,t=e.def,i=e.instance?e.instance.range:e.range,r=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:r,end:o,duration:o-r,allDay:Number(t.allDay),_seg:n})}function tg(n,e){let{pluginHooks:t}=e,i=t.isDraggableTransformers,{def:r,ui:o}=n.eventRange,l=o.startEditable;for(let d of i)l=d(l,r,o,e);return l}function ng(n,e){return n.isStart&&n.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function rg(n,e){return n.isEnd&&n.eventRange.ui.durationEditable}function od(n,e,t,i,r,o,l){let{dateEnv:d,options:f}=t,{displayEventTime:v,displayEventEnd:g}=f,y=n.eventRange.def,S=n.eventRange.instance;v==null&&(v=i!==!1),g==null&&(g=r!==!1);let E=S.range.start,C=S.range.end,D=o||n.start||n.eventRange.range.start,x=l||n.end||n.eventRange.range.end,O=gt(E).valueOf()===gt(D).valueOf(),j=gt(Yn(C,-1)).valueOf()===gt(Yn(x,-1)).valueOf();return v&&!y.allDay&&(O||j)?(D=O?E:D,x=j?C:x,g&&y.hasEnd?d.formatRange(D,x,e,{forcedStartTzo:o?null:S.forcedStartTzo,forcedEndTzo:l?null:S.forcedEndTzo}):d.format(D,e,{forcedTzo:o?null:S.forcedStartTzo})):""}function ii(n,e,t){let i=n.eventRange.range;return{isPast:i.end<(t||e.start),isFuture:i.start>=(t||e.end),isToday:e&&Wn(e,i.start)}}function ig(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 sg(n){return n.instance?n.instance.instanceId:`${n.def.defId}:${n.range.start.toISOString()}`}function ad(n,e){let{def:t,instance:i}=n.eventRange,{url:r}=t;if(r)return{href:r};let{emitter:o,options:l}=e,{eventInteractive:d}=l;return d==null&&(d=t.interactive,d==null&&(d=Boolean(o.hasHandlers("eventClick")))),d?Hu(f=>{o.trigger("eventClick",{el:f.target,event:new mt(e,t,i),jsEvent:f,view:e.viewApi})}):{}}const og={start:G,end:G,allDay:Boolean};function ag(n,e,t){let i=lg(n,e),{range:r}=i;if(!r.start)return null;if(!r.end){if(t==null)return null;r.end=e.add(r.start,t)}return i}function lg(n,e){let{refined:t,extra:i}=_a(n,og),r=t.start?e.createMarkerMeta(t.start):null,o=t.end?e.createMarkerMeta(t.end):null,{allDay:l}=t;return l==null&&(l=r&&r.isTimeUnspecified&&(!o||o.isTimeUnspecified)),Object.assign({range:{start:r?r.marker:null,end:o?o.marker:null},allDay:l},i)}function cg(n,e){return Ev(n.range,e.range)&&n.allDay===e.allDay&&ug(n,e)}function ug(n,e){for(let t in e)if(t!=="range"&&t!=="allDay"&&n[t]!==e[t])return!1;for(let t in n)if(!(t in e))return!1;return!0}function dg(n,e){return Object.assign(Object.assign({},cd(n.range,e,n.allDay)),{allDay:n.allDay})}function ld(n,e,t){return Object.assign(Object.assign({},cd(n,e,t)),{timeZone:e.timeZone})}function cd(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 fg(n,e,t){let i=Ju({editable:!1},t),r=ha(i.refined,i.extra,"",n.allDay,!0,t);return{def:r,ui:sd(r,e),instance:ka(r.defId,n.range),range:n.range,isStart:!0,isEnd:!0}}function hg(n,e,t){let i=!1,r=function(d){i||(i=!0,e(d))},o=function(d){i||(i=!0,t(d))},l=n(r,o);l&&typeof l.then=="function"&&l.then(r,o)}class Yc extends Error{constructor(e,t){super(e),this.response=t}}function pg(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(r=>{if(r.ok)return r.json().then(o=>[o,r],()=>{throw new Yc("Failure parsing JSON",r)});throw new Yc("Request failed",r)})}let ta;function ud(){return ta==null&&(ta=vg()),ta}function vg(){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 gg extends Et{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this,{options:t}=e,{forPrint:i}=this.state,r=i||t.height==="auto"||t.contentHeight==="auto",o=!r&&t.height!=null?t.height:"",l=["fc",i?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return ud()||l.push("fc-liquid-hack"),e.children(l,o,r,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 Br{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function mg(n,e){return{component:n,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function Ba(n){return{[n.component.uid]:n}}const va={};class yg{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(),r;t=t||"day",r=i.viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),r?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:r.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:t,toolbarConfig:i}=this.getCurrentData(),r=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]),o,l;for(let d in t)r.push(d);for(o=0;o<r.length;o+=1)if(l=t[r[o]],l&&l.singleUnit===e)return l;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:di(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=it(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),Mt(t))}formatRange(e,t,i){let{dateEnv:r}=this.getCurrentData();return r.formatRange(r.createMarker(e),r.createMarker(t),Mt(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 r=this.getCurrentData(),o=ag(i,r.dateEnv,it({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),rd(o,null,r))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),Xv(e,t))}addEvent(e,t){if(e instanceof mt){let l=e._def,d=e._instance;return this.getCurrentData().eventStore.defs[l.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:pa({def:l,instance:d})}),this.triggerEventAdd(e)),e}let i=this.getCurrentData(),r;if(t instanceof Mr)r=t.internalEventSource;else if(typeof t=="boolean")t&&([r]=Oa(i.eventSources));else if(t!=null){let l=this.getEventSourceById(t);if(!l)return console.warn(`Could not find an event source with ID "${t}"`),null;r=l.internalEventSource}let o=Ku(e,r,i,!1);if(o){let l=new mt(i,o.def,o.def.recurringDef?null:o.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:pa(o)}),this.triggerEventAdd(l),l}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:id(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:i,instances:r}=t.eventStore;e=String(e);for(let o in i){let l=i[o];if(l.publicId===e){if(l.recurringDef)return new mt(t,l,null);for(let d in r){let f=r[d];if(f.defId===l.defId)return new mt(t,l,f)}}}return null}getEvents(){let e=this.getCurrentData();return fr(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,i=[];for(let r in t)i.push(new Mr(e,t[r]));return i}getEventSourceById(e){let t=this.getCurrentData(),i=t.eventSources;e=String(e);for(let r in i)if(i[r].publicId===e)return new Mr(t,i[r]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof Mr)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let i=qu(e,t);return i?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[i]}),new Mr(t,i)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=it(e);t&&this.trigger("_scrollRequest",{time:t})}}function bg(n,e){return n.left>=e.left&&n.left<e.right&&n.top>=e.top&&n.top<e.bottom}function dd(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 Sg(n,e){return{left:Math.min(Math.max(n.left,e.left),e.right),top:Math.min(Math.max(n.top,e.top),e.bottom)}}function Eg(n){return{left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}}function Lg(n,e){return{left:n.left-e.left,top:n.top-e.top}}function fd(n,e,t,i){return{dow:n.getUTCDay(),isDisabled:Boolean(i&&!Wn(i.activeRange,n)),isOther:Boolean(i&&!Wn(i.currentRange,n)),isToday:Boolean(e&&Wn(e,n)),isPast:Boolean(t?n<t:e?n<e.start:!1),isFuture:Boolean(t?n>t:e?n>=e.end:!1)}}function Fa(n,e){let t=["fc-day",`fc-day-${Cp[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 wg=Mt({year:"numeric",month:"long",day:"numeric"}),Ag=Mt({week:"long"});function ga(n,e,t="day",i=!0){const{dateEnv:r,options:o,calendarApi:l}=n;let d=r.format(e,t==="week"?Ag:wg);if(o.navLinks){let f=r.toDate(e);const v=g=>{let y=t==="day"?o.navLinkDayClick:t==="week"?o.navLinkWeekClick:null;typeof y=="function"?y.call(l,r.toDate(e),g):(typeof y=="string"&&(t=y),l.zoomTo(e,t))};return Object.assign({title:ni(o.navLinkHint,[d,f],d),"data-navlink":""},i?ju(v):{onClick:v})}return{"aria-label":d}}let na=null;function Cg(){return na===null&&(na=Tg()),na}function Tg(){let n=document.createElement("div");ti(n,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),n.innerHTML="<div></div>",document.body.appendChild(n);let t=n.firstChild.getBoundingClientRect().left>n.getBoundingClientRect().left;return Aa(n),t}let ra;function xg(){return ra||(ra=Dg()),ra}function Dg(){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=hd(n);return document.body.removeChild(n),e}function hd(n){return{x:n.offsetHeight-n.clientHeight,y:n.offsetWidth-n.clientWidth}}function _g(n,e=!1){let t=window.getComputedStyle(n),i=parseInt(t.borderLeftWidth,10)||0,r=parseInt(t.borderRightWidth,10)||0,o=parseInt(t.borderTopWidth,10)||0,l=parseInt(t.borderBottomWidth,10)||0,d=hd(n),f=d.y-i-r,v=d.x-o-l,g={borderLeft:i,borderRight:r,borderTop:o,borderBottom:l,scrollbarBottom:v,scrollbarLeft:0,scrollbarRight:0};return Cg()&&t.direction==="rtl"?g.scrollbarLeft=f:g.scrollbarRight=f,e&&(g.paddingLeft=parseInt(t.paddingLeft,10)||0,g.paddingRight=parseInt(t.paddingRight,10)||0,g.paddingTop=parseInt(t.paddingTop,10)||0,g.paddingBottom=parseInt(t.paddingBottom,10)||0),g}function Rg(n,e=!1,t){let i=t?n.getBoundingClientRect():Va(n),r=_g(n,e),o={left:i.left+r.borderLeft+r.scrollbarLeft,right:i.right-r.borderRight-r.scrollbarRight,top:i.top+r.borderTop,bottom:i.bottom-r.borderBottom-r.scrollbarBottom};return e&&(o.left+=r.paddingLeft,o.right-=r.paddingRight,o.top+=r.paddingTop,o.bottom-=r.paddingBottom),o}function Va(n){let e=n.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function Og(n){let e=pd(n),t=n.getBoundingClientRect();for(let i of e){let r=dd(t,i.getBoundingClientRect());if(r)t=r;else return null}return t}function pd(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 Ss{constructor(e,t,i,r){this.els=t;let o=this.originClientRect=e.getBoundingClientRect();i&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}buildElHorizontals(e){let t=[],i=[];for(let r of this.els){let o=r.getBoundingClientRect();t.push(o.left-e),i.push(o.right-e)}this.lefts=t,this.rights=i}buildElVerticals(e){let t=[],i=[];for(let r of this.els){let o=r.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,r=t.length,o;for(o=0;o<r;o+=1)if(e>=t[o]&&e<i[o])return o}topToIndex(e){let{tops:t,bottoms:i}=this,r=t.length,o;for(o=0;o<r;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 Ji(this.tops||[],e.tops||[])&&Ji(this.bottoms||[],e.bottoms||[])&&Ji(this.lefts||[],e.lefts||[])&&Ji(this.rights||[],e.rights||[])}}function Ji(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 za{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}}class Mg extends za{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}}class Ig extends za{getScrollTop(){return window.pageYOffset}getScrollLeft(){return window.pageXOffset}setScrollTop(e){window.scroll(window.pageXOffset,e)}setScrollLeft(e){window.scroll(e,window.pageYOffset)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class br extends Et{constructor(){super(...arguments),this.uid=vr()}prepareHits(){}queryHit(e,t,i,r){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!$t(e,".fc-event-mirror")}isValidDateDownEl(e){return!$t(e,".fc-event:not(.fc-bg-event)")&&!$t(e,".fc-more-link")&&!$t(e,"a[data-navlink]")&&!$t(e,".fc-popover")}}class kg{constructor(){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);return this.isInsertionValid(i,e)?(this.insertEntryAt(e,i),1):this.handleInvalidInsertion(i,e,t)}isInsertionValid(e,t){return(this.maxCoord===-1||e.levelCoord+t.thickness<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,i){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,i):(i.push(t),0)}splitEntry(e,t,i){let r=0,o=[],l=e.span,d=t.span;return l.start<d.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:l.start,end:d.start}},o)),l.end>d.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:d.end,end:l.end}},o)),r?(i.push({index:e.index,thickness:e.thickness,span:vd(d,l)},...o),r):(i.push(e),0)}insertEntryAt(e,t){let{entriesByLevel:i,levelCoords:r}=this;t.lateral===-1?(ia(r,t.level,t.levelCoord),ia(i,t.level,[e])):ia(i[t.level],t.lateral,e),this.stackCnts[si(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:i,strictOrder:r,stackCnts:o}=this,l=t.length,d=0,f=-1,v=-1,g=null,y=0;for(let C=0;C<l;C+=1){let D=t[C];if(!r&&D>=d+e.thickness)break;let x=i[C],O,j=Qc(x,e.span.start,Zc),U=j[0]+j[1];for(;(O=x[U])&&O.span.start<e.span.end;){let Y=D+O.thickness;Y>d&&(d=Y,g=O,f=C,v=U),Y===d&&(y=Math.max(y,o[si(O)]+1)),U+=1}}let S=0;if(g)for(S=f+1;S<l&&t[S]<d;)S+=1;let E=-1;return S<l&&t[S]===d&&(E=Qc(i[S],e.span.end,Zc)[0]),{touchingLevel:f,touchingLateral:v,touchingEntry:g,stackCnt:y,levelCoord:d,level:S,lateral:E}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,i=e.length,r=[];for(let o=0;o<i;o+=1){let l=e[o],d=t[o];for(let f of l)r.push(Object.assign(Object.assign({},f),{levelCoord:d}))}return r}}function Zc(n){return n.span.end}function si(n){return n.index+":"+n.span.start}function vd(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 ia(n,e,t){n.splice(e,0,t)}function Qc(n,e,t){let i=0,r=n.length;if(!r||e<t(n[i]))return[0,0];if(e>t(n[r-1]))return[r,0];for(;i<r;){let o=Math.floor(i+(r-i)/2),l=t(n[o]);if(e<l)r=o;else if(e>l)i=o+1;else return[o,1]}return[i,0]}class Pg{constructor(e,t){this.emitter=new _s}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const Ua={};function Ng(n,e){return!n||e>10?Mt({weekday:"short"}):e>1?Mt({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):Mt({weekday:"long"})}const gd="fc-col-header-cell";function md(n){return n.text}class jg extends Et{render(){let{dateEnv:e,options:t,theme:i,viewApi:r}=this.context,{props:o}=this,{date:l,dateProfile:d}=o,f=fd(l,o.todayRange,null,d),v=[gd].concat(Fa(f,i)),g=e.format(l,o.dayHeaderFormat),y=!f.isDisabled&&o.colCnt>1?ga(this.context,l):{},S=Object.assign(Object.assign(Object.assign({date:e.toDate(l),view:r},o.extraRenderProps),{text:g}),f);return Z(kn,{elTag:"th",elClasses:v,elAttrs:Object.assign({role:"columnheader",colSpan:o.colSpan,"data-date":f.isDisabled?void 0:xa(l)},o.extraDataAttrs),renderProps:S,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:md,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},E=>Z("div",{className:"fc-scrollgrid-sync-inner"},!f.isDisabled&&Z(E,{elTag:"a",elAttrs:y,elClasses:["fc-col-header-cell-cushion",o.isSticky&&"fc-sticky"]})))}}const Hg=Mt({weekday:"long"});class $g extends Et{render(){let{props:e}=this,{dateEnv:t,theme:i,viewApi:r,options:o}=this.context,l=Bt(new Date(2592e5),e.dow),d={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},f=t.format(l,e.dayHeaderFormat),v=Object.assign(Object.assign(Object.assign(Object.assign({date:l},d),{view:r}),e.extraRenderProps),{text:f});return Z(kn,{elTag:"th",elClasses:[gd,...Fa(d,i),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:v,generatorName:"dayHeaderContent",customGenerator:o.dayHeaderContent,defaultGenerator:md,classNameGenerator:o.dayHeaderClassNames,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},g=>Z("div",{className:"fc-scrollgrid-sync-inner"},Z(g,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(l,Hg)}})))}}class Wa extends en{constructor(e,t){super(e,t),this.initialNowDate=di(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=Yn(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(i,e.unit),o=t.dateEnv.add(r,it(1,e.unit)),l=o.valueOf()-i.valueOf();return l=Math.min(1e3*60*60*24,l),{currentState:{nowDate:r,todayRange:Xc(r)},nextState:{nowDate:o,todayRange:Xc(o)},waitMs:l}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}Wa.contextType=mr;function Xc(n){let e=gt(n),t=Bt(e,1);return{start:e,end:t}}class Bg extends Et{constructor(){super(...arguments),this.createDayHeaderFormatter=st(Fg)}render(){let{context:e}=this,{dates:t,dateProfile:i,datesRepDistinctDays:r,renderIntro:o}=this.props,l=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,t.length);return Z(Wa,{unit:"day"},(d,f)=>Z("tr",{role:"row"},o&&o("day"),t.map(v=>r?Z(jg,{key:v.toISOString(),date:v,dateProfile:i,todayRange:f,colCnt:t.length,dayHeaderFormat:l}):Z($g,{key:v.getUTCDay(),dow:v.getUTCDay(),dayHeaderFormat:l}))))}}function Fg(n,e,t){return n||Ng(e,t)}class Vg{constructor(e,t){let i=e.start,{end:r}=e,o=[],l=[],d=-1;for(;i<r;)t.isHiddenDay(i)?o.push(d+.5):(d+=1,o.push(d),l.push(i)),i=Bt(i,1);this.dates=l,this.indices=o,this.cnt=l.length}sliceRange(e){let t=this.getDateDayIndex(e.start),i=this.getDateDayIndex(Bt(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,i);return r=Math.ceil(r),o=Math.floor(o),r<=o?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:i===o}:null}getDateDayIndex(e){let{indices:t}=this,i=Math.floor($r(this.dates[0],e));return i<0?t[0]-1:i>=t.length?t[t.length-1]+1:t[i]}}class zg{constructor(e,t){let{dates:i}=e,r,o,l;if(t){for(o=i[0].getUTCDay(),r=1;r<i.length&&i[r].getUTCDay()!==o;r+=1);l=Math.ceil(i.length/r)}else l=1,r=i.length;this.rowCnt=l,this.colCnt=r,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 r=0;r<this.colCnt;r+=1)i.push(this.buildCell(t,r));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),r=[];if(i){let{firstIndex:o,lastIndex:l}=i,d=o;for(;d<=l;){let f=Math.floor(d/t),v=Math.min((f+1)*t,l+1);r.push({row:f,firstCol:d%t,lastCol:(v-1)%t,isStart:i.isStart&&d===o,isEnd:i.isEnd&&v-1===l}),d=v}}return r}}class Ug{constructor(){this.sliceBusinessHours=st(this._sliceBusinessHours),this.sliceDateSelection=st(this._sliceDateSpan),this.sliceEventStore=st(this._sliceEventStore),this.sliceEventDrag=st(this._sliceInteraction),this.sliceEventResize=st(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,i,r,...o){let{eventUiBases:l}=e,d=this.sliceEventStore(e.eventStore,l,t,i,...o);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,i,l,r,...o),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,i,r,...o),fgEventSegs:d.fg,bgEventSegs:d.bg,eventDrag:this.sliceEventDrag(e.eventDrag,l,t,i,...o),eventResize:this.sliceEventResize(e.eventResize,l,t,i,...o),eventSelection:e.eventSelection}}sliceNowDate(e,t,i,r,...o){return this._sliceDateSpan({range:{start:e,end:Yn(e,1)},allDay:!1},t,i,{},r,...o)}_sliceBusinessHours(e,t,i,r,...o){return e?this._sliceEventStore(pr(e,qi(t,Boolean(i)),r),{},t,i,...o).bg:[]}_sliceEventStore(e,t,i,r,...o){if(e){let l=Wc(e,t,qi(i,Boolean(r)),r);return{bg:this.sliceEventRanges(l.bg,o),fg:this.sliceEventRanges(l.fg,o)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,i,r,...o){if(!e)return null;let l=Wc(e.mutatedEvents,t,qi(i,Boolean(r)),r);return{segs:this.sliceEventRanges(l.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,i,r,o,...l){if(!e)return[];let d=qi(t,Boolean(i)),f=jr(e.range,d);if(f){e=Object.assign(Object.assign({},e),{range:f});let v=fg(e,r,o),g=this.sliceRange(e.range,...l);for(let y of g)y.eventRange=v;return g}return[]}sliceEventRanges(e,t){let i=[];for(let r of e)i.push(...this.sliceEventRange(r,t));return i}sliceEventRange(e,t){let i=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(i={start:i.start,end:Bt(i.start,1)});let r=this.sliceRange(i,...t);for(let o of r)o.eventRange=e,o.isStart=e.isStart&&o.isStart,o.isEnd=e.isEnd&&o.isEnd;return r}}function qi(n,e){let t=n.activeRange;return e?t:{start:Yn(t.start,n.slotMinTime.milliseconds),end:Yn(t.end,n.slotMaxTime.milliseconds-864e5)}}function yd(n,e,t){let{instances:i}=n.mutatedEvents;for(let r in i)if(!xs(e.validRange,i[r].range))return!1;return bd({eventDrag:n},t)}function Wg(n,e,t){return xs(e.validRange,n.range)?bd({dateSelection:n},t):!1}function bd(n,e){let t=e.getCurrentData(),i=Object.assign({businessHours:t.businessHours,dateSelection:"",eventStore:t.eventStore,eventUiBases:t.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},n);return(e.pluginHooks.isPropsValid||Gg)(i,e)}function Gg(n,e,t={},i){return!(n.eventDrag&&!Yg(n,e,t,i)||n.dateSelection&&!Zg(n,e,t,i))}function Yg(n,e,t,i){let r=e.getCurrentData(),o=n.eventDrag,l=o.mutatedEvents,d=l.defs,f=l.instances,v=bs(d,o.isEvent?n.eventUiBases:{"":r.selectionConfig});i&&(v=gr(v,i));let g=zv(n.eventStore,o.affectedEvents.instances),y=g.defs,S=g.instances,E=bs(y,n.eventUiBases);for(let C in f){let D=f[C],x=D.range,O=v[D.defId],j=d[D.defId];if(!Sd(O.constraints,x,g,n.businessHours,e))return!1;let{eventOverlap:U}=e.options,Y=typeof U=="function"?U:null;for(let se in S){let J=S[se];if(Ia(x,J.range)&&(E[J.defId].overlap===!1&&o.isEvent||O.overlap===!1||Y&&!Y(new mt(e,y[J.defId],J),new mt(e,j,D))))return!1}let re=r.eventStore;for(let se of O.allows){let J=Object.assign(Object.assign({},t),{range:D.range,allDay:j.allDay}),W=re.defs[j.defId],ue=re.instances[C],me;if(W?me=new mt(e,W,ue):me=new mt(e,j),!se(Ha(J,e),me))return!1}}return!0}function Zg(n,e,t,i){let r=n.eventStore,o=r.defs,l=r.instances,d=n.dateSelection,f=d.range,{selectionConfig:v}=e.getCurrentData();if(i&&(v=i(v)),!Sd(v.constraints,f,r,n.businessHours,e))return!1;let{selectOverlap:g}=e.options,y=typeof g=="function"?g:null;for(let S in l){let E=l[S];if(Ia(f,E.range)&&(v.overlap===!1||y&&!y(new mt(e,o[E.defId],E),null)))return!1}for(let S of v.allows){let E=Object.assign(Object.assign({},t),d);if(!S(Ha(E,e),null))return!1}return!0}function Sd(n,e,t,i,r){for(let o of n)if(!Xg(Qg(o,e,t,i,r),e))return!1;return!0}function Qg(n,e,t,i,r){return n==="businessHours"?sa(pr(i,e,r)):typeof n=="string"?sa(Ds(t,o=>o.groupId===n)):typeof n=="object"&&n?sa(pr(n,e,r)):[]}function sa(n){let{instances:e}=n,t=[];for(let i in e)t.push(e[i].range);return t}function Xg(n,e){for(let t of n)if(xs(t,e))return!0;return!1}const es=/^(visible|hidden)$/;class Kg extends Et{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,In(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:i}=e,r=t&&i,o=["fc-scroller"];return t&&(i?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),Z("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(es.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:i}=e;for(let r=0;r<i.length;r+=1)if(i[r].getBoundingClientRect().width>t)return!0;return!1}needsYScrolling(){if(es.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:i}=e;for(let r=0;r<i.length;r+=1)if(i[r].getBoundingClientRect().height>t)return!0;return!1}getXScrollbarWidth(){return es.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return es.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class ur{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(t,i)=>{let{depths:r,currentMap:o}=this,l=!1,d=!1;t!==null?(l=i in o,o[i]=t,r[i]=(r[i]||0)+1,d=!0):(r[i]-=1,r[i]||(delete o[i],delete this.callbackMap[i],l=!0)),this.masterCallback&&(l&&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 iv(this.currentMap,e,t,i)}getAll(){return Oa(this.currentMap)}}function Jg(n){let e=ip(n,".fc-scrollgrid-shrink"),t=0;for(let i of e)t=Math.max(t,yp(i));return Math.ceil(t)}function Ed(n,e){return n.liquid&&e.liquid}function qg(n,e){return e.maxHeight!=null||Ed(n,e)}function em(n,e,t,i){let{expandRows:r}=t;return typeof e.content=="function"?e.content(t):Z("table",{role:"presentation",className:[e.tableClassName,n.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:t.tableMinWidth,width:t.clientWidth,height:r?t.clientHeight:""}},t.tableColGroupNode,Z(i?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(t):e.rowContent))}function tm(n,e){return Gn(n,e,En)}function nm(n,e){let t=[];for(let i of n){let r=i.span||1;for(let o=0;o<r;o+=1)t.push(Z("col",{style:{width:i.width==="shrink"?rm(e):i.width||"",minWidth:i.minWidth||""}}))}return Z("colgroup",{},...t)}function rm(n){return n==null?4:n}function im(n){for(let e of n)if(e.width==="shrink")return!0;return!1}function sm(n,e){let t=["fc-scrollgrid",e.theme.getClass("table")];return n&&t.push("fc-scrollgrid-liquid"),t}function om(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 am(n){return Z("div",{className:"fc-scrollgrid-sticky-shim",style:{width:n.clientWidth,minWidth:n.tableMinWidth}})}function Kc(n){let{stickyHeaderDates:e}=n;return(e==null||e==="auto")&&(e=n.height==="auto"||n.viewHeight==="auto"),e}function lm(n){let{stickyFooterScrollbar:e}=n;return(e==null||e==="auto")&&(e=n.height==="auto"||n.viewHeight==="auto"),e}class Ld extends Et{constructor(){super(...arguments),this.processCols=st(e=>e,tm),this.renderMicroColGroup=st(nm),this.scrollerRefs=new ur,this.scrollerElRefs=new ur(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,r=e.sections||[],o=this.processCols(e.cols),l=this.renderMicroColGroup(o,t.shrinkWidth),d=sm(e.liquid,i);e.collapsibleWidth&&d.push("fc-scrollgrid-collapsible");let f=r.length,v=0,g,y=[],S=[],E=[];for(;v<f&&(g=r[v]).type==="header";)y.push(this.renderSection(g,l,!0)),v+=1;for(;v<f&&(g=r[v]).type==="body";)S.push(this.renderSection(g,l,!1)),v+=1;for(;v<f&&(g=r[v]).type==="footer";)E.push(this.renderSection(g,l,!0)),v+=1;let C=!ud();const D={role:"rowgroup"};return Z("table",{role:"grid",className:d.join(" "),style:{height:e.height}},Boolean(!C&&y.length)&&Z("thead",D,...y),Boolean(!C&&S.length)&&Z("tbody",D,...S),Boolean(!C&&E.length)&&Z("tfoot",D,...E),C&&Z("tbody",D,...y,...S,...E))}renderSection(e,t,i){return"outerContent"in e?Z(wt,{key:e.key},e.outerContent):Z("tr",{key:e.key,role:"presentation",className:om(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,i))}renderChunkTd(e,t,i,r){if("outerContent"in i)return i.outerContent;let{props:o}=this,{forceYScrollbars:l,scrollerClientWidths:d,scrollerClientHeights:f}=this.state,v=qg(o,e),g=Ed(o,e),y=o.liquid?l?"scroll":v?"auto":"hidden":"visible",S=e.key,E=em(e,i,{tableColGroupNode:t,tableMinWidth:"",clientWidth:!o.collapsibleWidth&&d[S]!==void 0?d[S]:null,clientHeight:f[S]!==void 0?f[S]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},r);return Z(r?"th":"td",{ref:i.elRef,role:"presentation"},Z("div",{className:`fc-scroller-harness${g?" fc-scroller-harness-liquid":""}`},Z(Kg,{ref:this.scrollerRefs.createRef(S),elRef:this.scrollerElRefs.createRef(S),overflowY:y,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:g,liquidIsAbsolute:!0},E)))}_handleScrollerEl(e,t){let i=cm(this.props.sections,t);i&&In(i.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return im(this.props.cols)?Jg(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=xg(),{scrollerRefs:t,scrollerElRefs:i}=this,r=!1,o={},l={};for(let d in t.currentMap){let f=t.currentMap[d];if(f&&f.needsYScrolling()){r=!0;break}}for(let d of this.props.sections){let f=d.key,v=i.currentMap[f];if(v){let g=v.parentNode;o[f]=Math.floor(g.getBoundingClientRect().width-(r?e.y:0)),l[f]=Math.floor(g.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:l}}}Ld.addStateEquality({scrollerClientWidths:En,scrollerClientHeights:En});function cm(n,e){for(let t of n)if(t.key===e)return t;return null}class Ga extends Et{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&Gc(e,this.props.seg)}}render(){const{props:e,context:t}=this,{options:i}=t,{seg:r}=e,{eventRange:o}=r,{ui:l}=o,d={event:new mt(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:l.textColor,backgroundColor:l.backgroundColor,borderColor:l.borderColor,isDraggable:!e.disableDragging&&tg(r,t),isStartResizable:!e.disableResizing&&ng(r,t),isEndResizable:!e.disableResizing&&rg(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)};return Z(kn,Object.assign({},e,{elRef:this.handleEl,elClasses:[...ig(d),...r.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&&Gc(this.el,this.props.seg)}}class um extends Et{render(){let{props:e,context:t}=this,{options:i}=t,{seg:r}=e,{ui:o}=r.eventRange,l=i.eventTimeFormat||e.defaultTimeFormat,d=od(r,l,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return Z(Ga,Object.assign({},e,{elTag:"a",elStyle:{borderColor:o.borderColor,backgroundColor:o.backgroundColor},elAttrs:ad(r,t),defaultGenerator:dm,timeText:d}),(f,v)=>Z(wt,null,Z(f,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:v.textColor}}),Boolean(v.isStartResizable)&&Z("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(v.isEndResizable)&&Z("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function dm(n){return Z("div",{className:"fc-event-main-frame"},n.timeText&&Z("div",{className:"fc-event-time"},n.timeText),Z("div",{className:"fc-event-title-container"},Z("div",{className:"fc-event-title fc-sticky"},n.event.title||Z(wt,null,"\xA0"))))}const fm=Mt({day:"numeric"});class wd extends Et{constructor(){super(...arguments),this.refineRenderProps=as(hm)}render(){let{props:e,context:t}=this,{options:i}=t,r=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 Z(kn,Object.assign({},e,{elClasses:[...Fa(r,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":xa(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:i.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:i.dayCellClassNames,didMount:i.dayCellDidMount,willUnmount:i.dayCellWillUnmount}))}}function Ad(n){return Boolean(n.dayCellContent||zu("dayCellContent",n))}function hm(n){let{date:e,dateEnv:t,dateProfile:i,isMonthStart:r}=n,o=fd(e,n.todayRange,null,i),l=n.showDayNumber?t.format(e,r?n.monthStartFormat:fm):"";return Object.assign(Object.assign(Object.assign({date:t.toDate(e),view:n.viewApi},o),{isMonthStart:r,dayNumberText:l}),n.extraRenderProps)}class pm extends Et{render(){let{props:e}=this,{seg:t}=e;return Z(Ga,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:vm,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 vm(n){let{title:e}=n.event;return e&&Z("div",{className:"fc-event-title"},n.event.title)}function gm(n){return Z("div",{className:`fc-${n}`})}const mm=n=>Z(mr.Consumer,null,e=>{let{dateEnv:t,options:i}=e,{date:r}=n,o=i.weekNumberFormat||n.defaultFormat,l=t.computeWeekNumber(r),d=t.format(r,o);return Z(kn,Object.assign({},n,{renderProps:{num:l,text:d,date:r},generatorName:"weekNumberContent",customGenerator:i.weekNumberContent,defaultGenerator:ym,classNameGenerator:i.weekNumberClassNames,didMount:i.weekNumberDidMount,willUnmount:i.weekNumberWillUnmount}))});function ym(n){return n.text}const oa=10;class bm extends Et{constructor(){super(...arguments),this.state={titleId:Cs()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&In(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const t=Pu(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:r}=this,o=["fc-popover",e.getClass("popover")].concat(i.extraClassNames||[]);return Uh(Z("div",Object.assign({},i.extraAttrs,{id:i.id,className:o.join(" "),"aria-labelledby":r.titleId,ref:this.handleRootEl}),Z("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},Z("span",{className:"fc-popover-title",id:r.titleId},i.title),Z("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),Z("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:r}=this,o=Og(t);if(o){let l=r.getBoundingClientRect(),d=i?$t(t,".fc-scrollgrid").getBoundingClientRect().top:o.top,f=e?o.right-l.width:o.left;d=Math.max(d,oa),f=Math.min(f,document.documentElement.clientWidth-oa-l.width),f=Math.max(f,oa);let v=r.offsetParent.getBoundingClientRect();ti(r,{top:d-v.top,left:f-v.left})}}}class Sm extends br{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:r,todayRange:o,dateProfile:l}=i,d=t.format(r,e.dayPopoverFormat);return Z(wd,{elRef:this.handleRootEl,date:r,dateProfile:l,todayRange:o},(f,v,g)=>Z(bm,{elRef:g.ref,id:i.id,title:d,extraClassNames:["fc-more-popover"].concat(g.className||[]),extraAttrs:g,parentEl:i.parentEl,alignmentEl:i.alignmentEl,alignGridTop:i.alignGridTop,onClose:i.onClose},Ad(e)&&Z(f,{elTag:"div",elClasses:["fc-more-popover-misc"]}),i.children))}queryHit(e,t,i,r){let{rootEl:o,props:l}=this;return e>=0&&e<i&&t>=0&&t<r?{dateProfile:l.dateProfile,dateSpan:Object.assign({allDay:!l.forceTimed,range:{start:l.startDate,end:l.endDate}},l.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:i,bottom:r},layer:1}:null}}class Em extends Et{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:Cs()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&In(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:i}=this,{moreLinkClick:r}=i.options,o=Jc(t).start;function l(d){let{def:f,instance:v,range:g}=d.eventRange;return{event:new mt(i,f,v),start:i.dateEnv.toDate(g.start),end:i.dateEnv.toDate(g.end),isStart:d.isStart,isEnd:d.isEnd}}typeof r=="function"&&(r=r({date:o,allDay:Boolean(t.allDayDate),allSegs:t.allSegs.map(l),hiddenSegs:t.hiddenSegs.map(l),jsEvent:e,view:i.viewApi})),!r||r==="popover"?this.setState({isPopoverOpen:!0}):typeof r=="string"&&i.calendarApi.zoomTo(o,r)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return Z(mr.Consumer,null,i=>{let{viewApi:r,options:o,calendarApi:l}=i,{moreLinkText:d}=o,{moreCnt:f}=e,v=Jc(e),g=typeof d=="function"?d.call(l,f):`+${f} ${d}`,y=ni(o.moreLinkHint,[f],g),S={num:f,shortText:`+${f}`,text:g,view:r};return Z(wt,null,Boolean(e.moreCnt)&&Z(kn,{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),ju(this.handleClick)),{title:y,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:S,generatorName:"moreLinkContent",customGenerator:o.moreLinkContent,defaultGenerator:e.defaultGenerator||Lm,classNameGenerator:o.moreLinkClassNames,didMount:o.moreLinkDidMount,willUnmount:o.moreLinkWillUnmount},e.children),t.isPopoverOpen&&Z(Sm,{id:t.popoverId,startDate:v.start,endDate:v.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=$t(this.linkEl,".fc-view-harness"))}}function Lm(n){return n.text}function Jc(n){if(n.allDayDate)return{start:n.allDayDate,end:Bt(n.allDayDate,1)};let{hiddenSegs:e}=n;return{start:wm(e),end:Cm(e)}}function wm(n){return n.reduce(Am).eventRange.range.start}function Am(n,e){return n.eventRange.range.start<e.eventRange.range.start?n:e}function Cm(n){return n.reduce(Tm).eventRange.range.end}function Tm(n,e){return n.eventRange.range.end>e.eventRange.range.end?n:e}class xm{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 Dm extends xm{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 _m=[],Cd={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"},Td=Object.assign(Object.assign({},Cd),{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 Rm(n){let e=n.length>0?n[0].code:"en",t=_m.concat(n),i={en:Td};for(let r of t)i[r.code]=r;return{map:i,defaultCode:e}}function xd(n,e){return typeof n=="object"&&!Array.isArray(n)?Dd(n.code,[n.code],n):Om(n,e)}function Om(n,e){let t=[].concat(n||[]),i=Mm(t,e)||Td;return Dd(n,t,i)}function Mm(n,e){for(let t=0;t<n.length;t+=1){let i=n[t].toLocaleLowerCase().split("-");for(let r=i.length;r>0;r-=1){let o=i.slice(0,r).join("-");if(e[o])return e[o]}}return null}function Dd(n,e,t){let i=Ra([Cd,t],["buttonText"]);delete i.code;let{week:r}=i;return delete i.week,{codeArg:n,codes:e,week:r,simpleNumberFormat:new Intl.NumberFormat(n),options:i}}function Zn(n){return{id:vr(),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 Im(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 r(o){for(let l of o){const d=l.name,f=t[d];f===void 0?(t[d]=l.id,r(l.deps),i=Pm(i,l)):f!==l.id&&console.warn(`Duplicate plugin '${d}'`)}}return n&&r(n),r(e),i}function km(){let n=[],e=[],t;return(i,r)=>((!t||!Gn(i,n)||!Gn(r,e))&&(t=Im(i,r)),n=i,e=r,t)}function Pm(n,e){return{premiumReleaseDate:Nm(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 Nm(n,e){return n===void 0?e:e===void 0?n:new Date(Math.max(n.valueOf(),e.valueOf()))}class Qn extends ui{}Qn.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};Qn.prototype.baseIconClass="fc-icon";Qn.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"};Qn.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};Qn.prototype.iconOverrideOption="buttonIcons";Qn.prototype.iconOverrideCustomButtonOption="icon";Qn.prototype.iconOverridePrefix="fc-icon-";function jm(n,e){let t={},i;for(i in n)ma(i,t,n,e);for(i in e)ma(i,t,n,e);return t}function ma(n,e,t,i){if(e[n])return e[n];let r=Hm(n,e,t,i);return r&&(e[n]=r),r}function Hm(n,e,t,i){let r=t[n],o=i[n],l=g=>r&&r[g]!==null?r[g]:o&&o[g]!==null?o[g]:null,d=l("component"),f=l("superType"),v=null;if(f){if(f===n)throw new Error("Can't have a custom view type that references itself");v=ma(f,e,t,i)}return!d&&v&&(d=v.component),d?{type:n,component:d,defaults:Object.assign(Object.assign({},v?v.defaults:{}),r?r.rawOptions:{}),overrides:Object.assign(Object.assign({},v?v.overrides:{}),o?o.rawOptions:{})}:null}function qc(n){return gr(n,$m)}function $m(n){let e=typeof n=="function"?{component:n}:n,{component:t}=e;return e.content&&(t=Bm(e)),{superType:e.type,component:t,rawOptions:e}}function Bm(n){return e=>Z(mr.Consumer,null,t=>Z(kn,{elTag:"div",elClasses:Gu(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 Fm(n,e,t,i){let r=qc(n),o=qc(e.views),l=jm(r,o);return gr(l,d=>Vm(d,o,e,t,i))}function Vm(n,e,t,i,r){let o=n.overrides.duration||n.defaults.duration||i.duration||t.duration,l=null,d="",f="",v={};if(o&&(l=zm(o),l)){let S=da(l);d=S.unit,S.value===1&&(f=d,v=e[d]?e[d].rawOptions:{})}let g=S=>{let E=S.buttonText||{},C=n.defaults.buttonTextKey;return C!=null&&E[C]!=null?E[C]:E[n.type]!=null?E[n.type]:E[f]!=null?E[f]:null},y=S=>{let E=S.buttonHints||{},C=n.defaults.buttonTextKey;return C!=null&&E[C]!=null?E[C]:E[n.type]!=null?E[n.type]:E[f]!=null?E[f]:null};return{type:n.type,component:n.component,duration:l,durationUnit:d,singleUnit:f,optionDefaults:n.defaults,optionOverrides:Object.assign(Object.assign({},v),n.overrides),buttonTextOverride:g(i)||g(t)||n.overrides.buttonText,buttonTextDefault:g(r)||n.defaults.buttonText||g(ri)||n.type,buttonTitleOverride:y(i)||y(t)||n.overrides.buttonHint,buttonTitleDefault:y(r)||n.defaults.buttonHint||y(ri)}}let eu={};function zm(n){let e=JSON.stringify(n),t=eu[e];return t===void 0&&(t=it(n),eu[e]=t),t}function Um(n,e){switch(e.type){case"CHANGE_VIEW_TYPE":n=e.viewType}return n}function Wm(n,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},n),{[e.optionName]:e.rawOptionValue});default:return n}}function Gm(n,e,t,i){let r;switch(e.type){case"CHANGE_VIEW_TYPE":return i.build(e.dateMarker||t);case"CHANGE_DATE":return i.build(e.dateMarker);case"PREV":if(r=i.buildPrev(n,t),r.isValid)return r;break;case"NEXT":if(r=i.buildNext(n,t),r.isValid)return r;break}return n}function Ym(n,e,t){let i=e?e.activeRange:null;return Rd({},ey(n,t),i,t)}function Zm(n,e,t,i){let r=t?t.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return Rd(n,e.sources,r,i);case"REMOVE_EVENT_SOURCE":return Xm(n,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return t?Od(n,r,i):n;case"FETCH_EVENT_SOURCES":return Ya(n,e.sourceIds?Bu(e.sourceIds):Md(n,i),r,e.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return qm(n,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return n}}function Qm(n,e,t){let i=e?e.activeRange:null;return Ya(n,Md(n,t),i,!0,t)}function _d(n){for(let e in n)if(n[e].isFetching)return!0;return!1}function Rd(n,e,t,i){let r={};for(let o of e)r[o.sourceId]=o;return t&&(r=Od(r,t,i)),Object.assign(Object.assign({},n),r)}function Xm(n,e){return hr(n,t=>t.sourceId!==e)}function Od(n,e,t){return Ya(n,hr(n,i=>Km(i,e,t)),e,!1,t)}function Km(n,e,t){return Id(n,t)?!t.options.lazyFetching||!n.fetchRange||n.isFetching||e.start<n.fetchRange.start||e.end>n.fetchRange.end:!n.latestFetchId}function Ya(n,e,t,i,r){let o={};for(let l in n){let d=n[l];e[l]?o[l]=Jm(d,t,i,r):o[l]=d}return o}function Jm(n,e,t,i){let{options:r,calendarApi:o}=i,l=i.pluginHooks.eventSourceDefs[n.sourceDefId],d=vr();return l.fetch({eventSource:n,range:e,isRefetch:t,context:i},f=>{let{rawEvents:v}=f;r.eventSourceSuccess&&(v=r.eventSourceSuccess.call(o,v,f.response)||v),n.success&&(v=n.success.call(o,v,f.response)||v),i.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:d,fetchRange:e,rawEvents:v})},f=>{let v=!1;r.eventSourceFailure&&(r.eventSourceFailure.call(o,f),v=!0),n.failure&&(n.failure(f),v=!0),v||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 qm(n,e,t,i){let r=n[e];return r&&t===r.latestFetchId?Object.assign(Object.assign({},n),{[e]:Object.assign(Object.assign({},r),{isFetching:!1,fetchRange:i})}):n}function Md(n,e){return hr(n,t=>Id(t,e))}function ey(n,e){let t=ed(e),i=[].concat(n.eventSources||[]),r=[];n.initialEvents&&i.unshift(n.initialEvents),n.events&&i.unshift(n.events);for(let o of i){let l=qu(o,e,t);l&&r.push(l)}return r}function Id(n,e){return!e.pluginHooks.eventSourceDefs[n.sourceDefId].ignoreRange}function ty(n,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return n}}function ny(n,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return n}}function ry(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 iy(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 sy(n,e,t,i,r){let o=n.headerToolbar?tu(n.headerToolbar,n,e,t,i,r):null,l=n.footerToolbar?tu(n.footerToolbar,n,e,t,i,r):null;return{header:o,footer:l}}function tu(n,e,t,i,r,o){let l={},d=[],f=!1;for(let v in n){let g=n[v],y=oy(g,e,t,i,r,o);l[v]=y.widgets,d.push(...y.viewsWithButtons),f=f||y.hasTitle}return{sectionWidgets:l,viewsWithButtons:d,hasTitle:f}}function oy(n,e,t,i,r,o){let l=e.direction==="rtl",d=e.customButtons||{},f=t.buttonText||{},v=e.buttonText||{},g=t.buttonHints||{},y=e.buttonHints||{},S=n?n.split(" "):[],E=[],C=!1;return{widgets:S.map(x=>x.split(",").map(O=>{if(O==="title")return C=!0,{buttonName:O};let j,U,Y,re,se,J;if(j=d[O])Y=W=>{j.click&&j.click.call(W.target,W,W.target)},(re=i.getCustomButtonIconClass(j))||(re=i.getIconClass(O,l))||(se=j.text),J=j.hint||j.text;else if(U=r[O]){E.push(O),Y=()=>{o.changeView(O)},(se=U.buttonTextOverride)||(re=i.getIconClass(O,l))||(se=U.buttonTextDefault);let W=U.buttonTextOverride||U.buttonTextDefault;J=ni(U.buttonTitleOverride||U.buttonTitleDefault||e.viewHint,[W,O],W)}else if(o[O])if(Y=()=>{o[O]()},(se=f[O])||(re=i.getIconClass(O,l))||(se=v[O]),O==="prevYear"||O==="nextYear"){let W=O==="prevYear"?"prev":"next";J=ni(g[W]||y[W],[v.year||"year","year"],v[O])}else J=W=>ni(g[O]||y[O],[v[W]||W,W],v[O]);return{buttonName:O,buttonClick:Y,buttonIcon:re,buttonText:se,buttonHint:J}})),viewsWithButtons:E,hasTitle:C}}class ay{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 ly={ignoreRange:!0,parseMeta(n){return Array.isArray(n.events)?n.events:null},fetch(n,e){e({rawEvents:n.eventSource.meta})}};const cy=Zn({name:"array-event-source",eventSourceDefs:[ly]});let uy={parseMeta(n){return typeof n.events=="function"?n.events:null},fetch(n,e,t){const{dateEnv:i}=n.context,r=n.eventSource.meta;hg(r.bind(null,ld(n.range,i)),o=>e({rawEvents:o}),t)}};const dy=Zn({name:"func-event-source",eventSourceDefs:[uy]}),fy={method:String,extraParams:G,startParam:String,endParam:String,timeZoneParam:String};let hy={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,r=vy(i,n.range,n.context);pg(i.method,i.url,r).then(([o,l])=>{e({rawEvents:o,response:l})},t)}};const py=Zn({name:"json-event-source",eventSourceRefiners:fy,eventSourceDefs:[hy]});function vy(n,e,t){let{dateEnv:i,options:r}=t,o,l,d,f,v={};return o=n.startParam,o==null&&(o=r.startParam),l=n.endParam,l==null&&(l=r.endParam),d=n.timeZoneParam,d==null&&(d=r.timeZoneParam),typeof n.extraParams=="function"?f=n.extraParams():f=n.extraParams||{},Object.assign(v,f),v[o]=i.formatIso(e.start),v[l]=i.formatIso(e.end),i.timeZone!=="local"&&(v[d]=i.timeZone),v}const gy={daysOfWeek:G,startTime:it,endTime:it,duration:it,startRecur:G,endRecur:G};let my={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=Lp(n.endTime,n.startTime)),{allDayGuess:Boolean(!n.startTime&&!n.endTime),duration:i,typeData:t}}return null},expand(n,e,t){let i=jr(e,{start:n.startRecur,end:n.endRecur});return i?by(n.daysOfWeek,n.startTime,i,t):[]}};const yy=Zn({name:"simple-recurring-event",recurringTypes:[my],eventRefiners:gy});function by(n,e,t,i){let r=n?Bu(n):null,o=gt(t.start),l=t.end,d=[];for(;o<l;){let f;(!r||r[o.getUTCDay()])&&(e?f=i.add(o,e):f=o,d.push(f)),o=Bt(o,1)}return d}const Sy=Zn({name:"change-handler",optionChangeHandlers:{events(n,e){nu([n],e)},eventSources:nu}});function nu(n,e){let t=Oa(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 r of n){let o=!1;for(let l=0;l<t.length;l+=1)if(t[l]._raw===r){t.splice(l,1),o=!0;break}o||i.push(r)}for(let r of t)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:r.sourceId});for(let r of i)e.calendarApi.addEventSource(r)}function Ey(n,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},ld(n.activeRange,e.dateEnv)),{view:e.viewApi}))}function Ly(n,e){let{emitter:t}=e;t.hasHandlers("eventsSet")&&t.trigger("eventsSet",fr(n,e))}const wy=[cy,dy,py,yy,Sy,Zn({name:"misc",isLoadingFuncs:[n=>_d(n.eventSources)],propSetHandlers:{dateProfile:Ey,eventStore:Ly}})];class Ay{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new wa(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 Cy(n,e,t){let i;return/^(year|month)$/.test(n.currentRangeUnit)?i=n.currentRange:i=n.activeRange,t.formatRange(i.start,i.end,Mt(e.titleFormat||Ty(n)),{isEndExclusive:n.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function Ty(n){let{currentRangeUnit:e}=n;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let t=hs(n.currentRange.start,n.currentRange.end);return t!==null&&t>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class xy{constructor(e){this.computeCurrentViewData=st(this._computeCurrentViewData),this.organizeRawLocales=st(Rm),this.buildLocale=st(xd),this.buildPluginHooks=km(),this.buildDateEnv=st(Dy),this.buildTheme=st(_y),this.parseToolbars=st(sy),this.buildViewSpecs=st(Fm),this.buildDateProfileGenerator=as(Ry),this.buildViewApi=st(Oy),this.buildViewUiProps=as(ky),this.buildEventUiBySource=st(My,En),this.buildEventUiBases=st(Iy),this.parseContextBusinessHours=as(Py),this.buildTitle=st(Cy),this.emitter=new _s,this.actionRunner=new Ay(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=S=>{this.actionRunner.request(S)},this.props=e,this.actionRunner.pause();let t={},i=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),r=i.calendarOptions.initialView||i.pluginHooks.initialView,o=this.computeCurrentViewData(r,i,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(o.options);let l=Av(i.calendarOptions,i.dateEnv),d=o.dateProfileGenerator.build(l);Wn(d.activeRange,l)||(l=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 S of i.pluginHooks.contextInit)S(f);let v=Ym(i.calendarOptions,d,f),g={dynamicOptionOverrides:t,currentViewType:r,currentDate:l,dateProfile:d,businessHours:this.parseContextBusinessHours(f),eventSources:v,eventUiBases:{},eventStore:cn(),renderableEventStore:cn(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(f).selectionConfig},y=Object.assign(Object.assign({},f),g);for(let S of i.pluginHooks.reducers)Object.assign(g,S(null,null,y));aa(g,f)&&this.emitter.trigger("loading",!0),this.state=g,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:r}=this,o=Wm(i.dynamicOptionOverrides,e),l=this.computeOptionsData(t.optionOverrides,o,t.calendarApi),d=Um(i.currentViewType,e),f=this.computeCurrentViewData(d,l,t.optionOverrides,o);t.calendarApi.currentDataManager=this,r.setThisContext(t.calendarApi),r.setOptions(f.options);let v={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:r,getCurrentData:this.getCurrentData},{currentDate:g,dateProfile:y}=i;this.data&&this.data.dateProfileGenerator!==f.dateProfileGenerator&&(y=f.dateProfileGenerator.build(g)),g=wv(g,e),y=Gm(y,e,g,f.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!Wn(y.currentRange,g))&&(g=y.currentRange.start);let S=Zm(i.eventSources,e,y,v),E=Hv(i.eventStore,e,S,y,v),D=_d(S)&&!f.options.progressiveEventRendering&&i.renderableEventStore||E,{eventUiSingleBase:x,selectionConfig:O}=this.buildViewUiProps(v),j=this.buildEventUiBySource(S),U=this.buildEventUiBases(D.defs,x,j),Y={dynamicOptionOverrides:o,currentViewType:d,currentDate:g,dateProfile:y,eventSources:S,eventStore:E,renderableEventStore:D,selectionConfig:O,eventUiBases:U,businessHours:this.parseContextBusinessHours(v),dateSelection:ty(i.dateSelection,e),eventSelection:ny(i.eventSelection,e),eventDrag:ry(i.eventDrag,e),eventResize:iy(i.eventResize,e)},re=Object.assign(Object.assign({},v),Y);for(let W of l.pluginHooks.reducers)Object.assign(Y,W(i,e,re));let se=aa(i,v),J=aa(Y,v);!se&&J?r.trigger("loading",!0):se&&!J&&r.trigger("loading",!1),this.state=Y,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,i=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),l=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,o.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),o),t),d=r.pluginHooks.optionChangeHandlers,f=i&&i.calendarOptions,v=r.calendarOptions;if(f&&f!==v){f.timeZone!==v.timeZone&&(t.eventSources=l.eventSources=Qm(l.eventSources,t.dateProfile,l),t.eventStore=l.eventStore=Vv(l.eventStore,i.dateEnv,l.dateEnv));for(let g in d)(this.optionsForHandling.indexOf(g)!==-1||f[g]!==v[g])&&d[g](v[g],l)}this.optionsForHandling=[],e.onData&&e.onData(l)}computeOptionsData(e,t,i){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:r,pluginHooks:o,localeDefaults:l,availableLocaleData:d,extra:f}=this.processRawCalendarOptions(e,t);ru(f);let v=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,o,d,r.defaultRangeSeparator),g=this.buildViewSpecs(o.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,l),y=this.buildTheme(r,o),S=this.parseToolbars(r,this.stableOptionOverrides,y,g,i);return this.stableCalendarOptionsData={calendarOptions:r,pluginHooks:o,dateEnv:v,viewSpecs:g,theme:y,toolbarConfig:S,localeDefaults:l,availableRawLocales:d.map}}processRawCalendarOptions(e,t){let{locales:i,locale:r}=qo([ri,e,t]),o=this.organizeRawLocales(i),l=o.map,d=this.buildLocale(r||o.defaultCode,l).options,f=this.buildPluginHooks(e.plugins||[],wy),v=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Nc),jc),Hc),f.listenerRefiners),f.optionRefiners),g={},y=qo([ri,d,e,t]),S={},E=this.currentCalendarOptionsInput,C=this.currentCalendarOptionsRefined,D=!1;for(let x in y)this.optionsForRefining.indexOf(x)===-1&&(y[x]===E[x]||or[x]&&x in E&&or[x](E[x],y[x]))?S[x]=C[x]:v[x]?(S[x]=v[x](y[x]),D=!0):g[x]=E[x];return D&&(this.currentCalendarOptionsInput=y,this.currentCalendarOptionsRefined=S,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:g}}_computeCurrentViewData(e,t,i,r){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:l,extra:d}=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,i,r);ru(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:l.slotMinTime,slotMaxTime:l.slotMaxTime,showNonCurrentDates:l.showNonCurrentDates,dayCount:l.dayCount,dateAlignment:l.dateAlignment,dateIncrement:l.dateIncrement,hiddenDays:l.hiddenDays,weekends:l.weekends,nowInput:l.now,validRangeInput:l.validRange,visibleRangeInput:l.visibleRange,fixedWeekCount:l.fixedWeekCount}),v=this.buildViewApi(e,this.getCurrentData,t.dateEnv);return{viewSpec:o,options:l,dateProfileGenerator:f,viewApi:v}}processRawViewOptions(e,t,i,r,o){let l=qo([ri,e.optionDefaults,i,r,e.optionOverrides,o]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Nc),jc),Hc),ev),t.listenerRefiners),t.optionRefiners),f={},v=this.currentViewOptionsInput,g=this.currentViewOptionsRefined,y=!1,S={};for(let E in l)l[E]===v[E]||or[E]&&or[E](l[E],v[E])?f[E]=g[E]:(l[E]===this.currentCalendarOptionsInput[E]||or[E]&&or[E](l[E],this.currentCalendarOptionsInput[E])?E in this.currentCalendarOptionsRefined&&(f[E]=this.currentCalendarOptionsRefined[E]):d[E]?f[E]=d[E](l[E]):S[E]=l[E],y=!0);return y&&(this.currentViewOptionsInput=l,this.currentViewOptionsRefined=f),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:S}}}function Dy(n,e,t,i,r,o,l,d){let f=xd(e||l.defaultCode,l.map);return new uv({calendarSystem:"gregory",timeZone:n,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:f,weekNumberCalculation:t,firstDay:i,weekText:r,cmdFormatter:o.cmdFormatter,defaultSeparator:d})}function _y(n,e){let t=e.themeClasses[n.themeSystem]||Qn;return new t(n)}function Ry(n){let e=n.dateProfileGeneratorClass||Qu;return new e(n)}function Oy(n,e,t){return new ay(n,e,t)}function My(n){return gr(n,e=>e.ui)}function Iy(n,e,t){let i={"":e};for(let r in n){let o=n[r];o.sourceId&&t[o.sourceId]&&(i[r]=t[o.sourceId])}return i}function ky(n){let{options:e}=n;return{eventUiSingleBase:ys({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:ys({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},n)}}function aa(n,e){for(let t of e.pluginHooks.isLoadingFuncs)if(t(n))return!0;return!1}function Py(n){return Zv(n.options.businessHours,n)}function ru(n,e){for(let t in n)console.warn(`Unknown option '${t}'`+(e?` for view '${e}'`:""))}class Ny extends Et{render(){let e=this.props.widgetGroups.map(t=>this.renderWidgetGroup(t));return Z("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:t}=this,{theme:i}=this.context,r=[],o=!0;for(let l of e){let{buttonName:d,buttonClick:f,buttonText:v,buttonIcon:g,buttonHint:y}=l;if(d==="title")o=!1,r.push(Z("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let S=d===t.activeButton,E=!t.isTodayEnabled&&d==="today"||!t.isPrevEnabled&&d==="prev"||!t.isNextEnabled&&d==="next",C=[`fc-${d}-button`,i.getClass("button")];S&&C.push(i.getClass("buttonActive")),r.push(Z("button",{type:"button",title:typeof y=="function"?y(t.navUnit):y,disabled:E,"aria-pressed":S,className:C.join(" "),onClick:f},v||(g?Z("span",{className:g}):"")))}}if(r.length>1){let l=o&&i.getClass("buttonGroup")||"";return Z("div",{className:l},...r)}return r[0]}}class iu extends Et{render(){let{model:e,extraClassName:t}=this.props,i=!1,r,o,l=e.sectionWidgets,d=l.center;return l.left?(i=!0,r=l.left):r=l.start,l.right?(i=!0,o=l.right):o=l.end,Z("div",{className:[t||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",r||[]),this.renderSection("center",d||[]),this.renderSection("end",o||[]))}renderSection(e,t){let{props:i}=this;return Z(Ny,{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 jy extends Et{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,In(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:i}=e,r=["fc-view-harness",i||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",l="";return i?t.availableWidth!==null?o=t.availableWidth/i:l=`${1/i*100}%`:o=e.height||"",Z("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:l}},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 Hy extends Br{constructor(e){super(e),this.handleSegClick=(t,i)=>{let{component:r}=this,{context:o}=r,l=Hr(i);if(l&&r.isValidSegDownEl(t.target)){let d=$t(t.target,".fc-event-forced-url"),f=d?d.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:i,event:new mt(r.context,l.eventRange.def,l.eventRange.instance),jsEvent:t,view:o.viewApi}),f&&!t.defaultPrevented&&(window.location.href=f)}},this.destroy=Nu(e.el,"click",".fc-event",this.handleSegClick)}}class $y extends Br{constructor(e){super(e),this.handleEventElRemove=t=>{t===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(t,i)=>{Hr(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=ap(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,i){let{component:r}=this,{context:o}=r,l=Hr(i);(!t||r.isValidSegDownEl(t.target))&&o.emitter.trigger(e,{el:i,event:new mt(o,l.eventRange.def,l.eventRange.instance),jsEvent:t,view:o.viewApi})}}class By extends yr{constructor(){super(...arguments),this.buildViewContext=st(hv),this.buildViewPropTransformers=st(Vy),this.buildToolbarProps=st(Fy),this.headerRef=Mn(),this.footerRef=Mn(),this.interactionsStore={},this.state={viewLabelId:Cs()},this.registerInteractiveComponent=(e,t)=>{let i=mg(e,t),l=[Hy,$y].concat(this.props.pluginHooks.componentInteractions).map(d=>new d(i));this.interactionsStore[e.uid]=l,va[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 va[e.uid]},this.resizeRunner=new wa(()=>{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,r=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,di(e.options.now,e.dateEnv),e.viewTitle),o=!1,l="",d;e.isHeightAuto||e.forPrint?l="":i.height!=null?o=!0:i.contentHeight!=null?l=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),v=t.header&&t.header.hasTitle?this.state.viewLabelId:"";return Z(mr.Provider,{value:f},t.header&&Z(iu,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:t.header,titleId:v},r)),Z(jy,{liquid:o,height:l,aspectRatio:d,labeledById:v},this.renderView(e),this.buildAppendContent()),t.footer&&Z(iu,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:t.footer,titleId:""},r)))}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 r in i)t[r]!==e[r]&&i[r](t[r],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 Z(wt,{},...t)}renderView(e){let{pluginHooks:t}=e,{viewSpec:i}=e,r={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(r,d.transform(r,e));let l=i.component;return Z(l,Object.assign({},r))}}function Fy(n,e,t,i,r,o){let l=t.build(r,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:l.isValid&&!Wn(e.currentRange,r),isPrevEnabled:d.isValid,isNextEnabled:f.isValid}}function Vy(n){return n.map(e=>new e)}class zy extends yg{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;$c(()=>{ai(Z(gg,{options:i.calendarOptions,theme:i.theme,emitter:i.emitter},(r,o,l,d)=>(this.setClassNames(r),this.setHeight(o),Z(Wu.Provider,{value:this.customContentRenderId},Z(By,Object.assign({isHeightAuto:l,forPrint:d},i))))),this.el)})}else this.isRendered&&(this.isRendered=!1,ai(null,this.el),this.setClassNames([]),this.setHeight(""))},Jh(e),this.el=e,this.renderRunner=new wa(this.handleRenderRequest),new xy({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(){$c(()=>{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(!Gn(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){ku(this.el,"height",e)}}const Uy={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0},ts=typeof document!="undefined"?document.createDocumentFragment():null,Wy=At.extend({render(n){return n("aside",{style:{display:"none"}},this.$slots.default||[])},mounted(){ts&&ts.appendChild(this.$el)},beforeDestroy(){ts&&ts.removeChild(this.$el)}}),Gy=Wy,cr=typeof document!="undefined"?document.createDocumentFragment():null,Yy=At.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(){su(this.$el,this.inPlaceOf),this.inPlaceOf.style.display="none",this.reportEl(this.$el)},updated(){cr&&this.inPlaceOf.parentNode!==cr&&(su(this.$el,this.inPlaceOf),this.reportEl(this.$el))},beforeDestroy(){cr&&this.inPlaceOf.parentNode===cr&&cr.removeChild(this.inPlaceOf),this.reportEl(null)}}),Zy=Yy;function su(n,e){var t;(t=e.parentNode)===null||t===void 0||t.insertBefore(n,e.nextSibling),cr&&cr.appendChild(e)}const Qy=At.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:Ky(this.$scopedSlots),handleCustomRendering:this.handleCustomRendering,customRenderingReplacesEl:!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(Zy,{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(Gy,e)])},mounted(){const n=new Dm;this.handleCustomRendering=n.handle.bind(n);const e=this.buildOptions(this.options),t=new zy(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:Xy()}),kd=Qy;function Xy(){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 Uy)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 Ky(n){const e={};for(const t in n)e[Jy(t)]=n[t];return e}function Jy(n){return n.split("-").map((e,t)=>t?qy(e):e).join("")}function qy(n){return n.charAt(0).toUpperCase()+n.slice(1)}let ou=!1;function e1(n){ou||(ou=!0,n.component("FullCalendar",kd))}let Es;typeof globalThis!="undefined"?Es=globalThis.Vue:Es=window.Vue;Es&&Es.use({install:e1});class t1 extends br{constructor(){super(...arguments),this.headerElRef=Mn()}renderSimpleLayout(e,t){let{props:i,context:r}=this,o=[],l=Kc(r.options);return e&&o.push({type:"header",key:"header",isSticky:l,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),Z(Bc,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},Z(Ld,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[],sections:o}))}renderHScrollLayout(e,t,i,r){let o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");let{props:l,context:d}=this,f=!l.forPrint&&Kc(d.options),v=!l.forPrint&&lm(d.options),g=[];return e&&g.push({type:"header",key:"header",isSticky:f,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),g.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),v&&g.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:am}]}),Z(Bc,{elClasses:["fc-daygrid"],viewSpec:d.viewSpec},Z(o,{liquid:!l.isHeightAuto&&!l.forPrint,forPrint:l.forPrint,collapsibleWidth:l.forPrint,colGroups:[{cols:[{span:i,minWidth:r}]}],sections:g}))}}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 rs(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 au(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 Pd=Mt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Nd(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 jd extends Et{render(){let{props:e}=this;return Z(um,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Pd,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class Hd extends Et{render(){let{props:e,context:t}=this,{options:i}=t,{seg:r}=e,o=i.eventTimeFormat||Pd,l=od(r,o,t,!0,e.defaultDisplayEventEnd);return Z(Ga,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:ad(e.seg,t),defaultGenerator:n1,timeText:l,isResizing:!1,isDateSelecting:!1}))}}function n1(n){return Z(wt,null,Z("div",{className:"fc-daygrid-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}}),n.timeText&&Z("div",{className:"fc-event-time"},n.timeText),Z("div",{className:"fc-event-title"},n.event.title||Z(wt,null,"\xA0")))}class r1 extends Et{constructor(){super(...arguments),this.compileSegs=st(i1)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:i}=this.compileSegs(e.singlePlacements);return Z(Em,{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 r=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return Z(wt,null,t.map(o=>{let l=o.eventRange.instance.instanceId;return Z("div",{className:"fc-daygrid-event-harness",key:l,style:{visibility:r[l]?"hidden":""}},Nd(o)?Z(Hd,Object.assign({seg:o,isDragging:!1,isSelected:l===e.eventSelection,defaultDisplayEventEnd:!1},ii(o,e.todayRange))):Z(jd,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:l===e.eventSelection,defaultDisplayEventEnd:!1},ii(o,e.todayRange))))}))}})}}function i1(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 s1=Mt({week:"narrow"});class o1 extends br{constructor(){super(...arguments),this.rootElRef=Mn(),this.state={dayNumberId:Cs()},this.handleRootEl=e=>{In(this.rootElRef,e),In(this.props.elRef,e)}}render(){let{context:e,props:t,state:i,rootElRef:r}=this,{options:o,dateEnv:l}=e,{date:d,dateProfile:f}=t;const v=t.showDayNumber&&l1(d,f.currentRange,l);return Z(wd,{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:a1,date:d,dateProfile:f,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:v,extraRenderProps:t.extraRenderProps},(g,y)=>Z("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&Z(mm,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:ga(e,d,"week"),date:d,defaultFormat:s1}),!y.isDisabled&&(t.showDayNumber||Ad(o)||t.forceDayTop)?Z("div",{className:"fc-daygrid-day-top"},Z(g,{elTag:"a",elClasses:["fc-daygrid-day-number",v&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},ga(e,d)),{id:i.dayNumberId})})):t.showDayNumber?Z("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},Z("a",{className:"fc-daygrid-day-number"},"\xA0")):void 0,Z("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,Z("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},Z(r1,{allDayDate:d,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:r,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),Z("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function a1(n){return n.dayNumberText||Z(wt,null,"\xA0")}function l1(n,e,t){const{start:i,end:r}=e,o=Yn(r,-1),l=t.getYear(i),d=t.getMonth(i),f=t.getYear(o),v=t.getMonth(o);return!(l===f&&d===v)&&Boolean(n.valueOf()===i.valueOf()||t.getDay(n)===1&&n.valueOf()<r.valueOf())}function c1(n,e,t,i,r,o,l){let d=new f1;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=[],v=[];for(let O=0;O<n.length;O+=1){let j=n[O],{instanceId:U}=j.eventRange.instance,Y=r[U];Y!=null?f.push({index:O,thickness:Y,span:{start:j.firstCol,end:j.lastCol+1}}):v.push(j)}let g=d.addSegs(f),y=d.toRects(),{singleColPlacements:S,multiColPlacements:E,leftoverMargins:C}=u1(y,n,l),D=[],x=[];for(let O of v){E[O.firstCol].push({seg:O,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let j=O.firstCol;j<=O.lastCol;j+=1)S[j].push({seg:Pr(O,j,j+1,l),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let O=0;O<l.length;O+=1)D.push(0);for(let O of g){let j=n[O.index],U=O.span;E[U.start].push({seg:Pr(j,U.start,U.end,l),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let Y=U.start;Y<U.end;Y+=1)D[Y]+=1,S[Y].push({seg:Pr(j,Y,Y+1,l),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let O=0;O<l.length;O+=1)x.push(C[O]);return{singleColPlacements:S,multiColPlacements:E,moreCnts:D,moreMarginTops:x}}function u1(n,e,t){let i=d1(n,t.length),r=[],o=[],l=[];for(let d=0;d<t.length;d+=1){let f=i[d],v=[],g=0,y=0;for(let E of f){let C=e[E.index];v.push({seg:Pr(C,d,d+1,t),isVisible:!0,isAbsolute:!1,absoluteTop:E.levelCoord,marginTop:E.levelCoord-g}),g=E.levelCoord+E.thickness}let S=[];g=0,y=0;for(let E of f){let C=e[E.index],D=E.span.end-E.span.start>1,x=E.span.start===d;y+=E.levelCoord-g,g=E.levelCoord+E.thickness,D?(y+=E.thickness,x&&S.push({seg:Pr(C,E.span.start,E.span.end,t),isVisible:!0,isAbsolute:!0,absoluteTop:E.levelCoord,marginTop:0})):x&&(S.push({seg:Pr(C,E.span.start,E.span.end,t),isVisible:!0,isAbsolute:!1,absoluteTop:E.levelCoord,marginTop:y}),y=0)}r.push(v),o.push(S),l.push(y)}return{singleColPlacements:r,multiColPlacements:o,leftoverMargins:l}}function d1(n,e){let t=[];for(let i=0;i<e;i+=1)t.push([]);for(let i of n)for(let r=i.span.start;r<i.span.end;r+=1)t[r].push(i);return t}function Pr(n,e,t,i){if(n.firstCol===e&&n.lastCol===t-1)return n;let r=n.eventRange,o=r.range,l=jr(o,{start:i[e].date,end:Bt(i[t-1].date,1)});return Object.assign(Object.assign({},n),{firstCol:e,lastCol:t-1,eventRange:{def:r.def,ui:Object.assign(Object.assign({},r.ui),{durationEditable:!1}),instance:r.instance,range:l},isStart:n.isStart&&l.start.valueOf()===o.start.valueOf(),isEnd:n.isEnd&&l.end.valueOf()===o.end.valueOf()})}class f1 extends kg{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const t=super.addSegs(e),{entriesByLevel:i}=this,r=o=>!this.forceHidden[si(o)];for(let o=0;o<i.length;o+=1)i[o]=i[o].filter(r);return t}handleInvalidInsertion(e,t,i){const{entriesByLevel:r,forceHidden:o}=this,{touchingEntry:l,touchingLevel:d,touchingLateral:f}=e;if(this.hiddenConsumes&&l){const v=si(l);if(!o[v])if(this.allowReslicing){const g=Object.assign(Object.assign({},l),{span:vd(l.span,t.span)}),y=si(g);o[y]=!0,r[d][f]=g,this.splitEntry(l,t,i)}else o[v]=!0,i.push(l)}return super.handleInvalidInsertion(e,t,i)}}class $d extends br{constructor(){super(...arguments),this.cellElRefs=new ur,this.frameElRefs=new ur,this.fgElRefs=new ur,this.segHarnessRefs=new ur,this.rootElRef=Mn(),this.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:i}=this,{options:r}=i,o=e.cells.length,l=rs(e.businessHourSegs,o),d=rs(e.bgEventSegs,o),f=rs(this.getHighlightSegs(),o),v=rs(this.getMirrorSegs(),o),{singleColPlacements:g,multiColPlacements:y,moreCnts:S,moreMarginTops:E}=c1(qv(e.fgEventSegs,r.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,r.eventOrderStrict,t.eventInstanceHeights,t.maxContentHeight,e.cells),C=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return Z("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((D,x)=>{let O=this.renderFgSegs(x,e.forPrint?g[x]:y[x],e.todayRange,C),j=this.renderFgSegs(x,h1(v[x],y),e.todayRange,{},Boolean(e.eventDrag),Boolean(e.eventResize),!1);return Z(o1,{key:D.key,elRef:this.cellElRefs.createRef(D.key),innerElRef:this.frameElRefs.createRef(D.key),dateProfile:e.dateProfile,date:D.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&x===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:D.extraRenderProps,extraDataAttrs:D.extraDataAttrs,extraClassNames:D.extraClassNames,extraDateSpan:D.extraDateSpan,moreCnt:S[x],moreMarginTop:E[x],singlePlacements:g[x],fgContentElRef:this.fgElRefs.createRef(D.key),fgContent:Z(wt,null,Z(wt,null,O),Z(wt,null,j)),bgContent:Z(wt,null,this.renderFillSegs(f[x],"highlight"),this.renderFillSegs(l[x],"non-business"),this.renderFillSegs(d[x],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let i=this.props;this.updateSizing(!En(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,r,o,l,d){let{context:f}=this,{eventSelection:v}=this.props,{framePositions:g}=this.state,y=this.props.cells.length===1,S=o||l||d,E=[];if(g)for(let C of t){let{seg:D}=C,{instanceId:x}=D.eventRange.instance,O=x+":"+e,j=C.isVisible&&!r[x],U=C.isAbsolute,Y="",re="";U&&(f.isRtl?(re=0,Y=g.lefts[D.lastCol]-g.lefts[D.firstCol]):(Y=0,re=g.rights[D.firstCol]-g.rights[D.lastCol])),E.push(Z("div",{className:"fc-daygrid-event-harness"+(U?" fc-daygrid-event-harness-abs":""),key:O,ref:S?null:this.segHarnessRefs.createRef(O),style:{visibility:j?"":"hidden",marginTop:U?"":C.marginTop,top:U?C.absoluteTop:"",left:Y,right:re}},Nd(D)?Z(Hd,Object.assign({seg:D,isDragging:o,isSelected:x===v,defaultDisplayEventEnd:y},ii(D,i))):Z(jd,Object.assign({seg:D,isDragging:o,isResizing:l,isDateSelecting:d,isSelected:x===v,defaultDisplayEventEnd:y},ii(D,i)))))}return E}renderFillSegs(e,t){let{isRtl:i}=this.context,{todayRange:r}=this.props,{framePositions:o}=this.state,l=[];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]};l.push(Z("div",{key:sg(d.eventRange),className:"fc-daygrid-bg-harness",style:f},t==="bg-event"?Z(pm,Object.assign({seg:d},ii(d,r))):gm(t)))}return Z(wt,{},...l)}updateSizing(e){let{props:t,state:i,frameElRefs:r}=this;if(!t.forPrint&&t.clientWidth!==null){if(e){let f=t.cells.map(v=>r.currentMap[v.key]);if(f.length){let v=this.rootElRef.current,g=new Ss(v,f,!0,!1);(!i.framePositions||!i.framePositions.similarTo(g))&&this.setState({framePositions:new Ss(v,f,!0,!1)})}}const o=this.state.eventInstanceHeights,l=this.queryEventInstanceHeights(),d=t.dayMaxEvents===!0||t.dayMaxEventRows===!0;this.safeSetState({eventInstanceHeights:Object.assign(Object.assign({},o),l),maxContentHeight:d?this.computeMaxContentHeight():null})}}queryEventInstanceHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let i in e){let r=Math.round(e[i].getBoundingClientRect().height),o=i.split(":")[0];t[o]=Math.max(t[o]||0,r)}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])}}$d.addStateEquality({eventInstanceHeights:En});function h1(n,e){if(!n.length)return[];let t=p1(e);return n.map(i=>({seg:i,isVisible:!0,isAbsolute:!0,absoluteTop:t[i.eventRange.instance.instanceId],marginTop:0}))}function p1(n){let e={};for(let t of n)for(let i of t)e[i.seg.eventRange.instance.instanceId]=i.absoluteTop;return e}class v1 extends br{constructor(){super(...arguments),this.splitBusinessHourSegs=st(ns),this.splitBgEventSegs=st(ns),this.splitFgEventSegs=st(ns),this.splitDateSelectionSegs=st(ns),this.splitEventDrag=st(au),this.splitEventResize=st(au),this.rowRefs=new ur}render(){let{props:e,context:t}=this,i=e.cells.length,r=this.splitBusinessHourSegs(e.businessHourSegs,i),o=this.splitBgEventSegs(e.bgEventSegs,i),l=this.splitFgEventSegs(e.fgEventSegs,i),d=this.splitDateSelectionSegs(e.dateSelectionSegs,i),f=this.splitEventDrag(e.eventDrag,i),v=this.splitEventResize(e.eventResize,i),g=i>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return Z(Wa,{unit:"day"},(y,S)=>Z(wt,null,e.cells.map((E,C)=>Z($d,{ref:this.rowRefs.createRef(C),key:E.length?E[0].date.toISOString():C,showDayNumbers:i>1,showWeekNumbers:e.showWeekNumbers,todayRange:S,dateProfile:e.dateProfile,cells:E,renderIntro:e.renderRowIntro,businessHourSegs:r[C],eventSelection:e.eventSelection,bgEventSegs:o[C].filter(g1),fgEventSegs:l[C],dateSelectionSegs:d[C],eventDrag:f[C],eventResize:v[C],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:g,forPrint:e.forPrint}))))}componentDidMount(){const e=this.rowRefs.currentMap[0].getCellEls()[0];this.rootEl=e?e.closest(".fc-daygrid-body"):null,this.rootEl&&this.context.registerInteractiveComponent(this,{el:this.rootEl,isHitComboAllowed:this.props.isHitComboAllowed})}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new Ss(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new Ss(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:i,rowPositions:r}=this,o=i.leftToIndex(e),l=r.topToIndex(t);if(l!=null&&o!=null){let d=this.props.cells[l][o];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(l,o),allDay:!0},d.extraDateSpan),dayEl:this.getCellEl(l,o),rect:{left:i.lefts[o],right:i.rights[o],top:r.tops[l],bottom:r.bottoms[l]},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,r=Bt(i,1);return{start:i,end:r}}}function g1(n){return n.eventRange.def.allDay}class m1 extends br{constructor(){super(...arguments),this.elRef=Mn(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:i,expandRows:r}=e,o=i===!0||t===!0;o&&!r&&(o=!1,t=null,i=null);let l=["fc-daygrid-body",o?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return Z("div",{ref:this.elRef,className:l.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},Z("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,Z("tbody",{role:"presentation"},Z(v1,{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=y1(this.elRef.current,this.props.dateProfile);if(e){const t=e.closest(".fc-daygrid-body"),i=t.closest(".fc-scroller"),r=e.getBoundingClientRect().top-t.getBoundingClientRect().top;i.scrollTop=r?r+1:0}this.needsScrollReset=!1}}}function y1(n,e){let t;return e.currentRangeUnit.match(/year|month/)&&(t=n.querySelector(`[data-date="${Hp(e.currentDate)}-01"]`)),t||(t=n.querySelector(`[data-date="${xa(e.currentDate)}"]`)),t}class b1 extends Ug{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class S1 extends br{constructor(){super(...arguments),this.slicer=new b1,this.tableRef=Mn()}render(){let{props:e,context:t}=this;return Z(m1,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 E1 extends t1{constructor(){super(...arguments),this.buildDayTableModel=st(L1),this.headerRef=Mn(),this.tableRef=Mn()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:i}=this,r=this.buildDayTableModel(i.dateProfile,t),o=e.dayHeaders&&Z(Bg,{ref:this.headerRef,dateProfile:i.dateProfile,dates:r.headerDates,datesRepDistinctDays:r.rowCnt===1}),l=d=>Z(S1,{ref:this.tableRef,dateProfile:i.dateProfile,dayTableModel:r,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,l,r.colCnt,e.dayMinWidth):this.renderSimpleLayout(o,l)}}function L1(n,e){let t=new Vg(n.renderRange,e);return new zg(t,/year|month|week/.test(n.currentRangeUnit))}class w1 extends Qu{buildRenderRange(e,t,i){let r=super.buildRenderRange(e,t,i),{props:o}=this;return A1({currentRange:r,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:o.fixedWeekCount,dateEnv:o.dateEnv})}}function A1(n){let{dateEnv:e,currentRange:t}=n,{start:i,end:r}=t,o;if(n.snapToWeek&&(i=e.startOfWeek(i),o=e.startOfWeek(r),o.valueOf()!==r.valueOf()&&(r=Rc(o,1))),n.fixedWeekCount){let l=e.startOfWeek(e.startOfMonth(Bt(t.end,-1))),d=Math.ceil(Tp(l,r));r=Rc(r,6-d)}return{start:i,end:r}}var C1=':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}';Ou(C1);var T1=Zn({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:E1,dateProfileGeneratorClass:w1},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}}}});Ua.touchMouseIgnoreWait=500;let ya=0,Ls=0,ba=!1;class Bd{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=t=>{if(!this.shouldIgnoreMouse()&&x1(t)&&this.tryStart(t)){let i=this.createEventFromMouse(t,!0);this.emitter.trigger("pointerdown",i),this.initScrollWatch(i),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=t=>{let i=this.createEventFromMouse(t);this.recordCoords(i),this.emitter.trigger("pointermove",i)},this.handleMouseUp=t=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(t)),this.cleanup()},this.handleTouchStart=t=>{if(this.tryStart(t)){this.isTouchDragging=!0;let i=this.createEventFromTouch(t,!0);this.emitter.trigger("pointerdown",i),this.initScrollWatch(i);let r=t.target;this.shouldIgnoreMove||r.addEventListener("touchmove",this.handleTouchMove),r.addEventListener("touchend",this.handleTouchEnd),r.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=t=>{let i=this.createEventFromTouch(t);this.recordCoords(i),this.emitter.trigger("pointermove",i)},this.handleTouchEnd=t=>{if(this.isDragging){let i=t.target;i.removeEventListener("touchmove",this.handleTouchMove),i.removeEventListener("touchend",this.handleTouchEnd),i.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(t)),this.cleanup(),this.isTouchDragging=!1,D1()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=t=>{if(!this.shouldIgnoreMove){let i=window.pageXOffset-this.prevScrollX+this.prevPageX,r=window.pageYOffset-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:t,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:i,pageY:r,deltaX:i-this.origPageX,deltaY:r-this.origPageY})}},this.containerEl=e,this.emitter=new _s,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),_1()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),R1()}tryStart(e){let t=this.querySubjectEl(e),i=e.target;return t&&(!this.handleSelector||$t(i,this.handleSelector))?(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){ba=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?$t(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return ya||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(ba=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let i=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(i=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:i,deltaY:r}}createEventFromTouch(e,t){let i=e.touches,r,o,l=0,d=0;return i&&i.length?(r=i[0].pageX,o=i[0].pageY):(r=e.pageX,o=e.pageY),t?(this.origPageX=r,this.origPageY=o):(l=r-this.origPageX,d=o-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:r,pageY:o,deltaX:l,deltaY:d}}}function x1(n){return n.button===0&&!n.ctrlKey}function D1(){ya+=1,setTimeout(()=>{ya-=1},Ua.touchMouseIgnoreWait)}function _1(){Ls+=1,Ls===1&&window.addEventListener("touchmove",Fd,{passive:!1})}function R1(){Ls-=1,Ls||window.removeEventListener("touchmove",Fd,{passive:!1})}function Fd(n){ba&&n.preventDefault()}class O1{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,i){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=i-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let i=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(i,this.revertDuration):setTimeout(i,0)}doRevertAnimation(e,t){let i=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();i.style.transition="top "+t+"ms,left "+t+"ms",ti(i,{left:r.left,top:r.top}),lp(i,()=>{i.style.transition="",e()})}cleanup(){this.mirrorEl&&(Aa(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&ti(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||(t=this.mirrorEl=this.sourceEl.cloneNode(!0),t.style.userSelect="none",t.classList.add("fc-event-dragging"),ti(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class Vd extends za{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class zd extends Vd{constructor(e,t){super(new Mg(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return Rg(this.scrollController.el)}}class M1 extends Vd{constructor(e){super(new Ig,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const lu=typeof performance=="function"?performance.now:Date.now;class I1{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.pageXOffset,this.pointerScreenY+window.pageYOffset);if(e){let t=lu();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,i){this.isEnabled&&(this.scrollCaches=this.buildCaches(i),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let i=e-window.pageXOffset,r=t-window.pageYOffset,o=this.pointerScreenY===null?0:r-this.pointerScreenY,l=this.pointerScreenX===null?0:i-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),l<0?this.everMovedLeft=!0:l>0&&(this.everMovedRight=!0),this.pointerScreenX=i,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(lu()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:i}=e,{edgeThreshold:r}=this,o=r-e.distance,l=o*o/(r*r)*this.maxVelocity*t,d=1;switch(e.name){case"left":d=-1;case"right":i.setScrollLeft(i.getScrollLeft()+l*d);break;case"top":d=-1;case"bottom":i.setScrollTop(i.getScrollTop()+l*d);break}}computeBestEdge(e,t){let{edgeThreshold:i}=this,r=null,o=this.scrollCaches||[];for(let l of o){let d=l.clientRect,f=e-d.left,v=d.right-e,g=t-d.top,y=d.bottom-t;f>=0&&v>=0&&g>=0&&y>=0&&(g<=i&&this.everMovedUp&&l.canScrollUp()&&(!r||r.distance>g)&&(r={scrollCache:l,name:"top",distance:g}),y<=i&&this.everMovedDown&&l.canScrollDown()&&(!r||r.distance>y)&&(r={scrollCache:l,name:"bottom",distance:y}),f<=i&&this.everMovedLeft&&l.canScrollLeft()&&(!r||r.distance>f)&&(r={scrollCache:l,name:"left",distance:f}),v<=i&&this.everMovedRight&&l.canScrollRight()&&(!r||r.distance>v)&&(r={scrollCache:l,name:"right",distance:v}))}return r}buildCaches(e){return this.queryScrollEls(e).map(t=>t===window?new M1(!1):new zd(t,!1))}queryScrollEls(e){let t=[];for(let i of this.scrollQuery)typeof i=="object"?t.push(i):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(i)));return t}}class fi extends Pg{constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=r=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,cp(document.body),dp(document.body),r.isTouch||r.origEvent.preventDefault(),this.emitter.trigger("pointerdown",r),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(r.subjectEl,r.pageX,r.pageY),this.startDelay(r),this.minDistance||this.handleDistanceSurpassed(r)))},this.onPointerMove=r=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",r),!this.isDistanceSurpassed){let o=this.minDistance,l,{deltaX:d,deltaY:f}=r;l=d*d+f*f,l>=o*o&&this.handleDistanceSurpassed(r)}this.isDragging&&(r.origEvent.type!=="scroll"&&(this.mirror.handleMove(r.pageX,r.pageY),this.autoScroller.handleMove(r.pageX,r.pageY)),this.emitter.trigger("dragmove",r))}},this.onPointerUp=r=>{this.isInteracting&&(this.isInteracting=!1,up(document.body),fp(document.body),this.emitter.trigger("pointerup",r),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(r)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let i=this.pointer=new Bd(e);i.emitter.on("pointerdown",this.onPointerDown),i.emitter.on("pointermove",this.onPointerMove),i.emitter.on("pointerup",this.onPointerUp),t&&(i.selector=t),this.mirror=new O1,this.autoScroller=new I1}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class k1{constructor(e){this.origRect=Va(e),this.scrollCaches=pd(e).map(t=>new zd(t,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let i={left:e,top:t};for(let r of this.scrollCaches)if(!P1(r.getEventTarget())&&!bg(i,r.clientRect))return!1;return!0}}function P1(n){let e=n.tagName;return e==="HTML"||e==="BODY"}class Rs{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=i=>{let{dragging:r}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(i),this.initialHit||!this.requireInitial?(r.setIgnoreMove(!1),this.emitter.trigger("pointerdown",i)):r.setIgnoreMove(!0)},this.handleDragStart=i=>{this.emitter.trigger("dragstart",i),this.handleMove(i,!0)},this.handleDragMove=i=>{this.emitter.trigger("dragmove",i),this.handleMove(i)},this.handlePointerUp=i=>{this.releaseHits(),this.emitter.trigger("pointerup",i)},this.handleDragEnd=i=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,i),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",i)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new _s}processFirstCoord(e){let t={left:e.pageX,top:e.pageY},i=t,r=e.subjectEl,o;r instanceof HTMLElement&&(o=Va(r),i=Sg(i,o));let l=this.initialHit=this.queryHitForOffset(i.left,i.top);if(l){if(this.useSubjectCenter&&o){let d=dd(o,l.rect);d&&(i=Eg(d))}this.coordAdjust=Lg(i,t)}else this.coordAdjust={left:0,top:0}}handleMove(e,t){let i=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(t||!Os(this.movingHit,i))&&(this.movingHit=i,this.emitter.trigger("hitupdate",i,!1,e))}prepareHits(){this.offsetTrackers=gr(this.droppableStore,e=>(e.component.prepareHits(),new k1(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:i,offsetTrackers:r}=this,o=null;for(let l in i){let d=i[l].component,f=r[l];if(f&&f.isWithinClipping(e,t)){let v=f.computeLeft(),g=f.computeTop(),y=e-v,S=t-g,{origRect:E}=f,C=E.right-E.left,D=E.bottom-E.top;if(y>=0&&y<C&&S>=0&&S<D){let x=d.queryHit(y,S,C,D);x&&xs(x.dateProfile.activeRange,x.dateSpan.range)&&(!o||x.layer>o.layer)&&(x.componentId=l,x.context=d.context,x.rect.left+=v,x.rect.right+=v,x.rect.top+=g,x.rect.bottom+=g,o=x)}}}return o}}function Os(n,e){return!n&&!e?!0:Boolean(n)!==Boolean(e)?!1:cg(n.dateSpan,e.dateSpan)}function Ud(n,e){let t={};for(let i of e.pluginHooks.datePointTransforms)Object.assign(t,i(n,e));return Object.assign(t,N1(n,e.dateEnv)),t}function N1(n,e){return{date:e.toDate(n.range.start),dateStr:e.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay}}class j1 extends Br{constructor(e){super(e),this.handlePointerDown=i=>{let{dragging:r}=this,o=i.origEvent.target;r.setIgnoreMove(!this.component.isValidDateDownEl(o))},this.handleDragEnd=i=>{let{component:r}=this,{pointer:o}=this.dragging;if(!o.wasTouchScroll){let{initialHit:l,finalHit:d}=this.hitDragging;if(l&&d&&Os(l,d)){let{context:f}=r,v=Object.assign(Object.assign({},Ud(l.dateSpan,f)),{dayEl:l.dayEl,jsEvent:i.origEvent,view:f.viewApi||f.calendarApi.view});f.emitter.trigger("dateClick",v)}}},this.dragging=new fi(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new Rs(this.dragging,Ba(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class H1 extends Br{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=l=>{let{component:d,dragging:f}=this,{options:v}=d.context,g=v.selectable&&d.isValidDateDownEl(l.origEvent.target);f.setIgnoreMove(!g),f.delay=l.isTouch?$1(d):null},this.handleDragStart=l=>{this.component.context.calendarApi.unselect(l)},this.handleHitUpdate=(l,d)=>{let{context:f}=this.component,v=null,g=!1;if(l){let y=this.hitDragging.initialHit;l.componentId===y.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(y,l)||(v=B1(y,l,f.pluginHooks.dateSelectionTransformers)),(!v||!Wg(v,l.dateProfile,f))&&(g=!0,v=null)}v?f.dispatch({type:"SELECT_DATES",selection:v}):d||f.dispatch({type:"UNSELECT_DATES"}),g?Ca():Ta(),d||(this.dragSelection=v)},this.handlePointerUp=l=>{this.dragSelection&&(rd(this.dragSelection,l,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:i}=t.context,r=this.dragging=new fi(e.el);r.touchScrollAllowed=!1,r.minDistance=i.selectMinDistance||0,r.autoScroller.isEnabled=i.dragScroll;let o=this.hitDragging=new Rs(this.dragging,Ba(e));o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),o.emitter.on("hitupdate",this.handleHitUpdate),o.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}function $1(n){let{options:e}=n.context,t=e.selectLongPressDelay;return t==null&&(t=e.longPressDelay),t}function B1(n,e,t){let i=n.dateSpan,r=e.dateSpan,o=[i.range.start,i.range.end,r.range.start,r.range.end];o.sort(mp);let l={};for(let d of t){let f=d(n,e);if(f===!1)return null;f&&Object.assign(l,f)}return l.range={start:o[0],end:o[3]},l.allDay=i.allDay,l}class hi extends Br{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=l=>{let d=l.origEvent.target,{component:f,dragging:v}=this,{mirror:g}=v,{options:y}=f.context,S=f.context;this.subjectEl=l.subjectEl;let E=this.subjectSeg=Hr(l.subjectEl),D=(this.eventRange=E.eventRange).instance.instanceId;this.relevantEvents=Na(S.getCurrentData().eventStore,D),v.minDistance=l.isTouch?0:y.eventDragMinDistance,v.delay=l.isTouch&&D!==f.props.eventSelection?V1(f):null,y.fixedMirrorParent?g.parentNode=y.fixedMirrorParent:g.parentNode=$t(d,".fc"),g.revertDuration=y.dragRevertDuration;let x=f.isValidSegDownEl(d)&&!$t(d,".fc-event-resizer");v.setIgnoreMove(!x),this.isDragging=x&&l.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=l=>{let d=this.component.context,f=this.eventRange,v=f.instance.instanceId;l.isTouch?v!==this.component.props.eventSelection&&d.dispatch({type:"SELECT_EVENT",eventInstanceId:v}):d.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(d.calendarApi.unselect(l),d.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new mt(d,f.def,f.instance),jsEvent:l.origEvent,view:d.viewApi}))},this.handleHitUpdate=(l,d)=>{if(!this.isDragging)return;let f=this.relevantEvents,v=this.hitDragging.initialHit,g=this.component.context,y=null,S=null,E=null,C=!1,D={affectedEvents:f,mutatedEvents:cn(),isEvent:!0};if(l){y=l.context;let x=y.options;g===y||x.editable&&x.droppable?(S=F1(v,l,y.getCurrentData().pluginHooks.eventDragMutationMassagers),S&&(E=$a(f,y.getCurrentData().eventUiBases,S,y),D.mutatedEvents=E,yd(D,l.dateProfile,y)||(C=!0,S=null,E=null,D.mutatedEvents=cn()))):y=null}this.displayDrag(y,D),C?Ca():Ta(),d||(g===y&&Os(v,l)&&(S=null),this.dragging.setMirrorNeedsRevert(!S),this.dragging.setMirrorIsVisible(!l||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=y,this.validMutation=S,this.mutatedRelevantEvents=E)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=l=>{if(this.isDragging){let d=this.component.context,f=d.viewApi,{receivingContext:v,validMutation:g}=this,y=this.eventRange.def,S=this.eventRange.instance,E=new mt(d,y,S),C=this.relevantEvents,D=this.mutatedRelevantEvents,{finalHit:x}=this.hitDragging;if(this.clearDrag(),d.emitter.trigger("eventDragStop",{el:this.subjectEl,event:E,jsEvent:l.origEvent,view:f}),g){if(v===d){let O=new mt(d,D.defs[y.defId],S?D.instances[S.instanceId]:null);d.dispatch({type:"MERGE_EVENTS",eventStore:D});let j={oldEvent:E,event:O,relatedEvents:fr(D,d,S),revert(){d.dispatch({type:"MERGE_EVENTS",eventStore:C})}},U={};for(let Y of d.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(U,Y(g,d));d.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},j),U),{el:l.subjectEl,delta:g.datesDelta,jsEvent:l.origEvent,view:f})),d.emitter.trigger("eventChange",j)}else if(v){let O={event:E,relatedEvents:fr(C,d,S),revert(){d.dispatch({type:"MERGE_EVENTS",eventStore:C})}};d.emitter.trigger("eventLeave",Object.assign(Object.assign({},O),{draggedEl:l.subjectEl,view:f})),d.dispatch({type:"REMOVE_EVENTS",eventStore:C}),d.emitter.trigger("eventRemove",O);let j=D.defs[y.defId],U=D.instances[S.instanceId],Y=new mt(v,j,U);v.dispatch({type:"MERGE_EVENTS",eventStore:D});let re={event:Y,relatedEvents:fr(D,v,U),revert(){v.dispatch({type:"REMOVE_EVENTS",eventStore:D})}};v.emitter.trigger("eventAdd",re),l.isTouch&&v.dispatch({type:"SELECT_EVENT",eventInstanceId:S.instanceId}),v.emitter.trigger("drop",Object.assign(Object.assign({},Ud(x.dateSpan,v)),{draggedEl:l.subjectEl,jsEvent:l.origEvent,view:x.context.viewApi})),v.emitter.trigger("eventReceive",Object.assign(Object.assign({},re),{draggedEl:l.subjectEl,view:x.context.viewApi}))}}else d.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:t}=this,{options:i}=t.context,r=this.dragging=new fi(e.el);r.pointer.selector=hi.SELECTOR,r.touchScrollAllowed=!1,r.autoScroller.isEnabled=i.dragScroll;let o=this.hitDragging=new Rs(this.dragging,va);o.useSubjectCenter=e.useEventCenter,o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),o.emitter.on("hitupdate",this.handleHitUpdate),o.emitter.on("pointerup",this.handlePointerUp),o.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let i=this.component.context,r=this.receivingContext;r&&r!==e&&(r===i?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:cn(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}hi.SELECTOR=".fc-event-draggable, .fc-event-resizable";function F1(n,e,t){let i=n.dateSpan,r=e.dateSpan,o=i.range.start,l=r.range.start,d={};i.allDay!==r.allDay&&(d.allDay=r.allDay,d.hasEnd=e.context.options.allDayMaintainDuration,r.allDay&&(o=gt(o)));let f=Ir(o,l,n.context.dateEnv,n.componentId===e.componentId?n.largeUnit:null);f.milliseconds&&(d.allDay=!1);let v={datesDelta:f,standardProps:d};for(let g of t)g(v,n,e);return v}function V1(n){let{options:e}=n.context,t=e.eventLongPressDelay;return t==null&&(t=e.longPressDelay),t}class z1 extends Br{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=o=>{let{component:l}=this,d=this.querySegEl(o),f=Hr(d),v=this.eventRange=f.eventRange;this.dragging.minDistance=l.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(o.origEvent.target)||o.isTouch&&this.component.props.eventSelection!==v.instance.instanceId)},this.handleDragStart=o=>{let{context:l}=this.component,d=this.eventRange;this.relevantEvents=Na(l.getCurrentData().eventStore,this.eventRange.instance.instanceId);let f=this.querySegEl(o);this.draggingSegEl=f,this.draggingSeg=Hr(f),l.calendarApi.unselect(),l.emitter.trigger("eventResizeStart",{el:f,event:new mt(l,d.def,d.instance),jsEvent:o.origEvent,view:l.viewApi})},this.handleHitUpdate=(o,l,d)=>{let{context:f}=this.component,v=this.relevantEvents,g=this.hitDragging.initialHit,y=this.eventRange.instance,S=null,E=null,C=!1,D={affectedEvents:v,mutatedEvents:cn(),isEvent:!0};o&&(o.componentId===g.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(g,o)||(S=U1(g,o,d.subjectEl.classList.contains("fc-event-resizer-start"),y.range))),S&&(E=$a(v,f.getCurrentData().eventUiBases,S,f),D.mutatedEvents=E,yd(D,o.dateProfile,f)||(C=!0,S=null,E=null,D.mutatedEvents=null)),E?f.dispatch({type:"SET_EVENT_RESIZE",state:D}):f.dispatch({type:"UNSET_EVENT_RESIZE"}),C?Ca():Ta(),l||(S&&Os(g,o)&&(S=null),this.validMutation=S,this.mutatedRelevantEvents=E)},this.handleDragEnd=o=>{let{context:l}=this.component,d=this.eventRange.def,f=this.eventRange.instance,v=new mt(l,d,f),g=this.relevantEvents,y=this.mutatedRelevantEvents;if(l.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:v,jsEvent:o.origEvent,view:l.viewApi}),this.validMutation){let S=new mt(l,y.defs[d.defId],f?y.instances[f.instanceId]:null);l.dispatch({type:"MERGE_EVENTS",eventStore:y});let E={oldEvent:v,event:S,relatedEvents:fr(y,l,f),revert(){l.dispatch({type:"MERGE_EVENTS",eventStore:g})}};l.emitter.trigger("eventResize",Object.assign(Object.assign({},E),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||it(0),endDelta:this.validMutation.endDelta||it(0),jsEvent:o.origEvent,view:l.viewApi})),l.emitter.trigger("eventChange",E)}else l.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:t}=e,i=this.dragging=new fi(e.el);i.pointer.selector=".fc-event-resizer",i.touchScrollAllowed=!1,i.autoScroller.isEnabled=t.context.options.dragScroll;let r=this.hitDragging=new Rs(this.dragging,Ba(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return $t(e.subjectEl,".fc-event")}}function U1(n,e,t,i){let r=n.context.dateEnv,o=n.dateSpan.range.start,l=e.dateSpan.range.start,d=Ir(o,l,r,n.largeUnit);if(t){if(r.add(i.start,d)<i.end)return{startDelta:d}}else if(r.add(i.end,d)>i.start)return{endDelta:d};return null}class W1{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=i=>{i.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=i=>{let r=this.context.options.unselectCancel,o=Pu(i.origEvent);this.matchesCancel=!!$t(o,r),this.matchesEvent=!!$t(o,hi.SELECTOR)},this.onDocumentPointerUp=i=>{let{context:r}=this,{documentPointer:o}=this,l=r.getCurrentData();if(!o.wasTouchScroll){if(l.dateSelection&&!this.isRecentPointerDateSelect){let d=r.options.unselectAuto;d&&(!d||!this.matchesCancel)&&r.calendarApi.unselect(i)}l.eventSelection&&!this.matchesEvent&&r.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new Bd(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}const G1={fixedMirrorParent:G},Y1={dateClick:G,eventDragStart:G,eventDragStop:G,eventDrop:G,eventResizeStart:G,eventResizeStop:G,eventResize:G,drop:G,eventReceive:G,eventLeave:G};Ua.dataAttrPrefix="";var Z1=Zn({name:"@fullcalendar/interaction",componentInteractions:[j1,H1,hi,z1],calendarInteractions:[W1],elementDraggingImpl:fi,optionRefiners:G1,listenerRefiners:Y1});const Q1={components:{FullCalendar:kd},props:["events"],data(){return{calendarOptions:{plugins:[T1,Z1],initialView:"dayGridMonth",contentHeight:"auto",locale:"cs",buttonText:{today:"dnes"},events:JSON.parse(this.events)}}}};var X1=function(){var e=this,t=e._self._c;return t("FullCalendar",{attrs:{options:e.calendarOptions}})},K1=[],J1=_t(Q1,X1,K1,!1,null,null,null,null);const q1=J1.exports,eb={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\u010Desk\xFD 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\u0148sk\xFD 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\xFD 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\xFD 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\xEDnsk\xFD 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\u010Dina",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\u0159edo\u010Desk\xFD 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\xED m\u011Bsto 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:"\xDAsteck\xFD 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\xFD 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\xE1lov\xE9hradeck\xFD 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\xFD 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\xFD 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\xFD 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 tb=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-xl 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(r){e.current=i},mouseout:function(r){e.current=null},click:function(r){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)])])])},nb=[],rb=_t(eb,tb,nb,!1,null,null,null,null);const ib=rb.exports,sb={components:{VueSlickCarousel:Ea},name:"InstagramCarousel",data:()=>({settings:{dots:!1,infinite:!1,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1600,settings:{slidesToShow:3}},{breakpoint:1200,settings:{slidesToShow:3}},{breakpoint:900,settings:{slidesToShow:2}},{breakpoint:500,settings:{slidesToShow:1}}]}})};var ob=function(){var e=this,t=e._self._c;return t("vue-slick-carousel",e._b({staticClass:"instagram-carousel"},"vue-slick-carousel",e.settings,!1),[e._t("default")],2)},ab=[],lb=_t(sb,ob,ab,!1,null,null,null,null);const cb=lb.exports,ub={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 db=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)},fb=[],hb=_t(ub,db,fb,!1,null,null,null,null);const pb=hb.exports;var dr=Sa.exports;dr="default"in dr?dr.default:dr;var vb="2.2.2",gb=/^2\./.test(dr.version);gb||dr.util.warn("VueClickaway "+vb+" only supports Vue 2.x, and does not support Vue "+dr.version);var ws="_vue_clickaway_handler";function cu(n,e,t){Wd(n);var i=t.context,r=e.value;if(typeof r=="function"){var o=!1;setTimeout(function(){o=!0},0),n[ws]=function(l){var d=l.path||(l.composedPath?l.composedPath():void 0);if(o&&(d?d.indexOf(n)<0:!n.contains(l.target)))return r.call(i,l)},document.documentElement.addEventListener("click",n[ws],!1)}}function Wd(n){document.documentElement.removeEventListener("click",n[ws],!1),delete n[ws]}var mb={bind:cu,update:function(n,e){e.value!==e.oldValue&&cu(n,e)},unbind:Wd},yb={directives:{onClickaway:mb}},bb=yb;const Sb={name:"Popout",mixins:[bb],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 Eb=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",on:{click:e.toggle}},[t("div",{staticClass:"popout__toggle-wrapper",class:{"popout__toggle-wrapper--active":e.active}},[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)},Lb=[],wb=_t(Sb,Eb,Lb,!1,null,null,null,null);const Ab=wb.exports,Cb={name:"PopoutContent",inject:["sharedState"],computed:{active(){return this.sharedState.active}}};var Tb=function(){var e=this,t=e._self._c;return e.active?t("ul",{staticClass:"popout__content-wrapper"},[e._t("default")],2):e._e()},xb=[],Db=_t(Cb,Tb,xb,!1,null,null,null,null);const _b=Db.exports,Rb={name:"PopoutItem"};var Ob=function(){var e=this,t=e._self._c;return t("li",[e._t("default")],2)},Mb=[],Ib=_t(Rb,Ob,Mb,!1,null,null,null,null);const kb=Ib.exports,Pb={data(){return{show:!1}},props:{href:{type:String},label:{type:String}},methods:{onMouseEnter(){Sn()&&(this.$data.show=!0)},onMouseLeave(){Sn()&&(this.$data.show=!1)},handleClick(n){(Sn()||this.$data.show)&&this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}}};var Nb=function(){var e=this,t=e._self._c;return t("div",{on:{mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave}},[e.href?e._e():t("span",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":e.show},on:{click:e.handleClick}},[e._v(e._s(e.label))]),e.href?t("a",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":e.show},attrs:{href:e.href},on:{click:function(i){return i.preventDefault(),e.handleClick.apply(null,arguments)}}},[e._v(e._s(e.label))]):e._e(),t("div",{staticClass:"navbar-menu__submenu-wrap",class:{"navbar-menu__submenu-wrap--show":e.show}},[e._t("default")],2)])},jb=[],Hb=_t(Pb,Nb,jb,!1,null,null,null,null);const $b=Hb.exports,Bb={data(){return{show:!1,parsedItems:JSON.parse(this.items)}},props:{href:{type:String},label:{type:String},items:{type:String}},methods:{onMouseEnter(){Sn()&&(this.$data.show=!0)},onMouseLeave(){Sn()&&(this.$data.show=!1)},handleClick(n){(Sn()||this.$data.show)&&this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}}};var Fb=function(){var e=this,t=e._self._c;return t("div",{on:{mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave}},[e.href?e._e():t("span",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":e.show},on:{click:e.handleClick}},[e._v(e._s(e.label))]),e.href?t("a",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":e.show},attrs:{href:e.href},on:{click:function(i){return i.preventDefault(),e.handleClick.apply(null,arguments)}}},[e._v(e._s(e.label))]):e._e(),t("div",{staticClass:"navbar-menu__submenu-wrap",class:{"navbar-menu__submenu-wrap--show":e.show}},[t("ul",{staticClass:"navbar-menu__submenu"},e._l(e.parsedItems,function(i,r){return t("li",{key:r},[t("a",{staticClass:"navbar-menu__link",attrs:{href:i[1]}},[e._v(e._s(i[0]))])])}),0)])])},Vb=[],zb=_t(Bb,Fb,Vb,!1,null,null,null,null);const Ub=zb.exports,Wb={components:{UiNavbarSubitem:$b,UiNavbarSubitemReplacing:Ub},data(){return{isLgScreenSize:Sn(),show:!1,resizeHandler:()=>{this.$data.isLgScreenSize=Sn()}}},mounted(){this.$nextTick(()=>{window.addEventListener("resize",this.$data.resizeHandler)})},beforeDestroy(){window.removeEventListener("resize",this.$data.resizeHandler)}},Gb=null,Yb=null;var Zb=_t(Wb,Gb,Yb,!1,null,null,null,null);const Qb=Zb.exports,Xb={data(){return{isLgScreenSize:Sn(),show:!1,resizeHandler:()=>{this.$data.isLgScreenSize=Sn()}}},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 Kb=function(){var e=this,t=e._self._c;return t("div",{class:[e.wrapperclass,"footer-collapsible"]},[t("span",{staticClass:"text-xl font-alt uppercase tracking-wide text-white 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.isLgScreenSize,expression:"show || isLgScreenSize"}],class:[e.slotwrapperclass]},[e._t("default")],2)])},Jb=[],qb=_t(Xb,Kb,Jb,!1,null,null,null,null);const e2=qb.exports,t2={name:"flipCountdown",props:{deadline:{type:String},stop:{type:Boolean},units:{type:String,default:"days,hours,minutes,seconds"},clockClasses:{type:String,default:"text-6xl"},slotClasses:{type:String,default:"text-3xl"}},data(){const n=Math.floor(Math.random()*100);return{now:Math.trunc(new Date().getTime()/1e3),date:null,interval:null,diff:0,show:!1,timeData:[{current:0,previous:0,label:"Dn\xED",elementId:"flip-card-days-"+n,show:this.units.indexOf("days")!==-1},{current:0,previous:0,label:"Hod",elementId:"flip-card-hours-"+n,show:this.units.indexOf("hours")!==-1},{current:0,previous:0,label:"Min",elementId:"flip-card-minutes-"+n,show:this.units.indexOf("minutes")!==-1},{current:0,previous:0,label:"Sek",elementId:"flip-card-seconds-"+n,show:this.units.indexOf("seconds")!==-1}]}},created(){if(!this.deadline)throw new Error("Missing props 'deadline'");const n=this.deadline;if(this.date=Math.trunc(Date.parse(n.replace(/-/g,"/"))/1e3),!this.date)throw new Error("Invalid props value, correct the 'deadline'");this.interval=setInterval(()=>{this.now=Math.trunc(new Date().getTime()/1e3)},1e3)},mounted(){this.diff!==0&&(this.show=!0)},watch:{deadline(n,e){const t=this.deadline;if(this.date=Math.trunc(Date.parse(t.replace(/-/g,"/"))/1e3),!this.date)throw new Error("Invalid props value, correct the 'deadline'")},now(n){this.diff=this.date-n,this.diff<=0||this.stop?(this.diff=0,this.updateTime(3,0)):(this.updateTime(0,Math.trunc(this.diff/60/60/24)),this.updateTime(1,Math.trunc(this.diff/60/60)%24),this.updateTime(2,Math.trunc(this.diff/60)%60),this.updateTime(3,Math.trunc(this.diff)%60))}},filters:{twoDigits(n){return n.toString().length<=1?"0"+n.toString():n.toString()}},methods:{updateTime(n,e){if(n>=this.timeData.length||e===void 0)return;const t=()=>{const i=this.timeData[n],r=e<0?0:e,o=document.querySelector(`#${i.elementId}`);if(r!==i.current&&(i.previous=i.current,i.current=r,o&&(o.classList.remove("flip"),o.offsetWidth,o.classList.add("flip")),n===0)){const l=o.querySelectorAll("span b");l&&du(l,d=>{const f=d.classList[0];if(e/1e3>=1){if(!f.includes("-4digits")){const v=f+"-4digits";d.classList.add(v),d.classList.remove(f)}}else if(f.includes("-4digits")){const v=f.replace("-4digits","");d.classList.add(v),d.classList.remove(f)}})}};window.requestAnimationFrame?this.frame=requestAnimationFrame(t):t()}},beforeDestroy(){window.cancelAnimationFrame&&cancelAnimationFrame(this.frame)},destroyed(){clearInterval(interval)}};var n2=function(){var e=this,t=e._self._c;return t("div",{staticClass:"flip-clock"},[e._l(e.timeData,function(i){return[t("span",{directives:[{name:"show",rawName:"v-show",value:i.show,expression:"data.show"}],key:i.label,staticClass:"flip-clock__piece",attrs:{id:i.elementId}},[t("span",{class:["flip-clock__card","flip-card",e.clockClasses]},[t("b",{staticClass:"flip-card__top"},[e._v(e._s(e._f("twoDigits")(i.current)))]),t("b",{staticClass:"flip-card__bottom",attrs:{"data-value":e._f("twoDigits")(i.current)}}),t("b",{staticClass:"flip-card__back",attrs:{"data-value":e._f("twoDigits")(i.previous)}}),t("b",{staticClass:"flip-card__back-bottom",attrs:{"data-value":e._f("twoDigits")(i.previous)}})]),t("span",{class:["flip-clock__slot","font-alt",e.slotClasses]},[e._v(e._s(i.label))])])]})],2)},r2=[],i2=_t(t2,n2,r2,!1,null,null,null,null);const s2=i2.exports,o2={data:()=>({isDown:!1,startX:null,scrollLeft:null}),methods:{mousemove:function(n){if(!this.isDown)return;n.preventDefault();const e=this.$refs.slider.getBoundingClientRect().left|null,i=n.pageX-e-this.startX;this.$refs.slider.scrollLeft=this.scrollLeft-i},mouseleave:function(){this.isDown=!1},mouseup:function(){this.isDown=!1},mousedown:function(n){this.isDown=!0;const e=this.$refs.slider.getBoundingClientRect().left|null;this.startX=n.pageX-e,this.scrollLeft=this.$refs.slider.scrollLeft}}};var a2=function(){var e=this,t=e._self._c;return t("div",{ref:"slider",staticClass:"horizontal-scrolling draggable no-scrollbars",class:{active:e.isDown},on:{mousedown:e.mousedown,mouseleave:e.mouseleave,mouseup:e.mouseup,mousemove:e.mousemove}},[e._t("default")],2)},l2=[],c2=_t(o2,a2,l2,!1,null,null,null,null);const u2=c2.exports,d2={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")))}}},f2={mounted(){console.log("Mounted generic Vue app in ",this.$el)}},h2=null,p2=null;var v2=_t(f2,h2,p2,!1,null,null,null,null);const g2=v2.exports;At.component("ui-article-carousel",ch);At.component("ui-header-carousel",ph);At.component("ui-calendar-renderer",bh);At.component("ui-calendar-dummy-provider",Ch);At.component("ui-calendar-google-provider",Oh);At.component("ui-person-calendar",q1);At.component("ui-region-map",ib);At.component("ui-instagram-carousel",cb);At.component("ui-view-provider",pb);At.component("ui-popout",Ab);At.component("ui-popout-content",_b);At.component("ui-popout-item",kb);At.component("ui-navbar",Qb);At.component("ui-footer-collapsible",e2);At.component("ui-flip-clock",s2);At.component("ui-horizontal-scrollable",u2);At.component("ui-slide-up-down",d2);const m2=(n,e)=>{new At({el:n,components:{UiApp:g2}})};function y2(n){return Object.assign({},n.dataset),m2(n)}function b2(n){du(document.querySelectorAll(".__js-root"),y2)}document.addEventListener("DOMContentLoaded",b2);
diff --git a/shared/blocks.py b/shared/blocks.py
index 1ee97829a9e0549d8b8515ea9d7b3dacacc48121..46c27dd9a1e0af59ad830e75924ecc8fd5541f60 100644
--- a/shared/blocks.py
+++ b/shared/blocks.py
@@ -726,7 +726,9 @@ class ChartRedmineIssueDataset(blocks.StructBlock):
         required=False,
     )
 
-    def _get_issues_url(self, value, project_id: typing.Union[None, str, list[str]] = None):
+    def _get_issues_url(
+        self, value, project_id: typing.Union[None, str, list[str]] = None
+    ):
         url = "https://redmine.pirati.cz/issues.json"
         params = [
             ("sort", "created_on"),
diff --git a/shared/models.py b/shared/models.py
index 44924a502f840168fc695196c754f8ca8ae4def9..a05d8ab932a366be9c923cfde85bae31511121f6 100644
--- a/shared/models.py
+++ b/shared/models.py
@@ -1,11 +1,14 @@
+import json
 import logging
 
+import requests
 from django.db import models
 from django.utils import timezone
 from wagtail.admin.panels import FieldPanel, MultiFieldPanel, PublishingPanel
 from wagtail.fields import StreamField
 from wagtail.models import Page
 
+from instagram_utils.models import InstagramPost
 from shared.blocks import DEFAULT_CONTENT_BLOCKS, MenuItemBlock, MenuParentBlock
 
 logger = logging.getLogger(__name__)
@@ -192,3 +195,75 @@ class ExtendedMetadataPageMixin(models.Model):
             return super().get_meta_title()
 
         return f"{super().get_meta_title()} | {self.get_meta_title_suffix()}"
+
+
+class PersonCalendarMixin(models.Model):
+    ical_calendar_url = models.URLField(
+        "iCal adresa kalendáře",
+        max_length=256,
+        blank=True,
+        null=True,
+        help_text=(
+            "Podporuje Mrak, Google Kalendář a další. Návod na synchronizaci najdeš "
+            "na pi2.cz/kalendare"
+        ),
+    )
+
+    def get_context(self, request) -> dict:
+        context = super().get_context(request)
+
+        if len(self.instagram_access.raw_data) != 0:
+            context["instagram_post_list"] = (
+                InstagramPost.objects.filter(
+                    author_username=self.instagram_access.raw_data[0]["value"][
+                        "username"
+                    ]
+                ).order_by("-timestamp")
+            )[:20]
+
+        if self.ical_calendar_url:
+            context["calendar_data"] = self.get_ical_data()
+
+        return context
+
+    def get_ical_data(self) -> list:
+        ical_response = cache.get(f"calendar_{self.ical_calendar_url}")
+
+        if ical_response is None:
+            ical_response = requests.get(self.ical_calendar_url)
+            ical_response.raise_for_status()
+            ical_response = ical_response.text
+
+            cache.set(
+                f"calendar_{self.ical_calendar_url}",
+                ical_response,
+                timeout=3600,  # 1 hour
+            )
+
+        parsed_events = icalevents.parse_events(
+            ical_response,
+            start=date.today() - timedelta(days=30),
+            end=date.today() + timedelta(days=60),
+        )
+
+        calendar_format_events = []
+
+        for event in parsed_events:
+            parsed_event = {
+                "allDay": event.all_day,
+                "start": event.start.isoformat(),
+                "end": event.end.isoformat(),
+            }
+
+            if event.summary is not None:
+                parsed_event["title"] = event.summary
+
+            if event.url is not None:
+                parsed_event["url"] = event.url
+
+            calendar_format_events.append(parsed_event)
+
+        return json.dumps(calendar_format_events)
+
+    class Meta:
+        abstract = True
diff --git a/shared/storages.py b/shared/storages.py
index 8c73ea2f60bf3cc1f2f379c2303aca58174d1585..09643701978d4fe18fac8db8bc880b38a08f4c11 100644
--- a/shared/storages.py
+++ b/shared/storages.py
@@ -18,4 +18,4 @@ class OverwriteStorage(get_storage_class()):
         if self.exists(name):
             os.remove(os.path.join(settings.MEDIA_ROOT, name))
 
-        return name 
+        return name