uawdijnntqw1x1x1
IP : 216.73.216.84
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
newok
/
07d6c
/
.
/
..
/
media
/
mod_quickicon
/
..
/
..
/
c610a
/
..
/
logs
/
..
/
fields.tar
/
/
checkboxes/params/checkboxes.xml000064400000001265151664164510013022 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="options" type="subform" label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_LABEL" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_templates_modal" repeat="true"> <field name="name" type="text" label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_NAME_LABEL" required="true" /> <field name="value" type="text" label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_VALUE_LABEL" /> </form> </field> </fieldset> </fields> </form> checkboxes/services/provider.php000064400000002463151664164510013066 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.checkboxes * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Checkboxes\Extension\Checkboxes; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Checkboxes( $dispatcher, (array) PluginHelper::getPlugin('fields', 'checkboxes') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; checkboxes/checkboxes.xml000064400000003052151664164510011533 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_checkboxes</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_CHECKBOXES_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Checkboxes</namespace> <files> <folder>params</folder> <folder plugin="checkboxes">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_checkboxes.ini</language> <language tag="en-GB">language/en-GB/plg_fields_checkboxes.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="options" type="subform" label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_LABEL" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_templates_modal" repeat="true"> <field name="name" type="text" label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_NAME_LABEL" /> <field name="value" type="text" label="PLG_FIELDS_CHECKBOXES_PARAMS_OPTIONS_VALUE_LABEL" /> </form> </field> </fieldset> </fields> </config> </extension> checkboxes/tmpl/checkboxes.php000064400000001237151664164510012501 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Checkboxes * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; $fieldValue = $field->value; if ($fieldValue === '' || $fieldValue === null) { return; } $fieldValue = (array) $fieldValue; $texts = []; $options = $this->getOptionsFromField($field); foreach ($options as $value => $name) { if (in_array((string) $value, $fieldValue)) { $texts[] = Text::_($name); } } echo htmlentities(implode(', ', $texts)); checkboxes/src/Extension/Checkboxes.php000064400000002765151664164510014237 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.checkboxes * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Checkboxes\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsListPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Checkboxes Plugin * * @since 3.7.0 */ final class Checkboxes extends FieldsListPlugin { /** * Before prepares the field value. * * @param string $context The context. * @param \stdclass $item The item. * @param \stdclass $field The field. * * @return void * * @since 3.7.0 */ public function onCustomFieldsBeforePrepareField($context, $item, $field) { if (!$this->getApplication()->isClient('api')) { return; } if (!$this->isTypeSupported($field->type)) { return; } $field->apivalue = []; $options = $this->getOptionsFromField($field); if (empty($field->value)) { return; } if (is_array($field->value)) { foreach ($field->value as $key => $value) { $field->apivalue[$value] = $options[$value]; } } else { $field->apivalue[$field->value] = $options[$field->value]; } } } text/services/provider.php000064400000002425151664164510011732 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.text * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Text\Extension\Text; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Text( $dispatcher, (array) PluginHelper::getPlugin('fields', 'text') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; text/src/Extension/Text.php000064400000001037151664164510011742 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.text * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Text\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Text Plugin * * @since 3.7.0 */ final class Text extends FieldsPlugin { } text/text.xml000064400000003425151664164510007253 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_text</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_TEXT_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Text</namespace> <files> <folder>params</folder> <folder plugin="text">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_text.ini</language> <language tag="en-GB">language/en-GB/plg_fields_text.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="filter" type="list" label="PLG_FIELDS_TEXT_PARAMS_FILTER_LABEL" class="list" default="JComponentHelper::filterText" validate="options" > <option value="0">JNO</option> <option value="raw">JLIB_FILTER_PARAMS_RAW</option> <option value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option> <option value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option> <option value="alnum">JLIB_FILTER_PARAMS_ALNUM</option> <option value="integer">JLIB_FILTER_PARAMS_INTEGER</option> <option value="float">JLIB_FILTER_PARAMS_FLOAT</option> <option value="tel">JLIB_FILTER_PARAMS_TEL</option> </field> <field name="maxlength" type="number" label="PLG_FIELDS_TEXT_PARAMS_MAXLENGTH_LABEL" filter="integer" /> </fieldset> </fields> </config> </extension> text/tmpl/text.php000064400000000631151664164510010212 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Text * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $value = $field->value; if ($value == '') { return; } if (is_array($value)) { $value = implode(', ', $value); } echo htmlentities($value); text/params/text.xml000064400000001673151664164510010541 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="filter" type="list" label="PLG_FIELDS_TEXT_PARAMS_FILTER_LABEL" class="list" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="0">JNO</option> <option value="raw">JLIB_FILTER_PARAMS_RAW</option> <option value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option> <option value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option> <option value="alnum">JLIB_FILTER_PARAMS_ALNUM</option> <option value="integer">JLIB_FILTER_PARAMS_INTEGER</option> <option value="float">JLIB_FILTER_PARAMS_FLOAT</option> <option value="tel">JLIB_FILTER_PARAMS_TEL</option> </field> <field name="maxlength" type="number" label="PLG_FIELDS_TEXT_PARAMS_MAXLENGTH_LABEL" filter="integer" /> </fieldset> </fields> </form> calendar/params/calendar.xml000064400000000730151664164510012104 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="showtime" type="radio" label="PLG_FIELDS_CALENDAR_PARAMS_SHOWTIME_LABEL" description="PLG_FIELDS_CALENDAR_PARAMS_SHOWTIME_DESC" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> </fields> </form> calendar/tmpl/calendar.php000064400000001156151664164510011567 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Calendar * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; $value = $field->value; if ($value == '') { return; } if (is_array($value)) { $value = implode(', ', $value); } $formatString = $field->fieldparams->get('showtime', 0) ? 'DATE_FORMAT_LC5' : 'DATE_FORMAT_LC4'; echo htmlentities(HTMLHelper::_('date', $value, Text::_($formatString))); calendar/calendar.xml000064400000001622151664164510010622 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_calendar</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_CALENDAR_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Calendar</namespace> <files> <folder>params</folder> <folder plugin="calendar">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_calendar.ini</language> <language tag="en-GB">language/en-GB/plg_fields_calendar.sys.ini</language> </languages> </extension> calendar/services/provider.php000064400000002451151664164510012516 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.calendar * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Calendar\Extension\Calendar; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Calendar( $dispatcher, (array) PluginHelper::getPlugin('fields', 'calendar') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; calendar/src/Extension/Calendar.php000064400000002737151664164510013324 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.calendar * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Calendar\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Calendar Plugin * * @since 3.7.0 */ final class Calendar extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } // Set filter to user UTC $fieldNode->setAttribute('filter', 'USER_UTC'); // Set field to use translated formats $fieldNode->setAttribute('translateformat', '1'); $fieldNode->setAttribute('showtime', $field->fieldparams->get('showtime', 0) ? 'true' : 'false'); return $fieldNode; } } usergrouplist/usergrouplist.xml000064400000002465151664164510013164 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_usergrouplist</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_USERGROUPLIST_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\UsergroupList</namespace> <files> <folder>params</folder> <folder plugin="usergrouplist">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_usergrouplist.ini</language> <language tag="en-GB">language/en-GB/plg_fields_usergrouplist.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="multiple" type="radio" label="PLG_FIELDS_USERGROUPLIST_PARAMS_MULTIPLE_LABEL" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> </fields> </config> </extension> usergrouplist/src/Extension/UsergroupList.php000064400000001103151664164510015602 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.usergrouplist * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\UsergroupList\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields UsergroupList Plugin * * @since 3.7.0 */ final class UsergroupList extends FieldsPlugin { } usergrouplist/services/provider.php000064400000002502151664164510013671 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.usergrouplist * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\UsergroupList\Extension\UsergroupList; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new UsergroupList( $dispatcher, (array) PluginHelper::getPlugin('fields', 'usergrouplist') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; usergrouplist/tmpl/usergrouplist.php000064400000001212151664164510014114 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Usergrouplist * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Component\Users\Administrator\Helper\UsersHelper; $value = $field->value; if ($value == '') { return; } $value = (array) $value; $texts = []; $groups = UsersHelper::getGroups(); foreach ($groups as $group) { if (in_array($group->value, $value)) { $texts[] = htmlentities(trim($group->text, '- ')); } } echo htmlentities(implode(', ', $texts)); usergrouplist/params/usergrouplist.xml000064400000000664151664164510014446 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="multiple" type="list" label="PLG_FIELDS_USERGROUPLIST_PARAMS_MULTIPLE_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> </fieldset> </fields> </form> media/services/provider.php000064400000002432151664164510012023 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.media * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Media\Extension\Media; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Media( $dispatcher, (array) PluginHelper::getPlugin('fields', 'media') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; media/params/media.xml000064400000001425151664164510010722 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="directory" type="folderlist" label="PLG_FIELDS_MEDIA_PARAMS_DIRECTORY_LABEL" directory="images" hide_none="true" recursive="true" validate="options" /> <field name="preview" type="list" label="PLG_FIELDS_MEDIA_PARAMS_PREVIEW_LABEL" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="true">PLG_FIELDS_MEDIA_PARAMS_PREVIEW_INLINE</option> <option value="false">JNO</option> </field> <field name="image_class" type="textarea" label="PLG_FIELDS_MEDIA_PARAMS_IMAGE_CLASS_LABEL" validate="CssIdentifier" /> </fieldset> </fields> </form> media/src/Extension/Media.php000064400000004657151664164510012143 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.media * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Media\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Media Plugin * * @since 3.7.0 */ final class Media extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 4.0.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } $fieldNode->setAttribute('type', 'accessiblemedia'); if ($this->getApplication()->getIdentity()->authorise('core.create', 'com_media')) { $fieldNode->setAttribute('disabled', 'false'); } return $fieldNode; } /** * Before prepares the field value. * * @param string $context The context. * @param \stdclass $item The item. * @param \stdclass $field The field. * * @return void * * @since 4.0.0 */ public function onCustomFieldsBeforePrepareField($context, $item, $field) { // Check if the field should be processed by us if (!$this->isTypeSupported($field->type)) { return; } // Check if the field value is an old (string) value $field->value = $this->checkValue($field->value); } /** * Before prepares the field value. * * @param string $value The value to check. * * @return array The checked value * * @since 4.0.0 */ private function checkValue($value) { json_decode($value); if (json_last_error() === JSON_ERROR_NONE) { return (array) json_decode($value, true); } return ['imagefile' => $value, 'alt_text' => '']; } } media/tmpl/media.php000064400000001303151664164510010375 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Layout\LayoutHelper; if (empty($field->value) || empty($field->value['imagefile'])) { return; } $class = $fieldParams->get('image_class'); $options = [ 'src' => $field->value['imagefile'], 'alt' => empty($field->value['alt_text']) && empty($field->value['alt_empty']) ? false : $field->value['alt_text'], ]; if ($class) { $options['class'] = $class; } echo LayoutHelper::render('joomla.html.image', $options); media/media.xml000064400000003131151664164510007433 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_media</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_MEDIA_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Media</namespace> <files> <folder>params</folder> <folder plugin="media">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_media.ini</language> <language tag="en-GB">language/en-GB/plg_fields_media.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="directory" type="folderlist" label="PLG_FIELDS_MEDIA_PARAMS_DIRECTORY_LABEL" directory="images" hide_none="true" recursive="true" /> <field name="preview" type="list" label="PLG_FIELDS_MEDIA_PARAMS_PREVIEW_LABEL" class="list" default="true" validate="options" > <option value="true">PLG_FIELDS_MEDIA_PARAMS_PREVIEW_INLINE</option> <option value="false">JNO</option> </field> <field name="image_class" type="textarea" label="PLG_FIELDS_MEDIA_PARAMS_IMAGE_CLASS_LABEL" validate="CssIdentifier" /> </fieldset> </fields> </config> </extension> editor/services/provider.php000064400000002437151664164510012237 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.editor * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Editor\Extension\Editor; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Editor( $dispatcher, (array) PluginHelper::getPlugin('fields', 'editor') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; editor/params/editor.xml000064400000002402151664164510011334 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="buttons" type="list" label="PLG_FIELDS_EDITOR_PARAMS_SHOW_BUTTONS_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="hide" type="plugins" label="PLG_FIELDS_EDITOR_PARAMS_BUTTONS_HIDE_LABEL" folder="editors-xtd" multiple="true" layout="joomla.form.field.list-fancy-select" /> <field name="width" type="text" label="PLG_FIELDS_EDITOR_PARAMS_WIDTH_LABEL" /> <field name="height" type="text" label="PLG_FIELDS_EDITOR_PARAMS_HEIGHT_LABEL" /> <field name="filter" type="list" label="PLG_FIELDS_TEXT_PARAMS_FILTER_LABEL" class="list" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="0">JNO</option> <option value="raw">JLIB_FILTER_PARAMS_RAW</option> <option value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option> <option value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option> </field> </fieldset> </fields> </form> editor/tmpl/editor.php000064400000000621151664164510011015 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Editor * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; $value = $field->value; if ($value == '') { return; } echo HTMLHelper::_('content.prepare', $value); editor/src/Extension/Editor.php000064400000002616151664164510012552 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.editor * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Editor\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Editor Plugin * * @since 3.7.0 */ final class Editor extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } $fieldNode->setAttribute('buttons', $field->fieldparams->get('buttons', $this->params->get('buttons', 0)) ? 'true' : 'false'); $fieldNode->setAttribute('hide', implode(',', $field->fieldparams->get('hide', []))); return $fieldNode; } } editor/editor.xml000064400000004227151664164510010060 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_editor</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_EDITOR_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Editor</namespace> <files> <folder>params</folder> <folder plugin="editor">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_editor.ini</language> <language tag="en-GB">language/en-GB/plg_fields_editor.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="buttons" type="radio" label="PLG_FIELDS_EDITOR_PARAMS_SHOW_BUTTONS_LABEL" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="hide" type="plugins" label="PLG_FIELDS_EDITOR_PARAMS_BUTTONS_HIDE_LABEL" folder="editors-xtd" multiple="true" layout="joomla.form.field.list-fancy-select" /> <field name="width" type="text" label="PLG_FIELDS_EDITOR_PARAMS_WIDTH_LABEL" default="100%" /> <field name="height" type="text" label="PLG_FIELDS_EDITOR_PARAMS_HEIGHT_LABEL" default="250px" /> <field name="filter" type="list" label="PLG_FIELDS_EDITOR_PARAMS_FILTER_LABEL" class="list" default="JComponentHelper::filterText" validate="options" > <option value="0">JNO</option> <option value="raw">JLIB_FILTER_PARAMS_RAW</option> <option value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option> <option value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option> </field> </fieldset> </fields> </config> </extension> textarea/services/provider.php000064400000002451151664164510012562 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.textarea * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Textarea\Extension\Textarea; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Textarea( $dispatcher, (array) PluginHelper::getPlugin('fields', 'textarea') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; textarea/src/Extension/Textarea.php000064400000001057151664164510013426 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.textarea * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Textarea\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Textarea Plugin * * @since 3.7.0 */ final class Textarea extends FieldsPlugin { } textarea/textarea.xml000064400000004131151664164510010730 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_textarea</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_TEXTAREA_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Textarea</namespace> <files> <folder>params</folder> <folder plugin="textarea">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_textarea.ini</language> <language tag="en-GB">language/en-GB/plg_fields_textarea.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="rows" type="number" label="PLG_FIELDS_TEXTAREA_PARAMS_ROWS_LABEL" default="10" filter="integer" /> <field name="cols" type="number" label="PLG_FIELDS_TEXTAREA_PARAMS_COLS_LABEL" default="10" filter="integer" /> <field name="maxlength" type="number" label="PLG_FIELDS_TEXTAREA_PARAMS_MAXLENGTH_LABEL" filter="integer" /> <field name="filter" type="list" label="PLG_FIELDS_TEXTAREA_PARAMS_FILTER_LABEL" class="list" default="JComponentHelper::filterText" validate="options" > <option value="0">JNO</option> <option value="raw">JLIB_FILTER_PARAMS_RAW</option> <option value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option> <option value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option> <option value="alnum">JLIB_FILTER_PARAMS_ALNUM</option> <option value="integer">JLIB_FILTER_PARAMS_INTEGER</option> <option value="float">JLIB_FILTER_PARAMS_FLOAT</option> <option value="tel">JLIB_FILTER_PARAMS_TEL</option> </field> </fieldset> </fields> </config> </extension> textarea/params/textarea.xml000064400000002267151664164510012223 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="rows" type="number" label="PLG_FIELDS_TEXTAREA_PARAMS_ROWS_LABEL" filter="integer" /> <field name="cols" type="number" label="PLG_FIELDS_TEXTAREA_PARAMS_COLS_LABEL" filter="integer" /> <field name="maxlength" type="number" label="PLG_FIELDS_TEXTAREA_PARAMS_MAXLENGTH_LABEL" filter="integer" /> <field name="filter" type="list" label="PLG_FIELDS_TEXTAREA_PARAMS_FILTER_LABEL" class="list" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="0">JNO</option> <option value="raw">JLIB_FILTER_PARAMS_RAW</option> <option value="safehtml">JLIB_FILTER_PARAMS_SAFEHTML</option> <option value="JComponentHelper::filterText">JLIB_FILTER_PARAMS_TEXT</option> <option value="alnum">JLIB_FILTER_PARAMS_ALNUM</option> <option value="integer">JLIB_FILTER_PARAMS_INTEGER</option> <option value="float">JLIB_FILTER_PARAMS_FLOAT</option> <option value="tel">JLIB_FILTER_PARAMS_TEL</option> </field> </fieldset> </fields> </form> textarea/tmpl/textarea.php000064400000000623151664164510011675 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Textarea * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; $value = $field->value; if ($value == '') { return; } echo HTMLHelper::_('content.prepare', $value); subform/services/provider.php000064400000002444151664164510012424 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.subform * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Subform\Extension\Subform; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Subform( $dispatcher, (array) PluginHelper::getPlugin('fields', 'subform') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; subform/src/Extension/Subform.php000064400000034437151664164510013136 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.subform * * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Subform\Extension; use DOMDocument; use DOMElement; use DOMXPath; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Helper\FieldsHelper; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Subform Plugin * * @since 3.7.0 */ final class Subform extends FieldsPlugin { /** * Two-dimensional array to hold to do a fast in-memory caching of rendered * subfield values. * * @var array * * @since 4.0.0 */ protected $renderCache = []; /** * Array to do a fast in-memory caching of all custom field items. * * @var array * * @since 4.0.0 */ protected static $customFieldsCache = null; /** * Handles the onContentPrepareForm event. Adds form definitions to relevant forms. * * @param Form $form The form to manipulate * @param array|object $data The data of the form * * @return void * * @since 4.0.0 */ public function onContentPrepareForm(Form $form, $data) { // Get the path to our own form definition (basically ./params/subform.xml) $path = $this->getFormPath($form, $data); if ($path === null) { return; } // Ensure it is an object $formData = (object) $data; // Now load our own form definition into a DOMDocument, because we want to manipulate it $xml = new \DOMDocument(); $xml->load($path); // Prepare a DOMXPath object $xmlxpath = new \DOMXPath($xml); /** * Get all fields of type "subfields" in our own XML * * @var $valuefields \DOMNodeList */ $valuefields = $xmlxpath->evaluate('//field[@type="subfields"]'); // If we haven't found it, something is wrong if (!$valuefields || $valuefields->length != 1) { return; } // Now iterate over those fields and manipulate them, set its parameter `context` to our context foreach ($valuefields as $valuefield) { $valuefield->setAttribute('context', $formData->context); } // When this is not a new instance (editing an existing instance) if (isset($formData->id) && $formData->id > 0) { // Don't allow the 'repeat' attribute to be edited foreach ($xmlxpath->evaluate('//field[@name="repeat"]') as $field) { $field->setAttribute('readonly', '1'); } } // And now load our manipulated form definition into the JForm $form->load($xml->saveXML(), true, '/form/*'); } /** * Manipulates the $field->value before the field is being passed to * onCustomFieldsPrepareField. * * @param string $context The context * @param object $item The item * @param \stdClass $field The field * * @return void * * @since 4.0.0 */ public function onCustomFieldsBeforePrepareField($context, $item, $field) { if (!$this->isTypeSupported($field->type)) { return; } if (is_array($field->value)) { return; } $decoded_value = json_decode($field->value, true); if (!$decoded_value || !is_array($decoded_value)) { return; } $field->value = $decoded_value; } /** * Renders this fields value by rendering all sub fields and joining all those rendered sub fields together. * * @param string $context The context * @param object $item The item * @param \stdClass $field The field * * @return string * * @since 4.0.0 */ public function onCustomFieldsPrepareField($context, $item, $field) { // Check if the field should be processed by us if (!$this->isTypeSupported($field->type)) { return; } // If we don't have any subfields (or values for them), nothing to do. if (!is_array($field->value) || count($field->value) < 1) { return; } // Get the field params $field_params = $this->getParamsFromField($field); /** * Placeholder to hold all rows (if this field is repeatable). * Each array entry is another array representing a row, containing all of the sub fields that * are valid for this row and their raw and rendered values. */ $subform_rows = []; // Create an array with entries being subfields forms, and if not repeatable, containing only one element. $rows = $field->value; if ($field_params->get('repeat', '1') == '0') { $rows = [$field->value]; } // Iterate over each row of the data foreach ($rows as $row) { // Holds all sub fields of this row, incl. their raw and rendered value $row_subfields = []; // For each row, iterate over all the subfields foreach ($this->getSubfieldsFromField($field) as $subfield) { // Fill value (and rawvalue) if we have data for this subfield in the current row, otherwise set them to empty $subfield->rawvalue = $subfield->value = $row[$subfield->name] ?? ''; // Do we want to render the value of this field, and is the value non-empty? if ($subfield->value !== '' && $subfield->render_values == '1') { /** * Construct the cache-key for our renderCache. It is important that the cache key * is as unique as possible to avoid false duplicates (e.g. type and rawvalue is not * enough for the cache key, because type 'list' and value '1' can have different * rendered values, depending on the list items), but it also must be as general as possible * to not cause too many unneeded rendering processes (e.g. the type 'text' will always be * rendered the same when it has the same rawvalue). */ $renderCache_key = serialize( [ $subfield->type, $subfield->id, $subfield->rawvalue, ] ); // Let's see if we have a fast in-memory result for this if (isset($this->renderCache[$renderCache_key])) { $subfield->value = $this->renderCache[$renderCache_key]; } else { // Render this virtual subfield $subfield->value = $this->getApplication()->triggerEvent( 'onCustomFieldsPrepareField', [$context, $item, $subfield] ); $this->renderCache[$renderCache_key] = $subfield->value; } } // Flatten the value if it is an array (list, checkboxes, etc.) [independent of render_values] if (is_array($subfield->value)) { $subfield->value = implode(' ', $subfield->value); } // Store the subfield (incl. its raw and rendered value) into this rows sub fields $row_subfields[$subfield->fieldname] = $subfield; } // Store all the sub fields of this row $subform_rows[] = $row_subfields; } // Store all the rows and their corresponding sub fields in $field->subform_rows $field->subform_rows = $subform_rows; // Call our parent to combine all those together for the final $field->value return parent::onCustomFieldsPrepareField($context, $item, $field); } /** * Returns a DOMElement which is the child of $parent and represents * the form XML definition for this field. * * @param \stdClass $field The field * @param \DOMElement $parent The original parent element * @param Form $form The form * * @return \DOMElement * * @since 4.0.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { // Call the onCustomFieldsPrepareDom method on FieldsPlugin $parent_field = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$parent_field) { return $parent_field; } // Override the fieldname attribute of the subform - this is being used to index the rows $parent_field->setAttribute('fieldname', 'row'); // If the user configured this subform instance as required if ($field->required) { // Then we need to have at least one row $parent_field->setAttribute('min', '1'); } // Get the configured parameters for this field $field_params = $this->getParamsFromField($field); // If this fields should be repeatable, set some attributes on the subform element if ($field_params->get('repeat', '1') == '1') { $parent_field->setAttribute('multiple', 'true'); $parent_field->setAttribute('layout', 'joomla.form.field.subform.repeatable-table'); } // Create a child 'form' DOMElement under the field[type=subform] element. $parent_fieldset = $parent_field->appendChild(new \DOMElement('form')); $parent_fieldset->setAttribute('hidden', 'true'); $parent_fieldset->setAttribute('name', ($field->name . '_modal')); if ($field_params->get('max_rows')) { $parent_field->setAttribute('max', $field_params->get('max_rows')); } // If this field should be repeatable, set some attributes on the modal if ($field_params->get('repeat', '1') == '1') { $parent_fieldset->setAttribute('repeat', 'true'); } // Get the configured sub fields for this field $subfields = $this->getSubfieldsFromField($field); // If we have 5 or more of them, use the `repeatable` layout instead of the `repeatable-table` if (count($subfields) >= 5) { $parent_field->setAttribute('layout', 'joomla.form.field.subform.repeatable'); } // Iterate over the sub fields to call prepareDom on each of those sub-fields foreach ($subfields as $subfield) { // Let the relevant plugins do their work and insert the correct // DOMElement's into our $parent_fieldset. $this->getApplication()->triggerEvent( 'onCustomFieldsPrepareDom', [$subfield, $parent_fieldset, $form] ); } // If the edit layout is set we override any automation $editLayout = $field->params->get('form_layout'); if ($editLayout) { $parent_field->setAttribute('layout', $editLayout); } return $parent_field; } /** * Returns an array of all options configured for this field. * * @param \stdClass $field The field * * @return \stdClass[] * * @since 4.0.0 */ protected function getOptionsFromField(\stdClass $field) { $result = []; // Fetch the options from the plugin $params = $this->getParamsFromField($field); foreach ($params->get('options', []) as $option) { $result[] = (object) $option; } return $result; } /** * Returns the configured params for a given field. * * @param \stdClass $field The field * * @return \Joomla\Registry\Registry * * @since 4.0.0 */ protected function getParamsFromField(\stdClass $field) { $params = (clone $this->params); if (isset($field->fieldparams) && is_object($field->fieldparams)) { $params->merge($field->fieldparams); } return $params; } /** * Returns an array of all subfields for a given field. This will always return a bare clone * of a sub field, so manipulating it is safe. * * @param \stdClass $field The field * * @return \stdClass[] * * @since 4.0.0 */ protected function getSubfieldsFromField(\stdClass $field) { if (static::$customFieldsCache === null) { // Prepare our cache static::$customFieldsCache = []; // Get all custom field instances $customFields = FieldsHelper::getFields('', null, false, null, true); foreach ($customFields as $customField) { // Store each custom field instance in our cache with its id as key static::$customFieldsCache[$customField->id] = $customField; } } $result = []; // Iterate over all configured options for this field foreach ($this->getOptionsFromField($field) as $option) { // Check whether the wanted sub field really is an existing custom field if (!isset(static::$customFieldsCache[$option->customfield])) { continue; } // Get a clone of the sub field, so we and the caller can do some manipulation with it. $cur_field = (clone static::$customFieldsCache[$option->customfield]); // Manipulate it and add our custom configuration to it $cur_field->render_values = $option->render_values; /** * Set the name of the sub field to its id so that the values in the database are being saved * based on the id of the sub fields, not on their name. Actually we do not need the name of * the sub fields to render them, but just to make sure we have the name when we need it, we * store it as `fieldname`. */ $cur_field->fieldname = $cur_field->name; $cur_field->name = 'field' . $cur_field->id; // And add it to our result $result[] = $cur_field; } return $result; } } subform/tmpl/subform.php000064400000003043151664164510011374 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Subform * * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ use Joomla\Component\Fields\Administrator\Helper\FieldsHelper; defined('_JEXEC') or die; if (!$context || empty($field->subform_rows)) { return; } $result = ''; // Iterate over each row that we have foreach ($field->subform_rows as $subform_row) { // Placeholder array to generate this rows output $row_output = []; // Iterate over each sub field inside of that row foreach ($subform_row as $subfield) { $class = trim($subfield->params->get('render_class', '')); $layout = trim($subfield->params->get('layout', 'render')); $content = trim( FieldsHelper::render( $context, 'field.' . $layout, // normally just 'field.render' ['field' => $subfield] ) ); // Skip empty output if ($content === '') { continue; } // Generate the output for this sub field and row $row_output[] = '<span class="field-entry' . ($class ? (' ' . $class) : '') . '">' . $content . '</span>'; } // Skip empty rows if (count($row_output) == 0) { continue; } $result .= '<li>' . implode(', ', $row_output) . '</li>'; } ?> <?php if (trim($result) != '') : ?> <ul class="fields-container"> <?php echo $result; ?> </ul> <?php endif; ?> subform/subform.xml000064400000001614151664164510010433 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_subform</name> <author>Joomla! Project</author> <creationDate>2017-06</creationDate> <copyright>(C) 2019 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>4.0.0</version> <description>PLG_FIELDS_SUBFORM_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Subform</namespace> <files> <folder>params</folder> <folder plugin="subform">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_subform.ini</language> <language tag="en-GB">language/en-GB/plg_fields_subform.sys.ini</language> </languages> </extension> subform/params/subform.xml000064400000003717151664164510011724 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <field name="default_value" type="hidden" default="" /> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="repeat" type="radio" label="PLG_FIELDS_SUBFORM_PARAMS_REPEAT_LABEL" layout="joomla.form.field.radio.switcher" default="1" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="max_rows" type="number" label="PLG_FIELDS_SUBFORM_PARAMS_MAX_ROWS_LABEL" default="" filter="integer" showon="repeat:1" /> <field name="options" type="subform" label="PLG_FIELDS_SUBFORM_PARAMS_OPTIONS_LABEL" icon="list" layout="joomla.form.field.subform.repeatable-table" min="1" multiple="true" > <form hidden="true" name="options_modal" repeat="true"> <field context="" name="customfield" type="subfields" label="PLG_FIELDS_SUBFORM_PARAMS_CUSTOMFIELD_LABEL" default="" required="true" /> <field name="render_values" type="radio" label="PLG_FIELDS_SUBFORM_PARAMS_RENDER_VALUES_LABEL" layout="joomla.form.field.radio.switcher" default="1" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </form> </field> </fieldset> </fields> <fields name="params"> <fieldset name="basic"> <fieldset name="formoptions"> <field name="form_layout" type="list" label="COM_FIELDS_FIELD_FORM_LAYOUT_LABEL" default="" class="form-select" showon="repeat:1" > <option value="">JDEFAULT</option> <option value="joomla.form.field.subform.repeatable-table">PLG_FIELDS_SUBFORM_PARAMS_EDIT_LAYOUT_OPTION_REPEATABLE_TABLE_LABEL</option> <option value="joomla.form.field.subform.repeatable">PLG_FIELDS_SUBFORM_PARAMS_EDIT_LAYOUT_OPTION_REPEATABLE_FORM_LABEL</option> </field> </fieldset> </fieldset> </fields> </form> user/user.xml000064400000001572151664164510007240 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_user</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_USER_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\User</namespace> <files> <folder>params</folder> <folder plugin="user">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_user.ini</language> <language tag="en-GB">language/en-GB/plg_fields_user.sys.ini</language> </languages> </extension> user/tmpl/user.php000064400000001333151664164510010176 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.User * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; $value = $field->value; if ($value == '') { return; } $value = (array) $value; $texts = []; foreach ($value as $userId) { if (!$userId) { continue; } $user = Factory::getUser($userId); if ($user) { // Use the Username $texts[] = $user->name; continue; } // Fallback and add the User ID if we get no JUser Object $texts[] = $userId; } echo htmlentities(implode(', ', $texts)); user/src/Extension/User.php000064400000002317151664164510011730 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.user * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\User\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields User Plugin * * @since 3.7.0 */ final class User extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { if ($this->getApplication()->isClient('site')) { // The user field is not working on the front end return; } return parent::onCustomFieldsPrepareDom($field, $parent, $form); } } user/services/provider.php000064400000002425151664164510011724 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.user * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\User\Extension\User; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new User( $dispatcher, (array) PluginHelper::getPlugin('fields', 'user') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; user/params/user.xml000064400000000541151664164510010516 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <field name="default_value" type="user" label="PLG_FIELDS_USER_DEFAULT_VALUE_LABEL" validate="UserId" /> <fields name="params" label="COM_FIELDS_FIELD_BASIC_LABEL"> <fieldset name="basic"> <field name="show_on" type="hidden" filter="unset" /> </fieldset> </fields> </form> sql/tmpl/sql.php000064400000002136151664164510007642 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Sql * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\Database\ParameterType; $value = $field->value; if ($value == '') { return; } $db = Factory::getDbo(); $value = (array) $value; $query = $db->getQuery(true); $sql = $fieldParams->get('query', ''); $bindNames = $query->bindArray($value, ParameterType::STRING); // Run the query with a having condition because it supports aliases $query->setQuery($sql . ' HAVING ' . $db->quoteName('value') . ' IN (' . implode(',', $bindNames) . ')'); try { $db->setQuery($query); $items = $db->loadObjectList(); } catch (Exception $e) { // If the query failed, we fetch all elements $db->setQuery($sql); $items = $db->loadObjectList(); } $texts = []; foreach ($items as $item) { if (in_array($item->value, $value)) { $texts[] = $item->text; } } echo htmlentities(implode(', ', $texts)); sql/services/provider.php000064400000002420151664164510011540 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.sql * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\SQL\Extension\SQL; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new SQL( $dispatcher, (array) PluginHelper::getPlugin('fields', 'sql') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; sql/src/Extension/SQL.php000064400000004437151664164510011277 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.sql * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\SQL\Extension; use Joomla\CMS\Access\Access; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsListPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields SQL Plugin * * @since 3.7.0 */ final class SQL extends FieldsListPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } $fieldNode->setAttribute('value_field', 'text'); $fieldNode->setAttribute('key_field', 'value'); return $fieldNode; } /** * The save event. * * @param string $context The context * @param \Joomla\CMS\Table\Table $item The table * @param boolean $isNew Is new item * @param array $data The validated data * * @return boolean * * @since 3.7.0 */ public function onContentBeforeSave($context, $item, $isNew, $data = []) { // Only work on new SQL fields if ($context != 'com_fields.field' || !isset($item->type) || $item->type != 'sql') { return true; } // If we are not a super admin, don't let the user create or update a SQL field if (!Access::getAssetRules(1)->allow('core.admin', $this->getApplication()->getIdentity()->getAuthorisedGroups())) { $item->setError($this->getApplication()->getLanguage()->_('PLG_FIELDS_SQL_CREATE_NOT_POSSIBLE')); return false; } return true; } } sql/sql.xml000064400000002702151664164510006676 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_sql</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_SQL_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\SQL</namespace> <files> <folder>params</folder> <folder plugin="sql">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_sql.ini</language> <language tag="en-GB">language/en-GB/plg_fields_sql.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="query" type="textarea" label="PLG_FIELDS_SQL_PARAMS_QUERY_LABEL" description="PLG_FIELDS_SQL_PARAMS_QUERY_DESC" rows="10" filter="raw" required="true" /> <field name="multiple" type="radio" layout="joomla.form.field.radio.switcher" default="0" label="PLG_FIELDS_SQL_PARAMS_MULTIPLE_LABEL" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> </fields> </config> </extension> sql/params/sql.xml000064400000002057151664164510010164 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="query" type="textarea" label="PLG_FIELDS_SQL_PARAMS_QUERY_LABEL" description="PLG_FIELDS_SQL_PARAMS_QUERY_DESC" filter="raw" rows="10" required="true" /> <field name="multiple" type="list" label="PLG_FIELDS_SQL_PARAMS_MULTIPLE_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> </fieldset> </fields> <fields name="params"> <fieldset name="basic"> <fieldset name="formoptions"> <field name="form_layout" type="list" label="COM_FIELDS_FIELD_FORM_LAYOUT_LABEL" class="form-select" > <option value="joomla.form.field.list">JDEFAULT</option> <option value="joomla.form.field.list-fancy-select">PLG_FIELDS_SQL_PARAMS_FORM_LAYOUT_FANCY_SELECT</option> </field> </fieldset> </fieldset> </fields> </form> color/services/provider.php000064400000002432151664164510012062 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.color * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Color\Extension\Color; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Color( $dispatcher, (array) PluginHelper::getPlugin('fields', 'color') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; color/tmpl/color.php000064400000000632151664164510010477 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Color * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $value = $field->value; if ($value == '') { return; } if (is_array($value)) { $value = implode(', ', $value); } echo htmlentities($value); color/color.xml000064400000001546151664164510007541 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_color</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_COLOR_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Color</namespace> <files> <folder plugin="color">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_color.ini</language> <language tag="en-GB">language/en-GB/plg_fields_color.sys.ini</language> </languages> </extension> color/src/Extension/Color.php000064400000002334151664164510012227 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.color * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Color\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Color Plugin * * @since 3.7.0 */ final class Color extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } $fieldNode->setAttribute('validate', 'color'); return $fieldNode; } } radio/tmpl/radio.php000064400000001174151664164510010441 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Radio * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; $value = $field->value; if ($value == '') { return; } $value = (array) $value; $texts = []; $options = $this->getOptionsFromField($field); foreach ($options as $optionValue => $optionText) { if (in_array((string) $optionValue, $value)) { $texts[] = Text::_($optionText); } } echo htmlentities(implode(', ', $texts)); radio/services/provider.php000064400000002432151664164510012042 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.radio * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Radio\Extension\Radio; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Radio( $dispatcher, (array) PluginHelper::getPlugin('fields', 'radio') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; radio/params/radio.xml000064400000002434151664164510010761 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="options" type="subform" label="PLG_FIELDS_RADIO_PARAMS_OPTIONS_LABEL" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_templates_modal" repeat="true"> <field name="name" type="text" label="PLG_FIELDS_RADIO_PARAMS_OPTIONS_NAME_LABEL" required="true" /> <field name="value" type="text" label="PLG_FIELDS_RADIO_PARAMS_OPTIONS_VALUE_LABEL" /> </form> </field> </fieldset> </fields> <fields name="params"> <fieldset name="basic"> <field name="class" type="textarea" label="COM_FIELDS_FIELD_CLASS_LABEL" default="btn-group" validate="CssIdentifier" /> <fieldset name="formoptions"> <field name="form_layout" type="list" label="COM_FIELDS_FIELD_FORM_LAYOUT_LABEL" class="form-select" > <option value="joomla.form.field.radio.buttons">PLG_FIELDS_RADIO_PARAMS_FORM_LAYOUT_BUTTONS</option> <option value="joomla.form.field.radio.switcher">PLG_FIELDS_RADIO_PARAMS_FORM_LAYOUT_SWITCHER</option> </field> </fieldset> </fieldset> </fields> </form> radio/src/Extension/Radio.php000064400000002423151664164510012166 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.radio * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Radio\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsListPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Radio Plugin * * @since 3.7.0 */ final class Radio extends FieldsListPlugin { /** * Before prepares the field value. * * @param string $context The context. * @param \stdclass $item The item. * @param \stdclass $field The field. * * @return void * * @since 3.7.0 */ public function onCustomFieldsBeforePrepareField($context, $item, $field) { if (!$this->getApplication()->isClient('api')) { return; } if (!$this->isTypeSupported($field->type)) { return; } $options = $this->getOptionsFromField($field); $field->apivalue = []; if (!empty($field->value)) { $field->apivalue = [$field->value => $options[$field->value]]; } } } radio/radio.xml000064400000002775151664164510007506 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_radio</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_RADIO_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Radio</namespace> <files> <folder>params</folder> <folder plugin="radio">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_radio.ini</language> <language tag="en-GB">language/en-GB/plg_fields_radio.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="options" type="subform" label="PLG_FIELDS_RADIO_PARAMS_OPTIONS_LABEL" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_templates_modal" repeat="true"> <field name="name" type="text" label="PLG_FIELDS_RADIO_PARAMS_OPTIONS_NAME_LABEL" /> <field name="value" type="text" label="PLG_FIELDS_RADIO_PARAMS_OPTIONS_VALUE_LABEL" /> </form> </field> </fieldset> </fields> </config> </extension> list/src/Extension/ListPlugin.php000064400000004202151664164510013074 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.list * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\ListField\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsListPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields List Plugin * * @since 3.7.0 */ final class ListPlugin extends FieldsListPlugin { /** * Before prepares the field value. * * @param string $context The context. * @param \stdclass $item The item. * @param \stdclass $field The field. * * @return void * * @since 3.7.0 */ public function onCustomFieldsBeforePrepareField($context, $item, $field) { if (!$this->getApplication()->isClient('api')) { return; } if (!$this->isTypeSupported($field->type)) { return; } $options = $this->getOptionsFromField($field); $field->apivalue = []; if (\is_array($field->value)) { foreach ($field->value as $value) { $field->apivalue[$value] = $options[$value]; } } elseif (!empty($field->value)) { $field->apivalue[$field->value] = $options[$field->value]; } } /** * Prepares the field * * @param string $context The context. * @param stdclass $item The item. * @param stdclass $field The field. * * @return object * * @since 3.9.2 */ public function onCustomFieldsPrepareField($context, $item, $field) { // Check if the field should be processed if (!$this->isTypeSupported($field->type)) { return; } // The field's rawvalue should be an array if (!is_array($field->rawvalue)) { $field->rawvalue = (array) $field->rawvalue; } return parent::onCustomFieldsPrepareField($context, $item, $field); } } list/tmpl/list.php000064400000001200151664164510010161 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.List * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; $fieldValue = $field->value; if ($fieldValue == '') { return; } $fieldValue = (array) $fieldValue; $texts = []; $options = $this->getOptionsFromField($field); foreach ($options as $value => $name) { if (in_array((string) $value, $fieldValue)) { $texts[] = Text::_($name); } } echo htmlentities(implode(', ', $texts)); list/services/provider.php000064400000002446151664164510011724 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.list * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\ListField\Extension\ListPlugin; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new ListPlugin( $dispatcher, (array) PluginHelper::getPlugin('fields', 'list') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; list/params/list.xml000064400000002577151664164510010523 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="multiple" type="list" label="PLG_FIELDS_LIST_PARAMS_MULTIPLE_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="options" type="subform" label="PLG_FIELDS_LIST_PARAMS_OPTIONS_LABEL" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_templates_modal" repeat="true"> <field name="name" type="text" label="PLG_FIELDS_LIST_PARAMS_OPTIONS_NAME_LABEL" required="true" /> <field name="value" type="text" label="PLG_FIELDS_LIST_PARAMS_OPTIONS_VALUE_LABEL" /> </form> </field> </fieldset> </fields> <fields name="params"> <fieldset name="basic"> <fieldset name="formoptions"> <field name="form_layout" type="list" label="COM_FIELDS_FIELD_FORM_LAYOUT_LABEL" class="form-select" > <option value="joomla.form.field.list">JDEFAULT</option> <option value="joomla.form.field.list-fancy-select">PLG_FIELDS_LIST_PARAMS_FORM_LAYOUT_FANCY_SELECT</option> </field> </fieldset> </fieldset> </fields> </form> list/list.xml000064400000003422151664164510007226 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_list</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_LIST_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\ListField</namespace> <files> <folder>params</folder> <folder plugin="list">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_list.ini</language> <language tag="en-GB">language/en-GB/plg_fields_list.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="multiple" type="radio" label="PLG_FIELDS_LIST_PARAMS_MULTIPLE_LABEL" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="options" type="subform" label="PLG_FIELDS_LIST_PARAMS_OPTIONS_LABEL" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_templates_modal" repeat="true"> <field name="name" type="text" label="PLG_FIELDS_LIST_PARAMS_OPTIONS_NAME_LABEL" /> <field name="value" type="text" label="PLG_FIELDS_LIST_PARAMS_OPTIONS_VALUE_LABEL" /> </form> </field> </fieldset> </fields> </config> </extension> location/app/uikit.js000060400000001301151664164510010617 0ustar00import CloseCircleIcon from '../../../../vendor/assets/uikit/src/images/icons/close-circle.svg'; import LocationIcon from '../../../../vendor/assets/uikit/src/images/icons/location.svg'; import UIkit from '../../../../vendor/assets/uikit/src/js/api/index'; import Dropdown from '../../../../vendor/assets/uikit/src/js/core/drop'; import { default as Icon, Spinner } from '../../../../vendor/assets/uikit/src/js/core/icon'; // register components UIkit.component('dropdown', Dropdown); UIkit.component('icon', Icon); UIkit.component('spinner', Spinner); UIkit.icon.add('location', LocationIcon); UIkit.icon.add('close-circle', CloseCircleIcon); export default UIkit; export const { dropdown } = UIkit; location/app/location.less000060400000003220151664164510011636 0ustar00.uk-scope { // Core @import '../../../../vendor/assets/uikit/src/less/components/variables'; @import '../../../../vendor/assets/uikit/src/less/components/mixin'; @import '../../../../vendor/assets/uikit/src/less/components/base'; @import '../../../../vendor/assets/uikit/src/less/components/icon'; @import '../../../../vendor/assets/uikit/src/less/components/form'; @import '../../../../vendor/assets/uikit/src/less/components/spinner'; @import '../../../../vendor/assets/uikit/src/less/components/drop'; @import '../../../../vendor/assets/uikit/src/less/components/dropdown'; @import '../../../../vendor/assets/uikit/src/less/components/nav'; @import '../../../../vendor/assets/uikit/src/less/components/utility'; @import '../../../../vendor/assets/uikit/src/less/components/margin'; @import '../../../../vendor/assets/uikit/src/less/components/inverse'; @import '../../../../vendor/assets/uikit/src/less/components/iconnav'; @import '../../../../vendor/assets/uikit/src/less/components/flex'; @import '../../../../vendor/assets/uikit/src/less/components/position'; // Theme @import '../../../../vendor/assets/uikit/src/less/theme/base'; @import '../../../../vendor/assets/uikit/src/less/theme/icon'; @import '../../../../vendor/assets/uikit/src/less/theme/form'; @import '../../../../vendor/assets/uikit/src/less/theme/spinner'; @import '../../../../vendor/assets/uikit/src/less/theme/drop'; @import '../../../../vendor/assets/uikit/src/less/theme/dropdown'; @import '../../../../vendor/assets/uikit/src/less/theme/nav'; @dropdown-padding: 15px; } location/app/location.min.js000060400000534263151664164510012106 0ustar00/*! YOOtheme Pro v4.5.33 | https://yootheme.com */ (function(){"use strict";const Du="yootheme",Rt=window[Du]??={};var Mu=typeof global=="object"&&global&&global.Object===Object&&global,Lu=typeof self=="object"&&self&&self.Object===Object&&self,yn=Mu||Lu||Function("return this")(),_n=yn.Symbol,ki=Object.prototype,Fu=ki.hasOwnProperty,Ru=ki.toString,Bt=_n?_n.toStringTag:void 0;function Bu(e){var t=Fu.call(e,Bt),n=e[Bt];try{e[Bt]=void 0;var o=!0}catch{}var r=Ru.call(e);return o&&(t?e[Bt]=n:delete e[Bt]),r}var Hu=Object.prototype,Uu=Hu.toString;function Wu(e){return Uu.call(e)}var qu="[object Null]",Gu="[object Undefined]",gi=_n?_n.toStringTag:void 0;function mi(e){return e==null?e===void 0?Gu:qu:gi&&gi in Object(e)?Bu(e):Wu(e)}function Ht(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xu="[object AsyncFunction]",Ku="[object Function]",Yu="[object GeneratorFunction]",Zu="[object Proxy]";function Ju(e){if(!Ht(e))return!1;var t=mi(e);return t==Ku||t==Yu||t==Xu||t==Zu}var bo=yn["__core-js_shared__"],vi=(function(){var e=/[^.]+$/.exec(bo&&bo.keys&&bo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Qu(e){return!!vi&&vi in e}var Vu=Function.prototype,ec=Vu.toString;function tc(e){if(e!=null){try{return ec.call(e)}catch{}try{return e+""}catch{}}return""}var nc=/[\\^$.*+?()[\]{}|]/g,oc=/^\[object .+?Constructor\]$/,rc=Function.prototype,ic=Object.prototype,sc=rc.toString,ac=ic.hasOwnProperty,uc=RegExp("^"+sc.call(ac).replace(nc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cc(e){if(!Ht(e)||Qu(e))return!1;var t=Ju(e)?uc:oc;return t.test(tc(e))}function lc(e,t){return e?.[t]}function bi(e,t){var n=lc(e,t);return cc(n)?n:void 0}var Ut=bi(Object,"create");function fc(){this.__data__=Ut?Ut(null):{},this.size=0}function pc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var dc="__lodash_hash_undefined__",hc=Object.prototype,kc=hc.hasOwnProperty;function gc(e){var t=this.__data__;if(Ut){var n=t[e];return n===dc?void 0:n}return kc.call(t,e)?t[e]:void 0}var mc=Object.prototype,vc=mc.hasOwnProperty;function bc(e){var t=this.__data__;return Ut?t[e]!==void 0:vc.call(t,e)}var xc="__lodash_hash_undefined__";function wc(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ut&&t===void 0?xc:t,this}function qe(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}qe.prototype.clear=fc,qe.prototype.delete=pc,qe.prototype.get=gc,qe.prototype.has=bc,qe.prototype.set=wc;function yc(){this.__data__=[],this.size=0}function _c(e,t){return e===t||e!==e&&t!==t}function $n(e,t){for(var n=e.length;n--;)if(_c(e[n][0],t))return n;return-1}var $c=Array.prototype,Cc=$c.splice;function Sc(e){var t=this.__data__,n=$n(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():Cc.call(t,n,1),--this.size,!0}function Oc(e){var t=this.__data__,n=$n(t,e);return n<0?void 0:t[n][1]}function Tc(e){return $n(this.__data__,e)>-1}function Ec(e,t){var n=this.__data__,o=$n(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function ht(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}ht.prototype.clear=yc,ht.prototype.delete=Sc,ht.prototype.get=Oc,ht.prototype.has=Tc,ht.prototype.set=Ec;var Pc=bi(yn,"Map");function jc(){this.size=0,this.__data__={hash:new qe,map:new(Pc||ht),string:new qe}}function Ic(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Cn(e,t){var n=e.__data__;return Ic(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Ac(e){var t=Cn(this,e).delete(e);return this.size-=t?1:0,t}function zc(e){return Cn(this,e).get(e)}function Nc(e){return Cn(this,e).has(e)}function Dc(e,t){var n=Cn(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function Ge(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Ge.prototype.clear=jc,Ge.prototype.delete=Ac,Ge.prototype.get=zc,Ge.prototype.has=Nc,Ge.prototype.set=Dc;var Mc="Expected a function";function Wt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Mc);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var s=e.apply(this,o);return n.cache=i.set(r,s)||i,s};return n.cache=new(Wt.Cache||Ge),n}Wt.Cache=Ge;const qt=function(e){const t=[];return Object.keys(e).forEach(n=>{if(qt[n])for(const o of Array.isArray(e[n])?e[n]:[e[n]])o&&t.push(qt[n](o))}),Promise.all(t)};Object.assign(qt,{css:Wt(e=>new Promise((t,n)=>{const o=document.createElement("link");o.onload=()=>t(e),o.onerror=()=>n(e),o.rel="stylesheet",o.href=e,document.head.appendChild(o)})),js:Wt(e=>new Promise((t,n)=>{const o=document.createElement("script");o.onload=()=>t(e),o.onerror=()=>n(e),o.src=e,document.head.appendChild(o)})),image:Wt(e=>new Promise((t,n)=>{const o=new Image;o.onload=()=>t(e),o.onerror=()=>n(e),o.src=e}))});const xo=new Map;async function Lc(){if(await Rc(Rt.config.google_maps_api_key),!!Sn)return async e=>{if(!xo.has(e)){const t=await Fc(e);t&&xo.set(e,t.map(Bc))}return xo.get(e)}}async function Fc(e){try{return(await Sn.geocode({address:e})).results}catch(t){if(t.code==="ZERO_RESULTS")return[];console.warn(t)}}let Sn;async function Rc(e){if(!(!e||Sn))try{await qt.js(`https://maps.googleapis.com/maps/api/js?key=${e}`),Sn=new window.google.maps.Geocoder}catch{}}function Bc({formatted_address:e,geometry:{location:{lat:t,lng:n}}}){return{address:e,lat:t(),lng:n()}}const wo=new Map;async function Hc(){return async e=>{if(!wo.has(e))try{const t=await fetch(`https://nominatim.openstreetmap.org/search.php?limit=1&format=jsonv2&q=${encodeURIComponent(e)}`),n=t.ok?await t.json():[];wo.set(e,n.map(Uc))}catch{}return wo.get(e)}}function Uc({display_name:e,lat:t,lon:n}){return{address:e,lat:t,lng:n}}const Wc=[Lc,Hc];async function qc(e){for(const t of Wc){const n=await t();if(n)return n(e)}}function Gc(e){return e!=null&&typeof e=="object"}const{hasOwnProperty:Xc,toString:Kc}=Object.prototype;function Te(e,t){return Xc.call(e,t)}const Yc=/\B([A-Z])/g,Xe=_e(e=>e.replace(Yc,"-$1").toLowerCase()),Zc=/-(\w)/g,Gt=_e(e=>(e.charAt(0).toLowerCase()+e.slice(1)).replace(Zc,(t,n)=>n.toUpperCase())),kt=_e(e=>e.charAt(0).toUpperCase()+e.slice(1));function gt(e,t){return e?.startsWith?.(t)}function Jc(e,t){return e?.endsWith?.(t)}function Z(e,t){return e?.includes?.(t)}function xi(e,t){return e?.findIndex?.(t)}const{isArray:ee,from:yo}=Array,{assign:On}=Object;function fe(e){return typeof e=="function"}function Ne(e){return e!==null&&typeof e=="object"}function Xt(e){return Kc.call(e)==="[object Object]"}function Tn(e){return Ne(e)&&e===e.window}function Kt(e){return _o(e)===9}function En(e){return _o(e)>=1}function Yt(e){return _o(e)===1}function _o(e){return!Tn(e)&&Ne(e)&&e.nodeType}function $o(e){return typeof e=="boolean"}function J(e){return typeof e=="string"}function Co(e){return typeof e=="number"}function Pn(e){return Co(e)||J(e)&&!isNaN(e-parseFloat(e))}function wi(e){return!(ee(e)?e.length:Ne(e)&&Object.keys(e).length)}function re(e){return e===void 0}function So(e){return $o(e)?e:e==="true"||e==="1"||e===""?!0:e==="false"||e==="0"?!1:e}function Zt(e){const t=Number(e);return isNaN(t)?!1:t}function G(e){return parseFloat(e)||0}function F(e){return e&&P(e)[0]}function P(e){return En(e)?[e]:Array.from(e||[]).filter(En)}function Ke(e){return Tn(e)?e:(e=F(e),(Kt(e)?e:e?.ownerDocument)?.defaultView||window)}function yi(e,t){return e===t||Ne(e)&&Ne(t)&&Object.keys(e).length===Object.keys(t).length&&jn(e,(n,o)=>n===t[o])}function Oo(e,t,n){return e.replace(new RegExp(`${t}|${n}`,"g"),o=>o===t?n:t)}function _i(e){return e[e.length-1]}function jn(e,t){for(const n in e)if(t(e[n],n)===!1)return!1;return!0}function $i(e,t){return e.slice().sort(({[t]:n=0},{[t]:o=0})=>n>o?1:o>n?-1:0)}function To(e,t){return e.reduce((n,o)=>n+G(fe(t)?t(o):o[t]),0)}function Qc(e,t){const n=new Set;return e.filter(({[t]:o})=>n.has(o)?!1:n.add(o))}function Ci(e,t){return t.reduce((n,o)=>({...n,[o]:e[o]}),{})}function mt(e,t=0,n=1){return Math.min(Math.max(Zt(e)||0,t),n)}function Eo(){}function Si(...e){return[["bottom","top"],["right","left"]].every(([t,n])=>Math.min(...e.map(({[t]:o})=>o))-Math.max(...e.map(({[n]:o})=>o))>0)}function Po(e,t){return e.x<=t.right&&e.x>=t.left&&e.y<=t.bottom&&e.y>=t.top}function jo(e,t,n){const o=t==="width"?"height":"width";return{[o]:e[t]?Math.round(n*e[o]/e[t]):e[o],[t]:n}}function Oi(e,t){e={...e};for(const n in e)e=e[n]>t[n]?jo(e,n,t[n]):e;return e}function Vc(e,t){e=Oi(e,t);for(const n in e)e=e[n]<t[n]?jo(e,n,t[n]):e;return e}const el={ratio:jo,contain:Oi,cover:Vc};function tl(e,t,n=0,o=!1){t=P(t);const{length:r}=t;return r?(e=Pn(e)?Zt(e):e==="next"?n+1:e==="previous"?n-1:e==="last"?r-1:t.indexOf(F(e)),o?mt(e,0,r-1):(e%=r,e<0?e+r:e)):-1}function _e(e){const t=Object.create(null);return(n,...o)=>t[n]||(t[n]=e(n,...o))}function Ee(e,...t){for(const n of P(e)){const o=Ze(t).filter(r=>!pe(n,r));o.length&&n.classList.add(...o)}}function Ye(e,...t){for(const n of P(e)){const o=Ze(t).filter(r=>pe(n,r));o.length&&n.classList.remove(...o)}}function nl(e,t,n){n=Ze(n),t=Ze(t).filter(o=>!Z(n,o)),Ye(e,t),Ee(e,n)}function pe(e,t){return[t]=Ze(t),P(e).some(n=>n.classList.contains(t))}function Ti(e,t,n){const o=Ze(t);re(n)||(n=!!n);for(const r of P(e))for(const i of o)r.classList.toggle(i,n)}function Ze(e){return e?ee(e)?e.map(Ze).flat():String(e).split(" ").filter(Boolean):[]}function me(e,t,n){if(Ne(t)){for(const o in t)me(e,o,t[o]);return}if(re(n))return F(e)?.getAttribute(t);for(const o of P(e))fe(n)&&(n=n.call(o,me(o,t))),n===null?Pi(o,t):o.setAttribute(t,n)}function Ei(e,t){return P(e).some(n=>n.hasAttribute(t))}function Pi(e,t){P(e).forEach(n=>n.removeAttribute(t))}function Io(e,t){for(const n of[t,`data-${t}`])if(Ei(e,n))return me(e,n)}const vt=typeof window<"u",Ao=vt&&document.dir==="rtl",bt=vt&&"ontouchstart"in window,xt=vt&&window.PointerEvent,ji=xt?"pointerdown":bt?"touchstart":"mousedown",ol=xt?"pointermove":bt?"touchmove":"mousemove",zo=xt?"pointerup":bt?"touchend":"mouseup",Ii=xt?"pointerenter":bt?"":"mouseenter",Ai=xt?"pointerleave":bt?"":"mouseleave",zi=xt?"pointercancel":"touchcancel",rl={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function No(e){return P(e).some(t=>rl[t.tagName.toLowerCase()])}const il=vt&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function wt(e){return P(e).some(t=>il.call(t))}const Do="input,select,textarea,button";function sl(e){return P(e).some(t=>Pe(t,Do))}const Ni=`${Do},a[href],[tabindex]`;function al(e){return Pe(e,Ni)}function yt(e){return F(e)?.parentElement}function Di(e,t){return P(e).filter(n=>Pe(n,t))}function Pe(e,t){return P(e).some(n=>n.matches(t))}function In(e,t){const n=[];for(;e=yt(e);)(!t||Pe(e,t))&&n.push(e);return n}function Mi(e,t){e=F(e);const n=e?yo(e.children):[];return t?Di(n,t):n}function Mo(e,t){return t?P(e).indexOf(F(t)):Mi(yt(e)).indexOf(e)}function Lo(e){return e=F(e),e&&["origin","pathname","search"].every(t=>e[t]===location[t])}function ul(e){if(Lo(e)){const{hash:t,ownerDocument:n}=F(e),o=decodeURIComponent(t).slice(1);return o?n.getElementById(o)||n.getElementsByName(o)[0]:n.documentElement}}function _t(e,t){return Fo(e,Li(e,t))}function cl(e,t){return Jt(e,Li(e,t))}function Fo(e,t){return F(Bi(e,F(t),"querySelector"))}function Jt(e,t){return P(Bi(e,F(t),"querySelectorAll"))}function Li(e,t=document){return Kt(t)||Fi(e).isContextSelector?t:t.ownerDocument}const ll=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fl=/(\([^)]*\)|[^,])+/g,Fi=_e(e=>{let t=!1;if(!e||!J(e))return{};const n=[];for(let o of e.match(fl))o=o.trim().replace(ll,"$1 *"),t||=["!","+","~","-",">"].includes(o[0]),n.push(o);return{selector:n.join(","),selectors:n,isContextSelector:t}}),pl=/(\([^)]*\)|\S)*/,Ri=_e(e=>{e=e.slice(1).trim();const[t]=e.match(pl);return[t,e.slice(t.length+1)]});function Bi(e,t=document,n){const o=Fi(e);if(!o.isContextSelector)return o.selector?Ro(t,n,o.selector):e;e="";const r=o.selectors.length===1;for(let i of o.selectors){let s,a=t;if(i[0]==="!"&&([s,i]=Ri(i),a=t.parentElement?.closest(s),!i&&r)||a&&i[0]==="-"&&([s,i]=Ri(i),a=a.previousElementSibling,a=Pe(a,s)?a:null,!i&&r))return a;if(a){if(r)return i[0]==="~"||i[0]==="+"?(i=`:scope > :nth-child(${Mo(a)+1}) ${i}`,a=a.parentElement):i[0]===">"&&(i=`:scope ${i}`),Ro(a,n,i);e+=`${e?",":""}${dl(a)} ${i}`}}return Kt(t)||(t=t.ownerDocument),Ro(t,n,e)}function Ro(e,t,n){try{return e[t](n)}catch{return null}}function dl(e){const t=[];for(;e.parentNode;){const n=me(e,"id");if(n){t.unshift(`#${Hi(n)}`);break}else{let{tagName:o}=e;o!=="HTML"&&(o+=`:nth-child(${Mo(e)+1})`),t.unshift(o),e=e.parentNode}}return t.join(" > ")}function Hi(e){return J(e)?CSS.escape(e):""}function ie(...e){let[t,n,o,r,i=!1]=Bo(e);r.length>1&&(r=kl(r)),i?.self&&(r=gl(r)),o&&(r=hl(o,r));for(const s of n)for(const a of t)a.addEventListener(s,r,i);return()=>Ui(t,n,r,i)}function Ui(...e){let[t,n,,o,r=!1]=Bo(e);for(const i of n)for(const s of t)s.removeEventListener(i,o,r)}function $e(...e){const[t,n,o,r,i=!1,s]=Bo(e),a=ie(t,n,o,u=>{const c=!s||s(u);c&&(a(),r(u,c))},i);return a}function ve(e,t,n){return Ho(e).every(o=>o.dispatchEvent(Wi(t,!0,!0,n)))}function Wi(e,t=!0,n=!1,o){return J(e)&&(e=new CustomEvent(e,{bubbles:t,cancelable:n,detail:o})),e}function Bo(e){return e[0]=Ho(e[0]),J(e[1])&&(e[1]=e[1].split(" ")),fe(e[2])&&e.splice(2,0,!1),e}function hl(e,t){return n=>{const o=e[0]===">"?Jt(e,n.currentTarget).reverse().find(r=>r.contains(n.target)):n.target.closest(e);o&&(n.current=o,t.call(this,n),delete n.current)}}function kl(e){return t=>ee(t.detail)?e(t,...t.detail):e(t)}function gl(e){return function(t){if(t.target===t.currentTarget||t.target===t.current)return e.call(null,t)}}function qi(e){return e&&"addEventListener"in e}function ml(e){return qi(e)?e:F(e)}function Ho(e){return ee(e)?e.map(ml).filter(Boolean):J(e)?Jt(e):qi(e)?[e]:P(e)}function Uo(e){return e.pointerType==="touch"||!!e.touches}function An(e){const{clientX:t,clientY:n}=e.touches?.[0]||e.changedTouches?.[0]||e;return{x:t,y:n}}const vl={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function b(e,t,n,o){const r=P(e);for(const i of r)if(J(t)){if(t=qo(t),re(n))return getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,Pn(n)&&!vl[t]&&!Gi(t)?`${n}px`:n||Co(n)?n:"",o)}else if(ee(t)){const s={};for(const a of t)s[a]=b(i,a);return s}else if(Ne(t))for(const s in t)b(i,s,t[s],n);return r[0]}function Wo(e,t){for(const n in t)b(e,n,"")}const qo=_e(e=>{if(Gi(e))return e;e=Xe(e);const{style:t}=document.documentElement;if(e in t)return e;for(const n of["webkit","moz"]){const o=`-${n}-${e}`;if(o in t)return o}});function Gi(e){return gt(e,"--")}const Go="uk-transition",Xo="transitionend",Ko="transitioncanceled";function bl(e,t,n=400,o="linear"){return n=Math.round(n),Promise.all(P(e).map(r=>new Promise((i,s)=>{for(const c in t)b(r,c);const a=setTimeout(()=>ve(r,Xo),n);$e(r,[Xo,Ko],({type:c})=>{clearTimeout(a),Ye(r,Go),Wo(r,u),c===Ko?s():i(r)},{self:!0}),Ee(r,Go);const u={transitionProperty:Object.keys(t).map(qo).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:o};b(r,{...u,...t})})))}const $t={start:bl,async stop(e){ve(e,Xo),await Promise.resolve()},async cancel(e){ve(e,Ko),await Promise.resolve()},inProgress(e){return pe(e,Go)}},Qt="uk-animation",Xi="animationend",zn="animationcanceled";function Ki(e,t,n=200,o,r){return Promise.all(P(e).map(i=>new Promise((s,a)=>{pe(i,Qt)&&ve(i,zn);const u=[t,Qt,`${Qt}-${r?"leave":"enter"}`,o&&`uk-transform-origin-${o}`,r&&`${Qt}-reverse`],c=setTimeout(()=>ve(i,Xi),n);$e(i,[Xi,zn],({type:d})=>{clearTimeout(c),d===zn?a():s(i),b(i,"animationDuration",""),Ye(i,u)},{self:!0}),b(i,"animationDuration",`${n}ms`),Ee(i,u)})))}const Nn={in:Ki,out(e,t,n,o){return Ki(e,t,n,o,!0)},inProgress(e){return pe(e,Qt)},cancel(e){ve(e,zn)}};function xl(e){if(document.readyState!=="loading"){e();return}$e(document,"DOMContentLoaded",e)}function Ct(e,...t){return t.some(n=>e?.tagName?.toLowerCase()===n.toLowerCase())}function Yi(e){return e=je(e),e&&(e.innerHTML=""),e}function wl(e,t){return re(t)?je(e).innerHTML:Je(Yi(e),t)}const yl=Dn("prepend"),Je=Dn("append"),Zi=Dn("before"),Ji=Dn("after");function Dn(e){return function(t,n){const o=P(J(n)?en(n):n);return je(t)?.[e](...o),ts(o)}}function Vt(e){P(e).forEach(t=>t.remove())}function Qi(e,t){for(t=F(Zi(e,t));t.firstElementChild;)t=t.firstElementChild;return Je(t,e),t}function Vi(e,t){return P(P(e).map(n=>n.hasChildNodes()?Qi(yo(n.childNodes),t):Je(n,t)))}function es(e){P(e).map(yt).filter((t,n,o)=>o.indexOf(t)===n).forEach(t=>t.replaceWith(...t.childNodes))}const _l=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function en(e){const t=_l.exec(e);if(t)return document.createElement(t[1]);const n=document.createElement("template");return n.innerHTML=e.trim(),ts(n.content.childNodes)}function ts(e){return e.length>1?e:e[0]}function Mn(e,t){if(Yt(e))for(t(e),e=e.firstElementChild;e;)Mn(e,t),e=e.nextElementSibling}function je(e,t){return ns(e)?F(en(e)):Fo(e,t)}function Ln(e,t){return ns(e)?P(en(e)):Jt(e,t)}function ns(e){return J(e)&>(e.trim(),"<")}const Qe={width:["left","right"],height:["top","bottom"]};function be(e){const t=Yt(e)?F(e).getBoundingClientRect():{height:os(e),width:Fn(e),top:0,left:0};return{height:t.height,width:t.width,top:t.top,left:t.left,bottom:t.top+t.height,right:t.left+t.width}}function X(e,t){t&&b(e,{left:0,top:0});const n=be(e);if(e){const{scrollY:o,scrollX:r}=Ke(e),i={height:o,width:r};for(const s in Qe)for(const a of Qe[s])n[a]+=i[s]}if(!t)return n;for(const o of["left","top"])b(e,o,t[o]-n[o])}function $l(e){let{top:t,left:n}=X(e);const{ownerDocument:{body:o,documentElement:r},offsetParent:i}=F(e);let s=i||r;for(;s&&(s===o||s===r)&&b(s,"position")==="static";)s=s.parentNode;if(Yt(s)){const a=X(s);t-=a.top+G(b(s,"borderTopWidth")),n-=a.left+G(b(s,"borderLeftWidth"))}return{top:t-G(b(e,"marginTop")),left:n-G(b(e,"marginLeft"))}}function Yo(e){e=F(e);const t=[e.offsetTop,e.offsetLeft];for(;e=e.offsetParent;)if(t[0]+=e.offsetTop+G(b(e,"borderTopWidth")),t[1]+=e.offsetLeft+G(b(e,"borderLeftWidth")),b(e,"position")==="fixed"){const n=Ke(e);return t[0]+=n.scrollY,t[1]+=n.scrollX,t}return t}const os=rs("height"),Fn=rs("width");function rs(e){const t=kt(e);return(n,o)=>{if(re(o)){if(Tn(n))return n[`inner${t}`];if(Kt(n)){const r=n.documentElement;return Math.max(r[`offset${t}`],r[`scroll${t}`])}return n=F(n),o=b(n,e),o=o==="auto"?n[`offset${t}`]:G(o)||0,o-Zo(n,e)}else return b(n,e,!o&&o!==0?"":+o+Zo(n,e)+"px")}}function Zo(e,t,n="border-box"){return b(e,"boxSizing")===n?To(Qe[t],o=>G(b(e,`padding-${o}`))+G(b(e,`border-${o}-width`))):0}function is(e){for(const t in Qe)for(const n in Qe[t])if(Qe[t][n]===e)return Qe[t][1-n];return e}function Rn(e,t="width",n=window,o=!1){return J(e)?To(Sl(e),r=>{const i=Tl(r);return i?El(i==="vh"?Pl():i==="vw"?Fn(Ke(n)):o?n[`offset${kt(t)}`]:be(n)[t],r):r}):G(e)}const Cl=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Sl=_e(e=>e.toString().replace(/\s/g,"").match(Cl)||[]),Ol=/(?:v[hw]|%)$/,Tl=_e(e=>(e.match(Ol)||[])[0]);function El(e,t){return e*G(t)/100}let tn,St;function Pl(){return tn||(St||(St=je("<div>"),b(St,{height:"100vh",position:"fixed"}),ie(window,"resize",()=>tn=null)),Je(document.body,St),tn=St.clientHeight,Vt(St),tn)}const Jo={read:jl,write:Il,clear:Al,flush:ss},Bn=[],Hn=[];function jl(e){return Bn.push(e),Vo(),e}function Il(e){return Hn.push(e),Vo(),e}function Al(e){us(Bn,e),us(Hn,e)}let Qo=!1;function ss(){as(Bn),as(Hn.splice(0)),Qo=!1,(Bn.length||Hn.length)&&Vo()}function Vo(){Qo||(Qo=!0,queueMicrotask(ss))}function as(e){let t;for(;t=e.shift();)try{t()}catch(n){console.error(n)}}function us(e,t){const n=e.indexOf(t);return~n&&e.splice(n,1)}class cs{init(){this.positions=[];let t;this.unbind=ie(document,"mousemove",n=>t=An(n)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)}cancel(){this.unbind?.(),clearInterval(this.interval)}movesTo(t){if(!this.positions||this.positions.length<2)return!1;const n=be(t),{left:o,right:r,top:i,bottom:s}=n,[a]=this.positions,u=_i(this.positions),c=[a,u];return Po(u,n)?!1:[[{x:o,y:i},{x:r,y:s}],[{x:o,y:s},{x:r,y:i}]].some(k=>{const g=zl(c,k);return g&&Po(g,n)})}}function zl([{x:e,y:t},{x:n,y:o}],[{x:r,y:i},{x:s,y:a}]){const u=(a-i)*(n-e)-(s-r)*(o-t);if(u===0)return!1;const c=((s-r)*(t-i)-(a-i)*(e-r))/u;return c<0?!1:{x:e+c*(n-e),y:t+c*(o-t)}}function Nl(e,t,n={},{intersecting:o=!0}={}){const r=new IntersectionObserver(o?(i,s)=>{i.some(a=>a.isIntersecting)&&t(i,s)}:t,n);for(const i of P(e))r.observe(i);return r}const Dl=vt&&window.ResizeObserver;function ls(e,t,n={box:"border-box"}){if(Dl)return ds(ResizeObserver,e,t,n);const o=[ie(window,"load resize",t),ie(document,"loadedmetadata load",t,!0)];return{disconnect:()=>o.map(r=>r())}}function fs(e){return{disconnect:ie([window,window.visualViewport],"resize",e)}}function ps(e,t,n){return ds(MutationObserver,e,t,n)}function ds(e,t,n,o){const r=new e(n);for(const i of P(t))r.observe(i,o);return r}function Ml(e){tr(e)&&nr(e,{func:"playVideo",method:"play"}),er(e)&&e.play().catch(Eo)}function Ll(e){tr(e)&&nr(e,{func:"pauseVideo",method:"pause"}),er(e)&&e.pause()}function Fl(e){tr(e)&&nr(e,{func:"mute",method:"setVolume",value:0}),er(e)&&(e.muted=!0)}function er(e){return Ct(e,"video")}function tr(e){return Ct(e,"iframe")&&(hs(e)||ks(e))}function hs(e){return!!e.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function ks(e){return!!e.src.match(/vimeo\.com\/video\/.*/)}async function nr(e,t){await Bl(e),gs(e,t)}function gs(e,t){e.contentWindow.postMessage(JSON.stringify({event:"command",...t}),"*")}const or="_ukPlayer";let Rl=0;function Bl(e){if(e[or])return e[or];const t=hs(e),n=ks(e),o=++Rl;let r;return e[or]=new Promise(i=>{t&&$e(e,"load",()=>{const s=()=>gs(e,{event:"listening",id:o});r=setInterval(s,100),s()}),$e(window,"message",i,!1,({data:s})=>{try{return s=JSON.parse(s),t&&s?.id===o&&s.event==="onReady"||n&&Number(s?.player_id)===o}catch{}}),e.src=`${e.src}${Z(e.src,"?")?"&":"?"}${t?"enablejsapi=1":`api=1&player_id=${o}`}`}).then(()=>clearInterval(r))}function Hl(e,t=0,n=0){return wt(e)?Si(...Ot(e).map(o=>{const{top:r,left:i,bottom:s,right:a}=Ce(o);return{top:r-t,left:i-n,bottom:s+t,right:a+n}}).concat(X(e))):!1}function Ul(e,{offset:t=0}={}){const n=wt(e)?nn(e,!1,["hidden"]):[];return n.reduce((s,a,u)=>{const{scrollTop:c,scrollHeight:d,offsetHeight:k}=a,g=Ce(a),v=d-g.height,{height:$,top:j}=n[u-1]?Ce(n[u-1]):X(e);let S=Math.ceil(j-g.top-t+c);return t>0&&k<$+t?S+=t:t=0,S>v?(t-=S-v,S=v):S<0&&(t-=S,S=0),()=>o(a,S-c,e,v).then(s)},()=>Promise.resolve())();function o(s,a,u,c){return new Promise(d=>{const k=s.scrollTop,g=r(Math.abs(a)),v=Date.now(),$=sr(s)===s,j=X(u).top+($?0:k);let S=0,H=15;(function U(){const R=i(mt((Date.now()-v)/g));let Y=0;n[0]===s&&k+a<c&&(Y=X(u).top+($?0:s.scrollTop)-j-be(ms(u)).height),b(s,"scrollBehavior")!=="auto"&&b(s,"scrollBehavior","auto"),s.scrollTop=k+(a+Y)*R,b(s,"scrollBehavior",""),R===1&&(S===Y||!H--)?d():(S=Y,requestAnimationFrame(U))})()})}function r(s){return 40*Math.pow(s,.375)}function i(s){return .5*(1-Math.cos(Math.PI*s))}}function Wl(e,t=0,n=0){if(!wt(e))return 0;const o=rr(e,!0),{scrollHeight:r,scrollTop:i}=o,{height:s}=Ce(o),a=r-s,u=Yo(e)[0]-Yo(o)[0],c=Math.max(0,u-s+t),d=Math.min(a,u+e.offsetHeight-n);return c<d?mt((i-c)/(d-c)):1}function nn(e,t=!1,n=[]){const o=sr(e);let r=In(e).reverse();r=r.slice(r.indexOf(o)+1);const i=xi(r,s=>b(s,"position")==="fixed");return~i&&(r=r.slice(i)),[o].concat(r.filter(s=>b(s,"overflow").split(" ").some(a=>Z(["auto","scroll",...n],a))&&(!t||s.scrollHeight>Ce(s).height))).reverse()}function rr(...e){return nn(...e)[0]}function Ot(e){return nn(e,!1,["hidden","clip"])}function Ce(e){const t=Ke(e),n=sr(e),o=!En(e)||e.contains(n);if(o&&t.visualViewport){let{height:u,width:c,scale:d,pageTop:k,pageLeft:g}=t.visualViewport;return u=Math.round(u*d),c=Math.round(c*d),{height:u,width:c,top:k,left:g,bottom:k+u,right:g+c}}let r=X(o?t:e);if(b(e,"display")==="inline")return r;const{body:i,documentElement:s}=t.document,a=o?n===s||n.clientHeight<i.clientHeight?n:i:e;for(let[u,c,d,k]of[["width","x","left","right"],["height","y","top","bottom"]]){const g=r[u]%1;r[d]+=G(b(a,`border-${d}-width`)),r[u]=r[c]=a[`client${kt(u)}`]-(g?g<.5?-g:1-g:0),r[k]=r[u]+r[d]}return r}function ms(e){const{left:t,width:n,top:o}=be(e);for(const r of o?[0,o]:[0]){let i;for(const s of Ke(e).document.elementsFromPoint(t+n/2,r))!s.contains(e)&&!pe(s,"uk-togglable-leave")&&(ir(s,"fixed")&&vs(In(e).reverse().find(a=>!a.contains(s)&&!ir(a,"static")))<vs(s)||ir(s,"sticky")&&(!e||yt(s).contains(e)))&&(!i||be(i).height<be(s).height)&&(i=s);if(i)return i}}function vs(e){return G(b(e,"zIndex"))}function ir(e,t){return b(e,"position")===t}function sr(e){return Ke(e).document.scrollingElement}const se=[["width","x","left","right"],["height","y","top","bottom"]];function bs(e,t,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},ee(t)||(t=[t,t]),X(e,xs(e,t,n))}function xs(e,t,n){const o=ws(e,t,n),{boundary:r,viewportOffset:i=0,placement:s}=n;let a=o;for(const[u,[c,,d,k]]of Object.entries(se)){const g=ql(e,t[u],i,r,u);if(Un(o,g,u))continue;let v=0;if(s[u]==="flip"){const $=n.attach.target[u];if($===k&&o[k]<=g[k]||$===d&&o[d]>=g[d])continue;v=Xl(e,t,n,u)[d]-o[d];const j=Gl(e,t[u],i,u);if(!Un(ar(o,v,u),j,u)){if(Un(o,j,u))continue;if(n.recursion)return!1;const S=Kl(e,t,n);if(S&&Un(S,j,1-u))return S;continue}}else if(s[u]==="shift"){const $=X(t[u]),{offset:j}=n;v=mt(mt(o[d],g[d],g[k]-o[c]),$[d]-o[c]+j[u],$[k]-j[u])-o[d]}a=ar(a,v,u)}return a}function ws(e,t,n){let{attach:o,offset:r}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},i=X(e);for(const[s,[a,,u,c]]of Object.entries(se)){const d=o.target[s]===o.element[s]?Ce(t[s]):X(t[s]);i=ar(i,d[u]-i[u]+ys(o.target[s],c,d[a])-ys(o.element[s],c,i[a])+ +r[s],s)}return i}function ar(e,t,n){const[,o,r,i]=se[n],s={...e};return s[r]=e[o]=e[r]+t,s[i]+=t,s}function ys(e,t,n){return e==="center"?n/2:e===t?n:0}function ql(e,t,n,o,r){let i=$s(..._s(e,t).map(Ce));return n&&(i[se[r][2]]+=n,i[se[r][3]]-=n),o&&(i=$s(i,X(ee(o)?o[r]:o))),i}function Gl(e,t,n,o){const[r,i,s,a]=se[o],[u]=_s(e,t),c=Ce(u);return["auto","scroll"].includes(b(u,`overflow-${i}`))&&(c[s]-=u[`scroll${kt(s)}`],c[a]=c[s]+u[`scroll${kt(r)}`]),c[s]+=n,c[a]-=n,c}function _s(e,t){return Ot(t).filter(n=>n.contains(e))}function $s(...e){let t={};for(const n of e)for(const[,,o,r]of se)t[o]=Math.max(t[o]||0,n[o]),t[r]=Math.min(...[t[r],n[r]].filter(Boolean));return t}function Un(e,t,n){const[,,o,r]=se[n];return e[o]>=t[o]&&e[r]<=t[r]}function Xl(e,t,{offset:n,attach:o},r){return ws(e,t,{attach:{element:Cs(o.element,r),target:Cs(o.target,r)},offset:Yl(n,r)})}function Kl(e,t,n){return xs(e,t,{...n,attach:{element:n.attach.element.map(Ss).reverse(),target:n.attach.target.map(Ss).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function Cs(e,t){const n=[...e],o=se[t].indexOf(e[t]);return~o&&(n[t]=se[t][1-o%2+2]),n}function Ss(e){for(let t=0;t<se.length;t++){const n=se[t].indexOf(e);if(~n)return se[1-t][n%2+2]}}function Yl(e,t){return e=[...e],e[t]*=-1,e}var Zl=Object.freeze({__proto__:null,$:je,$$:Ln,Animation:Nn,Dimensions:el,MouseTracker:cs,Transition:$t,addClass:Ee,after:Ji,append:Je,apply:Mn,assign:On,attr:me,before:Zi,boxModelAdjust:Zo,camelize:Gt,children:Mi,clamp:mt,createEvent:Wi,css:b,data:Io,dimensions:be,each:jn,empty:Yi,endsWith:Jc,escape:Hi,fastdom:Jo,filter:Di,find:Fo,findAll:Jt,findIndex:xi,flipPosition:is,fragment:en,getCoveringElement:ms,getEventPos:An,getIndex:tl,getTargetedElement:ul,hasAttr:Ei,hasClass:pe,hasOwn:Te,hasTouch:bt,height:os,html:wl,hyphenate:Xe,inBrowser:vt,includes:Z,index:Mo,intersectRect:Si,isArray:ee,isBoolean:$o,isDocument:Kt,isElement:Yt,isEmpty:wi,isEqual:yi,isFocusable:al,isFunction:fe,isInView:Hl,isInput:sl,isNode:En,isNumber:Co,isNumeric:Pn,isObject:Ne,isPlainObject:Xt,isRtl:Ao,isSameSiteAnchor:Lo,isString:J,isTag:Ct,isTouch:Uo,isUndefined:re,isVisible:wt,isVoidElement:No,isWindow:Tn,last:_i,matches:Pe,memoize:_e,mute:Fl,noop:Eo,observeIntersection:Nl,observeMutation:ps,observeResize:ls,observeViewportResize:fs,off:Ui,offset:X,offsetPosition:Yo,offsetViewport:Ce,on:ie,once:$e,overflowParents:Ot,parent:yt,parents:In,pause:Ll,pick:Ci,play:Ml,pointInRect:Po,pointerCancel:zi,pointerDown:ji,pointerEnter:Ii,pointerLeave:Ai,pointerMove:ol,pointerUp:zo,position:$l,positionAt:bs,prepend:yl,propName:qo,query:_t,queryAll:cl,ready:xl,remove:Vt,removeAttr:Pi,removeClass:Ye,replaceClass:nl,resetProps:Wo,scrollIntoView:Ul,scrollParent:rr,scrollParents:nn,scrolledOver:Wl,selFocusable:Ni,selInput:Do,sortBy:$i,startsWith:gt,sumBy:To,swap:Oo,toArray:yo,toBoolean:So,toEventTargets:Ho,toFloat:G,toNode:F,toNodes:P,toNumber:Zt,toPx:Rn,toWindow:Ke,toggleClass:Ti,trigger:ve,ucfirst:kt,uniqueBy:Qc,unwrap:es,width:Fn,wrapAll:Qi,wrapInner:Vi}),ur=function(){return yn.Date.now()},Jl=/\s/;function Ql(e){for(var t=e.length;t--&&Jl.test(e.charAt(t)););return t}var Vl=/^\s+/;function ef(e){return e&&e.slice(0,Ql(e)+1).replace(Vl,"")}var tf="[object Symbol]";function nf(e){return typeof e=="symbol"||Gc(e)&&mi(e)==tf}var Os=NaN,of=/^[-+]0x[0-9a-f]+$/i,rf=/^0b[01]+$/i,sf=/^0o[0-7]+$/i,af=parseInt;function Ts(e){if(typeof e=="number")return e;if(nf(e))return Os;if(Ht(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ht(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ef(e);var n=rf.test(e);return n||sf.test(e)?af(e.slice(2),n?2:8):of.test(e)?Os:+e}var uf="Expected a function",cf=Math.max,lf=Math.min;function ff(e,t,n){var o,r,i,s,a,u,c=0,d=!1,k=!1,g=!0;if(typeof e!="function")throw new TypeError(uf);t=Ts(t)||0,Ht(n)&&(d=!!n.leading,k="maxWait"in n,i=k?cf(Ts(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g);function v(O){var D=o,W=r;return o=r=void 0,c=O,s=e.apply(W,D),s}function $(O){return c=O,a=setTimeout(H,t),d?v(O):s}function j(O){var D=O-u,W=O-c,ye=t-D;return k?lf(ye,i-W):ye}function S(O){var D=O-u,W=O-c;return u===void 0||D>=t||D<0||k&&W>=i}function H(){var O=ur();if(S(O))return U(O);a=setTimeout(H,j(O))}function U(O){return a=void 0,g&&o?v(O):(o=r=void 0,s)}function R(){a!==void 0&&clearTimeout(a),c=0,o=u=r=a=void 0}function Y(){return a===void 0?s:U(ur())}function ke(){var O=ur(),D=S(O);if(o=arguments,r=this,u=O,D){if(a===void 0)return $(u);if(k)return clearTimeout(a),a=setTimeout(H,t),v(u)}return a===void 0&&(a=setTimeout(H,t)),s}return ke.cancel=R,ke.flush=Y,ke}var pf=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9" /> <line fill="none" stroke="#000" x1="13.18" y1="6.82" x2="6.82" y2="13.18" /> <line fill="none" stroke="#000" x1="6.82" y1="6.82" x2="13.18" y2="13.18" /> </svg> `,df=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path fill="none" stroke="#000" stroke-width="1.01" d="M10,0.5 C6.41,0.5 3.5,3.39 3.5,6.98 C3.5,11.83 10,19 10,19 C10,19 16.5,11.83 16.5,6.98 C16.5,3.39 13.59,0.5 10,0.5 L10,0.5 Z" /> <circle fill="none" stroke="#000" cx="10" cy="6.8" r="2.3" /> </svg> `;function hf(e){e._data={},e._updates=[...e.$options.update||[]],e._disconnect.push(()=>e._updates=e._data=null)}function kf(e,t){e._updates.unshift(t)}function Wn(e,t="update"){e._connected&&e._updates.length&&(e._updateCount||(e._updateCount=0,requestAnimationFrame(()=>e._updateCount=0)),e._queued||(e._queued=new Set,Jo.read(()=>{e._connected&&gf(e,e._queued),e._queued=null})),e._updateCount++<20&&e._queued.add(t.type||t))}function gf(e,t){for(const{read:n,write:o,events:r=[]}of e._updates){if(!t.has("update")&&!r.some(s=>t.has(s)))continue;let i;n&&(i=n.call(e,e._data,t),i&&Xt(i)&&On(e._data,i)),o&&i!==!1&&Jo.write(()=>{e._connected&&o.call(e,e._data,t)})}}function mf(e){e._watches=[];for(const t of e.$options.watch||[])for(const[n,o]of Object.entries(t))Es(e,o,n);e._initial=!0}function Es(e,t,n){e._watches.push({name:n,...Xt(t)?t:{handler:t}})}function vf(e,t){for(const{name:n,handler:o,immediate:r=!0}of e._watches)(e._initial&&r||Te(t,n)&&!yi(t[n],e[n]))&&o.call(e,e[n],t[n]);e._initial=!1}function bf(e){const{computed:t}=e.$options;if(e._computed={},t)for(const n in t)js(e,n,t[n])}const Ps={subtree:!0,childList:!0};function js(e,t,n){e._hasComputed=!0,Object.defineProperty(e,t,{enumerable:!0,get(){const{_computed:o,$props:r,$el:i}=e;if(!Te(o,t)&&(o[t]=(n.get||n).call(e,r,i),n.observe&&e._computedObserver)){const s=n.observe.call(e,r);e._computedObserver.observe(["~","+","-"].includes(s[0])?i.parentElement:i.getRootNode(),Ps)}return o[t]},set(o){const{_computed:r}=e;r[t]=n.set?n.set.call(e,o):o,re(r[t])&&delete r[t]}})}function xf(e){e._hasComputed&&(kf(e,{read:()=>vf(e,Is(e)),events:["resize","computed"]}),e._computedObserver=ps(e.$el,()=>Wn(e,"computed"),Ps),e._disconnect.push(()=>{e._computedObserver.disconnect(),e._computedObserver=null,Is(e)}))}function Is(e){const t={...e._computed};return e._computed={},t}function wf(e){for(const t of e.$options.events||[])if(Te(t,"handler"))As(e,t);else for(const n in t)As(e,{name:n,handler:t[n]})}function As(e,{name:t,el:n,handler:o,capture:r,passive:i,delegate:s,filter:a,self:u}){a&&!a.call(e,e)||e._disconnect.push(ie(n?n.call(e,e):e.$el,t,s?.call(e,e),o.bind(e),{passive:i,capture:r,self:u}))}function yf(e){for(const t of e.$options.observe||[])_f(e,t)}function _f(e,t){let{observe:n,target:o=e.$el,handler:r,options:i,filter:s,args:a}=t;if(s&&!s.call(e,e))return;const u=`_observe${e._disconnect.length}`;fe(o)&&!Te(e,u)&&js(e,u,()=>{const k=o.call(e,e);return ee(k)?P(k):k}),r=J(r)?e[r]:r.bind(e),fe(i)&&(i=i.call(e,e));const c=Te(e,u)?e[u]:o,d=n(c,r,i,a);fe(o)&&ee(e[u])&&Es(e,{handler:$f(d,i),immediate:!1},u),e._disconnect.push(()=>d.disconnect())}function $f(e,t){return(n,o)=>{for(const r of o)Z(n,r)||(e.unobserve?e.unobserve(r):e.observe&&e.disconnect());for(const r of n)(!Z(o,r)||!e.unobserve)&&e.observe(r,t)}}const B={};B.events=B.watch=B.observe=B.created=B.beforeConnect=B.connected=B.beforeDisconnect=B.disconnected=B.destroy=cr,B.args=function(e,t){return t!==!1&&cr(t||e)},B.update=function(e,t){return $i(cr(e,fe(t)?{read:t}:t),"order")},B.props=function(e,t){if(ee(t)){const n={};for(const o of t)n[o]=String;t=n}return B.methods(e,t)},B.computed=B.methods=function(e,t){return t?e?{...e,...t}:t:e},B.i18n=B.data=function(e,t,n){return n?zs(e,t,n):t?e?function(o){return zs(e,t,o)}:t:e};function zs(e,t,n){return B.computed(fe(e)?e.call(n,n):e,fe(t)?t.call(n,n):t)}function cr(e,t){return e=e&&!ee(e)?[e]:e,t?e?e.concat(t):ee(t)?t:[t]:e}function Cf(e,t){return re(t)?e:t}function on(e,t,n){const o={};if(fe(t)&&(t=t.options),t.extends&&(e=on(e,t.extends,n)),t.mixins)for(const i of t.mixins)e=on(e,i,n);for(const i in e)r(i);for(const i in t)Te(e,i)||r(i);function r(i){o[i]=(B[i]||Cf)(e[i],t[i],n)}return o}function Ns(e,t=[]){try{return e?gt(e,"{")?JSON.parse(e):t.length&&!Z(e,":")?{[t[0]]:e}:e.split(";").reduce((n,o)=>{const[r,i]=o.split(/:(.*)/);return r&&!re(i)&&(n[r.trim()]=i.trim()),n},{}):{}}catch{return{}}}function lr(e,t){return e===Boolean?So(t):e===Number?Zt(t):e==="list"?Of(t):e===Object&&J(t)?Ns(t):e?e(t):t}const Sf=/,(?![^(]*\))/;function Of(e){return ee(e)?e:J(e)?e.split(Sf).map(t=>Pn(t)?Zt(t):So(t.trim())):[e]}function Tf(e){const{$options:t,$props:n}=e,o=Ds(t);On(n,o);const{computed:r,methods:i}=t;for(let s in n)s in o&&(!r||!Te(r,s))&&(!i||!Te(i,s))&&(e[s]=n[s])}function Ds(e){const t={},{args:n=[],props:o={},el:r,id:i}=e;if(!o)return t;for(const a in o){const u=Xe(a);let c=Io(r,u);re(c)||(c=o[a]===Boolean&&c===""?!0:lr(o[a],c),!(u==="target"&>(c,"_"))&&(t[a]=c))}const s=Ns(Io(r,i),n);for(const a in s){const u=Gt(a);re(o[u])||(t[u]=lr(o[u],s[a]))}return t}const Ef=_e((e,t)=>{const n=Object.keys(t),o=n.concat(e).map(r=>[Xe(r),`data-${Xe(r)}`]).flat();return{attributes:n,filter:o}});function Pf(e){const{$options:t,$props:n}=e,{id:o,props:r,el:i}=t;if(!r)return;const{attributes:s,filter:a}=Ef(o,r),u=new MutationObserver(c=>{const d=Ds(t);c.some(({attributeName:k})=>{const g=k.replace("data-","");return(g===o?s:[Gt(g),Gt(k)]).some(v=>!re(d[v])&&d[v]!==n[v])})&&e.$reset()});u.observe(i,{attributes:!0,attributeFilter:a}),e._disconnect.push(()=>u.disconnect())}function Tt(e,t){e.$options[t]?.forEach(n=>n.call(e))}function Ms(e){e._connected||(Tf(e),Tt(e,"beforeConnect"),e._connected=!0,e._disconnect=[],wf(e),hf(e),mf(e),yf(e),Pf(e),xf(e),Tt(e,"connected"),Wn(e))}function Ls(e){e._connected&&(Tt(e,"beforeDisconnect"),e._disconnect.forEach(t=>t()),e._disconnect=null,Tt(e,"disconnected"),e._connected=!1)}let jf=0;function Fs(e,t={}){t.data=zf(t,e.constructor.options),e.$options=on(e.constructor.options,t,e),e.$props={},e._uid=jf++,If(e),Af(e),bf(e),Tt(e,"created"),t.el&&e.$mount(t.el)}function If(e){const{data:t={}}=e.$options;for(const n in t)e.$props[n]=e[n]=t[n]}function Af(e){const{methods:t}=e.$options;if(t)for(const n in t)e[n]=t[n].bind(e)}function zf({data:e={}},{args:t=[],props:n={}}){ee(e)&&(e=e.slice(0,t.length).reduce((o,r,i)=>(Xt(r)?On(o,r):o[t[i]]=r,o),{}));for(const o in e)re(e[o])?delete e[o]:n[o]&&(e[o]=lr(n[o],e[o]));return e}const Q=function(e){Fs(this,e)};Q.util=Zl,Q.options={},Q.version="custom";const Nf="uk-",Ve="__uikit__",rn={};function Rs(e,t){const n=Nf+Xe(e);if(!t)return rn[n].options||(rn[n]=Q.extend(rn[n])),rn[n];e=Gt(e),Q[e]=(r,i)=>fr(e,r,i);const o=t.options??{...t};return o.id=n,o.name=e,o.install?.(Q,o,e),Q._initialized&&!o.functional&&requestAnimationFrame(()=>fr(e,`[${n}],[data-${n}]`)),rn[n]=o}function fr(e,t,n,...o){const r=Rs(e);return r.options.functional?new r({data:Xt(t)?t:[t,n,...o]}):t?Ln(t).map(i)[0]:i();function i(s){const a=dr(s,e);if(a)if(n)a.$destroy();else return a;return new r({el:s,data:n})}}function pr(e){return e?.[Ve]||{}}function dr(e,t){return pr(e)[t]}function Df(e,t){e[Ve]||(e[Ve]={}),e[Ve][t.$options.name]=t}function Mf(e,t){delete e[Ve]?.[t.$options.name],wi(e[Ve])&&delete e[Ve]}function Lf(e){e.component=Rs,e.getComponents=pr,e.getComponent=dr,e.update=Bs,e.use=function(n){if(!n.installed)return n.call(null,this),n.installed=!0,this},e.mixin=function(n,o){o=(J(o)?this.component(o):o)||this,o.options=on(o.options,n)},e.extend=function(n){n||={};const o=this,r=function(s){Fs(this,s)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=on(o.options,n),r.super=o,r.extend=o.extend,r};let t;Object.defineProperty(e,"container",{get(){return t||document.body},set(n){t=je(n)}})}function Bs(e,t){e=e?F(e):document.body;for(const n of In(e).reverse())Hs(n,t);Mn(e,n=>Hs(n,t))}function Hs(e,t){const n=pr(e);for(const o in n)Wn(n[o],t)}function Ff(e){e.prototype.$mount=function(t){const n=this;Df(t,n),n.$options.el=t,t.isConnected&&Ms(n)},e.prototype.$destroy=function(t=!1){const n=this,{el:o}=n.$options;o&&Ls(n),Tt(n,"destroy"),Mf(o,n),t&&Vt(n.$el)},e.prototype.$create=fr,e.prototype.$emit=function(t){Wn(this,t)},e.prototype.$update=function(t=this.$el,n){Bs(t,n)},e.prototype.$reset=function(){Ls(this),Ms(this)},e.prototype.$getComponent=dr,Object.defineProperties(e.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(e,"container")})}Lf(Q),Ff(Q);var Rf={props:{container:Boolean},data:{container:!0},computed:{container({container:e}){return e===!0&&this.$container||e&&je(e)}}};function Bf(e){e.target.closest('a[href="#"],a[href=""]')&&e.preventDefault()}var Hf={props:{pos:String,offset:Boolean,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${Ao?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=Z(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(e,t,n){let o=[this.getPositionOffset(e),this.getShiftOffset(e)];const r=[this.flip&&"flip",this.shift&&"shift"],i={element:[this.inset?this.dir:is(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in i)i[u].reverse();o.reverse(),r.reverse()}const s=hr(e),a=be(e);b(e,{top:-a.height,left:-a.width}),bs(e,t,{attach:i,offset:o,boundary:n,placement:r,viewportOffset:this.getViewportOffset(e)}),s()},getPositionOffset(e=this.$el){return Rn(this.offset===!1?b(e,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",e)*(Z(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(e=this.$el){return this.align==="center"?0:Rn(b(e,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",e)*(Z(["left","top"],this.align)?1:-1)},getViewportOffset(e){return Rn(b(e,"--uk-position-viewport-offset"))}}};function hr(e){const t=rr(e),{scrollTop:n}=t;return()=>{n!==t.scrollTop&&(t.scrollTop=n)}}var Uf={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglable-enter",clsLeave:"uk-togglable-leave"},computed:{hasAnimation:({animation:e})=>!!e[0],hasTransition:({animation:e})=>["slide","reveal"].some(t=>gt(e[0],t))},methods:{async toggleElement(e,t,n){try{return await Promise.all(P(e).map(o=>{const r=$o(t)?t:!this.isToggled(o);if(!ve(o,`before${r?"show":"hide"}`,[this]))return Promise.reject();const i=(fe(n)?n:n===!1||!this.hasAnimation?Wf:this.hasTransition?qf:Gf)(o,r,this),s=r?this.clsEnter:this.clsLeave;Ee(o,s),ve(o,r?"show":"hide",[this]);const a=()=>{if(Ye(o,s),ve(o,r?"shown":"hidden",[this]),r){const u=hr(o);Ln("[autofocus]",o).find(wt)?.focus(),u()}};return i?i.then(a,()=>(Ye(o,s),Promise.reject())):a()})),!0}catch{return!1}},isToggled(e=this.$el){return e=F(e),pe(e,this.clsEnter)?!0:pe(e,this.clsLeave)?!1:this.cls?pe(e,this.cls.split(" ")[0]):wt(e)},_toggle(e,t){if(!e)return;t=!!t;let n;this.cls?(n=Z(this.cls," ")||t!==pe(e,this.cls),n&&Ti(e,this.cls,Z(this.cls," ")?void 0:t)):(n=t===e.hidden,n&&(e.hidden=!t)),n&&ve(e,"toggled",[t,this])}}};function Wf(e,t,{_toggle:n}){return Nn.cancel(e),$t.cancel(e),n(e,t)}async function qf(e,t,{animation:n,duration:o,velocity:r,transition:i,_toggle:s}){const[a="reveal",u="top"]=n[0]?.split("-")||[],c=[["left","right"],["top","bottom"]],d=c[Z(c[0],u)?0:1],k=d[1]===u,v=["width","height"][c.indexOf(d)],$=`margin-${d[0]}`,j=`margin-${u}`;let S=be(e)[v];const H=$t.inProgress(e);await $t.cancel(e),t&&s(e,!0);const U=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",$,j].map(lt=>[lt,e.style[lt]])),R=be(e),Y=G(b(e,$)),ke=G(b(e,j)),O=R[v]+ke;!H&&!t&&(S+=ke);const[D]=Vi(e,"<div>");b(D,{boxSizing:"border-box",height:R.height,width:R.width,...b(e,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",j])}),b(e,{padding:0,border:0,minWidth:0,minHeight:0,[j]:0,width:R.width,height:R.height,overflow:"hidden",[v]:S});const W=S/O;o=(r*O+o)*(t?1-W:W);const ye={[v]:t?O:0};k&&(b(e,$,O-S+Y),ye[$]=t?Y:O+Y),!k^a==="reveal"&&(b(D,$,-O+S),$t.start(D,{[$]:t?0:-O},o,i));try{await $t.start(e,ye,o,i)}finally{b(e,U),es(D.firstChild),t||s(e,!1)}}function Gf(e,t,n){const{animation:o,duration:r,_toggle:i}=n;return t?(i(e,!0),Nn.in(e,o[0],r,n.origin)):Nn.out(e,o[1]||o[0],r,n.origin).then(()=>i(e,!1))}const Xf={ESC:27};let kr;function Kf(e){const t=ie(e,"touchstart",r=>{if(r.targetTouches.length!==1||Pe(r.target,'input[type="range"'))return;let i=An(r).y;const s=ie(e,"touchmove",a=>{const u=An(a).y;u!==i&&(i=u,nn(a.target).some(c=>{if(!e.contains(c))return!1;let{scrollHeight:d,clientHeight:k}=c;return k<d})||a.preventDefault())},{passive:!1});$e(e,"scroll touchend touchcanel",s,{capture:!0})},{passive:!0});if(kr)return t;kr=!0;const{scrollingElement:n}=document,o={overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Fn(window)-n.clientWidth||""};return b(n,o),()=>{kr=!1,t(),Wo(n,o)}}let te;var Yf={mixins:[Rf,Hf,Uf],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1,closeOnScroll:!1,selClose:".uk-drop-close"},computed:{boundary({boundary:e,boundaryX:t,boundaryY:n},o){return[_t(t||e,o)||window,_t(n||e,o)||window]},target({target:e,targetX:t,targetY:n},o){return t||=e||this.targetEl,n||=e||this.targetEl,[t===!0?window:_t(t,o),n===!0?window:_t(n,o)]}},created(){this.tracker=new cs},beforeConnect(){this.clsDrop=this.$props.clsDrop||this.$options.id},connected(){Ee(this.$el,"uk-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=Jf(this)),me(this.targetEl,"aria-expanded",!1),this._style=Ci(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),te=null),b(this.$el,this._style)},events:[{name:"click",delegate:({selClose:e})=>e,handler(e){Bf(e),this.hide(!1)}},{name:"click",delegate:()=>'a[href*="#"]',handler({defaultPrevented:e,current:t}){const{hash:n}=t;!e&&n&&Lo(t)&&!this.$el.contains(je(n))&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(e,t){e.preventDefault(),this.isToggled()?this.hide(!1):this.show(t?.$el,!1)}},{name:"toggleshow",self:!0,handler(e,t){e.preventDefault(),this.show(t?.$el)}},{name:"togglehide",self:!0,handler(e){e.preventDefault(),Pe(this.$el,":focus,:hover")||this.hide()}},{name:`${Ii} focusin`,filter:({mode:e})=>Z(e,"hover"),handler(e){Uo(e)||this.clearTimers()}},{name:`${Ai} focusout`,filter:({mode:e})=>Z(e,"hover"),handler(e){!Uo(e)&&e.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(e,t){t&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){te=this,this.tracker.init(),me(this.targetEl,"aria-expanded",!0);const e=[Qf(this),Vf(this),tp(this),this.autoUpdate&&Us(this),this.closeOnScroll&&ep(this)];$e(this.$el,"hide",()=>e.forEach(t=>t&&t()),{self:!0}),this.bgScroll||$e(this.$el,"hidden",Kf(this.$el),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:e}){if(this.$el!==e){te=te===null&&this.$el.contains(e)&&this.isToggled()?this:te;return}te=this.isActive()?null:te,this.tracker.cancel(),me(this.targetEl,"aria-expanded",!1)}}],update:{write(){this.isToggled()&&!pe(this.$el,this.clsEnter)&&this.position()}},methods:{show(e=this.targetEl,t=!0){if(this.isToggled()&&e&&this.targetEl&&e!==this.targetEl&&this.hide(!1,!1),this.targetEl=e,this.clearTimers(),!this.isActive()){if(te){if(t&&te.isDelaying()){this.showTimer=setTimeout(()=>Pe(e,":hover")&&this.show(),10);return}let n;for(;te&&n!==te&&!te.$el.contains(this.$el);)n=te,te.hide(!1,!1);t=!1}this.container&&yt(this.$el)!==this.container&&Je(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),t&&this.delayShow||0)}},hide(e=!0,t=!0){const n=()=>this.toggleElement(this.$el,!1,this.animateOut&&t);this.clearTimers(),this.isDelayedHide=e,e&&this.isDelaying()?this.hideTimer=setTimeout(this.hide,50):e&&this.delayHide?this.hideTimer=setTimeout(n,this.delayHide):n()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null},isActive(){return te===this},isDelaying(){return[this.$el,...Ln(".uk-drop",this.$el)].some(e=>this.tracker.movesTo(e))},position(){const e=hr(this.$el);Ye(this.$el,"uk-drop-stack"),b(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(i=>Zf(this.$el,i)),n=this.getViewportOffset(this.$el),o=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[i,[s,a]]of o)this.axis!==s&&Z([s,!0],this.stretch)&&b(this.$el,{[a]:Math.min(X(this.boundary[i])[a],t[i][a]-2*n),[`overflow-${s}`]:"auto"});const r=t[0].width-2*n;this.$el.hidden=!1,b(this.$el,"maxWidth",""),this.$el.offsetWidth>r&&Ee(this.$el,"uk-drop-stack"),b(this.$el,"maxWidth",r),this.positionAt(this.$el,this.target,this.boundary);for(const[i,[s,a,u,c]]of o)if(this.axis===s&&Z([s,!0],this.stretch)){const d=Math.abs(this.getPositionOffset()),k=X(this.target[i]),g=X(this.$el);b(this.$el,{[a]:(k[u]>g[u]?k[this.inset?c:u]-Math.max(X(this.boundary[i])[u],t[i][u]+n):Math.min(X(this.boundary[i])[c],t[i][c]-n)-k[this.inset?u:c])-d,[`overflow-${s}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}e()}}};function Zf(e,t){return Ce(Ot(t).find(n=>n.contains(e)))}function Jf(e){const{$el:t}=e.$create("toggle",_t(e.toggle,e.$el),{target:e.$el,mode:e.mode});return t.ariaHasPopup=!0,t}function Qf(e){const t=()=>e.$emit(),n=[fs(t),ls(Ot(e.$el).concat(e.target),t)];return()=>n.map(o=>o.disconnect())}function Us(e,t=()=>e.$emit()){return ie([document,...Ot(e.$el)],"scroll",t,{passive:!0})}function Vf(e){return ie(document,"keydown",t=>{t.keyCode===Xf.ESC&&e.hide(!1)})}function ep(e){return Us(e,()=>e.hide(!1))}function tp(e){return ie(document,ji,({target:t})=>{e.$el.contains(t)||$e(document,`${zo} ${zi} scroll`,({defaultPrevented:n,type:o,target:r})=>{!n&&o===zo&&t===r&&!e.targetEl?.contains(t)&&e.hide(!1)},!0)})}var np=`<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13" /> <line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13" /> </svg> `,op=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19" /> <line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19" /> </svg> `,rp=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"> <polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5" /> </svg> `,ip=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <rect x="9" y="4" width="1" height="11" /> <rect x="4" y="9" width="11" height="1" /> </svg> `,sp=`<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4" /> </svg>`,ap=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"> <polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5" /> </svg> `,up=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"> <polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5" /> </svg> `,cp=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <style> .uk-navbar-toggle-icon svg > [class*='line-'] { transition: 0.2s ease-in-out; transition-property: transform, opacity; transform-origin: center; opacity: 1; } .uk-navbar-toggle-icon svg > .line-3 { opacity: 0; } .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-3 { opacity: 1; } .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-2 { transform: rotate(45deg); } .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-3 { transform: rotate(-45deg); } .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-1, .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { opacity: 0; } .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-1 { transform: translateY(6px) scaleX(0); } .uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { transform: translateY(-6px) scaleX(0); } </style> <rect class="line-1" y="3" width="20" height="2" /> <rect class="line-2" y="9" width="20" height="2" /> <rect class="line-3" y="9" width="20" height="2" /> <rect class="line-4" y="15" width="20" height="2" /> </svg> `,lp=`<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"> <rect x="19" y="0" width="1" height="40" /> <rect x="0" y="19" width="40" height="1" /> </svg> `,fp=`<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11" /> </svg> `,pp=`<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11" /> </svg> `,Ws=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7" /> <path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z" /> </svg> `,dp=`<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"> <circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5" /> <line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30" /> </svg> `,hp=`<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5" /> <line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17" /> </svg> `,kp=`<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5" /> </svg> `,gp=`<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1" /> </svg> `,mp=`<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547" /> </svg> `,vp=`<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23" /> </svg> `,bp=`<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"> <circle fill="none" stroke="#000" cx="15" cy="15" r="14" /> </svg> `,xp=`<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"> <polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9" /> </svg> `,wp={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(e=>{if(!this._connected)return;const t=yp(e,this.$el);return this.svgEl&&t!==this.svgEl&&Vt(this.svgEl),_p.call(this,t,e),this.svgEl=t},Eo)},disconnected(){this.svg.then(e=>{this._connected||(No(this.$el)&&(this.$el.hidden=!1),Vt(e),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function yp(e,t){if(No(t)||Ct(t,"canvas")){t.hidden=!0;const o=t.nextElementSibling;return qs(e,o)?o:Ji(t,e)}const n=t.lastElementChild;return qs(e,n)?n:Je(t,e)}function qs(e,t){return Ct(e,"svg")&&Ct(t,"svg")&&e.innerHTML===t.innerHTML}function _p(e,t){const n=["width","height"];let o=n.map(i=>this[i]);o.some(i=>i)||(o=n.map(i=>me(t,i)));const r=me(t,"viewBox");r&&!o.some(i=>i)&&(o=r.split(" ").slice(2)),o.forEach((i,s)=>me(e,n[s],G(i)*this.ratio||null))}function $p(e,t){return P(en(e)).filter(Yt)[0]}const qn={spinner:bp,totop:xp,marker:ip,"close-icon":np,"close-large":op,"drop-parent-icon":rp,"nav-parent-icon":ap,"nav-parent-icon-large":sp,"navbar-parent-icon":up,"navbar-toggle-icon":cp,"overlay-icon":lp,"pagination-next":fp,"pagination-previous":pp,"search-icon":Ws,"search-medium":hp,"search-large":dp,"search-toggle-icon":Ws,"slidenav-next":gp,"slidenav-next-large":kp,"slidenav-previous":vp,"slidenav-previous-large":mp},gr={install:Sp,mixins:[wp],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){Ee(this.$el,"uk-icon")},async connected(){const e=await this.svg;e&&(e.ariaHidden=!0)},methods:{async getSvg(){const e=Tp(this.icon);if(!e)throw"Icon not found.";return e}}},Cp={extends:{args:!1,extends:gr,data:e=>({icon:Xe(e.constructor.options.name)}),beforeConnect(){Ee(this.$el,this.$options.id)}},beforeConnect(){this.$el.role="status"},methods:{async getSvg(){const e=await gr.methods.getSvg.call(this);return this.ratio!==1&&b(je("circle",e),"strokeWidth",1/this.ratio),e}}},Gn={};function Sp(e){e.icon.add=(t,n)=>{const o=J(t)?{[t]:n}:t;jn(o,(r,i)=>{qn[i]=r,delete Gn[i]}),e._initialized&&Mn(document.body,r=>jn(e.getComponents(r),i=>{i.$options.isIcon&&i.icon in o&&i.$reset()}))}}const Op={twitter:"x"};function Tp(e){return e=Op[e]||e,qn[e]?(Gn[e]||(Gn[e]=$p(qn[Ep(e)]||qn[e])),Gn[e].cloneNode(!0)):null}function Ep(e){return Ao?Oo(Oo(e,"left","right"),"previous","next"):e}Q.component("dropdown",Yf),Q.component("icon",gr),Q.component("spinner",Cp),Q.icon.add("location",df),Q.icon.add("close-circle",pf);const{dropdown:Pp}=Q;function Gs(e,t,n,o,r,i,s,a){var u=typeof e=="function"?e.options:e;return t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),{exports:e,options:u}}const jp={props:{value:String},data:()=>({loading:!1,suggestion:null,geolocationAvailable:"geolocation"in navigator}),mounted(){this.dropdown=Pp(this.$refs.dropdown,{toggle:!1,mode:"click",animation:!1,stretch:"x",boundaryX:this.$el})},destroyed(){this.hide()},methods:{eventInput({target:{value:e}}){if(Ip(e)){const[t,n]=e.split(",").map(o=>o.trim());this.suggestion={lat:t,lng:n};return}e?(this.loading=!0,this.suggest(e)):this.hide()},eventKeydown({key:e}){e==="Enter"&&this.suggestion&&this.input(this.suggestion),e==="ArrowDown"&&this.show()},eventClick(){navigator.geolocation.getCurrentPosition(({coords:{latitude:e,longitude:t}})=>{this.input({lat:e,lng:t})})},suggest:ff(async function(e){const t=await qc(e);t&&(this.suggestion=t[0],this.suggestion?this.show():this.hide()),this.loading=!1},400),show(){this.suggestion?.address&&this.dropdown.show(this.$el)},hide(){return this.dropdown.hide(!1)},input(e){this.$emit("input",e?`${e.lat},${e.lng}`:""),this.suggestion=null,this.$refs.input.value="",this.hide()}}};function Ip(e){return e?.match(/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/)}var Ap=function(){var t=this,n=t._self._c;return n("div",{staticClass:"uk-inline uk-display-block"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}],staticClass:"uk-position-center-right uk-position-small"},[n("ul",{staticClass:"uk-iconnav uk-flex-nowrap"},[n("li",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}]},[n("a",{staticClass:"uk-icon-link",attrs:{href:"","uk-icon":"close-circle"},on:{click:function(o){return o.preventDefault(),t.input()}}})]),t._v(" "),t.geolocationAvailable?n("li",[n("a",{staticClass:"uk-icon-link",attrs:{href:"","uk-icon":"location"},on:{click:function(o){return o.preventDefault(),t.eventClick.apply(null,arguments)}}})]):t._e()])]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"uk-form-icon uk-form-icon-flip uk-icon",attrs:{"uk-spinner":"ratio: 0.5"}}),t._v(" "),n("input",{ref:"input",staticClass:"uk-input",attrs:{placeholder:t.value,type:"text"},on:{input:t.eventInput,keydown:t.eventKeydown}}),t._v(" "),n("div",{ref:"dropdown"},[n("ul",{staticClass:"uk-nav uk-dropdown-nav"},[n("li",[n("a",{attrs:{href:""},on:{click:function(o){return o.preventDefault(),t.input(t.suggestion)}}},[n("span",{staticClass:"uk-margin-small-right uk-icon",attrs:{"uk-icon":"location"}}),t._v(" "),t.suggestion?n("span",[t._v(t._s(t.suggestion.address))]):t._e()])])])])])},zp=[],Np=Gs(jp,Ap,zp),Dp=Np.exports;var ae=Object.freeze({}),C=Array.isArray;function w(e){return e==null}function p(e){return e!=null}function M(e){return e===!0}function Mp(e){return e===!1}function sn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function N(e){return typeof e=="function"}function V(e){return e!==null&&typeof e=="object"}var mr=Object.prototype.toString;function ue(e){return mr.call(e)==="[object Object]"}function Lp(e){return mr.call(e)==="[object RegExp]"}function Xs(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function vr(e){return p(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Fp(e){return e==null?"":Array.isArray(e)||ue(e)&&e.toString===mr?JSON.stringify(e,null,2):String(e)}function an(e){var t=parseFloat(e);return isNaN(t)?e:t}function xe(e,t){for(var n=Object.create(null),o=e.split(","),r=0;r<o.length;r++)n[o[r]]=!0;return t?function(i){return n[i.toLowerCase()]}:function(i){return n[i]}}xe("slot,component",!0);var Rp=xe("key,ref,slot,slot-scope,is");function De(e,t){var n=e.length;if(n){if(t===e[n-1]){e.length=n-1;return}var o=e.indexOf(t);if(o>-1)return e.splice(o,1)}}var Bp=Object.prototype.hasOwnProperty;function ne(e,t){return Bp.call(e,t)}function et(e){var t=Object.create(null);return function(o){var r=t[o];return r||(t[o]=e(o))}}var Hp=/-(\w)/g,tt=et(function(e){return e.replace(Hp,function(t,n){return n?n.toUpperCase():""})}),Up=et(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Wp=/\B([A-Z])/g,un=et(function(e){return e.replace(Wp,"-$1").toLowerCase()});function qp(e,t){function n(o){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,o):e.call(t)}return n._length=e.length,n}function Gp(e,t){return e.bind(t)}var Ks=Function.prototype.bind?Gp:qp;function br(e,t){t=t||0;for(var n=e.length-t,o=new Array(n);n--;)o[n]=e[n+t];return o}function z(e,t){for(var n in t)e[n]=t[n];return e}function Ys(e){for(var t={},n=0;n<e.length;n++)e[n]&&z(t,e[n]);return t}function K(e,t,n){}var Xn=function(e,t,n){return!1},Zs=function(e){return e};function nt(e,t){if(e===t)return!0;var n=V(e),o=V(t);if(n&&o)try{var r=Array.isArray(e),i=Array.isArray(t);if(r&&i)return e.length===t.length&&e.every(function(u,c){return nt(u,t[c])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!r&&!i){var s=Object.keys(e),a=Object.keys(t);return s.length===a.length&&s.every(function(u){return nt(e[u],t[u])})}else return!1}catch{return!1}else return!n&&!o?String(e)===String(t):!1}function Js(e,t){for(var n=0;n<e.length;n++)if(nt(e[n],t))return n;return-1}function Kn(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Xp(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var Qs="data-server-rendered",Yn=["component","directive","filter"],Vs=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],de={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Xn,isReservedAttr:Xn,isUnknownElement:Xn,getTagNamespace:K,parsePlatformTagName:Zs,mustUseProp:Xn,async:!0,_lifecycleHooks:Vs},Kp=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function ea(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function Me(e,t,n,o){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}var Yp=new RegExp("[^".concat(Kp.source,".$_\\d]"));function Zp(e){if(!Yp.test(e)){var t=e.split(".");return function(n){for(var o=0;o<t.length;o++){if(!n)return;n=n[t[o]]}return n}}}var Jp="__proto__"in{},ce=typeof window<"u",he=ce&&window.navigator.userAgent.toLowerCase(),Et=he&&/msie|trident/.test(he),Pt=he&&he.indexOf("msie 9.0")>0,ta=he&&he.indexOf("edge/")>0;he&&he.indexOf("android")>0;var Qp=he&&/iphone|ipad|ipod|ios/.test(he),na=he&&he.match(/firefox\/(\d+)/),xr={}.watch,oa=!1;if(ce)try{var ra={};Object.defineProperty(ra,"passive",{get:function(){oa=!0}}),window.addEventListener("test-passive",null,ra)}catch{}var Zn,cn=function(){return Zn===void 0&&(!ce&&typeof global<"u"?Zn=global.process&&global.process.env.VUE_ENV==="server":Zn=!1),Zn},Jn=ce&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function jt(e){return typeof e=="function"&&/native code/.test(e.toString())}var ln=typeof Symbol<"u"&&jt(Symbol)&&typeof Reflect<"u"&&jt(Reflect.ownKeys),fn;typeof Set<"u"&&jt(Set)?fn=Set:fn=(function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e})();var pn=null;function Le(e){e===void 0&&(e=null),e||pn&&pn._scope.off(),pn=e,e&&e._scope.on()}var le=(function(){function e(t,n,o,r,i,s,a,u){this.tag=t,this.data=n,this.children=o,this.text=r,this.elm=i,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e})(),ot=function(e){e===void 0&&(e="");var t=new le;return t.text=e,t.isComment=!0,t};function It(e){return new le(void 0,void 0,void 0,String(e))}function wr(e){var t=new le(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Vp=0,Qn=[],ed=function(){for(var e=0;e<Qn.length;e++){var t=Qn[e];t.subs=t.subs.filter(function(n){return n}),t._pending=!1}Qn.length=0},Fe=(function(){function e(){this._pending=!1,this.id=Vp++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Qn.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var n=this.subs.filter(function(s){return s}),o=0,r=n.length;o<r;o++){var i=n[o];i.update()}},e})();Fe.target=null;var Vn=[];function At(e){Vn.push(e),Fe.target=e}function zt(){Vn.pop(),Fe.target=Vn[Vn.length-1]}var ia=Array.prototype,eo=Object.create(ia),td=["push","pop","shift","unshift","splice","sort","reverse"];td.forEach(function(e){var t=ia[e];Me(eo,e,function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o),s=this.__ob__,a;switch(e){case"push":case"unshift":a=o;break;case"splice":a=o.slice(2);break}return a&&s.observeArray(a),s.dep.notify(),i})});var sa=Object.getOwnPropertyNames(eo),aa={},yr=!0;function Re(e){yr=e}var nd={notify:K,depend:K,addSub:K,removeSub:K},ua=(function(){function e(t,n,o){if(n===void 0&&(n=!1),o===void 0&&(o=!1),this.value=t,this.shallow=n,this.mock=o,this.dep=o?nd:new Fe,this.vmCount=0,Me(t,"__ob__",this),C(t)){if(!o)if(Jp)t.__proto__=eo;else for(var r=0,i=sa.length;r<i;r++){var s=sa[r];Me(t,s,eo[s])}n||this.observeArray(t)}else for(var a=Object.keys(t),r=0;r<a.length;r++){var s=a[r];rt(t,s,aa,void 0,n,o)}}return e.prototype.observeArray=function(t){for(var n=0,o=t.length;n<o;n++)Ie(t[n],!1,this.mock)},e})();function Ie(e,t,n){if(e&&ne(e,"__ob__")&&e.__ob__ instanceof ua)return e.__ob__;if(yr&&(n||!cn())&&(C(e)||ue(e))&&Object.isExtensible(e)&&!e.__v_skip&&!Se(e)&&!(e instanceof le))return new ua(e,t,n)}function rt(e,t,n,o,r,i){var s=new Fe,a=Object.getOwnPropertyDescriptor(e,t);if(!(a&&a.configurable===!1)){var u=a&&a.get,c=a&&a.set;(!u||c)&&(n===aa||arguments.length===2)&&(n=e[t]);var d=!r&&Ie(n,!1,i);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var g=u?u.call(e):n;return Fe.target&&(s.depend(),d&&(d.dep.depend(),C(g)&&la(g))),Se(g)&&!r?g.value:g},set:function(g){var v=u?u.call(e):n;if(Xp(v,g)){if(c)c.call(e,g);else{if(u)return;if(!r&&Se(v)&&!Se(g)){v.value=g;return}else n=g}d=!r&&Ie(g,!1,i),s.notify()}}}),s}}function _r(e,t,n){if(!$r(e)){var o=e.__ob__;return C(e)&&Xs(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),o&&!o.shallow&&o.mock&&Ie(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||o&&o.vmCount?n:o?(rt(o.value,t,n,void 0,o.shallow,o.mock),o.dep.notify(),n):(e[t]=n,n)}}function ca(e,t){if(C(e)&&Xs(t)){e.splice(t,1);return}var n=e.__ob__;e._isVue||n&&n.vmCount||$r(e)||ne(e,t)&&(delete e[t],n&&n.dep.notify())}function la(e){for(var t=void 0,n=0,o=e.length;n<o;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),C(t)&&la(t)}function fa(e){return od(e,!0),Me(e,"__v_isShallow",!0),e}function od(e,t){$r(e)||Ie(e,t,cn())}function $r(e){return!!(e&&e.__v_isReadonly)}function Se(e){return!!(e&&e.__v_isRef===!0)}function Cr(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var o=t[n];if(Se(o))return o.value;var r=o&&o.__ob__;return r&&r.dep.depend(),o},set:function(o){var r=t[n];Se(r)&&!Se(o)?r.value=o:t[n]=o}})}var oe,rd=(function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=oe,!t&&oe&&(this.index=(oe.scopes||(oe.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var n=oe;try{return oe=this,t()}finally{oe=n}}},e.prototype.on=function(){oe=this},e.prototype.off=function(){oe=this.parent},e.prototype.stop=function(t){if(this.active){var n=void 0,o=void 0;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].teardown();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},e})();function id(e,t){t===void 0&&(t=oe),t&&t.active&&t.effects.push(e)}function sd(){return oe}function ad(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var pa=et(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var n=e.charAt(0)==="~";e=n?e.slice(1):e;var o=e.charAt(0)==="!";return e=o?e.slice(1):e,{name:e,once:n,capture:o,passive:t}});function Sr(e,t){function n(){var o=n.fns;if(C(o))for(var r=o.slice(),i=0;i<r.length;i++)He(r[i],null,arguments,t,"v-on handler");else return He(o,null,arguments,t,"v-on handler")}return n.fns=e,n}function da(e,t,n,o,r,i){var s,a,u,c;for(s in e)a=e[s],u=t[s],c=pa(s),w(a)||(w(u)?(w(a.fns)&&(a=e[s]=Sr(a,i)),M(c.once)&&(a=e[s]=r(c.name,a,c.capture)),n(c.name,a,c.capture,c.passive,c.params)):a!==u&&(u.fns=a,e[s]=u));for(s in t)w(e[s])&&(c=pa(s),o(c.name,t[s],c.capture))}function Be(e,t,n){e instanceof le&&(e=e.data.hook||(e.data.hook={}));var o,r=e[t];function i(){n.apply(this,arguments),De(o.fns,i)}w(r)?o=Sr([i]):p(r.fns)&&M(r.merged)?(o=r,o.fns.push(i)):o=Sr([r,i]),o.merged=!0,e[t]=o}function ud(e,t,n){var o=t.options.props;if(!w(o)){var r={},i=e.attrs,s=e.props;if(p(i)||p(s))for(var a in o){var u=un(a);ha(r,s,a,u,!0)||ha(r,i,a,u,!1)}return r}}function ha(e,t,n,o,r){if(p(t)){if(ne(t,n))return e[n]=t[n],r||delete t[n],!0;if(ne(t,o))return e[n]=t[o],r||delete t[o],!0}return!1}function cd(e){for(var t=0;t<e.length;t++)if(C(e[t]))return Array.prototype.concat.apply([],e);return e}function Or(e){return sn(e)?[It(e)]:C(e)?ka(e):void 0}function dn(e){return p(e)&&p(e.text)&&Mp(e.isComment)}function ka(e,t){var n=[],o,r,i,s;for(o=0;o<e.length;o++)r=e[o],!(w(r)||typeof r=="boolean")&&(i=n.length-1,s=n[i],C(r)?r.length>0&&(r=ka(r,"".concat(t||"","_").concat(o)),dn(r[0])&&dn(s)&&(n[i]=It(s.text+r[0].text),r.shift()),n.push.apply(n,r)):sn(r)?dn(s)?n[i]=It(s.text+r):r!==""&&n.push(It(r)):dn(r)&&dn(s)?n[i]=It(s.text+r.text):(M(e._isVList)&&p(r.tag)&&w(r.key)&&p(t)&&(r.key="__vlist".concat(t,"_").concat(o,"__")),n.push(r)));return n}function ld(e,t){var n=null,o,r,i,s;if(C(e)||typeof e=="string")for(n=new Array(e.length),o=0,r=e.length;o<r;o++)n[o]=t(e[o],o);else if(typeof e=="number")for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o);else if(V(e))if(ln&&e[Symbol.iterator]){n=[];for(var a=e[Symbol.iterator](),u=a.next();!u.done;)n.push(t(u.value,n.length)),u=a.next()}else for(i=Object.keys(e),n=new Array(i.length),o=0,r=i.length;o<r;o++)s=i[o],n[o]=t(e[s],s,o);return p(n)||(n=[]),n._isVList=!0,n}function fd(e,t,n,o){var r=this.$scopedSlots[e],i;r?(n=n||{},o&&(n=z(z({},o),n)),i=r(n)||(N(t)?t():t)):i=this.$slots[e]||(N(t)?t():t);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function pd(e){return co(this.$options,"filters",e)||Zs}function ga(e,t){return C(e)?e.indexOf(t)===-1:e!==t}function dd(e,t,n,o,r){var i=de.keyCodes[t]||n;return r&&o&&!de.keyCodes[t]?ga(r,o):i?ga(i,e):o?un(o)!==t:e===void 0}function hd(e,t,n,o,r){if(n&&V(n)){C(n)&&(n=Ys(n));var i=void 0,s=function(u){if(u==="class"||u==="style"||Rp(u))i=e;else{var c=e.attrs&&e.attrs.type;i=o||de.mustUseProp(t,c,u)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var d=tt(u),k=un(u);if(!(d in i)&&!(k in i)&&(i[u]=n[u],r)){var g=e.on||(e.on={});g["update:".concat(u)]=function(v){n[u]=v}}};for(var a in n)s(a)}return e}function kd(e,t){var n=this._staticTrees||(this._staticTrees=[]),o=n[e];return o&&!t||(o=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),ma(o,"__static__".concat(e),!1)),o}function gd(e,t,n){return ma(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function ma(e,t,n){if(C(e))for(var o=0;o<e.length;o++)e[o]&&typeof e[o]!="string"&&va(e[o],"".concat(t,"_").concat(o),n);else va(e,t,n)}function va(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function md(e,t){if(t&&ue(t)){var n=e.on=e.on?z({},e.on):{};for(var o in t){var r=n[o],i=t[o];n[o]=r?[].concat(r,i):i}}return e}function ba(e,t,n,o){t=t||{$stable:!n};for(var r=0;r<e.length;r++){var i=e[r];C(i)?ba(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return o&&(t.$key=o),t}function vd(e,t){for(var n=0;n<t.length;n+=2){var o=t[n];typeof o=="string"&&o&&(e[t[n]]=t[n+1])}return e}function bd(e,t){return typeof e=="string"?t+e:e}function xa(e){e._o=gd,e._n=an,e._s=Fp,e._l=ld,e._t=fd,e._q=nt,e._i=Js,e._m=kd,e._f=pd,e._k=dd,e._b=hd,e._v=It,e._e=ot,e._u=ba,e._g=md,e._d=vd,e._p=bd}function Tr(e,t){if(!e||!e.length)return{};for(var n={},o=0,r=e.length;o<r;o++){var i=e[o],s=i.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,(i.context===t||i.fnContext===t)&&s&&s.slot!=null){var a=s.slot,u=n[a]||(n[a]=[]);i.tag==="template"?u.push.apply(u,i.children||[]):u.push(i)}else(n.default||(n.default=[])).push(i)}for(var c in n)n[c].every(xd)&&delete n[c];return n}function xd(e){return e.isComment&&!e.asyncFactory||e.text===" "}function hn(e){return e.isComment&&e.asyncFactory}function kn(e,t,n,o){var r,i=Object.keys(n).length>0,s=t?!!t.$stable:!i,a=t&&t.$key;if(!t)r={};else{if(t._normalized)return t._normalized;if(s&&o&&o!==ae&&a===o.$key&&!i&&!o.$hasNormal)return o;r={};for(var u in t)t[u]&&u[0]!=="$"&&(r[u]=wd(e,n,u,t[u]))}for(var c in n)c in r||(r[c]=yd(n,c));return t&&Object.isExtensible(t)&&(t._normalized=r),Me(r,"$stable",s),Me(r,"$key",a),Me(r,"$hasNormal",i),r}function wd(e,t,n,o){var r=function(){var i=pn;Le(e);var s=arguments.length?o.apply(null,arguments):o({});s=s&&typeof s=="object"&&!C(s)?[s]:Or(s);var a=s&&s[0];return Le(i),s&&(!a||s.length===1&&a.isComment&&!hn(a))?void 0:s};return o.proxy&&Object.defineProperty(t,n,{get:r,enumerable:!0,configurable:!0}),r}function yd(e,t){return function(){return e[t]}}function _d(e){var t=e.$options,n=t.setup;if(n){var o=e._setupContext=$d(e);Le(e),At();var r=He(n,null,[e._props||fa({}),o],e,"setup");if(zt(),Le(),N(r))t.render=r;else if(V(r))if(e._setupState=r,r.__sfc){var s=e._setupProxy={};for(var i in r)i!=="__sfc"&&Cr(s,r,i)}else for(var i in r)ea(i)||Cr(e,r,i)}}function $d(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Me(t,"_v_attr_proxy",!0),to(t,e.$attrs,ae,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};to(t,e.$listeners,ae,e,"$listeners")}return e._listenersProxy},get slots(){return Sd(e)},emit:Ks(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return Cr(e,t,n)})}}}function to(e,t,n,o,r){var i=!1;for(var s in t)s in e?t[s]!==n[s]&&(i=!0):(i=!0,Cd(e,s,o,r));for(var s in e)s in t||(i=!0,delete e[s]);return i}function Cd(e,t,n,o){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[o][t]}})}function Sd(e){return e._slotsProxy||wa(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function wa(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Od(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=Tr(t._renderChildren,o),e.$scopedSlots=n?kn(e.$parent,n.data.scopedSlots,e.$slots):ae,e._c=function(i,s,a,u){return no(e,i,s,a,u,!1)},e.$createElement=function(i,s,a,u){return no(e,i,s,a,u,!0)};var r=n&&n.data;rt(e,"$attrs",r&&r.attrs||ae,null,!0),rt(e,"$listeners",t._parentListeners||ae,null,!0)}var Er=null;function Td(e){xa(e.prototype),e.prototype.$nextTick=function(t){return zr(t,this)},e.prototype._render=function(){var t=this,n=t.$options,o=n.render,r=n._parentVnode;r&&t._isMounted&&(t.$scopedSlots=kn(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&wa(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var i;try{Le(t),Er=t,i=o.call(t._renderProxy,t.$createElement)}catch(s){it(s,t,"render"),i=t._vnode}finally{Er=null,Le()}return C(i)&&i.length===1&&(i=i[0]),i instanceof le||(i=ot()),i.parent=r,i}}function Pr(e,t){return(e.__esModule||ln&&e[Symbol.toStringTag]==="Module")&&(e=e.default),V(e)?t.extend(e):e}function Ed(e,t,n,o,r){var i=ot();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:o,tag:r},i}function Pd(e,t){if(M(e.error)&&p(e.errorComp))return e.errorComp;if(p(e.resolved))return e.resolved;var n=Er;if(n&&p(e.owners)&&e.owners.indexOf(n)===-1&&e.owners.push(n),M(e.loading)&&p(e.loadingComp))return e.loadingComp;if(n&&!p(e.owners)){var o=e.owners=[n],r=!0,i=null,s=null;n.$on("hook:destroyed",function(){return De(o,n)});var a=function(k){for(var g=0,v=o.length;g<v;g++)o[g].$forceUpdate();k&&(o.length=0,i!==null&&(clearTimeout(i),i=null),s!==null&&(clearTimeout(s),s=null))},u=Kn(function(k){e.resolved=Pr(k,t),r?o.length=0:a(!0)}),c=Kn(function(k){p(e.errorComp)&&(e.error=!0,a(!0))}),d=e(u,c);return V(d)&&(vr(d)?w(e.resolved)&&d.then(u,c):vr(d.component)&&(d.component.then(u,c),p(d.error)&&(e.errorComp=Pr(d.error,t)),p(d.loading)&&(e.loadingComp=Pr(d.loading,t),d.delay===0?e.loading=!0:i=setTimeout(function(){i=null,w(e.resolved)&&w(e.error)&&(e.loading=!0,a(!1))},d.delay||200)),p(d.timeout)&&(s=setTimeout(function(){s=null,w(e.resolved)&&c(null)},d.timeout)))),r=!1,e.loading?e.loadingComp:e.resolved}}function ya(e){if(C(e))for(var t=0;t<e.length;t++){var n=e[t];if(p(n)&&(p(n.componentOptions)||hn(n)))return n}}var jd=1,_a=2;function no(e,t,n,o,r,i){return(C(n)||sn(n))&&(r=o,o=n,n=void 0),M(i)&&(r=_a),Id(e,t,n,o,r)}function Id(e,t,n,o,r){if(p(n)&&p(n.__ob__)||(p(n)&&p(n.is)&&(t=n.is),!t))return ot();C(o)&&N(o[0])&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),r===_a?o=Or(o):r===jd&&(o=cd(o));var i,s;if(typeof t=="string"){var a=void 0;s=e.$vnode&&e.$vnode.ns||de.getTagNamespace(t),de.isReservedTag(t)?i=new le(de.parsePlatformTagName(t),n,o,void 0,void 0,e):(!n||!n.pre)&&p(a=co(e.$options,"components",t))?i=La(a,n,e,o,t):i=new le(t,n,o,void 0,void 0,e)}else i=La(t,n,e,o);return C(i)?i:p(i)?(p(s)&&$a(i,s),p(n)&&Ad(n),i):ot()}function $a(e,t,n){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,n=!0),p(e.children))for(var o=0,r=e.children.length;o<r;o++){var i=e.children[o];p(i.tag)&&(w(i.ns)||M(n)&&i.tag!=="svg")&&$a(i,t,n)}}function Ad(e){V(e.style)&&io(e.style),V(e.class)&&io(e.class)}function it(e,t,n){At();try{if(t)for(var o=t;o=o.$parent;){var r=o.$options.errorCaptured;if(r)for(var i=0;i<r.length;i++)try{var s=r[i].call(o,e,t,n)===!1;if(s)return}catch(a){Ca(a,o,"errorCaptured hook")}}Ca(e,t,n)}finally{zt()}}function He(e,t,n,o,r){var i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&vr(i)&&!i._handled&&(i.catch(function(s){return it(s,o,r+" (Promise/async)")}),i._handled=!0)}catch(s){it(s,o,r)}return i}function Ca(e,t,n){if(de.errorHandler)try{return de.errorHandler.call(null,e,t,n)}catch(o){o!==e&&Sa(o)}Sa(e)}function Sa(e,t,n){if(ce&&typeof console<"u")console.error(e);else throw e}var jr=!1,Ir=[],Ar=!1;function oo(){Ar=!1;var e=Ir.slice(0);Ir.length=0;for(var t=0;t<e.length;t++)e[t]()}var gn;if(typeof Promise<"u"&&jt(Promise)){var zd=Promise.resolve();gn=function(){zd.then(oo),Qp&&setTimeout(K)},jr=!0}else if(!Et&&typeof MutationObserver<"u"&&(jt(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var ro=1,Nd=new MutationObserver(oo),Oa=document.createTextNode(String(ro));Nd.observe(Oa,{characterData:!0}),gn=function(){ro=(ro+1)%2,Oa.data=String(ro)},jr=!0}else typeof setImmediate<"u"&&jt(setImmediate)?gn=function(){setImmediate(oo)}:gn=function(){setTimeout(oo,0)};function zr(e,t){var n;if(Ir.push(function(){if(e)try{e.call(t)}catch(o){it(o,t,"nextTick")}else n&&n(t)}),Ar||(Ar=!0,gn()),!e&&typeof Promise<"u")return new Promise(function(o){n=o})}var Dd="2.7.15",Ta=new fn;function io(e){return so(e,Ta),Ta.clear(),e}function so(e,t){var n,o,r=C(e);if(!(!r&&!V(e)||e.__v_skip||Object.isFrozen(e)||e instanceof le)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(r)for(n=e.length;n--;)so(e[n],t);else if(Se(e))so(e.value,t);else for(o=Object.keys(e),n=o.length;n--;)so(e[o[n]],t)}}var Md=0,Nr=(function(){function e(t,n,o,r,i){id(this,oe&&!oe._vm?oe:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=o,this.id=++Md,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fn,this.newDepIds=new fn,this.expression="",N(n)?this.getter=n:(this.getter=Zp(n),this.getter||(this.getter=K)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){At(this);var t,n=this.vm;try{t=this.getter.call(n,n)}catch(o){if(this.user)it(o,n,'getter for watcher "'.concat(this.expression,'"'));else throw o}finally{this.deep&&io(t),zt(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var n=this.deps[t];this.newDepIds.has(n.id)||n.removeSub(this)}var o=this.depIds;this.depIds=this.newDepIds,this.newDepIds=o,this.newDepIds.clear(),o=this.deps,this.deps=this.newDeps,this.newDeps=o,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Vd(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||V(t)||this.deep){var n=this.value;if(this.value=t,this.user){var o='callback for watcher "'.concat(this.expression,'"');He(this.cb,this.vm,[t,n],this.vm,o)}else this.cb.call(this.vm,t,n)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&De(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e})();function Ld(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ea(e,t)}var mn;function Fd(e,t){mn.$on(e,t)}function Rd(e,t){mn.$off(e,t)}function Bd(e,t){var n=mn;return function o(){var r=t.apply(null,arguments);r!==null&&n.$off(e,o)}}function Ea(e,t,n){mn=e,da(t,n||{},Fd,Rd,Bd,e),mn=void 0}function Hd(e){var t=/^hook:/;e.prototype.$on=function(n,o){var r=this;if(C(n))for(var i=0,s=n.length;i<s;i++)r.$on(n[i],o);else(r._events[n]||(r._events[n]=[])).push(o),t.test(n)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(n,o){var r=this;function i(){r.$off(n,i),o.apply(r,arguments)}return i.fn=o,r.$on(n,i),r},e.prototype.$off=function(n,o){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(C(n)){for(var i=0,s=n.length;i<s;i++)r.$off(n[i],o);return r}var a=r._events[n];if(!a)return r;if(!o)return r._events[n]=null,r;for(var u,c=a.length;c--;)if(u=a[c],u===o||u.fn===o){a.splice(c,1);break}return r},e.prototype.$emit=function(n){var o=this,r=o._events[n];if(r){r=r.length>1?br(r):r;for(var i=br(arguments,1),s='event handler for "'.concat(n,'"'),a=0,u=r.length;a<u;a++)He(r[a],o,i,o,s)}return o}}var st=null;function Pa(e){var t=st;return st=e,function(){st=t}}function Ud(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Wd(e){e.prototype._update=function(t,n){var o=this,r=o.$el,i=o._vnode,s=Pa(o);o._vnode=t,i?o.$el=o.__patch__(i,t):o.$el=o.__patch__(o.$el,t,n,!1),s(),r&&(r.__vue__=null),o.$el&&(o.$el.__vue__=o);for(var a=o;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){we(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;n&&!n._isBeingDestroyed&&!t.$options.abstract&&De(n.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),we(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function qd(e,t,n){e.$el=t,e.$options.render||(e.$options.render=ot),we(e,"beforeMount");var o;o=function(){e._update(e._render(),n)};var r={before:function(){e._isMounted&&!e._isDestroyed&&we(e,"beforeUpdate")}};new Nr(e,o,K,r,!0),n=!1;var i=e._preWatchers;if(i)for(var s=0;s<i.length;s++)i[s].run();return e.$vnode==null&&(e._isMounted=!0,we(e,"mounted")),e}function Gd(e,t,n,o,r){var i=o.data.scopedSlots,s=e.$scopedSlots,a=!!(i&&!i.$stable||s!==ae&&!s.$stable||i&&e.$scopedSlots.$key!==i.$key||!i&&e.$scopedSlots.$key),u=!!(r||e.$options._renderChildren||a),c=e.$vnode;e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=r;var d=o.data.attrs||ae;e._attrsProxy&&to(e._attrsProxy,d,c.data&&c.data.attrs||ae,e,"$attrs")&&(u=!0),e.$attrs=d,n=n||ae;var k=e.$options._parentListeners;if(e._listenersProxy&&to(e._listenersProxy,n,k||ae,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Ea(e,n,k),t&&e.$options.props){Re(!1);for(var g=e._props,v=e.$options._propKeys||[],$=0;$<v.length;$++){var j=v[$],S=e.$options.props;g[j]=Wr(j,S,t,e)}Re(!0),e.$options.propsData=t}u&&(e.$slots=Tr(r,o.context),e.$forceUpdate())}function ja(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Dr(e,t){if(t){if(e._directInactive=!1,ja(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Dr(e.$children[n]);we(e,"activated")}}function Ia(e,t){if(!(t&&(e._directInactive=!0,ja(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Ia(e.$children[n]);we(e,"deactivated")}}function we(e,t,n,o){o===void 0&&(o=!0),At();var r=pn,i=sd();o&&Le(e);var s=e.$options[t],a="".concat(t," hook");if(s)for(var u=0,c=s.length;u<c;u++)He(s[u],e,null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),o&&(Le(r),i&&i.on()),zt()}var Ae=[],Mr=[],ao={},Lr=!1,Fr=!1,Nt=0;function Xd(){Nt=Ae.length=Mr.length=0,ao={},Lr=Fr=!1}var Aa=0,Rr=Date.now;if(ce&&!Et){var Br=window.performance;Br&&typeof Br.now=="function"&&Rr()>document.createEvent("Event").timeStamp&&(Rr=function(){return Br.now()})}var Kd=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Yd(){Aa=Rr(),Fr=!0;var e,t;for(Ae.sort(Kd),Nt=0;Nt<Ae.length;Nt++)e=Ae[Nt],e.before&&e.before(),t=e.id,ao[t]=null,e.run();var n=Mr.slice(),o=Ae.slice();Xd(),Qd(n),Zd(o),ed(),Jn&&de.devtools&&Jn.emit("flush")}function Zd(e){for(var t=e.length;t--;){var n=e[t],o=n.vm;o&&o._watcher===n&&o._isMounted&&!o._isDestroyed&&we(o,"updated")}}function Jd(e){e._inactive=!1,Mr.push(e)}function Qd(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Dr(e[t],!0)}function Vd(e){var t=e.id;if(ao[t]==null&&!(e===Fe.target&&e.noRecurse)){if(ao[t]=!0,!Fr)Ae.push(e);else{for(var n=Ae.length-1;n>Nt&&Ae[n].id>e.id;)n--;Ae.splice(n+1,0,e)}Lr||(Lr=!0,zr(Yd))}}function eh(e){var t=e.$options.provide;if(t){var n=N(t)?t.call(e):t;if(!V(n))return;for(var o=ad(e),r=ln?Reflect.ownKeys(n):Object.keys(n),i=0;i<r.length;i++){var s=r[i];Object.defineProperty(o,s,Object.getOwnPropertyDescriptor(n,s))}}}function th(e){var t=za(e.$options.inject,e);t&&(Re(!1),Object.keys(t).forEach(function(n){rt(e,n,t[n])}),Re(!0))}function za(e,t){if(e){for(var n=Object.create(null),o=ln?Reflect.ownKeys(e):Object.keys(e),r=0;r<o.length;r++){var i=o[r];if(i!=="__ob__"){var s=e[i].from;if(s in t._provided)n[i]=t._provided[s];else if("default"in e[i]){var a=e[i].default;n[i]=N(a)?a.call(t):a}}}return n}}function Hr(e,t,n,o,r){var i=this,s=r.options,a;ne(o,"_uid")?(a=Object.create(o),a._original=o):(a=o,o=o._original);var u=M(s._compiled),c=!u;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||ae,this.injections=za(s.inject,o),this.slots=function(){return i.$slots||kn(o,e.scopedSlots,i.$slots=Tr(n,o)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return kn(o,e.scopedSlots,this.slots())}}),u&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=kn(o,e.scopedSlots,this.$slots)),s._scopeId?this._c=function(d,k,g,v){var $=no(a,d,k,g,v,c);return $&&!C($)&&($.fnScopeId=s._scopeId,$.fnContext=o),$}:this._c=function(d,k,g,v){return no(a,d,k,g,v,c)}}xa(Hr.prototype);function nh(e,t,n,o,r){var i=e.options,s={},a=i.props;if(p(a))for(var u in a)s[u]=Wr(u,a,t||ae);else p(n.attrs)&&Da(s,n.attrs),p(n.props)&&Da(s,n.props);var c=new Hr(n,s,r,o,e),d=i.render.call(null,c._c,c);if(d instanceof le)return Na(d,n,c.parent,i);if(C(d)){for(var k=Or(d)||[],g=new Array(k.length),v=0;v<k.length;v++)g[v]=Na(k[v],n,c.parent,i);return g}}function Na(e,t,n,o,r){var i=wr(e);return i.fnContext=n,i.fnOptions=o,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Da(e,t){for(var n in t)e[tt(n)]=t[n]}function uo(e){return e.name||e.__name||e._componentTag}var Ur={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ur.prepatch(n,n)}else{var o=e.componentInstance=oh(e,st);o.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,o=t.componentInstance=e.componentInstance;Gd(o,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,we(n,"mounted")),e.data.keepAlive&&(t._isMounted?Jd(n):Dr(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Ia(t,!0):t.$destroy())}},Ma=Object.keys(Ur);function La(e,t,n,o,r){if(!w(e)){var i=n.$options._base;if(V(e)&&(e=i.extend(e)),typeof e=="function"){var s;if(w(e.cid)&&(s=e,e=Pd(s,i),e===void 0))return Ed(s,t,n,o,r);t=t||{},Kr(e),p(t.model)&&sh(e.options,t);var a=ud(t,e);if(M(e.options.functional))return nh(e,a,t,n,o);var u=t.on;if(t.on=t.nativeOn,M(e.options.abstract)){var c=t.slot;t={},c&&(t.slot=c)}rh(t);var d=uo(e.options)||r,k=new le("vue-component-".concat(e.cid).concat(d?"-".concat(d):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:u,tag:r,children:o},s);return k}}}function oh(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},o=e.data.inlineTemplate;return p(o)&&(n.render=o.render,n.staticRenderFns=o.staticRenderFns),new e.componentOptions.Ctor(n)}function rh(e){for(var t=e.hook||(e.hook={}),n=0;n<Ma.length;n++){var o=Ma[n],r=t[o],i=Ur[o];r!==i&&!(r&&r._merged)&&(t[o]=r?ih(i,r):i)}}function ih(e,t){var n=function(o,r){e(o,r),t(o,r)};return n._merged=!0,n}function sh(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var r=t.on||(t.on={}),i=r[o],s=t.model.callback;p(i)?(C(i)?i.indexOf(s)===-1:i!==s)&&(r[o]=[s].concat(i)):r[o]=s}var ah=K,Oe=de.optionMergeStrategies;function vn(e,t,n){if(n===void 0&&(n=!0),!t)return e;for(var o,r,i,s=ln?Reflect.ownKeys(t):Object.keys(t),a=0;a<s.length;a++)o=s[a],o!=="__ob__"&&(r=e[o],i=t[o],!n||!ne(e,o)?_r(e,o,i):r!==i&&ue(r)&&ue(i)&&vn(r,i));return e}function Fa(e,t,n){return n?function(){var r=N(t)?t.call(n,n):t,i=N(e)?e.call(n,n):e;return r?vn(r,i):i}:t?e?function(){return vn(N(t)?t.call(this,this):t,N(e)?e.call(this,this):e)}:t:e}Oe.data=function(e,t,n){return n?Fa(e,t,n):t&&typeof t!="function"?e:Fa(e,t)};function uh(e,t){var n=t?e?e.concat(t):C(t)?t:[t]:e;return n&&ch(n)}function ch(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}Vs.forEach(function(e){Oe[e]=uh});function lh(e,t,n,o){var r=Object.create(e||null);return t?z(r,t):r}Yn.forEach(function(e){Oe[e+"s"]=lh}),Oe.watch=function(e,t,n,o){if(e===xr&&(e=void 0),t===xr&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};z(r,e);for(var i in t){var s=r[i],a=t[i];s&&!C(s)&&(s=[s]),r[i]=s?s.concat(a):C(a)?a:[a]}return r},Oe.props=Oe.methods=Oe.inject=Oe.computed=function(e,t,n,o){if(!e)return t;var r=Object.create(null);return z(r,e),t&&z(r,t),r},Oe.provide=function(e,t){return e?function(){var n=Object.create(null);return vn(n,N(e)?e.call(this):e),t&&vn(n,N(t)?t.call(this):t,!1),n}:t};var fh=function(e,t){return t===void 0?e:t};function ph(e,t){var n=e.props;if(n){var o={},r,i,s;if(C(n))for(r=n.length;r--;)i=n[r],typeof i=="string"&&(s=tt(i),o[s]={type:null});else if(ue(n))for(var a in n)i=n[a],s=tt(a),o[s]=ue(i)?i:{type:i};e.props=o}}function dh(e,t){var n=e.inject;if(n){var o=e.inject={};if(C(n))for(var r=0;r<n.length;r++)o[n[r]]={from:n[r]};else if(ue(n))for(var i in n){var s=n[i];o[i]=ue(s)?z({from:i},s):{from:s}}}}function hh(e){var t=e.directives;if(t)for(var n in t){var o=t[n];N(o)&&(t[n]={bind:o,update:o})}}function at(e,t,n){if(N(t)&&(t=t.options),ph(t),dh(t),hh(t),!t._base&&(t.extends&&(e=at(e,t.extends,n)),t.mixins))for(var o=0,r=t.mixins.length;o<r;o++)e=at(e,t.mixins[o],n);var i={},s;for(s in e)a(s);for(s in t)ne(e,s)||a(s);function a(u){var c=Oe[u]||fh;i[u]=c(e[u],t[u],n,u)}return i}function co(e,t,n,o){if(typeof n=="string"){var r=e[t];if(ne(r,n))return r[n];var i=tt(n);if(ne(r,i))return r[i];var s=Up(i);if(ne(r,s))return r[s];var a=r[n]||r[i]||r[s];return a}}function Wr(e,t,n,o){var r=t[e],i=!ne(n,e),s=n[e],a=Ba(Boolean,r.type);if(a>-1){if(i&&!ne(r,"default"))s=!1;else if(s===""||s===un(e)){var u=Ba(String,r.type);(u<0||a<u)&&(s=!0)}}if(s===void 0){s=kh(o,r,e);var c=yr;Re(!0),Ie(s),Re(c)}return s}function kh(e,t,n){if(ne(t,"default")){var o=t.default;return e&&e.$options.propsData&&e.$options.propsData[n]===void 0&&e._props[n]!==void 0?e._props[n]:N(o)&&qr(t.type)!=="Function"?o.call(e):o}}var gh=/^\s*function (\w+)/;function qr(e){var t=e&&e.toString().match(gh);return t?t[1]:""}function Ra(e,t){return qr(e)===qr(t)}function Ba(e,t){if(!C(t))return Ra(t,e)?0:-1;for(var n=0,o=t.length;n<o;n++)if(Ra(t[n],e))return n;return-1}var Ue={enumerable:!0,configurable:!0,get:K,set:K};function Gr(e,t,n){Ue.get=function(){return this[t][n]},Ue.set=function(r){this[t][n]=r},Object.defineProperty(e,n,Ue)}function mh(e){var t=e.$options;if(t.props&&vh(e,t.props),_d(e),t.methods&&_h(e,t.methods),t.data)bh(e);else{var n=Ie(e._data={});n&&n.vmCount++}t.computed&&yh(e,t.computed),t.watch&&t.watch!==xr&&$h(e,t.watch)}function vh(e,t){var n=e.$options.propsData||{},o=e._props=fa({}),r=e.$options._propKeys=[],i=!e.$parent;i||Re(!1);var s=function(u){r.push(u);var c=Wr(u,t,n,e);rt(o,u,c),u in e||Gr(e,"_props",u)};for(var a in t)s(a);Re(!0)}function bh(e){var t=e.$options.data;t=e._data=N(t)?xh(t,e):t||{},ue(t)||(t={});var n=Object.keys(t),o=e.$options.props;e.$options.methods;for(var r=n.length;r--;){var i=n[r];o&&ne(o,i)||ea(i)||Gr(e,"_data",i)}var s=Ie(t);s&&s.vmCount++}function xh(e,t){At();try{return e.call(t,t)}catch(n){return it(n,t,"data()"),{}}finally{zt()}}var wh={lazy:!0};function yh(e,t){var n=e._computedWatchers=Object.create(null),o=cn();for(var r in t){var i=t[r],s=N(i)?i:i.get;o||(n[r]=new Nr(e,s||K,K,wh)),r in e||Ha(e,r,i)}}function Ha(e,t,n){var o=!cn();N(n)?(Ue.get=o?Ua(t):Wa(n),Ue.set=K):(Ue.get=n.get?o&&n.cache!==!1?Ua(t):Wa(n.get):K,Ue.set=n.set||K),Object.defineProperty(e,t,Ue)}function Ua(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),Fe.target&&n.depend(),n.value}}function Wa(e){return function(){return e.call(this,this)}}function _h(e,t){e.$options.props;for(var n in t)e[n]=typeof t[n]!="function"?K:Ks(t[n],e)}function $h(e,t){for(var n in t){var o=t[n];if(C(o))for(var r=0;r<o.length;r++)Xr(e,n,o[r]);else Xr(e,n,o)}}function Xr(e,t,n,o){return ue(n)&&(o=n,n=n.handler),typeof n=="string"&&(n=e[n]),e.$watch(t,n,o)}function Ch(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=_r,e.prototype.$delete=ca,e.prototype.$watch=function(o,r,i){var s=this;if(ue(r))return Xr(s,o,r,i);i=i||{},i.user=!0;var a=new Nr(s,o,r,i);if(i.immediate){var u='callback for immediate watcher "'.concat(a.expression,'"');At(),He(r,s,[a.value],s,u),zt()}return function(){a.teardown()}}}var Sh=0;function Oh(e){e.prototype._init=function(t){var n=this;n._uid=Sh++,n._isVue=!0,n.__v_skip=!0,n._scope=new rd(!0),n._scope._vm=!0,t&&t._isComponent?Th(n,t):n.$options=at(Kr(n.constructor),t||{},n),n._renderProxy=n,n._self=n,Ud(n),Ld(n),Od(n),we(n,"beforeCreate",void 0,!1),th(n),mh(n),eh(n),we(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function Th(e,t){var n=e.$options=Object.create(e.constructor.options),o=t._parentVnode;n.parent=t.parent,n._parentVnode=o;var r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function Kr(e){var t=e.options;if(e.super){var n=Kr(e.super),o=e.superOptions;if(n!==o){e.superOptions=n;var r=Eh(e);r&&z(e.extendOptions,r),t=e.options=at(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Eh(e){var t,n=e.options,o=e.sealedOptions;for(var r in n)n[r]!==o[r]&&(t||(t={}),t[r]=n[r]);return t}function L(e){this._init(e)}Oh(L),Ch(L),Hd(L),Wd(L),Td(L);function Ph(e){e.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var o=br(arguments,1);return o.unshift(this),N(t.install)?t.install.apply(t,o):N(t)&&t.apply(null,o),n.push(t),this}}function jh(e){e.mixin=function(t){return this.options=at(this.options,t),this}}function Ih(e){e.cid=0;var t=1;e.extend=function(n){n=n||{};var o=this,r=o.cid,i=n._Ctor||(n._Ctor={});if(i[r])return i[r];var s=uo(n)||uo(o.options),a=function(c){this._init(c)};return a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.cid=t++,a.options=at(o.options,n),a.super=o,a.options.props&&Ah(a),a.options.computed&&zh(a),a.extend=o.extend,a.mixin=o.mixin,a.use=o.use,Yn.forEach(function(u){a[u]=o[u]}),s&&(a.options.components[s]=a),a.superOptions=o.options,a.extendOptions=n,a.sealedOptions=z({},a.options),i[r]=a,a}}function Ah(e){var t=e.options.props;for(var n in t)Gr(e.prototype,"_props",n)}function zh(e){var t=e.options.computed;for(var n in t)Ha(e.prototype,n,t[n])}function Nh(e){Yn.forEach(function(t){e[t]=function(n,o){return o?(t==="component"&&ue(o)&&(o.name=o.name||n,o=this.options._base.extend(o)),t==="directive"&&N(o)&&(o={bind:o,update:o}),this.options[t+"s"][n]=o,o):this.options[t+"s"][n]}})}function qa(e){return e&&(uo(e.Ctor.options)||e.tag)}function lo(e,t){return C(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:Lp(e)?e.test(t):!1}function Ga(e,t){var n=e.cache,o=e.keys,r=e._vnode;for(var i in n){var s=n[i];if(s){var a=s.name;a&&!t(a)&&Yr(n,i,o,r)}}}function Yr(e,t,n,o){var r=e[t];r&&(!o||r.tag!==o.tag)&&r.componentInstance.$destroy(),e[t]=null,De(n,t)}var Xa=[String,RegExp,Array],Dh={name:"keep-alive",abstract:!0,props:{include:Xa,exclude:Xa,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,o=e.vnodeToCache,r=e.keyToCache;if(o){var i=o.tag,s=o.componentInstance,a=o.componentOptions;t[r]={name:qa(a),tag:i,componentInstance:s},n.push(r),this.max&&n.length>parseInt(this.max)&&Yr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Yr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Ga(e,function(n){return lo(t,n)})}),this.$watch("exclude",function(t){Ga(e,function(n){return!lo(t,n)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=ya(e),n=t&&t.componentOptions;if(n){var o=qa(n),r=this,i=r.include,s=r.exclude;if(i&&(!o||!lo(i,o))||s&&o&&lo(s,o))return t;var a=this,u=a.cache,c=a.keys,d=t.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;u[d]?(t.componentInstance=u[d].componentInstance,De(c,d),c.push(d)):(this.vnodeToCache=t,this.keyToCache=d),t.data.keepAlive=!0}return t||e&&e[0]}},Mh={KeepAlive:Dh};function Lh(e){var t={};t.get=function(){return de},Object.defineProperty(e,"config",t),e.util={warn:ah,extend:z,mergeOptions:at,defineReactive:rt},e.set=_r,e.delete=ca,e.nextTick=zr,e.observable=function(n){return Ie(n),n},e.options=Object.create(null),Yn.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,z(e.options.components,Mh),Ph(e),jh(e),Ih(e),Nh(e)}Lh(L),Object.defineProperty(L.prototype,"$isServer",{get:cn}),Object.defineProperty(L.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(L,"FunctionalRenderContext",{value:Hr}),L.version=Dd;var Fh=xe("style,class"),Rh=xe("input,textarea,option,select,progress"),Bh=function(e,t,n){return n==="value"&&Rh(e)&&t!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},Ka=xe("contenteditable,draggable,spellcheck"),Hh=xe("events,caret,typing,plaintext-only"),Uh=function(e,t){return fo(t)||t==="false"?"false":e==="contenteditable"&&Hh(t)?t:"true"},Wh=xe("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Zr="http://www.w3.org/1999/xlink",Jr=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Ya=function(e){return Jr(e)?e.slice(6,e.length):""},fo=function(e){return e==null||e===!1};function qh(e){for(var t=e.data,n=e,o=e;p(o.componentInstance);)o=o.componentInstance._vnode,o&&o.data&&(t=Za(o.data,t));for(;p(n=n.parent);)n&&n.data&&(t=Za(t,n.data));return Gh(t.staticClass,t.class)}function Za(e,t){return{staticClass:Qr(e.staticClass,t.staticClass),class:p(e.class)?[e.class,t.class]:t.class}}function Gh(e,t){return p(e)||p(t)?Qr(e,Vr(t)):""}function Qr(e,t){return e?t?e+" "+t:e:t||""}function Vr(e){return Array.isArray(e)?Xh(e):V(e)?Kh(e):typeof e=="string"?e:""}function Xh(e){for(var t="",n,o=0,r=e.length;o<r;o++)p(n=Vr(e[o]))&&n!==""&&(t&&(t+=" "),t+=n);return t}function Kh(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var Yh={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Zh=xe("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ei=xe("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ja=function(e){return Zh(e)||ei(e)};function Jh(e){if(ei(e))return"svg";if(e==="math")return"math"}var po=Object.create(null);function Qh(e){if(!ce)return!0;if(Ja(e))return!1;if(e=e.toLowerCase(),po[e]!=null)return po[e];var t=document.createElement(e);return e.indexOf("-")>-1?po[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:po[e]=/HTMLUnknownElement/.test(t.toString())}var ti=xe("text,number,password,search,email,tel,url");function Vh(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function ek(e,t){var n=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function tk(e,t){return document.createElementNS(Yh[e],t)}function nk(e){return document.createTextNode(e)}function ok(e){return document.createComment(e)}function rk(e,t,n){e.insertBefore(t,n)}function ik(e,t){e.removeChild(t)}function sk(e,t){e.appendChild(t)}function ak(e){return e.parentNode}function uk(e){return e.nextSibling}function ck(e){return e.tagName}function lk(e,t){e.textContent=t}function fk(e,t){e.setAttribute(t,"")}var pk=Object.freeze({__proto__:null,createElement:ek,createElementNS:tk,createTextNode:nk,createComment:ok,insertBefore:rk,removeChild:ik,appendChild:sk,parentNode:ak,nextSibling:uk,tagName:ck,setTextContent:lk,setStyleScope:fk}),dk={create:function(e,t){Dt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Dt(e,!0),Dt(t))},destroy:function(e){Dt(e,!0)}};function Dt(e,t){var n=e.data.ref;if(p(n)){var o=e.context,r=e.componentInstance||e.elm,i=t?null:r,s=t?void 0:r;if(N(n)){He(n,o,[i],o,"template ref function");return}var a=e.data.refInFor,u=typeof n=="string"||typeof n=="number",c=Se(n),d=o.$refs;if(u||c){if(a){var k=u?d[n]:n.value;t?C(k)&&De(k,r):C(k)?k.includes(r)||k.push(r):u?(d[n]=[r],Qa(o,n,d[n])):n.value=[r]}else if(u){if(t&&d[n]!==r)return;d[n]=s,Qa(o,n,i)}else if(c){if(t&&n.value!==r)return;n.value=i}}}}function Qa(e,t,n){var o=e._setupState;o&&ne(o,t)&&(Se(o[t])?o[t].value=n:o[t]=n)}var We=new le("",{},[]),bn=["create","activate","update","remove","destroy"];function ut(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&p(e.data)===p(t.data)&&hk(e,t)||M(e.isAsyncPlaceholder)&&w(t.asyncFactory.error))}function hk(e,t){if(e.tag!=="input")return!0;var n,o=p(n=e.data)&&p(n=n.attrs)&&n.type,r=p(n=t.data)&&p(n=n.attrs)&&n.type;return o===r||ti(o)&&ti(r)}function kk(e,t,n){var o,r,i={};for(o=t;o<=n;++o)r=e[o].key,p(r)&&(i[r]=o);return i}function gk(e){var t,n,o={},r=e.modules,i=e.nodeOps;for(t=0;t<bn.length;++t)for(o[bn[t]]=[],n=0;n<r.length;++n)p(r[n][bn[t]])&&o[bn[t]].push(r[n][bn[t]]);function s(f){return new le(i.tagName(f).toLowerCase(),{},[],void 0,f)}function a(f,l){function h(){--h.listeners===0&&u(f)}return h.listeners=l,h}function u(f){var l=i.parentNode(f);p(l)&&i.removeChild(l,f)}function c(f,l,h,m,x,T,y){if(p(f.elm)&&p(T)&&(f=T[y]=wr(f)),f.isRootInsert=!x,!d(f,l,h,m)){var _=f.data,E=f.children,I=f.tag;p(I)?(f.elm=f.ns?i.createElementNS(f.ns,I):i.createElement(I,f),H(f),$(f,E,l),p(_)&&S(f,l),v(h,f.elm,m)):M(f.isComment)?(f.elm=i.createComment(f.text),v(h,f.elm,m)):(f.elm=i.createTextNode(f.text),v(h,f.elm,m))}}function d(f,l,h,m){var x=f.data;if(p(x)){var T=p(f.componentInstance)&&x.keepAlive;if(p(x=x.hook)&&p(x=x.init)&&x(f,!1),p(f.componentInstance))return k(f,l),v(h,f.elm,m),M(T)&&g(f,l,h,m),!0}}function k(f,l){p(f.data.pendingInsert)&&(l.push.apply(l,f.data.pendingInsert),f.data.pendingInsert=null),f.elm=f.componentInstance.$el,j(f)?(S(f,l),H(f)):(Dt(f),l.push(f))}function g(f,l,h,m){for(var x,T=f;T.componentInstance;)if(T=T.componentInstance._vnode,p(x=T.data)&&p(x=x.transition)){for(x=0;x<o.activate.length;++x)o.activate[x](We,T);l.push(T);break}v(h,f.elm,m)}function v(f,l,h){p(f)&&(p(h)?i.parentNode(h)===f&&i.insertBefore(f,l,h):i.appendChild(f,l))}function $(f,l,h){if(C(l))for(var m=0;m<l.length;++m)c(l[m],h,f.elm,null,!0,l,m);else sn(f.text)&&i.appendChild(f.elm,i.createTextNode(String(f.text)))}function j(f){for(;f.componentInstance;)f=f.componentInstance._vnode;return p(f.tag)}function S(f,l){for(var h=0;h<o.create.length;++h)o.create[h](We,f);t=f.data.hook,p(t)&&(p(t.create)&&t.create(We,f),p(t.insert)&&l.push(f))}function H(f){var l;if(p(l=f.fnScopeId))i.setStyleScope(f.elm,l);else for(var h=f;h;)p(l=h.context)&&p(l=l.$options._scopeId)&&i.setStyleScope(f.elm,l),h=h.parent;p(l=st)&&l!==f.context&&l!==f.fnContext&&p(l=l.$options._scopeId)&&i.setStyleScope(f.elm,l)}function U(f,l,h,m,x,T){for(;m<=x;++m)c(h[m],T,f,l,!1,h,m)}function R(f){var l,h,m=f.data;if(p(m))for(p(l=m.hook)&&p(l=l.destroy)&&l(f),l=0;l<o.destroy.length;++l)o.destroy[l](f);if(p(l=f.children))for(h=0;h<f.children.length;++h)R(f.children[h])}function Y(f,l,h){for(;l<=h;++l){var m=f[l];p(m)&&(p(m.tag)?(ke(m),R(m)):u(m.elm))}}function ke(f,l){if(p(l)||p(f.data)){var h,m=o.remove.length+1;for(p(l)?l.listeners+=m:l=a(f.elm,m),p(h=f.componentInstance)&&p(h=h._vnode)&&p(h.data)&&ke(h,l),h=0;h<o.remove.length;++h)o.remove[h](f,l);p(h=f.data.hook)&&p(h=h.remove)?h(f,l):l()}else u(f.elm)}function O(f,l,h,m,x){for(var T=0,y=0,_=l.length-1,E=l[0],I=l[_],A=h.length-1,q=h[0],ge=h[A],ft,pt,dt,Ft,hi=!x;T<=_&&y<=A;)w(E)?E=l[++T]:w(I)?I=l[--_]:ut(E,q)?(W(E,q,m,h,y),E=l[++T],q=h[++y]):ut(I,ge)?(W(I,ge,m,h,A),I=l[--_],ge=h[--A]):ut(E,ge)?(W(E,ge,m,h,A),hi&&i.insertBefore(f,E.elm,i.nextSibling(I.elm)),E=l[++T],ge=h[--A]):ut(I,q)?(W(I,q,m,h,y),hi&&i.insertBefore(f,I.elm,E.elm),I=l[--_],q=h[++y]):(w(ft)&&(ft=kk(l,T,_)),pt=p(q.key)?ft[q.key]:D(q,l,T,_),w(pt)?c(q,m,f,E.elm,!1,h,y):(dt=l[pt],ut(dt,q)?(W(dt,q,m,h,y),l[pt]=void 0,hi&&i.insertBefore(f,dt.elm,E.elm)):c(q,m,f,E.elm,!1,h,y)),q=h[++y]);T>_?(Ft=w(h[A+1])?null:h[A+1].elm,U(f,Ft,h,y,A,m)):y>A&&Y(l,T,_)}function D(f,l,h,m){for(var x=h;x<m;x++){var T=l[x];if(p(T)&&ut(f,T))return x}}function W(f,l,h,m,x,T){if(f!==l){p(l.elm)&&p(m)&&(l=m[x]=wr(l));var y=l.elm=f.elm;if(M(f.isAsyncPlaceholder)){p(l.asyncFactory.resolved)?Lt(f.elm,l,h):l.isAsyncPlaceholder=!0;return}if(M(l.isStatic)&&M(f.isStatic)&&l.key===f.key&&(M(l.isCloned)||M(l.isOnce))){l.componentInstance=f.componentInstance;return}var _,E=l.data;p(E)&&p(_=E.hook)&&p(_=_.prepatch)&&_(f,l);var I=f.children,A=l.children;if(p(E)&&j(l)){for(_=0;_<o.update.length;++_)o.update[_](f,l);p(_=E.hook)&&p(_=_.update)&&_(f,l)}w(l.text)?p(I)&&p(A)?I!==A&&O(y,I,A,h,T):p(A)?(p(f.text)&&i.setTextContent(y,""),U(y,null,A,0,A.length-1,h)):p(I)?Y(I,0,I.length-1):p(f.text)&&i.setTextContent(y,""):f.text!==l.text&&i.setTextContent(y,l.text),p(E)&&p(_=E.hook)&&p(_=_.postpatch)&&_(f,l)}}function ye(f,l,h){if(M(h)&&p(f.parent))f.parent.data.pendingInsert=l;else for(var m=0;m<l.length;++m)l[m].data.hook.insert(l[m])}var lt=xe("attrs,class,staticClass,staticStyle,key");function Lt(f,l,h,m){var x,T=l.tag,y=l.data,_=l.children;if(m=m||y&&y.pre,l.elm=f,M(l.isComment)&&p(l.asyncFactory))return l.isAsyncPlaceholder=!0,!0;if(p(y)&&(p(x=y.hook)&&p(x=x.init)&&x(l,!0),p(x=l.componentInstance)))return k(l,h),!0;if(p(T)){if(p(_))if(!f.hasChildNodes())$(l,_,h);else if(p(x=y)&&p(x=x.domProps)&&p(x=x.innerHTML)){if(x!==f.innerHTML)return!1}else{for(var E=!0,I=f.firstChild,A=0;A<_.length;A++){if(!I||!Lt(I,_[A],h,m)){E=!1;break}I=I.nextSibling}if(!E||I)return!1}if(p(y)){var q=!1;for(var ge in y)if(!lt(ge)){q=!0,S(l,h);break}!q&&y.class&&io(y.class)}}else f.data!==l.text&&(f.data=l.text);return!0}return function(l,h,m,x){if(w(h)){p(l)&&R(l);return}var T=!1,y=[];if(w(l))T=!0,c(h,y);else{var _=p(l.nodeType);if(!_&&ut(l,h))W(l,h,y,null,null,x);else{if(_){if(l.nodeType===1&&l.hasAttribute(Qs)&&(l.removeAttribute(Qs),m=!0),M(m)&&Lt(l,h,y))return ye(h,y,!0),l;l=s(l)}var E=l.elm,I=i.parentNode(E);if(c(h,y,E._leaveCb?null:I,i.nextSibling(E)),p(h.parent))for(var A=h.parent,q=j(h);A;){for(var ge=0;ge<o.destroy.length;++ge)o.destroy[ge](A);if(A.elm=h.elm,q){for(var ft=0;ft<o.create.length;++ft)o.create[ft](We,A);var pt=A.data.hook.insert;if(pt.merged)for(var dt=pt.fns.slice(1),Ft=0;Ft<dt.length;Ft++)dt[Ft]()}else Dt(A);A=A.parent}p(I)?Y([l],0,0):p(l.tag)&&R(l)}}return ye(h,y,T),h.elm}}var mk={create:ni,update:ni,destroy:function(t){ni(t,We)}};function ni(e,t){(e.data.directives||t.data.directives)&&vk(e,t)}function vk(e,t){var n=e===We,o=t===We,r=Va(e.data.directives,e.context),i=Va(t.data.directives,t.context),s=[],a=[],u,c,d;for(u in i)c=r[u],d=i[u],c?(d.oldValue=c.value,d.oldArg=c.arg,xn(d,"update",t,e),d.def&&d.def.componentUpdated&&a.push(d)):(xn(d,"bind",t,e),d.def&&d.def.inserted&&s.push(d));if(s.length){var k=function(){for(var g=0;g<s.length;g++)xn(s[g],"inserted",t,e)};n?Be(t,"insert",k):k()}if(a.length&&Be(t,"postpatch",function(){for(var g=0;g<a.length;g++)xn(a[g],"componentUpdated",t,e)}),!n)for(u in r)i[u]||xn(r[u],"unbind",e,e,o)}var bk=Object.create(null);function Va(e,t){var n=Object.create(null);if(!e)return n;var o,r;for(o=0;o<e.length;o++){if(r=e[o],r.modifiers||(r.modifiers=bk),n[xk(r)]=r,t._setupState&&t._setupState.__sfc){var i=r.def||co(t,"_setupState","v-"+r.name);typeof i=="function"?r.def={bind:i,update:i}:r.def=i}r.def=r.def||co(t.$options,"directives",r.name)}return n}function xk(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function xn(e,t,n,o,r){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,o,r)}catch(s){it(s,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var wk=[dk,mk];function eu(e,t){var n=t.componentOptions;if(!(p(n)&&n.Ctor.options.inheritAttrs===!1)&&!(w(e.data.attrs)&&w(t.data.attrs))){var o,r,i,s=t.elm,a=e.data.attrs||{},u=t.data.attrs||{};(p(u.__ob__)||M(u._v_attr_proxy))&&(u=t.data.attrs=z({},u));for(o in u)r=u[o],i=a[o],i!==r&&tu(s,o,r,t.data.pre);(Et||ta)&&u.value!==a.value&&tu(s,"value",u.value);for(o in a)w(u[o])&&(Jr(o)?s.removeAttributeNS(Zr,Ya(o)):Ka(o)||s.removeAttribute(o))}}function tu(e,t,n,o){o||e.tagName.indexOf("-")>-1?nu(e,t,n):Wh(t)?fo(n)?e.removeAttribute(t):(n=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,n)):Ka(t)?e.setAttribute(t,Uh(t,n)):Jr(t)?fo(n)?e.removeAttributeNS(Zr,Ya(t)):e.setAttributeNS(Zr,t,n):nu(e,t,n)}function nu(e,t,n){if(fo(n))e.removeAttribute(t);else{if(Et&&!Pt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var o=function(r){r.stopImmediatePropagation(),e.removeEventListener("input",o)};e.addEventListener("input",o),e.__ieph=!0}e.setAttribute(t,n)}}var yk={create:eu,update:eu};function ou(e,t){var n=t.elm,o=t.data,r=e.data;if(!(w(o.staticClass)&&w(o.class)&&(w(r)||w(r.staticClass)&&w(r.class)))){var i=qh(t),s=n._transitionClasses;p(s)&&(i=Qr(i,Vr(s))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var _k={create:ou,update:ou},oi="__r",ri="__c";function $k(e){if(p(e[oi])){var t=Et?"change":"input";e[t]=[].concat(e[oi],e[t]||[]),delete e[oi]}p(e[ri])&&(e.change=[].concat(e[ri],e.change||[]),delete e[ri])}var wn;function Ck(e,t,n){var o=wn;return function r(){var i=t.apply(null,arguments);i!==null&&ru(e,r,n,o)}}var Sk=jr&&!(na&&Number(na[1])<=53);function Ok(e,t,n,o){if(Sk){var r=Aa,i=t;t=i._wrapper=function(s){if(s.target===s.currentTarget||s.timeStamp>=r||s.timeStamp<=0||s.target.ownerDocument!==document)return i.apply(this,arguments)}}wn.addEventListener(e,t,oa?{capture:n,passive:o}:n)}function ru(e,t,n,o){(o||wn).removeEventListener(e,t._wrapper||t,n)}function ii(e,t){if(!(w(e.data.on)&&w(t.data.on))){var n=t.data.on||{},o=e.data.on||{};wn=t.elm||e.elm,$k(n),da(n,o,Ok,ru,Ck,t.context),wn=void 0}}var Tk={create:ii,update:ii,destroy:function(e){return ii(e,We)}},ho;function iu(e,t){if(!(w(e.data.domProps)&&w(t.data.domProps))){var n,o,r=t.elm,i=e.data.domProps||{},s=t.data.domProps||{};(p(s.__ob__)||M(s._v_attr_proxy))&&(s=t.data.domProps=z({},s));for(n in i)n in s||(r[n]="");for(n in s){if(o=s[n],n==="textContent"||n==="innerHTML"){if(t.children&&(t.children.length=0),o===i[n])continue;r.childNodes.length===1&&r.removeChild(r.childNodes[0])}if(n==="value"&&r.tagName!=="PROGRESS"){r._value=o;var a=w(o)?"":String(o);Ek(r,a)&&(r.value=a)}else if(n==="innerHTML"&&ei(r.tagName)&&w(r.innerHTML)){ho=ho||document.createElement("div"),ho.innerHTML="<svg>".concat(o,"</svg>");for(var u=ho.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;u.firstChild;)r.appendChild(u.firstChild)}else if(o!==i[n])try{r[n]=o}catch{}}}}function Ek(e,t){return!e.composing&&(e.tagName==="OPTION"||Pk(e,t)||jk(e,t))}function Pk(e,t){var n=!0;try{n=document.activeElement!==e}catch{}return n&&e.value!==t}function jk(e,t){var n=e.value,o=e._vModifiers;if(p(o)){if(o.number)return an(n)!==an(t);if(o.trim)return n.trim()!==t.trim()}return n!==t}var Ik={create:iu,update:iu},Ak=et(function(e){var t={},n=/;(?![^(]*\))/g,o=/:(.+)/;return e.split(n).forEach(function(r){if(r){var i=r.split(o);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function si(e){var t=su(e.style);return e.staticStyle?z(e.staticStyle,t):t}function su(e){return Array.isArray(e)?Ys(e):typeof e=="string"?Ak(e):e}function zk(e,t){for(var n={},o,r=e;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(o=si(r.data))&&z(n,o);(o=si(e.data))&&z(n,o);for(var i=e;i=i.parent;)i.data&&(o=si(i.data))&&z(n,o);return n}var Nk=/^--/,au=/\s*!important$/,uu=function(e,t,n){if(Nk.test(t))e.style.setProperty(t,n);else if(au.test(n))e.style.setProperty(un(t),n.replace(au,""),"important");else{var o=Dk(t);if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)e.style[o]=n[r];else e.style[o]=n}},cu=["Webkit","Moz","ms"],ko,Dk=et(function(e){if(ko=ko||document.createElement("div").style,e=tt(e),e!=="filter"&&e in ko)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<cu.length;n++){var o=cu[n]+t;if(o in ko)return o}});function lu(e,t){var n=t.data,o=e.data;if(!(w(n.staticStyle)&&w(n.style)&&w(o.staticStyle)&&w(o.style))){var r,i,s=t.elm,a=o.staticStyle,u=o.normalizedStyle||o.style||{},c=a||u,d=su(t.data.style)||{};t.data.normalizedStyle=p(d.__ob__)?z({},d):d;var k=zk(t);for(i in c)w(k[i])&&uu(s,i,"");for(i in k)r=k[i],r!==c[i]&&uu(s,i,r??"")}}var Mk={create:lu,update:lu},fu=/\s+/;function pu(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(fu).forEach(function(o){return e.classList.add(o)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function du(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(fu).forEach(function(r){return e.classList.remove(r)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),o=" "+t+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function hu(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&z(t,ku(e.name||"v")),z(t,e),t}else if(typeof e=="string")return ku(e)}}var ku=et(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),gu=ce&&!Pt,Mt="transition",ai="animation",go="transition",mo="transitionend",ui="animation",mu="animationend";gu&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(go="WebkitTransition",mo="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ui="WebkitAnimation",mu="webkitAnimationEnd"));var vu=ce?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function bu(e){vu(function(){vu(e)})}function ct(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),pu(e,t))}function ze(e,t){e._transitionClasses&&De(e._transitionClasses,t),du(e,t)}function xu(e,t,n){var o=wu(e,t),r=o.type,i=o.timeout,s=o.propCount;if(!r)return n();var a=r===Mt?mo:mu,u=0,c=function(){e.removeEventListener(a,d),n()},d=function(k){k.target===e&&++u>=s&&c()};setTimeout(function(){u<s&&c()},i+1),e.addEventListener(a,d)}var Lk=/\b(transform|all)(,|$)/;function wu(e,t){var n=window.getComputedStyle(e),o=(n[go+"Delay"]||"").split(", "),r=(n[go+"Duration"]||"").split(", "),i=yu(o,r),s=(n[ui+"Delay"]||"").split(", "),a=(n[ui+"Duration"]||"").split(", "),u=yu(s,a),c,d=0,k=0;t===Mt?i>0&&(c=Mt,d=i,k=r.length):t===ai?u>0&&(c=ai,d=u,k=a.length):(d=Math.max(i,u),c=d>0?i>u?Mt:ai:null,k=c?c===Mt?r.length:a.length:0);var g=c===Mt&&Lk.test(n[go+"Property"]);return{type:c,timeout:d,propCount:k,hasTransform:g}}function yu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(n,o){return _u(n)+_u(e[o])}))}function _u(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ci(e,t){var n=e.elm;p(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=hu(e.data.transition);if(!w(o)&&!(p(n._enterCb)||n.nodeType!==1)){for(var r=o.css,i=o.type,s=o.enterClass,a=o.enterToClass,u=o.enterActiveClass,c=o.appearClass,d=o.appearToClass,k=o.appearActiveClass,g=o.beforeEnter,v=o.enter,$=o.afterEnter,j=o.enterCancelled,S=o.beforeAppear,H=o.appear,U=o.afterAppear,R=o.appearCancelled,Y=o.duration,ke=st,O=st.$vnode;O&&O.parent;)ke=O.context,O=O.parent;var D=!ke._isMounted||!e.isRootInsert;if(!(D&&!H&&H!=="")){var W=D&&c?c:s,ye=D&&k?k:u,lt=D&&d?d:a,Lt=D&&S||g,f=D&&N(H)?H:v,l=D&&U||$,h=D&&R||j,m=an(V(Y)?Y.enter:Y),x=r!==!1&&!Pt,T=li(f),y=n._enterCb=Kn(function(){x&&(ze(n,lt),ze(n,ye)),y.cancelled?(x&&ze(n,W),h&&h(n)):l&&l(n),n._enterCb=null});e.data.show||Be(e,"insert",function(){var _=n.parentNode,E=_&&_._pending&&_._pending[e.key];E&&E.tag===e.tag&&E.elm._leaveCb&&E.elm._leaveCb(),f&&f(n,y)}),Lt&&Lt(n),x&&(ct(n,W),ct(n,ye),bu(function(){ze(n,W),y.cancelled||(ct(n,lt),T||(Cu(m)?setTimeout(y,m):xu(n,i,y)))})),e.data.show&&(t&&t(),f&&f(n,y)),!x&&!T&&y()}}}function $u(e,t){var n=e.elm;p(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=hu(e.data.transition);if(w(o)||n.nodeType!==1)return t();if(p(n._leaveCb))return;var r=o.css,i=o.type,s=o.leaveClass,a=o.leaveToClass,u=o.leaveActiveClass,c=o.beforeLeave,d=o.leave,k=o.afterLeave,g=o.leaveCancelled,v=o.delayLeave,$=o.duration,j=r!==!1&&!Pt,S=li(d),H=an(V($)?$.leave:$),U=n._leaveCb=Kn(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),j&&(ze(n,a),ze(n,u)),U.cancelled?(j&&ze(n,s),g&&g(n)):(t(),k&&k(n)),n._leaveCb=null});v?v(R):R();function R(){U.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),j&&(ct(n,s),ct(n,u),bu(function(){ze(n,s),U.cancelled||(ct(n,a),S||(Cu(H)?setTimeout(U,H):xu(n,i,U)))})),d&&d(n,U),!j&&!S&&U())}}function Cu(e){return typeof e=="number"&&!isNaN(e)}function li(e){if(w(e))return!1;var t=e.fns;return p(t)?li(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Su(e,t){t.data.show!==!0&&ci(t)}var Fk=ce?{create:Su,activate:Su,remove:function(e,t){e.data.show!==!0?$u(e,t):t()}}:{},Rk=[yk,_k,Tk,Ik,Mk,Fk],Bk=Rk.concat(wk),Hk=gk({nodeOps:pk,modules:Bk});Pt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&fi(e,"input")});var Ou={inserted:function(e,t,n,o){n.tag==="select"?(o.elm&&!o.elm._vOptions?Be(n,"postpatch",function(){Ou.componentUpdated(e,t,n)}):Tu(e,t,n.context),e._vOptions=[].map.call(e.options,vo)):(n.tag==="textarea"||ti(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Uk),e.addEventListener("compositionend",ju),e.addEventListener("change",ju),Pt&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if(n.tag==="select"){Tu(e,t,n.context);var o=e._vOptions,r=e._vOptions=[].map.call(e.options,vo);if(r.some(function(s,a){return!nt(s,o[a])})){var i=e.multiple?t.value.some(function(s){return Pu(s,r)}):t.value!==t.oldValue&&Pu(t.value,r);i&&fi(e,"change")}}}};function Tu(e,t,n){Eu(e,t),(Et||ta)&&setTimeout(function(){Eu(e,t)},0)}function Eu(e,t,n){var o=t.value,r=e.multiple;if(!(r&&!Array.isArray(o))){for(var i,s,a=0,u=e.options.length;a<u;a++)if(s=e.options[a],r)i=Js(o,vo(s))>-1,s.selected!==i&&(s.selected=i);else if(nt(vo(s),o)){e.selectedIndex!==a&&(e.selectedIndex=a);return}r||(e.selectedIndex=-1)}}function Pu(e,t){return t.every(function(n){return!nt(n,e)})}function vo(e){return"_value"in e?e._value:e.value}function Uk(e){e.target.composing=!0}function ju(e){e.target.composing&&(e.target.composing=!1,fi(e.target,"input"))}function fi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function pi(e){return e.componentInstance&&(!e.data||!e.data.transition)?pi(e.componentInstance._vnode):e}var Wk={bind:function(e,t,n){var o=t.value;n=pi(n);var r=n.data&&n.data.transition,i=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;o&&r?(n.data.show=!0,ci(n,function(){e.style.display=i})):e.style.display=o?i:"none"},update:function(e,t,n){var o=t.value,r=t.oldValue;if(!o!=!r){n=pi(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,o?ci(n,function(){e.style.display=e.__vOriginalDisplay}):$u(n,function(){e.style.display="none"})):e.style.display=o?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,o,r){r||(e.style.display=e.__vOriginalDisplay)}},qk={model:Ou,show:Wk},Iu={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function di(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?di(ya(t.children)):e}function Au(e){var t={},n=e.$options;for(var o in n.propsData)t[o]=e[o];var r=n._parentListeners;for(var o in r)t[tt(o)]=r[o];return t}function zu(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Gk(e){for(;e=e.parent;)if(e.data.transition)return!0}function Xk(e,t){return t.key===e.key&&t.tag===e.tag}var Kk=function(e){return e.tag||hn(e)},Yk=function(e){return e.name==="show"},Zk={name:"transition",props:Iu,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Kk),!!n.length)){var o=this.mode,r=n[0];if(Gk(this.$vnode))return r;var i=di(r);if(!i)return r;if(this._leaving)return zu(e,r);var s="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?s+"comment":s+i.tag:sn(i.key)?String(i.key).indexOf(s)===0?i.key:s+i.key:i.key;var a=(i.data||(i.data={})).transition=Au(this),u=this._vnode,c=di(u);if(i.data.directives&&i.data.directives.some(Yk)&&(i.data.show=!0),c&&c.data&&!Xk(i,c)&&!hn(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var d=c.data.transition=z({},a);if(o==="out-in")return this._leaving=!0,Be(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),zu(e,r);if(o==="in-out"){if(hn(i))return u;var k,g=function(){k()};Be(a,"afterEnter",g),Be(a,"enterCancelled",g),Be(d,"delayLeave",function(v){k=v})}}return r}}},Nu=z({tag:String,moveClass:String},Iu);delete Nu.mode;var Jk={props:Nu,beforeMount:function(){var e=this,t=this._update;this._update=function(n,o){var r=Pa(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,o)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],s=Au(this),a=0;a<r.length;a++){var u=r[a];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(i.push(u),n[u.key]=u,(u.data||(u.data={})).transition=s)}if(o){for(var c=[],d=[],a=0;a<o.length;a++){var u=o[a];u.data.transition=s,u.data.pos=u.elm.getBoundingClientRect(),n[u.key]?c.push(u):d.push(u)}this.kept=e(t,null,c),this.removed=d}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(Qk),e.forEach(Vk),e.forEach(eg),this._reflow=document.body.offsetHeight,e.forEach(function(n){if(n.data.moved){var o=n.elm,r=o.style;ct(o,t),r.transform=r.WebkitTransform=r.transitionDuration="",o.addEventListener(mo,o._moveCb=function i(s){s&&s.target!==o||(!s||/transform$/.test(s.propertyName))&&(o.removeEventListener(mo,i),o._moveCb=null,ze(o,t))})}}))},methods:{hasMove:function(e,t){if(!gu)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(r){du(n,r)}),pu(n,t),n.style.display="none",this.$el.appendChild(n);var o=wu(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}};function Qk(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Vk(e){e.data.newPos=e.elm.getBoundingClientRect()}function eg(e){var t=e.data.pos,n=e.data.newPos,o=t.left-n.left,r=t.top-n.top;if(o||r){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate(".concat(o,"px,").concat(r,"px)"),i.transitionDuration="0s"}}var tg={Transition:Zk,TransitionGroup:Jk};L.config.mustUseProp=Bh,L.config.isReservedTag=Ja,L.config.isReservedAttr=Fh,L.config.getTagNamespace=Jh,L.config.isUnknownElement=Qh,z(L.options.directives,qk),z(L.options.components,tg),L.prototype.__patch__=ce?Hk:K,L.prototype.$mount=function(e,t){return e=e&&ce?Vh(e):void 0,qd(this,e,t)},ce&&setTimeout(function(){de.devtools&&Jn&&Jn.emit("init",L)},0);const ng={props:{value:{type:String,default:""},defaultValue:{type:String,default:"53.5503,10.0006"}},render:e=>e("div",{class:"uk-preserve-width",style:{minHeight:"260px",zIndex:"0"}}),computed:{latlng(){const[e,t=""]=(this.value||this.defaultValue).split(",");return[e,t]}},watch:{latlng(e){this.marker.setLatLng(e).update(),this.map.panTo(e)}},mounted:function(){const{L:e}=window;this.map=e.map(this.$el).setView(this.latlng,13),this.marker=new e.marker(this.latlng,{draggable:!0}),e.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="http://osm.org/copyright">OpenStreetMap</a>'}).addTo(this.map),this.map.addLayer(this.marker),this.marker.on("dragend",()=>t(this.marker.getLatLng())),this.map.on("click",({latlng:n})=>t(n)),"IntersectionObserver"in window&&(this.observer=new IntersectionObserver(()=>this.map.invalidateSize()),this.observer.observe(this.$el));const t=({lat:n,lng:o})=>this.$emit("input",`${n.toFixed(4)},${o.toFixed(4)}`)},destroyed(){this?.observer.disconnect(),this.map.off()}};var og=()=>({component:(async()=>(window.L||await qt({js:`${Rt.config.base}/vendor/assets/leaflet/leaflet/dist/leaflet.js`,css:`${Rt.config.base}/vendor/assets/leaflet/leaflet/dist/leaflet.css`}),ng))(),loading:{render:e=>e("div",{attrs:{"uk-spinner":""},class:"uk-text-center uk-width-1-1"})},error:{render:e=>e("div",{class:"uk-alert uk-alert-danger"},L.i18n.t("Failed loading map"))},timeout:3e3});const rg={components:{LocationInput:Dp,MapInput:og},props:{value:String},methods:{input(e){this.$emit("input",e)}}};var ig=function(){var t=this,n=t._self._c;return n("div",[n("MapInput",{attrs:{value:t.value},on:{input:t.input}}),t._v(" "),n("div",{staticClass:"uk-margin-small-top"},[n("LocationInput",{attrs:{value:t.value},on:{input:t.input}})],1)],1)},sg=[],ag=Gs(rg,ig,sg),ug=ag.exports;function cg(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",n==="top"&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var lg='.uk-scope html{-webkit-text-size-adjust:100%;background:#fff;color:#666;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:16px;font-weight:400;line-height:1.5}.uk-scope body{margin:0}.uk-scope .uk-link,.uk-scope a{color:#1e87f0;cursor:pointer;text-decoration:none}.uk-scope .uk-link-toggle:hover .uk-link,.uk-scope .uk-link:hover,.uk-scope a:hover{color:#0f6ecd;text-decoration:underline}.uk-scope abbr[title]{text-decoration:underline dotted;-webkit-text-decoration-style:dotted}.uk-scope b,.uk-scope strong{font-weight:bolder}.uk-scope :not(pre)>code,.uk-scope :not(pre)>kbd,.uk-scope :not(pre)>samp{background:#f8f8f8;color:#f0506e;font-family:Consolas,monaco,monospace;font-size:.875rem;padding:2px 6px;white-space:nowrap}.uk-scope em{color:#f0506e}.uk-scope ins{text-decoration:none}.uk-scope ins,.uk-scope mark{background:#ffd;color:#666}.uk-scope q{font-style:italic}.uk-scope small{font-size:80%}.uk-scope sub,.uk-scope sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.uk-scope sup{top:-.5em}.uk-scope sub{bottom:-.25em}.uk-scope audio,.uk-scope canvas,.uk-scope iframe,.uk-scope img,.uk-scope svg,.uk-scope video{vertical-align:middle}.uk-scope canvas,.uk-scope img,.uk-scope svg,.uk-scope video{box-sizing:border-box;height:auto;max-width:100%}.uk-scope img:not([src]){min-width:1px;visibility:hidden}.uk-scope iframe{border:0}.uk-scope address,.uk-scope dl,.uk-scope fieldset,.uk-scope figure,.uk-scope ol,.uk-scope p,.uk-scope pre,.uk-scope ul{margin:0 0 20px}.uk-scope *+address,.uk-scope *+dl,.uk-scope *+fieldset,.uk-scope *+figure,.uk-scope *+ol,.uk-scope *+p,.uk-scope *+pre,.uk-scope *+ul{margin-top:20px}.uk-scope .uk-h1,.uk-scope .uk-h2,.uk-scope .uk-h3,.uk-scope .uk-h4,.uk-scope .uk-h5,.uk-scope .uk-h6,.uk-scope .uk-heading-2xlarge,.uk-scope .uk-heading-3xlarge,.uk-scope .uk-heading-large,.uk-scope .uk-heading-medium,.uk-scope .uk-heading-small,.uk-scope .uk-heading-xlarge,.uk-scope h1,.uk-scope h2,.uk-scope h3,.uk-scope h4,.uk-scope h5,.uk-scope h6{color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-weight:400;margin:0 0 20px;text-transform:none}.uk-scope *+.uk-h1,.uk-scope *+.uk-h2,.uk-scope *+.uk-h3,.uk-scope *+.uk-h4,.uk-scope *+.uk-h5,.uk-scope *+.uk-h6,.uk-scope *+.uk-heading-2xlarge,.uk-scope *+.uk-heading-3xlarge,.uk-scope *+.uk-heading-large,.uk-scope *+.uk-heading-medium,.uk-scope *+.uk-heading-small,.uk-scope *+.uk-heading-xlarge,.uk-scope *+h1,.uk-scope *+h2,.uk-scope *+h3,.uk-scope *+h4,.uk-scope *+h5,.uk-scope *+h6{margin-top:40px}.uk-scope .uk-h1,.uk-scope h1{font-size:2.23125rem;line-height:1.2}.uk-scope .uk-h2,.uk-scope h2{font-size:1.7rem;line-height:1.3}.uk-scope .uk-h3,.uk-scope h3{font-size:1.5rem;line-height:1.4}.uk-scope .uk-h4,.uk-scope h4{font-size:1.25rem;line-height:1.4}.uk-scope .uk-h5,.uk-scope h5{font-size:16px;line-height:1.4}.uk-scope .uk-h6,.uk-scope h6{font-size:.875rem;line-height:1.4}@media (min-width:960px){.uk-scope .uk-h1,.uk-scope h1{font-size:2.625rem}.uk-scope .uk-h2,.uk-scope h2{font-size:2rem}}.uk-scope ol,.uk-scope ul{padding-left:30px}.uk-scope ol>li>ol,.uk-scope ol>li>ul,.uk-scope ul>li>ol,.uk-scope ul>li>ul{margin:0}.uk-scope dt{font-weight:700}.uk-scope dd{margin-left:0}.uk-scope .uk-hr,.uk-scope hr{border:0;border-top:1px solid #e5e5e5;margin:0 0 20px;overflow:visible;text-align:inherit}.uk-scope *+.uk-hr,.uk-scope *+hr{margin-top:20px}.uk-scope address{font-style:normal}.uk-scope blockquote{color:#333;font-size:1.25rem;font-style:italic;line-height:1.5;margin:0 0 20px}.uk-scope *+blockquote{margin-top:20px}.uk-scope blockquote p:last-of-type{margin-bottom:0}.uk-scope blockquote footer{color:#666;font-size:.875rem;line-height:1.5;margin-top:10px}.uk-scope blockquote footer:before{content:"\u2014 "}.uk-scope pre{background:#fff;border:1px solid #e5e5e5;border-radius:3px;color:#666;font:.875rem/1.5 Consolas,monaco,monospace;overflow:auto;padding:10px;-moz-tab-size:4;tab-size:4}.uk-scope pre code{font-family:Consolas,monaco,monospace}.uk-scope :focus{outline:none}.uk-scope :focus-visible{outline:2px dotted #333}.uk-scope ::selection{background:#39f;color:#fff;text-shadow:none}.uk-scope details,.uk-scope main{display:block}.uk-scope summary{display:list-item}.uk-scope template{display:none}.uk-scope :root{--uk-breakpoint-s:640px;--uk-breakpoint-m:960px;--uk-breakpoint-l:1200px;--uk-breakpoint-xl:1600px}.uk-scope .uk-icon{fill:currentcolor;background-color:transparent;border:none;border-radius:0;color:inherit;display:inline-block;font:inherit;line-height:0;margin:0;overflow:visible;padding:0;text-transform:none}.uk-scope button.uk-icon:not(:disabled){cursor:pointer}.uk-scope .uk-icon::-moz-focus-inner{border:0;padding:0}.uk-scope .uk-icon:not(.uk-preserve) [fill*="#"]:not(.uk-preserve){fill:currentcolor}.uk-scope .uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve){stroke:currentcolor}.uk-scope .uk-icon>*{transform:translate(0)}.uk-scope .uk-icon-image{background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:20px;max-width:none;object-fit:scale-down;vertical-align:middle;width:20px}.uk-scope .uk-icon-link{color:#999;text-decoration:none!important}.uk-scope .uk-icon-link:hover{color:#666}.uk-scope .uk-active>.uk-icon-link,.uk-scope .uk-icon-link:active{color:#595959}.uk-scope .uk-icon-button{align-items:center;background:#f8f8f8;border-radius:500px;box-sizing:border-box;color:#999;display:inline-flex;height:36px;justify-content:center;transition:.1s ease-in-out;transition-property:color,background-color;vertical-align:middle;width:36px}.uk-scope .uk-icon-button:hover{background-color:#ebebeb;color:#666}.uk-scope .uk-active>.uk-icon-button,.uk-scope .uk-icon-button:active{background-color:#dfdfdf;color:#666}.uk-scope .uk-checkbox,.uk-scope .uk-input,.uk-scope .uk-radio,.uk-scope .uk-select,.uk-scope .uk-textarea{border-radius:0;box-sizing:border-box;font:inherit;margin:0}.uk-scope .uk-input{overflow:visible}.uk-scope .uk-select{text-transform:none}.uk-scope .uk-select optgroup{font:inherit;font-weight:700}.uk-scope .uk-textarea{overflow:auto}.uk-scope .uk-input[type=search]::-webkit-search-cancel-button,.uk-scope .uk-input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-scope .uk-input[type=number]::-webkit-inner-spin-button,.uk-scope .uk-input[type=number]::-webkit-outer-spin-button{height:auto}.uk-scope .uk-input[type=date]::-webkit-datetime-edit,.uk-scope .uk-input[type=datetime-local]::-webkit-datetime-edit,.uk-scope .uk-input[type=time]::-webkit-datetime-edit{align-items:center;display:inline-flex;height:100%;padding:0}.uk-scope .uk-input::-moz-placeholder,.uk-scope .uk-textarea::-moz-placeholder{opacity:1}.uk-scope .uk-checkbox:not(:disabled),.uk-scope .uk-radio:not(:disabled){cursor:pointer}.uk-scope .uk-fieldset{border:none;margin:0;min-width:0;padding:0}.uk-scope .uk-input,.uk-scope .uk-textarea{-webkit-appearance:none}.uk-scope .uk-input,.uk-scope .uk-select,.uk-scope .uk-textarea{background:#fff;border:1px solid #e5e5e5;color:#666;max-width:100%;padding:0 10px;transition:.2s ease-in-out;transition-property:color,background-color,border;width:100%}.uk-scope .uk-input,.uk-scope .uk-select:not([multiple]):not([size]){display:inline-block;height:40px;vertical-align:middle}.uk-scope .uk-input:not(input),.uk-scope .uk-select:not(select){line-height:38px}.uk-scope .uk-select[multiple],.uk-scope .uk-select[size],.uk-scope .uk-textarea{padding-bottom:6px;padding-top:6px;vertical-align:top}.uk-scope .uk-select[multiple],.uk-scope .uk-select[size]{resize:vertical}.uk-scope .uk-input:focus,.uk-scope .uk-select:focus,.uk-scope .uk-textarea:focus{background-color:#fff;border-color:#1e87f0;color:#666;outline:none}.uk-scope .uk-input:disabled,.uk-scope .uk-select:disabled,.uk-scope .uk-textarea:disabled{background-color:#f8f8f8;border-color:#e5e5e5;color:#999}.uk-scope .uk-input::placeholder{color:#999}.uk-scope .uk-textarea::placeholder{color:#999}.uk-scope .uk-form-small{font-size:.875rem}.uk-scope .uk-form-small:not(textarea):not([multiple]):not([size]){height:30px;padding-left:8px;padding-right:8px}.uk-scope [multiple].uk-form-small,.uk-scope [size].uk-form-small,.uk-scope textarea.uk-form-small{padding:5px 8px}.uk-scope .uk-form-small:not(select):not(input):not(textarea){line-height:28px}.uk-scope .uk-form-large{font-size:1.25rem}.uk-scope .uk-form-large:not(textarea):not([multiple]):not([size]){height:55px;padding-left:12px;padding-right:12px}.uk-scope [multiple].uk-form-large,.uk-scope [size].uk-form-large,.uk-scope textarea.uk-form-large{padding:7px 12px}.uk-scope .uk-form-large:not(select):not(input):not(textarea){line-height:53px}.uk-scope .uk-form-danger,.uk-scope .uk-form-danger:focus{border-color:#f0506e;color:#f0506e}.uk-scope .uk-form-success,.uk-scope .uk-form-success:focus{border-color:#32d296;color:#32d296}.uk-scope .uk-form-blank{background:none;border-color:transparent}.uk-scope .uk-form-blank:focus{border-color:#e5e5e5;border-style:solid}.uk-scope input.uk-form-width-xsmall{width:50px}.uk-scope select.uk-form-width-xsmall{width:75px}.uk-scope .uk-form-width-small{width:130px}.uk-scope .uk-form-width-medium{width:200px}.uk-scope .uk-form-width-large{width:500px}.uk-scope .uk-select:not([multiple]):not([size]){-webkit-appearance:none;-moz-appearance:none;background-image:url(../../images/backgrounds/form-select.svg);background-position:100% 50%;background-repeat:no-repeat;padding-right:20px}.uk-scope .uk-select:not([multiple]):not([size]) option{color:#666}.uk-scope .uk-select:not([multiple]):not([size]):disabled{background-image:url(../../images/backgrounds/form-select.svg)}.uk-scope .uk-input[list]{background-position:100% 50%;background-repeat:no-repeat;padding-right:20px}.uk-scope .uk-input[list]:focus,.uk-scope .uk-input[list]:hover{background-image:url(../../images/backgrounds/form-datalist.svg)}.uk-scope .uk-input[list]::-webkit-calendar-picker-indicator{display:none!important}.uk-scope .uk-checkbox,.uk-scope .uk-radio{-webkit-appearance:none;-moz-appearance:none;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;border:1px solid #ccc;display:inline-block;height:16px;margin-top:-4px;overflow:hidden;transition:.2s ease-in-out;transition-property:background-color,border;vertical-align:middle;width:16px}.uk-scope .uk-radio{border-radius:50%}.uk-scope .uk-checkbox:focus,.uk-scope .uk-radio:focus{background-color:transparent;border-color:#1e87f0;outline:none}.uk-scope .uk-checkbox:checked,.uk-scope .uk-checkbox:indeterminate,.uk-scope .uk-radio:checked{background-color:#1e87f0;border-color:transparent}.uk-scope .uk-checkbox:checked:focus,.uk-scope .uk-checkbox:indeterminate:focus,.uk-scope .uk-radio:checked:focus{background-color:#0e6dcd}.uk-scope .uk-radio:checked{background-image:url(../../images/backgrounds/form-radio.svg)}.uk-scope .uk-checkbox:checked{background-image:url(../../images/backgrounds/form-checkbox.svg)}.uk-scope .uk-checkbox:indeterminate{background-image:url(../../images/backgrounds/form-checkbox-indeterminate.svg)}.uk-scope .uk-checkbox:disabled,.uk-scope .uk-radio:disabled{background-color:#f8f8f8;border-color:#e5e5e5}.uk-scope .uk-radio:disabled:checked{background-image:url(../../images/backgrounds/form-radio.svg)}.uk-scope .uk-checkbox:disabled:checked{background-image:url(../../images/backgrounds/form-checkbox.svg)}.uk-scope .uk-checkbox:disabled:indeterminate{background-image:url(../../images/backgrounds/form-checkbox-indeterminate.svg)}.uk-scope .uk-legend{color:inherit;font-size:1.5rem;line-height:1.4;padding:0;width:100%}.uk-scope .uk-form-custom{display:inline-block;max-width:100%;position:relative;vertical-align:middle}.uk-scope .uk-form-custom input[type=file],.uk-scope .uk-form-custom select{-webkit-appearance:none;cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.uk-scope .uk-form-custom input[type=file]{font-size:500px;overflow:hidden}.uk-scope .uk-form-label{color:#333;font-size:.875rem}.uk-scope .uk-form-stacked .uk-form-label{display:block;margin-bottom:5px}@media (max-width:959px){.uk-scope .uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px}}@media (min-width:960px){.uk-scope .uk-form-horizontal .uk-form-label{float:left;margin-top:7px;width:200px}.uk-scope .uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-scope .uk-form-horizontal .uk-form-controls-text{padding-top:7px}}.uk-scope .uk-form-icon{align-items:center;bottom:0;color:#999;display:inline-flex;justify-content:center;left:0;position:absolute;top:0;width:40px}.uk-scope .uk-form-icon:hover{color:#666}.uk-scope .uk-form-icon:not(a):not(button):not(input){pointer-events:none}.uk-scope .uk-form-icon:not(.uk-form-icon-flip)~.uk-input{padding-left:40px!important}.uk-scope .uk-form-icon-flip{left:auto;right:0}.uk-scope .uk-form-icon-flip~.uk-input{padding-right:40px!important}.uk-scope .uk-spinner>*{animation:uk-spinner-rotate 1.4s linear infinite}@keyframes uk-spinner-rotate{0%{transform:rotate(0deg)}to{transform:rotate(270deg)}}.uk-scope .uk-spinner>*>*{stroke-dasharray:88px;stroke-dashoffset:0;stroke-width:1;stroke-linecap:round;animation:uk-spinner-dash 1.4s ease-in-out infinite;transform-origin:center}@keyframes uk-spinner-dash{0%{stroke-dashoffset:88px}50%{stroke-dashoffset:22px;transform:rotate(135deg)}to{stroke-dashoffset:88px;transform:rotate(450deg)}}.uk-scope .uk-drop{--uk-position-offset:20px;--uk-position-viewport-offset:15px;box-sizing:border-box;display:none;position:absolute;width:300px;z-index:1020}.uk-scope .uk-drop.uk-open{display:block}.uk-scope .uk-drop-stack .uk-drop-grid>*{width:100%!important}.uk-scope .uk-drop-parent-icon{margin-left:.25em;transition:transform .3s ease-out}.uk-scope [aria-expanded=true]>.uk-drop-parent-icon{transform:rotateX(180deg)}.uk-scope .uk-dropdown{--uk-position-offset:10px;--uk-position-viewport-offset:15px;--uk-inverse:dark;background:#fff;box-shadow:0 5px 12px rgba(0,0,0,.15);color:#666;min-width:200px;padding:15px;width:auto}.uk-scope .uk-dropdown>:last-child{margin-bottom:0}.uk-scope .uk-dropdown :focus-visible{outline-color:#333!important}.uk-scope .uk-dropdown-large{padding:40px}.uk-scope .uk-dropdown-dropbar{--uk-position-offset:10px;--uk-position-viewport-offset:15px;background:transparent;box-shadow:none;padding:5px 0 15px;width:auto}@media (min-width:640px){.uk-scope .uk-dropdown-dropbar{--uk-position-viewport-offset:30px}}@media (min-width:960px){.uk-scope .uk-dropdown-dropbar{--uk-position-viewport-offset:40px}}.uk-scope .uk-dropdown-dropbar-large{padding-bottom:40px;padding-top:40px}.uk-scope .uk-dropdown-nav{font-size:.875rem}.uk-scope .uk-dropdown-nav>li>a{color:#999}.uk-scope .uk-dropdown-nav>li.uk-active>a,.uk-scope .uk-dropdown-nav>li>a:hover{color:#666}.uk-scope .uk-dropdown-nav .uk-nav-subtitle{font-size:12px}.uk-scope .uk-dropdown-nav .uk-nav-header{color:#333}.uk-scope .uk-dropdown-nav .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-scope .uk-dropdown-nav .uk-nav-sub a{color:#999}.uk-scope .uk-dropdown-nav .uk-nav-sub a:hover,.uk-scope .uk-dropdown-nav .uk-nav-sub li.uk-active>a{color:#666}.uk-scope .uk-nav,.uk-scope .uk-nav ul{list-style:none;margin:0;padding:0}.uk-scope .uk-nav li>a{align-items:center;column-gap:.25em;display:flex;text-decoration:none}.uk-scope .uk-nav>li>a{padding:5px 0}.uk-scope ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-scope .uk-nav-sub ul{padding-left:15px}.uk-scope .uk-nav-sub a{padding:2px 0}.uk-scope .uk-nav-parent-icon{margin-left:auto;transition:transform .3s ease-out}.uk-scope .uk-nav>li.uk-open>a .uk-nav-parent-icon{transform:rotateX(180deg)}.uk-scope .uk-nav-header{font-size:.875rem;padding:5px 0;text-transform:uppercase}.uk-scope .uk-nav-header:not(:first-child){margin-top:20px}.uk-scope .uk-nav .uk-nav-divider{margin:5px 0}.uk-scope .uk-nav-default{font-size:.875rem;line-height:1.5}.uk-scope .uk-nav-default>li>a{color:#999}.uk-scope .uk-nav-default>li>a:hover{color:#666}.uk-scope .uk-nav-default>li.uk-active>a{color:#333}.uk-scope .uk-nav-default .uk-nav-subtitle{font-size:12px}.uk-scope .uk-nav-default .uk-nav-header{color:#333}.uk-scope .uk-nav-default .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-scope .uk-nav-default .uk-nav-sub{font-size:.875rem;line-height:1.5}.uk-scope .uk-nav-default .uk-nav-sub a{color:#999}.uk-scope .uk-nav-default .uk-nav-sub a:hover{color:#666}.uk-scope .uk-nav-default .uk-nav-sub li.uk-active>a{color:#333}.uk-scope .uk-nav-primary{font-size:1.5rem;line-height:1.5}.uk-scope .uk-nav-primary>li>a{color:#999}.uk-scope .uk-nav-primary>li>a:hover{color:#666}.uk-scope .uk-nav-primary>li.uk-active>a{color:#333}.uk-scope .uk-nav-primary .uk-nav-subtitle{font-size:1.25rem}.uk-scope .uk-nav-primary .uk-nav-header{color:#333}.uk-scope .uk-nav-primary .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-scope .uk-nav-primary .uk-nav-sub{font-size:1.25rem;line-height:1.5}.uk-scope .uk-nav-primary .uk-nav-sub a{color:#999}.uk-scope .uk-nav-primary .uk-nav-sub a:hover{color:#666}.uk-scope .uk-nav-primary .uk-nav-sub li.uk-active>a{color:#333}.uk-scope .uk-nav-secondary{font-size:16px;line-height:1.5}.uk-scope .uk-nav-secondary>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider){margin-top:0}.uk-scope .uk-nav-secondary>li>a{color:#333;padding:10px}.uk-scope .uk-nav-secondary>li.uk-active>a,.uk-scope .uk-nav-secondary>li>a:hover{background-color:#f8f8f8;color:#333}.uk-scope .uk-nav-secondary .uk-nav-subtitle{color:#999;font-size:.875rem}.uk-scope .uk-nav-secondary>li>a:hover .uk-nav-subtitle{color:#666}.uk-scope .uk-nav-secondary .uk-nav-header,.uk-scope .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle{color:#333}.uk-scope .uk-nav-secondary .uk-nav-divider{border-top:1px solid #e5e5e5}.uk-scope .uk-nav-secondary .uk-nav-sub{font-size:.875rem;line-height:1.5}.uk-scope .uk-nav-secondary .uk-nav-sub a{color:#999}.uk-scope .uk-nav-secondary .uk-nav-sub a:hover{color:#666}.uk-scope .uk-nav-secondary .uk-nav-sub li.uk-active>a{color:#333}.uk-scope .uk-nav-medium{font-size:2.8875rem;line-height:1}.uk-scope .uk-nav-large{font-size:3.4rem;line-height:1}.uk-scope .uk-nav-xlarge{font-size:4rem;line-height:1}@media (min-width:960px){.uk-scope .uk-nav-medium{font-size:3.5rem}.uk-scope .uk-nav-large{font-size:4rem}.uk-scope .uk-nav-xlarge{font-size:6rem}}@media (min-width:1200px){.uk-scope .uk-nav-medium{font-size:4rem}.uk-scope .uk-nav-large{font-size:6rem}.uk-scope .uk-nav-xlarge{font-size:8rem}}.uk-scope .uk-nav-center{text-align:center}.uk-scope .uk-nav-center li>a{justify-content:center}.uk-scope .uk-nav-center .uk-nav-sub,.uk-scope .uk-nav-center .uk-nav-sub ul{padding-left:0}.uk-scope .uk-nav-center .uk-nav-parent-icon{margin-left:.25em}.uk-scope .uk-nav.uk-nav-divider>:not(.uk-nav-header,.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider){border-top:1px solid #e5e5e5;margin-top:5px;padding-top:5px}.uk-scope .uk-panel{box-sizing:border-box;display:flow-root;position:relative}.uk-scope .uk-panel>:last-child{margin-bottom:0}.uk-scope .uk-panel-scrollable{border:1px solid #e5e5e5;height:170px;overflow:auto;padding:10px;resize:both}.uk-scope .uk-clearfix:before{content:"";display:table-cell}.uk-scope .uk-clearfix:after{clear:both;content:"";display:table}.uk-scope .uk-float-left{float:left}.uk-scope .uk-float-right{float:right}.uk-scope [class*=uk-float-]{max-width:100%}.uk-scope .uk-overflow-hidden{overflow:hidden}.uk-scope .uk-overflow-auto{overflow:auto}.uk-scope .uk-overflow-auto>:last-child{margin-bottom:0}.uk-scope .uk-box-sizing-content{box-sizing:content-box}.uk-scope .uk-box-sizing-border{box-sizing:border-box}.uk-scope .uk-resize{resize:both}.uk-scope .uk-resize-horizontal{resize:horizontal}.uk-scope .uk-resize-vertical{resize:vertical}.uk-scope .uk-display-block{display:block!important}.uk-scope .uk-display-inline{display:inline!important}.uk-scope .uk-display-inline-block{display:inline-block!important}.uk-scope [class*=uk-inline]{-webkit-backface-visibility:hidden;display:inline-block;max-width:100%;position:relative;vertical-align:middle}.uk-scope .uk-inline-clip{overflow:hidden}.uk-scope .uk-preserve-width,.uk-scope .uk-preserve-width canvas,.uk-scope .uk-preserve-width img,.uk-scope .uk-preserve-width svg,.uk-scope .uk-preserve-width video{max-width:none}.uk-scope .uk-responsive-height,.uk-scope .uk-responsive-width{box-sizing:border-box}.uk-scope .uk-responsive-width{height:auto;max-width:100%!important}.uk-scope .uk-responsive-height{max-height:100%;max-width:none;width:auto}.uk-scope [data-uk-responsive],.uk-scope [uk-responsive]{max-width:100%}.uk-scope .uk-object-cover{object-fit:cover}.uk-scope .uk-object-contain{object-fit:contain}.uk-scope .uk-object-fill{object-fit:fill}.uk-scope .uk-object-none{object-fit:none}.uk-scope .uk-object-scale-down{object-fit:scale-down}.uk-scope .uk-object-top-left{object-position:0 0}.uk-scope .uk-object-top-center{object-position:50% 0}.uk-scope .uk-object-top-right{object-position:100% 0}.uk-scope .uk-object-center-left{object-position:0 50%}.uk-scope .uk-object-center-center{object-position:50% 50%}.uk-scope .uk-object-center-right{object-position:100% 50%}.uk-scope .uk-object-bottom-left{object-position:0 100%}.uk-scope .uk-object-bottom-center{object-position:50% 100%}.uk-scope .uk-object-bottom-right{object-position:100% 100%}.uk-scope .uk-border-circle{border-radius:50%}.uk-scope .uk-border-pill{border-radius:500px}.uk-scope .uk-border-rounded{border-radius:5px}.uk-scope .uk-inline-clip[class*=uk-border-]{-webkit-transform:translateZ(0)}.uk-scope .uk-box-shadow-small{box-shadow:0 2px 8px rgba(0,0,0,.08)}.uk-scope .uk-box-shadow-medium{box-shadow:0 5px 15px rgba(0,0,0,.08)}.uk-scope .uk-box-shadow-large{box-shadow:0 14px 25px rgba(0,0,0,.16)}.uk-scope .uk-box-shadow-xlarge{box-shadow:0 28px 50px rgba(0,0,0,.16)}.uk-scope [class*=uk-box-shadow-hover]{transition:box-shadow .1s ease-in-out}.uk-scope .uk-box-shadow-hover-small:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.uk-scope .uk-box-shadow-hover-medium:hover{box-shadow:0 5px 15px rgba(0,0,0,.08)}.uk-scope .uk-box-shadow-hover-large:hover{box-shadow:0 14px 25px rgba(0,0,0,.16)}.uk-scope .uk-box-shadow-hover-xlarge:hover{box-shadow:0 28px 50px rgba(0,0,0,.16)}@supports (filter:blur(0)){.uk-scope .uk-box-shadow-bottom{display:inline-block;max-width:100%;position:relative;vertical-align:middle;z-index:0}.uk-scope .uk-box-shadow-bottom:after{background:#444;border-radius:100%;bottom:-30px;content:"";filter:blur(20px);height:30px;left:0;position:absolute;right:0;will-change:filter;z-index:-1}}.uk-scope .uk-dropcap:first-letter,.uk-scope .uk-dropcap>p:first-of-type:first-letter{display:block;float:left;font-size:4.5em;line-height:1;margin-right:10px}@-moz-document url-prefix(){.uk-scope .uk-dropcap:first-letter,.uk-scope .uk-dropcap>p:first-of-type:first-letter{margin-top:1.1%}}.uk-scope .uk-logo{color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1.5rem;text-decoration:none}.uk-scope :where(.uk-logo){display:inline-block;vertical-align:middle}.uk-scope .uk-logo:hover{color:#333;text-decoration:none}.uk-scope .uk-logo :where(img,svg,video){display:block}.uk-scope .uk-logo-inverse{display:none}.uk-scope .uk-disabled{pointer-events:none}.uk-scope .uk-drag,.uk-scope .uk-drag *{cursor:move}.uk-scope .uk-drag iframe{pointer-events:none}.uk-scope .uk-dragover{box-shadow:0 0 20px hsla(0,0%,39%,.3)}.uk-scope .uk-blend-multiply{mix-blend-mode:multiply}.uk-scope .uk-blend-screen{mix-blend-mode:screen}.uk-scope .uk-blend-overlay{mix-blend-mode:overlay}.uk-scope .uk-blend-darken{mix-blend-mode:darken}.uk-scope .uk-blend-lighten{mix-blend-mode:lighten}.uk-scope .uk-blend-color-dodge{mix-blend-mode:color-dodge}.uk-scope .uk-blend-color-burn{mix-blend-mode:color-burn}.uk-scope .uk-blend-hard-light{mix-blend-mode:hard-light}.uk-scope .uk-blend-soft-light{mix-blend-mode:soft-light}.uk-scope .uk-blend-difference{mix-blend-mode:difference}.uk-scope .uk-blend-exclusion{mix-blend-mode:exclusion}.uk-scope .uk-blend-hue{mix-blend-mode:hue}.uk-scope .uk-blend-saturation{mix-blend-mode:saturation}.uk-scope .uk-blend-color{mix-blend-mode:color}.uk-scope .uk-blend-luminosity{mix-blend-mode:luminosity}.uk-scope .uk-transform-center{transform:translate(-50%,-50%)}.uk-scope .uk-transform-origin-top-left{transform-origin:0 0}.uk-scope .uk-transform-origin-top-center{transform-origin:50% 0}.uk-scope .uk-transform-origin-top-right{transform-origin:100% 0}.uk-scope .uk-transform-origin-center-left{transform-origin:0 50%}.uk-scope .uk-transform-origin-center-right{transform-origin:100% 50%}.uk-scope .uk-transform-origin-bottom-left{transform-origin:0 100%}.uk-scope .uk-transform-origin-bottom-center{transform-origin:50% 100%}.uk-scope .uk-transform-origin-bottom-right{transform-origin:100% 100%}.uk-scope .uk-margin{margin-bottom:20px}.uk-scope *+.uk-margin,.uk-scope .uk-margin-top{margin-top:20px!important}.uk-scope .uk-margin-bottom{margin-bottom:20px!important}.uk-scope .uk-margin-left{margin-left:20px!important}.uk-scope .uk-margin-right{margin-right:20px!important}.uk-scope .uk-margin-xsmall{margin-bottom:5px}.uk-scope *+.uk-margin-xsmall,.uk-scope .uk-margin-xsmall-top{margin-top:5px!important}.uk-scope .uk-margin-xsmall-bottom{margin-bottom:5px!important}.uk-scope .uk-margin-xsmall-left{margin-left:5px!important}.uk-scope .uk-margin-xsmall-right{margin-right:5px!important}.uk-scope .uk-margin-small{margin-bottom:10px}.uk-scope *+.uk-margin-small,.uk-scope .uk-margin-small-top{margin-top:10px!important}.uk-scope .uk-margin-small-bottom{margin-bottom:10px!important}.uk-scope .uk-margin-small-left{margin-left:10px!important}.uk-scope .uk-margin-small-right{margin-right:10px!important}.uk-scope .uk-margin-medium{margin-bottom:40px}.uk-scope *+.uk-margin-medium,.uk-scope .uk-margin-medium-top{margin-top:40px!important}.uk-scope .uk-margin-medium-bottom{margin-bottom:40px!important}.uk-scope .uk-margin-medium-left{margin-left:40px!important}.uk-scope .uk-margin-medium-right{margin-right:40px!important}.uk-scope .uk-margin-large{margin-bottom:40px}.uk-scope *+.uk-margin-large,.uk-scope .uk-margin-large-top{margin-top:40px!important}.uk-scope .uk-margin-large-bottom{margin-bottom:40px!important}.uk-scope .uk-margin-large-left{margin-left:40px!important}.uk-scope .uk-margin-large-right{margin-right:40px!important}@media (min-width:1200px){.uk-scope .uk-margin-large{margin-bottom:70px}.uk-scope *+.uk-margin-large,.uk-scope .uk-margin-large-top{margin-top:70px!important}.uk-scope .uk-margin-large-bottom{margin-bottom:70px!important}.uk-scope .uk-margin-large-left{margin-left:70px!important}.uk-scope .uk-margin-large-right{margin-right:70px!important}}.uk-scope .uk-margin-xlarge{margin-bottom:70px}.uk-scope *+.uk-margin-xlarge,.uk-scope .uk-margin-xlarge-top{margin-top:70px!important}.uk-scope .uk-margin-xlarge-bottom{margin-bottom:70px!important}.uk-scope .uk-margin-xlarge-left{margin-left:70px!important}.uk-scope .uk-margin-xlarge-right{margin-right:70px!important}@media (min-width:1200px){.uk-scope .uk-margin-xlarge{margin-bottom:140px}.uk-scope *+.uk-margin-xlarge,.uk-scope .uk-margin-xlarge-top{margin-top:140px!important}.uk-scope .uk-margin-xlarge-bottom{margin-bottom:140px!important}.uk-scope .uk-margin-xlarge-left{margin-left:140px!important}.uk-scope .uk-margin-xlarge-right{margin-right:140px!important}}.uk-scope .uk-margin-auto{margin-left:auto!important;margin-right:auto!important}.uk-scope .uk-margin-auto-top{margin-top:auto!important}.uk-scope .uk-margin-auto-bottom{margin-bottom:auto!important}.uk-scope .uk-margin-auto-left{margin-left:auto!important}.uk-scope .uk-margin-auto-right{margin-right:auto!important}.uk-scope .uk-margin-auto-vertical{margin-bottom:auto!important;margin-top:auto!important}@media (min-width:640px){.uk-scope .uk-margin-auto\\@s{margin-left:auto!important;margin-right:auto!important}.uk-scope .uk-margin-auto-left\\@s{margin-left:auto!important}.uk-scope .uk-margin-auto-right\\@s{margin-right:auto!important}}@media (min-width:960px){.uk-scope .uk-margin-auto\\@m{margin-left:auto!important;margin-right:auto!important}.uk-scope .uk-margin-auto-left\\@m{margin-left:auto!important}.uk-scope .uk-margin-auto-right\\@m{margin-right:auto!important}}@media (min-width:1200px){.uk-scope .uk-margin-auto\\@l{margin-left:auto!important;margin-right:auto!important}.uk-scope .uk-margin-auto-left\\@l{margin-left:auto!important}.uk-scope .uk-margin-auto-right\\@l{margin-right:auto!important}}@media (min-width:1600px){.uk-scope .uk-margin-auto\\@xl{margin-left:auto!important;margin-right:auto!important}.uk-scope .uk-margin-auto-left\\@xl{margin-left:auto!important}.uk-scope .uk-margin-auto-right\\@xl{margin-right:auto!important}}.uk-scope .uk-margin-remove{margin:0!important}.uk-scope .uk-margin-remove-top{margin-top:0!important}.uk-scope .uk-margin-remove-bottom{margin-bottom:0!important}.uk-scope .uk-margin-remove-left{margin-left:0!important}.uk-scope .uk-margin-remove-right{margin-right:0!important}.uk-scope .uk-margin-remove-vertical{margin-bottom:0!important;margin-top:0!important}.uk-scope .uk-margin-remove-adjacent+*,.uk-scope .uk-margin-remove-first-child>:first-child{margin-top:0!important}.uk-scope .uk-margin-remove-last-child>:last-child{margin-bottom:0!important}@media (min-width:640px){.uk-scope .uk-margin-remove-left\\@s{margin-left:0!important}.uk-scope .uk-margin-remove-right\\@s{margin-right:0!important}}@media (min-width:960px){.uk-scope .uk-margin-remove-left\\@m{margin-left:0!important}.uk-scope .uk-margin-remove-right\\@m{margin-right:0!important}}@media (min-width:1200px){.uk-scope .uk-margin-remove-left\\@l{margin-left:0!important}.uk-scope .uk-margin-remove-right\\@l{margin-right:0!important}}@media (min-width:1600px){.uk-scope .uk-margin-remove-left\\@xl{margin-left:0!important}.uk-scope .uk-margin-remove-right\\@xl{margin-right:0!important}}.uk-scope .uk-light{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-link,.uk-scope .uk-light .uk-link-toggle:hover .uk-link,.uk-scope .uk-light .uk-link:hover,.uk-scope .uk-light a,.uk-scope .uk-light a:hover{color:#fff}.uk-scope .uk-light :not(pre)>code,.uk-scope .uk-light :not(pre)>kbd,.uk-scope .uk-light :not(pre)>samp{background-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-h1,.uk-scope .uk-light .uk-h2,.uk-scope .uk-light .uk-h3,.uk-scope .uk-light .uk-h4,.uk-scope .uk-light .uk-h5,.uk-scope .uk-light .uk-h6,.uk-scope .uk-light .uk-heading-2xlarge,.uk-scope .uk-light .uk-heading-3xlarge,.uk-scope .uk-light .uk-heading-large,.uk-scope .uk-light .uk-heading-medium,.uk-scope .uk-light .uk-heading-small,.uk-scope .uk-light .uk-heading-xlarge,.uk-scope .uk-light blockquote,.uk-scope .uk-light em,.uk-scope .uk-light h1,.uk-scope .uk-light h2,.uk-scope .uk-light h3,.uk-scope .uk-light h4,.uk-scope .uk-light h5,.uk-scope .uk-light h6{color:#fff}.uk-scope .uk-light blockquote footer{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-hr,.uk-scope .uk-light hr{border-top-color:hsla(0,0%,100%,.2)}.uk-scope .uk-light :focus-visible{outline-color:#fff}.uk-scope .uk-light .uk-icon-link{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-active>.uk-icon-link,.uk-scope .uk-light .uk-icon-link:active,.uk-scope .uk-light .uk-icon-link:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-icon-button{background-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-icon-button:hover{background-color:hsla(0,0%,100%,.15);color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-icon-button:active{background-color:hsla(0,0%,100%,.2);color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-input,.uk-scope .uk-light .uk-select,.uk-scope .uk-light .uk-textarea{background-clip:padding-box;background-color:hsla(0,0%,100%,.1);border-color:hsla(0,0%,100%,.2);color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-input:focus,.uk-scope .uk-light .uk-select:focus,.uk-scope .uk-light .uk-textarea:focus{background-color:hsla(0,0%,100%,.15);border-color:hsla(0,0%,100%,.7);color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-input::placeholder{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-textarea::placeholder{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-select:not([multiple]):not([size]){background-image:url(../../images/backgrounds/form-select.svg)}.uk-scope .uk-light .uk-input[list]:focus,.uk-scope .uk-light .uk-input[list]:hover{background-image:url(../../images/backgrounds/form-datalist.svg)}.uk-scope .uk-light .uk-checkbox,.uk-scope .uk-light .uk-radio{background-color:hsla(0,0%,100%,.1);border-color:hsla(0,0%,100%,.2)}.uk-scope .uk-light .uk-checkbox:focus,.uk-scope .uk-light .uk-radio:focus{background-color:hsla(0,0%,100%,.15);border-color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-checkbox:checked,.uk-scope .uk-light .uk-checkbox:indeterminate,.uk-scope .uk-light .uk-radio:checked{background-color:#fff;border-color:#fff}.uk-scope .uk-light .uk-checkbox:checked:focus,.uk-scope .uk-light .uk-checkbox:indeterminate:focus,.uk-scope .uk-light .uk-radio:checked:focus{background-color:#fff}.uk-scope .uk-light .uk-radio:checked{background-image:url(../../images/backgrounds/form-radio.svg)}.uk-scope .uk-light .uk-checkbox:checked{background-image:url(../../images/backgrounds/form-checkbox.svg)}.uk-scope .uk-light .uk-checkbox:indeterminate{background-image:url(../../images/backgrounds/form-checkbox-indeterminate.svg)}.uk-scope .uk-light .uk-form-label{color:#fff}.uk-scope .uk-light .uk-form-icon{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-form-icon:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-default>li>a{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-nav-default>li>a:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-default .uk-nav-header,.uk-scope .uk-light .uk-nav-default>li.uk-active>a{color:#fff}.uk-scope .uk-light .uk-nav-default .uk-nav-divider{border-top-color:hsla(0,0%,100%,.2)}.uk-scope .uk-light .uk-nav-default .uk-nav-sub a{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-nav-default .uk-nav-sub a:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-default .uk-nav-sub li.uk-active>a{color:#fff}.uk-scope .uk-light .uk-nav-primary>li>a{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-nav-primary>li>a:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-primary .uk-nav-header,.uk-scope .uk-light .uk-nav-primary>li.uk-active>a{color:#fff}.uk-scope .uk-light .uk-nav-primary .uk-nav-divider{border-top-color:hsla(0,0%,100%,.2)}.uk-scope .uk-light .uk-nav-primary .uk-nav-sub a{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-nav-primary .uk-nav-sub a:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-primary .uk-nav-sub li.uk-active>a,.uk-scope .uk-light .uk-nav-secondary>li>a{color:#fff}.uk-scope .uk-light .uk-nav-secondary>li.uk-active>a,.uk-scope .uk-light .uk-nav-secondary>li>a:hover{background-color:hsla(0,0%,100%,.1);color:#fff}.uk-scope .uk-light .uk-nav-secondary .uk-nav-subtitle{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-nav-secondary>li>a:hover .uk-nav-subtitle{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-secondary .uk-nav-header,.uk-scope .uk-light .uk-nav-secondary>li.uk-active>a .uk-nav-subtitle{color:#fff}.uk-scope .uk-light .uk-nav-secondary .uk-nav-divider{border-top-color:hsla(0,0%,100%,.2)}.uk-scope .uk-light .uk-nav-secondary .uk-nav-sub a{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-nav-secondary .uk-nav-sub a:hover{color:hsla(0,0%,100%,.7)}.uk-scope .uk-light .uk-nav-secondary .uk-nav-sub li.uk-active>a{color:#fff}.uk-scope .uk-light .uk-nav.uk-nav-divider>:not(.uk-nav-divider)+:not(.uk-nav-header,.uk-nav-divider){border-top-color:hsla(0,0%,100%,.2)}.uk-scope .uk-light .uk-logo,.uk-scope .uk-light .uk-logo:hover{color:#fff}.uk-scope .uk-light .uk-logo:has(.uk-logo-inverse)>:not(picture:has(.uk-logo-inverse)):not(.uk-logo-inverse){display:none}.uk-scope .uk-light .uk-logo-inverse{display:block}.uk-scope .uk-light .uk-iconnav>*>a{color:hsla(0,0%,100%,.5)}.uk-scope .uk-light .uk-iconnav>*>a:hover,.uk-scope .uk-light .uk-iconnav>.uk-active>a{color:hsla(0,0%,100%,.7)}.uk-scope *{--uk-inverse:initial}.uk-scope .uk-light{--uk-inverse:light}.uk-scope .uk-dark,.uk-scope .uk-scope .uk-dropdown{--uk-inverse:dark}.uk-scope .uk-inverse-light{--uk-inverse:light!important}.uk-scope .uk-inverse-dark{--uk-inverse:dark!important}.uk-scope .uk-iconnav{display:flex;flex-wrap:wrap;list-style:none;margin:0 0 0 -10px;padding:0}.uk-scope .uk-iconnav>*{padding-left:10px}.uk-scope .uk-iconnav>*>a{align-items:center;color:#999;column-gap:.25em;display:flex;line-height:0;text-decoration:none}.uk-scope .uk-iconnav>*>a:hover,.uk-scope .uk-iconnav>.uk-active>a{color:#666}.uk-scope .uk-iconnav-vertical{flex-direction:column;margin-left:0;margin-top:-10px}.uk-scope .uk-iconnav-vertical>*{padding-left:0;padding-top:10px}.uk-scope .uk-flex{display:flex}.uk-scope .uk-flex-inline{display:inline-flex}.uk-scope .uk-flex-left{justify-content:flex-start}.uk-scope .uk-flex-center{justify-content:center}.uk-scope .uk-flex-right{justify-content:flex-end}.uk-scope .uk-flex-between{justify-content:space-between}.uk-scope .uk-flex-around{justify-content:space-around}@media (min-width:640px){.uk-scope .uk-flex-left\\@s{justify-content:flex-start}.uk-scope .uk-flex-center\\@s{justify-content:center}.uk-scope .uk-flex-right\\@s{justify-content:flex-end}.uk-scope .uk-flex-between\\@s{justify-content:space-between}.uk-scope .uk-flex-around\\@s{justify-content:space-around}}@media (min-width:960px){.uk-scope .uk-flex-left\\@m{justify-content:flex-start}.uk-scope .uk-flex-center\\@m{justify-content:center}.uk-scope .uk-flex-right\\@m{justify-content:flex-end}.uk-scope .uk-flex-between\\@m{justify-content:space-between}.uk-scope .uk-flex-around\\@m{justify-content:space-around}}@media (min-width:1200px){.uk-scope .uk-flex-left\\@l{justify-content:flex-start}.uk-scope .uk-flex-center\\@l{justify-content:center}.uk-scope .uk-flex-right\\@l{justify-content:flex-end}.uk-scope .uk-flex-between\\@l{justify-content:space-between}.uk-scope .uk-flex-around\\@l{justify-content:space-around}}@media (min-width:1600px){.uk-scope .uk-flex-left\\@xl{justify-content:flex-start}.uk-scope .uk-flex-center\\@xl{justify-content:center}.uk-scope .uk-flex-right\\@xl{justify-content:flex-end}.uk-scope .uk-flex-between\\@xl{justify-content:space-between}.uk-scope .uk-flex-around\\@xl{justify-content:space-around}}.uk-scope .uk-flex-stretch{align-items:stretch}.uk-scope .uk-flex-top{align-items:flex-start}.uk-scope .uk-flex-middle{align-items:center}.uk-scope .uk-flex-bottom{align-items:flex-end}@media (min-width:640px){.uk-scope .uk-flex-stretch\\@s{align-items:stretch}.uk-scope .uk-flex-top\\@s{align-items:flex-start}.uk-scope .uk-flex-middle\\@s{align-items:center}.uk-scope .uk-flex-bottom\\@s{align-items:flex-end}}@media (min-width:960px){.uk-scope .uk-flex-stretch\\@m{align-items:stretch}.uk-scope .uk-flex-top\\@m{align-items:flex-start}.uk-scope .uk-flex-middle\\@m{align-items:center}.uk-scope .uk-flex-bottom\\@m{align-items:flex-end}}@media (min-width:1200px){.uk-scope .uk-flex-stretch\\@l{align-items:stretch}.uk-scope .uk-flex-top\\@l{align-items:flex-start}.uk-scope .uk-flex-middle\\@l{align-items:center}.uk-scope .uk-flex-bottom\\@l{align-items:flex-end}}@media (min-width:1600px){.uk-scope .uk-flex-stretch\\@xl{align-items:stretch}.uk-scope .uk-flex-top\\@xl{align-items:flex-start}.uk-scope .uk-flex-middle\\@xl{align-items:center}.uk-scope .uk-flex-bottom\\@xl{align-items:flex-end}}.uk-scope .uk-flex-row{flex-direction:row}.uk-scope .uk-flex-row-reverse{flex-direction:row-reverse}.uk-scope .uk-flex-column{flex-direction:column}.uk-scope .uk-flex-column-reverse{flex-direction:column-reverse}@media (min-width:640px){.uk-scope .uk-flex-row\\@s{flex-direction:row}.uk-scope .uk-flex-column\\@s{flex-direction:column}}@media (min-width:960px){.uk-scope .uk-flex-row\\@m{flex-direction:row}.uk-scope .uk-flex-column\\@m{flex-direction:column}}@media (min-width:1200px){.uk-scope .uk-flex-row\\@l{flex-direction:row}.uk-scope .uk-flex-column\\@l{flex-direction:column}}@media (min-width:1600px){.uk-scope .uk-flex-row\\@xl{flex-direction:row}.uk-scope .uk-flex-column\\@xl{flex-direction:column}}.uk-scope .uk-flex-nowrap{flex-wrap:nowrap}.uk-scope .uk-flex-wrap{flex-wrap:wrap}.uk-scope .uk-flex-wrap-reverse{flex-wrap:wrap-reverse}.uk-scope .uk-flex-wrap-stretch{align-content:stretch}.uk-scope .uk-flex-wrap-top{align-content:flex-start}.uk-scope .uk-flex-wrap-middle{align-content:center}.uk-scope .uk-flex-wrap-bottom{align-content:flex-end}.uk-scope .uk-flex-wrap-between{align-content:space-between}.uk-scope .uk-flex-wrap-around{align-content:space-around}.uk-scope .uk-flex-first{order:-1}.uk-scope .uk-flex-last{order:99}@media (min-width:640px){.uk-scope .uk-flex-first\\@s{order:-1}.uk-scope .uk-flex-last\\@s{order:99}}@media (min-width:960px){.uk-scope .uk-flex-first\\@m{order:-1}.uk-scope .uk-flex-last\\@m{order:99}}@media (min-width:1200px){.uk-scope .uk-flex-first\\@l{order:-1}.uk-scope .uk-flex-last\\@l{order:99}}@media (min-width:1600px){.uk-scope .uk-flex-first\\@xl{order:-1}.uk-scope .uk-flex-last\\@xl{order:99}}.uk-scope .uk-flex-initial{flex:initial}.uk-scope .uk-flex-none{flex:none}.uk-scope .uk-flex-auto{flex:auto}.uk-scope .uk-flex-1{flex:1}@media (min-width:640px){.uk-scope .uk-flex-initial\\@s{flex:initial}.uk-scope .uk-flex-none\\@s{flex:none}.uk-scope .uk-flex-1\\@s{flex:1}}@media (min-width:960px){.uk-scope .uk-flex-initial\\@m{flex:initial}.uk-scope .uk-flex-none\\@m{flex:none}.uk-scope .uk-flex-1\\@m{flex:1}}@media (min-width:1200px){.uk-scope .uk-flex-initial\\@l{flex:initial}.uk-scope .uk-flex-none\\@l{flex:none}.uk-scope .uk-flex-1\\@l{flex:1}}@media (min-width:1600px){.uk-scope .uk-flex-initial\\@xl{flex:initial}.uk-scope .uk-flex-none\\@xl{flex:none}.uk-scope .uk-flex-1\\@xl{flex:1}}.uk-scope :root{--uk-position-margin-offset:0px}.uk-scope [class*=uk-position-bottom],.uk-scope [class*=uk-position-center],.uk-scope [class*=uk-position-left],.uk-scope [class*=uk-position-right],.uk-scope [class*=uk-position-top]{box-sizing:border-box;max-width:calc(100% - var(--uk-position-margin-offset)*2);position:absolute!important}.uk-scope .uk-position-top{left:0;right:0;top:0}.uk-scope .uk-position-bottom{bottom:0;left:0;right:0}.uk-scope .uk-position-left{bottom:0;left:0;top:0}.uk-scope .uk-position-right{bottom:0;right:0;top:0}.uk-scope .uk-position-top-left{left:0;top:0}.uk-scope .uk-position-top-right{right:0;top:0}.uk-scope .uk-position-bottom-left{bottom:0;left:0}.uk-scope .uk-position-bottom-right{bottom:0;right:0}.uk-scope .uk-position-center{--uk-position-translate-x:-50%;--uk-position-translate-y:-50%;left:calc(50% - var(--uk-position-margin-offset));top:calc(50% - var(--uk-position-margin-offset));transform:translate(var(--uk-position-translate-x),var(--uk-position-translate-y));width:max-content}.uk-scope .uk-position-center-vertical,.uk-scope [class*=uk-position-center-left],.uk-scope [class*=uk-position-center-right]{--uk-position-translate-y:-50%;top:calc(50% - var(--uk-position-margin-offset));transform:translateY(var(--uk-position-translate-y))}.uk-scope .uk-position-center-left{left:0}.uk-scope .uk-position-center-right{right:0}.uk-scope .uk-position-center-vertical{left:0;right:0}.uk-scope .uk-position-center-left-out{right:100%;width:max-content}.uk-scope .uk-position-center-right-out{left:100%;width:max-content}.uk-scope .uk-position-bottom-center,.uk-scope .uk-position-center-horizontal,.uk-scope .uk-position-top-center{--uk-position-translate-x:-50%;left:calc(50% - var(--uk-position-margin-offset));transform:translate(var(--uk-position-translate-x));width:max-content}.uk-scope .uk-position-top-center{top:0}.uk-scope .uk-position-bottom-center{bottom:0}.uk-scope .uk-position-center-horizontal{bottom:0;top:0}.uk-scope .uk-position-cover{bottom:0;left:0;position:absolute;right:0;top:0}.uk-scope .uk-position-small{--uk-position-margin-offset:15px;margin:15px}.uk-scope .uk-position-large,.uk-scope .uk-position-medium{--uk-position-margin-offset:30px;margin:30px}@media (min-width:1200px){.uk-scope .uk-position-large{--uk-position-margin-offset:50px;margin:50px}}.uk-scope .uk-position-relative{position:relative!important}.uk-scope .uk-position-absolute{position:absolute!important}.uk-scope .uk-position-fixed{position:fixed!important}.uk-scope .uk-position-sticky{position:sticky!important}.uk-scope .uk-position-z-index{z-index:1}.uk-scope .uk-position-z-index-zero{z-index:0}.uk-scope .uk-position-z-index-negative{z-index:-1}.uk-scope .uk-position-z-index-high{z-index:990}';cg(lg),Rt.config||={},Object.assign(Rt.config,Joomla.getOptions("location"));class fg extends HTMLElement{connectedCallback(){setTimeout(pg.bind(this))}}function pg(){const e=this.querySelector("input");new L({el:this.appendChild(document.createElement("div")),data:{value:e.value||void 0},mounted(){for(const t of["icon","spinner"])for(const n of this.$el.querySelectorAll(`[uk-${t}]`))Q[t](n)},render(t){return t(ug,{class:"uk-scope",props:{value:this.value},on:{input:n=>e.value=this.value=n}})}})}customElements.define("yootheme-field-location",fg)})(); location/vendor/assets/leaflet/leaflet/dist/leaflet.js000060400000440140151664164510017130 0ustar00/* @preserve * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={})}(this,function(t){"use strict";function l(t){for(var e,i,n=1,o=arguments.length;n<o;n++)for(e in i=arguments[n])t[e]=i[e];return t}var R=Object.create||function(t){return N.prototype=t,new N};function N(){}function a(t,e){var i,n=Array.prototype.slice;return t.bind?t.bind.apply(t,n.call(arguments,1)):(i=n.call(arguments,2),function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)})}var D=0;function h(t){return"_leaflet_id"in t||(t._leaflet_id=++D),t._leaflet_id}function j(t,e,i){var n,o,s=function(){n=!1,o&&(r.apply(i,o),o=!1)},r=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(s,e),n=!0)};return r}function H(t,e,i){var n=e[1],e=e[0],o=n-e;return t===n&&i?t:((t-e)%o+o)%o+e}function u(){return!1}function i(t,e){return!1===e?t:(e=Math.pow(10,void 0===e?6:e),Math.round(t*e)/e)}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function F(t){return W(t).split(/\s+/)}function c(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?R(t.options):{}),e)t.options[i]=e[i];return t.options}function U(t,e,i){var n,o=[];for(n in t)o.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}var V=/\{ *([\w_ -]+) *\}/g;function q(t,i){return t.replace(V,function(t,e){e=i[e];if(void 0===e)throw new Error("No value provided for variable "+t);return e="function"==typeof e?e(i):e})}var d=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function G(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var K="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function Y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var X=0;function J(t){var e=+new Date,i=Math.max(0,16-(e-X));return X=e+i,window.setTimeout(t,i)}var $=window.requestAnimationFrame||Y("RequestAnimationFrame")||J,Q=window.cancelAnimationFrame||Y("CancelAnimationFrame")||Y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function x(t,e,i){if(!i||$!==J)return $.call(window,a(t,e));t.call(e)}function r(t){t&&Q.call(window,t)}var tt={__proto__:null,extend:l,create:R,bind:a,get lastId(){return D},stamp:h,throttle:j,wrapNum:H,falseFn:u,formatNum:i,trim:W,splitWords:F,setOptions:c,getParamString:U,template:q,isArray:d,indexOf:G,emptyImageUrl:K,requestFn:$,cancelFn:Q,requestAnimFrame:x,cancelAnimFrame:r};function et(){}et.extend=function(t){function e(){c(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,n=e.__super__=this.prototype,o=R(n);for(i in(o.constructor=e).prototype=o,this)Object.prototype.hasOwnProperty.call(this,i)&&"prototype"!==i&&"__super__"!==i&&(e[i]=this[i]);if(t.statics&&l(e,t.statics),t.includes){var s=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){s=d(s)?s:[s];for(var r=0;r<s.length;r++)s[r]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}l.apply(null,[o].concat(t.includes))}return l(o,t),delete o.statics,delete o.includes,o.options&&(o.options=n.options?R(n.options):{},l(o.options,t.options)),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},et.include=function(t){var e=this.prototype.options;return l(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},et.mergeOptions=function(t){return l(this.prototype.options,t),this},et.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var e={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,s=(t=F(t)).length;o<s;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(arguments.length)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=F(t);for(var o=1===arguments.length,s=0,r=t.length;s<r;s++)o?this._off(t[s]):this._off(t[s],e,i)}else delete this._events;return this},_on:function(t,e,i,n){"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1===this._listens(t,e,i)&&(e={fn:e,ctx:i=i===this?void 0:i},n&&(e.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(e))},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t]))if(1===arguments.length){if(this._firingCount)for(o=0,s=n.length;o<s;o++)n[o].fn=u;delete this._events[t]}else"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1!==(e=this._listens(t,e,i))&&(i=n[e],this._firingCount&&(i.fn=u,this._events[t]=n=n.slice()),n.splice(e,1))},fire:function(t,e,i){if(this.listens(t,i)){var n=l({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var o=this._events[t];if(o){this._firingCount=this._firingCount+1||1;for(var s=0,r=o.length;s<r;s++){var a=o[s],h=a.fn;a.once&&this.off(t,h,a.ctx),h.call(a.ctx||this,n)}this._firingCount--}}i&&this._propagateEvent(n)}return this},listens:function(t,e,i,n){"string"!=typeof t&&console.warn('"string" type argument expected');var o=e,s=("function"!=typeof e&&(n=!!e,i=o=void 0),this._events&&this._events[t]);if(s&&s.length&&!1!==this._listens(t,o,i))return!0;if(n)for(var r in this._eventParents)if(this._eventParents[r].listens(t,e,i,n))return!0;return!1},_listens:function(t,e,i){if(this._events){var n=this._events[t]||[];if(!e)return!!n.length;i===this&&(i=void 0);for(var o=0,s=n.length;o<s;o++)if(n[o].fn===e&&n[o].ctx===i)return o}return!1},once:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e,!0);else for(var o=0,s=(t=F(t)).length;o<s;o++)this._on(t[o],e,i,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[h(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[h(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,l({layer:t.target,propagatedFrom:t.target},t),!0)}},it=(e.addEventListener=e.on,e.removeEventListener=e.clearAllEventListeners=e.off,e.addOneTimeEventListener=e.once,e.fireEvent=e.fire,e.hasEventListeners=e.listens,et.extend(e));function p(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var nt=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function m(t,e,i){return t instanceof p?t:d(t)?new p(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new p(t.x,t.y):new p(t,e,i)}function f(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function _(t,e){return!t||t instanceof f?t:new f(t,e)}function s(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function g(t,e){return t instanceof s?t:new s(t,e)}function v(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function w(t,e,i){return t instanceof v?t:d(t)&&"object"!=typeof t[0]?3===t.length?new v(t[0],t[1],t[2]):2===t.length?new v(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new v(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new v(t,e,i)}p.prototype={clone:function(){return new p(this.x,this.y)},add:function(t){return this.clone()._add(m(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(m(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new p(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new p(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=nt(this.x),this.y=nt(this.y),this},distanceTo:function(t){var e=(t=m(t)).x-this.x,t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=m(t)).x===this.x&&t.y===this.y},contains:function(t){return t=m(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+i(this.x)+", "+i(this.y)+")"}},f.prototype={extend:function(t){var e,i;if(t){if(t instanceof p||"number"==typeof t[0]||"x"in t)e=i=m(t);else if(e=(t=_(t)).min,i=t.max,!e||!i)return this;this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(i.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(i.y,this.max.y)):(this.min=e.clone(),this.max=i.clone())}return this},getCenter:function(t){return m((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return m(this.min.x,this.max.y)},getTopRight:function(){return m(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t=("number"==typeof t[0]||t instanceof p?m:_)(t))instanceof f?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=_(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>=e.x&&n.x<=i.x,t=t.y>=e.y&&n.y<=i.y;return o&&t},overlaps:function(t){t=_(t);var e=this.min,i=this.max,n=t.min,t=t.max,o=t.x>e.x&&n.x<i.x,t=t.y>e.y&&n.y<i.y;return o&&t},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,i=this.max,n=Math.abs(e.x-i.x)*t,t=Math.abs(e.y-i.y)*t;return _(m(e.x-n,e.y-t),m(i.x+n,i.y+t))},equals:function(t){return!!t&&(t=_(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},s.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof v)i=e=t;else{if(!(t instanceof s))return t?this.extend(w(t)||g(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new v(e.lat,e.lng),this._northEast=new v(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,t=Math.abs(e.lng-i.lng)*t;return new s(new v(e.lat-n,e.lng-t),new v(i.lat+n,i.lng+t))},getCenter:function(){return new v((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new v(this.getNorth(),this.getWest())},getSouthEast:function(){return new v(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof v||"lat"in t?w:g)(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof s?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>=e.lat&&n.lat<=i.lat,t=t.lng>=e.lng&&n.lng<=i.lng;return o&&t},overlaps:function(t){t=g(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),t=t.getNorthEast(),o=t.lat>e.lat&&n.lat<i.lat,t=t.lng>e.lng&&n.lng<i.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=g(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var ot={latLngToPoint:function(t,e){t=this.projection.project(t),e=this.scale(e);return this.transformation._transform(t,e)},pointToLatLng:function(t,e){e=this.scale(e),t=this.transformation.untransform(t,e);return this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new f(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(v.prototype={equals:function(t,e){return!!t&&(t=w(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+i(this.lat,t)+", "+i(this.lng,t)+")"},distanceTo:function(t){return st.distance(this,w(t))},wrap:function(){return st.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return g([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new v(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?H(t.lng,this.wrapLng,!0):t.lng;return new v(this.wrapLat?H(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,e=e.lng-i.lng;return 0==n&&0==e?t:(i=t.getSouthWest(),t=t.getNorthEast(),new s(new v(i.lat-n,i.lng-e),new v(t.lat-n,t.lng-e)))}},st=l({},ot,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),e=Math.sin((e.lng-t.lng)*i/2),t=s*s+Math.cos(n)*Math.cos(o)*e*e,i=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*i}}),rt=6378137,rt={R:rt,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,i=Math.max(Math.min(i,t.lat),-i),i=Math.sin(i*e);return new p(this.R*t.lng*e,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(t){var e=180/Math.PI;return new v((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new f([-(rt=rt*Math.PI),-rt],[rt,rt])};function at(t,e,i,n){d(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=i,this._d=n)}function ht(t,e,i,n){return new at(t,e,i,n)}at.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new p((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var lt=l({},st,{code:"EPSG:3857",projection:rt,transformation:ht(lt=.5/(Math.PI*rt.R),.5,-lt,.5)}),ut=l({},lt,{code:"EPSG:900913"});function ct(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function dt(t,e){for(var i,n,o,s,r="",a=0,h=t.length;a<h;a++){for(i=0,n=(o=t[a]).length;i<n;i++)r+=(i?"L":"M")+(s=o[i]).x+" "+s.y;r+=e?b.svg?"z":"x":""}return r||"M0 0"}var _t=document.documentElement.style,pt="ActiveXObject"in window,mt=pt&&!document.addEventListener,n="msLaunchUri"in navigator&&!("documentMode"in document),ft=y("webkit"),gt=y("android"),vt=y("android 2")||y("android 3"),yt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),yt=gt&&y("Google")&&yt<537&&!("AudioNode"in window),xt=!!window.opera,wt=!n&&y("chrome"),bt=y("gecko")&&!ft&&!xt&&!pt,Pt=!wt&&y("safari"),Lt=y("phantom"),o="OTransition"in _t,Tt=0===navigator.platform.indexOf("Win"),Mt=pt&&"transition"in _t,zt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!vt,_t="MozPerspective"in _t,Ct=!window.L_DISABLE_3D&&(Mt||zt||_t)&&!o&&!Lt,Zt="undefined"!=typeof orientation||y("mobile"),St=Zt&&ft,Et=Zt&&zt,kt=!window.PointerEvent&&window.MSPointerEvent,Ot=!(!window.PointerEvent&&!kt),At="ontouchstart"in window||!!window.TouchEvent,Bt=!window.L_NO_TOUCH&&(At||Ot),It=Zt&&xt,Rt=Zt&&bt,Nt=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Dt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",u,e),window.removeEventListener("testPassiveEventSupport",u,e)}catch(t){}return t}(),jt=!!document.createElement("canvas").getContext,Ht=!(!document.createElementNS||!ct("svg").createSVGRect),Wt=!!Ht&&((Wt=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Wt.firstChild&&Wt.firstChild.namespaceURI));function y(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var b={ie:pt,ielt9:mt,edge:n,webkit:ft,android:gt,android23:vt,androidStock:yt,opera:xt,chrome:wt,gecko:bt,safari:Pt,phantom:Lt,opera12:o,win:Tt,ie3d:Mt,webkit3d:zt,gecko3d:_t,any3d:Ct,mobile:Zt,mobileWebkit:St,mobileWebkit3d:Et,msPointer:kt,pointer:Ot,touch:Bt,touchNative:At,mobileOpera:It,mobileGecko:Rt,retina:Nt,passiveEvents:Dt,canvas:jt,svg:Ht,vml:!Ht&&function(){try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}(),inlineSvg:Wt,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Ft=b.msPointer?"MSPointerDown":"pointerdown",Ut=b.msPointer?"MSPointerMove":"pointermove",Vt=b.msPointer?"MSPointerUp":"pointerup",qt=b.msPointer?"MSPointerCancel":"pointercancel",Gt={touchstart:Ft,touchmove:Ut,touchend:Vt,touchcancel:qt},Kt={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&O(e);ee(t,e)},touchmove:ee,touchend:ee,touchcancel:ee},Yt={},Xt=!1;function Jt(t,e,i){return"touchstart"!==e||Xt||(document.addEventListener(Ft,$t,!0),document.addEventListener(Ut,Qt,!0),document.addEventListener(Vt,te,!0),document.addEventListener(qt,te,!0),Xt=!0),Kt[e]?(i=Kt[e].bind(this,i),t.addEventListener(Gt[e],i,!1),i):(console.warn("wrong event specified:",e),u)}function $t(t){Yt[t.pointerId]=t}function Qt(t){Yt[t.pointerId]&&(Yt[t.pointerId]=t)}function te(t){delete Yt[t.pointerId]}function ee(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Yt)e.touches.push(Yt[i]);e.changedTouches=[e],t(e)}}var ie=200;function ne(t,i){t.addEventListener("dblclick",i);var n,o=0;function e(t){var e;1!==t.detail?n=t.detail:"mouse"===t.pointerType||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents||((e=Ne(t)).some(function(t){return t instanceof HTMLLabelElement&&t.attributes.for})&&!e.some(function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement})||((e=Date.now())-o<=ie?2===++n&&i(function(t){var e,i,n={};for(i in t)e=t[i],n[i]=e&&e.bind?e.bind(t):e;return(t=n).type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(t)):n=1,o=e))}return t.addEventListener("click",e),{dblclick:i,simDblclick:e}}var oe,se,re,ae,he,le,ue=we(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ce=we(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),de="webkitTransition"===ce||"OTransition"===ce?ce+"End":"transitionend";function _e(t){return"string"==typeof t?document.getElementById(t):t}function pe(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(i=i&&"auto"!==i||!document.defaultView?i:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:i}function P(t,e,i){t=document.createElement(t);return t.className=e||"",i&&i.appendChild(t),t}function T(t){var e=t.parentNode;e&&e.removeChild(t)}function me(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function fe(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ge(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ve(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=xe(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function M(t,e){var i;if(void 0!==t.classList)for(var n=F(e),o=0,s=n.length;o<s;o++)t.classList.add(n[o]);else ve(t,e)||ye(t,((i=xe(t))?i+" ":"")+e)}function z(t,e){void 0!==t.classList?t.classList.remove(e):ye(t,W((" "+xe(t)+" ").replace(" "+e+" "," ")))}function ye(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function xe(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function C(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}}function we(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function be(t,e,i){e=e||new p(0,0);t.style[ue]=(b.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(i?" scale("+i+")":"")}function Z(t,e){t._leaflet_pos=e,b.any3d?be(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Pe(t){return t._leaflet_pos||new p(0,0)}function Le(){S(window,"dragstart",O)}function Te(){k(window,"dragstart",O)}function Me(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(ze(),le=(he=t).style.outlineStyle,t.style.outlineStyle="none",S(window,"keydown",ze))}function ze(){he&&(he.style.outlineStyle=le,le=he=void 0,k(window,"keydown",ze))}function Ce(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function Ze(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}ae="onselectstart"in document?(re=function(){S(window,"selectstart",O)},function(){k(window,"selectstart",O)}):(se=we(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),re=function(){var t;se&&(t=document.documentElement.style,oe=t[se],t[se]="none")},function(){se&&(document.documentElement.style[se]=oe,oe=void 0)});pt={__proto__:null,TRANSFORM:ue,TRANSITION:ce,TRANSITION_END:de,get:_e,getStyle:pe,create:P,remove:T,empty:me,toFront:fe,toBack:ge,hasClass:ve,addClass:M,removeClass:z,setClass:ye,getClass:xe,setOpacity:C,testProp:we,setTransform:be,setPosition:Z,getPosition:Pe,get disableTextSelection(){return re},get enableTextSelection(){return ae},disableImageDrag:Le,enableImageDrag:Te,preventOutline:Me,restoreOutline:ze,getSizedParentNode:Ce,getScale:Ze};function S(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)ke(t,o,e[o],i);else for(var s=0,r=(e=F(e)).length;s<r;s++)ke(t,e[s],i,n);return this}var E="_leaflet_events";function k(t,e,i,n){if(1===arguments.length)Se(t),delete t[E];else if(e&&"object"==typeof e)for(var o in e)Oe(t,o,e[o],i);else if(e=F(e),2===arguments.length)Se(t,function(t){return-1!==G(e,t)});else for(var s=0,r=e.length;s<r;s++)Oe(t,e[s],i,n);return this}function Se(t,e){for(var i in t[E]){var n=i.split(/\d/)[0];e&&!e(n)||Oe(t,n,null,null,i)}}var Ee={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function ke(e,t,i,n){var o,s,r=t+h(i)+(n?"_"+h(n):"");e[E]&&e[E][r]||(s=o=function(t){return i.call(n||e,t||window.event)},!b.touchNative&&b.pointer&&0===t.indexOf("touch")?o=Jt(e,t,o):b.touch&&"dblclick"===t?o=ne(e,o):"addEventListener"in e?"touchstart"===t||"touchmove"===t||"wheel"===t||"mousewheel"===t?e.addEventListener(Ee[t]||t,o,!!b.passiveEvents&&{passive:!1}):"mouseenter"===t||"mouseleave"===t?e.addEventListener(Ee[t],o=function(t){t=t||window.event,We(e,t)&&s(t)},!1):e.addEventListener(t,s,!1):e.attachEvent("on"+t,o),e[E]=e[E]||{},e[E][r]=o)}function Oe(t,e,i,n,o){o=o||e+h(i)+(n?"_"+h(n):"");var s,r,i=t[E]&&t[E][o];i&&(!b.touchNative&&b.pointer&&0===e.indexOf("touch")?(n=t,r=i,Gt[s=e]?n.removeEventListener(Gt[s],r,!1):console.warn("wrong event specified:",s)):b.touch&&"dblclick"===e?(n=i,(r=t).removeEventListener("dblclick",n.dblclick),r.removeEventListener("click",n.simDblclick)):"removeEventListener"in t?t.removeEventListener(Ee[e]||e,i,!1):t.detachEvent("on"+e,i),t[E][o]=null)}function Ae(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Be(t){return ke(t,"wheel",Ae),this}function Ie(t){return S(t,"mousedown touchstart dblclick contextmenu",Ae),t._leaflet_disable_click=!0,this}function O(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Re(t){return O(t),Ae(t),this}function Ne(t){if(t.composedPath)return t.composedPath();for(var e=[],i=t.target;i;)e.push(i),i=i.parentNode;return e}function De(t,e){var i,n;return e?(n=(i=Ze(e)).boundingClientRect,new p((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)):new p(t.clientX,t.clientY)}var je=b.linux&&b.chrome?window.devicePixelRatio:b.mac?3*window.devicePixelRatio:0<window.devicePixelRatio?2*window.devicePixelRatio:1;function He(t){return b.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function We(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var mt={__proto__:null,on:S,off:k,stopPropagation:Ae,disableScrollPropagation:Be,disableClickPropagation:Ie,preventDefault:O,stop:Re,getPropagationPath:Ne,getMousePosition:De,getWheelDelta:He,isExternalTarget:We,addListener:S,removeListener:k},Fe=it.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Pe(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=x(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t));e&&t._round(),Z(this._el,t),this.fire("step")},_complete:function(){r(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),A=it.extend({options:{crs:lt,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=c(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(w(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ce&&b.any3d&&!b.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),S(this._proxy,de,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,i){if((e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(w(t),e,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i)&&(void 0!==i.animate&&(i.zoom=l({animate:i.animate},i.zoom),i.pan=l({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan)))return clearTimeout(this._sizeTimer),this;return this._resetView(t,e,i.pan&&i.pan.noMoveStart),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(b.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(b.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),t=(t instanceof p?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),n=this.containerPointToLatLng(o.add(t));return this.setView(n,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():g(t);var i=m(e.paddingTopLeft||e.padding||[0,0]),n=m(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}:(e=n.subtract(i).divideBy(2),n=this.project(t.getSouthWest(),o),i=this.project(t.getNorthEast(),o),{center:this.unproject(n.add(i).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=g(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw new Error("Bounds are not valid.")},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){var i;return e=e||{},(t=m(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new Fe,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(M(this._mapPane,"leaflet-pan-anim"),i=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(n,o,t){if(!1===(t=t||{}).animate||!b.any3d)return this.setView(n,o,t);this._stop();var s=this.project(this.getCenter()),r=this.project(n),e=this.getSize(),a=this._zoom,h=(n=w(n),o=void 0===o?a:o,Math.max(e.x,e.y)),i=h*this.getZoomScale(a,o),l=r.distanceTo(s)||1,u=1.42,c=u*u;function d(t){t=(i*i-h*h+(t?-1:1)*c*c*l*l)/(2*(t?i:h)*c*l),t=Math.sqrt(t*t+1)-t;return t<1e-9?-18:Math.log(t)}function _(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}var m=d(0);function f(t){return h*(p(m)*(_(t=m+u*t)/p(t))-_(m))/c}var g=Date.now(),v=(d(1)-m)/u,y=t.duration?1e3*t.duration:1e3*v*.8;return this._moveStart(!0,t.noMoveStart),function t(){var e=(Date.now()-g)/y,i=(1-Math.pow(1-e,1.5))*v;e<=1?(this._flyToFrame=x(t,this),this._move(this.unproject(s.add(r.subtract(s).multiplyBy(f(i)/l)),a),this.getScaleZoom(h/(e=i,h*(p(m)/p(m+u*e))),a),{flyTo:!0})):this._move(n,o)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){t=this._getBoundsCenterZoom(t,e);return this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return t=g(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),t=this._limitCenter(i,this._zoom,g(t));return i.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=m((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=m(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),t=this.project(t),s=this.getPixelBounds(),i=_([s.min.add(i),s.max.subtract(n)]),s=i.getSize();return i.contains(t)||(this._enforcingBounds=!0,n=t.subtract(i.getCenter()),i=i.extend(t).getSize().subtract(s),o.x+=n.x<0?-i.x:i.x,o.y+=n.y<0?-i.y:i.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize(),i=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),n=e.divideBy(2).round(),o=i.divideBy(2).round(),n=n.subtract(o);return n.x||n.y?(t.animate&&t.pan?this.panBy(n):(t.pan&&this._rawPanBy(n),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var e,i;return t=this._locateOptions=l({timeout:1e4,watch:!1},t),"geolocation"in navigator?(e=a(this._handleGeolocationResponse,this),i=a(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e;this._container._leaflet_id&&(e=t.code,t=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+t+"."}))},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e,i,n=new v(t.coords.latitude,t.coords.longitude),o=n.toBounds(2*t.coords.accuracy),s=this._locateOptions,r=(s.setView&&(e=this.getBoundsZoom(o),this.setView(n,s.maxZoom?Math.min(e,s.maxZoom):e)),{latlng:n,bounds:o,timestamp:t.timestamp});for(i in t.coords)"number"==typeof t.coords[i]&&(r[i]=t.coords[i]);this.fire("locationfound",r)}},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t]&&e.enable()),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),T(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(r(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)T(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){e=P("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new s(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=g(t),i=m(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),t=t.getSouthEast(),i=this.getSize().subtract(i),t=_(this.project(t,n),this.project(r,n)).getSize(),r=b.any3d?this.options.zoomSnap:1,a=i.x/t.x,i=i.y/t.y,t=e?Math.max(a,i):Math.min(a,i),n=this.getScaleZoom(t,n);return r&&(n=Math.round(n/(r/100))*(r/100),n=e?Math.ceil(n/r)*r:Math.floor(n/r)*r),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new p(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){t=this._getTopLeftPoint(t,e);return new f(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs,t=(e=void 0===e?this._zoom:e,i.zoom(t*i.scale(e)));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(w(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(m(t),e)},layerPointToLatLng:function(t){t=m(t).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(t){return this.project(w(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(w(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(g(t))},distance:function(t,e){return this.options.crs.distance(w(t),w(e))},containerPointToLayerPoint:function(t){return m(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return m(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){t=this.containerPointToLayerPoint(m(t));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(w(t)))},mouseEventToContainerPoint:function(t){return De(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){t=this._container=_e(t);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");S(t,"scroll",this._onScroll,this),this._containerId=h(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&b.any3d,M(t,"leaflet-container"+(b.touch?" leaflet-touch":"")+(b.retina?" leaflet-retina":"")+(b.ielt9?" leaflet-oldie":"")+(b.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),pe(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Z(this._mapPane,new p(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(M(t.markerPane,"leaflet-zoom-hide"),M(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){Z(this._mapPane,new p(0,0));var n=!this._loaded,o=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return r(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Z(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?k:S;e((this._targets[h(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),b.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){r(this._resizeRequest),this._resizeRequest=x(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,r=!1;s;){if((i=this._targets[h(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)){if(o&&!We(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n=n.length||r||o||!this.listens(e,!0)?n:[this]},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e,i=t.target||t.srcElement;!this._loaded||i._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(i)||("mousedown"===(e=t.type)&&Me(i),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){"click"===t.type&&((a=l({},t)).type="preclick",this._fireDOMEvent(a,a.type,i));var n=this._findEventTargets(t,e);if(i){for(var o=[],s=0;s<i.length;s++)i[s].listens(e,!0)&&o.push(i[s]);n=o.concat(n)}if(n.length){"contextmenu"===e&&O(t);var r,a=n[0],h={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(r=a.getLatLng&&(!a._radius||a._radius<=10),h.containerPoint=r?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),h.layerPoint=this.containerPointToLayerPoint(h.containerPoint),h.latlng=r?a.getLatLng():this.layerPointToLatLng(h.layerPoint)),s=0;s<n.length;s++)if(n[s].fire(e,h,!0),h.originalEvent._stopped||!1===n[s].options.bubblingMouseEvents&&-1!==G(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Pe(this._mapPane)||new p(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){i=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,i){i=this._getNewPixelOrigin(i,e);return _([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){var n,o;return!i||(n=this.project(t,e),o=this.getSize().divideBy(2),o=new f(n.subtract(o),n.add(o)),o=this._getBoundsOffset(o,i,e),Math.abs(o.x)<=1&&Math.abs(o.y)<=1)?t:this.unproject(n.add(o),e)},_limitOffset:function(t,e){var i;return e?(i=new f((i=this.getPixelBounds()).min.add(t),i.max.add(t)),t.add(this._getBoundsOffset(i,e))):t},_getBoundsOffset:function(t,e,i){e=_(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),i=e.min.subtract(t.min),e=e.max.subtract(t.max);return new p(this._rebound(i.x,-e.x),this._rebound(i.y,-e.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=b.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){z(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){t=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(t))&&(this.panBy(t,e),!0)},_createAnimProxy:function(){var t=this._proxy=P("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=ue,i=this._proxy.style[e];be(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){T(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();be(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(!this._animatingZoom){if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/n);if(!0!==i.animate&&!this.getSize().contains(n))return!1;x(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)},this)}return!0},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,M(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&z(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Ue(t){return new B(t)}var B=et.extend({options:{position:"topright"},initialize:function(t){c(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),t=t._controlCorners[i];return M(e,"leaflet-control"),-1!==i.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(T(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),Ve=(A.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var i=this._controlCorners={},n="leaflet-",o=this._controlContainer=P("div",n+"control-container",this._container);function t(t,e){i[t+e]=P("div",n+t+" "+n+e,o)}t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)T(this._controlCorners[t]);T(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),B.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in c(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return B.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);t=this._getLayer(h(t));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){M(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(M(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):z(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return z(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=P("div",t),i=this.options.collapsed,n=(e.setAttribute("aria-haspopup",!0),Ie(e),Be(e),this._section=P("section",t+"-list")),o=(i&&(this._map.on("click",this.collapse,this),S(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)),this._layersLink=P("a",t+"-toggle",e));o.href="#",o.title="Layers",o.setAttribute("role","button"),S(o,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){O(t),this._expandSafely()}},this),i||this.expand(),this._baseLayersList=P("div",t+"-base",n),this._separator=P("div",t+"-separator",n),this._overlaysList=P("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&h(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(a(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){me(this._baseLayersList),me(this._overlaysList),this._layerControlInputs=[];for(var t,e,i,n=0,o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(h(t.target)),t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;t&&this._map.fire(t,e)},_createRadioElement:function(t,e){t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",e=document.createElement("div");return e.innerHTML=t,e.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer),n=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+h(this),n),this._layerControlInputs.push(e),e.layerId=h(t.layer),S(e,"click",this._onInputClick,this),document.createElement("span")),o=(n.innerHTML=" "+t.name,document.createElement("span"));return i.appendChild(o),o.appendChild(e),o.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;0<=s;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section,e=(this._preventClick=!0,S(t,"click",O),this.expand(),this);setTimeout(function(){k(t,"click",O),e._preventClick=!1})}})),qe=B.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=P("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){i=P("a",i,n);return i.innerHTML=t,i.href="#",i.title=e,i.setAttribute("role","button"),i.setAttribute("aria-label",e),Ie(i),S(i,"click",Re),S(i,"click",o,this),S(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";z(this._zoomInButton,e),z(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&t._zoom!==t.getMinZoom()||(M(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&t._zoom!==t.getMaxZoom()||(M(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}}),Ge=(A.mergeOptions({zoomControl:!0}),A.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new qe,this.addControl(this.zoomControl))}),B.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=P("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=P("div",e,i)),t.imperial&&(this._iScale=P("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,t=3.2808399*t;5280<t?(i=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,i+" mi",i/e)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+" ft",i/t))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),t=t/e;return e*(t=10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),Ke=B.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(b.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){c(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=P("div","leaflet-control-attribution"),Ie(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}}),n=(A.mergeOptions({attributionControl:!0}),A.addInitHook(function(){this.options.attributionControl&&(new Ke).addTo(this)}),B.Layers=Ve,B.Zoom=qe,B.Scale=Ge,B.Attribution=Ke,Ue.layers=function(t,e,i){return new Ve(t,e,i)},Ue.zoom=function(t){return new qe(t)},Ue.scale=function(t){return new Ge(t)},Ue.attribution=function(t){return new Ke(t)},et.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})),ft=(n.addTo=function(t,e){return t.addHandler(e,this),this},{Events:e}),Ye=b.touch?"touchstart mousedown":"mousedown",Xe=it.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){c(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(S(this._dragStartTarget,Ye,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Xe._dragging===this&&this.finishDrag(!0),k(this._dragStartTarget,Ye,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,i;this._enabled&&(this._moved=!1,ve(this._element,"leaflet-zoom-anim")||(t.touches&&1!==t.touches.length?Xe._dragging===this&&this.finishDrag():Xe._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((Xe._dragging=this)._preventOutline&&Me(this._element),Le(),re(),this._moving||(this.fire("down"),i=t.touches?t.touches[0]:t,e=Ce(this._element),this._startPoint=new p(i.clientX,i.clientY),this._startPos=Pe(this._element),this._parentScale=Ze(e),i="mousedown"===t.type,S(document,i?"mousemove":"touchmove",this._onMove,this),S(document,i?"mouseup":"touchend touchcancel",this._onUp,this)))))},_onMove:function(t){var e;this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new p((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY)._subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,O(t),this._moved||(this.fire("dragstart"),this._moved=!0,M(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),M(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,this._lastEvent=t,this._updatePosition()))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),Z(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){z(document.body,"leaflet-dragging"),this._lastTarget&&(z(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),k(document,"mousemove touchmove",this._onMove,this),k(document,"mouseup touchend touchcancel",this._onUp,this),Te(),ae();var e=this._moved&&this._moving;this._moving=!1,Xe._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function Je(t,e,i){for(var n,o,s,r,a,h,l,u=[1,4,2,8],c=0,d=t.length;c<d;c++)t[c]._code=si(t[c],e);for(s=0;s<4;s++){for(h=u[s],n=[],c=0,o=(d=t.length)-1;c<d;o=c++)r=t[c],a=t[o],r._code&h?a._code&h||((l=oi(a,r,h,e,i))._code=si(l,e),n.push(l)):(a._code&h&&((l=oi(a,r,h,e,i))._code=si(l,e),n.push(l)),n.push(r));t=n}return t}function $e(t,e){var i,n,o,s,r,a,h;if(!t||0===t.length)throw new Error("latlngs not passed");I(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var l=w([0,0]),u=g(t),c=(u.getNorthWest().distanceTo(u.getSouthWest())*u.getNorthEast().distanceTo(u.getNorthWest())<1700&&(l=Qe(t)),t.length),d=[],_=0;_<c;_++){var p=w(t[_]);d.push(e.project(w([p.lat-l.lat,p.lng-l.lng])))}for(_=r=a=h=0,i=c-1;_<c;i=_++)n=d[_],o=d[i],s=n.y*o.x-o.y*n.x,a+=(n.x+o.x)*s,h+=(n.y+o.y)*s,r+=3*s;u=0===r?d[0]:[a/r,h/r],u=e.unproject(m(u));return w([u.lat+l.lat,u.lng+l.lng])}function Qe(t){for(var e=0,i=0,n=0,o=0;o<t.length;o++){var s=w(t[o]);e+=s.lat,i+=s.lng,n++}return w([e/n,i/n])}var ti,gt={__proto__:null,clipPolygon:Je,polygonCenter:$e,centroid:Qe};function ei(t,e){if(e&&t.length){var i=t=function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)(function(t,e){var i=e.x-t.x,e=e.y-t.y;return i*i+e*e})(t[n],t[o])>e&&(i.push(t[n]),o=n);o<s-1&&i.push(t[s-1]);return i}(t,e=e*e),n=i.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);o[0]=o[n-1]=1,function t(e,i,n,o,s){var r,a,h,l=0;for(a=o+1;a<=s-1;a++)h=ri(e[a],e[o],e[s],!0),l<h&&(r=a,l=h);n<l&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,s))}(i,o,e,0,n-1);var s,r=[];for(s=0;s<n;s++)o[s]&&r.push(i[s]);return r}return t.slice()}function ii(t,e,i){return Math.sqrt(ri(t,e,i,!0))}function ni(t,e,i,n,o){var s,r,a,h=n?ti:si(t,i),l=si(e,i);for(ti=l;;){if(!(h|l))return[t,e];if(h&l)return!1;a=si(r=oi(t,e,s=h||l,i,o),i),s===h?(t=r,h=a):(e=r,l=a)}}function oi(t,e,i,n,o){var s,r,a=e.x-t.x,e=e.y-t.y,h=n.min,n=n.max;return 8&i?(s=t.x+a*(n.y-t.y)/e,r=n.y):4&i?(s=t.x+a*(h.y-t.y)/e,r=h.y):2&i?(s=n.x,r=t.y+e*(n.x-t.x)/a):1&i&&(s=h.x,r=t.y+e*(h.x-t.x)/a),new p(s,r,o)}function si(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function ri(t,e,i,n){var o=e.x,e=e.y,s=i.x-o,r=i.y-e,a=s*s+r*r;return 0<a&&(1<(a=((t.x-o)*s+(t.y-e)*r)/a)?(o=i.x,e=i.y):0<a&&(o+=s*a,e+=r*a)),s=t.x-o,r=t.y-e,n?s*s+r*r:new p(o,e)}function I(t){return!d(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function ai(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),I(t)}function hi(t,e){var i,n,o,s,r,a;if(!t||0===t.length)throw new Error("latlngs not passed");I(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var h=w([0,0]),l=g(t),u=(l.getNorthWest().distanceTo(l.getSouthWest())*l.getNorthEast().distanceTo(l.getNorthWest())<1700&&(h=Qe(t)),t.length),c=[],d=0;d<u;d++){var _=w(t[d]);c.push(e.project(w([_.lat-h.lat,_.lng-h.lng])))}for(i=d=0;d<u-1;d++)i+=c[d].distanceTo(c[d+1])/2;if(0===i)a=c[0];else for(n=d=0;d<u-1;d++)if(o=c[d],s=c[d+1],i<(n+=r=o.distanceTo(s))){a=[s.x-(r=(n-i)/r)*(s.x-o.x),s.y-r*(s.y-o.y)];break}l=e.unproject(m(a));return w([l.lat+h.lat,l.lng+h.lng])}var vt={__proto__:null,simplify:ei,pointToSegmentDistance:ii,closestPointOnSegment:function(t,e,i){return ri(t,e,i)},clipSegment:ni,_getEdgeIntersection:oi,_getBitCode:si,_sqClosestPointOnSegment:ri,isFlat:I,_flat:ai,polylineCenter:hi},yt={project:function(t){return new p(t.lng,t.lat)},unproject:function(t){return new v(t.y,t.x)},bounds:new f([-180,-90],[180,90])},xt={R:6378137,R_MINOR:6356752.314245179,bounds:new f([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,o=Math.sqrt(1-o*o),s=o*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),o/2),n=-i*Math.log(Math.max(s,1e-10));return new p(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,l=.1;h<15&&1e-7<Math.abs(l);h++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),a+=l=Math.PI/2-2*Math.atan(r*e)-a;return new v(a*i,t.x*i/n)}},wt={__proto__:null,LonLat:yt,Mercator:xt,SphericalMercator:rt},Pt=l({},st,{code:"EPSG:3395",projection:xt,transformation:ht(bt=.5/(Math.PI*xt.R),.5,-bt,.5)}),li=l({},st,{code:"EPSG:4326",projection:yt,transformation:ht(1/180,1,-1/180,.5)}),Lt=l({},ot,{projection:yt,transformation:ht(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,e=e.lat-t.lat;return Math.sqrt(i*i+e*e)},infinite:!0}),o=(ot.Earth=st,ot.EPSG3395=Pt,ot.EPSG3857=lt,ot.EPSG900913=ut,ot.EPSG4326=li,ot.Simple=Lt,it.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[h(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[h(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,i=t.target;i.hasLayer(this)&&(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents&&(e=this.getEvents(),i.on(e,this),this.once("remove",function(){i.off(e,this)},this)),this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this}))}})),ui=(A.include({addLayer:function(t){var e;if(t._layerAdd)return e=h(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(t){var e=h(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return h(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?d(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[h(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=h(t);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers)var o=this._zoomBoundLayers[t].options,e=void 0===o.minZoom?e:Math.min(e,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom);this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}}),o.extend({initialize:function(t,e){var i,n;if(c(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){t=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:h})),ci=ui.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),ui.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),ui.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,e=new s;for(t in this._layers){var i=this._layers[t];e.extend(i.getBounds?i.getBounds():i.getLatLng())}return e}}),di=et.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){c(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(i)return i=this._createImg(i,e&&"IMG"===e.tagName?e:null),this._setIconStyles(i,t),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"],n=m(n="number"==typeof n?[n,n]:n),o=m("shadow"===e&&i.shadowAnchor||i.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return b.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});var _i=di.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof _i.imagePath&&(_i.imagePath=this._detectIconPath()),(this.options.imagePath||_i.imagePath)+di.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){function e(t,e,i){return(e=e.exec(t))&&e[i]}return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=P("div","leaflet-default-icon-path",document.body),e=pe(t,"background-image")||pe(t,"backgroundImage");return document.body.removeChild(t),(e=this._stripUrl(e))?e:(t=document.querySelector('link[href$="leaflet.css"]'))?t.href.substring(0,t.href.length-"leaflet.css".length-1):""}}),pi=n.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Xe(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),M(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&z(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=Pe(e._icon),r=i.getPixelBounds(),a=i.getPixelOrigin(),a=_(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));a.contains(s)||(o=m((Math.max(a.max.x,s.x)-a.max.x)/(r.max.x-a.max.x)-(Math.min(a.min.x,s.x)-a.min.x)/(r.min.x-a.min.x),(Math.max(a.max.y,s.y)-a.max.y)/(r.max.y-a.max.y)-(Math.min(a.min.y,s.y)-a.min.y)/(r.min.y-a.min.y)).multiplyBy(n),i.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),Z(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=x(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(r(this._panRequest),this._panRequest=x(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=Pe(e._icon),o=e._map.layerPointToLatLng(n);i&&Z(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){r(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),mi=o.extend({options:{icon:new _i,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){c(this,e),this._latlng=w(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=w(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1,i=(i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),M(i,e),t.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&S(i,"focus",this._panOnFocus,this),t.icon.createShadow(this._shadow)),o=!1;i!==this._shadow&&(this._removeShadow(),o=!0),i&&(M(i,e),i.alt=""),this._shadow=i,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&o&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&k(this._icon,"focus",this._panOnFocus,this),T(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&T(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&Z(this._icon,t),this._shadow&&Z(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(M(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),pi&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new pi(this),t&&this.dragging.enable()))},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&C(this._icon,t),this._shadow&&C(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t,e,i=this._map;i&&(t=(e=this.options.icon.options).iconSize?m(e.iconSize):m(0,0),e=e.iconAnchor?m(e.iconAnchor):m(0,0),i.panInside(this._latlng,{paddingTopLeft:e,paddingBottomRight:t.subtract(e)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});var fi=o.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return c(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),gi=fi.extend({options:{fill:!0,radius:10},initialize:function(t,e){c(this,e),this._latlng=w(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=w(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return fi.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),t=[t+i,e+i];this._pxBounds=new f(this._point.subtract(t),this._point.add(t))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});var vi=gi.extend({initialize:function(t,e,i){if(c(this,e="number"==typeof e?l({},i,{radius:e}):e),this._latlng=w(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new s(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:fi.prototype.setStyle,_project:function(){var t,e,i,n,o,s=this._latlng.lng,r=this._latlng.lat,a=this._map,h=a.options.crs;h.distance===st.distance?(n=Math.PI/180,o=this._mRadius/st.R/n,t=a.project([r+o,s]),e=a.project([r-o,s]),e=t.add(e).divideBy(2),i=a.unproject(e).lat,n=Math.acos((Math.cos(o*n)-Math.sin(r*n)*Math.sin(i*n))/(Math.cos(r*n)*Math.cos(i*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*r)),this._point=e.subtract(a.getPixelOrigin()),this._radius=isNaN(n)?0:e.x-a.project([i,s-n]).x,this._radiusY=e.y-t.y):(o=h.unproject(h.project(this._latlng).subtract([this._mRadius,0])),this._point=a.latLngToLayerPoint(this._latlng),this._radius=this._point.x-a.latLngToLayerPoint(o).x),this._updateBounds()}});var yi=fi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){c(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e=1/0,i=null,n=ri,o=0,s=this._parts.length;o<s;o++)for(var r=this._parts[o],a=1,h=r.length;a<h;a++){var l,u,c=n(t,l=r[a-1],u=r[a],!0);c<e&&(e=c,i=n(t,l,u))}return i&&(i.distance=Math.sqrt(e)),i},getCenter:function(){if(this._map)return hi(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=w(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new s,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return I(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=I(t),n=0,o=t.length;n<o;n++)i?(e[n]=w(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new f;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),t=new p(t,t);this._rawPxBounds&&(this._pxBounds=new f([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(t,e,i){var n,o,s=t[0]instanceof v,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var e,i,n,o,s=this._parts,r=0,a=0,h=this._rings.length;r<h;r++)for(e=0,i=(o=this._rings[r]).length;e<i-1;e++)(n=ni(o[e],o[e+1],t,e,!0))&&(s[a]=s[a]||[],s[a].push(n[0]),n[1]===o[e+1]&&e!==i-2||(s[a].push(n[1]),a++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=ei(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,s,r,a,h=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(r=(a=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&ii(t,a[o],a[n])<=h)return!0;return!1}});yi._flat=ai;var xi=yi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(this._map)return $e(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},_convertLatLngs:function(t){var t=yi.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof v&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){yi.prototype._setLatLngs.call(this,t),I(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(I(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,e=new p(e,e),t=new f(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,o=this._rings.length;n<o;n++)(i=Je(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,s,r,a,h,l=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(e=this._parts[o]).length)-1;s<h;r=s++)i=e[s],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(l=!l);return l||yi.prototype._containsPoint.call(this,t,!0)}});var wi=ci.extend({initialize:function(t,e){c(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=d(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s,r=this.options;return(!r.filter||r.filter(t))&&(s=bi(t,r))?(s.feature=Zi(t),s.defaultOptions=s.options,this.resetStyle(s),r.onEachFeature&&r.onEachFeature(t,s),this.addLayer(s)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=l({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function bi(t,e){var i,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],l=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Li;if(!a&&!r)return null;switch(r.type){case"Point":return Pi(l,t,i=u(a),e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)i=u(a[o]),h.push(Pi(l,t,i,e));return new ci(h);case"LineString":case"MultiLineString":return n=Ti(a,"LineString"===r.type?0:1,u),new yi(n,e);case"Polygon":case"MultiPolygon":return n=Ti(a,"Polygon"===r.type?1:2,u),new xi(n,e);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var c=bi({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);c&&h.push(c)}return new ci(h);case"FeatureCollection":for(o=0,s=r.features.length;o<s;o++){var d=bi(r.features[o],e);d&&h.push(d)}return new ci(h);default:throw new Error("Invalid GeoJSON object.")}}function Pi(t,e,i,n){return t?t(e,i):new mi(i,n&&n.markersInheritOptions&&n)}function Li(t){return new v(t[1],t[0],t[2])}function Ti(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?Ti(t[s],e-1,i):(i||Li)(t[s]),o.push(n);return o}function Mi(t,e){return void 0!==(t=w(t)).alt?[i(t.lng,e),i(t.lat,e),i(t.alt,e)]:[i(t.lng,e),i(t.lat,e)]}function zi(t,e,i,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(e?zi(t[s],I(t[s])?0:e-1,i,n):Mi(t[s],n));return!e&&i&&0<o.length&&o.push(o[0].slice()),o}function Ci(t,e){return t.feature?l({},t.feature,{geometry:e}):Zi(e)}function Zi(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}Tt={toGeoJSON:function(t){return Ci(this,{type:"Point",coordinates:Mi(this.getLatLng(),t)})}};function Si(t,e){return new wi(t,e)}mi.include(Tt),vi.include(Tt),gi.include(Tt),yi.include({toGeoJSON:function(t){var e=!I(this._latlngs);return Ci(this,{type:(e?"Multi":"")+"LineString",coordinates:zi(this._latlngs,e?1:0,!1,t)})}}),xi.include({toGeoJSON:function(t){var e=!I(this._latlngs),i=e&&!I(this._latlngs[0]),t=zi(this._latlngs,i?2:e?1:0,!0,t);return Ci(this,{type:(i?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),ui.include({toMultiPoint:function(e){var i=[];return this.eachLayer(function(t){i.push(t.toGeoJSON(e).geometry.coordinates)}),Ci(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(e){var i,n,t=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===t?this.toMultiPoint(e):(i="GeometryCollection"===t,n=[],this.eachLayer(function(t){t.toGeoJSON&&(t=t.toGeoJSON(e),i?n.push(t.geometry):"FeatureCollection"===(t=Zi(t)).type?n.push.apply(n,t.features):n.push(t))}),i?Ci(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});var Mt=Si,Ei=o.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=g(e),c(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(M(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){T(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&fe(this._image),this},bringToBack:function(){return this._map&&ge(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=g(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:P("img");M(e,"leaflet-image-layer"),this._zoomAnimated&&M(e,"leaflet-zoom-animated"),this.options.className&&M(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onload=a(this.fire,this,"load"),e.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;be(this._image,t,e)},_reset:function(){var t=this._image,e=new f(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();Z(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){C(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),ki=Ei.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:P("video");if(M(e,"leaflet-image-layer"),this._zoomAnimated&&M(e,"leaflet-zoom-animated"),this.options.className&&M(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onloadeddata=a(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{d(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var s=0;s<this._url.length;s++){var r=P("source");r.src=this._url[s],e.appendChild(r)}}}});var Oi=Ei.extend({_initImage:function(){var t=this._image=this._url;M(t,"leaflet-image-layer"),this._zoomAnimated&&M(t,"leaflet-zoom-animated"),this.options.className&&M(t,this.options.className),t.onselectstart=u,t.onmousemove=u}});var Ai=o.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof v||d(t))?(this._latlng=w(t),c(this,e)):(c(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&C(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&C(this._container,1),this.bringToFront(),this.options.interactive&&(M(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(C(this._container,0),this._removeTimeout=setTimeout(a(T,void 0,this._container),200)):T(this._container),this.options.interactive&&(z(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=w(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&fe(this._container),this},bringToBack:function(){return this._map&&ge(this._container),this},_prepareOpen:function(t){if(!(i=this._source)._map)return!1;if(i instanceof ci){var e,i=null,n=this._source._layers;for(e in n)if(n[e]._map){i=n[e];break}if(!i)return!1;this._source=i}if(!t)if(i.getCenter)t=i.getCenter();else if(i.getLatLng)t=i.getLatLng();else{if(!i.getBounds)throw new Error("Unable to get source layer LatLng.");t=i.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){var t,e,i;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=m(this.options.offset),i=this._getAnchor(),this._zoomAnimated?Z(this._container,e.add(i)):t=t.add(e).add(i),e=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=i+"px")},_getAnchor:function(){return[0,0]}}),Bi=(A.include({_initOverlay:function(t,e,i,n){var o=e;return o instanceof t||(o=new t(n).setContent(e)),i&&o.setLatLng(i),o}}),o.include({_initOverlay:function(t,e,i,n){var o=i;return o instanceof t?(c(o,n),o._source=this):(o=e&&!n?e:new t(n,this)).setContent(i),o}}),Ai.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Ai.prototype.openOn.call(this,t)},onAdd:function(t){Ai.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof fi||this._source.on("preclick",Ae))},onRemove:function(t){Ai.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof fi||this._source.off("preclick",Ae))},getEvents:function(){var t=Ai.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=P("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=P("div",t+"-content-wrapper",e);this._contentNode=P("div",t+"-content",i),Ie(e),Be(this._contentNode),S(e,"contextmenu",Ae),this._tipContainer=P("div",t+"-tip-container",e),this._tip=P("div",t+"-tip",this._tipContainer),this.options.closeButton&&((i=this._closeButton=P("a",t+"-close-button",e)).setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">×</span>',S(i,"click",function(t){O(t),this.close()},this))},_updateLayout:function(){var t=this._contentNode,e=t.style,i=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=Math.min(i,this.options.maxWidth),i=(i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),n=this.options.maxHeight,o="leaflet-popup-scrolled";(n&&n<i?(e.height=n+"px",M):z)(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();Z(this._container,t.add(e))},_adjustPan:function(){var t,e,i,n,o,s,r,a;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning?this._autopanning=!1:(t=this._map,e=parseInt(pe(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,a=this._containerWidth,(i=new p(this._containerLeft,-e-this._containerBottom))._add(Pe(this._container)),i=t.layerPointToContainerPoint(i),o=m(this.options.autoPanPadding),n=m(this.options.autoPanPaddingTopLeft||o),o=m(this.options.autoPanPaddingBottomRight||o),s=t.getSize(),r=0,i.x+a+o.x>s.x&&(r=i.x+a-s.x+o.x),i.x-r-n.x<(a=0)&&(r=i.x-n.x),i.y+e+o.y>s.y&&(a=i.y+e-s.y+o.y),i.y-a-n.y<0&&(a=i.y-n.y),(r||a)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([r,a]))))},_getAnchor:function(){return m(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),Ii=(A.mergeOptions({closePopupOnClick:!0}),A.include({openPopup:function(t,e,i){return this._initOverlay(Bi,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),o.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Bi,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof ci||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e;this._popup&&this._map&&(Re(t),e=t.layer||t.target,this._popup._source!==e||e instanceof fi?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),Ai.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Ai.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Ai.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Ai.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=P("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i=this._map,n=this._container,o=i.latLngToContainerPoint(i.getCenter()),i=i.layerPointToContainerPoint(t),s=this.options.direction,r=n.offsetWidth,a=n.offsetHeight,h=m(this.options.offset),l=this._getAnchor(),i="top"===s?(e=r/2,a):"bottom"===s?(e=r/2,0):(e="center"===s?r/2:"right"===s?0:"left"===s?r:i.x<o.x?(s="right",0):(s="left",r+2*(h.x+l.x)),a/2);t=t.subtract(m(e,i,!0)).add(h).add(l),z(n,"leaflet-tooltip-right"),z(n,"leaflet-tooltip-left"),z(n,"leaflet-tooltip-top"),z(n,"leaflet-tooltip-bottom"),M(n,"leaflet-tooltip-"+s),Z(n,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&C(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(t)},_getAnchor:function(){return m(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),Ri=(A.include({openTooltip:function(t,e,i){return this._initOverlay(Ii,t,e,i).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),o.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Ii,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var e,i;!t&&this._tooltipHandlersAdded||(e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,i.click=this._openTooltip,this._map?this._addFocusListeners():i.add=this._addFocusListeners),this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),this[e](i),this._tooltipHandlersAdded=!t)},openTooltip:function(t){return this._tooltip&&(this instanceof ci||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(S(e,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),S(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){t="function"==typeof t.getElement&&t.getElement();t&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){var e;this._tooltip&&this._map&&(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag?(this._openOnceFlag=!0,(e=this)._map.once("moveend",function(){e._openOnceFlag=!1,e._openTooltip(t)})):(this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)))},_moveTooltip:function(t){var e=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),di.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var t=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;return e.html instanceof Element?(me(t),t.appendChild(e.html)):t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=m(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}));di.Default=_i;var Ni=o.extend({options:{tileSize:256,opacity:1,updateWhenIdle:b.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){c(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),T(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(fe(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ge(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){var t;return this._map&&(this._removeAllTiles(),(t=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=j(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof p?t:new p(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!b.ielt9){C(this._container,this.options.opacity);var t,e=+new Date,i=!1,n=!1;for(t in this._tiles){var o,s=this._tiles[t];s.current&&s.loaded&&(o=Math.min(1,(e-s.loaded)/200),C(s.el,o),o<1?i=!0:(s.active?n=!0:this._onOpaqueTile(s),s.active=!0))}n&&!this._noPrune&&this._pruneTiles(),i&&(r(this._fadeFrame),this._fadeFrame=x(this._updateOpacity,this))}},_onOpaqueTile:u,_initContainer:function(){this._container||(this._container=P("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(T(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=P("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),u(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:u,_onRemoveLevel:u,_onCreateLevel:u,_pruneTiles:function(){if(this._map){var t,e,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)(i=this._tiles[t]).current&&!i.active&&(e=i.coords,this._retainParent(e.x,e.y,e.z,e.z-5)||this._retainChildren(e.x,e.y,e.z,e.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)T(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,i,n){var t=Math.floor(t/2),e=Math.floor(e/2),i=i-1,o=new p(+t,+e),o=(o.z=i,this._tileCoordsToKey(o)),o=this._tiles[o];return o&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),n<i&&this._retainParent(t,e,i,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new p(o,s),r=(r.z=i+1,this._tileCoordsToKey(r)),r=this._tiles[r];r&&r.active?r.retain=!0:(r&&r.loaded&&(r.retain=!0),i+1<n&&this._retainChildren(o,s,i+1,n))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=Math.round(e),o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o),s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),e=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();b.any3d?be(t.el,e,n):Z(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(i,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e=e.getSize().divideBy(2*i);return new f(t.subtract(e),t.add(e))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n,e=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(e),s=o.getCenter(),r=[],e=this.options.keepBuffer,a=new f(o.getBottomLeft().subtract([e,-e]),o.getTopRight().add([e,-e]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(n in this._tiles){var h=this._tiles[n].coords;h.z===this._tileZoom&&a.contains(new p(h.x,h.y))||(this._tiles[n].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var l=o.min.y;l<=o.max.y;l++)for(var u=o.min.x;u<=o.max.x;u++){var c,d=new p(u,l);d.z=this._tileZoom,this._isValidTile(d)&&((c=this._tiles[this._tileCoordsToKey(d)])?c.current=!0:r.push(d))}if(r.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));for(var _=document.createDocumentFragment(),u=0;u<r.length;u++)this._addTile(r[u],_);this._level.el.appendChild(_)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),g(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),i=n.add(i);return[e.unproject(n,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){t=this._tileCoordsToNwSe(t),t=new s(t[0],t[1]);return t=this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var t=t.split(":"),e=new p(+t[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(T(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){M(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,b.ielt9&&this.options.opacity<1&&C(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),a(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&x(a(this._tileReady,this,t,null,o)),Z(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(C(i.el,0),r(this._fadeFrame),this._fadeFrame=x(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(M(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),b.ielt9||!this._map._fadeAnimated?x(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new p(this._wrapX?H(t.x,this._wrapX):t.x,this._wrapY?H(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new f(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});var Di=Ni.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=c(this,e)).detectRetina&&b.retina&&0<e.maxZoom?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return S(i,"load",a(this._tileOnLoad,this,e,i)),S(i,"error",a(this._tileOnError,this,e,i)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:b.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(e.y=t),e["-y"]=t),q(this._url,l(e,this.options))},_tileOnLoad:function(t,e){b.ielt9?setTimeout(a(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){t=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var t,e,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=u,i.onerror=u,i.complete||(i.src=K,e=this._tiles[t].coords,T(i),delete this._tiles[t],this.fire("tileabort",{tile:i,coords:e})))},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",K),Ni.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==K))return Ni.prototype._tileReady.call(this,t,e,i)}});function ji(t,e){return new Di(t,e)}var Hi=Di.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i,n=l({},this.defaultWmsParams);for(i in e)i in this.options||(n[i]=e[i]);var t=(e=c(this,e)).detectRetina&&b.retina?2:1,o=this.getTileSize();n.width=o.x*t,n.height=o.y*t,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,Di.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,i=_(i.project(e[0]),i.project(e[1])),e=i.min,i=i.max,e=(1.3<=this._wmsVersion&&this._crs===li?[e.y,e.x,i.y,i.x]:[e.x,e.y,i.x,i.y]).join(","),i=Di.prototype.getTileUrl.call(this,t);return i+U(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,e){return l(this.wmsParams,t),e||this.redraw(),this}});Di.WMS=Hi,ji.wms=function(t,e){return new Hi(t,e)};var Wi=o.extend({options:{padding:.1},initialize:function(t){c(this,t),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),M(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),n=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));b.any3d?be(this._container,n,i):Z(this._container,n)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new f(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Fi=Wi.extend({options:{tolerance:0},getEvents:function(){var t=Wi.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");S(t,"mousemove",this._onMouseMove,this),S(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),S(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){r(this._redrawRequest),delete this._ctx,T(this._container),k(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,e,i,n;this._map._animatingZoom&&this._bounds||(Wi.prototype._update.call(this),t=this._bounds,e=this._container,i=t.getSize(),n=b.retina?2:1,Z(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",b.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Wi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);t=(this._layers[h(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,e=e.prev;i?i.prev=e:this._drawLast=e,e?e.next=i:this._drawFirst=i,delete t._order,delete this._layers[h(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){for(var e,i=t.options.dashArray.split(/[, ]+/),n=[],o=0;o<i.length;o++){if(e=Number(i[o]),isNaN(e))return;n.push(e)}t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||x(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new f,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e])))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)):(this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw:function(){var t,e,i=this._redrawBounds;this._ctx.save(),i&&(e=i.getSize(),this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(h.beginPath(),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],h[n?"lineTo":"moveTo"](s.x,s.y);e&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){var e,i,n,o;this._drawing&&!t._empty()&&(e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),1!=(o=(Math.max(Math.round(t._radiusY),1)||n)/n)&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t))},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&(("click"===t.type||"preclick"===t.type)&&this._map._draggableMoved(e)||(i=e));this._fireEvent(!!i&&[i],t)},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(z(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(M(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e,i,n=t._order;n&&(e=n.next,i=n.prev,e&&((e.prev=i)?i.next=e:e&&(this._drawFirst=e),n.prev=this._drawLast,(this._drawLast.next=n).next=null,this._drawLast=n,this._requestRedraw(t)))},_bringToBack:function(t){var e,i,n=t._order;n&&(e=n.next,(i=n.prev)&&((i.next=e)?e.prev=i:i&&(this._drawLast=i),n.prev=null,n.next=this._drawFirst,this._drawFirst.prev=n,this._drawFirst=n,this._requestRedraw(t)))}});function Ui(t){return b.canvas?new Fi(t):null}var Vi=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),zt={_initContainer:function(){this._container=P("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wi.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Vi("shape");M(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Vi("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;T(e),t.removeInteractiveTarget(e),delete this._layers[h(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e=e||(t._stroke=Vi("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=d(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i=i||(t._fill=Vi("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){fe(t._container)},_bringToBack:function(t){ge(t._container)}},qi=b.vml?Vi:ct,Gi=Wi.extend({_initContainer:function(){this._container=qi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=qi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){T(this._container),k(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,e,i;this._map._animatingZoom&&this._bounds||(Wi.prototype._update.call(this),e=(t=this._bounds).getSize(),i=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),Z(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=qi("path");t.options.className&&M(e,t.options.className),t.options.interactive&&M(e,"leaflet-interactive"),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){T(t._path),t.removeInteractiveTarget(t._path),delete this._layers[h(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,dt(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",e=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){fe(t._path)},_bringToBack:function(t){ge(t._path)}});function Ki(t){return b.svg||b.vml?new Gi(t):null}b.vml&&Gi.include(zt),A.include({getRenderer:function(t){t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer());return this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e)},_createRenderer:function(t){return this.options.preferCanvas&&Ui(t)||Ki(t)}});var Yi=xi.extend({initialize:function(t,e){xi.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=g(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Gi.create=qi,Gi.pointsToPath=dt,wi.geometryToLayer=bi,wi.coordsToLatLng=Li,wi.coordsToLatLngs=Ti,wi.latLngToCoords=Mi,wi.latLngsToCoords=zi,wi.getFeature=Ci,wi.asFeature=Zi,A.mergeOptions({boxZoom:!0});var _t=n.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){S(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){k(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){T(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),re(),Le(),this._startPoint=this._map.mouseEventToContainerPoint(t),S(document,{contextmenu:Re,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=P("div","leaflet-zoom-box",this._container),M(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var t=new f(this._point,this._startPoint),e=t.getSize();Z(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(T(this._box),z(this._container,"leaflet-crosshair")),ae(),Te(),k(document,{contextmenu:Re,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0),t=new s(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})))},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}}),Ct=(A.addInitHook("addHandler","boxZoom",_t),A.mergeOptions({doubleClickZoom:!0}),n.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,i=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}})),Zt=(A.addInitHook("addHandler","doubleClickZoom",Ct),A.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),n.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new Xe(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),M(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){z(this._map._container,"leaflet-grab"),z(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=g(this._map.options.maxBounds),this._offsetLimit=_(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,i;this._map.options.inertia&&(e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(i),this._times.push(e),this._prunePositions(e)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){var t,e;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit,t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,n=(n+e+i)%t-e-i,t=Math.abs(o+i)<Math.abs(n+i)?o:n;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,i,n,o,s=this._map,r=s.options,a=!r.inertia||t.noInertia||this._times.length<2;s.fire("dragend",t),!a&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,e=r.easeLinearity,a=(t=t.multiplyBy(e/a)).distanceTo([0,0]),i=Math.min(r.inertiaMaxSpeed,a),t=t.multiplyBy(i/a),n=i/(r.inertiaDeceleration*e),(o=t.multiplyBy(-n/2).round()).x||o.y)?(o=s._limitOffset(o,s.options.maxBounds),x(function(){s.panBy(o,{duration:n,easeLinearity:e,noMoveStart:!0,animate:!0})})):s.fire("moveend")}})),St=(A.addInitHook("addHandler","dragging",Zt),A.mergeOptions({keyboard:!0,keyboardPanDelta:80}),n.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),S(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),k(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){var t,e,i;this._focused||(i=document.body,t=document.documentElement,e=i.scrollTop||t.scrollTop,i=i.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(i,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},i=this.keyCodes,n=0,o=i.left.length;n<o;n++)e[i.left[n]]=[-1*t,0];for(n=0,o=i.right.length;n<o;n++)e[i.right[n]]=[t,0];for(n=0,o=i.down.length;n<o;n++)e[i.down[n]]=[0,t];for(n=0,o=i.up.length;n<o;n++)e[i.up[n]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},i=this.keyCodes,n=0,o=i.zoomIn.length;n<o;n++)e[i.zoomIn[n]]=t;for(n=0,o=i.zoomOut.length;n<o;n++)e[i.zoomOut[n]]=-t},_addHooks:function(){S(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){k(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i,n=t.keyCode,o=this._map;if(n in this._panKeys)o._panAnim&&o._panAnim._inProgress||(i=this._panKeys[n],t.shiftKey&&(i=m(i).multiplyBy(3)),o.options.maxBounds&&(i=o._limitOffset(m(i),o.options.maxBounds)),o.options.worldCopyJump?(e=o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(i))),o.panTo(e)):o.panBy(i));else if(n in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!o._popup||!o._popup.options.closeOnEscapeKey)return;o.closePopup()}Re(t)}}})),Et=(A.addInitHook("addHandler","keyboard",St),A.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),n.extend({addHooks:function(){S(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){k(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=He(t),i=this._map.options.wheelDebounceTime,e=(this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),Math.max(i-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),e),Re(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0,n=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,i=i?Math.ceil(n/i)*i:n,n=t._limitZoom(e+(0<this._delta?i:-i))-e;this._delta=0,this._startTime=null,n&&("center"===t.options.scrollWheelZoom?t.setZoom(e+n):t.setZoomAround(this._lastMousePos,e+n))}})),kt=(A.addInitHook("addHandler","scrollWheelZoom",Et),A.mergeOptions({tapHold:b.touchNative&&b.safari&&b.mobile,tapTolerance:15}),n.extend({addHooks:function(){S(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){k(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;clearTimeout(this._holdTimeout),1===t.touches.length&&(e=t.touches[0],this._startPos=this._newPos=new p(e.clientX,e.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(S(document,"touchend",O),S(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),S(document,"touchend touchcancel contextmenu",this._cancel,this),S(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function t(){k(document,"touchend",O),k(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),k(document,"touchend touchcancel contextmenu",this._cancel,this),k(document,"touchmove",this._onMove,this)},_onMove:function(t){t=t.touches[0];this._newPos=new p(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){t=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});t._simulated=!0,e.target.dispatchEvent(t)}})),Ot=(A.addInitHook("addHandler","tapHold",kt),A.mergeOptions({touchZoom:b.touch,bounceAtZoomLimits:!0}),n.extend({addHooks:function(){M(this._map._container,"leaflet-touch-zoom"),S(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){z(this._map._container,"leaflet-touch-zoom"),k(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,i,n=this._map;!t.touches||2!==t.touches.length||n._animatingZoom||this._zooming||(e=n.mouseEventToContainerPoint(t.touches[0]),i=n.mouseEventToContainerPoint(t.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(e.add(i)._divideBy(2))),this._startDist=e.distanceTo(i),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),S(document,"touchmove",this._onTouchMove,this),S(document,"touchend touchcancel",this._onTouchEnd,this),O(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{i=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===i.x&&0===i.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),r(this._animRequest);n=a(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=x(n,this,!0),O(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,r(this._animRequest),k(document,"touchmove",this._onTouchMove,this),k(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}})),Xi=(A.addInitHook("addHandler","touchZoom",Ot),A.BoxZoom=_t,A.DoubleClickZoom=Ct,A.Drag=Zt,A.Keyboard=St,A.ScrollWheelZoom=Et,A.TapHold=kt,A.TouchZoom=Ot,t.Bounds=f,t.Browser=b,t.CRS=ot,t.Canvas=Fi,t.Circle=vi,t.CircleMarker=gi,t.Class=et,t.Control=B,t.DivIcon=Ri,t.DivOverlay=Ai,t.DomEvent=mt,t.DomUtil=pt,t.Draggable=Xe,t.Evented=it,t.FeatureGroup=ci,t.GeoJSON=wi,t.GridLayer=Ni,t.Handler=n,t.Icon=di,t.ImageOverlay=Ei,t.LatLng=v,t.LatLngBounds=s,t.Layer=o,t.LayerGroup=ui,t.LineUtil=vt,t.Map=A,t.Marker=mi,t.Mixin=ft,t.Path=fi,t.Point=p,t.PolyUtil=gt,t.Polygon=xi,t.Polyline=yi,t.Popup=Bi,t.PosAnimation=Fe,t.Projection=wt,t.Rectangle=Yi,t.Renderer=Wi,t.SVG=Gi,t.SVGOverlay=Oi,t.TileLayer=Di,t.Tooltip=Ii,t.Transformation=at,t.Util=tt,t.VideoOverlay=ki,t.bind=a,t.bounds=_,t.canvas=Ui,t.circle=function(t,e,i){return new vi(t,e,i)},t.circleMarker=function(t,e){return new gi(t,e)},t.control=Ue,t.divIcon=function(t){return new Ri(t)},t.extend=l,t.featureGroup=function(t,e){return new ci(t,e)},t.geoJSON=Si,t.geoJson=Mt,t.gridLayer=function(t){return new Ni(t)},t.icon=function(t){return new di(t)},t.imageOverlay=function(t,e,i){return new Ei(t,e,i)},t.latLng=w,t.latLngBounds=g,t.layerGroup=function(t,e){return new ui(t,e)},t.map=function(t,e){return new A(t,e)},t.marker=function(t,e){return new mi(t,e)},t.point=m,t.polygon=function(t,e){return new xi(t,e)},t.polyline=function(t,e){return new yi(t,e)},t.popup=function(t,e){return new Bi(t,e)},t.rectangle=function(t,e){return new Yi(t,e)},t.setOptions=c,t.stamp=h,t.svg=Ki,t.svgOverlay=function(t,e,i){return new Oi(t,e,i)},t.tileLayer=ji,t.tooltip=function(t,e){return new Ii(t,e)},t.transformation=ht,t.version="1.9.4",t.videoOverlay=function(t,e,i){return new ki(t,e,i)},window.L);t.noConflict=function(){return window.L=Xi,this},window.L=t}); //# sourceMappingURL=leaflet.js.maplocation/vendor/assets/leaflet/leaflet/dist/leaflet.css000060400000034726151664164510017315 0ustar00/* required styles */ .leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; } .leaflet-container { overflow: hidden; } .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none; } /* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::selection { background: transparent; } /* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } /* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; } .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg { max-width: none !important; max-height: none !important; } .leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, .leaflet-container .leaflet-tile-pane img, .leaflet-container img.leaflet-image-layer, .leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; width: auto; padding: 0; } .leaflet-container img.leaflet-tile { /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */ mix-blend-mode: plus-lighter; } .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } .leaflet-container { -webkit-tap-highlight-color: transparent; } .leaflet-container a { -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); } .leaflet-tile { filter: inherit; visibility: hidden; } .leaflet-tile-loaded { visibility: inherit; } .leaflet-zoom-box { width: 0; height: 0; -moz-box-sizing: border-box; box-sizing: border-box; z-index: 800; } /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } .leaflet-pane { z-index: 400; } .leaflet-tile-pane { z-index: 200; } .leaflet-overlay-pane { z-index: 400; } .leaflet-shadow-pane { z-index: 500; } .leaflet-marker-pane { z-index: 600; } .leaflet-tooltip-pane { z-index: 650; } .leaflet-popup-pane { z-index: 700; } .leaflet-map-pane canvas { z-index: 100; } .leaflet-map-pane svg { z-index: 200; } .leaflet-vml-shape { width: 1px; height: 1px; } .lvml { behavior: url(#default#VML); display: inline-block; position: absolute; } /* control positioning */ .leaflet-control { position: relative; z-index: 800; pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } .leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } .leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; } .leaflet-control { float: left; clear: both; } .leaflet-right .leaflet-control { float: right; } .leaflet-top .leaflet-control { margin-top: 10px; } .leaflet-bottom .leaflet-control { margin-bottom: 10px; } .leaflet-left .leaflet-control { margin-left: 10px; } .leaflet-right .leaflet-control { margin-right: 10px; } /* zoom and fade animations */ .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; -moz-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } .leaflet-zoom-animated { -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; } svg.leaflet-zoom-animated { will-change: transform; } .leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); transition: transform 0.25s cubic-bezier(0,0,0.25,1); } .leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile { -webkit-transition: none; -moz-transition: none; transition: none; } .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } /* cursors */ .leaflet-interactive { cursor: pointer; } .leaflet-grab { cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } .leaflet-popup-pane, .leaflet-control { cursor: auto; } .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { cursor: move; cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } /* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } .leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } /* visual tweaks */ .leaflet-container { background: #ddd; outline-offset: 1px; } .leaflet-container a { color: #0078A8; } .leaflet-zoom-box { border: 2px dotted #38f; background: rgba(255,255,255,0.5); } /* general typography */ .leaflet-container { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12px; font-size: 0.75rem; line-height: 1.5; } /* general toolbar styles */ .leaflet-bar { box-shadow: 0 1px 5px rgba(0,0,0,0.65); border-radius: 4px; } .leaflet-bar a { background-color: #fff; border-bottom: 1px solid #ccc; width: 26px; height: 26px; line-height: 26px; display: block; text-align: center; text-decoration: none; color: black; } .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } .leaflet-bar a:hover, .leaflet-bar a:focus { background-color: #f4f4f4; } .leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } .leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; } .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } .leaflet-touch .leaflet-bar a:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; } .leaflet-touch .leaflet-bar a:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } /* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: bold 18px 'Lucida Console', Monaco, monospace; text-indent: 1px; } .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } /* layers control */ .leaflet-control-layers { box-shadow: 0 1px 5px rgba(0,0,0,0.4); background: #fff; border-radius: 5px; } .leaflet-control-layers-toggle { background-image: url(images/layers.png); width: 36px; height: 36px; } .leaflet-retina .leaflet-control-layers-toggle { background-image: url(images/layers-2x.png); background-size: 26px 26px; } .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } .leaflet-control-layers .leaflet-control-layers-list, .leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } .leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background: #fff; } .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; } .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } .leaflet-control-layers label { display: block; font-size: 13px; font-size: 1.08333em; } .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; } /* Default icon URLs */ .leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */ background-image: url(images/marker-icon.png); } /* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background: #fff; background: rgba(255, 255, 255, 0.8); margin: 0; } .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; line-height: 1.4; } .leaflet-control-attribution a { text-decoration: none; } .leaflet-control-attribution a:hover, .leaflet-control-attribution a:focus { text-decoration: underline; } .leaflet-attribution-flag { display: inline !important; vertical-align: baseline !important; width: 1em; height: 0.6669em; } .leaflet-left .leaflet-control-scale { margin-left: 5px; } .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } .leaflet-control-scale-line { border: 2px solid #777; border-top: none; line-height: 1.1; padding: 2px 5px 1px; white-space: nowrap; -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(255, 255, 255, 0.8); text-shadow: 1px 1px #fff; } .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } .leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { box-shadow: none; } .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { border: 2px solid rgba(0,0,0,0.2); background-clip: padding-box; } /* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } .leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 12px; } .leaflet-popup-content { margin: 13px 24px 13px 20px; line-height: 1.3; font-size: 13px; font-size: 1.08333em; min-height: 1px; } .leaflet-popup-content p { margin: 17px 0; margin: 1.3em 0; } .leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-top: -1px; margin-left: -20px; overflow: hidden; pointer-events: none; } .leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; pointer-events: auto; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: white; color: #333; box-shadow: 0 3px 14px rgba(0,0,0,0.4); } .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; right: 0; border: none; text-align: center; width: 24px; height: 24px; font: 16px/24px Tahoma, Verdana, sans-serif; color: #757575; text-decoration: none; background: transparent; } .leaflet-container a.leaflet-popup-close-button:hover, .leaflet-container a.leaflet-popup-close-button:focus { color: #585858; } .leaflet-popup-scrolled { overflow: auto; } .leaflet-oldie .leaflet-popup-content-wrapper { -ms-zoom: 1; } .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } .leaflet-oldie .leaflet-control-zoom, .leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } /* div icon */ .leaflet-div-icon { background: #fff; border: 1px solid #666; } /* Tooltip */ /* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; background-color: #fff; border: 1px solid #fff; border-radius: 3px; color: #222; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; box-shadow: 0 1px 3px rgba(0,0,0,0.4); } .leaflet-tooltip.leaflet-interactive { cursor: pointer; pointer-events: auto; } .leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } /* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } .leaflet-tooltip-top { margin-top: -6px; } .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { left: 50%; margin-left: -6px; } .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: #fff; } .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-left: -6px; border-bottom-color: #fff; } .leaflet-tooltip-left { margin-left: -6px; } .leaflet-tooltip-right { margin-left: 6px; } .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } .leaflet-tooltip-left:before { right: 0; margin-right: -12px; border-left-color: #fff; } .leaflet-tooltip-right:before { left: 0; margin-left: -12px; border-right-color: #fff; } /* Printing */ @media print { /* Prevent printers from removing background-images of controls. */ .leaflet-control { -webkit-print-color-adjust: exact; print-color-adjust: exact; } } location/vendor/assets/leaflet/leaflet/dist/images/layers.png000060400000001270151664164510020425 0ustar00�PNG IHDRC�EIDATx�T3x$�=�ݡ<W)ϪN]�S�:ob��=ƶ��ì�,cOζ1��:N��y��x$8|�>��y��}����b��W'�"L�㯲��>�Mz��O.��� /�8/�B�9Cq�䮣��Ɨ� 0�2Ӿ�ޖ�ƭ��pч9����?�p�>ᝬ>���J١v{�h���L���/��8��n);(�pa�u�T�a�Y��ߤ�e��3�6\����و�M�_�2'ƿ<m���R�Z%!�\(� l93�~��I��U��r���DV)�Bפ;����#�ƻ��7�'5�\Z��NJ�Ԛ�4b7�b0����1%���CKм S��ɔ���D&b*�E��$�b)3U��rM�������&4c8�a�%�KS81V��1Z�����;ʙ8� 1�އy�Մ��'�Fj8�8䆸s� U�+�/�μ�֪FAm��H�$G�{���e����������E�lN��$�!&��� �C�����HB1�Rk�%�ES(1V�l�[1����aP�+>[O4��u�P��'�-J<��=�n0������&Ԡu���0� ����v�����@�3�6Ȁ��#����~ZN�L�t±%��`xz��jL�F�K����*�3��6)����IEND�B`�location/vendor/assets/leaflet/leaflet/dist/images/marker-shadow.png000060400000001152151664164510021671 0ustar00�PNG IHDR))i�}1IDATx�҅��@� 3��33� s�Ҕ������p�T~�N��ܐ7d����~��_������"cP\� �W��Aq�4�^ �W�$Aq�C�Q�_�R�Cfd7&�d՚�H͞_i�8�H�n���I���0bG�i(#T!�F1� 2�o�D$G��)��ɸ��*��� /��etԀZ�P��Hu����r�e��Q��-��ʘ"��~���aK,�Y��vG%�����Q������t���+˜Sd+^�Q�/0&�����MM�<�8����k̸��$��M ��c�.� u$G��:I�q�}��i�D\ȷ�Dt�~�@���jKe��W�zRB�p�8�|�\Ŕ�$�zR��%)�C9���fR(E�W@���],WK!����~�Rt��r�H�A˄���P�À�a{�Ad$ٱ�+(R�g��Z��dG" \��4��b�'|�|&y$�):0"�q!�P�;>�彁_ِ3����L5N��=�S� ����@`D� �h���c�Ƨ��ġaM^�q����#�R�t�_�3�8�@bIEND�B`�location/vendor/assets/leaflet/leaflet/dist/images/layers-2x.png000060400000002353151664164510020757 0ustar00�PNG IHDR44oq�`�IDATxb�O'H��J�JV:X4�vW?����m��x�����bM�����;��?厙ˡr%g�uPp���1oI�0f��w����s1��B��.\k���xvS�QGwRw�QǦ��ޒ����B�ydHu�i!��y(���m\oP�mDz��64�!����k������0�Y� ��*Op͜�P�+9��{���ș��T�����t��V.ݞ�6�!�w�ڮdY]��yg��.��\���fB����Q}�HԖ���m�R�1JF���Z���3���bX~_g��Yk �>ܾ�]>ck�����(ߍ��n��ݶ}y�!�E�g�S�������=��>��fr�*K4��R��墚v���e��Y�CL˖f����� �R������e�M�,��k&#n��V.G�[ޤ92�D��S�x{���z��)�,����@���)I$�@�b�F��Π���4O�H��%֕�� m%���X��K�yэ��"-��@Xyvt#���ϻw����TL�I�aa�[ҹ�@��n�� -�� ��M{&�[���j) Oݦ���ԡ�vXY�Ц<�q�ʲs����q�~G��1�B,�{5 �Mv� '� ��T��w,�J/B� ,E�fJ9A�ts�������ڶ�A�QՈ!���>v���I�kC��m��9���!s�g�yܙ��"v��l�S/rt)�\m�!a �B��H �%v��ۘ���tI�ќk�_SV�}����;�0���p�>��2{�`EjG�< 3�"��!���� գ�4bH�A=�BE.bA��"�n�DZҠpqS.7�.����C��j��am�<��07+zL�<nQGj���e���� �B8BaG��ii�D(']�`l̻���B:m�Va�6�!�!#LF�fvVpR�Jo��2G��Q��M�E�2��>�*^�2j$�=��#���stcYY�e�-I�cD3�Xeg�0RX;� sD}Y[�����z�߃�9eo��8��P�9�b(a"-�v��_I��brKL�P�Х��CT L�E���NsK=2��}F:!숲w8*fBk���n�l�-t�I�w~�a�� N�IwL�A����&�JF�9-�zn�ϰ愙�2Ňes��h��9arZ�>$'LJKP�D�DZ�6$&��!�0 �mH$̔s����q�C�IEND�B`�location/vendor/assets/leaflet/leaflet/dist/images/marker-icon-2x.png000060400000004640151664164510021670 0ustar00�PNG IHDR2R!w��PLTELiq3y�6�8��7��.k�3x�<��7��8��7��4��6~�4u�.l�6��0w�3x�6��-w�1t�.k�5~�6�2u�4{�6~�5|�5z�7��.l�-k�1t�5�2u�2u�1s�.l�/l�0q�.m�0p�.m�.l�2v�2t�1j�.l�-l�.m�.l�/l�.l�/m�.l�-l�-m�.l�6�.l�+m�.l�.l�.k�7��4~�.l�.l�D��0��:��/��.��.��A��-��+��+��:��*��<��=��-��)��(��;��'��'�%~�8��$}�9��#|�8��!{�5~�;�� z�6��y�3|�(~�x�4��w�6��1x�v�u�1x�&}�3��/u�1��3��1��0�1��.t�/}�.r�T��N��5|�0q�/o�4z�P��3x�W��\��2t�V��Y��J��E��0p�Q��N��K����>��^��3w�[��G��6�G��B��2v�\��=��7��=��3y�P��7}�:�<��1s�7y�2s�H��L��R��R��M��O��E��T��Y��J��<��9��={�G��A��7��A��C��0q�s��8��J��6��N��;��K��5��=��8��?��4z�J��E��D�����H��B��I��F��A��2��U��/n�:����~�����?��G��F�У��B�����X��D�ϥ��1��G��>�е��K���������7�����?��S��N��R��d�����_��c��@��G��F��@��]��S��^��B�����4�̴��`��8�͍��C��3��^]��CtRNS7So����D&��a�����,���Ǐ�w�����>G���j��w��6�$\�R0Ħ���� �IDATx^���rG�^�!D �Ʈ cpI/��x���qs�9'�s�䜃s��³�� ��SS��3�ӻ����9T�~���_�tՍ��?�o-UWݼbܽe�n��s�G����_iT [:�o�˯V�]'�ީr�,_�xޔ���ڷn�d��3�3)�dZ�����&�n��9{���e�Gm1�,I�Z�tnf�xZT�5 �l6ϻ��7�-<�ؚj@U�m(����ͷXK�|v���ZuT-���.W���\��^۩ʃ;f]���$'p�|nWBg���]�� �]�5�!������]��W �$�J�i(n�����O%��INRt��ry��$/q�u��Q��u+��ܕ[*ϓ���c �=��q��c��o�������G1Y�87ݒ���r�ǘr�A+��ȉ��l���tM�|s��(����٫g�����i�D�q�8�;�T:X���� (S�Ǿ!�����iZ�����ڍד����%�߱����,� :�A��PK��0Txl6� ± �6�!Ӌ!8l�� 3�`��O)y8��@4�%`�y�P厓�Јs3�fpΩ�xb� ��Zu���\ـj�9p^�Hl�&t�s�P�S���6�y�.�0#}#̄�ox͏B��(-��AGX�l�^`d���ju�i$���ˌ:����L�EA�D���+�Ѩ���b�z���zQ�G�ѫՕ[�������m��(�ɂM�&�w*?���H�� �����A��{�'�o�9I�O�I^G��42������t/�H���� ��I.jB��/�l,�&5�W/����p*>YL�THs)��M �x�_X_<~#BQԓ���h(JX��{+2��H��(jE��]�'˲���4�Y^(E#� E����n@�m?(ھ��n| �����-�L�^9vw����d,��b� ?�����I#�8�8&��1q� C$*6�%��b�@[���)�UQu��I7'�415�o`lrM��z�Mݛ�:�N� �&�����$O�>F�ߪL��-�2����Ӫ�1B ��U�?���]��1N ���_�Pn�"�GMOp�i���[M��I�/,j�KG���)����ė�4�3��2�g�i�2���Z<Oq�0�e[1�9���12\�V�YiFZ"��(��l��QzhXQ��6Xe ��s8S��7��F�G��w����Hx�L�����wVe��d�d�j��)��|�T��{�UU��Y#��� ���"K��3:,�j �dmJ�$��|r����Z2�x�H$�O�%;=���f�u>���ٚD�K'�'�4w�~�7�'fZ6n�rЋs����eyވ8bK�2���(l�Y9�ǩ d?6e��:F�Y�3#�k,r��cD\���-f�w��'r��R~W���=��ո�)�f�ݠ{Ҿ���KE�=D�ʔ$=S�J�4=�gŃ��n����H�ݖʅB�̐�ֻ-�uED�f��J��q�Q�r�1���c`��0��Q7��y�+Q J� !��Gݚ�%��W@h3)IEND�B`�location/vendor/assets/leaflet/leaflet/dist/images/marker-icon.png000060400000002672151664164510021344 0ustar00�PNG IHDR)�����IDATx�W�cY�څ����i�k�L��c�5��dm��x���f��U�^���=�<'���2��v��nX�0E���h��v* ��#Uj���*�i�G|���F���0�Z?��i�(�,'+��*�С������y��3�����.'�5�:�8�n@��)�ȵtv8~��Ò?����Nś�l�:��h���� z1� E���ڵ�vf���E�&7�M�!>�y��3<��)��e:��d�G�ߡ��b��)����*J��.Zw�h���ѵ�>�6Ŵ�(z4Ў�M����m=��m��-{B]��#���=���\>��1(QG����G��l�O^��%VD�]w��p���+��E����6l���M�]M��lW���r�}]c����I��JV��,���D���FA�+H��J}�;>z�>��O�p�� K6{G������e�U�����Gv3.笥����X߀�3 խ���T����gF�xUt�6v.����c�wӽ5t�q�{�u=�5l��:x�ϓ�.�.��JQ�n�489$tx)�f3���O}��������牳�Jx���ArӠcB���oST�%�~���8g��نaAYY��:ڟn�P$�{3EVm��6Ϙ��� ��!���q�R�:8`��.R,���|9���I�7�q�b��/X?xH�ݫ�Ӻ�V�-�Õ��2w.-��}�a#�8?!M��F1*|�܅�һ�x�7-���;�%�3��*;y5�b����.J�/%if+U�k�8�<�O��u��"L��Z���$���A� ��͒�5�@̖��7��?*<�囎����)��ę���6/�$��j'չP��v�2�|��}���]�R̿���$u��嶀�|��S�?��D��r\h���s�- @$���y�}_����L���tܡ�M���M���N�FSX��t����91��q�x��Ep�.�U:�V�u�6F��M�ߒ�:�W�i�K���m�|s��@��Y�|�7M��$��є� I��n*�N ���ȟT�� �u�$7��G����"r�]g��(u[I<�I��-�s��,R��p��q1��tm�Q@;�q��ѿ>�ܸpj���$4�隂}��v�#���h�ˢ�^����:�*�[G;��)���뀻��i�HJ6ҝZ;]���_g'���4��E�[� aj�y���e��u��q3�K��'�������?Sk��ήJa����Ŭ��xt�]�ǹG}�G��D�i�J�g]`�;i��Q�>�"�h"�Y}yN7�_5�>0a�IEND�B`�location/vendor/assets/leaflet/leaflet/LICENSE000060400000002563151664164510015223 0ustar00BSD 2-Clause License Copyright (c) 2010-2023, Volodymyr Agafonkin Copyright (c) 2010-2011, CloudMade All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. location/fields/location.php000060400000001615151664164510012153 0ustar00<?php defined('_JEXEC') or die(); use Joomla\CMS\Factory; use Joomla\CMS\Form\FormField; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Plugin\PluginHelper; use Joomla\CMS\Uri\Uri; use Joomla\Registry\Registry; class JFormFieldLocation extends FormField { public $type = 'location'; public function getInput() { $base = Uri::root() . 'plugins/fields/location'; HTMLHelper::_('script', "{$base}/app/location.min.js", [], ['defer' => true]); $params = new Registry(PluginHelper::getPlugin('fields', 'location')->params); $params['base'] = $base; $document = Factory::getApplication()->getDocument(); $document->addScriptOptions('location', $params); $data = parent::getLayoutData(); return "<yootheme-field-location><input type=\"hidden\" name=\"{$data['name']}\" value=\"{$data['value']}\"></yootheme-field-location>"; } } location/location.xml000060400000002744151664164510010722 0ustar00<?xml version="1.0" encoding="utf-8" ?> <extension type="plugin" group="fields" method="upgrade"> <name>Fields - YOOtheme Location</name> <version>4.5.33</version> <description>Fields Location Plugin for YOOtheme Pro.</description> <creationDate>December 2025</creationDate> <copyright>Copyright (C) YOOtheme GmbH</copyright> <license>GNU General Public License</license> <author>YOOtheme</author> <authorEmail>info@yootheme.com</authorEmail> <authorUrl>https://yootheme.com</authorUrl> <scriptfile>script.php</scriptfile> <files> <filename plugin="location">location.php</filename> <folder>app</folder> <folder>fields</folder> <folder>tmpl</folder> <folder>vendor</folder> </files> <languages folder="language"> <language tag="en-GB">plg_fields_location.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="google_maps_api_key" type="text" size="40" label="Google Maps" description="Enter your <a href="https://developers.google.com/maps/web/" target="_blank">Google Maps</a> API key to use Google Maps instead of OpenStreetMap. It also enables additional options to style the colors of your maps." /> </fieldset> </fields> </config> </extension> location/location.php000060400000001454151664164510010706 0ustar00<?php use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; defined('_JEXEC') or die(); class PlgFieldsLocation extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param \stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if ($fieldNode) { Form::addFieldPath(__DIR__ . '/fields'); } return $fieldNode; } } location/tmpl/location.php000060400000000106151664164510011653 0ustar00<?php defined('_JEXEC') or die(); echo htmlentities($field->value); location/script.php000060400000001331151664164510010374 0ustar00<?php use Joomla\CMS\Factory; defined('_JEXEC') or die(); class plgFieldsLocationInstallerScript { public function install($parent) {} public function uninstall($parent) {} public function update($parent) {} public function preflight($type, $parent) {} public function postflight($type, $parent) { if (!in_array($type, ['install', 'update'])) { return; } Factory::getDbo() ->setQuery( 'UPDATE #__extensions SET ' . ($type == 'install' ? 'enabled = 1, ' : '') . "ordering = 0 WHERE type = 'plugin' AND folder = 'fields' AND element = 'location'", ) ->execute(); } } integer/integer.xml000064400000003277151664164510010402 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_integer</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_INTEGER_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Integer</namespace> <files> <folder>params</folder> <folder plugin="integer">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_integer.ini</language> <language tag="en-GB">language/en-GB/plg_fields_integer.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="multiple" type="radio" label="PLG_FIELDS_INTEGER_PARAMS_MULTIPLE_LABEL" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="first" type="number" label="PLG_FIELDS_INTEGER_PARAMS_FIRST_LABEL" default="1" filter="integer" /> <field name="last" type="number" label="PLG_FIELDS_INTEGER_PARAMS_LAST_LABEL" default="100" filter="integer" /> <field name="step" type="number" label="PLG_FIELDS_INTEGER_PARAMS_STEP_LABEL" default="1" filter="integer" /> </fieldset> </fields> </config> </extension> integer/services/provider.php000064400000002444151664164510012404 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.integer * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Integer\Extension\Integer; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Integer( $dispatcher, (array) PluginHelper::getPlugin('fields', 'integer') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; integer/src/Extension/Integer.php000064400000001053151664164510013062 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.integer * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Integer\Extension; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Integer Plugin * * @since 3.7.0 */ final class Integer extends FieldsPlugin { } integer/tmpl/integer.php000064400000000707151664164510011340 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Integer * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $value = $field->value; if ($value == '') { return; } if (is_array($value)) { $value = implode(', ', array_map('intval', $value)); } else { $value = (int) $value; } echo $value; integer/params/integer.xml000064400000001433151664164510011655 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="multiple" type="list" label="PLG_FIELDS_INTEGER_PARAMS_MULTIPLE_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="first" type="number" label="PLG_FIELDS_INTEGER_PARAMS_FIRST_LABEL" filter="integer" /> <field name="last" type="number" label="PLG_FIELDS_INTEGER_PARAMS_LAST_LABEL" filter="integer" /> <field name="step" type="number" label="PLG_FIELDS_INTEGER_PARAMS_STEP_LABEL" filter="integer" /> </fieldset> </fields> </form> url/params/url.xml000064400000002153151664164510010167 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="schemes" type="list" label="PLG_FIELDS_URL_PARAMS_SCHEMES_LABEL" multiple="true" layout="joomla.form.field.list-fancy-select" validate="options" > <option value="http">HTTP</option> <option value="https">HTTPS</option> <option value="ftp">FTP</option> <option value="ftps">FTPS</option> <option value="file">FILE</option> <option value="mailto">MAILTO</option> </field> <field name="relative" type="list" label="PLG_FIELDS_URL_PARAMS_RELATIVE_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_url" type="radio" label="PLG_FIELDS_URL_PARAMS_SHOW_URL" layout="joomla.form.field.radio.switcher" default="1" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> </fields> </form> url/src/Extension/Url.php000064400000002510151664164510011373 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.url * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Url\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Url Plugin * * @since 3.7.0 */ final class Url extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } $fieldNode->setAttribute('validate', 'url'); if (! $fieldNode->getAttribute('relative')) { $fieldNode->removeAttribute('relative'); } return $fieldNode; } } url/url.xml000064400000003270151664164510006705 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_url</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_URL_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Url</namespace> <files> <folder>params</folder> <folder plugin="url">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_url.ini</language> <language tag="en-GB">language/en-GB/plg_fields_url.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="schemes" type="list" label="PLG_FIELDS_URL_PARAMS_SCHEMES_LABEL" multiple="true" layout="joomla.form.field.list-fancy-select" validate="options" > <option value="http">HTTP</option> <option value="https">HTTPS</option> <option value="ftp">FTP</option> <option value="ftps">FTPS</option> <option value="file">FILE</option> <option value="mailto">MAILTO</option> </field> <field name="relative" type="radio" label="PLG_FIELDS_URL_PARAMS_RELATIVE_LABEL" layout="joomla.form.field.radio.switcher" default="1" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> </fields> </config> </extension> url/tmpl/url.php000064400000001414151664164510007646 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.URL * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; $value = $field->value; if ($value == '') { return; } $attributes = ''; if (!Uri::isInternal($value)) { $attributes = ' rel="nofollow noopener noreferrer" target="_blank"'; $text = Text::_('JVISIT_WEBSITE'); } else { $text = Text::_('JVISIT_LINK'); } if ($fieldParams->get('show_url', 0)) { $text = htmlspecialchars($value); } echo sprintf( '<a href="%s"%s>%s</a>', htmlspecialchars($value), $attributes, $text ); url/services/provider.php000064400000002420151664164510011543 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.url * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Url\Extension\Url; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Url( $dispatcher, (array) PluginHelper::getPlugin('fields', 'url') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; imagelist/src/Extension/Imagelist.php000064400000002522151664164510013726 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.imagelist * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Fields\Imagelist\Extension; use Joomla\CMS\Form\Form; use Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Fields Imagelist Plugin * * @since 3.7.0 */ final class Imagelist extends FieldsPlugin { /** * Transforms the field into a DOM XML element and appends it as a child on the given parent. * * @param stdClass $field The field. * @param \DOMElement $parent The field node parent. * @param Form $form The form. * * @return \DOMElement * * @since 3.7.0 */ public function onCustomFieldsPrepareDom($field, \DOMElement $parent, Form $form) { $fieldNode = parent::onCustomFieldsPrepareDom($field, $parent, $form); if (!$fieldNode) { return $fieldNode; } $fieldNode->setAttribute('hide_default', 'true'); $fieldNode->setAttribute('directory', '/images/' . $fieldNode->getAttribute('directory')); return $fieldNode; } } imagelist/params/imagelist.xml000064400000001713151664164510012520 0ustar00<?xml version="1.0" encoding="UTF-8"?> <form> <fields name="fieldparams"> <fieldset name="fieldparams"> <field name="directory" type="folderlist" label="PLG_FIELDS_IMAGELIST_PARAMS_DIRECTORY_LABEL" description="PLG_FIELDS_IMAGELIST_PARAMS_DIRECTORY_DESC" directory="images" hide_none="true" hide_default="true" recursive="true" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="/">/</option> </field> <field name="multiple" type="list" label="PLG_FIELDS_IMAGELIST_PARAMS_MULTIPLE_LABEL" filter="integer" validate="options" > <option value="">COM_FIELDS_FIELD_USE_GLOBAL</option> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="image_class" type="textarea" label="PLG_FIELDS_IMAGELIST_PARAMS_IMAGE_CLASS_LABEL" validate="CssIdentifier" /> </fieldset> </fields> </form> imagelist/tmpl/imagelist.php000064400000003035151664164510012177 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.Imagelist * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Image\Image; if ($field->value == '') { return; } $class = $fieldParams->get('image_class'); if ($class) { // space before, so if no class sprintf below works $class = ' class="' . htmlentities($class, ENT_COMPAT, 'UTF-8', true) . '"'; } $value = (array) $field->value; $buffer = ''; foreach ($value as $path) { if (!$path || $path == '-1') { continue; } $imageFilePath = htmlentities($path, ENT_COMPAT, 'UTF-8', true); if ($fieldParams->get('directory', '/') !== '/') { $imageInfo = Image::getImageFileProperties(JPATH_ROOT . '/images/' . $fieldParams->get('directory') . '/' . $imageFilePath); $buffer .= sprintf( '<img loading="lazy" width="%s" height="%s" src="images/%s/%s"%s alt="">', $imageInfo->width, $imageInfo->height, $fieldParams->get('directory'), $imageFilePath, $class ); } else { $imageInfo = Image::getImageFileProperties(JPATH_ROOT . '/images/' . $imageFilePath); $buffer .= sprintf( '<img loading="lazy" width="%s" height="%s" src="images/%s"%s>', $imageInfo->width, $imageInfo->height, $imageFilePath, $class ); } } echo $buffer; imagelist/services/provider.php000064400000002456151664164510012730 0ustar00<?php /** * @package Joomla.Plugin * @subpackage Fields.imagelist * * @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Extension\PluginInterface; use Joomla\CMS\Factory; use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Imagelist\Extension\Imagelist; return new class () implements ServiceProviderInterface { /** * Registers the service provider with a DI container. * * @param Container $container The DI container. * * @return void * * @since 4.3.0 */ public function register(Container $container) { $container->set( PluginInterface::class, function (Container $container) { $dispatcher = $container->get(DispatcherInterface::class); $plugin = new Imagelist( $dispatcher, (array) PluginHelper::getPlugin('fields', 'imagelist') ); $plugin->setApplication(Factory::getApplication()); return $plugin; } ); } }; imagelist/imagelist.xml000064400000003436151664164510011241 0ustar00<?xml version="1.0" encoding="UTF-8"?> <extension type="plugin" group="fields" method="upgrade"> <name>plg_fields_imagelist</name> <author>Joomla! Project</author> <creationDate>2016-03</creationDate> <copyright>(C) 2016 Open Source Matters, Inc.</copyright> <license>GNU General Public License version 2 or later; see LICENSE.txt</license> <authorEmail>admin@joomla.org</authorEmail> <authorUrl>www.joomla.org</authorUrl> <version>3.7.0</version> <description>PLG_FIELDS_IMAGELIST_XML_DESCRIPTION</description> <namespace path="src">Joomla\Plugin\Fields\Imagelist</namespace> <files> <folder>params</folder> <folder plugin="imagelist">services</folder> <folder>src</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">language/en-GB/plg_fields_imagelist.ini</language> <language tag="en-GB">language/en-GB/plg_fields_imagelist.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="basic"> <field name="directory" type="folderlist" label="PLG_FIELDS_IMAGELIST_PARAMS_DIRECTORY_LABEL" description="PLG_FIELDS_IMAGELIST_PARAMS_DIRECTORY_DESC" directory="images" hide_none="true" hide_default="true" recursive="true" default="/" validate="options" > <option value="/">/</option> </field> <field name="multiple" type="radio" label="PLG_FIELDS_IMAGELIST_PARAMS_MULTIPLE_LABEL" layout="joomla.form.field.radio.switcher" default="0" filter="integer" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="image_class" type="textarea" label="PLG_FIELDS_IMAGELIST_PARAMS_IMAGE_CLASS_LABEL" validate="CssIdentifier" /> </fieldset> </fields> </config> </extension>
/home/opticamezl/www/newok/07d6c/./../media/mod_quickicon/../../c610a/../logs/../fields.tar