diff --git a/bundle/Controller/Configuration.php b/bundle/Controller/Configuration.php index 73a3346c..9c07ba4d 100644 --- a/bundle/Controller/Configuration.php +++ b/bundle/Controller/Configuration.php @@ -4,12 +4,12 @@ namespace Netgen\Bundle\RemoteMediaBundle\Controller; +use Netgen\Bundle\RemoteMediaBundle\Translation\VueTranslations; use Netgen\RemoteMedia\Core\Provider\Cloudinary\CloudinaryProvider; use Netgen\RemoteMedia\Core\Resolver\Variation as VariationResolver; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\RouterInterface; -use Symfony\Contracts\Translation\TranslatorInterface; use function array_keys; @@ -17,7 +17,7 @@ final class Configuration { public function __construct( private readonly RouterInterface $router, - private readonly TranslatorInterface $translator, + private readonly VueTranslations $vueTranslations, private readonly VariationResolver $variationResolver, private readonly string $folderMode, private readonly bool $useAssetFolderAsPublicIdPrefix, @@ -27,7 +27,7 @@ public function __invoke(Request $request): JsonResponse { return new JsonResponse([ 'paths' => $this->resolvePaths(), - 'translations' => $this->resolveTranslations(), + 'translations' => $this->vueTranslations->translate(), 'availableVariations' => $this->resolveAvailableVariations($request), 'allVariations' => $this->resolveAllVariations($request), 'uploadContext' => $this->resolveUploadContext($request), @@ -46,106 +46,6 @@ private function resolvePaths(): array ]; } - private function resolveTranslations(): array - { - return [ - 'browse_title' => $this->translator->trans('ngrm.edit.vue.browse.title', [], 'ngremotemedia'), - 'browse_select_type' => $this->translator->trans('ngrm.edit.vue.browse.facets.select_type', [], 'ngremotemedia'), - 'browse_loading_types' => $this->translator->trans('ngrm.edit.vue.browse.facets.loading_types', [], 'ngremotemedia'), - 'browse_all_types' => $this->translator->trans('ngrm.edit.vue.browse.facets.all_types', [], 'ngremotemedia'), - 'browse_select_folder' => $this->translator->trans('ngrm.edit.vue.browse.facets.select_folder', [], 'ngremotemedia'), - 'browse_loading_folders' => $this->translator->trans('ngrm.edit.vue.browse.facets.loading_folders', [], 'ngremotemedia'), - 'browse_all_folders' => $this->translator->trans('ngrm.edit.vue.browse.facets.all_folders', [], 'ngremotemedia'), - 'browse_select_tag' => $this->translator->trans('ngrm.edit.vue.browse.facets.select_tag', [], 'ngremotemedia'), - 'browse_loading_tags' => $this->translator->trans('ngrm.edit.vue.browse.facets.loading_tags', [], 'ngremotemedia'), - 'browse_all_tags' => $this->translator->trans('ngrm.edit.vue.browse.facets.all_tags', [], 'ngremotemedia'), - 'browse_select_visibility' => $this->translator->trans('ngrm.edit.vue.browse.facets.select_visibility', [], 'ngremotemedia'), - 'browse_loading_visibilities' => $this->translator->trans('ngrm.edit.vue.browse.facets.loading_visibilities', [], 'ngremotemedia'), - 'browse_all_visibilities' => $this->translator->trans('ngrm.edit.vue.browse.facets.all_visibilities', [], 'ngremotemedia'), - 'search' => $this->translator->trans('ngrm.edit.vue.browse.facets.search', [], 'ngremotemedia'), - 'search_placeholder' => $this->translator->trans('ngrm.edit.vue.browse.facets.search_placeholder', [], 'ngremotemedia'), - 'browse_empty_folder' => $this->translator->trans('ngrm.edit.vue.browse.empty_folder', [], 'ngremotemedia'), - 'browse_empty_folder_hint' => $this->translator->trans('ngrm.edit.vue.browse.empty_folder_hint', [], 'ngremotemedia'), - 'browse_select' => $this->translator->trans('ngrm.edit.vue.browse.select', [], 'ngremotemedia'), - 'load_more' => $this->translator->trans('ngrm.edit.vue.browse.load_more', [], 'ngremotemedia'), - 'crop_modal_title' => $this->translator->trans('ngrm.edit.vue.crop.modal_title', [], 'ngremotemedia'), - 'crop_reset' => $this->translator->trans('ngrm.edit.vue.crop.reset', [], 'ngremotemedia'), - 'crop_apply' => $this->translator->trans('ngrm.edit.vue.crop.apply', [], 'ngremotemedia'), - 'crop_cancel' => $this->translator->trans('ngrm.edit.vue.crop.cancel', [], 'ngremotemedia'), - 'crop_add' => $this->translator->trans('ngrm.edit.vue.crop.add', [], 'ngremotemedia'), - 'crop_preview' => $this->translator->trans('ngrm.edit.vue.crop.preview', [], 'ngremotemedia'), - 'crop_save_sizes' => $this->translator->trans('ngrm.edit.vue.crop.save_sizes', [], 'ngremotemedia'), - 'crop_add_size' => $this->translator->trans('ngrm.edit.vue.crop.add_size', [], 'ngremotemedia'), - 'crop_added_for_confirmation' => $this->translator->trans('ngrm.edit.vue.crop.added_for_confirmation', [], 'ngremotemedia'), - 'crop_media_too_small' => $this->translator->trans('ngrm.edit.vue.crop.media_too_small', [], 'ngremotemedia'), - 'media_gallery_empty_folder' => $this->translator->trans('ngrm.edit.vue.media_gallery.empty_folder', [], 'ngremotemedia'), - 'media_gallery_upload_media' => $this->translator->trans('ngrm.edit.vue.media_gallery.upload_media', [], 'ngremotemedia'), - 'media_gallery_select' => $this->translator->trans('ngrm.edit.vue.media_gallery.select', [], 'ngremotemedia'), - 'media_gallery_load_more' => $this->translator->trans('ngrm.edit.vue.media_gallery.load_more', [], 'ngremotemedia'), - 'Search for media' => $this->translator->trans('Search for media', [], 'ngremotemedia'), - 'Load more' => $this->translator->trans('Load more', [], 'ngremotemedia'), - 'Upload new media' => $this->translator->trans('Upload new media', [], 'ngremotemedia'), - 'No results' => $this->translator->trans('No results', [], 'ngremotemedia'), - 'Alternate text' => $this->translator->trans('Alternate text', [], 'ngremotemedia'), - 'Class' => $this->translator->trans('CSS class', [], 'ngremotemedia'), - 'Create new folder?' => $this->translator->trans('Create new folder?', [], 'ngremotemedia'), - 'Folder' => $this->translator->trans('Folder', [], 'ngremotemedia'), - 'All' => $this->translator->trans('All', [], 'ngremotemedia'), - 'Add tag' => $this->translator->trans('Add tag', [], 'ngremotemedia'), - 'Media type' => $this->translator->trans('Media type', [], 'ngremotemedia'), - 'Image' => $this->translator->trans('Image and documents', [], 'ngremotemedia'), - 'Video' => $this->translator->trans('Video', [], 'ngremotemedia'), - 'Loading...' => $this->translator->trans('Loading...', [], 'ngremotemedia'), - 'Cancel' => $this->translator->trans('Cancel', [], 'ngremotemedia'), - 'Save all' => $this->translator->trans('Save all', [], 'ngremotemedia'), - 'Generate' => $this->translator->trans('Generate', [], 'ngremotemedia'), - 'Caption' => $this->translator->trans('Caption', [], 'ngremotemedia'), - 'by' => $this->translator->trans('by', [], 'ngremotemedia'), - 'name' => $this->translator->trans('name', [], 'ngremotemedia'), - 'tag' => $this->translator->trans('tag', [], 'ngremotemedia'), - 'Image is to small for this version' => $this->translator->trans('Image is to small for this version', [], 'ngremotemedia'), - 'close' => $this->translator->trans('Close', [], 'ngremotemedia'), - 'next' => $this->translator->trans('Next 25 >', [], 'ngremotemedia'), - 'prev' => $this->translator->trans('< Previous 25', [], 'ngremotemedia'), - 'interactions_scale' => $this->translator->trans('ngrm.edit.vue.interactions.scale', [], 'ngremotemedia'), - 'interactions_no_media_selected' => $this->translator->trans('ngrm.edit.vue.interactions.no_media_selected', [], 'ngremotemedia'), - 'interactions_remove_media' => $this->translator->trans('ngrm.edit.vue.interactions.remove_media', [], 'ngremotemedia'), - 'interactions_select_media' => $this->translator->trans('ngrm.edit.vue.interactions.select_media', [], 'ngremotemedia'), - 'interactions_manage_media' => $this->translator->trans('ngrm.edit.vue.interactions.manage_media', [], 'ngremotemedia'), - 'interactions_quick_upload' => $this->translator->trans('ngrm.edit.vue.interactions.quick_upload', [], 'ngremotemedia'), - 'preview_alternate_text' => $this->translator->trans('ngrm.edit.vue.preview.alternate_text', [], 'ngremotemedia'), - 'preview_alternate_text_info' => $this->translator->trans('ngrm.edit.vue.preview.alternate_text_info', [], 'ngremotemedia'), - 'preview_caption' => $this->translator->trans('ngrm.edit.vue.preview.caption', [], 'ngremotemedia'), - 'preview_caption_info' => $this->translator->trans('ngrm.edit.vue.preview.caption_info', [], 'ngremotemedia'), - 'preview_alternate_text_override' => $this->translator->trans('ngrm.edit.vue.preview.alternate_text_override', [], 'ngremotemedia'), - 'preview_alternate_text_override_info' => $this->translator->trans('ngrm.edit.vue.preview.alternate_text_override_info', [], 'ngremotemedia'), - 'preview_caption_override' => $this->translator->trans('ngrm.edit.vue.preview.caption_override', [], 'ngremotemedia'), - 'preview_caption_override_info' => $this->translator->trans('ngrm.edit.vue.preview.caption_override_info', [], 'ngremotemedia'), - 'preview_tags' => $this->translator->trans('ngrm.edit.vue.preview.tags', [], 'ngremotemedia'), - 'preview_tags_info' => $this->translator->trans('ngrm.edit.vue.preview.tags_info', [], 'ngremotemedia'), - 'preview_watermark_text' => $this->translator->trans('ngrm.edit.vue.preview.watermark_text', [], 'ngremotemedia'), - 'preview_watermark_text_info' => $this->translator->trans('ngrm.edit.vue.preview.watermark_text_info', [], 'ngremotemedia'), - 'preview_css_class' => $this->translator->trans('ngrm.edit.vue.preview.css_class', [], 'ngremotemedia'), - 'preview_css_class_info' => $this->translator->trans('ngrm.edit.vue.preview.css_class_info', [], 'ngremotemedia'), - 'preview_selected_variation' => $this->translator->trans('ngrm.edit.vue.preview.selected_variation', [], 'ngremotemedia'), - 'preview_selected_variation_info' => $this->translator->trans('ngrm.edit.vue.preview.selected_variation_info', [], 'ngremotemedia'), - 'preview_size' => $this->translator->trans('ngrm.edit.vue.preview.size', [], 'ngremotemedia'), - 'upload_modal_title' => $this->translator->trans('ngrm.edit.vue.upload.modal_title', [], 'ngremotemedia'), - 'upload_breadcrumbs_info' => $this->translator->trans('ngrm.edit.vue.upload.breadcrumbs_info', [], 'ngremotemedia'), - 'upload_root_folder' => $this->translator->trans('ngrm.edit.vue.upload.root_folder', [], 'ngremotemedia'), - 'upload_info_text' => $this->translator->trans('ngrm.edit.vue.upload.info_text', [], 'ngremotemedia'), - 'upload_button_select' => $this->translator->trans('ngrm.edit.vue.upload.button.select', [], 'ngremotemedia'), - 'upload_button_create' => $this->translator->trans('ngrm.edit.vue.upload.button.create', [], 'ngremotemedia'), - 'upload_button_upload' => $this->translator->trans('ngrm.edit.vue.upload.button.upload', [], 'ngremotemedia'), - 'upload_button_use_existing_resource' => $this->translator->trans('ngrm.edit.vue.upload.button.use_existing_resource', [], 'ngremotemedia'), - 'upload_checkbox_overwrite' => $this->translator->trans('ngrm.edit.vue.upload.checkbox.overwrite', [], 'ngremotemedia'), - 'upload_placeholder_new_folder' => $this->translator->trans('ngrm.edit.vue.upload.placeholder.new_folder', [], 'ngremotemedia'), - 'upload_error_existing_resource' => $this->translator->trans('ngrm.edit.vue.upload.error.existing_resource', [], 'ngremotemedia'), - 'upload_error_existing_resource_in_folder' => $this->translator->trans('ngrm.edit.vue.upload.error.existing_resource_in_folder', [], 'ngremotemedia'), - 'upload_error_unsupported_resource_type' => $this->translator->trans('ngrm.edit.vue.upload.error.unsupported_resource_type', [], 'ngremotemedia'), - ]; - } - private function resolveAvailableVariations(Request $request): array { $variationGroup = $request->query->get('variationGroup'); diff --git a/bundle/Controller/Resource/Upload.php b/bundle/Controller/Resource/Upload.php index 052dbb51..682bd909 100644 --- a/bundle/Controller/Resource/Upload.php +++ b/bundle/Controller/Resource/Upload.php @@ -4,13 +4,13 @@ namespace Netgen\Bundle\RemoteMediaBundle\Controller\Resource; -use InvalidArgumentException; use Netgen\RemoteMedia\API\Factory\FileHash as FileHashFactoryInterface; use Netgen\RemoteMedia\API\ProviderInterface; use Netgen\RemoteMedia\API\Upload\FileStruct; use Netgen\RemoteMedia\API\Upload\ResourceStruct; use Netgen\RemoteMedia\API\Values\Folder; use Netgen\RemoteMedia\API\Values\RemoteResource; +use Netgen\RemoteMedia\Core\Provider\Cloudinary\CloudinaryProvider; use Netgen\RemoteMedia\Exception\RemoteResourceExistsException; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\HttpFoundation\JsonResponse; @@ -28,6 +28,8 @@ use function is_array; use function is_file; use function is_readable; +use function is_string; +use function mb_strlen; use function preg_match; use function strpos; use function strrpos; @@ -38,25 +40,49 @@ final class Upload extends AbstractController { + /** + * Highest number of characters the folder and the file name of an upload + * can have together. + * + * They become the public ID of the resource on Cloudinary, as + * "/", which can have at most 255 characters. Where + * the folder is not part of the public ID, only the file name counts. For + * images and videos the public ID has no extension, here it is counted + * in. The rest is kept for what can be added to the name: the suffix of + * unique file names and the appended extension. + * + * The upload panel checks the same limit before it sends a file. + */ + public const MAX_PATH_LENGTH = 240; + private FileHashFactoryInterface $fileHashFactory; private TranslatorInterface $translator; + /** + * Whether the folder of an upload is part of its public ID. In the dynamic + * folder mode it is only the asset folder, unless it's used as the prefix. + */ + private bool $folderInPublicId; + public function __construct( ProviderInterface $provider, FileHashFactoryInterface $fileHashFactory, TranslatorInterface $translator, + string $folderMode = CloudinaryProvider::FOLDER_MODE_FIXED, + bool $useAssetFolderAsPublicIdPrefix = false, ) { parent::__construct($provider); $this->fileHashFactory = $fileHashFactory; $this->translator = $translator; + $this->folderInPublicId = $folderMode === CloudinaryProvider::FOLDER_MODE_FIXED || $useAssetFolderAsPublicIdPrefix; } public function __invoke(Request $request): Response { if (!$request->files->has('file')) { - throw new InvalidArgumentException( + return $this->createErrorResponse( $this->translator->trans( 'ngrm.edit.vue.upload.error.missing_file', [], @@ -68,14 +94,15 @@ public function __invoke(Request $request): Response $uploadContext = $request->request->all()['upload_context'] ?? []; $uploadContext = is_array($uploadContext) ? $uploadContext : []; - $folder = $request->request->get('folder') && $request->request->get('folder') !== 'null' - ? Folder::fromPath($request->request->get('folder')) + $folderPath = $request->request->get('folder'); + $folder = is_string($folderPath) && !in_array($folderPath, ['', 'null', 'undefined', '(root)'], true) + ? Folder::fromPath($folderPath) : null; $visibility = $request->request->get('visibility', RemoteResource::VISIBILITY_PUBLIC); if (!in_array($visibility, RemoteResource::SUPPORTED_VISIBILITIES, true)) { - throw new InvalidArgumentException( + return $this->createErrorResponse( $this->translator->trans( 'ngrm.edit.vue.upload.error.invalid_visibility', [ @@ -91,7 +118,7 @@ public function __invoke(Request $request): Response $file = $request->files->get('file'); if (!$file->isFile()) { - throw new InvalidArgumentException( + return $this->createErrorResponse( $this->translator->trans( 'ngrm.edit.vue.upload.error.file_upload_failed', [], @@ -100,9 +127,27 @@ public function __invoke(Request $request): Response ); } - $md5 = $this->fileHashFactory->createHash($file->getRealPath()); $fileStruct = FileStruct::fromUploadedFile($file); + $filename = $request->request->get('filename'); + $path = ($folder instanceof Folder && $this->folderInPublicId ? $folder->getPath() . '/' : '') + . (is_string($filename) && $filename !== '' ? $filename : $fileStruct->getOriginalFilename()); + + if (mb_strlen($path) > self::MAX_PATH_LENGTH) { + return $this->createErrorResponse( + $this->translator->trans( + 'ngrm.edit.vue.upload.error.name_too_long', + [ + '%length%' => mb_strlen($path), + '%max%' => self::MAX_PATH_LENGTH, + ], + 'ngremotemedia', + ), + ); + } + + $md5 = $this->fileHashFactory->createHash($file->getRealPath()); + $resourceType = $this->isEncryptedPdf($file) ? 'raw' : 'auto'; $resourceStruct = new ResourceStruct( $fileStruct, @@ -130,6 +175,15 @@ public function __invoke(Request $request): Response return new JsonResponse($this->formatResource($resource), $httpCode); } + /** + * The message is returned as JSON, so the interface can show it also when + * the kernel is not in debug mode. + */ + private function createErrorResponse(string $message): JsonResponse + { + return new JsonResponse(['detail' => $message], Response::HTTP_BAD_REQUEST); + } + private function isEncryptedPdf(UploadedFile $file): bool { if (strtolower($file->getClientOriginalExtension()) !== 'pdf') { diff --git a/bundle/Resources/config/doctrine/RemoteResourceLocation.orm.xml b/bundle/Resources/config/doctrine/RemoteResourceLocation.orm.xml index 5fd69a5e..b51936b3 100644 --- a/bundle/Resources/config/doctrine/RemoteResourceLocation.orm.xml +++ b/bundle/Resources/config/doctrine/RemoteResourceLocation.orm.xml @@ -18,6 +18,7 @@ + diff --git a/bundle/Resources/config/services/controllers.yaml b/bundle/Resources/config/services/controllers.yaml index 5b518de7..bb9a7578 100644 --- a/bundle/Resources/config/services/controllers.yaml +++ b/bundle/Resources/config/services/controllers.yaml @@ -31,6 +31,8 @@ services: - '@netgen_remote_media.provider' - '@netgen_remote_media.factory.md5_file_hash' - '@translator' + - '%netgen_remote_media.cloudinary.folder_mode%' + - '%netgen_remote_media.cloudinary.use_asset_folder_as_public_id_prefix%' netgen_remote_media.controller.resource.view: class: Netgen\Bundle\RemoteMediaBundle\Controller\Resource\View @@ -85,7 +87,7 @@ services: public: true arguments: - '@router' - - '@translator' + - '@netgen_remote_media.translation.vue_translations' - '@netgen_remote_media.resolver.variation' - '%netgen_remote_media.cloudinary.folder_mode%' - '%netgen_remote_media.cloudinary.use_asset_folder_as_public_id_prefix%' diff --git a/bundle/Resources/config/services/form.yaml b/bundle/Resources/config/services/form.yaml index 58b7b837..f077f10f 100644 --- a/bundle/Resources/config/services/form.yaml +++ b/bundle/Resources/config/services/form.yaml @@ -10,6 +10,7 @@ services: arguments: - "@netgen_remote_media.form.data_transformer.remote_media" - "@netgen_remote_media.provider" + - "@netgen_remote_media.service.remote_resource_service" tags: - { name: form.type } diff --git a/bundle/Resources/config/services/services.yaml b/bundle/Resources/config/services/services.yaml index c31cd19b..d1f7385f 100644 --- a/bundle/Resources/config/services/services.yaml +++ b/bundle/Resources/config/services/services.yaml @@ -4,4 +4,5 @@ services: public: false arguments: - '@netgen_remote_media.provider' + - '@?logger' diff --git a/bundle/Resources/config/services/translation.yaml b/bundle/Resources/config/services/translation.yaml new file mode 100644 index 00000000..282c13b1 --- /dev/null +++ b/bundle/Resources/config/services/translation.yaml @@ -0,0 +1,7 @@ +services: + netgen_remote_media.translation.vue_translations: + class: Netgen\Bundle\RemoteMediaBundle\Translation\VueTranslations + arguments: + - "@translator" + tags: + - { name: twig.runtime } diff --git a/bundle/Resources/public/css/remotemedia-vendors.css b/bundle/Resources/public/css/remotemedia-vendors.css index 65594340..af6d2c62 100644 --- a/bundle/Resources/public/css/remotemedia-vendors.css +++ b/bundle/Resources/public/css/remotemedia-vendors.css @@ -1,12 +1,12 @@ /*! - * Cropper.js v1.5.4 + * Cropper.js v1.6.2 * https://fengyuanchen.github.io/cropperjs * * Copyright 2015-present Chen Fengyuan * Released under the MIT license * - * Date: 2019-08-03T08:38:38.177Z - */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed} + * Date: 2024-04-21T07:43:02.731Z + */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed} /*! * vue-treeselect v0.4.0 | (c) 2017-2019 Riophae Lee diff --git a/bundle/Resources/public/css/remotemedia.css b/bundle/Resources/public/css/remotemedia.css index 485d8f81..6f32aee8 100644 --- a/bundle/Resources/public/css/remotemedia.css +++ b/bundle/Resources/public/css/remotemedia.css @@ -1 +1 @@ -@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);@font-face{font-family:ngri;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBeYAAAC8AAAAYGNtYXAXVtKMAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZizrtTkAAAF4AAAO7GhlYWQPi42rAAAQZAAAADZoaGVhB8IDywAAEJwAAAAkaG10eB4AAFAAABDAAAAAKGxvY2EU0g5yAAAQ6AAAABZtYXhwAA8EiQAAEQAAAAAgbmFtZXBI7ewAABEgAAABYnBvc3QAAwAAAAAShAAAACAAAwO3AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBQPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QX//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAAEAA7/wAPyA8AAAwAVACEALwAACQEhATUiBgcBBhYzITI2JzEBLgEjMRMUBiMiJjU0NjMyFiciJj0BNDYzMhYdARQGAgABrfymAa0RHw3+SxklMwNmMyUZ/ksNHxFAJRsbJSUbGyVAGyUlGxslJQNj/KkDV10WF/yZLEBALANnFxb8wBslJRsbJSVlJRvAGyUlG8AbJQAAAAIAAP/ABAADwAJEBIYAABMxOAExFBYVFhQVFBYVFBYVHgEXHgEXHgEXHgEXFhQXFBYXHgEXFBYVFBYVHgEXHgEXHgEXHgEXHgEVHgEXHgEXHgEXHgEXHgEXHgEXHgEXHgEXHgEXHgEXMhYXMhYzHgEXHgEXHgEzHgEzHgEzHgEXMhYzMhYzMDIzHgEzMhYzOgEzFjIzFjIzMjAxHgEzMDIzMTgBMTI2MzYyMzI2MzI2Mz4BNz4BNz4BNz4BNzYyNzI2Nz4BNzI2MTI2Mz4BNz4BNz4BNz4BNz4BMz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNzQ2NT4BNz4BNzQ2NzQ2NT4BNzQ2NTQ2NTY0NTA0NT4BNTQ2NTwBNTY0NTY0NTwBMTI2NTA0NTE4ATE0JjUmNDU0JjU0JjUuAScuAScuAScuAScmNCc0JicuASc0JjU0JjUuAScuAScuAScuAScuATUuAScuAScuAScuAScuAScuAScuAScuAScuAScuASciJiciJiMuAScuAScuASMuASMuASMuASciJiMiJiMwIiMuASMiJiMqASMmIiMmIiMqASM0JiMwIiMxOAExIgYjBiIjIgYjIgYjDgEHDgEHDgEHDgEHBiIHIgYHDgEHIgYjIgYjDgEHDgEHDgEHDgEHDgEjDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHFAYHFAYVDgEHDgEHDgEVDgEVDgEVDgEHFAYVFAYVMBQVDgEVFAYVHAEVBhQVBhQVHAExDgEVMBQVNzA0MTQ2NT4BNzQ2NzQ2NT4BNzQ2MTQ2NT4BNz4BNz4BNzQ2NT4BNT4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNzI2Mz4BNz4BNzI2MzYyNzI2Mz4BMzYyMzYyMzAyMTYyNzoBMzoBNzoBMzI2MzoBMzoBMzoBMxYyMzoBMxYyMzAyMTIwOQE+ATcyMBcyFhceARcyFhcyFjMeARcyFjEyFjMeATMeARceARceATMeARceARceARcyFhceARceARceARceARceARceARceARceARcUFhUeARceARcUFhUWFBcUFhUeARUWFBUyFDEcATEWFBccARUcARccARUUFhUcARUcARUcARUGFBUcARUGFBUwFDEwFDkBHgEXMBQxDgEHDgEHFAYVDgEVDgEHFAYxFAYVDgEVDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHIgYjDgEHDgEHIgYjBiIHIgYjDgEjBiIjFCIxKgEjBiIHKgEjKgEHKgEjIgYjKgEjKgEjKgEjJiIjKgEjJiIjMCIxMCI5AQ4BByImJy4BJyImJyImIy4BJyImMSImIy4BIy4BJy4BJy4BIy4BJy4BJy4BJyImJy4BJy4BJy4BJy4BJy4BJy4BJy4BJy4BJzQmNS4BJy4BJzQmNSY0JzQmNS4BNSY0NSI0MTwBMSY0JzwBNTwBJzwBNTQmNTwBNTwBNTwBNTY0NTwBNTY0NTA0MTA0OQEuAScAAQEBAQEBAQECAQEBAQEBAQEBAQEBAgEBAQEBAQEDAQEDAgEBAQECAgQCAQQCAQIBAQMBAgQDCRUMDBkODR0ODx4PAwgEAQQCAgMCBAcEAwgDAgMCAgMCBAYEAwcDAgMBAQIBAgEDBgMCAgIBAwIDBQMDBQIBASUaAQEDBgICAgIBBAECBAIFCQUFCwUDBgMCBgQBAwIBAwIDBwMBAgECAQEEAQQHAwQHAwIDAgIDAgQHBAMHBAIDAgIDAgQHBA4cDQ0ZCwwUCgkPBwEDAgEBAQICAgEBAwEBAQEBAgECAQEBAQEBARslAQEBAQEBAQECAQEBAQEBAQEBAQEBAgEBAQEBAQEDAQEDAgEBAQECAgQCAQQCAQIBAQMBAgQDCRUMDBkODR0ODx4PAwgEAQQCAgMCBAcEAwgDAgMCAgMCBAYEAwcDAgMBAQIBAgEDBgMCAgIBAwIDBQMDBQIBAQEmGgEBAwUDAQMCAQMCAgQCBAoFBQoGAwUDAwYDAgMCAQMCAwcDAQEBAQIBAQQBBAYEAwcEAgMCAgMCBAcDBAcEAgMCAgMCBAcDDxsODRkLDBQJCRAHAQMCAgECAQMBAQIBAQEBAQECAQEBAQEBAQEBARokSgIBAQEBAQEBAgEBAQEBAQECAQEDAgIBAgIDAgEEAgEBAQECAQIEAggTCgsWDAwZDQwaDQQGAwIDAgEDAgMGBAMGAwIDAQIDAQMGAwMFAwICAgEBAQIDBQMBAwEBAwECBQMCBAMECAQEBgMBAwECAwECAwEDBQIBARcjAwEBAgUDAgYCAgICAQMBAwYCAQIBAQECAwEDBgMDBgMCAwECAwEDBwMDBgMCAwECAwIDBgMMGAwLFQoKEQgIDQUCAgEBAQECAQIBAQIBAQEBAgEBAQEBAQEBAQEBHhYBAQEBAQEBAQEBAgEBAQEBAQMBAQMBAQEBAQEBAgMBAgQBAQIBAQIBAgQCCBMKCxYMDBkMDRoNAwcDAgMBAgMCAwYDBAYDAQMCAQMCAwYDAwUDAgICAgEBAQMFAwEDAQEDAQIFAgMEAwQIBAMHAwEDAQIDAQIDAQIFAwEBFyIEAgUDAgYCAgICAQMBAwYCAQIBAQECAwEDBgMDBgMCAwECAwEDBwMDBgMCAwECAwIDBgMMGAwLFQoKEQgIDQUCAgEBAQECAQIBAQIBAQEBAgEBAQEBAQEBAQEBHxYBvgMFAwICAgEDAgIEAgUJBQUKBgMGAgMGAwIDAgEDAgMHAwEBAQECAQEEAQQHAwMHBAIDAgIDAgQHAwQHBAIDAgIDAgQHBA4cDQ0ZCwwUCgkPBwEDAgIBAgICAQECAQEBAQEBAgEBAQEBAQEBAQEaJQEBAQEBAQEBAgEBAQEBAQEBAQEBAQIBAQEBAQEBAwEBAwIBAQEBAgIEAgEEAgECAQEDAQIEAwkVDAwZDg0dDg8eDwMIBAEEAgIDAgQHBAMIAwIDAgIDAgQGBAMHAwIDAQECAQIBAwYDAgICAQMCAwUDAwUCAQEmGgEBAwUDAgICAQMCAgQCBQkFBQoGAwYCAwYDAgMCAQMCAwcDAQEBAQIBAQQBBAcDAwcEAgMCAgMCBAcDBAcEAgMCAgMCBAcEDhwNDRkLDBQKCQ8HAQMCAgECAgIBAQIBAQEBAQECAQEBAQEBAQEBARolAQEBAQEBAQECAQEBAQEBAQEBAQEBAgEBAQEBAQEDAQEDAgEBAQECAgQCAQQCAQIBAQMBAgQDCRUMDBkODR0ODx4PAwgEAQQCAgMCBAcEAwgDAgMCAgMCBAYEAwcDAgMBAQIBAgEDBgMCAgIBAwIDBQMDBQIBAQElGgEBQQECBQMCBgICAgIBAwEDBgIBAgEBAQIDAQMGAwMGAwIDAQIDAQMHAwMGAwIDAQIDAgMGAwwYDAsVCgoRCAgNBQICAQEBAQIBAgEBAgEBAQECAQEBAQEBAQEBAQEeFwEBAQEBAQEBAQECAQEBAQECAgEBAwEBAgEBAQIDAgEEAgIBAQIBAgQCCBMKCxYMDBkNDBoNBAYDAgMCAQMCAwYEAwYDAQMCAQMCAwYDAwUDAgICAgECAwUDAQMBAQMBAgUDAgQDBAgEAwcDAQMBAgMBAgMBAgUDAQEXIgQBAgUDAgYCAgICAQMBAwYCAQIBAQECAwEDBgMDBgMCAwECAwEDBwMDBgMCAwECAwIDBgMMGAwLFQoKEQgIDQUCAgEBAQECAQIBAQIBAQEBAgEBAQEBAQEBAQEBHhYBAQEBAQEBAQECAQEBAQECAgEBAwEBAgEBAQIDAgEEAgIBAQIBAgQCCBMKCxYMDBkNDBoNBAYDAgMCAQMCAwYDBAYDAQMCAQMCAwYDAwUDAgICAgECAwUDAQMBAQMBAgUDAgQDBAgEAwcDAQMBAgMBAgMBAgUDAQEXIwMAAAAAAQAC/8ID/gO+AFMAACU4ATEJATgBMT4BNzYmLwEuAQcOAQc4ATEJATgBMS4BJyYGDwEOARceARc4ATEJATgBMQ4BBwYWHwEeATc+ATc4ATEJATgBMR4BFxY2PwE+AScuAQP3/skBNwIEAQMDB5MHEgkDBgL+yf7JAgYDCRIHkwcDAwEEAgE3/skCBAEDAweTBxIJAwYCATcBNwIGAwkSB5MHAwMBBIkBNwE3AgYDCRIHkwcDAwEEAv7JATcCBAEDAweTBxIJAwYC/sn+yQIGAwkSB5MHAwMBBAIBN/7JAgQBAwMHkwcSCQMGAAABAAAAgAQAAsAAKgAAATQmJyYnLgEnJiMiBgcuASMiBhUUFhUuASMiBw4BBwYVFBceARcWMyEyNgQATDkBExNBKyoxOWEhEjcgOE4BCBEJKCQjNQ8PDw81IyQoApBIZgEuPl4OMCorPxISMSoYHE43BQoEAQIQDzQkIygoJCM1Dw9mAAAEAAAAQAQAA0AACwAXACsALwAAATQ2MzIWFRQGIyImJTQ2MzIWFRQGIyImBTU0JiMhIgYVERQWMyEyNj0BBREBITUhAYBeQkJeXkJCXv6AXkJCXl5CQl4DACYa/YAaJiYaAoAaJgEA/oD+AAIAAqBCXl5CQl5eQkJeXkJCXl7+YBomJhr+wBomJhpgoAHA/sDAAAAAAgBA/8ADwAPAABQAJgAAAREhIiY1NDYzIREhIgYVERQWMyERATE4ATEiBhUUFjM4ATkBITUhA4D9YCg4OCgCYP2ANUtLNQMA/SANExMNAmD9oANA/MA4KCg4AwBLNf0ANUsDgP1AEw0NE0AAAQAAAAEAACKXau1fDzz1AAsEAAAAAADWNiSXAAAAANY2JJcAAP/ABAADwAAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAACgQAAAAAAAAAAAAAAAIAAAAEAAAOBAAAAAQAAAIEAAAABAAAAAQAAEAAAAAAAAoAFAAeAGoGPga0BvYHQAd2AAAAAQAAAAoEhwAEAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAQAAAABAAAAAAACAAcARQABAAAAAAADAAQALQABAAAAAAAEAAQAWgABAAAAAAAFAAsADAABAAAAAAAGAAQAOQABAAAAAAAKABoAZgADAAEECQABAAgABAADAAEECQACAA4ATAADAAEECQADAAgAMQADAAEECQAEAAgAXgADAAEECQAFABYAFwADAAEECQAGAAgAPQADAAEECQAKADQAgG5ncmkAbgBnAHIAaVZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMG5ncmkAbgBnAHIAaW5ncmkAbgBnAHIAaVJlZ3VsYXIAUgBlAGcAdQBsAGEAcm5ncmkAbgBnAHIAaUZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:fa-ngrm;src:url(../fonts/fa-ngrm.eot);src:url(../fonts/fa-ngrm.eot#iefix) format("embedded-opentype"),url(data:font/woff2;base64,d09GMgABAAAAAAxoAA8AAAAAGXwAAAwQAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGVgCDYgggCZZwEQgKi3CKGAsUAAE2AiQDJAQgBYVBB2UMgQYbhRezEVWnNik52X99YBtLG6/vIiEFBu6tyFCpG78GWUGg3hQaRaMoPorfM0/ppjMup7c+Tyf20VwOLDoYzAhJZuH5smm9/7t7QJIJl8ZAPMssH0oGmVdewOiQoqsLOUeMIEiBQqUbXuSBPLNpnRRKcnRx7E04spcJyuZ289F4Tm4nNijAnKlVMwLPAP+ftleaPgRqrvIMpB8gw4b0KWE7KAW1pqJOUWa2q442vLjtorFtuwKpqoQKhYBvpi3tewAKa+QHbVGHdtIDd4aka1KA+X+/ltr3XnbnNuFrXIEDssKSrBS3P9lbDOyFNogoVMFFKIQCS1R1kans1BHaOlfnu4o38XSRfBHPg6owZIf0VyJAgn6z9NCRU5co3szeukY9CwAIZGvK5tpKliCZicWGMQj3EHua6/IWDvSBfg+81nz38h8DKSjOUNryXO7wEnGBh034zjqPlBjeVscigkMwGN3OiZEbSHUT0CXpb0jYLbEa9AcpFNybsod3CCjQjgEHK+XKufhzLgf/5xGAeMQ8UnhtUxRAgXQAAgUB5QsChi8IWL4g4PiCgOdVKBPwvR6emCBqOMraMpsOWPSIAgQfaZylZ/8Ynn+G9/YxMbyj/accq7ucUG3/B65NObB95z38AG3U42GJAQFRPA4odCh+3mDDx77dJw6OD8avPyVv3nVpcW43eeLsxHi7aPwnq1Kkt4e0P6U+B0X9Wj8T/FxGx+peaQ9IqOWlRWgt0aZRGD0EJefsEMvZ4Dkd5Rww0FhYbQ+F427CScST6LzPSAxYmDevw+pyVC5UM6tbSIzpmJOHXgjVRf8fz1rtb7Rgw14qu659nZNlL+I3CTHnIsnoWgEHfK73VP4CnuLL+zeBxBbNx0hBIu4U8CELl0ny4J91WeAbxyUfI6WMwpsF6P0eHMc179MQtvd5I6FgfzEDYrVo3DUlHYLkYgdkKdGOGBoLo6Qxkj+UJK9J8w+isxikmGteUJ/smsPJO/N5zQeKULU6zFI7ChQDiRIpPo2KW4HETFEfvmJR5UAJRKl/vHL9s650TYliFnUZUSzRAqV49jZV+zvKCxT92fdAGZ7tpWdvRpjOR7eK4OWojA6+U0rmnZEUKbEMRDXWVAyL6iJLE0Z3OcznKmM1dq9IZ42TNyR1DUcCFceQXNlMilOKpAh0EExdCbxdK67CRgjhthcv2UNQgZlKdfhtokSixiQlkhAkRhUk/S4dzzLkMXaZWt7s4sa6u5IDlajM1gNVqNKEalKoIQO1ZKGOHNSTB7vIh90UwB4Krb2YkSNtVuA+vMCIRaCBFBrJQBNZaCYHLeRBK/nQRgG0U5jZATXTEnRWKJRGDfXrQ7gzJNIxQX0wXaDT6DwFuiFN5dcZ1m7acqrrxFrO50AP/I1lSfcJWVxzmdELSKejM/ug205U++lJ5ElyAmIaO0f9eFj+wgGH7ttm7fNVa4EBqNHUiRbQv0eBQQwuNIEhukgEFLlvbBhV3XJRA01BIqpPulemNrVWad/5jEjsh7xUnV0LjACWWMUqfmlCrh91vSI13TgGozxRGiQLhJXIkCAyM3LdeC/91Kv5yM27hPn6HKOJgOqaGBdpk4LlPFJUhNhSfAllOTQM20MvXszWGa0sXDpkt1qT384Gm7Sbzgg4QXUJMTBpUUyzsGqgVmC/tdMWpzAdG1qrqwWCltDFVxszSm5gTGDpsDEueN+yZvPLbfwSAomSJkwTG1PaBCrEegnMzXhPAzXmHTpijnD+bXp66/dktRoaSJ1OtdJY0WTS1SaLDGhn7paFKB5nnMFYMAXTALAlJ6+TmjyoXb5y/cs2fdmubYZed06+/SwYMYll58CoddGLTSiTdePRclgO6OJFxFMXBWnySzM18mGbstL2b9QgjXScDP+J6ZTHbGfLlBsb23R+XMf47DztgE84vU4HY7zFJ7BN9+IhYzFjunrmQeUMJAycruVw3pGNir+YDJr0oxsML3BsI5Zj00CTrilB5Dq+MSmaHDvKndjoxWgcjhRMHsGZgsVOiysFG4/gloKdnYx7Cg4ewSMFJzsVzxRcPIJXCm52OrxT8PAIPil42Sn4puDjEfxSuT8w+LH27zEJDsGtxwiDi1WHMcEYAYwwcQAzB7AYkILVhrBxCDuHcHAIp43g4ghujuDhqMa78Zm3ulV03yu7PnbLH5vm0FMfS5VTD4LsEJRQ8ggxytPuch1+CQmrlSc+X12wCNLcyh2IUk34YsQFZrH0UDZfrcK0OnhJHBmtQqIKJ2JxFDsRp4aVagzmkPWVHIC9GaLgifhzyxWT5INsVaEBAFIhAC+COOoCvTUAHguCqmiYJAaF1HGbqR65Kq0cxFMPwMqYirOXxNuiVcgO6W47HYAy3SWBqlmT5XPgjhlIPSdhtqxqerEypxhE6hYiAN5kr5yac8qMijxL5keCXGMBNPwhWosEZ9rkIF6YnR9fkFOEtZgTiV8OL7KGEkZ4kWOGY37BmngQ/NbFMjNBVanEkr0Kzh6KzgUYeB58OObSVopHBJIiNBysf8s9UFQsAkaLN5MuRYMg9VJV2DbShEaejQUAPC4NS2qy5VgN+sppyZipg4g2IEAn1WVlB7E6znQCRFYnqg4ixzRyzV1rTGboJbMlX2d8vzEbvJOTvJoOvUEeoyubPNob30FfaRHwhNyONmNcyUxg7mU0MCoZSYfW+K0sOkfQoIoGe3iEhmIfk5J1yu3CcAQhHj/WQQfDWqlWn3/2/gOHU2eseLAB80g5fDTNI2pTSdgiXwXXIyAwkqT4jy/wWLhTFhJgvxs4KtsdELBXdnCr7bHAQJ4U/cNTcP7oVQI+PvUJS8KxFI+jR1ekLF0oIG65+vm55tVIj6pM4Un7rOiAEVcx4Wx6+NHp2xBX8VlgGlZ12utmFUIgCvQxzd9nqKYVs7xngY1qkP81Ydf07v3huT65p6XuPVRCOsEkQW/D93ZaEfQiqVef58417Nvqi+nGYbeYCUyrJGUmussYoDs2xg6MBLnzH4PlbssrQt3ehY9a310gd/WwHrd2XcERKcSWKLZZd7UplKv0NSnfppSko5LeBWBHq9N6HcB8pO/ErrGu1LeoHDWiaF4EcpW7Kyutq5XEwV2dTY02sHK0SKwngR4h4YsNEjZDgPECk8FD8OQJp0oYciHzthOmCQlPxTPjIzWtQ2UVU2VlpUm3RxIblAgiR1HRPILkgVxlTaVxNZJ4UacY12Ks1uhRrBFjZQtRI7qBw1hnMijoJVRJg3KqY6SmqabZc/WSWIyo5FFUon/TyFAFjxHxvZBZlEcx9MJ8IJ7v5fGNn8ei9pITI4IaMliradTqqZnppqGmxsGWidryhNsj+cyq9Ehi5ckJDbwO87qyUDxBj5LC91J+JiEBXnCpKKmeVUU8Ms6ohKFcimoCBcgO8+nLF86ePnrkYNzaWNFa+nNNxW6PBAEEQvPr5+8T099BpgDw+/+3NpHInUJAMPLjBGgmAke2FKpIACEg7UtaiDRNWYvzYYVm2LthrswdeeiQx3AAKLt1uwmsJbdJpZT7R63AiNQNEHxGUPlpNPxBtPyJAEeS8wEePo8FJOiyuH+SCm9gEBsC67zXDRCKJYnK16Hh29DyIwGO6g6qHsTPByS4Iis3JGnth/8WTzhoH33hr3zwXToJrcWXfbMTEewAbfVctufazhtbz2WX8lJBOiGbPNDbn2p3gV3FmydWBm8dy51VDTuizvnWHelcVjszr5mD5NnmPjdYY4VVbhFpd5AOkUH9BkyILHCfSJ5h9zWukWWTSJbb3GIVqd6s52IiufrXuMUym2zKv6HXInm2yJGlxzVWuMEWF1hmhdtskuVGsmMmvMIU62sqFxcZ0KufDEfFist61mjEknPjb3JHq4OA/RY5NSeZQxaKHHFiYmQbra6/Cha5RS8Qos/fZlJf3yUvRSuZ60jwdUJRMWLFiSe+BBJKAu9Pv3f1cpv57e37mt8wi4t3vdwxe8M7bq7Z4+AP6W7dyN5cBU5+zW8XLp+IvDGP7NtkbH+C27p10dkq+iyhEsQ9i6nvHfhWf0YIPfhexEtLDn3SDLx0Pn0c/0h7WKLWMt8GTyH2mbD4No1X57udP0uppDrr+c417OufKIcAGxU=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAA88AA8AAAAAGXwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY+IFL4Y21hcAAAAdgAAAB7AAAB4lcUx09jdnQgAAACVAAAABMAAAAgBtX/BGZwZ20AAAJoAAAFkAAAC3CKkZBZZ2FzcAAAB/gAAAAIAAAACAAAABBnbHlmAAAIAAAABFAAAAXwdx/9JGhlYWQAAAxQAAAAMAAAADYW+ixdaGhlYQAADIAAAAAdAAAAJAc9A1tobXR4AAAMoAAAABoAAAAkHvUAAGxvY2EAAAy8AAAAFAAAABQFUgd8bWF4cAAADNAAAAAgAAAAIAEHC/puYW1lAAAM8AAAAX4AAALBgZb3WHBvc3QAAA5wAAAATQAAAGXpG0ExcHJlcAAADsAAAAB6AAAAhuVBK7x4nGNgZGBg4GIwYLBjYHJx8wlh4MtJLMljkGJgYYAAkDwymzEnMz2RgQPGA8qxgGkOIGaDiAIAJjsFSAB4nGNgZC5knMDAysDAVMW0h4GBoQdCMz5gMGRkAooysDIzYAUBaa4pDA4vGD7+YA76n8UQxRzEMA0ozAiSAwD25QyfAHic7ZFBDsIwDATHbVoixAXewSN4UA+IV/vaW29l7ZhfYGsie6Mo0i6wALN4igb2wYjapFrqM9fUGy/tXT2BL37fj/PUxG/KMt0/1DFNetv0w8pFKrbyr1ue79p6+DcIt71Ih4tIx4tIyItIzgs5rBQG8pr9GNC/Ld4fdgB4nGNgQAMSEMgc9D8LhAESbAPdAHicrVZpd9NGFB15SZyELCULLWphxMRpsEYmbMGACUGyYyBdnK2VoIsUO+m+8Ynf4F/zZNpz6Dd+Wu8bLySQtOdwmpOjd+fN1czbZRJaktgL65GUmy/F1NYmjew8CemGTctRfCg7eyFlisnfBVEQrZbatx2HREQiULWusEQQ+x5ZmmR86FFGy7akV03KLT3pLlvjQb1V334aOsqxO6GkZjN0aD2yJVUYVaJIpj1S0qZlqPorSSu8v8LMV81QwohOImm8GcbQSN4bZ7TKaDW24yiKbLLcKFIkmuFBFHmU1RLn5IoJDMoHzZDyyqcR5cP8iKzYo5xWsEu20/y+L3mndzk/sV9vUbbkQB/Ijuzg7HQlX4RbW2HctJPtKFQRdtd3QmzZ7FT/Zo/ymkYDtysyvdCMYKl8hRArP6HM/iFZLZxP+ZJHo1qykRNB62VO7Es+gdbjiClxzRhZ0N3RCRHU/ZIzDPaYPh788d4plgsTAngcy3pHJZwIEylhczRJ2jByYCVliyqp9a6YOOV1WsRbwn7t2tGXzmjjUHdiPFsPHVs5UcnxaFKnmUyd2knNoykNopR0JnjMrwMoP6JJXm1jNYmVR9M4ZsaERCICLdxLU0EsO7GkKQTNoxm9uRumuXYtWqTJA/Xco/f05la4udNT2g70s0Z/VqdiOtgL0+lp5C/xadrlIkXp+ukZfkziQdYCMpEtNsOUgwdv/Q7Sy9eWHIXXBtju7fMrqH3WRPCkAfsb0B5P1SkJTIWYVYhWQGKta1mWydWsFqnI1HdDmla+rNMEinIcF8e+jHH9XzMzlpgSvt+J07MjLj1z7UsI0xx8m3U9mtepxXIBcWZ5TqdZlu/rNMfyA53mWZ7X6QhLW6ejLD/UaYHlRzodY3lBC5p038GQizDkAg6QMISlA0NYXoIhLBUMYbkIQ1gWYQjLJRjC8mMYwnIZhrC8rGXV1FNJ49qZWAZsQmBijh65zEXlaiq5VEK7aFRqQ54SbpVUFM+qf2WgXjzyhjmwFkiXyJpfMc6Vj0bl+NYVLW8aO1fAsepvH472OfFS1ouFPwX/1dZUJb1izcOTq/Abhp5sJ6o2qXh0TZfPVT26/l9UVFgL9BtIhVgoyrJscGcihI86nYZqoJVDzGzMPLTrdcuan8P9NzFCFlD9+DcUGgvcg05ZSVnt4KzV19uy3DuDcjgTLEkxN/P6VvgiI7PSfpFZyp6PfB5wBYxKZdhqA60VvNknMQ+Z3iTPBHFbUTZI2tjOBIkNHPOAefOdBCZh6qoN5E7hhg34BWFuwXknXKJ6oyyH7kXs8yik/Fun4kT2qGiMwLPZG2Gv70LKb3EMJDT5pX4MVBWhqRg1FdA0Um6oBl/G2bptQsYO9CMqdsOyrOLDxxb3lZJtGYR8pIjVo6Of1l6iTqrcfmYUl++dvgXBIDUxf3vfdHGQyrtayTJHbQNTtxqVU9eaQ+NVh+rmUfW94+wTOWuabronHnpf06rbwcVcLLD2bQ7SUiYX1PVhhQ2iy8WlUOplNEnvuAcYFhjQ71CKjf+r+th8nitVhdFxJN9O1LfR52AM/A/Yf0f1A9D3Y+hyDS7P95oTn2704WyZrqIX66foNzBrrblZugbc0HQD4iFHrY64yg18pwZxeqS5HOkh4GPdFeIBwCaAxeAT3bWM5lMAo/mMOT7A58xh0GQOgy3mMNhmzhrADnMY7DKHwR5zGHzBnHWAL5nDIGQOg4g5DJ4wJwB4yhwGXzGHwdfMYfANc+4DfMscBjFzGCTMYbCv6dYwzC1e0F2gtkFVoANTT1jcw+JQU2XI/o4Xhv29Qcz+wSCm/qjp9pD6Ey8M9WeDmPqLQUz9VdOdIfU3Xhjq7wYx9Q+DmPpMvxjLZQa/jHyXCgeUXWw+5++J9w/bxUC5AAEAAf//AA94nIWUXW8bRRSGz5nZnf2I7fXam1k3TdaOXdv5qku99oY2aTBtSEJw+EhTSIRa5aJCqAWMUET+AVIvILcItRWVkhtEkZpIXPID4KpSlX+AVIHU3vQGi7icsZ32AiFW2jNn5szszj7vOwsI8Pwpe8S+glMQNE7mTyQNDRgucmTAWkjlj7xhz9P0zGTRc1Dkz6ChQqn2GpZViKpZnFZBUtmX7JHTTE4ld3cpNJOqTb7sO87urvO5VMnenvPviU5FTQCN9vSAb/AB4DAKZ+ENeK/x9uREIa+ZGi7GURNosgWwDdRMW9sEE7gw+SYIQBB4TWcMLAtWVQvWOlhgNRsXXq37pdBNz7huckAfmfRH66N66NZKZ7CCxqAnCqP5UrlecMN6LQpHq9Lg9VppEvPCH/TkdFiNdLc/ye1NyGKAh3i/cxmfLcX0O/qwGfidX2SAS0u5QXwoc3homzeNGPbi9cA/SvkB5iTT/ci5nZTG4SE+M4eM2yKGj2UuJx8fRd0Wg33Tts19tdY+aqsh9kTmMok7TgR0oQp8j30LgzDSGHIQEBdJNNaiErZAaeZ7XPcn0TNIsjIeC9UNku8lOznC3vmjrwF+1hWBSUkFx0HZ02QPW0oU9b6+HmdhrjEzgVwvjjCNs0XQOHINPwVkZJiboAPXdFKCwLM1IP7rlEBzvO4X/FNCH6INJViBGHY3JAlHWJ3jFZYXhi8F0SYJalEW52g8YHxj/ovv39/8aVbTm8LVxr+8dP7jdydYpflJ6/rYipv2246HU+7S7HerH9zduojXKM6vvikS2oqOon6+0ryxdaNZGSuuJE/LRDuTTi2dm5vfuttn+Pwvfo++yQO/4dEHEDhleUWvUA+79PqK10nxGazKESTZ+b3l8GgjXF4OD8Jl3Kb7eWdbdVlGxdQy9P17j1fImS6MQwMWGpfqdG4shYSoWcJqmSgM0QKDGy1awLQ1HTkdN8ZhEzSNrdMQa16YLYSFfLV4LpOyybTFWinBAoymj9sXvq1FfhggbTIiq0pOKKlkFLqWzpd64kv2qxd4LDOU+drLpZgczizk5N+/dT35JBYVdvJRnGz2s5XZ8ZwdQrvjp922Hdjt1EhCslQupQ3FjpNbB8qWFDA7NpYNcFUqMYjyFC2x2+4x4x+4y9MwAOLAYHh60kLRxenT74JrRyfjqVSc/R7Hlc51w3Z4lIiZlHlATlIMU6SPA1k4A9PwIaw3rrx1jplifPSESw9ChTIGhogZmzaaIMy1+AATGjFGAZs6Z2hZuKZaVL8BtJob61dW31lZXLjUKOXTJXUVEoqr2zvqg64nuwz/p49huVQuCEMnyC9cUnaJ9AVUVpmeQyVDllxMh9k2T6njTGHnZfqNbfRSw+48bJ/U9AdCwz9tM6oVO68Ua1hXxR/L1pTc9yes8n3TXsVbaqyzreJ/5Kz6uo6oX6ZHHz2tzF+ssHT3bVcHhzHwrtrwD/pL8/54nGNgZGBgAGJJ5uMF8fw2Xxm4mV8ARRhu/iwJQND/VzG/YNYDcjkYmECiAEYtC+Z4nGNgZGBgDvqfBSRfMDD8/w8kgSIogBMAh9IFngAAAHicY37BwMAsCMSRQPwCSi+AYkEIBgBZxwQRAAAAAAAAAEoA2gESAXwBqgIuAkwC+AABAAAACQBcAAUAAAAAAAIAHAAsAHMAAABpC3AAAAAAeJx1kM1Kw0AUhU/aWtGCCwXB3ay0Ik1/oAuLi0JBwZ0uCoKbaZq/kmTCZCr0JXwHH8RX8Vk8TS9iBTMM891zz9y5uQBO8QUPu2/MvWMPh4x23CDfCTfJM+EW+VH4AB08Cbepvwof4waBcAdneGcFr3XEaIUPYQ8nXke4Qb4QbpKvhFvksfABzr2ZcJv6i/Ax5l4s3MGl9zkz5camceJUd3atRoPhrVpslKGUFjpTeu0SYys1VZEpXJhlxg9MHuleEdv8OYzXmbYSyTEPbZWaQg39gSgPYRFa7cLltnL1Fo+ci1RkTa7upaYqrVmFgfMT58pJv//7LY7SoMQGFiliJHBQ6FK95jnCAEPckhZ0KDp3rhQFNDIqGmveSOpMxXjKHTEqqIZ0ZGSf4zfIqWv0mInpzfHMfMzbGVX7J7cfzencVk/ruood+exr3/NAT1H7dP3y8qfnCm/0jKg63tl2Z+tuFO7/9Kk4h21uRSWg7tfTcFQn6HP981/fvtJ+FwAAeJxtwUsOgCAMBcA+PlW4JSkQExshqDHc3oVbZ8jQJ9K/AAMLBw/GghUBkVjSIUW5aut9mrZbkYdr01wG311byq5rmv4a6dyIXqWWEGsAAAB4nGPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGVidNjEwMmiBGJu5mBg5ICw+BjCLzWkX0wGgNCeQze60i8EBwmZmcNmowtgRGLHBoSNiI3OKy0Y1EG8XRwMDI4tDR3JIBEhJJBBs5mFi5NHawfi/dQNL70YmBhcADHYj9AAA) format("woff"),url(../fonts/fa-ngrm.ttf) format("truetype"),url(../img/fa-ngrm.svg#fa-ngrm) format("svg");font-weight:400;font-style:normal}[class*=" ngrm-icon-"]:before,[class^=ngrm-icon-]:before{font-family:fa-ngrm;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ngrm-icon-cancel:before{content:"\E800"}.ngrm-icon-floppy:before{content:"\E801"}.ngrm-icon-ok:before{content:"\E802"}.ngrm-icon-ccw:before{content:"\E803"}.ngrm-icon-folder:before{content:"\E804"}.ngrm-icon-upload:before{content:"\E805"}.ngrm-icon-play:before{content:"\E811"}.ngrm-icon-trash:before{content:"\F1F8"}.ngrm-icon-file-archive-o:before{content:"\F1C6"}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{-webkit-transition:opacity .15s cubic-bezier(1,.5,.8,1);transition:opacity .15s cubic-bezier(1,.5,.8,1)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{cursor:not-allowed;background-color:#f8f8f8}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 0 4px 0;background:none;border:1px solid rgba(60,60,60,.26);border-radius:4px;white-space:normal}.vs__dropdown-toggle,.vs__selected-options{display:-webkit-box;display:-ms-flexbox;display:flex}.vs__selected-options{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 6px 0 3px}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:rgba(60,60,60,.5);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855),-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);-webkit-transition-timing-function:cubic-bezier(1,-.115,.975,.855);transition-timing-function:cubic-bezier(1,-.115,.975,.855)}.vs--open .vs__open-indicator{-webkit-transform:rotate(180deg) scale(1);transform:rotate(180deg) scale(1)}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:rgba(60,60,60,.5);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;position:absolute;top:calc(100% - 1px);left:0;z-index:1000;padding:5px 0;margin:0;width:100%;max-height:350px;min-width:160px;overflow-y:auto;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.15);box-shadow:0 3px 6px 0 rgba(0,0,0,.15);border:1px solid rgba(60,60,60,.26);border-top-style:none;border-radius:0 0 4px 4px;text-align:left;list-style:none;background:#fff}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.vs__dropdown-option:hover{cursor:pointer}.vs__dropdown-option--highlight{background:#5897fb;color:#fff}.vs__selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f0f0f0;border:1px solid rgba(60,60,60,.26);border-radius:4px;color:#333;line-height:1.4;margin:4px 2px 0 2px;padding:0 .25em}.vs__deselect{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:rgba(60,60,60,.5);text-shadow:0 1px 0 #fff}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-cancel-button,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.4;font-size:1em;border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0 0;padding:0 7px;background:none;-webkit-box-shadow:none;box-shadow:none;width:0;max-width:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.vs__search::-webkit-input-placeholder{color:inherit}.vs__search::-moz-placeholder{color:inherit}.vs__search:-ms-input-placeholder{color:inherit}.vs__search::-ms-input-placeholder{color:inherit}.vs__search::placeholder{color:inherit}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable .vs__search:hover{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{-ms-flex-item-align:center;align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid hsla(0,0%,39.2%,.1);border-right:.9em solid hsla(0,0%,39.2%,.1);border-bottom:.9em solid hsla(0,0%,39.2%,.1);border-left:.9em solid rgba(60,60,60,.45);-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;-webkit-transition:opacity .1s;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em}.vs--loading .vs__spinner{opacity:1}.ngremotemedia-select-folder-container,.ngrm-model-portal+form,.ngrm-model-portal .ngrm-overlay{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333}.ngremotemedia-select-folder-container *,.ngremotemedia-select-folder-container :after,.ngremotemedia-select-folder-container :before,.ngrm-model-portal+form *,.ngrm-model-portal+form :after,.ngrm-model-portal+form :before,.ngrm-model-portal .ngrm-overlay *,.ngrm-model-portal .ngrm-overlay :after,.ngrm-model-portal .ngrm-overlay :before{-webkit-box-sizing:inherit;box-sizing:inherit}.ngremotemedia-select-folder-container .btn,.ngrm-model-portal+form .btn,.ngrm-model-portal .ngrm-overlay .btn{border-radius:4px;text-align:center;font-size:14px;line-height:18px;color:#fff;padding:8px 16px;border:1px solid #e4e4e4;background:#fff;color:#333}.ngremotemedia-select-folder-container .btn:active,.ngrm-model-portal+form .btn:active,.ngrm-model-portal .ngrm-overlay .btn:active{background:#d7d7d7}.ngremotemedia-select-folder-container .btn.btn-blue,.ngrm-model-portal+form .btn.btn-blue,.ngrm-model-portal .ngrm-overlay .btn.btn-blue{background:#009ac7;border:0;color:#fff}.ngremotemedia-select-folder-container .btn.btn-blue:active,.ngrm-model-portal+form .btn.btn-blue:active,.ngrm-model-portal .ngrm-overlay .btn.btn-blue:active{background:#007394}.ngremotemedia-select-folder-container .v-select,.ngrm-model-portal+form .v-select,.ngrm-model-portal .ngrm-overlay .v-select{font-size:14px;line-height:16px;background-color:#fff}.ngremotemedia-select-folder-container .v-select .vs__dropdown-toggle,.ngrm-model-portal+form .v-select .vs__dropdown-toggle,.ngrm-model-portal .ngrm-overlay .v-select .vs__dropdown-toggle{border-radius:0;border:1px solid #e4e4e4;padding:3px 5px 6px}.ngremotemedia-select-folder-container .v-select input::-webkit-input-placeholder,.ngrm-model-portal+form .v-select input::-webkit-input-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::-webkit-input-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input::-moz-placeholder,.ngrm-model-portal+form .v-select input::-moz-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::-moz-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input:-ms-input-placeholder,.ngrm-model-portal+form .v-select input:-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input:-ms-input-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input::-ms-input-placeholder,.ngrm-model-portal+form .v-select input::-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::-ms-input-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input::placeholder,.ngrm-model-portal+form .v-select input::placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container ::-webkit-input-placeholder,.ngrm-model-portal+form ::-webkit-input-placeholder,.ngrm-model-portal .ngrm-overlay ::-webkit-input-placeholder{color:#999}.ngremotemedia-select-folder-container :-ms-input-placeholder,.ngrm-model-portal+form :-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay :-ms-input-placeholder{color:#999}.ngremotemedia-select-folder-container ::-moz-placeholder,.ngrm-model-portal+form ::-moz-placeholder,.ngrm-model-portal .ngrm-overlay ::-moz-placeholder{color:#999}.ngremotemedia-select-folder-container ::-ms-input-placeholder,.ngrm-model-portal+form ::-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay ::-ms-input-placeholder{color:#999}.ngremotemedia-select-folder-container ::placeholder,.ngrm-model-portal+form ::placeholder,.ngrm-model-portal .ngrm-overlay ::placeholder{color:#999}.ngremotemedia-container{text-align:start}.ngrm-model-portal .ngrm-overlay .ng-icon{font-size:4.5em;font-family:ngri;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-align:center;line-height:80px;display:block;color:#333}.ngrm-model-portal .ngrm-overlay .ng-icon.big{font-size:64px;color:#333}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-warning:before{content:"\E900"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-spinner:before{content:"\E901"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-close:before{content:"\E902"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-cloud:before{content:"\E903"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-video:before{content:"\E904"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-book:before{content:"\E905"}.ngrm-model-portal .ngrm-overlay .image-meta{overflow:visible}.ngrm-model-portal .ngrm-overlay .image-meta h3{font-weight:700}.ngrm-model-portal .ngrm-overlay .image-meta p{color:#737373}.ngrm-model-portal .ngrm-overlay .image-meta input.media-alttext,.ngrm-model-portal .ngrm-overlay .image-meta input.media-alttext-override,.ngrm-model-portal .ngrm-overlay .image-meta input.media-caption,.ngrm-model-portal .ngrm-overlay .image-meta input.media-caption-override,.ngrm-model-portal .ngrm-overlay .image-meta input.media-css-class,.ngrm-model-portal .ngrm-overlay .image-meta input.media-watermarktext{width:100%;border-radius:0;border:1px solid #e4e4e4;padding:7px 10px 7px 10px;margin-bottom:10px}.ngrm-model-portal .ngrm-overlay .image-meta .image-meta-data{margin-top:20px}.ngrm-model-portal .ngrm-overlay .image-wrap:has(.icon-doc){position:relative;height:200px;max-width:400px;display:block;margin-bottom:4px}.ngrm-model-portal .ngrm-overlay .image-wrap:has(.icon-doc):before{position:absolute;content:""}.ngrm-model-portal .ngrm-overlay .image-wrap:has(.icon-doc):before{background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.ngrm-model-portal .ngrm-overlay .image-wrap .icon-doc{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:70px}.ngrm-model-portal .ngrm-overlay .image-wrap img{max-width:100%}.ngrm-model-portal .ngrm-overlay .vue-treeselect{font-size:14px;line-height:16px}.ngrm-model-portal .ngrm-overlay .vue-treeselect .vue-treeselect__control{border-radius:0;border:1px solid #e4e4e4}.ngrm-model-portal .ngrm-overlay .vue-treeselect .vue-treeselect__placeholder{color:#333;font-style:italic}@-webkit-keyframes spinning{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinning{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ngremotemedia-buttons{margin-top:20px}.ngremotemedia-buttons .ngremotemedia-local-file-container{margin:10px 0 10px 0}.ngremotemedia-buttons .ngremotemedia-local-file.btn.upload-from-disk,.ngremotemedia-buttons input[type=button]{border-radius:4px;text-align:center;font-size:14px!important;line-height:18px;padding:8px 16px;border:1px solid #e4e4e4;background:#f1f4fa;cursor:pointer;color:#333;font-weight:400;font-family:Arial,Helvetica,sans-serif}.ngremotemedia-buttons .ngremotemedia-local-file.btn.upload-from-disk{background:#fff}.o2k7Skin .mceIcon.mce_ngremotemedia img{width:2rem}.ngremotemedia-image .image-wrap .file-placeholder[data-v-cd63af0a]{position:relative;max-width:500px;height:280px;display:block;margin-bottom:4px}.ngremotemedia-image .image-wrap .file-placeholder .icon-doc[data-v-cd63af0a]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:40px}.ngremotemedia-image .image-wrap .file-placeholder[data-v-cd63af0a]:before{position:absolute;content:"";background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.mediaFacets[data-v-278bb214]{width:362px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4}.mediaFacets .body[data-v-278bb214]{-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4,inset 0 1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4,inset 0 1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4;background:#fff;padding:30px 15px}.mediaFacets .body .form-field+.form-field[data-v-278bb214]{margin-top:15px}.mediaFacets .body .form-field label[data-v-278bb214],.mediaFacets .body .search-wrapper .search-label[data-v-278bb214]{font-size:12px;font-weight:700;line-height:18px;color:#757575;margin-bottom:3px;display:block}.mediaFacets .body .search-wrapper[data-v-278bb214]{margin:30px 0 0}.mediaFacets .body .search-wrapper .search[data-v-278bb214]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:5px 0}.mediaFacets .body .search-wrapper .search input[data-v-278bb214],.mediaFacets .body .search-wrapper .search ul[data-v-278bb214]{font-size:14px;line-height:16px}.mediaFacets .body .search-wrapper .search ul[data-v-278bb214]{margin:0;padding:5px;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #e4e4e4;min-width:75px;display:none}.mediaFacets .body .search-wrapper .search ul li[data-v-278bb214]{cursor:auto;margin-right:10px;padding:4px 10px;min-width:45px}.mediaFacets .body .search-wrapper .search ul li[data-v-278bb214]:last-child,.mediaFacets .body .search-wrapper .search ul li[data-v-278bb214]:only-child{margin:0}.mediaFacets .body .search-wrapper .search ul li.active[data-v-278bb214]{background:#009ac7;color:#fff;border-radius:4px;-webkit-box-shadow:inset -1px 0 0 0 #d7d7d7,inset 1px 0 0 0 #d7d7d7,inset 0 1px 0 0 #d7d7d7,inset 0 -1px 0 0 #d7d7d7;box-shadow:inset -1px 0 0 0 #d7d7d7,inset 1px 0 0 0 #d7d7d7,inset 0 1px 0 0 #d7d7d7,inset 0 -1px 0 0 #d7d7d7}.mediaFacets .body .search-wrapper .search input[data-v-278bb214]{border:1px solid #e4e4e4;padding:9px 10px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.mediaFacets .ng-spinner[data-v-278bb214]{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mediaFacets .ng-spinner[data-v-278bb214]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite}.media-gallery[data-v-5aa52c90]{position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.media-gallery .items[data-v-5aa52c90]{padding:15px;overflow-y:auto;height:calc(100% - 50px)}.media-gallery .items.loading[data-v-5aa52c90]{opacity:.5}.media-gallery .items .media[data-v-5aa52c90]{width:190px;min-height:182px;max-height:190px;padding:8px;margin:0 15px 15px 0;background-color:#fff;display:inline-block}.media-gallery .items .media .media-container[data-v-5aa52c90]{width:100%}.media-gallery .items .media .img[data-v-5aa52c90]{display:block;margin-bottom:4px;-o-object-fit:cover;object-fit:cover;height:100px;width:100%;overflow:hidden;text-overflow:ellipsis}.media-gallery .items .media .file-placeholder[data-v-5aa52c90]{position:relative;height:95px;display:block;margin-bottom:4px}.media-gallery .items .media .file-placeholder .icon-doc[data-v-5aa52c90]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:40px}.media-gallery .items .media .file-placeholder[data-v-5aa52c90]:before{position:absolute;content:"";background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.media-gallery .items .media .filename[data-v-5aa52c90]{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;font-size:16px;line-height:20px;margin-top:4px;margin-bottom:0}.media-gallery .items .media .size-description[data-v-5aa52c90]{font-size:12px;line-height:14px;text-align:center;color:#999}.media-gallery .items .media .size-description .format[data-v-5aa52c90]{text-transform:uppercase}.media-gallery .items .media.selected[data-v-5aa52c90]{border:1px solid #009ac7}.media-gallery .items .media .select-btn[data-v-5aa52c90]{margin-top:8px;padding:3px;width:100%}.media-gallery .folder-empty[data-v-5aa52c90]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.media-gallery .folder-empty span[data-v-5aa52c90]{display:block;text-align:center;font-size:14px;line-height:16px}.media-gallery .folder-empty span.ngrm-icon-folder[data-v-5aa52c90]{color:#999;font-size:33px}.media-gallery .folder-empty span strong[data-v-5aa52c90]{display:block;margin:5px 0;font-size:16px;line-height:19px}.media-gallery .load-more-wrapper[data-v-5aa52c90]{padding:8px 15px;background-color:#fff;text-align:right;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;position:absolute;bottom:0;left:0;right:0}.ngrm-overlay[data-v-03fd1c54]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.8);z-index:9999}.ngrm-overlay .media-modal[data-v-03fd1c54]{background-color:#f5f5f5;-webkit-box-shadow:0 5px 15px 0 rgba(0,0,0,.5);box-shadow:0 5px 15px 0 rgba(0,0,0,.5);margin:32px;height:calc(100vh - 64px)}.ngrm-overlay .media-modal .title[data-v-03fd1c54]{padding:15px;font-size:16px;font-weight:700;line-height:20px;color:#333;background:#fff;text-transform:uppercase;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4}.ngrm-overlay .media-modal .title .close[data-v-03fd1c54]{float:right;cursor:pointer;padding:2px 10px}.ngrm-overlay .media-modal .body[data-v-03fd1c54]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;height:calc(100% - 50px)}.ngrm-overlay .img-placeholder img[data-v-03fd1c54]{height:100%}.ngremotemedia-buttons input[type=button]{margin-bottom:4px;margin-right:4px}.help-block.description{margin-right:6px}.btn,.sidebar-crop .buttons{font-size:14px!important;font-family:Arial,Helvetica,sans-serif}.ngremotemedia-selected-variation .vs__selected-options input[type=search].vs__search,.ngremotemedia-tags .vs__selected-options input[type=search].vs__search{border:none}.ngremotemedia-selected-variation select[hidden=hidden],.ngremotemedia-tags select[hidden=hidden]{display:none}.ngremotemedia-image h3.title{word-break:break-word}.ngremotemedia-image .image-wrap img{max-width:100%}.input-file-name-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.input-file-name-wrapper .v-select,.input-file-name-wrapper input[type=text]{margin-right:16px}.input-file-name-wrapper .v-select.vs--single.vs--searchable{margin-right:10px}.input-file-name-wrapper .v-select.vs--single.vs--searchable input.vs__search{background:transparent}.input-file-name-wrapper button.btn{margin-left:40%;font-size:14px!important;font-family:Arial}.input-file-name-wrapper .vs__dropdown-toggle{height:37px}.media-gallery .items .media{line-height:normal}.ng-spinner[data-v-751395c8]{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ng-spinner[data-v-751395c8]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite}.sidebar-crop[data-v-ad171770]{width:264px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4}.sidebar-crop .buttons[data-v-ad171770]{background:#fff;padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4;margin-right:1px}.sidebar-crop .buttons button[data-v-ad171770]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.sidebar-crop .buttons button.crop-btn-add[data-v-ad171770]{margin-left:10px}.sidebar-crop .buttons button[data-v-ad171770]:only-child{width:100%}.sidebar-crop-label span[data-v-ad171770]{color:#999;font-size:14px;line-height:18px;display:inline-block;padding:31px 15px 15px;width:100%;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4}.unselectedVariations[data-v-ad171770]{position:absolute;top:0;left:0;width:264px;height:100%;-webkit-transform:translateX(264px);transform:translateX(264px);background:#fff;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4;z-index:10}.unselectedVariations>div[data-v-ad171770]{padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-color:#fff;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4}.unselectedVariations>div input[data-v-ad171770],.unselectedVariations>div label[data-v-ad171770]{cursor:pointer}.unselectedVariations>div input[data-v-ad171770]{margin-right:11px}.unselectedVariations>div label[data-v-ad171770]{width:100%}.unselectedVariations>div .name[data-v-ad171770]{color:#333;font-size:14px;line-height:18px}.unselectedVariations>div .formatted-size[data-v-ad171770]{color:#999;font-size:12px;line-height:18px;display:block}.unselectedVariations>div.disabled[data-v-ad171770]{-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:#f5f5f5;cursor:auto;color:#ddd;padding:15px 15px 5px}.unselectedVariations>div.disabled input[data-v-ad171770],.unselectedVariations>div.disabled label[data-v-ad171770],.unselectedVariations>div.disabled span[data-v-ad171770]{cursor:auto}.unselectedVariations>div.disabled label[data-v-ad171770]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto;color:#999}.unselectedVariations .legend-not-selectable[data-v-ad171770]{width:100%;font-size:.75rem;color:#a41034;display:inline-block;text-align:right}.selectedVariations ul[data-v-ad171770]{list-style:none;padding:0;margin:0}.selectedVariations ul li[data-v-ad171770]{padding:15px 0 15px 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4,inset 0 -1px 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4,inset 0 -1px 0 0 #e4e4e4;background-color:#fff;cursor:pointer}.selectedVariations ul li.disabled[data-v-ad171770]{background-color:#f5f5f5;cursor:auto}.selectedVariations ul li.selected.set[data-v-ad171770]{color:#90ee90}.selectedVariations ul li span[data-v-ad171770]{display:block;color:#333;font-size:14px;line-height:18px}.selectedVariations ul li a[data-v-ad171770]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.selectedVariations ul li a span[data-v-ad171770]{padding:5px}.selectedVariations ul li a .ngrm-icon-trash[data-v-ad171770]{color:#009ac7;padding:10px}.selectedVariations ul li .formatted-size[data-v-ad171770]{color:#999;font-size:12px;line-height:18px}.selectedVariations ul li .circle-orange[data-v-ad171770]{width:8px;height:8px;background-color:orange;border-radius:50%}.selectedVariations .set .circle-orange[data-v-ad171770]{display:none}.crop .cropper[data-v-5f73791e]{position:relative;margin:0 auto}.crop .cropper button[data-v-5f73791e]{margin-left:8px}.crop .cropper .buttons[data-v-5f73791e]{position:absolute}.crop .preview[data-v-5f73791e]{width:100%;height:500px;overflow:hidden}.crop-container[data-v-45497070]{overflow-y:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:30px 30px 80px}.crop-container[data-v-45497070]:empty{display:none}.img-placeholder[data-v-45497070]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:60px 60px 110px}.img-placeholder img[data-v-45497070]{max-width:100%;height:auto;margin:0 auto;display:block}.action-strip[data-v-45497070]{padding:8px 15px;background-color:#fff;text-align:right;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;position:absolute;bottom:0;left:264px;right:0}.action-strip button[data-v-45497070]{margin-left:10px}.action-strip .ngrm-icon-floppy[data-v-45497070]{margin-right:5px}.folder-gallery[data-v-c53732c8]{position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:calc(100% - 50px);overflow-y:auto}.folder-gallery .items[data-v-c53732c8]{padding:15px}.folder-gallery .items.loading[data-v-c53732c8]{opacity:.5}.folder-gallery .items .breadcrumbs[data-v-c53732c8]{background-color:#fff;width:100%;margin-bottom:20px;padding:10px}.folder-gallery .items .breadcrumbs a[data-v-c53732c8]{color:#009ac7}.folder-gallery .items .info[data-v-c53732c8]{font-style:italic;margin-bottom:10px;margin-left:10px}.folder-gallery .items .media[data-v-c53732c8]{width:177px;min-height:182px;max-height:190px;padding:8px;margin:0 15px 15px 0;background-color:#fff;display:inline-block}.folder-gallery .items .media .media-container[data-v-c53732c8]{width:100%}.folder-gallery .items .media .img[data-v-c53732c8]{display:block;margin-bottom:4px;-o-object-fit:cover;object-fit:cover;height:92px;width:100%;overflow:hidden;text-overflow:ellipsis}.folder-gallery .items .media .file-placeholder[data-v-c53732c8]{position:relative;height:92px;display:block;margin-bottom:4px}.folder-gallery .items .media .file-placeholder .icon-doc[data-v-c53732c8]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:40px}.folder-gallery .items .media .file-placeholder[data-v-c53732c8]:before{position:absolute;content:"";background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.folder-gallery .items .media.new-folder input[data-v-c53732c8]{width:100%;margin-top:5px}.folder-gallery .items .media.new-folder .select-btn[data-v-c53732c8]{background:#2e8b57}.folder-gallery .items .media.new-folder .file-placeholder[data-v-c53732c8]:before{background-color:rgba(0,0,0,.2);top:0;bottom:0;left:0;right:0}.folder-gallery .items .media .filename[data-v-c53732c8]{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;font-size:16px;line-height:20px;margin-top:4px;margin-bottom:0}.folder-gallery .items .media .size-description[data-v-c53732c8]{font-size:12px;line-height:14px;text-align:center;color:#999}.folder-gallery .items .media .size-description .format[data-v-c53732c8]{text-transform:uppercase}.folder-gallery .items .media.selected[data-v-c53732c8]{border:1px solid #009ac7}.folder-gallery .items .media .select-btn[data-v-c53732c8]{margin-top:10px;padding:3px;width:100%}.folder-gallery .folder-empty[data-v-c53732c8]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.folder-gallery .folder-empty span[data-v-c53732c8]{display:block;text-align:center;font-size:14px;line-height:16px}.folder-gallery .folder-empty span.ngrm-icon-folder[data-v-c53732c8]{color:#999;font-size:33px}.folder-gallery .folder-empty span strong[data-v-c53732c8]{display:block;margin:5px 0;font-size:16px;line-height:19px}.folder-gallery .load-more-wrapper[data-v-c53732c8]{padding:8px 15px;background-color:#fff;text-align:right;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;position:absolute;bottom:0;left:0;right:0}.ng-spinner[data-v-c53732c8]{position:fixed;vertical-align:center;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ng-spinner[data-v-c53732c8]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite}.loading[data-v-97dbe76a]{opacity:.5}.input-file-name-wrapper[data-v-97dbe76a]{padding:8px 15px;background-color:#fff;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;position:absolute;bottom:0;left:0;right:0}.input-file-name-wrapper input[type=text][data-v-97dbe76a]{width:40%;min-width:300px;border:1px solid #e4e4e4;padding:10px 10px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-right:10px}.input-file-name-wrapper input[type=text].error[data-v-97dbe76a]{border:1px solid red}.input-file-name-wrapper .v-select[data-v-97dbe76a]{width:15%;min-width:150px}.input-file-name-wrapper button[data-v-97dbe76a]{float:right}.input-file-name-wrapper div.error[data-v-97dbe76a]{color:red;margin-bottom:5px}.ng-spinner[data-v-97dbe76a]{position:fixed;vertical-align:middle;margin-top:15%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ng-spinner[data-v-97dbe76a]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite} \ No newline at end of file +@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);@font-face{font-family:ngri;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBeYAAAC8AAAAYGNtYXAXVtKMAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZizrtTkAAAF4AAAO7GhlYWQPi42rAAAQZAAAADZoaGVhB8IDywAAEJwAAAAkaG10eB4AAFAAABDAAAAAKGxvY2EU0g5yAAAQ6AAAABZtYXhwAA8EiQAAEQAAAAAgbmFtZXBI7ewAABEgAAABYnBvc3QAAwAAAAAShAAAACAAAwO3AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBQPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QX//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAAEAA7/wAPyA8AAAwAVACEALwAACQEhATUiBgcBBhYzITI2JzEBLgEjMRMUBiMiJjU0NjMyFiciJj0BNDYzMhYdARQGAgABrfymAa0RHw3+SxklMwNmMyUZ/ksNHxFAJRsbJSUbGyVAGyUlGxslJQNj/KkDV10WF/yZLEBALANnFxb8wBslJRsbJSVlJRvAGyUlG8AbJQAAAAIAAP/ABAADwAJEBIYAABMxOAExFBYVFhQVFBYVFBYVHgEXHgEXHgEXHgEXFhQXFBYXHgEXFBYVFBYVHgEXHgEXHgEXHgEXHgEVHgEXHgEXHgEXHgEXHgEXHgEXHgEXHgEXHgEXHgEXMhYXMhYzHgEXHgEXHgEzHgEzHgEzHgEXMhYzMhYzMDIzHgEzMhYzOgEzFjIzFjIzMjAxHgEzMDIzMTgBMTI2MzYyMzI2MzI2Mz4BNz4BNz4BNz4BNzYyNzI2Nz4BNzI2MTI2Mz4BNz4BNz4BNz4BNz4BMz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNzQ2NT4BNz4BNzQ2NzQ2NT4BNzQ2NTQ2NTY0NTA0NT4BNTQ2NTwBNTY0NTY0NTwBMTI2NTA0NTE4ATE0JjUmNDU0JjU0JjUuAScuAScuAScuAScmNCc0JicuASc0JjU0JjUuAScuAScuAScuAScuATUuAScuAScuAScuAScuAScuAScuAScuAScuAScuASciJiciJiMuAScuAScuASMuASMuASMuASciJiMiJiMwIiMuASMiJiMqASMmIiMmIiMqASM0JiMwIiMxOAExIgYjBiIjIgYjIgYjDgEHDgEHDgEHDgEHBiIHIgYHDgEHIgYjIgYjDgEHDgEHDgEHDgEHDgEjDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHFAYHFAYVDgEHDgEHDgEVDgEVDgEVDgEHFAYVFAYVMBQVDgEVFAYVHAEVBhQVBhQVHAExDgEVMBQVNzA0MTQ2NT4BNzQ2NzQ2NT4BNzQ2MTQ2NT4BNz4BNz4BNzQ2NT4BNT4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNz4BNzI2Mz4BNz4BNzI2MzYyNzI2Mz4BMzYyMzYyMzAyMTYyNzoBMzoBNzoBMzI2MzoBMzoBMzoBMxYyMzoBMxYyMzAyMTIwOQE+ATcyMBcyFhceARcyFhcyFjMeARcyFjEyFjMeATMeARceARceATMeARceARceARcyFhceARceARceARceARceARceARceARceARcUFhUeARceARcUFhUWFBcUFhUeARUWFBUyFDEcATEWFBccARUcARccARUUFhUcARUcARUcARUGFBUcARUGFBUwFDEwFDkBHgEXMBQxDgEHDgEHFAYVDgEVDgEHFAYxFAYVDgEVDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHDgEHIgYjDgEHDgEHIgYjBiIHIgYjDgEjBiIjFCIxKgEjBiIHKgEjKgEHKgEjIgYjKgEjKgEjKgEjJiIjKgEjJiIjMCIxMCI5AQ4BByImJy4BJyImJyImIy4BJyImMSImIy4BIy4BJy4BJy4BIy4BJy4BJy4BJyImJy4BJy4BJy4BJy4BJy4BJy4BJy4BJy4BJzQmNS4BJy4BJzQmNSY0JzQmNS4BNSY0NSI0MTwBMSY0JzwBNTwBJzwBNTQmNTwBNTwBNTwBNTY0NTwBNTY0NTA0MTA0OQEuAScAAQEBAQEBAQECAQEBAQEBAQEBAQEBAgEBAQEBAQEDAQEDAgEBAQECAgQCAQQCAQIBAQMBAgQDCRUMDBkODR0ODx4PAwgEAQQCAgMCBAcEAwgDAgMCAgMCBAYEAwcDAgMBAQIBAgEDBgMCAgIBAwIDBQMDBQIBASUaAQEDBgICAgIBBAECBAIFCQUFCwUDBgMCBgQBAwIBAwIDBwMBAgECAQEEAQQHAwQHAwIDAgIDAgQHBAMHBAIDAgIDAgQHBA4cDQ0ZCwwUCgkPBwEDAgEBAQICAgEBAwEBAQEBAgECAQEBAQEBARslAQEBAQEBAQECAQEBAQEBAQEBAQEBAgEBAQEBAQEDAQEDAgEBAQECAgQCAQQCAQIBAQMBAgQDCRUMDBkODR0ODx4PAwgEAQQCAgMCBAcEAwgDAgMCAgMCBAYEAwcDAgMBAQIBAgEDBgMCAgIBAwIDBQMDBQIBAQEmGgEBAwUDAQMCAQMCAgQCBAoFBQoGAwUDAwYDAgMCAQMCAwcDAQEBAQIBAQQBBAYEAwcEAgMCAgMCBAcDBAcEAgMCAgMCBAcDDxsODRkLDBQJCRAHAQMCAgECAQMBAQIBAQEBAQECAQEBAQEBAQEBARokSgIBAQEBAQEBAgEBAQEBAQECAQEDAgIBAgIDAgEEAgEBAQECAQIEAggTCgsWDAwZDQwaDQQGAwIDAgEDAgMGBAMGAwIDAQIDAQMGAwMFAwICAgEBAQIDBQMBAwEBAwECBQMCBAMECAQEBgMBAwECAwECAwEDBQIBARcjAwEBAgUDAgYCAgICAQMBAwYCAQIBAQECAwEDBgMDBgMCAwECAwEDBwMDBgMCAwECAwIDBgMMGAwLFQoKEQgIDQUCAgEBAQECAQIBAQIBAQEBAgEBAQEBAQEBAQEBHhYBAQEBAQEBAQEBAgEBAQEBAQMBAQMBAQEBAQEBAgMBAgQBAQIBAQIBAgQCCBMKCxYMDBkMDRoNAwcDAgMBAgMCAwYDBAYDAQMCAQMCAwYDAwUDAgICAgEBAQMFAwEDAQEDAQIFAgMEAwQIBAMHAwEDAQIDAQIDAQIFAwEBFyIEAgUDAgYCAgICAQMBAwYCAQIBAQECAwEDBgMDBgMCAwECAwEDBwMDBgMCAwECAwIDBgMMGAwLFQoKEQgIDQUCAgEBAQECAQIBAQIBAQEBAgEBAQEBAQEBAQEBHxYBvgMFAwICAgEDAgIEAgUJBQUKBgMGAgMGAwIDAgEDAgMHAwEBAQECAQEEAQQHAwMHBAIDAgIDAgQHAwQHBAIDAgIDAgQHBA4cDQ0ZCwwUCgkPBwEDAgIBAgICAQECAQEBAQEBAgEBAQEBAQEBAQEaJQEBAQEBAQEBAgEBAQEBAQEBAQEBAQIBAQEBAQEBAwEBAwIBAQEBAgIEAgEEAgECAQEDAQIEAwkVDAwZDg0dDg8eDwMIBAEEAgIDAgQHBAMIAwIDAgIDAgQGBAMHAwIDAQECAQIBAwYDAgICAQMCAwUDAwUCAQEmGgEBAwUDAgICAQMCAgQCBQkFBQoGAwYCAwYDAgMCAQMCAwcDAQEBAQIBAQQBBAcDAwcEAgMCAgMCBAcDBAcEAgMCAgMCBAcEDhwNDRkLDBQKCQ8HAQMCAgECAgIBAQIBAQEBAQECAQEBAQEBAQEBARolAQEBAQEBAQECAQEBAQEBAQEBAQEBAgEBAQEBAQEDAQEDAgEBAQECAgQCAQQCAQIBAQMBAgQDCRUMDBkODR0ODx4PAwgEAQQCAgMCBAcEAwgDAgMCAgMCBAYEAwcDAgMBAQIBAgEDBgMCAgIBAwIDBQMDBQIBAQElGgEBQQECBQMCBgICAgIBAwEDBgIBAgEBAQIDAQMGAwMGAwIDAQIDAQMHAwMGAwIDAQIDAgMGAwwYDAsVCgoRCAgNBQICAQEBAQIBAgEBAgEBAQECAQEBAQEBAQEBAQEeFwEBAQEBAQEBAQECAQEBAQECAgEBAwEBAgEBAQIDAgEEAgIBAQIBAgQCCBMKCxYMDBkNDBoNBAYDAgMCAQMCAwYEAwYDAQMCAQMCAwYDAwUDAgICAgECAwUDAQMBAQMBAgUDAgQDBAgEAwcDAQMBAgMBAgMBAgUDAQEXIgQBAgUDAgYCAgICAQMBAwYCAQIBAQECAwEDBgMDBgMCAwECAwEDBwMDBgMCAwECAwIDBgMMGAwLFQoKEQgIDQUCAgEBAQECAQIBAQIBAQEBAgEBAQEBAQEBAQEBHhYBAQEBAQEBAQECAQEBAQECAgEBAwEBAgEBAQIDAgEEAgIBAQIBAgQCCBMKCxYMDBkNDBoNBAYDAgMCAQMCAwYDBAYDAQMCAQMCAwYDAwUDAgICAgECAwUDAQMBAQMBAgUDAgQDBAgEAwcDAQMBAgMBAgMBAgUDAQEXIwMAAAAAAQAC/8ID/gO+AFMAACU4ATEJATgBMT4BNzYmLwEuAQcOAQc4ATEJATgBMS4BJyYGDwEOARceARc4ATEJATgBMQ4BBwYWHwEeATc+ATc4ATEJATgBMR4BFxY2PwE+AScuAQP3/skBNwIEAQMDB5MHEgkDBgL+yf7JAgYDCRIHkwcDAwEEAgE3/skCBAEDAweTBxIJAwYCATcBNwIGAwkSB5MHAwMBBIkBNwE3AgYDCRIHkwcDAwEEAv7JATcCBAEDAweTBxIJAwYC/sn+yQIGAwkSB5MHAwMBBAIBN/7JAgQBAwMHkwcSCQMGAAABAAAAgAQAAsAAKgAAATQmJyYnLgEnJiMiBgcuASMiBhUUFhUuASMiBw4BBwYVFBceARcWMyEyNgQATDkBExNBKyoxOWEhEjcgOE4BCBEJKCQjNQ8PDw81IyQoApBIZgEuPl4OMCorPxISMSoYHE43BQoEAQIQDzQkIygoJCM1Dw9mAAAEAAAAQAQAA0AACwAXACsALwAAATQ2MzIWFRQGIyImJTQ2MzIWFRQGIyImBTU0JiMhIgYVERQWMyEyNj0BBREBITUhAYBeQkJeXkJCXv6AXkJCXl5CQl4DACYa/YAaJiYaAoAaJgEA/oD+AAIAAqBCXl5CQl5eQkJeXkJCXl7+YBomJhr+wBomJhpgoAHA/sDAAAAAAgBA/8ADwAPAABQAJgAAAREhIiY1NDYzIREhIgYVERQWMyERATE4ATEiBhUUFjM4ATkBITUhA4D9YCg4OCgCYP2ANUtLNQMA/SANExMNAmD9oANA/MA4KCg4AwBLNf0ANUsDgP1AEw0NE0AAAQAAAAEAACKXau1fDzz1AAsEAAAAAADWNiSXAAAAANY2JJcAAP/ABAADwAAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAACgQAAAAAAAAAAAAAAAIAAAAEAAAOBAAAAAQAAAIEAAAABAAAAAQAAEAAAAAAAAoAFAAeAGoGPga0BvYHQAd2AAAAAQAAAAoEhwAEAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAQAAAABAAAAAAACAAcARQABAAAAAAADAAQALQABAAAAAAAEAAQAWgABAAAAAAAFAAsADAABAAAAAAAGAAQAOQABAAAAAAAKABoAZgADAAEECQABAAgABAADAAEECQACAA4ATAADAAEECQADAAgAMQADAAEECQAEAAgAXgADAAEECQAFABYAFwADAAEECQAGAAgAPQADAAEECQAKADQAgG5ncmkAbgBnAHIAaVZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMG5ncmkAbgBnAHIAaW5ncmkAbgBnAHIAaVJlZ3VsYXIAUgBlAGcAdQBsAGEAcm5ncmkAbgBnAHIAaUZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:fa-ngrm;src:url(../fonts/fa-ngrm.eot);src:url(../fonts/fa-ngrm.eot#iefix) format("embedded-opentype"),url(data:font/woff2;base64,d09GMgABAAAAAAxoAA8AAAAAGXwAAAwQAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGVgCDYgggCZZwEQgKi3CKGAsUAAE2AiQDJAQgBYVBB2UMgQYbhRezEVWnNik52X99YBtLG6/vIiEFBu6tyFCpG78GWUGg3hQaRaMoPorfM0/ppjMup7c+Tyf20VwOLDoYzAhJZuH5smm9/7t7QJIJl8ZAPMssH0oGmVdewOiQoqsLOUeMIEiBQqUbXuSBPLNpnRRKcnRx7E04spcJyuZ289F4Tm4nNijAnKlVMwLPAP+ftleaPgRqrvIMpB8gw4b0KWE7KAW1pqJOUWa2q442vLjtorFtuwKpqoQKhYBvpi3tewAKa+QHbVGHdtIDd4aka1KA+X+/ltr3XnbnNuFrXIEDssKSrBS3P9lbDOyFNogoVMFFKIQCS1R1kans1BHaOlfnu4o38XSRfBHPg6owZIf0VyJAgn6z9NCRU5co3szeukY9CwAIZGvK5tpKliCZicWGMQj3EHua6/IWDvSBfg+81nz38h8DKSjOUNryXO7wEnGBh034zjqPlBjeVscigkMwGN3OiZEbSHUT0CXpb0jYLbEa9AcpFNybsod3CCjQjgEHK+XKufhzLgf/5xGAeMQ8UnhtUxRAgXQAAgUB5QsChi8IWL4g4PiCgOdVKBPwvR6emCBqOMraMpsOWPSIAgQfaZylZ/8Ynn+G9/YxMbyj/accq7ucUG3/B65NObB95z38AG3U42GJAQFRPA4odCh+3mDDx77dJw6OD8avPyVv3nVpcW43eeLsxHi7aPwnq1Kkt4e0P6U+B0X9Wj8T/FxGx+peaQ9IqOWlRWgt0aZRGD0EJefsEMvZ4Dkd5Rww0FhYbQ+F427CScST6LzPSAxYmDevw+pyVC5UM6tbSIzpmJOHXgjVRf8fz1rtb7Rgw14qu659nZNlL+I3CTHnIsnoWgEHfK73VP4CnuLL+zeBxBbNx0hBIu4U8CELl0ny4J91WeAbxyUfI6WMwpsF6P0eHMc179MQtvd5I6FgfzEDYrVo3DUlHYLkYgdkKdGOGBoLo6Qxkj+UJK9J8w+isxikmGteUJ/smsPJO/N5zQeKULU6zFI7ChQDiRIpPo2KW4HETFEfvmJR5UAJRKl/vHL9s650TYliFnUZUSzRAqV49jZV+zvKCxT92fdAGZ7tpWdvRpjOR7eK4OWojA6+U0rmnZEUKbEMRDXWVAyL6iJLE0Z3OcznKmM1dq9IZ42TNyR1DUcCFceQXNlMilOKpAh0EExdCbxdK67CRgjhthcv2UNQgZlKdfhtokSixiQlkhAkRhUk/S4dzzLkMXaZWt7s4sa6u5IDlajM1gNVqNKEalKoIQO1ZKGOHNSTB7vIh90UwB4Krb2YkSNtVuA+vMCIRaCBFBrJQBNZaCYHLeRBK/nQRgG0U5jZATXTEnRWKJRGDfXrQ7gzJNIxQX0wXaDT6DwFuiFN5dcZ1m7acqrrxFrO50AP/I1lSfcJWVxzmdELSKejM/ug205U++lJ5ElyAmIaO0f9eFj+wgGH7ttm7fNVa4EBqNHUiRbQv0eBQQwuNIEhukgEFLlvbBhV3XJRA01BIqpPulemNrVWad/5jEjsh7xUnV0LjACWWMUqfmlCrh91vSI13TgGozxRGiQLhJXIkCAyM3LdeC/91Kv5yM27hPn6HKOJgOqaGBdpk4LlPFJUhNhSfAllOTQM20MvXszWGa0sXDpkt1qT384Gm7Sbzgg4QXUJMTBpUUyzsGqgVmC/tdMWpzAdG1qrqwWCltDFVxszSm5gTGDpsDEueN+yZvPLbfwSAomSJkwTG1PaBCrEegnMzXhPAzXmHTpijnD+bXp66/dktRoaSJ1OtdJY0WTS1SaLDGhn7paFKB5nnMFYMAXTALAlJ6+TmjyoXb5y/cs2fdmubYZed06+/SwYMYll58CoddGLTSiTdePRclgO6OJFxFMXBWnySzM18mGbstL2b9QgjXScDP+J6ZTHbGfLlBsb23R+XMf47DztgE84vU4HY7zFJ7BN9+IhYzFjunrmQeUMJAycruVw3pGNir+YDJr0oxsML3BsI5Zj00CTrilB5Dq+MSmaHDvKndjoxWgcjhRMHsGZgsVOiysFG4/gloKdnYx7Cg4ewSMFJzsVzxRcPIJXCm52OrxT8PAIPil42Sn4puDjEfxSuT8w+LH27zEJDsGtxwiDi1WHMcEYAYwwcQAzB7AYkILVhrBxCDuHcHAIp43g4ghujuDhqMa78Zm3ulV03yu7PnbLH5vm0FMfS5VTD4LsEJRQ8ggxytPuch1+CQmrlSc+X12wCNLcyh2IUk34YsQFZrH0UDZfrcK0OnhJHBmtQqIKJ2JxFDsRp4aVagzmkPWVHIC9GaLgifhzyxWT5INsVaEBAFIhAC+COOoCvTUAHguCqmiYJAaF1HGbqR65Kq0cxFMPwMqYirOXxNuiVcgO6W47HYAy3SWBqlmT5XPgjhlIPSdhtqxqerEypxhE6hYiAN5kr5yac8qMijxL5keCXGMBNPwhWosEZ9rkIF6YnR9fkFOEtZgTiV8OL7KGEkZ4kWOGY37BmngQ/NbFMjNBVanEkr0Kzh6KzgUYeB58OObSVopHBJIiNBysf8s9UFQsAkaLN5MuRYMg9VJV2DbShEaejQUAPC4NS2qy5VgN+sppyZipg4g2IEAn1WVlB7E6znQCRFYnqg4ixzRyzV1rTGboJbMlX2d8vzEbvJOTvJoOvUEeoyubPNob30FfaRHwhNyONmNcyUxg7mU0MCoZSYfW+K0sOkfQoIoGe3iEhmIfk5J1yu3CcAQhHj/WQQfDWqlWn3/2/gOHU2eseLAB80g5fDTNI2pTSdgiXwXXIyAwkqT4jy/wWLhTFhJgvxs4KtsdELBXdnCr7bHAQJ4U/cNTcP7oVQI+PvUJS8KxFI+jR1ekLF0oIG65+vm55tVIj6pM4Un7rOiAEVcx4Wx6+NHp2xBX8VlgGlZ12utmFUIgCvQxzd9nqKYVs7xngY1qkP81Ydf07v3huT65p6XuPVRCOsEkQW/D93ZaEfQiqVef58417Nvqi+nGYbeYCUyrJGUmussYoDs2xg6MBLnzH4PlbssrQt3ehY9a310gd/WwHrd2XcERKcSWKLZZd7UplKv0NSnfppSko5LeBWBHq9N6HcB8pO/ErrGu1LeoHDWiaF4EcpW7Kyutq5XEwV2dTY02sHK0SKwngR4h4YsNEjZDgPECk8FD8OQJp0oYciHzthOmCQlPxTPjIzWtQ2UVU2VlpUm3RxIblAgiR1HRPILkgVxlTaVxNZJ4UacY12Ks1uhRrBFjZQtRI7qBw1hnMijoJVRJg3KqY6SmqabZc/WSWIyo5FFUon/TyFAFjxHxvZBZlEcx9MJ8IJ7v5fGNn8ei9pITI4IaMliradTqqZnppqGmxsGWidryhNsj+cyq9Ehi5ckJDbwO87qyUDxBj5LC91J+JiEBXnCpKKmeVUU8Ms6ohKFcimoCBcgO8+nLF86ePnrkYNzaWNFa+nNNxW6PBAEEQvPr5+8T099BpgDw+/+3NpHInUJAMPLjBGgmAke2FKpIACEg7UtaiDRNWYvzYYVm2LthrswdeeiQx3AAKLt1uwmsJbdJpZT7R63AiNQNEHxGUPlpNPxBtPyJAEeS8wEePo8FJOiyuH+SCm9gEBsC67zXDRCKJYnK16Hh29DyIwGO6g6qHsTPByS4Iis3JGnth/8WTzhoH33hr3zwXToJrcWXfbMTEewAbfVctufazhtbz2WX8lJBOiGbPNDbn2p3gV3FmydWBm8dy51VDTuizvnWHelcVjszr5mD5NnmPjdYY4VVbhFpd5AOkUH9BkyILHCfSJ5h9zWukWWTSJbb3GIVqd6s52IiufrXuMUym2zKv6HXInm2yJGlxzVWuMEWF1hmhdtskuVGsmMmvMIU62sqFxcZ0KufDEfFist61mjEknPjb3JHq4OA/RY5NSeZQxaKHHFiYmQbra6/Cha5RS8Qos/fZlJf3yUvRSuZ60jwdUJRMWLFiSe+BBJKAu9Pv3f1cpv57e37mt8wi4t3vdwxe8M7bq7Z4+AP6W7dyN5cBU5+zW8XLp+IvDGP7NtkbH+C27p10dkq+iyhEsQ9i6nvHfhWf0YIPfhexEtLDn3SDLx0Pn0c/0h7WKLWMt8GTyH2mbD4No1X57udP0uppDrr+c417OufKIcAGxU=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAA88AA8AAAAAGXwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY+IFL4Y21hcAAAAdgAAAB7AAAB4lcUx09jdnQgAAACVAAAABMAAAAgBtX/BGZwZ20AAAJoAAAFkAAAC3CKkZBZZ2FzcAAAB/gAAAAIAAAACAAAABBnbHlmAAAIAAAABFAAAAXwdx/9JGhlYWQAAAxQAAAAMAAAADYW+ixdaGhlYQAADIAAAAAdAAAAJAc9A1tobXR4AAAMoAAAABoAAAAkHvUAAGxvY2EAAAy8AAAAFAAAABQFUgd8bWF4cAAADNAAAAAgAAAAIAEHC/puYW1lAAAM8AAAAX4AAALBgZb3WHBvc3QAAA5wAAAATQAAAGXpG0ExcHJlcAAADsAAAAB6AAAAhuVBK7x4nGNgZGBg4GIwYLBjYHJx8wlh4MtJLMljkGJgYYAAkDwymzEnMz2RgQPGA8qxgGkOIGaDiAIAJjsFSAB4nGNgZC5knMDAysDAVMW0h4GBoQdCMz5gMGRkAooysDIzYAUBaa4pDA4vGD7+YA76n8UQxRzEMA0ozAiSAwD25QyfAHic7ZFBDsIwDATHbVoixAXewSN4UA+IV/vaW29l7ZhfYGsie6Mo0i6wALN4igb2wYjapFrqM9fUGy/tXT2BL37fj/PUxG/KMt0/1DFNetv0w8pFKrbyr1ue79p6+DcIt71Ih4tIx4tIyItIzgs5rBQG8pr9GNC/Ld4fdgB4nGNgQAMSEMgc9D8LhAESbAPdAHicrVZpd9NGFB15SZyELCULLWphxMRpsEYmbMGACUGyYyBdnK2VoIsUO+m+8Ynf4F/zZNpz6Dd+Wu8bLySQtOdwmpOjd+fN1czbZRJaktgL65GUmy/F1NYmjew8CemGTctRfCg7eyFlisnfBVEQrZbatx2HREQiULWusEQQ+x5ZmmR86FFGy7akV03KLT3pLlvjQb1V334aOsqxO6GkZjN0aD2yJVUYVaJIpj1S0qZlqPorSSu8v8LMV81QwohOImm8GcbQSN4bZ7TKaDW24yiKbLLcKFIkmuFBFHmU1RLn5IoJDMoHzZDyyqcR5cP8iKzYo5xWsEu20/y+L3mndzk/sV9vUbbkQB/Ijuzg7HQlX4RbW2HctJPtKFQRdtd3QmzZ7FT/Zo/ymkYDtysyvdCMYKl8hRArP6HM/iFZLZxP+ZJHo1qykRNB62VO7Es+gdbjiClxzRhZ0N3RCRHU/ZIzDPaYPh788d4plgsTAngcy3pHJZwIEylhczRJ2jByYCVliyqp9a6YOOV1WsRbwn7t2tGXzmjjUHdiPFsPHVs5UcnxaFKnmUyd2knNoykNopR0JnjMrwMoP6JJXm1jNYmVR9M4ZsaERCICLdxLU0EsO7GkKQTNoxm9uRumuXYtWqTJA/Xco/f05la4udNT2g70s0Z/VqdiOtgL0+lp5C/xadrlIkXp+ukZfkziQdYCMpEtNsOUgwdv/Q7Sy9eWHIXXBtju7fMrqH3WRPCkAfsb0B5P1SkJTIWYVYhWQGKta1mWydWsFqnI1HdDmla+rNMEinIcF8e+jHH9XzMzlpgSvt+J07MjLj1z7UsI0xx8m3U9mtepxXIBcWZ5TqdZlu/rNMfyA53mWZ7X6QhLW6ejLD/UaYHlRzodY3lBC5p038GQizDkAg6QMISlA0NYXoIhLBUMYbkIQ1gWYQjLJRjC8mMYwnIZhrC8rGXV1FNJ49qZWAZsQmBijh65zEXlaiq5VEK7aFRqQ54SbpVUFM+qf2WgXjzyhjmwFkiXyJpfMc6Vj0bl+NYVLW8aO1fAsepvH472OfFS1ouFPwX/1dZUJb1izcOTq/Abhp5sJ6o2qXh0TZfPVT26/l9UVFgL9BtIhVgoyrJscGcihI86nYZqoJVDzGzMPLTrdcuan8P9NzFCFlD9+DcUGgvcg05ZSVnt4KzV19uy3DuDcjgTLEkxN/P6VvgiI7PSfpFZyp6PfB5wBYxKZdhqA60VvNknMQ+Z3iTPBHFbUTZI2tjOBIkNHPOAefOdBCZh6qoN5E7hhg34BWFuwXknXKJ6oyyH7kXs8yik/Fun4kT2qGiMwLPZG2Gv70LKb3EMJDT5pX4MVBWhqRg1FdA0Um6oBl/G2bptQsYO9CMqdsOyrOLDxxb3lZJtGYR8pIjVo6Of1l6iTqrcfmYUl++dvgXBIDUxf3vfdHGQyrtayTJHbQNTtxqVU9eaQ+NVh+rmUfW94+wTOWuabronHnpf06rbwcVcLLD2bQ7SUiYX1PVhhQ2iy8WlUOplNEnvuAcYFhjQ71CKjf+r+th8nitVhdFxJN9O1LfR52AM/A/Yf0f1A9D3Y+hyDS7P95oTn2704WyZrqIX66foNzBrrblZugbc0HQD4iFHrY64yg18pwZxeqS5HOkh4GPdFeIBwCaAxeAT3bWM5lMAo/mMOT7A58xh0GQOgy3mMNhmzhrADnMY7DKHwR5zGHzBnHWAL5nDIGQOg4g5DJ4wJwB4yhwGXzGHwdfMYfANc+4DfMscBjFzGCTMYbCv6dYwzC1e0F2gtkFVoANTT1jcw+JQU2XI/o4Xhv29Qcz+wSCm/qjp9pD6Ey8M9WeDmPqLQUz9VdOdIfU3Xhjq7wYx9Q+DmPpMvxjLZQa/jHyXCgeUXWw+5++J9w/bxUC5AAEAAf//AA94nIWUXW8bRRSGz5nZnf2I7fXam1k3TdaOXdv5qku99oY2aTBtSEJw+EhTSIRa5aJCqAWMUET+AVIvILcItRWVkhtEkZpIXPID4KpSlX+AVIHU3vQGi7icsZ32AiFW2jNn5szszj7vOwsI8Pwpe8S+glMQNE7mTyQNDRgucmTAWkjlj7xhz9P0zGTRc1Dkz6ChQqn2GpZViKpZnFZBUtmX7JHTTE4ld3cpNJOqTb7sO87urvO5VMnenvPviU5FTQCN9vSAb/AB4DAKZ+ENeK/x9uREIa+ZGi7GURNosgWwDdRMW9sEE7gw+SYIQBB4TWcMLAtWVQvWOlhgNRsXXq37pdBNz7huckAfmfRH66N66NZKZ7CCxqAnCqP5UrlecMN6LQpHq9Lg9VppEvPCH/TkdFiNdLc/ye1NyGKAh3i/cxmfLcX0O/qwGfidX2SAS0u5QXwoc3homzeNGPbi9cA/SvkB5iTT/ci5nZTG4SE+M4eM2yKGj2UuJx8fRd0Wg33Tts19tdY+aqsh9kTmMok7TgR0oQp8j30LgzDSGHIQEBdJNNaiErZAaeZ7XPcn0TNIsjIeC9UNku8lOznC3vmjrwF+1hWBSUkFx0HZ02QPW0oU9b6+HmdhrjEzgVwvjjCNs0XQOHINPwVkZJiboAPXdFKCwLM1IP7rlEBzvO4X/FNCH6INJViBGHY3JAlHWJ3jFZYXhi8F0SYJalEW52g8YHxj/ovv39/8aVbTm8LVxr+8dP7jdydYpflJ6/rYipv2246HU+7S7HerH9zduojXKM6vvikS2oqOon6+0ryxdaNZGSuuJE/LRDuTTi2dm5vfuttn+Pwvfo++yQO/4dEHEDhleUWvUA+79PqK10nxGazKESTZ+b3l8GgjXF4OD8Jl3Kb7eWdbdVlGxdQy9P17j1fImS6MQwMWGpfqdG4shYSoWcJqmSgM0QKDGy1awLQ1HTkdN8ZhEzSNrdMQa16YLYSFfLV4LpOyybTFWinBAoymj9sXvq1FfhggbTIiq0pOKKlkFLqWzpd64kv2qxd4LDOU+drLpZgczizk5N+/dT35JBYVdvJRnGz2s5XZ8ZwdQrvjp922Hdjt1EhCslQupQ3FjpNbB8qWFDA7NpYNcFUqMYjyFC2x2+4x4x+4y9MwAOLAYHh60kLRxenT74JrRyfjqVSc/R7Hlc51w3Z4lIiZlHlATlIMU6SPA1k4A9PwIaw3rrx1jplifPSESw9ChTIGhogZmzaaIMy1+AATGjFGAZs6Z2hZuKZaVL8BtJob61dW31lZXLjUKOXTJXUVEoqr2zvqg64nuwz/p49huVQuCEMnyC9cUnaJ9AVUVpmeQyVDllxMh9k2T6njTGHnZfqNbfRSw+48bJ/U9AdCwz9tM6oVO68Ua1hXxR/L1pTc9yes8n3TXsVbaqyzreJ/5Kz6uo6oX6ZHHz2tzF+ssHT3bVcHhzHwrtrwD/pL8/54nGNgZGBgAGJJ5uMF8fw2Xxm4mV8ARRhu/iwJQND/VzG/YNYDcjkYmECiAEYtC+Z4nGNgZGBgDvqfBSRfMDD8/w8kgSIogBMAh9IFngAAAHicY37BwMAsCMSRQPwCSi+AYkEIBgBZxwQRAAAAAAAAAEoA2gESAXwBqgIuAkwC+AABAAAACQBcAAUAAAAAAAIAHAAsAHMAAABpC3AAAAAAeJx1kM1Kw0AUhU/aWtGCCwXB3ay0Ik1/oAuLi0JBwZ0uCoKbaZq/kmTCZCr0JXwHH8RX8Vk8TS9iBTMM891zz9y5uQBO8QUPu2/MvWMPh4x23CDfCTfJM+EW+VH4AB08Cbepvwof4waBcAdneGcFr3XEaIUPYQ8nXke4Qb4QbpKvhFvksfABzr2ZcJv6i/Ax5l4s3MGl9zkz5camceJUd3atRoPhrVpslKGUFjpTeu0SYys1VZEpXJhlxg9MHuleEdv8OYzXmbYSyTEPbZWaQg39gSgPYRFa7cLltnL1Fo+ci1RkTa7upaYqrVmFgfMT58pJv//7LY7SoMQGFiliJHBQ6FK95jnCAEPckhZ0KDp3rhQFNDIqGmveSOpMxXjKHTEqqIZ0ZGSf4zfIqWv0mInpzfHMfMzbGVX7J7cfzencVk/ruood+exr3/NAT1H7dP3y8qfnCm/0jKg63tl2Z+tuFO7/9Kk4h21uRSWg7tfTcFQn6HP981/fvtJ+FwAAeJxtwUsOgCAMBcA+PlW4JSkQExshqDHc3oVbZ8jQJ9K/AAMLBw/GghUBkVjSIUW5aut9mrZbkYdr01wG311byq5rmv4a6dyIXqWWEGsAAAB4nGPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGVidNjEwMmiBGJu5mBg5ICw+BjCLzWkX0wGgNCeQze60i8EBwmZmcNmowtgRGLHBoSNiI3OKy0Y1EG8XRwMDI4tDR3JIBEhJJBBs5mFi5NHawfi/dQNL70YmBhcADHYj9AAA) format("woff"),url(../fonts/fa-ngrm.ttf) format("truetype"),url(../img/fa-ngrm.svg#fa-ngrm) format("svg");font-weight:400;font-style:normal}[class*=" ngrm-icon-"]:before,[class^=ngrm-icon-]:before{font-family:fa-ngrm;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ngrm-icon-cancel:before{content:"\E800"}.ngrm-icon-floppy:before{content:"\E801"}.ngrm-icon-ok:before{content:"\E802"}.ngrm-icon-ccw:before{content:"\E803"}.ngrm-icon-folder:before{content:"\E804"}.ngrm-icon-upload:before{content:"\E805"}.ngrm-icon-play:before{content:"\E811"}.ngrm-icon-trash:before{content:"\F1F8"}.ngrm-icon-file-archive-o:before{content:"\F1C6"}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;-webkit-transition:opacity .15s cubic-bezier(1,.5,.8,1);transition:opacity .15s cubic-bezier(1,.5,.8,1)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{cursor:not-allowed;background-color:#f8f8f8}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 0 4px 0;background:none;border:1px solid rgba(60,60,60,.26);border-radius:4px;white-space:normal}.vs__dropdown-toggle,.vs__selected-options{display:-webkit-box;display:-ms-flexbox;display:flex}.vs__selected-options{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 6px 0 3px}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:rgba(60,60,60,.5);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855),-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);-webkit-transition-timing-function:cubic-bezier(1,-.115,.975,.855);transition-timing-function:cubic-bezier(1,-.115,.975,.855)}.vs--open .vs__open-indicator{-webkit-transform:rotate(180deg) scale(1);transform:rotate(180deg) scale(1)}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:rgba(60,60,60,.5);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:calc(100% - 1px);left:0;z-index:1000;padding:5px 0;margin:0;width:100%;max-height:350px;min-width:160px;overflow-y:auto;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.15);box-shadow:0 3px 6px 0 rgba(0,0,0,.15);border:1px solid rgba(60,60,60,.26);border-top-style:none;border-radius:0 0 4px 4px;text-align:left;list-style:none;background:#fff}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap;cursor:pointer}.vs__dropdown-option--highlight{background:#5897fb;color:#fff}.vs__dropdown-option--deselect{background:#fb5858;color:#fff}.vs__dropdown-option--disabled{background:inherit;color:rgba(60,60,60,.5);cursor:inherit}.vs__selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f0f0f0;border:1px solid rgba(60,60,60,.26);border-radius:4px;color:#333;line-height:1.4;margin:4px 2px 0 2px;padding:0 .25em;z-index:0}.vs__deselect{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:rgba(60,60,60,.5);text-shadow:0 1px 0 #fff}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--loading .vs__selected,.vs--single.vs--open .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.4;font-size:1em;border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0 0;padding:0 7px;background:none;-webkit-box-shadow:none;box-shadow:none;width:0;max-width:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;z-index:1}.vs__search::-webkit-input-placeholder{color:inherit}.vs__search::-moz-placeholder{color:inherit}.vs__search:-ms-input-placeholder{color:inherit}.vs__search::-ms-input-placeholder{color:inherit}.vs__search::placeholder{color:inherit}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{-ms-flex-item-align:center;align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid hsla(0,0%,39.2%,.1);border-right:.9em solid hsla(0,0%,39.2%,.1);border-bottom:.9em solid hsla(0,0%,39.2%,.1);border-left:.9em solid rgba(60,60,60,.45);-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;-webkit-transition:opacity .1s;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em}.vs--loading .vs__spinner{opacity:1}.ngremotemedia-select-folder-container,.ngrm-model-portal+form,.ngrm-model-portal .ngrm-overlay{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333}.ngremotemedia-select-folder-container *,.ngremotemedia-select-folder-container :after,.ngremotemedia-select-folder-container :before,.ngrm-model-portal+form *,.ngrm-model-portal+form :after,.ngrm-model-portal+form :before,.ngrm-model-portal .ngrm-overlay *,.ngrm-model-portal .ngrm-overlay :after,.ngrm-model-portal .ngrm-overlay :before{-webkit-box-sizing:inherit;box-sizing:inherit}.ngremotemedia-select-folder-container .btn,.ngrm-model-portal+form .btn,.ngrm-model-portal .ngrm-overlay .btn{border-radius:4px;text-align:center;font-size:14px;line-height:18px;color:#fff;padding:8px 16px;border:1px solid #e4e4e4;background:#fff;color:#333}.ngremotemedia-select-folder-container .btn:active,.ngrm-model-portal+form .btn:active,.ngrm-model-portal .ngrm-overlay .btn:active{background:#d7d7d7}.ngremotemedia-select-folder-container .btn.btn-blue,.ngrm-model-portal+form .btn.btn-blue,.ngrm-model-portal .ngrm-overlay .btn.btn-blue{background:#009ac7;border:0;color:#fff}.ngremotemedia-select-folder-container .btn.btn-blue:active,.ngrm-model-portal+form .btn.btn-blue:active,.ngrm-model-portal .ngrm-overlay .btn.btn-blue:active{background:#007394}.ngremotemedia-select-folder-container .v-select,.ngrm-model-portal+form .v-select,.ngrm-model-portal .ngrm-overlay .v-select{font-size:14px;line-height:16px;background-color:#fff}.ngremotemedia-select-folder-container .v-select .vs__dropdown-toggle,.ngrm-model-portal+form .v-select .vs__dropdown-toggle,.ngrm-model-portal .ngrm-overlay .v-select .vs__dropdown-toggle{border-radius:0;border:1px solid #e4e4e4;padding:3px 5px 6px}.ngremotemedia-select-folder-container .v-select input::-webkit-input-placeholder,.ngrm-model-portal+form .v-select input::-webkit-input-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::-webkit-input-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input::-moz-placeholder,.ngrm-model-portal+form .v-select input::-moz-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::-moz-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input:-ms-input-placeholder,.ngrm-model-portal+form .v-select input:-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input:-ms-input-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input::-ms-input-placeholder,.ngrm-model-portal+form .v-select input::-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::-ms-input-placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container .v-select input::placeholder,.ngrm-model-portal+form .v-select input::placeholder,.ngrm-model-portal .ngrm-overlay .v-select input::placeholder{color:#333;font-style:italic}.ngremotemedia-select-folder-container ::-webkit-input-placeholder,.ngrm-model-portal+form ::-webkit-input-placeholder,.ngrm-model-portal .ngrm-overlay ::-webkit-input-placeholder{color:#999}.ngremotemedia-select-folder-container ::-moz-placeholder,.ngrm-model-portal+form ::-moz-placeholder,.ngrm-model-portal .ngrm-overlay ::-moz-placeholder{color:#999}.ngremotemedia-select-folder-container :-ms-input-placeholder,.ngrm-model-portal+form :-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay :-ms-input-placeholder{color:#999}.ngremotemedia-select-folder-container ::-ms-input-placeholder,.ngrm-model-portal+form ::-ms-input-placeholder,.ngrm-model-portal .ngrm-overlay ::-ms-input-placeholder{color:#999}.ngremotemedia-select-folder-container ::placeholder,.ngrm-model-portal+form ::placeholder,.ngrm-model-portal .ngrm-overlay ::placeholder{color:#999}.ngremotemedia-container{text-align:start}.ngrm-model-portal .ngrm-overlay .ng-icon{font-size:4.5em;font-family:ngri;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-align:center;line-height:80px;display:block;color:#333}.ngrm-model-portal .ngrm-overlay .ng-icon.big{font-size:64px;color:#333}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-warning:before{content:"\E900"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-spinner:before{content:"\E901"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-close:before{content:"\E902"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-cloud:before{content:"\E903"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-video:before{content:"\E904"}.ngrm-model-portal .ngrm-overlay .ng-icon.ng-book:before{content:"\E905"}.ngrm-model-portal .ngrm-overlay .image-meta{overflow:visible}.ngrm-model-portal .ngrm-overlay .image-meta h3{font-weight:700}.ngrm-model-portal .ngrm-overlay .image-meta p{color:#737373}.ngrm-model-portal .ngrm-overlay .image-meta input.media-alttext,.ngrm-model-portal .ngrm-overlay .image-meta input.media-alttext-override,.ngrm-model-portal .ngrm-overlay .image-meta input.media-caption,.ngrm-model-portal .ngrm-overlay .image-meta input.media-caption-override,.ngrm-model-portal .ngrm-overlay .image-meta input.media-css-class,.ngrm-model-portal .ngrm-overlay .image-meta input.media-watermarktext{width:100%;border-radius:0;border:1px solid #e4e4e4;padding:7px 10px 7px 10px;margin-bottom:10px}.ngrm-model-portal .ngrm-overlay .image-meta .image-meta-data{margin-top:20px}.ngrm-model-portal .ngrm-overlay .image-wrap:has(.icon-doc){position:relative;height:200px;max-width:400px;display:block;margin-bottom:4px}.ngrm-model-portal .ngrm-overlay .image-wrap:has(.icon-doc):before{position:absolute;content:""}.ngrm-model-portal .ngrm-overlay .image-wrap:has(.icon-doc):before{background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.ngrm-model-portal .ngrm-overlay .image-wrap .icon-doc{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:70px}.ngrm-model-portal .ngrm-overlay .image-wrap img{max-width:100%}.ngrm-model-portal .ngrm-overlay .vue-treeselect{font-size:14px;line-height:16px}.ngrm-model-portal .ngrm-overlay .vue-treeselect .vue-treeselect__control{border-radius:0;border:1px solid #e4e4e4}.ngrm-model-portal .ngrm-overlay .vue-treeselect .vue-treeselect__placeholder{color:#333;font-style:italic}@-webkit-keyframes spinning{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinning{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ngremotemedia-buttons{margin-top:20px}.ngremotemedia-buttons input[type=button]{border-radius:4px;text-align:center;font-size:14px!important;line-height:18px;padding:8px 16px;border:1px solid #e4e4e4;background:#f1f4fa;cursor:pointer;color:#333;font-weight:400;font-family:Arial,Helvetica,sans-serif}.o2k7Skin .mceIcon.mce_ngremotemedia img{width:2rem}.limit-indicator{padding:12px 16px;margin:15px 0;border-radius:4px;font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.limit-indicator i{margin-right:10px;font-size:16px}.limit-indicator.limit-reached{background-color:#fff3cd;border:1px solid #ffc107;color:#856404}.limit-indicator.limit-exceeded{background-color:#f8d7da;border:1px solid #dc3545;color:#721c24;font-weight:600}.limit-indicator.ngrm-floating-notice{position:fixed;top:20px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:10000;max-width:calc(100vw - 32px);margin:0;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ngrm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ngrm-dragging,.ngrm-dragging *{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.ngremotemedia-multi-gallery[data-v-9c3799a6]{margin-bottom:20px;max-width:100%;overflow:hidden}.ngremotemedia-multi-gallery [data-v-9c3799a6],.ngremotemedia-multi-gallery [data-v-9c3799a6]:after,.ngremotemedia-multi-gallery [data-v-9c3799a6]:before{-webkit-box-sizing:border-box;box-sizing:border-box}.ngremotemedia-multi-gallery .gallery-draggable-container[data-v-9c3799a6]{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,480px));gap:24px;-webkit-box-align:start;-ms-flex-align:start;align-items:start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.ngremotemedia-multi-gallery .gallery-toolbar[data-v-9c3799a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-bottom:12px}.ngremotemedia-multi-gallery .gallery-toolbar .gallery-view-toggle[data-v-9c3799a6]{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background-color:#fff;font-size:13px;cursor:pointer}.ngremotemedia-multi-gallery .gallery-toolbar .gallery-view-toggle[aria-pressed=true][data-v-9c3799a6]{border-color:#4a90e2;color:#4a90e2}.ngremotemedia-multi-gallery .gallery-toolbar .gallery-view-toggle i[data-v-9c3799a6]{margin-right:5px}.ngremotemedia-multi-gallery.is-compact .gallery-draggable-container[data-v-9c3799a6]{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image[data-v-9c3799a6]{padding:8px}.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-header[data-v-9c3799a6]{margin-bottom:8px;padding-bottom:8px}.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-wrap[data-v-9c3799a6]{height:110px;margin-bottom:8px;padding:6px}.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-wrap .file-placeholder[data-v-9c3799a6]{height:98px}.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-meta .title[data-v-9c3799a6]{margin-bottom:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-meta .image-actions[data-v-9c3799a6],.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-meta .image-meta-data[data-v-9c3799a6],.ngremotemedia-multi-gallery.is-compact .ngremotemedia-image .image-meta p[data-v-9c3799a6]{display:none}.ngremotemedia-multi-gallery .ngremotemedia-image[data-v-9c3799a6]{display:block;min-width:0;width:100%;max-width:100%;border:1px solid #ddd;border-radius:4px;padding:15px;background-color:#fff;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.1);box-shadow:0 2px 4px rgba(0,0,0,.1);-webkit-transition:-webkit-box-shadow .2s,-webkit-transform .2s;transition:-webkit-box-shadow .2s,-webkit-transform .2s;transition:box-shadow .2s,transform .2s;transition:box-shadow .2s,transform .2s,-webkit-box-shadow .2s,-webkit-transform .2s}.ngremotemedia-multi-gallery .ngremotemedia-image.sortable-ghost[data-v-9c3799a6]{opacity:.5;background-color:#f0f8ff}.ngremotemedia-multi-gallery .ngremotemedia-image.sortable-drag[data-v-9c3799a6]{-webkit-box-shadow:0 8px 16px rgba(0,0,0,.2);box-shadow:0 8px 16px rgba(0,0,0,.2);-webkit-transform:rotate(2deg);transform:rotate(2deg)}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header[data-v-9c3799a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eee;min-width:0}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .drag-handle[data-v-9c3799a6]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;cursor:-webkit-grab;cursor:grab;padding:8px;color:#999;font-size:16px;border-radius:4px;-webkit-transition:color .2s,background-color .2s;transition:color .2s,background-color .2s}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .drag-handle[data-v-9c3799a6]:hover{color:#333;background-color:#f5f5f5}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .drag-handle[data-v-9c3799a6]:active{cursor:-webkit-grabbing;cursor:grabbing}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .position-indicator[data-v-9c3799a6]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:28px;height:28px;background-color:#4a90e2;color:#fff;border-radius:50%;font-size:12px;font-weight:600;margin-left:8px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .reorder-buttons[data-v-9c3799a6]{margin-left:auto;display:-webkit-box;display:-ms-flexbox;display:flex;gap:4px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .reorder-buttons .reorder-btn[data-v-9c3799a6]{width:32px;height:32px;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #ddd;background-color:#fff;border-radius:4px;cursor:pointer;-webkit-transition:all .2s;transition:all .2s}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .reorder-buttons .reorder-btn[data-v-9c3799a6]:hover:not(:disabled){background-color:#f5f5f5;border-color:#4a90e2;color:#4a90e2}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .reorder-buttons .reorder-btn[data-v-9c3799a6]:disabled{opacity:.3;cursor:not-allowed}.ngremotemedia-multi-gallery .ngremotemedia-image .image-header .reorder-buttons .reorder-btn i[data-v-9c3799a6]{font-size:12px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-wrap[data-v-9c3799a6]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px;width:100%;max-width:100%;float:none;overflow:hidden;border-radius:4px;height:360px;padding:24px;background-color:#f5f5f5;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ngremotemedia-multi-gallery .ngremotemedia-image .image-wrap img[data-v-9c3799a6],.ngremotemedia-multi-gallery .ngremotemedia-image .image-wrap video[data-v-9c3799a6]{width:100%;height:100%;display:block;-o-object-fit:contain;object-fit:contain;border-radius:4px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-wrap .file-placeholder[data-v-9c3799a6]{position:relative;width:100%;height:220px;display:block;background-color:#f5f5f5;border-radius:4px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-wrap .file-placeholder .icon-doc[data-v-9c3799a6]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#999;font-size:40px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-wrap .file-placeholder[data-v-9c3799a6]:before{position:absolute;content:"";background-color:rgba(0,0,0,.1);top:0;bottom:0;left:0;right:0;border-radius:4px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta[data-v-9c3799a6]{display:block;min-width:0;width:100%;max-width:100%;float:none}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .title[data-v-9c3799a6]{font-size:16px;font-weight:600;margin-bottom:8px;color:#333;overflow-wrap:anywhere}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta p[data-v-9c3799a6]{font-size:13px;color:#666;margin-bottom:4px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data[data-v-9c3799a6]{display:block;margin-top:15px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data>div[data-v-9c3799a6]{display:block;min-width:0;width:100%;max-width:100%;margin-bottom:15px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data>div .help-block.description[data-v-9c3799a6]{display:block;font-size:12px;font-weight:600;color:#555;margin-bottom:5px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data>div input[type=text][data-v-9c3799a6]{width:100%;min-width:0;padding:8px;border:1px solid #ddd;border-radius:3px;font-size:13px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data>div input[type=text][data-v-9c3799a6]:focus{outline:none;border-color:#4a90e2;-webkit-box-shadow:0 0 0 2px rgba(74,144,226,.1);box-shadow:0 0 0 2px rgba(74,144,226,.1)}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data .ngremotemedia-tags .v-select[data-v-9c3799a6]{width:100%;min-width:0}.ngremotemedia-multi-gallery .ngremotemedia-image .image-meta .image-meta-data>div[data-v-9c3799a6]:last-child{margin-bottom:0}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions[data-v-9c3799a6]{display:block;width:100%;max-width:100%;float:none;margin-top:15px;padding-top:15px;border-top:1px solid #ddd}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .crop-file-btn[data-v-9c3799a6],.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .remove-file-btn[data-v-9c3799a6]{width:100%;padding:8px;border:none;border-radius:4px;cursor:pointer;font-size:13px;margin-bottom:8px}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .crop-file-btn[data-v-9c3799a6]{background-color:#f5f5f5;color:#333}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .crop-file-btn[data-v-9c3799a6]:hover{background-color:#e8e8e8}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .remove-file-btn[data-v-9c3799a6]{background-color:#dc3545;color:#fff;margin-bottom:0}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .remove-file-btn[data-v-9c3799a6]:hover{background-color:#c82333}.ngremotemedia-multi-gallery .ngremotemedia-image .image-actions .remove-file-btn i[data-v-9c3799a6]{margin-right:5px}@media (max-width:520px){.ngremotemedia-multi-gallery .gallery-draggable-container[data-v-9c3799a6]{grid-template-columns:1fr}.ngremotemedia-multi-gallery .ngremotemedia-image[data-v-9c3799a6]{padding:12px}}.ngremotemedia-image .image-wrap .file-placeholder[data-v-9c3799a6]{position:relative;max-width:500px;height:280px;display:block;margin-bottom:4px}.ngremotemedia-image .image-wrap .file-placeholder .icon-doc[data-v-9c3799a6]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:40px}.ngremotemedia-image .image-wrap .file-placeholder[data-v-9c3799a6]:before{position:absolute;content:"";background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.mediaFacets[data-v-278bb214]{width:362px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4}.mediaFacets .body[data-v-278bb214]{-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4,inset 0 1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4,inset 0 1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4;background:#fff;padding:30px 15px}.mediaFacets .body .form-field+.form-field[data-v-278bb214]{margin-top:15px}.mediaFacets .body .form-field label[data-v-278bb214],.mediaFacets .body .search-wrapper .search-label[data-v-278bb214]{font-size:12px;font-weight:700;line-height:18px;color:#757575;margin-bottom:3px;display:block}.mediaFacets .body .search-wrapper[data-v-278bb214]{margin:30px 0 0}.mediaFacets .body .search-wrapper .search[data-v-278bb214]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:5px 0}.mediaFacets .body .search-wrapper .search input[data-v-278bb214],.mediaFacets .body .search-wrapper .search ul[data-v-278bb214]{font-size:14px;line-height:16px}.mediaFacets .body .search-wrapper .search ul[data-v-278bb214]{margin:0;padding:5px;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #e4e4e4;min-width:75px;display:none}.mediaFacets .body .search-wrapper .search ul li[data-v-278bb214]{cursor:auto;margin-right:10px;padding:4px 10px;min-width:45px}.mediaFacets .body .search-wrapper .search ul li[data-v-278bb214]:last-child,.mediaFacets .body .search-wrapper .search ul li[data-v-278bb214]:only-child{margin:0}.mediaFacets .body .search-wrapper .search ul li.active[data-v-278bb214]{background:#009ac7;color:#fff;border-radius:4px;-webkit-box-shadow:inset -1px 0 0 0 #d7d7d7,inset 1px 0 0 0 #d7d7d7,inset 0 1px 0 0 #d7d7d7,inset 0 -1px 0 0 #d7d7d7;box-shadow:inset -1px 0 0 0 #d7d7d7,inset 1px 0 0 0 #d7d7d7,inset 0 1px 0 0 #d7d7d7,inset 0 -1px 0 0 #d7d7d7}.mediaFacets .body .search-wrapper .search input[data-v-278bb214]{border:1px solid #e4e4e4;padding:9px 10px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.mediaFacets .ng-spinner[data-v-278bb214]{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mediaFacets .ng-spinner[data-v-278bb214]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite}.media-gallery[data-v-113e84df]{position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0}.media-gallery>[data-v-113e84df]{-ms-flex-negative:0;flex-shrink:0}.media-gallery .items[data-v-113e84df]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;padding:15px;overflow-y:auto}.media-gallery .items.loading[data-v-113e84df]{opacity:.5}.media-gallery .items .media[data-v-113e84df]{position:relative;width:190px;min-height:182px;max-height:190px;padding:8px;margin:0 15px 15px 0;background-color:#fff;display:inline-block}.media-gallery .items .media .media-container[data-v-113e84df]{width:100%}.media-gallery .items .media .img[data-v-113e84df]{display:block;margin-bottom:4px;-o-object-fit:cover;object-fit:cover;height:100px;width:100%;overflow:hidden;text-overflow:ellipsis}.media-gallery .items .media .file-placeholder[data-v-113e84df]{position:relative;height:95px;display:block;margin-bottom:4px}.media-gallery .items .media .file-placeholder .icon-doc[data-v-113e84df]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:40px}.media-gallery .items .media .file-placeholder[data-v-113e84df]:before{position:absolute;content:"";background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.media-gallery .items .media .filename[data-v-113e84df]{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;font-size:16px;line-height:20px;margin-top:4px;margin-bottom:0}.media-gallery .items .media .size-description[data-v-113e84df]{font-size:12px;line-height:14px;text-align:center;color:#999}.media-gallery .items .media .size-description .format[data-v-113e84df]{text-transform:uppercase}.media-gallery .items .media.selected[data-v-113e84df]{border:1px solid #009ac7}.media-gallery .items .media.added[data-v-113e84df]{opacity:.5}.media-gallery .items .media.added .select-btn[data-v-113e84df]{cursor:not-allowed}.media-gallery .items .media .select-btn[data-v-113e84df]{margin-top:8px;padding:3px;width:100%}.media-gallery .folder-empty[data-v-113e84df]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.media-gallery .folder-empty span[data-v-113e84df]{display:block;text-align:center;font-size:14px;line-height:16px}.media-gallery .folder-empty span.ngrm-icon-folder[data-v-113e84df]{color:#999;font-size:33px}.media-gallery .folder-empty span strong[data-v-113e84df]{display:block;margin:5px 0;font-size:16px;line-height:19px}.media-gallery .multi-select-bar[data-v-113e84df]{padding:15px;background-color:#f8f9fa;border-top:2px solid #dee2e6;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.media-gallery .multi-select-bar .selection-info[data-v-113e84df]{font-size:14px;font-weight:600;color:#495057}.media-gallery .multi-select-bar .btn-primary[data-v-113e84df]{padding:10px 20px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.media-gallery .multi-select-bar .btn-primary[data-v-113e84df]:disabled{opacity:.5;cursor:not-allowed}.media-gallery .multi-select-bar .btn-primary[data-v-113e84df]:hover:not(:disabled){background-color:#0056b3}.media-gallery .load-more-wrapper[data-v-113e84df]{padding:8px 15px;background-color:#fff;text-align:right;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4}.ngrm-overlay[data-v-03fd1c54]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.8);z-index:9999}.ngrm-overlay .media-modal[data-v-03fd1c54]{background-color:#f5f5f5;-webkit-box-shadow:0 5px 15px 0 rgba(0,0,0,.5);box-shadow:0 5px 15px 0 rgba(0,0,0,.5);margin:32px;height:calc(100vh - 64px)}.ngrm-overlay .media-modal .title[data-v-03fd1c54]{padding:15px;font-size:16px;font-weight:700;line-height:20px;color:#333;background:#fff;text-transform:uppercase;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4}.ngrm-overlay .media-modal .title .close[data-v-03fd1c54]{float:right;cursor:pointer;padding:2px 10px}.ngrm-overlay .media-modal .body[data-v-03fd1c54]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;height:calc(100% - 50px)}.ngrm-overlay .img-placeholder img[data-v-03fd1c54]{height:100%}.ngremotemedia-buttons input[type=button]{margin-bottom:4px;margin-right:4px}.help-block.description{margin-right:6px}.btn,.sidebar-crop .buttons{font-size:14px!important;font-family:Arial,Helvetica,sans-serif}.ngremotemedia-selected-variation .vs__selected-options input[type=search].vs__search,.ngremotemedia-tags .vs__selected-options input[type=search].vs__search{border:none}.ngremotemedia-selected-variation select[hidden=hidden],.ngremotemedia-tags select[hidden=hidden]{display:none}.ngremotemedia-image h3.title{word-break:break-word}.ngremotemedia-image .image-wrap img{max-width:100%}.input-file-name-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.input-file-name-wrapper .v-select,.input-file-name-wrapper input[type=text]{margin-right:16px}.input-file-name-wrapper .v-select.vs--single.vs--searchable{margin-right:10px}.input-file-name-wrapper .v-select.vs--single.vs--searchable input.vs__search{background:transparent}.input-file-name-wrapper button.btn{margin-left:40%;font-size:14px!important;font-family:Arial}.input-file-name-wrapper .vs__dropdown-toggle{height:37px}.media-gallery .items .media{line-height:normal}.ng-spinner[data-v-3192cd92]{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ng-spinner[data-v-3192cd92]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite}.sidebar-crop[data-v-ad171770]{width:264px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4}.sidebar-crop .buttons[data-v-ad171770]{background:#fff;padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4;margin-right:1px}.sidebar-crop .buttons button[data-v-ad171770]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.sidebar-crop .buttons button.crop-btn-add[data-v-ad171770]{margin-left:10px}.sidebar-crop .buttons button[data-v-ad171770]:only-child{width:100%}.sidebar-crop-label span[data-v-ad171770]{color:#999;font-size:14px;line-height:18px;display:inline-block;padding:31px 15px 15px;width:100%;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4}.unselectedVariations[data-v-ad171770]{position:absolute;top:0;left:0;width:264px;height:100%;-webkit-transform:translateX(264px);transform:translateX(264px);background:#fff;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4;z-index:10}.unselectedVariations>div[data-v-ad171770]{padding:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-color:#fff;-webkit-box-shadow:inset 0 -1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4;box-shadow:inset 0 -1px 0 0 #e4e4e4,inset -1px 0 0 0 #e4e4e4}.unselectedVariations>div input[data-v-ad171770],.unselectedVariations>div label[data-v-ad171770]{cursor:pointer}.unselectedVariations>div input[data-v-ad171770]{margin-right:11px}.unselectedVariations>div label[data-v-ad171770]{width:100%}.unselectedVariations>div .name[data-v-ad171770]{color:#333;font-size:14px;line-height:18px}.unselectedVariations>div .formatted-size[data-v-ad171770]{color:#999;font-size:12px;line-height:18px;display:block}.unselectedVariations>div.disabled[data-v-ad171770]{-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:#f5f5f5;cursor:auto;color:#ddd;padding:15px 15px 5px}.unselectedVariations>div.disabled input[data-v-ad171770],.unselectedVariations>div.disabled label[data-v-ad171770],.unselectedVariations>div.disabled span[data-v-ad171770]{cursor:auto}.unselectedVariations>div.disabled label[data-v-ad171770]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:auto;color:#999}.unselectedVariations .legend-not-selectable[data-v-ad171770]{width:100%;font-size:.75rem;color:#a41034;display:inline-block;text-align:right}.selectedVariations ul[data-v-ad171770]{list-style:none;padding:0;margin:0}.selectedVariations ul li[data-v-ad171770]{padding:15px 0 15px 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-shadow:inset -1px 0 0 0 #e4e4e4,inset 0 -1px 0 0 #e4e4e4;box-shadow:inset -1px 0 0 0 #e4e4e4,inset 0 -1px 0 0 #e4e4e4;background-color:#fff;cursor:pointer}.selectedVariations ul li.disabled[data-v-ad171770]{background-color:#f5f5f5;cursor:auto}.selectedVariations ul li.selected.set[data-v-ad171770]{color:#90ee90}.selectedVariations ul li span[data-v-ad171770]{display:block;color:#333;font-size:14px;line-height:18px}.selectedVariations ul li a[data-v-ad171770]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.selectedVariations ul li a span[data-v-ad171770]{padding:5px}.selectedVariations ul li a .ngrm-icon-trash[data-v-ad171770]{color:#009ac7;padding:10px}.selectedVariations ul li .formatted-size[data-v-ad171770]{color:#999;font-size:12px;line-height:18px}.selectedVariations ul li .circle-orange[data-v-ad171770]{width:8px;height:8px;background-color:orange;border-radius:50%}.selectedVariations .set .circle-orange[data-v-ad171770]{display:none}.crop .cropper[data-v-5f73791e]{position:relative;margin:0 auto}.crop .cropper button[data-v-5f73791e]{margin-left:8px}.crop .cropper .buttons[data-v-5f73791e]{position:absolute}.crop .preview[data-v-5f73791e]{width:100%;height:500px;overflow:hidden}.crop-container[data-v-45497070]{overflow-y:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:30px 30px 80px}.crop-container[data-v-45497070]:empty{display:none}.img-placeholder[data-v-45497070]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:60px 60px 110px}.img-placeholder img[data-v-45497070]{max-width:100%;height:auto;margin:0 auto;display:block}.action-strip[data-v-45497070]{padding:8px 15px;background-color:#fff;text-align:right;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;position:absolute;bottom:0;left:264px;right:0}.action-strip button[data-v-45497070]{margin-left:10px}.action-strip .ngrm-icon-floppy[data-v-45497070]{margin-right:5px}.vue-treeselect__menu{z-index:9999}.vue-treeselect__option[data-id^=__create_] .vue-treeselect__label-container{padding-left:0}.folder-tree-select[data-v-41f4517d]{position:relative}.folder-tree-select .folder-option[data-v-41f4517d]{width:100%}.folder-tree-select .folder-option .folder-label[data-v-41f4517d]{display:block;width:100%}.folder-tree-select .folder-option .create-folder-action[data-v-41f4517d]{display:block;width:100%;color:#28a745;font-style:italic;cursor:pointer;padding:2px 0;-webkit-transition:color .2s;transition:color .2s}.folder-tree-select .folder-option .create-folder-action[data-v-41f4517d]:hover{color:#218838}.folder-tree-select .folder-option .create-folder-action i[data-v-41f4517d]{margin-right:6px;font-size:12px}.folder-tree-select .create-folder-inline[data-v-41f4517d]{margin-top:10px;padding:12px;border:1px solid #ddd;border-radius:4px;background-color:#f8f9fa}.folder-tree-select .create-folder-inline .create-folder-header[data-v-41f4517d]{font-weight:600;margin-bottom:8px;font-size:13px;color:#333}.folder-tree-select .create-folder-inline .create-folder-header i[data-v-41f4517d]{color:#f39c12;margin-right:6px}.folder-tree-select .create-folder-inline .create-folder-body .new-folder-input[data-v-41f4517d]{width:100%;padding:6px 8px;border:1px solid #ddd;border-radius:3px;font-size:13px;margin-bottom:8px}.folder-tree-select .create-folder-inline .create-folder-body .new-folder-input[data-v-41f4517d]:focus{outline:none;border-color:#4a90e2;-webkit-box-shadow:0 0 0 2px rgba(74,144,226,.1);box-shadow:0 0 0 2px rgba(74,144,226,.1)}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions[data-v-41f4517d]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:6px}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn[data-v-41f4517d]{padding:4px 10px;font-size:12px;border:none;border-radius:3px;cursor:pointer;-webkit-transition:background-color .2s;transition:background-color .2s}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn i[data-v-41f4517d]{margin-right:4px}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn.btn-primary[data-v-41f4517d]{background-color:#28a745;color:#fff}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn.btn-primary[data-v-41f4517d]:hover:not(:disabled){background-color:#218838}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn.btn-primary[data-v-41f4517d]:disabled{background-color:#94d3a2;cursor:not-allowed}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn.btn-default[data-v-41f4517d]{background-color:#6c757d;color:#fff}.folder-tree-select .create-folder-inline .create-folder-body .create-folder-actions .btn.btn-default[data-v-41f4517d]:hover{background-color:#5a6268}.folder-tree-select .create-folder-inline .create-folder-error[data-v-41f4517d]{margin-top:8px;padding:6px;background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:3px;font-size:12px}.multi-upload-table[data-v-3d7dd364]{margin:20px 0;overflow-x:auto}.multi-upload-table table[data-v-3d7dd364]{width:100%;border-collapse:collapse;background-color:#fff}.multi-upload-table table thead[data-v-3d7dd364]{background-color:#e4e4e4}.multi-upload-table table thead th[data-v-3d7dd364]{padding:12px 8px;text-align:left;font-weight:600;border-bottom:2px solid #cbcbcb;font-size:13px}.multi-upload-table table tbody tr[data-v-3d7dd364]{border-bottom:1px solid #e4e4e4;-webkit-transition:background-color .2s;transition:background-color .2s}.multi-upload-table table tbody tr[data-v-3d7dd364]:hover{background-color:#f1f1f1}.multi-upload-table table tbody tr.status-uploading[data-v-3d7dd364]{background-color:#aeedff}.multi-upload-table table tbody tr.status-success[data-v-3d7dd364]{background-color:#b3ffb3}.multi-upload-table table tbody tr.status-error[data-v-3d7dd364]{background-color:#ffe6e6}.multi-upload-table table tbody tr.over-limit-row[data-v-3d7dd364]{background-color:#f8d7da;border-left:4px solid #dc3545}.multi-upload-table table tbody tr.over-limit-row td[data-v-3d7dd364]{color:#721c24}.multi-upload-table table tbody td[data-v-3d7dd364]{padding:10px 8px;vertical-align:middle}.preview-cell[data-v-3d7dd364]{width:80px}.preview-cell .file-preview[data-v-3d7dd364]{width:60px;height:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #e4e4e4;border-radius:4px;overflow:hidden;background-color:#f5f5f5}.preview-cell .file-preview img[data-v-3d7dd364]{max-width:100%;max-height:100%;-o-object-fit:cover;object-fit:cover}.preview-cell .file-preview .file-icon[data-v-3d7dd364]{font-size:24px;color:#d7d7d7}.filename-cell[data-v-3d7dd364]{min-width:200px}.filename-cell .filename-input[data-v-3d7dd364]{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;padding:6px 8px;border:1px solid #e4e4e4;border-radius:3px;font-size:13px}.filename-cell .filename-input[data-v-3d7dd364]:disabled{background-color:#f5f5f5;cursor:not-allowed}.filename-cell .filename-input.is-invalid[data-v-3d7dd364]{border-color:red}.filename-cell .file-size[data-v-3d7dd364]{margin-top:4px;font-size:11px;color:#999}.folder-cell[data-v-3d7dd364]{min-width:150px}.folder-cell .folder-fixed[data-v-3d7dd364]{color:#999}.folder-cell .folder-fixed i[data-v-3d7dd364]{margin-right:4px}.overwrite-cell[data-v-3d7dd364]{width:80px;text-align:center}.overwrite-cell .overwrite-checkbox[data-v-3d7dd364]{width:18px;height:18px;cursor:pointer}.overwrite-cell .overwrite-checkbox[data-v-3d7dd364]:disabled{cursor:not-allowed}.visibility-cell[data-v-3d7dd364]{min-width:120px}.visibility-cell .v-select[data-v-3d7dd364]{font-size:13px}.status-cell[data-v-3d7dd364]{min-width:150px}.status-cell .status-indicator[data-v-3d7dd364]{margin-bottom:5px}.status-cell .status-badge[data-v-3d7dd364]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:5px;padding:4px 8px;border-radius:3px;font-size:12px;font-weight:500}.status-cell .status-badge.status-pending[data-v-3d7dd364]{background-color:#fff;color:#666}.status-cell .status-badge.status-uploading[data-v-3d7dd364]{background-color:#94e7ff;color:#004b61}.status-cell .status-badge.status-success[data-v-3d7dd364]{background-color:#80ff80;color:#001a00}.status-cell .status-badge.status-error[data-v-3d7dd364]{background-color:#fcc;color:#900}.status-cell .progress-bar[data-v-3d7dd364]{width:100%;height:6px;background-color:#e4e4e4;border-radius:3px;overflow:hidden;margin-top:4px}.status-cell .progress-bar .progress-fill[data-v-3d7dd364]{height:100%;background-color:#009ac7;-webkit-transition:width .3s ease;transition:width .3s ease}.status-cell .error-message[data-v-3d7dd364]{margin-top:4px;font-size:11px;color:red;word-break:break-word}.status-cell .notice-message[data-v-3d7dd364]{margin-top:4px;font-size:11px;color:#999}.actions-cell[data-v-3d7dd364]{min-width:100px;text-align:center}.actions-cell .btn[data-v-3d7dd364]{padding:6px 10px;font-size:12px;margin:2px}.multi-upload-table.is-narrow[data-v-3d7dd364]{overflow-x:visible}.multi-upload-table.is-narrow table[data-v-3d7dd364],.multi-upload-table.is-narrow tbody[data-v-3d7dd364]{display:block}.multi-upload-table.is-narrow thead[data-v-3d7dd364]{display:none}.multi-upload-table.is-narrow table tbody tr[data-v-3d7dd364]{display:grid;grid-template-columns:60px minmax(0,1fr);gap:10px 12px;padding:12px 8px}.multi-upload-table.is-narrow table tbody td[data-v-3d7dd364]{display:block;width:auto;min-width:0;padding:0;text-align:left}.multi-upload-table.is-narrow td[data-label][data-v-3d7dd364]:before{content:attr(data-label);display:block;margin-bottom:4px;font-size:11px;font-weight:600;color:#999}.multi-upload-table.is-narrow .preview-cell[data-v-3d7dd364]{grid-column:1}.multi-upload-table.is-narrow .filename-cell[data-v-3d7dd364]{grid-column:2}.multi-upload-table.is-narrow .actions-cell[data-v-3d7dd364],.multi-upload-table.is-narrow .folder-cell[data-v-3d7dd364],.multi-upload-table.is-narrow .overwrite-cell[data-v-3d7dd364],.multi-upload-table.is-narrow .status-cell[data-v-3d7dd364],.multi-upload-table.is-narrow .visibility-cell[data-v-3d7dd364]{grid-column:1/-1}.multi-upload-table.is-narrow table tbody td.overwrite-cell[data-v-3d7dd364]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.multi-upload-table.is-narrow table tbody td.overwrite-cell[data-v-3d7dd364]:before{margin-bottom:0}.multi-upload-table.is-narrow table tbody td.actions-cell[data-v-3d7dd364]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:6px}.multi-upload-table.is-narrow table tbody td.actions-cell .btn[data-v-3d7dd364]{margin:0}.multi-upload-inline[data-v-b0092f00]{margin-top:20px}.global-settings[data-v-b0092f00]{padding:15px;background-color:#aeedff;border:1px solid #61dbff;border-radius:4px;margin-bottom:15px}.global-settings .global-setting-item[data-v-b0092f00]{margin-bottom:15px}.global-settings .global-setting-item[data-v-b0092f00]:last-child{margin-bottom:0}.global-settings .global-setting-item label[data-v-b0092f00]{font-weight:600;margin-bottom:8px;display:block}.global-settings .global-folder label[data-v-b0092f00]{white-space:nowrap}.global-settings .global-visibility .v-select[data-v-b0092f00]{max-width:300px}.global-settings .global-overwrite label[data-v-b0092f00]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;cursor:pointer;font-weight:400}.global-settings .global-overwrite label input[type=checkbox][data-v-b0092f00]{width:18px;height:18px;cursor:pointer}.dropzone[data-v-b0092f00]{border:2px dashed #e4e4e4;border-radius:4px;padding:30px 20px;text-align:center;cursor:pointer;-webkit-transition:all .3s ease;transition:all .3s ease;background-color:#f5f5f5;margin-bottom:20px}.dropzone[data-v-b0092f00]:hover{border-color:#009ac7;background-color:#aeedff}.dropzone.dragover[data-v-b0092f00]{border-color:#009ac7;background-color:#94e7ff;-webkit-transform:scale(1.02);transform:scale(1.02)}.dropzone.has-files[data-v-b0092f00]{padding:20px}.dropzone.disabled[data-v-b0092f00]{opacity:.5;cursor:not-allowed;background-color:#f5f5f5}.dropzone.disabled[data-v-b0092f00]:hover{border-color:#e4e4e4;background-color:#f5f5f5}.dropzone .dropzone-content[data-v-b0092f00]{pointer-events:none}.dropzone .dropzone-content .ng-icon[data-v-b0092f00]{font-size:48px;color:#d7d7d7;margin-bottom:10px}.dropzone .dropzone-content p[data-v-b0092f00]{margin:10px 0;color:#999;font-size:14px}.dropzone .dropzone-content button[data-v-b0092f00]{pointer-events:none;margin-top:10px}.overall-progress[data-v-b0092f00]{padding:15px;background-color:#aeedff;border:1px solid #61dbff;border-radius:4px;margin-bottom:15px}.overall-progress .progress-info[data-v-b0092f00]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:8px;font-size:14px;font-weight:600;color:#007394}.overall-progress .progress-bar-wrapper[data-v-b0092f00]{width:100%;height:24px;background-color:#fff;border-radius:12px;overflow:hidden;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.overall-progress .progress-bar-wrapper .progress-bar-fill[data-v-b0092f00]{height:100%;background:-webkit-gradient(linear,left top,right top,from(#009ac7),to(#00c1fa));background:linear-gradient(90deg,#009ac7,#00c1fa);-webkit-transition:width .3s ease;transition:width .3s ease;border-radius:12px}.multi-upload-actions[data-v-b0092f00]{padding:15px;background-color:#fff;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:20px}.multi-upload-actions .upload-summary[data-v-b0092f00]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:5px 15px;font-size:14px}.multi-upload-actions .upload-summary .pending-count[data-v-b0092f00]{color:#999;font-weight:700}.multi-upload-actions .upload-summary .success-count[data-v-b0092f00]{color:green}.multi-upload-actions .upload-summary .error-count[data-v-b0092f00]{color:red}.multi-upload-actions button[data-v-b0092f00]:first-of-type{margin-left:auto}.folder-gallery[data-v-b148a986]{position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:calc(100% - 50px);overflow-y:auto}.folder-gallery.collapsed[data-v-b148a986]{height:auto;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.folder-gallery .breadcrumbs-header[data-v-b148a986]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;background-color:#f5f5f5;border:1px solid #e4e4e4;border-radius:4px;cursor:pointer;-webkit-transition:background-color .2s;transition:background-color .2s;margin-bottom:10px}.folder-gallery .breadcrumbs-header[data-v-b148a986]:hover{background-color:#ededed}.folder-gallery .breadcrumbs-header .toggle-icon[data-v-b148a986]{color:#999;font-size:14px;margin-left:10px;-ms-flex-negative:0;flex-shrink:0}.folder-gallery .items[data-v-b148a986]{padding:15px}.folder-gallery .items.loading[data-v-b148a986]{opacity:.5}.folder-gallery .items .breadcrumbs[data-v-b148a986]{background-color:#fff;width:100%;margin-bottom:20px;padding:10px}.folder-gallery .items .breadcrumbs a[data-v-b148a986]{color:#009ac7}.folder-gallery .items .info[data-v-b148a986]{font-style:italic;margin-bottom:10px;margin-left:10px}.folder-gallery .items .media[data-v-b148a986]{width:177px;min-height:182px;max-height:190px;padding:8px;margin:0 15px 15px 0;background-color:#fff;display:inline-block}.folder-gallery .items .media .media-container[data-v-b148a986]{width:100%}.folder-gallery .items .media .img[data-v-b148a986]{display:block;margin-bottom:4px;-o-object-fit:cover;object-fit:cover;height:92px;width:100%;overflow:hidden;text-overflow:ellipsis}.folder-gallery .items .media .file-placeholder[data-v-b148a986]{position:relative;height:92px;display:block;margin-bottom:4px}.folder-gallery .items .media .file-placeholder .icon-doc[data-v-b148a986]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff;font-size:40px}.folder-gallery .items .media .file-placeholder[data-v-b148a986]:before{position:absolute;content:"";background-color:rgba(0,0,0,.7);top:0;bottom:0;left:0;right:0}.folder-gallery .items .media.new-folder input[data-v-b148a986]{width:100%;margin-top:5px}.folder-gallery .items .media.new-folder .select-btn[data-v-b148a986]{background:#2e8b57}.folder-gallery .items .media.new-folder .file-placeholder[data-v-b148a986]:before{background-color:rgba(0,0,0,.2);top:0;bottom:0;left:0;right:0}.folder-gallery .items .media .filename[data-v-b148a986]{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;font-size:16px;line-height:20px;margin-top:4px;margin-bottom:0}.folder-gallery .items .media .size-description[data-v-b148a986]{font-size:12px;line-height:14px;text-align:center;color:#999}.folder-gallery .items .media .size-description .format[data-v-b148a986]{text-transform:uppercase}.folder-gallery .items .media.selected[data-v-b148a986]{border:1px solid #009ac7}.folder-gallery .items .media .select-btn[data-v-b148a986]{margin-top:10px;padding:3px;width:100%}.folder-gallery .folder-empty[data-v-b148a986]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.folder-gallery .folder-empty span[data-v-b148a986]{display:block;text-align:center;font-size:14px;line-height:16px}.folder-gallery .folder-empty span.ngrm-icon-folder[data-v-b148a986]{color:#999;font-size:33px}.folder-gallery .folder-empty span strong[data-v-b148a986]{display:block;margin:5px 0;font-size:16px;line-height:19px}.folder-gallery .load-more-wrapper[data-v-b148a986]{padding:8px 15px;background-color:#fff;text-align:right;-webkit-box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;box-shadow:inset 1px 0 0 0 #e4e4e4,0 -1px 0 0 #e4e4e4;position:absolute;bottom:0;left:0;right:0}.ng-spinner[data-v-b148a986]{position:fixed;vertical-align:center;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ng-spinner[data-v-b148a986]:before{display:inline-block;-webkit-animation:spinning 1.5s linear infinite;animation:spinning 1.5s linear infinite} \ No newline at end of file diff --git a/bundle/Resources/public/fonts/fa-ngrm.eot b/bundle/Resources/public/fonts/fa-ngrm.eot new file mode 100644 index 00000000..bf7019ca Binary files /dev/null and b/bundle/Resources/public/fonts/fa-ngrm.eot differ diff --git a/bundle/Resources/public/fonts/fa-ngrm.ttf b/bundle/Resources/public/fonts/fa-ngrm.ttf new file mode 100644 index 00000000..41027c0f Binary files /dev/null and b/bundle/Resources/public/fonts/fa-ngrm.ttf differ diff --git a/bundle/Resources/public/img/fa-ngrm.svg b/bundle/Resources/public/img/fa-ngrm.svg new file mode 100644 index 00000000..31704f85 --- /dev/null +++ b/bundle/Resources/public/img/fa-ngrm.svg @@ -0,0 +1,26 @@ + + + +Copyright (C) 2019 by original authors @ fontello.com + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bundle/Resources/public/js/ckeditor-plugin/constants.js b/bundle/Resources/public/js/ckeditor-plugin/constants.js index f505d2b4..7e78ed56 100644 --- a/bundle/Resources/public/js/ckeditor-plugin/constants.js +++ b/bundle/Resources/public/js/ckeditor-plugin/constants.js @@ -50,6 +50,7 @@ export const defaultValue = { }, config: { mode: 'embed', + uploadLimit: 1, paths: { browse_resources: '/ngremotemedia/ajax/resource/browse', upload_resources: '/ngremotemedia/ajax/resource/upload', @@ -57,6 +58,9 @@ export const defaultValue = { load_folders: '/ngremotemedia/ajax/folder/load', create_folder: '/ngremotemedia/ajax/folder/create', }, + // Real translations come from the /configuration endpoint. Keys that the Vue + // components give an English fallback for are left out on purpose: a + // placeholder here would win over that fallback and show the raw key. translations: { 'browse_title': 'browse_title', 'browse_select_type': 'browse_select_type', @@ -73,10 +77,6 @@ export const defaultValue = { 'browse_all_visibilities': 'browse_all_visibilities', 'search': 'search', 'search_placeholder': 'search_placeholder', - 'browse_empty_folder': 'browse_empty_folder', - 'browse_empty_folder_hint': 'browse_empty_folder_hint', - 'browse_select': 'browse_select', - 'load_more': 'load_more', 'crop_modal_title': 'crop_modal_title', 'crop_reset': 'crop_reset', 'crop_apply': 'crop_apply', @@ -91,37 +91,8 @@ export const defaultValue = { 'media_gallery_upload_media': 'media_gallery_upload_media', 'media_gallery_select': 'media_gallery_select', 'media_gallery_load_more': 'media_gallery_load_more', - 'Search for media': 'Search for media', - 'Load more': 'Load more', - 'Upload new media': 'Upload new media', - 'No results': 'No results', - 'Alternate text': 'Alternate text', - 'Class': 'Class', - 'Create new folder?': 'Create new folder?', - 'Folder': 'Folder', - 'All': 'All', - 'Add tag': 'Add tag', - 'Media type': 'Media type', - 'Image': 'Image', - 'Video': 'Video', - 'Loading...': 'Loading...', - 'Cancel': 'Cancel', - 'Save all': 'Save all', - 'Generate': 'Generate', - 'Caption': 'Caption', - 'by': 'by', - 'name': 'name', - 'tag': 'tag', - 'Image is to small for this version': 'Image is to small for this version', - 'close': 'close', - 'next': 'next', - 'prev': 'prev', 'interactions_scale': 'interactions_scale', 'interactions_no_media_selected': 'interactions_no_media_selected', - 'interactions_remove_media': 'interactions_remove_media', - 'interactions_select_media': 'interactions_select_media', - 'interactions_manage_media': 'interactions_manage_media', - 'interactions_quick_upload': 'interactions_quick_upload', 'preview_alternate_text': 'preview_alternate_text', 'preview_alternate_text_info': 'preview_alternate_text_info', 'preview_caption': 'preview_caption', @@ -135,16 +106,9 @@ export const defaultValue = { 'preview_watermark_text': 'preview_watermark_text', 'preview_watermark_text_info': 'preview_watermark_text_info', 'preview_size': 'preview_size', - 'upload_modal_title': 'upload_modal_title', 'upload_breadcrumbs_info': 'upload_breadcrumbs_info', - 'upload_root_folder': 'upload_root_folder', 'upload_info_text': 'upload_info_text', 'upload_button_select': 'upload_button_select', - 'upload_button_create': 'upload_button_create', - 'upload_button_upload': 'upload_button_upload', - 'upload_button_use_existing_resource': 'upload_button_use_existing_resource', - 'upload_checkbox_overwrite': 'upload_checkbox_overwrite', - 'upload_placeholder_new_folder': 'upload_placeholder_new_folder', 'upload_error_existing_resource': 'upload_error_existing_resource', 'upload_error_unsupported_resource_type': 'upload_error_unsupported_resource_type', }, @@ -179,6 +143,7 @@ export const defaultValue = { type: 'image', format: '', url: '', + browseUrl: '', browse_url: '', previewUrl: '', alternateText: '', diff --git a/bundle/Resources/public/js/ckeditor-plugin/conversion/editing-downcast-utils/render-field.js b/bundle/Resources/public/js/ckeditor-plugin/conversion/editing-downcast-utils/render-field.js index d733b91f..4104bb65 100644 --- a/bundle/Resources/public/js/ckeditor-plugin/conversion/editing-downcast-utils/render-field.js +++ b/bundle/Resources/public/js/ckeditor-plugin/conversion/editing-downcast-utils/render-field.js @@ -23,8 +23,8 @@ const renderField = ({ domElement, model, editor }) => { [ createElement(domElement.ownerDocument, 'interactions', { 'field-id': fieldId, - ':selected-image': selectedImage, - ':config': config, + ':selected-image': 'selectedImage', + ':config': 'config', }), ], ), diff --git a/bundle/Resources/public/js/remotemedia-vendors.js b/bundle/Resources/public/js/remotemedia-vendors.js index a0f7ec77..1354c900 100644 --- a/bundle/Resources/public/js/remotemedia-vendors.js +++ b/bundle/Resources/public/js/remotemedia-vendors.js @@ -1,4 +1,4 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00fd":function(t,e,n){var r=n("9e69"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(c){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=c},"01c8":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("178b"),i=n("3953"),o=n("1df6");function a(t){return Object(r["a"])(t)||Object(i["a"])(t)||Object(o["a"])()}},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,w){c(n,e,g);var x,_,S,O=function(t){if(!h&&t in A)return A[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",E=y==v,T=!1,A=t.prototype,$=A[f]||A[d]||y&&A[y],k=$||O(y),M=y?E?O("entries"):k:void 0,L="Array"==e&&A.entries||$;if(L&&(S=l(L.call(new t)),S!==Object.prototype&&S.next&&(u(S,C,!0),r||"function"==typeof S[f]||a(S,f,m))),E&&$&&$.name!==v&&(T=!0,k=function(){return $.call(this)}),r&&!w||!h&&!T&&A[f]||a(A,f,k),s[e]=k,s[C]=m,y)if(x={values:E?k:O(v),keys:b?k:O(p),entries:M},w)for(_ in x)_ in A||o(A,_,x[_]);else i(i.P+i.F*(h||T),e,x);return x}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0676":function(t,e){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}t.exports=n},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"0a06":function(t,e,n){"use strict";var r=n("c532"),i=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b");function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=c},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"11b0":function(t,e){function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}t.exports=n},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1310:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"178b":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("a745"),i=n.n(r);function o(t){if(i()(t))return t}},1991:function(t,e,n){var r,i,o,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,g={},y="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){b.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete g[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:d}},"1a8c":function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=s(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var v=/./[h],m=n(a,h,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=m[0],y=m[1];r(String.prototype,t,g),i(RegExp.prototype,h,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},2236:function(t,e){function n(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(o)})),t.exports=c}).call(this,n("f28c"))},"24c5":function(t,e,n){"use strict";var r,i,o,a,s=n("b8e3"),c=n("e53d"),u=n("d864"),l=n("40c3"),f=n("63b6"),h=n("f772"),d=n("79aa"),p=n("1173"),v=n("a22a"),m=n("f201"),g=n("4178").set,y=n("aba2")(),b=n("656e"),w=n("4439"),x=n("bc13"),_=n("cd78"),S="Promise",O=c.TypeError,C=c.process,E=C&&C.versions,T=E&&E.v8||"",A=c[S],$="process"==l(C),k=function(){},M=i=b.f,L=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(k,k)};return($||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),N=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&R(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(O("Promise-chain cycle")):(o=N(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){g.call(c,(function(){var e,n,r,i=t._v,o=P(t);if(o&&(e=w((function(){$?C.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=$||P(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},P=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){g.call(c,(function(){var e;$?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=N(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(B,r,1),u(I,r,1))}catch(i){I.call(r,i)}})):(n._v=t,n._s=1,D(n,!1))}catch(r){I.call({_w:n,_d:!1},r)}}};L||(A=function(t){p(this,A,S,"_h"),d(t),r.call(this);try{t(u(B,this,1),u(I,this,1))}catch(e){I.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(A.prototype,{then:function(t,e){var n=M(m(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=$?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(I,t,1)},b.f=M=function(t){return t===A||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!L,{Promise:A}),n("45f2")(A,S),n("4c95")(S),a=n("584a")[S],f(f.S+f.F*!L,S,{reject:function(t){var e=M(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!L),S,{resolve:function(t){return _(s&&this===a?A:this,t)}}),f(f.S+f.F*!(L&&n("4ee1")((function(t){A.all(t)["catch"](k)}))),S,{all:function(t){var e=this,n=M(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},2655:function(t,e){function n(t){return!!t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof t.then}t.exports=n},"278c":function(t,e,n){var r=n("c135"),i=n("9b42"),o=n("c240");function a(t,e){return r(t)||i(t,e)||o()}t.exports=a},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,h=[].push,d="split",p="length",v="lastIndex",m=4294967295,g=!l((function(){RegExp(m,"y")}));n("214f")("split",2,(function(t,e,n,l){var y;return y="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?m:e>>>0,g=new RegExp(t.source,l+"g");while(o=u.call(g,i)){if(a=g[v],a>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index=d))break;g[v]===o.index&&g[v]++}return f===i[p]?!s&&g.test("")||c.push(""):c.push(i.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):y.call(String(i),n,r)},function(t,e){var r=l(y,t,this,e,y!==n);if(r.done)return r.value;var u=i(t),h=String(this),d=o(u,RegExp),p=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(g?"y":"g"),b=new d(g?u:"^(?:"+u.source+")",v),w=void 0===e?m:e>>>0;if(0===w)return[];if(0===h.length)return null===c(b,h)?[h]:[];var x=0,_=0,S=[];while(_";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"2b3e":function(t,e,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"2b88":function(t,e,n){"use strict"; +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00fd":function(t,e,n){var r=n("9e69"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(c){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=c},"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),d=n("62a0"),h=n("5168"),p=n("ccb9"),v=n("6718"),m=n("47ee"),g=n("9003"),y=n("e4ae"),b=n("f772"),w=n("241e"),x=n("36c3"),_=n("1bc3"),S=n("aebd"),O=n("a159"),E=n("0395"),C=n("bf0b"),T=n("9aa9"),M=n("d9f6"),D=n("c3a1"),k=C.f,A=M.f,N=E.f,$=r.Symbol,j=r.JSON,L=j&&j.stringify,P="prototype",I=h("_hidden"),R=h("toPrimitive"),B={}.propertyIsEnumerable,F=l("symbol-registry"),z=l("symbols"),V=l("op-symbols"),H=Object[P],W="function"==typeof $&&!!T.f,U=r.QObject,X=!U||!U[P]||!U[P].findChild,Y=o&&u((function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=k(H,e);r&&delete H[e],A(t,e,n),r&&t!==H&&A(H,e,r)}:A,K=function(t){var e=z[t]=O($[P]);return e._k=t,e},q=W&&"symbol"==typeof $.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof $},G=function(t,e,n){return t===H&&G(V,e,n),y(t),e=_(e,!0),y(n),i(z,e)?(n.enumerable?(i(t,I)&&t[I][e]&&(t[I][e]=!1),n=O(n,{enumerable:S(0,!1)})):(i(t,I)||A(t,I,S(1,{})),t[I][e]=!0),Y(t,e,n)):A(t,e,n)},J=function(t,e){y(t);var n,r=m(e=x(e)),i=0,o=r.length;while(o>i)G(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?O(t):J(O(t),e)},Z=function(t){var e=B.call(this,t=_(t,!0));return!(this===H&&i(z,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,I)&&this[I][t])||e)},tt=function(t,e){if(t=x(t),e=_(e,!0),t!==H||!i(z,e)||i(V,e)){var n=k(t,e);return!n||!i(z,e)||i(t,I)&&t[I][e]||(n.enumerable=!0),n}},et=function(t){var e,n=N(x(t)),r=[],o=0;while(n.length>o)i(z,e=n[o++])||e==I||e==c||r.push(e);return r},nt=function(t){var e,n=t===H,r=N(n?V:x(t)),o=[],a=0;while(r.length>a)!i(z,e=r[a++])||n&&!i(H,e)||o.push(z[e]);return o};W||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(V,n),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),Y(this,t,S(1,n))};return o&&X&&Y(H,t,{configurable:!0,set:e}),K(t)},s($[P],"toString",(function(){return this._k})),C.f=tt,M.f=G,n("6abf").f=E.f=et,n("355d").f=Z,T.f=nt,o&&!n("b8e3")&&s(H,"propertyIsEnumerable",Z,!0),p.f=function(t){return K(h(t))}),a(a.G+a.W+a.F*!W,{Symbol:$});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)h(rt[it++]);for(var ot=D(h.store),at=0;ot.length>at;)v(ot[at++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=$(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),a(a.S+a.F*!W,"Object",{create:Q,defineProperty:G,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=u((function(){T.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return T.f(w(t))}}),j&&a(a.S+a.F*(!W||u((function(){var t=$();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!q(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!q(e))return e}),r[1]=e,L.apply(j,r)}}),$[P][R]||n("35e8")($[P],R,$[P].valueOf),f($,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01c8":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("178b"),i=n("3953"),o=n("e630"),a=n("1df6");function s(t){return Object(r["a"])(t)||Object(i["a"])(t)||Object(o["a"])(t)||Object(a["a"])()}},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,w){c(n,e,g);var x,_,S,O=function(t){if(!d&&t in M)return M[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",C=y==v,T=!1,M=t.prototype,D=M[f]||M[h]||y&&M[y],k=D||O(y),A=y?C?O("entries"):k:void 0,N="Array"==e&&M.entries||D;if(N&&(S=l(N.call(new t)),S!==Object.prototype&&S.next&&(u(S,E,!0),r||"function"==typeof S[f]||a(S,f,m))),C&&D&&D.name!==v&&(T=!0,k=function(){return D.call(this)}),r&&!w||!d&&!T&&M[f]||a(M,f,k),s[e]=k,s[E]=m,y)if(x={values:C?k:O(v),keys:b?k:O(p),entries:A},w)for(_ in x)_ in M||o(M,_,x[_]);else i(i.P+i.F*(d||T),e,x);return x}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},"0676":function(t,e){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"0a06":function(t,e,n){"use strict";var r=n("c532"),i=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b"),c=n("848b"),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];Array.prototype.unshift.apply(l,n),l=l.concat(o),i=Promise.resolve(t);while(l.length)i=i.then(l.shift(),l.shift());return i}var f=t;while(n.length){var d=n.shift(),h=n.shift();try{f=d(f)}catch(p){h(p);break}}try{i=a(f)}catch(p){return Promise.reject(p)}while(o.length)i=i.then(o.shift(),o.shift());return i},l.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,d=5==t||f,h=e||s;return function(e,s,p){for(var v,m,g=o(e),y=i(g),b=r(s,p,3),w=a(y.length),x=0,_=n?h(e,w):c?h(e,0):void 0;w>x;x++)if((d||x in y)&&(v=y[x],m=b(v,x,g),t))if(n)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:_.push(v)}else if(l)return!1;return f?-1:u||l?l:_}}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"11b0":function(t,e){function n(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1310:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"178b":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("f410"),i=n.n(r);function o(t){if(i()(t))return t}},1991:function(t,e,n){var r,i,o,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,g={},y="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){b.call(t.data)};d&&h||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete g[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:d,clear:h}},"1a8c":function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c4c":function(t,e,n){"use strict";var r=n("9b43"),i=n("5ca1"),o=n("4bf8"),a=n("1fa8"),s=n("33a4"),c=n("9def"),u=n("f1ae"),l=n("27ee");i(i.S+i.F*!n("5cc5")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,d=o(t),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(d);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&s(y))for(e=c(d.length),n=new h(e);e>g;g++)u(n,g,m?v(d[g],g):d[g]);else for(f=y.call(d),n=new h;!(i=f.next()).done;g++)u(n,g,m?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r1?arguments[1]:void 0)}}),n("9c6c")(o)},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),i=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),c=n("520a"),u=s("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=s(t),h=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=h?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!e})):void 0;if(!h||!p||"replace"===t&&!l||"split"===t&&!f){var v=/./[d],m=n(a,d,""[t],(function(t,e,n,r,i){return e.exec===c?h&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=m[0],y=m[1];r(String.prototype,t,g),i(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},2236:function(t,e,n){var r=n("5a43");function i(t){if(Array.isArray(t))return r(t)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),o=n("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l}).call(this,n("f28c"))},"24c5":function(t,e,n){"use strict";var r,i,o,a,s=n("b8e3"),c=n("e53d"),u=n("d864"),l=n("40c3"),f=n("63b6"),d=n("f772"),h=n("79aa"),p=n("1173"),v=n("a22a"),m=n("f201"),g=n("4178").set,y=n("aba2")(),b=n("656e"),w=n("4439"),x=n("bc13"),_=n("cd78"),S="Promise",O=c.TypeError,E=c.process,C=E&&E.versions,T=C&&C.v8||"",M=c[S],D="process"==l(E),k=function(){},A=i=b.f,N=!!function(){try{var t=M.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(k,k)};return(D||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),$=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&I(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(O("Promise-chain cycle")):(o=$(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&L(t)}))}},L=function(t){g.call(c,(function(){var e,n,r,i=t._v,o=P(t);if(o&&(e=w((function(){D?E.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=D||P(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},P=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){g.call(c,(function(){var e;D?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=$(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(B,r,1),u(R,r,1))}catch(i){R.call(r,i)}})):(n._v=t,n._s=1,j(n,!1))}catch(r){R.call({_w:n,_d:!1},r)}}};N||(M=function(t){p(this,M,S,"_h"),h(t),r.call(this);try{t(u(B,this,1),u(R,this,1))}catch(e){R.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(M.prototype,{then:function(t,e){var n=A(m(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=D?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(R,t,1)},b.f=A=function(t){return t===M||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!N,{Promise:M}),n("45f2")(M,S),n("4c95")(S),a=n("584a")[S],f(f.S+f.F*!N,S,{reject:function(t){var e=A(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!N),S,{resolve:function(t){return _(s&&this===a?M:this,t)}}),f(f.S+f.F*!(N&&n("4ee1")((function(t){M.all(t)["catch"](k)}))),S,{all:function(t){var e=this,n=A(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=A(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},2655:function(t,e){function n(t){return!!t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof t.then}t.exports=n,t.exports.default=n},"278c":function(t,e,n){var r=n("c135"),i=n("9b42"),o=n("6613"),a=n("c240");function s(t,e){return r(t)||i(t,e)||o(t,e)||a()}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,d=[].push,h="split",p="length",v="lastIndex",m=4294967295,g=!l((function(){RegExp(m,"y")}));n("214f")("split",2,(function(t,e,n,l){var y;return y="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[p]||2!="ab"[h](/(?:ab)*/)[p]||4!="."[h](/(.?)(.?)/)[p]||"."[h](/()()/)[p]>1||""[h](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===e?m:e>>>0,g=new RegExp(t.source,l+"g");while(o=u.call(g,i)){if(a=g[v],a>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index=h))break;g[v]===o.index&&g[v]++}return f===i[p]?!s&&g.test("")||c.push(""):c.push(i.slice(f)),c[p]>h?c.slice(0,h):c}:"0"[h](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):y.call(String(i),n,r)},function(t,e){var r=l(y,t,this,e,y!==n);if(r.done)return r.value;var u=i(t),d=String(this),h=o(u,RegExp),p=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(g?"y":"g"),b=new h(g?u:"^(?:"+u.source+")",v),w=void 0===e?m:e>>>0;if(0===w)return[];if(0===d.length)return null===c(b,d)?[d]:[];var x=0,_=0,S=[];while(_";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"2b3e":function(t,e,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"2b88":function(t,e,n){"use strict"; /*! * portal-vue © Thorsten Lünborg, 2019 * @@ -8,17 +8,23 @@ * * https://github.com/linusborg/portal-vue * - */function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("a026"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return s(t)||c(t)||u()}function s(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],i="function"===typeof r?r(e):n.passengers;return t.concat(i)}),[])}function d(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var v={},m={},g={},y=i.extend({data:function(){return{transports:v,targets:m,sources:g,trackInstances:l}},methods:{open:function(t){if(l){var e=t.to,n=t.from,r=t.passengers,o=t.order,a=void 0===o?1/0:o;if(e&&n&&r){var s={to:e,from:n,passengers:f(r),order:a},c=Object.keys(this.transports);-1===c.indexOf(e)&&i.set(this.transports,e,[]);var u=this.$_getTransportIndex(s),h=this.transports[e].slice(0);-1===u?h.push(s):h[u]=s,this.transports[e]=d(h,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var o=this.transports[n].slice(0);o.splice(i,1),this.transports[n]=o}}},registerTarget:function(t,e,n){l&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){l&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}),b=new y(v),w=1,x=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(w++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){b.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){b.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};b.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};b.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),_=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:b.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){b.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){b.unregisterTarget(e),b.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){b.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return h(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),S=0,O=["disabled","name","order","slim","slotProps","tag","to"],C=["multiple","transition"],E=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(S++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(b.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=b.targets[e.name];else{var n=e.append;if(n){var r="string"===typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var o=p(this.$props,C);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new _({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,O);return t(x,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",x),t.component(e.portalTargetName||"PortalTarget",_),t.component(e.MountingPortalName||"MountingPortal",E)}var A={install:T};e.default=A,e.Portal=x,e.PortalTarget=_,e.MountingPortal=E,e.Wormhole=b},"2d00":function(t,e){t.exports=!1},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2e39":function(t,e,n){"use strict";function r(t,e){var n=e.length,r=t.length;if(r>n)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i0?r:n)(t)}},"3b8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("795b"),i=n.n(r);function o(t,e,n,r,o,a,s){try{var c=t[a](s),u=c.value}catch(l){return void n(l)}c.done?e(u):i.a.resolve(u).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new i.a((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,c,"next",t)}function c(t){o(a,r,i,s,c,"throw",t)}s(void 0)}))}}},"3c11":function(t,e,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),a=n("f201"),s=n("cd78");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"408c":function(t,e,n){var r=n("2b3e"),i=function(){return r.Date.now()};t.exports=i},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},4178:function(t,e,n){var r,i,o,a=n("d864"),s=n("3024"),c=n("32fc"),u=n("1ec9"),l=n("e53d"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,g={},y="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){b.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete g[t]},"process"==n("6b4c")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:d}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"43fc":function(t,e,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4416:function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"448a":function(t,e,n){var r=n("2236"),i=n("11b0"),o=n("0676");function a(t){return r(t)||i(t)||o()}t.exports=a},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"481b":function(t,e){t.exports={}},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),c=n("27ee"),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,v,m,g=h?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>b;b++)if(m=e?y(a(p=t[b])[0],p[1]):y(t[b]),m===u||m===l)return m}else for(v=g.call(t);!(p=v.next()).done;)if(m=i(v,y,p.value,e),m===u||m===l)return m};e.BREAK=u,e.RETURN=l},"4a7a":function(t,e,n){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=9)}([function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=r=function(t){return n(t)}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(e)}t.exports=r},function(t,e,n){},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(5),i=n(6),o=n(7);t.exports=function(t){return r(t)||i(t)||o()}},function(t,e,n){var r=n(2);t.exports=function(t){for(var e=1;e=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop:function(){var t=0;if(this.$refs.dropdownMenu)for(var e=0;e0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown:function(){this.typeAheadPointer0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==t?!this.mutableLoading:t}}};function p(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var v={Deselect:p({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[e("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])}),[],!1,null,null,null).exports,OpenIndicator:p({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[e("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])}),[],!1,null,null,null).exports},m={components:l()({},v),mixins:[f,h,d],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(t){return t}},getOptionLabel:{type:Function,default:function(t){if("object"===c()(t)){if(!t.hasOwnProperty(this.label))return;return t[this.label]}return t}},getOptionKey:{type:Function,default:function(t){if("object"===c()(t)&&t.id)return t.id;try{return JSON.stringify(t)}catch(t){return}}},onTab:{type:Function,default:function(){this.selectOnTab&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(t,e,n){return(e||"").toLowerCase().indexOf(n.toLowerCase())>-1}},filter:{type:Function,default:function(t,e){var n=this;return t.filter((function(t){var r=n.getOptionLabel(t);return"number"==typeof r&&(r=r.toString()),n.filterBy(t,r,e)}))}},createOption:{type:Function,default:function(t){return"object"===c()(this.optionList[0])&&(t=a()({},this.label,t)),this.$emit("option:created",t),t}},resetOnOptionsChange:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},searchInputQuerySelector:{type:String,default:"[type=search]"}},data:function(){return{search:"",open:!1,pushedTags:[],_value:[]}},watch:{options:function(t){!this.taggable&&this.resetOnOptionsChange&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:function(t){this.isTrackingValues&&this.setInternalValueFromOptions(t)},multiple:function(){this.clearSelection()}},created:function(){this.mutableLoading=this.loading,void 0!==this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value),this.$on("option:created",this.maybePushTag)},methods:{setInternalValueFromOptions:function(t){var e=this;Array.isArray(t)?this.$data._value=t.map((function(t){return e.findOptionFromReducedValue(t)})):this.$data._value=this.findOptionFromReducedValue(t)},select:function(t){this.isOptionSelected(t)||(this.taggable&&!this.optionExists(t)&&(t=this.createOption(t)),this.multiple&&(t=this.selectedValue.concat(t)),this.updateValue(t)),this.onAfterSelect(t)},deselect:function(t){var e=this;this.updateValue(this.selectedValue.filter((function(n){return!e.optionComparator(n,t)})))},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(t){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue:function(t){var e=this;this.isTrackingValues&&(this.$data._value=t),null!==t&&(t=Array.isArray(t)?t.map((function(t){return e.reduce(t)})):this.reduce(t)),this.$emit("input",t)},toggleDropdown:function(t){var e=t.target,n=[this.$el,this.searchEl,this.$refs.toggle];void 0!==this.$refs.openIndicator&&n.push.apply(n,[this.$refs.openIndicator.$el].concat(i()(Array.prototype.slice.call(this.$refs.openIndicator.$el.childNodes)))),(n.indexOf(e)>-1||e.classList.contains("vs__selected"))&&(this.open?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus()))},isOptionSelected:function(t){var e=this;return this.selectedValue.some((function(n){return e.optionComparator(n,t)}))},optionComparator:function(t,e){if("object"!==c()(t)&&"object"!==c()(e)){if(t===e)return!0}else{if(t===this.reduce(e))return!0;if(this.getOptionLabel(t)===this.getOptionLabel(e)||this.getOptionLabel(t)===e)return!0;if(this.reduce(t)===this.reduce(e))return!0}return!1},findOptionFromReducedValue:function(t){var e=this;return this.options.find((function(n){return JSON.stringify(e.reduce(n))===JSON.stringify(t)}))||t},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.clearable){var t=null;this.multiple&&(t=i()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(t)}},optionExists:function(t){var e=this;return this.optionList.some((function(n){return"object"===c()(n)&&e.getOptionLabel(n)===t||n===t}))},normalizeOptionForSlot:function(t){return"object"===c()(t)?t:a()({},this.label,t)},maybePushTag:function(t){this.pushTags&&this.pushedTags.push(t)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching)return this.clearSearchOnBlur&&(this.search=""),void this.closeSearchOptions();this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(t){switch(t.keyCode){case 8:return this.maybeDeleteValue();case 9:return this.onTab()}},onSearchKeyUp:function(t){switch(t.keyCode){case 27:return this.onEscape();case 38:return t.preventDefault(),this.typeAheadUp();case 40:return t.preventDefault(),this.typeAheadDown();case 13:return t.preventDefault(),this.typeAheadSelect()}}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var t=this.value;return this.isTrackingValues&&(t=this.$data._value),t?[].concat(t):[]},optionList:function(){return this.options.concat(this.pushedTags)},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var t=this;return{search:{attributes:{disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-expanded":this.dropdownOpen,"aria-label":"Search for option",ref:"search",role:"combobox",type:"search",autocomplete:"off",value:this.search},events:{keydown:this.onSearchKeyDown,keyup:this.onSearchKeyUp,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(e){return t.search=e.target.value}}},spinner:{loading:this.mutableLoading},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}}}},childComponents:function(){return l()({},v,this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},clearSearchOnBlur:function(){return this.clearSearchOnSelect&&!this.multiple},searching:function(){return!!this.search},dropdownOpen:function(){return!this.noDrop&&this.open&&!this.mutableLoading},searchPlaceholder:function(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions:function(){var t=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t;var e=this.search.length?this.filter(t,this.search,this):t;return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}}},g=(n(8),p(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-select",class:t.stateClasses,attrs:{dir:t.dir}},[n("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",on:{mousedown:function(e){return e.preventDefault(),t.toggleDropdown(e)}}},[n("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[t._l(t.selectedValue,(function(e){return t._t("selected-option-container",[n("span",{key:t.getOptionKey(e),staticClass:"vs__selected"},[t._t("selected-option",[t._v("\n "+t._s(t.getOptionLabel(e))+"\n ")],null,t.normalizeOptionForSlot(e)),t._v(" "),t.multiple?n("button",{staticClass:"vs__deselect",attrs:{disabled:t.disabled,type:"button","aria-label":"Deselect option"},on:{click:function(n){return t.deselect(e)}}},[n(t.childComponents.Deselect,{tag:"component"})],1):t._e()],2)],{option:t.normalizeOptionForSlot(e),deselect:t.deselect,multiple:t.multiple,disabled:t.disabled})})),t._v(" "),t._t("search",[n("input",t._g(t._b({staticClass:"vs__search"},"input",t.scope.search.attributes,!1),t.scope.search.events))],null,t.scope.search)],2),t._v(" "),n("div",{staticClass:"vs__actions"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.showClearButton,expression:"showClearButton"}],staticClass:"vs__clear",attrs:{disabled:t.disabled,type:"button",title:"Clear selection"},on:{click:t.clearSelection}},[n(t.childComponents.Deselect,{tag:"component"})],1),t._v(" "),t._t("open-indicator",[t.noDrop?t._e():n(t.childComponents.OpenIndicator,t._b({tag:"component"},"component",t.scope.openIndicator.attributes,!1))],null,t.scope.openIndicator),t._v(" "),t._t("spinner",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[t._v("Loading...")])],null,t.scope.spinner)],2)]),t._v(" "),n("transition",{attrs:{name:t.transition}},[t.dropdownOpen?n("ul",{ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{role:"listbox"},on:{mousedown:t.onMousedown,mouseup:t.onMouseUp}},[t._l(t.filteredOptions,(function(e,r){return n("li",{key:t.getOptionKey(e),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--selected":t.isOptionSelected(e),"vs__dropdown-option--highlight":r===t.typeAheadPointer},attrs:{role:"option"},on:{mouseover:function(e){t.typeAheadPointer=r},mousedown:function(n){return n.preventDefault(),n.stopPropagation(),t.select(e)}}},[t._t("option",[t._v("\n "+t._s(t.getOptionLabel(e))+"\n ")],null,t.normalizeOptionForSlot(e))],2)})),t._v(" "),t.filteredOptions.length?t._e():n("li",{staticClass:"vs__no-options",on:{mousedown:function(t){t.stopPropagation()}}},[t._t("no-options",[t._v("Sorry, no matching options.")])],2)],2):t._e()])],1)}),[],!1,null,null,null).exports),y={ajax:d,pointer:h,pointerScroll:f};n.d(e,"VueSelect",(function(){return g})),n.d(e,"mixins",(function(){return y})),e.default=g}])}))},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(o,u),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var l=i.concat(o).concat(a).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(f,u),n}},"4b17":function(t,e,n){var r=n("6428");function i(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}t.exports=i},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4c95":function(t,e,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),a=n("8e60"),s=n("5168")("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},"4f7f":function(t,e,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Set";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),a=n("52a7").f;t.exports=function(t){return function(e){var n,s=o(e),c=i(s),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[s]||0!==e[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(t){var e,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[s]),a=i.call(f,t),c&&a&&(f[s]=f.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l
';const nt=Number.isNaN||i.isNaN;function rt(t){return"number"===typeof t&&!nt(t)}const it=t=>t>0&&t<1/0;function ot(t){return"undefined"===typeof t}function at(t){return"object"===typeof t&&null!==t}const{hasOwnProperty:st}=Object.prototype;function ct(t){if(!at(t))return!1;try{const{constructor:e}=t,{prototype:n}=e;return e&&n&&st.call(n,"isPrototypeOf")}catch(e){return!1}}function ut(t){return"function"===typeof t}const{slice:lt}=Array.prototype;function ft(t){return Array.from?Array.from(t):lt.call(t)}function ht(t,e){return t&&ut(e)&&(Array.isArray(t)||rt(t.length)?ft(t).forEach((n,r)=>{e.call(t,n,r,t)}):at(t)&&Object.keys(t).forEach(n=>{e.call(t,t[n],n,t)})),t}const dt=Object.assign||function(t,...e){return at(t)&&e.length>0&&e.forEach(e=>{at(e)&&Object.keys(e).forEach(n=>{t[n]=e[n]})}),t},pt=/\.\d*(?:0|9){12}\d*$/;function vt(t,e=1e11){return pt.test(t)?Math.round(t*e)/e:t}const mt=/^width|height|left|top|marginLeft|marginTop$/;function gt(t,e){const{style:n}=t;ht(e,(t,e)=>{mt.test(e)&&rt(t)&&(t=`${t}px`),n[e]=t})}function yt(t,e){return t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}function bt(t,e){if(!e)return;if(rt(t.length))return void ht(t,t=>{bt(t,e)});if(t.classList)return void t.classList.add(e);const n=t.className.trim();n?n.indexOf(e)<0&&(t.className=`${n} ${e}`):t.className=e}function wt(t,e){e&&(rt(t.length)?ht(t,t=>{wt(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function xt(t,e,n){e&&(rt(t.length)?ht(t,t=>{xt(t,e,n)}):n?bt(t,e):wt(t,e))}const _t=/([a-z\d])([A-Z])/g;function St(t){return t.replace(_t,"$1-$2").toLowerCase()}function Ot(t,e){return at(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute(`data-${St(e)}`)}function Ct(t,e,n){at(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute(`data-${St(e)}`,n)}function Et(t,e){if(at(t[e]))try{delete t[e]}catch(n){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(n){t.dataset[e]=void 0}else t.removeAttribute(`data-${St(e)}`)}const Tt=/\s\s*/,At=(()=>{let t=!1;if(r){let e=!1;const n=()=>{},r=Object.defineProperty({},"once",{get(){return t=!0,e},set(t){e=t}});i.addEventListener("test",n,r),i.removeEventListener("test",n,r)}return t})();function $t(t,e,n,r={}){let i=n;e.trim().split(Tt).forEach(e=>{if(!At){const{listeners:r}=t;r&&r[e]&&r[e][n]&&(i=r[e][n],delete r[e][n],0===Object.keys(r[e]).length&&delete r[e],0===Object.keys(r).length&&delete t.listeners)}t.removeEventListener(e,i,r)})}function kt(t,e,n,r={}){let i=n;e.trim().split(Tt).forEach(e=>{if(r.once&&!At){const{listeners:o={}}=t;i=(...a)=>{delete o[e][n],t.removeEventListener(e,i,r),n.apply(t,a)},o[e]||(o[e]={}),o[e][n]&&t.removeEventListener(e,o[e][n],r),o[e][n]=i,t.listeners=o}t.addEventListener(e,i,r)})}function Mt(t,e,n){let r;return ut(Event)&&ut(CustomEvent)?r=new CustomEvent(e,{detail:n,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,n)),t.dispatchEvent(r)}function Lt(t){const e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}const{location:Nt}=i,Dt=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function jt(t){const e=t.match(Dt);return null!==e&&(e[1]!==Nt.protocol||e[2]!==Nt.hostname||e[3]!==Nt.port)}function Pt(t){const e=`timestamp=${(new Date).getTime()}`;return t+(-1===t.indexOf("?")?"?":"&")+e}function Rt({rotate:t,scaleX:e,scaleY:n,translateX:r,translateY:i}){const o=[];rt(r)&&0!==r&&o.push(`translateX(${r}px)`),rt(i)&&0!==i&&o.push(`translateY(${i}px)`),rt(t)&&0!==t&&o.push(`rotate(${t}deg)`),rt(e)&&1!==e&&o.push(`scaleX(${e})`),rt(n)&&1!==n&&o.push(`scaleY(${n})`);const a=o.length?o.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function It(t){const e=dt({},t),n=[];return ht(t,(t,r)=>{delete e[r],ht(e,e=>{const r=Math.abs(t.startX-e.startX),i=Math.abs(t.startY-e.startY),o=Math.abs(t.endX-e.endX),a=Math.abs(t.endY-e.endY),s=Math.sqrt(r*r+i*i),c=Math.sqrt(o*o+a*a),u=(c-s)/s;n.push(u)})}),n.sort((t,e)=>Math.abs(t){e+=t,n+=i,r+=1}),e/=r,n/=r,{pageX:e,pageY:n}}function zt({aspectRatio:t,height:e,width:n},r="contain"){const i=it(n),o=it(e);if(i&&o){const i=e*t;"contain"===r&&i>n||"cover"===r&&i90?{width:s,height:a}:{width:a,height:s}}function Vt(t,{aspectRatio:e,naturalWidth:n,naturalHeight:r,rotate:i=0,scaleX:o=1,scaleY:a=1},{aspectRatio:s,naturalWidth:c,naturalHeight:u},{fillColor:l="transparent",imageSmoothingEnabled:f=!0,imageSmoothingQuality:h="low",maxWidth:d=1/0,maxHeight:p=1/0,minWidth:v=0,minHeight:m=0}){const g=document.createElement("canvas"),y=g.getContext("2d"),b=zt({aspectRatio:s,width:d,height:p}),w=zt({aspectRatio:s,width:v,height:m},"cover"),x=Math.min(b.width,Math.max(w.width,c)),_=Math.min(b.height,Math.max(w.height,u)),S=zt({aspectRatio:e,width:d,height:p}),O=zt({aspectRatio:e,width:v,height:m},"cover"),C=Math.min(S.width,Math.max(O.width,n)),E=Math.min(S.height,Math.max(O.height,r)),T=[-C/2,-E/2,C,E];return g.width=vt(x),g.height=vt(_),y.fillStyle=l,y.fillRect(0,0,x,_),y.save(),y.translate(x/2,_/2),y.rotate(i*Math.PI/180),y.scale(o,a),y.imageSmoothingEnabled=f,y.imageSmoothingQuality=h,y.drawImage(t,...T.map(t=>Math.floor(vt(t)))),y.restore(),g}const{fromCharCode:Wt}=String;function Ut(t,e,n){let r="";n+=e;for(let i=e;i{i[e]=n.charCodeAt(e)}),r}function Yt(t,e){const n=[],r=8192;let i=new Uint8Array(t);while(i.length>0)n.push(Wt.apply(null,ft(i.subarray(0,r)))),i=i.subarray(r);return`data:${e};base64,${btoa(n.join(""))}`}function Kt(t){const e=new DataView(t);let n;try{let t,r,i;if(255===e.getUint8(0)&&216===e.getUint8(1)){const t=e.byteLength;let n=2;while(n+1=8&&(i=o+n)}}}if(i){const r=e.getUint16(i,t);let o,a;for(a=0;at.width?3===n?s=t.height*a:c=t.width/a:3===n?c=t.width/a:s=t.height*a;const u={aspectRatio:a,naturalWidth:i,naturalHeight:o,width:s,height:c};u.left=(t.width-s)/2,u.top=(t.height-c)/2,u.oldLeft=u.left,u.oldTop=u.top,this.canvasData=u,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=dt({},e),this.initialCanvasData=dt({},u)},limitCanvas(t,e){const{options:n,containerData:r,canvasData:i,cropBoxData:o}=this,{viewMode:a}=n,{aspectRatio:s}=i,c=this.cropped&&o;if(t){let t=Number(n.minCanvasWidth)||0,e=Number(n.minCanvasHeight)||0;a>1?(t=Math.max(t,r.width),e=Math.max(e,r.height),3===a&&(e*s>t?t=e*s:e=t/s)):a>0&&(t?t=Math.max(t,c?o.width:0):e?e=Math.max(e,c?o.height:0):c&&(t=o.width,e=o.height,e*s>t?t=e*s:e=t/s)),({width:t,height:e}=zt({aspectRatio:s,width:t,height:e})),i.minWidth=t,i.minHeight=e,i.maxWidth=1/0,i.maxHeight=1/0}if(e)if(a>(c?0:1)){const t=r.width-i.width,e=r.height-i.height;i.minLeft=Math.min(0,t),i.minTop=Math.min(0,e),i.maxLeft=Math.max(0,t),i.maxTop=Math.max(0,e),c&&this.limited&&(i.minLeft=Math.min(o.left,o.left+(o.width-i.width)),i.minTop=Math.min(o.top,o.top+(o.height-i.height)),i.maxLeft=o.left,i.maxTop=o.top,2===a&&(i.width>=r.width&&(i.minLeft=Math.min(0,t),i.maxLeft=Math.max(0,t)),i.height>=r.height&&(i.minTop=Math.min(0,e),i.maxTop=Math.max(0,e))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=r.width,i.maxTop=r.height},renderCanvas(t,e){const{canvasData:n,imageData:r}=this;if(e){const{width:t,height:e}=Ht({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),i=n.width*(t/n.naturalWidth),o=n.height*(e/n.naturalHeight);n.left-=(i-n.width)/2,n.top-=(o-n.height)/2,n.width=i,n.height=o,n.aspectRatio=t/e,n.naturalWidth=t,n.naturalHeight=e,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heighte.width?i.height=i.width/n:i.width=i.height*n),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=e.left+(e.width-i.width)/2,i.top=e.top+(e.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=dt({},i)},limitCropBox(t,e){const{options:n,containerData:r,canvasData:i,cropBoxData:o,limited:a}=this,{aspectRatio:s}=n;if(t){let t=Number(n.minCropBoxWidth)||0,e=Number(n.minCropBoxHeight)||0,c=a?Math.min(r.width,i.width,i.width+i.left,r.width-i.left):r.width,u=a?Math.min(r.height,i.height,i.height+i.top,r.height-i.top):r.height;t=Math.min(t,r.width),e=Math.min(e,r.height),s&&(t&&e?e*s>t?e=t/s:t=e*s:t?e=t/s:e&&(t=e*s),u*s>c?u=c/s:c=u*s),o.minWidth=Math.min(t,c),o.minHeight=Math.min(e,u),o.maxWidth=c,o.maxHeight=u}e&&(a?(o.minLeft=Math.max(0,i.left),o.minTop=Math.max(0,i.top),o.maxLeft=Math.min(r.width,i.left+i.width)-o.width,o.maxTop=Math.min(r.height,i.top+i.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=r.width-o.width,o.maxTop=r.height-o.height))},renderCropBox(){const{options:t,containerData:e,cropBoxData:n}=this;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=e.width&&n.height>=e.height?l:c),gt(this.cropBox,dt({width:n.width,height:n.height},Rt({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output(){this.preview(),Mt(this.element,L,this.getData())}},Qt={initPreview(){const{element:t,crossOrigin:e}=this,{preview:n}=this.options,r=e?this.crossOriginUrl:this.url,i=t.alt||"The image to preview",o=document.createElement("img");if(e&&(o.crossOrigin=e),o.src=r,o.alt=i,this.viewBox.appendChild(o),this.viewBoxImage=o,!n)return;let a=n;"string"===typeof n?a=t.ownerDocument.querySelectorAll(n):n.querySelector&&(a=[n]),this.previews=a,ht(a,t=>{const n=document.createElement("img");Ct(t,A,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(n.crossOrigin=e),n.src=r,n.alt=i,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(n)})},resetPreview(){ht(this.previews,t=>{const e=Ot(t,A);gt(t,{width:e.width,height:e.height}),t.innerHTML=e.html,Et(t,A)})},preview(){const{imageData:t,canvasData:e,cropBoxData:n}=this,{width:r,height:i}=n,{width:o,height:a}=t,s=n.left-e.left-t.left,c=n.top-e.top-t.top;this.cropped&&!this.disabled&&(gt(this.viewBoxImage,dt({width:o,height:a},Rt(dt({translateX:-s,translateY:-c},t)))),ht(this.previews,e=>{const n=Ot(e,A),u=n.width,l=n.height;let f=u,h=l,d=1;r&&(d=u/r,h=i*d),i&&h>l&&(d=l/i,f=r*d,h=l),gt(e,{width:f,height:h}),gt(e.getElementsByTagName("img")[0],dt({width:o*d,height:a*d},Rt(dt({translateX:-s*d,translateY:-c*d},t))))}))}},Zt={bind(){const{element:t,options:e,cropper:n}=this;ut(e.cropstart)&&kt(t,j,e.cropstart),ut(e.cropmove)&&kt(t,D,e.cropmove),ut(e.cropend)&&kt(t,N,e.cropend),ut(e.crop)&&kt(t,L,e.crop),ut(e.zoom)&&kt(t,X,e.zoom),kt(n,F,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&kt(n,U,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&kt(n,P,this.onDblclick=this.dblclick.bind(this)),kt(t.ownerDocument,z,this.onCropMove=this.cropMove.bind(this)),kt(t.ownerDocument,H,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&kt(window,W,this.onResize=this.resize.bind(this))},unbind(){const{element:t,options:e,cropper:n}=this;ut(e.cropstart)&&$t(t,j,e.cropstart),ut(e.cropmove)&&$t(t,D,e.cropmove),ut(e.cropend)&&$t(t,N,e.cropend),ut(e.crop)&&$t(t,L,e.crop),ut(e.zoom)&&$t(t,X,e.zoom),$t(n,F,this.onCropStart),e.zoomable&&e.zoomOnWheel&&$t(n,U,this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&$t(n,P,this.onDblclick),$t(t.ownerDocument,z,this.onCropMove),$t(t.ownerDocument,H,this.onCropEnd),e.responsive&&$t(window,W,this.onResize)}},te={resize(){const{options:t,container:e,containerData:n}=this,r=Number(t.minContainerWidth)||Q,i=Number(t.minContainerHeight)||Z;if(this.disabled||n.width<=r||n.height<=i)return;const o=e.offsetWidth/n.width;if(1!==o||e.offsetHeight!==n.height){let e,n;t.restore&&(e=this.getCanvasData(),n=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(ht(e,(t,n)=>{e[n]=t*o})),this.setCropBoxData(ht(n,(t,e)=>{n[e]=t*o})))}},dblclick(){this.disabled||this.options.dragMode===M||this.setDragMode(yt(this.dragBox,w)?k:$)},wheel(t){const e=Number(this.options.wheelZoomRatio)||.1;let n=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(()=>{this.wheeling=!1},50),t.deltaY?n=t.deltaY>0?1:-1:t.wheelDelta?n=-t.wheelDelta/120:t.detail&&(n=t.detail>0?1:-1),this.zoom(-n*e,t)))},cropStart(t){const{buttons:e,button:n}=t;if(this.disabled||rt(e)&&1!==e||rt(n)&&0!==n||t.ctrlKey)return;const{options:r,pointers:i}=this;let o;t.changedTouches?ht(t.changedTouches,t=>{i[t.identifier]=Bt(t)}):i[t.pointerId||0]=Bt(t),o=Object.keys(i).length>1&&r.zoomable&&r.zoomOnTouch?f:Ot(t.target,T),Y.test(o)&&!1!==Mt(this.element,j,{originalEvent:t,action:o})&&(t.preventDefault(),this.action=o,this.cropping=!1,o===u&&(this.cropping=!0,bt(this.dragBox,C)))},cropMove(t){const{action:e}=this;if(this.disabled||!e)return;const{pointers:n}=this;t.preventDefault(),!1!==Mt(this.element,D,{originalEvent:t,action:e})&&(t.changedTouches?ht(t.changedTouches,t=>{dt(n[t.identifier]||{},Bt(t,!0))}):dt(n[t.pointerId||0]||{},Bt(t,!0)),this.change(t))},cropEnd(t){if(this.disabled)return;const{action:e,pointers:n}=this;t.changedTouches?ht(t.changedTouches,t=>{delete n[t.identifier]}):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,xt(this.dragBox,C,this.cropped&&this.options.modal)),Mt(this.element,N,{originalEvent:t,action:e}))}},ee={change(t){const{options:e,canvasData:n,containerData:r,cropBoxData:i,pointers:o}=this;let{action:a}=this,{aspectRatio:s}=e,{left:w,top:x,width:S,height:O}=i;const C=w+S,E=x+O;let T,A=0,$=0,k=r.width,M=r.height,L=!0;!s&&t.shiftKey&&(s=S&&O?S/O:1),this.limited&&(({minLeft:A,minTop:$}=i),k=A+Math.min(r.width,n.width,n.left+n.width),M=$+Math.min(r.height,n.height,n.top+n.height));const N=o[Object.keys(o)[0]],D={x:N.endX-N.startX,y:N.endY-N.startY},j=t=>{switch(t){case h:C+D.x>k&&(D.x=k-C);break;case d:w+D.xM&&(D.y=M-E);break;default:}};switch(a){case c:w+=D.x,x+=D.y;break;case h:if(D.x>=0&&(C>=k||s&&(x<=$||E>=M))){L=!1;break}j(h),S+=D.x,S<0&&(a=d,S=-S,w-=S),s&&(O=S/s,x+=(i.height-O)/2);break;case v:if(D.y<=0&&(x<=$||s&&(w<=A||C>=k))){L=!1;break}j(v),O-=D.y,x+=D.y,O<0&&(a=p,O=-O,x-=O),s&&(S=O*s,w+=(i.width-S)/2);break;case d:if(D.x<=0&&(w<=A||s&&(x<=$||E>=M))){L=!1;break}j(d),S-=D.x,w+=D.x,S<0&&(a=h,S=-S,w-=S),s&&(O=S/s,x+=(i.height-O)/2);break;case p:if(D.y>=0&&(E>=M||s&&(w<=A||C>=k))){L=!1;break}j(p),O+=D.y,O<0&&(a=v,O=-O,x-=O),s&&(S=O*s,w+=(i.width-S)/2);break;case m:if(s){if(D.y<=0&&(x<=$||C>=k)){L=!1;break}j(v),O-=D.y,x+=D.y,S=O*s}else j(v),j(h),D.x>=0?C$&&(O-=D.y,x+=D.y):(O-=D.y,x+=D.y);S<0&&O<0?(a=b,O=-O,S=-S,x-=O,w-=S):S<0?(a=g,S=-S,w-=S):O<0&&(a=y,O=-O,x-=O);break;case g:if(s){if(D.y<=0&&(x<=$||w<=A)){L=!1;break}j(v),O-=D.y,x+=D.y,S=O*s,w+=i.width-S}else j(v),j(d),D.x<=0?w>A?(S-=D.x,w+=D.x):D.y<=0&&x<=$&&(L=!1):(S-=D.x,w+=D.x),D.y<=0?x>$&&(O-=D.y,x+=D.y):(O-=D.y,x+=D.y);S<0&&O<0?(a=y,O=-O,S=-S,x-=O,w-=S):S<0?(a=m,S=-S,w-=S):O<0&&(a=b,O=-O,x-=O);break;case b:if(s){if(D.x<=0&&(w<=A||E>=M)){L=!1;break}j(d),S-=D.x,w+=D.x,O=S/s}else j(p),j(d),D.x<=0?w>A?(S-=D.x,w+=D.x):D.y>=0&&E>=M&&(L=!1):(S-=D.x,w+=D.x),D.y>=0?E=0&&(C>=k||E>=M)){L=!1;break}j(h),S+=D.x,O=S/s}else j(p),j(h),D.x>=0?C=0&&E>=M&&(L=!1):S+=D.x,D.y>=0?E0?a=D.y>0?y:m:D.x<0&&(w-=S,a=D.y>0?b:g),D.y<0&&(x-=O),this.cropped||(wt(this.cropBox,_),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break;default:}L&&(i.width=S,i.height=O,i.left=w,i.top=x,this.action=a,this.renderCropBox()),ht(o,t=>{t.startX=t.endX,t.startY=t.endY})}},ne={crop(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&bt(this.dragBox,C),wt(this.cropBox,_),this.setCropBoxData(this.initialCropBoxData)),this},reset(){return this.ready&&!this.disabled&&(this.imageData=dt({},this.initialImageData),this.canvasData=dt({},this.initialCanvasData),this.cropBoxData=dt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear(){return this.cropped&&!this.disabled&&(dt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),wt(this.dragBox,C),bt(this.cropBox,_)),this},replace(t,e=!1){return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,ht(this.previews,e=>{e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable(){return this.ready&&this.disabled&&(this.disabled=!1,wt(this.cropper,x)),this},disable(){return this.ready&&!this.disabled&&(this.disabled=!0,bt(this.cropper,x)),this},destroy(){const{element:t}=this;return t[s]?(t[s]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move(t,e=t){const{left:n,top:r}=this.canvasData;return this.moveTo(ot(t)?t:n+Number(t),ot(e)?e:r+Number(e))},moveTo(t,e=t){const{canvasData:n}=this;let r=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(rt(t)&&(n.left=t,r=!0),rt(e)&&(n.top=e,r=!0),r&&this.renderCanvas(!0)),this},zoom(t,e){const{canvasData:n}=this;return t=Number(t),t=t<0?1/(1-t):1+t,this.zoomTo(n.width*t/n.naturalWidth,null,e)},zoomTo(t,e,n){const{options:r,canvasData:i}=this,{width:o,height:a,naturalWidth:s,naturalHeight:c}=i;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&r.zoomable){const r=s*t,u=c*t;if(!1===Mt(this.element,X,{ratio:t,oldRatio:o/s,originalEvent:n}))return this;if(n){const{pointers:t}=this,e=Lt(this.cropper),s=t&&Object.keys(t).length?Ft(t):{pageX:n.pageX,pageY:n.pageY};i.left-=(r-o)*((s.pageX-e.left-i.left)/o),i.top-=(u-a)*((s.pageY-e.top-i.top)/a)}else ct(e)&&rt(e.x)&&rt(e.y)?(i.left-=(r-o)*((e.x-i.left)/o),i.top-=(u-a)*((e.y-i.top)/a)):(i.left-=(r-o)/2,i.top-=(u-a)/2);i.width=r,i.height=u,this.renderCanvas(!0)}return this},rotate(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo(t){return t=Number(t),rt(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX(t){const{scaleY:e}=this.imageData;return this.scale(t,rt(e)?e:1)},scaleY(t){const{scaleX:e}=this.imageData;return this.scale(rt(e)?e:1,t)},scale(t,e=t){const{imageData:n}=this;let r=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(rt(t)&&(n.scaleX=t,r=!0),rt(e)&&(n.scaleY=e,r=!0),r&&this.renderCanvas(!0,!0)),this},getData(t=!1){const{options:e,imageData:n,canvasData:r,cropBoxData:i}=this;let o;if(this.ready&&this.cropped){o={x:i.left-r.left,y:i.top-r.top,width:i.width,height:i.height};const e=n.width/n.naturalWidth;if(ht(o,(t,n)=>{o[n]=t/e}),t){const t=Math.round(o.y+o.height),e=Math.round(o.x+o.width);o.x=Math.round(o.x),o.y=Math.round(o.y),o.width=e-o.x,o.height=t-o.y}}else o={x:0,y:0,width:0,height:0};return e.rotatable&&(o.rotate=n.rotate||0),e.scalable&&(o.scaleX=n.scaleX||1,o.scaleY=n.scaleY||1),o},setData(t){const{options:e,imageData:n,canvasData:r}=this,i={};if(this.ready&&!this.disabled&&ct(t)){let o=!1;e.rotatable&&rt(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,o=!0),e.scalable&&(rt(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,o=!0),rt(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);const a=n.width/n.naturalWidth;rt(t.x)&&(i.left=t.x*a+r.left),rt(t.y)&&(i.top=t.y*a+r.top),rt(t.width)&&(i.width=t.width*a),rt(t.height)&&(i.height=t.height*a),this.setCropBoxData(i)}return this},getContainerData(){return this.ready?dt({},this.containerData):{}},getImageData(){return this.sized?dt({},this.imageData):{}},getCanvasData(){const{canvasData:t}=this,e={};return this.ready&&ht(["left","top","width","height","naturalWidth","naturalHeight"],n=>{e[n]=t[n]}),e},setCanvasData(t){const{canvasData:e}=this,{aspectRatio:n}=e;return this.ready&&!this.disabled&&ct(t)&&(rt(t.left)&&(e.left=t.left),rt(t.top)&&(e.top=t.top),rt(t.width)?(e.width=t.width,e.height=t.width/n):rt(t.height)&&(e.height=t.height,e.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData(){const{cropBoxData:t}=this;let e;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData(t){const{cropBoxData:e}=this,{aspectRatio:n}=this.options;let r,i;return this.ready&&this.cropped&&!this.disabled&&ct(t)&&(rt(t.left)&&(e.left=t.left),rt(t.top)&&(e.top=t.top),rt(t.width)&&t.width!==e.width&&(r=!0,e.width=t.width),rt(t.height)&&t.height!==e.height&&(i=!0,e.height=t.height),n&&(r?e.height=e.width/n:i&&(e.width=e.height*n)),this.renderCropBox()),this},getCroppedCanvas(t={}){if(!this.ready||!window.HTMLCanvasElement)return null;const{canvasData:e}=this,n=Vt(this.image,this.imageData,e,t);if(!this.cropped)return n;let{x:r,y:i,width:o,height:a}=this.getData();const s=n.width/Math.floor(e.naturalWidth);1!==s&&(r*=s,i*=s,o*=s,a*=s);const c=o/a,u=zt({aspectRatio:c,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),l=zt({aspectRatio:c,width:t.minWidth||0,height:t.minHeight||0},"cover");let{width:f,height:h}=zt({aspectRatio:c,width:t.width||(1!==s?n.width:o),height:t.height||(1!==s?n.height:a)});f=Math.min(u.width,Math.max(l.width,f)),h=Math.min(u.height,Math.max(l.height,h));const d=document.createElement("canvas"),p=d.getContext("2d");d.width=vt(f),d.height=vt(h),p.fillStyle=t.fillColor||"transparent",p.fillRect(0,0,f,h);const{imageSmoothingEnabled:v=!0,imageSmoothingQuality:m}=t;p.imageSmoothingEnabled=v,m&&(p.imageSmoothingQuality=m);const g=n.width,y=n.height;let b,w,x,_,S,O,C=r,E=i;C<=-o||C>g?(C=0,b=0,x=0,S=0):C<=0?(x=-C,C=0,b=Math.min(g,o+C),S=b):C<=g&&(x=0,b=Math.min(o,g-C),S=b),b<=0||E<=-a||E>y?(E=0,w=0,_=0,O=0):E<=0?(_=-E,E=0,w=Math.min(y,a+E),O=w):E<=y&&(_=0,w=Math.min(a,y-E),O=w);const T=[C,E,b,w];if(S>0&&O>0){const t=f/o;T.push(x*t,_*t,S*t,O*t)}return p.drawImage(n,...T.map(t=>Math.floor(vt(t)))),d},setAspectRatio(t){const{options:e}=this;return this.disabled||ot(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode(t){const{options:e,dragBox:n,face:r}=this;if(this.ready&&!this.disabled){const i=t===$,o=e.movable&&t===k;t=i||o?t:M,e.dragMode=t,Ct(n,T,t),xt(n,w,i),xt(n,E,o),e.cropBoxMovable||(Ct(r,T,t),xt(r,w,i),xt(r,E,o))}return this}};const re=i.Cropper;class ie{constructor(t,e={}){if(!t||!J.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=dt({},tt,ct(e)&&e),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}init(){const{element:t}=this,e=t.tagName.toLowerCase();let n;if(!t[s]){if(t[s]=this,"img"===e){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else"canvas"===e&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}load(t){if(!t)return;this.url=t,this.imageData={};const{element:e,options:n}=this;if(n.rotatable||n.scalable||(n.checkOrientation=!1),!n.checkOrientation||!window.ArrayBuffer)return void this.clone();if(K.test(t))return void(G.test(t)?this.read(qt(t)):this.clone());const r=new XMLHttpRequest,i=this.clone.bind(this);this.reloading=!0,this.xhr=r,r.onabort=i,r.onerror=i,r.ontimeout=i,r.onprogress=()=>{r.getResponseHeader("content-type")!==q&&r.abort()},r.onload=()=>{this.read(r.response)},r.onloadend=()=>{this.reloading=!1,this.xhr=null},n.checkCrossOrigin&&jt(t)&&e.crossOrigin&&(t=Pt(t)),r.open("GET",t),r.responseType="arraybuffer",r.withCredentials="use-credentials"===e.crossOrigin,r.send()}read(t){const{options:e,imageData:n}=this,r=Kt(t);let i=0,o=1,a=1;r>1&&(this.url=Yt(t,q),({rotate:i,scaleX:o,scaleY:a}=Gt(r))),e.rotatable&&(n.rotate=i),e.scalable&&(n.scaleX=o,n.scaleY=a),this.clone()}clone(){const{element:t,url:e}=this;let{crossOrigin:n}=t,r=e;this.options.checkCrossOrigin&&jt(e)&&(n||(n="anonymous"),r=Pt(e)),this.crossOrigin=n,this.crossOriginUrl=r;const i=document.createElement("img");n&&(i.crossOrigin=n),i.src=r||e,i.alt=t.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),bt(i,S),t.parentNode.insertBefore(i,t.nextSibling)}start(){const{image:t}=this;t.onload=null,t.onerror=null,this.sizing=!0;const e=i.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(i.navigator.userAgent),n=(t,e)=>{dt(this.imageData,{naturalWidth:t,naturalHeight:e,aspectRatio:t/e}),this.sizing=!1,this.sized=!0,this.build()};if(t.naturalWidth&&!e)return void n(t.naturalWidth,t.naturalHeight);const r=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=r,r.onload=()=>{n(r.width,r.height),e||o.removeChild(r)},r.src=t.src,e||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r))}stop(){const{image:t}=this;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}build(){if(!this.sized||this.ready)return;const{element:t,options:e,image:n}=this,r=t.parentNode,i=document.createElement("div");i.innerHTML=et;const o=i.querySelector(`.${s}-container`),a=o.querySelector(`.${s}-canvas`),u=o.querySelector(`.${s}-drag-box`),l=o.querySelector(`.${s}-crop-box`),f=l.querySelector(`.${s}-face`);this.container=r,this.cropper=o,this.canvas=a,this.dragBox=u,this.cropBox=l,this.viewBox=o.querySelector(`.${s}-view-box`),this.face=f,a.appendChild(n),bt(t,_),r.insertBefore(o,t.nextSibling),this.isImg||wt(n,S),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,bt(l,_),e.guides||bt(l.getElementsByClassName(`${s}-dashed`),_),e.center||bt(l.getElementsByClassName(`${s}-center`),_),e.background&&bt(o,`${s}-bg`),e.highlight||bt(f,O),e.cropBoxMovable&&(bt(f,E),Ct(f,T,c)),e.cropBoxResizable||(bt(l.getElementsByClassName(`${s}-line`),_),bt(l.getElementsByClassName(`${s}-point`),_)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),ut(e.ready)&&kt(t,V,e.ready,{once:!0}),Mt(t,V)}unbuild(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),wt(this.element,_))}uncreate(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}static noConflict(){return window.Cropper=re,ie}static setDefaults(t){dt(tt,ct(t)&&t)}}dt(ie.prototype,Jt,Qt,Zt,te,ee,ne);var oe=ie;e["a"]=oe},"549b":function(t,e,n){"use strict";var r=n("d864"),i=n("63b6"),o=n("241e"),a=n("b0dc"),s=n("3702"),c=n("b447"),u=n("20fd"),l=n("7cd6");i(i.S+i.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(h);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(e=c(h.length),n=new d(e);e>g;g++)u(n,g,m?v(h[g],g):h[g]);else for(f=y.call(h),n=new d;!(i=f.next()).done;g++)u(n,g,m?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},"551c":function(t,e,n){"use strict";var r,i,o,a,s=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),f=n("5ca1"),h=n("d3f4"),d=n("d8e8"),p=n("f605"),v=n("4a59"),m=n("ebd6"),g=n("1991").set,y=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),_=n("bcaa"),S="Promise",O=c.TypeError,C=c.process,E=C&&C.versions,T=E&&E.v8||"",A=c[S],$="process"==l(C),k=function(){},M=i=b.f,L=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(k,k)};return($||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),N=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&R(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(O("Promise-chain cycle")):(o=N(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){g.call(c,(function(){var e,n,r,i=t._v,o=P(t);if(o&&(e=w((function(){$?C.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=$||P(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},P=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){g.call(c,(function(){var e;$?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=N(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(B,r,1),u(I,r,1))}catch(i){I.call(r,i)}})):(n._v=t,n._s=1,D(n,!1))}catch(r){I.call({_w:n,_d:!1},r)}}};L||(A=function(t){p(this,A,S,"_h"),d(t),r.call(this);try{t(u(B,this,1),u(I,this,1))}catch(e){I.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(A.prototype,{then:function(t,e){var n=M(m(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=$?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(I,t,1)},b.f=M=function(t){return t===A||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!L,{Promise:A}),n("7f20")(A,S),n("7a56")(S),a=n("8378")[S],f(f.S+f.F*!L,S,{reject:function(t){var e=M(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!L),S,{resolve:function(t){return _(s&&this===a?A:this,t)}}),f(f.S+f.F*!(L&&n("5cc5")((function(t){A.all(t)["catch"](k)}))),S,{all:function(t){var e=this,n=M(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"585a":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("c8ba"))},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5c95":function(t,e,n){var r=n("35e8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var l,f,h,d,p=t&u.F,v=t&u.G,m=t&u.S,g=t&u.P,y=t&u.B,b=v?r:m?r[e]||(r[e]={}):(r[e]||{})[c],w=v?i:i[e]||(i[e]={}),x=w[c]||(w[c]={});for(l in v&&(n=e),n)f=!p&&b&&void 0!==b[l],h=(f?b:n)[l],d=y&&f?s(h,r):g&&"function"==typeof h?s(Function.call,h):h,b&&a(b,l,h,t&u.U),w[l]!=h&&o(w,l,d),g&&x[l]!=h&&(x[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},"5d73":function(t,e,n){t.exports=n("469f")},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5df3":function(t,e,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},6107:function(t,e,n){},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),c="prototype",u=function(t,e,n){var l,f,h,d=t&u.F,p=t&u.G,v=t&u.S,m=t&u.P,g=t&u.B,y=t&u.W,b=p?i:i[e]||(i[e]={}),w=b[c],x=p?r:v?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!d&&x&&void 0!==x[l],f&&s(b,l)||(h=f?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:g&&f?o(h,r):y&&x[l]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((b.virtual||(b.virtual={}))[l]=h,t&u.R&&w&&!w[l]&&a(w,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6428:function(t,e,n){var r=n("b4b0"),i=1/0,o=17976931348623157e292;function a(t){if(!t)return 0===t?t:0;if(t=r(t),t===i||t===-i){var e=t<0?-1:1;return e*o}return t===t?t:0}t.exports=a},"656e":function(t,e,n){"use strict";var r=n("79aa");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},"67ab":function(t,e,n){var r=n("ca5a")("meta"),i=n("d3f4"),o=n("69a8"),a=n("86cc").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"72f0":function(t,e){function n(t){return function(){return t}}t.exports=n},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),c=n("626a"),u=Object.assign;t.exports=!u||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=s(t),u=arguments.length,l=1,f=o.f,h=a.f;while(u>l){var d,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),m=v.length,g=0;while(m>g)d=v[g++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},"75fc":function(t,e,n){"use strict";var r=n("a745"),i=n.n(r);function o(t){if(i()(t)){for(var e=0,n=new Array(t.length);ec)r.f(t,n=a[c++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("2d95")(a);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8378:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"83b9":function(t,e,n){"use strict";var r=n("d925"),i=n("e683");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,n){t.exports=n("454f")},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),a=n("11e9"),s=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=a.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&s(l,e,n);return l}})},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9138:function(t,e,n){t.exports=n("35e8")},"92fa":function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var i,o,a,s,c;for(a in e)if(i=t[a],o=e[a],i&&n.test(a))if("class"===a&&("string"===typeof i&&(c=i,t[a]=i={},i[c]=!0),"string"===typeof o&&(c=o,e[a]=o={},o[c]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=r(i[s],o[s]);else if(Array.isArray(i))t[a]=i.concat(o);else if(Array.isArray(o))t[a]=[i].concat(o);else for(s in o)i[s]=o[s];else t[a]=e[a];return t}),{})}},"94df":function(t,e,n){"use strict";const r=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],i=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],o=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],a=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],s=(t,e,n)=>{let r=t;return"string"===typeof e||Array.isArray(e)?r=t.toLocaleString(e,n):!0!==e&&void 0===n||(r=t.toLocaleString(void 0,n)),r};t.exports=(t,e)=>{if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e=Object.assign({bits:!1,binary:!1},e);const n=e.bits?e.binary?a:o:e.binary?i:r;if(e.signed&&0===t)return` 0 ${n[0]}`;const c=t<0,u=c?"-":e.signed?"+":"";let l;if(c&&(t=-t),void 0!==e.minimumFractionDigits&&(l={minimumFractionDigits:e.minimumFractionDigits}),void 0!==e.maximumFractionDigits&&(l=Object.assign({maximumFractionDigits:e.maximumFractionDigits},l)),t<1){const r=s(t,e.locale,l);return u+r+" "+n[0]}const f=Math.min(Math.floor(e.binary?Math.log(t)/Math.log(1024):Math.log10(t)/3),n.length-1);t/=Math.pow(e.binary?1024:1e3,f),l||(t=t.toPrecision(3));const h=s(Number(t),e.locale,l),d=n[f];return u+h+" "+d}},9523:function(t,e){function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=n},"95d5":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new A(r||[]);return o._invoke=O(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=c;var l="suspendedStart",f="suspendedYield",h="executing",d="completed",p={};function v(){}function m(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b($([])));w&&w!==n&&r.call(w,o)&&(y=w);var x=g.prototype=v.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function S(t){function e(n,i,o,a){var s=u(t[n],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"===typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return e("throw",t,o,a)}))}a(s.arg)}var n;function i(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=i}function O(t,e,n){var r=l;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return k()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=u(t,e,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}function C(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function $(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){while(++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:$(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),a=n("7726").Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},"9b42":function(t,e){function n(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){i=!0,o=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}t.exports=n},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9e69":function(t,e,n){var r=n("2b3e"),i=r.Symbol;t.exports=i},a026:function(t,e,n){"use strict";n.r(e),function(t){ + */function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("a026"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return s(t)||c(t)||u()}function s(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],i="function"===typeof r?r(e):n.passengers;return t.concat(i)}),[])}function h(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var v={},m={},g={},y=i.extend({data:function(){return{transports:v,targets:m,sources:g,trackInstances:l}},methods:{open:function(t){if(l){var e=t.to,n=t.from,r=t.passengers,o=t.order,a=void 0===o?1/0:o;if(e&&n&&r){var s={to:e,from:n,passengers:f(r),order:a},c=Object.keys(this.transports);-1===c.indexOf(e)&&i.set(this.transports,e,[]);var u=this.$_getTransportIndex(s),d=this.transports[e].slice(0);-1===u?d.push(s):d[u]=s,this.transports[e]=h(d,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var o=this.transports[n].slice(0);o.splice(i,1),this.transports[n]=o}}},registerTarget:function(t,e,n){l&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){l&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}),b=new y(v),w=1,x=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(w++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){b.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){b.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};b.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};b.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),_=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:b.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){b.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){b.unregisterTarget(e),b.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){b.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return d(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),S=0,O=["disabled","name","order","slim","slotProps","tag","to"],E=["multiple","transition"],C=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(S++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(b.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=b.targets[e.name];else{var n=e.append;if(n){var r="string"===typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var o=p(this.$props,E);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new _({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,O);return t(x,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",x),t.component(e.portalTargetName||"PortalTarget",_),t.component(e.MountingPortalName||"MountingPortal",C)}var M={install:T};e.default=M,e.Portal=x,e.PortalTarget=_,e.MountingPortal=C,e.Wormhole=b},"2d00":function(t,e){t.exports=!1},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2e39":function(t,e,n){"use strict";function r(t,e){var n=e.length,r=t.length;if(r>n)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"30b5":function(t,e,n){"use strict";var r=n("c532");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),a=n("35e8"),s=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,w){c(n,e,g);var x,_,S,O=function(t){if(!d&&t in M)return M[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",C=y==v,T=!1,M=t.prototype,D=M[f]||M[h]||y&&M[y],k=D||O(y),A=y?C?O("entries"):k:void 0,N="Array"==e&&M.entries||D;if(N&&(S=l(N.call(new t)),S!==Object.prototype&&S.next&&(u(S,E,!0),r||"function"==typeof S[f]||a(S,f,m))),C&&D&&D.name!==v&&(T=!0,k=function(){return D.call(this)}),r&&!w||!d&&!T&&M[f]||a(M,f,k),s[e]=k,s[E]=m,y)if(x={values:C?k:O(v),keys:b?k:O(p),entries:A},w)for(_ in x)_ in M||o(M,_,x[_]);else i(i.P+i.F*(d||T),e,x);return x}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"366e":function(t,e,n){t.exports=n("ccb9").f("toPrimitive")},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3702:function(t,e,n){var r=n("481b"),i=n("5168")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},3729:function(t,e,n){var r=n("9e69"),i=n("00fd"),o=n("29f3"),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function u(t){return null==t?void 0===t?s:a:c&&c in Object(t)?i(t):o(t)}t.exports=u},"37c8":function(t,e,n){e.f=n("2b4c")},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386d":function(t,e,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var l=o(s,c);return i(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},3953:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("f921"),i=n.n(r),o=n("d8d6"),a=n.n(o),s=n("d2d5"),c=n.n(s);function u(t){if("undefined"!=typeof i.a&&null!=t[a.a]||null!=t["@@iterator"])return c()(t)}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3a72":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("2d00"),a=n("37c8"),s=n("86cc").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},"3b8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("696e"),i=n.n(r);function o(t,e,n,r,o,a,s){try{var c=t[a](s),u=c.value}catch(t){return void n(t)}c.done?e(u):i.a.resolve(u).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new i.a((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,c,"next",t)}function c(t){o(a,r,i,s,c,"throw",t)}s(void 0)}))}}},"3c11":function(t,e,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),a=n("f201"),s=n("cd78");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"408c":function(t,e,n){var r=n("2b3e"),i=function(){return r.Date.now()};t.exports=i},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},4178:function(t,e,n){var r,i,o,a=n("d864"),s=n("3024"),c=n("32fc"),u=n("1ec9"),l=n("e53d"),f=l.process,d=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,g={},y="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){b.call(t.data)};d&&h||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete g[t]},"process"==n("6b4c")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:d,clear:h}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"43fc":function(t,e,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4416:function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"448a":function(t,e,n){var r=n("2236"),i=n("11b0"),o=n("6613"),a=n("0676");function s(t){return r(t)||i(t)||o(t)||a()}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");t.exports=function(t){var e=r(t),n=i.f;if(n){var a,s=n(t),c=o.f,u=0;while(s.length>u)c.call(t,a=s[u++])&&e.push(a)}return e}},"481b":function(t,e){t.exports={}},"4a0c":function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_from":"axios@0.21.4"}')},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),c=n("27ee"),u={},l={};e=t.exports=function(t,e,n,f,d){var h,p,v,m,g=d?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(h=s(t.length);h>b;b++)if(m=e?y(a(p=t[b])[0],p[1]):y(t[b]),m===u||m===l)return m}else for(v=g.call(t);!(p=v.next()).done;)if(m=i(v,y,p.value,e),m===u||m===l)return m};e.BREAK=u,e.RETURN=l},"4a7a":function(t,e,n){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return(()=>{var t={646:t=>{t.exports=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e{t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},860:t=>{t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},206:t=>{t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(t,e,n)=>{var r=n(646),i=n(860),o=n(206);t.exports=function(t){return r(t)||i(t)||o()}},8:t=>{function e(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=e=function(t){return typeof t}:t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(n)}t.exports=e}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{VueSelect:()=>b,default:()=>x,mixins:()=>w});var t=n(319),e=n.n(t),i=n(8),o=n.n(i),a=n(713),s=n.n(a);const c={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(t){var e=this;this.autoscroll&&t&&this.$nextTick((function(){return e.maybeAdjustScroll()}))}},methods:{maybeAdjustScroll:function(){var t,e=(null===(t=this.$refs.dropdownMenu)||void 0===t?void 0:t.children[this.typeAheadPointer])||!1;if(e){var n=this.getDropdownViewport(),r=e.getBoundingClientRect(),i=r.top,o=r.bottom,a=r.height;if(in.bottom)return this.$refs.dropdownMenu.scrollTop=e.offsetTop-(n.height-a)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},u={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var t=0;t=0;t--)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},typeAheadDown:function(){for(var t=this.typeAheadPointer+1;t0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==t?!this.mutableLoading:t}}};function f(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}const d={Deselect:f({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[e("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])}),[],!1,null,null,null).exports,OpenIndicator:f({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[e("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])}),[],!1,null,null,null).exports},h={inserted:function(t,e,n){var r=n.context;if(r.appendToBody){var i=r.$refs.toggle.getBoundingClientRect(),o=i.height,a=i.top,s=i.left,c=i.width,u=window.scrollX||window.pageXOffset,l=window.scrollY||window.pageYOffset;t.unbindPosition=r.calculatePosition(t,r,{width:c+"px",left:u+s+"px",top:l+a+o+"px"}),document.body.appendChild(t)}},unbind:function(t,e,n){n.context.appendToBody&&(t.unbindPosition&&"function"==typeof t.unbindPosition&&t.unbindPosition(),t.parentNode&&t.parentNode.removeChild(t))}},p=function(t){var e={};return Object.keys(t).sort().forEach((function(n){e[n]=t[n]})),JSON.stringify(e)};var v=0;const m=function(){return++v};function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e-1}},filter:{type:Function,default:function(t,e){var n=this;return t.filter((function(t){var r=n.getOptionLabel(t);return"number"==typeof r&&(r=r.toString()),n.filterBy(t,r,e)}))}},createOption:{type:Function,default:function(t){return"object"===o()(this.optionList[0])?s()({},this.label,t):t}},resetOnOptionsChange:{default:!1,validator:function(t){return["function","boolean"].includes(o()(t))}},clearSearchOnBlur:{type:Function,default:function(t){var e=t.clearSearchOnSelect,n=t.multiple;return e&&!n}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(t,e){return t}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(t,e,n){var r=n.width,i=n.top,o=n.left;t.style.top=i,t.style.left=o,t.style.width=r}},dropdownShouldOpen:{type:Function,default:function(t){var e=t.noDrop,n=t.open,r=t.mutableLoading;return!e&&n&&!r}},uid:{type:[String,Number],default:function(){return m()}}},data:function(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var t=this.value;return this.isTrackingValues&&(t=this.$data._value),null!=t&&""!==t?[].concat(t):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var t=this,e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:y({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return t.isComposing=!0},compositionend:function(){return t.isComposing=!1},keydown:this.onSearchKeyDown,keypress:this.onSearchKeyPress,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(e){return t.search=e.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:y({},e,{deselect:this.deselect}),footer:y({},e,{deselect:this.deselect})}},childComponents:function(){return y({},d,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var t=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t;var e=this.search.length?this.filter(t,this.search,this):t;if(this.taggable&&this.search.length){var n=this.createOption(this.search);this.optionExists(n)||e.unshift(n)}return e},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(t,e){var n=this;!this.taggable&&("function"==typeof n.resetOnOptionsChange?n.resetOnOptionsChange(t,e,n.selectedValue):n.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(t){this.isTrackingValues&&this.setInternalValueFromOptions(t)}},multiple:function(){this.clearSelection()},open:function(t){this.$emit(t?"open":"close")},search:function(t){t.length&&(this.open=!0)}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(t){var e=this;Array.isArray(t)?this.$data._value=t.map((function(t){return e.findOptionFromReducedValue(t)})):this.$data._value=this.findOptionFromReducedValue(t)},select:function(t){this.$emit("option:selecting",t),this.isOptionSelected(t)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(t):(this.taggable&&!this.optionExists(t)&&this.$emit("option:created",t),this.multiple&&(t=this.selectedValue.concat(t)),this.updateValue(t),this.$emit("option:selected",t)),this.onAfterSelect(t)},deselect:function(t){var e=this;this.$emit("option:deselecting",t),this.updateValue(this.selectedValue.filter((function(n){return!e.optionComparator(n,t)}))),this.$emit("option:deselected",t)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(t){var e=this;this.closeOnSelect&&(this.open=!this.open),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick((function(){return e.$refs.search.focus()}))},updateValue:function(t){var e=this;void 0===this.value&&(this.$data._value=t),null!==t&&(t=Array.isArray(t)?t.map((function(t){return e.reduce(t)})):this.reduce(t)),this.$emit("input",t)},toggleDropdown:function(t){var n=t.target!==this.searchEl;n&&t.preventDefault();var r=[].concat(e()(this.$refs.deselectButtons||[]),e()([this.$refs.clearButton]||!1));void 0===this.searchEl||r.filter(Boolean).some((function(e){return e.contains(t.target)||e===t.target}))?t.preventDefault():this.open&&n?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(t){var e=this;return this.selectedValue.some((function(n){return e.optionComparator(n,t)}))},isOptionDeselectable:function(t){return this.isOptionSelected(t)&&this.deselectFromDropdown},optionComparator:function(t,e){return this.getOptionKey(t)===this.getOptionKey(e)},findOptionFromReducedValue:function(t){var n=this,r=[].concat(e()(this.options),e()(this.pushedTags)).filter((function(e){return JSON.stringify(n.reduce(e))===JSON.stringify(t)}));return 1===r.length?r[0]:r.find((function(t){return n.optionComparator(t,n.$data._value)}))||t},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var t=null;this.multiple&&(t=e()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(t)}},optionExists:function(t){var e=this;return this.optionList.some((function(n){return e.optionComparator(n,t)}))},normalizeOptionForSlot:function(t){return"object"===o()(t)?t:s()({},this.label,t)},pushTag:function(t){this.pushedTags.push(t)},onEscape:function(){this.search.length?this.search="":this.open=!1},onSearchBlur:function(){if(!this.mousedown||this.searching){var t=this.clearSearchOnSelect,e=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:t,multiple:e})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(t){var e=this,n=function(t){return t.preventDefault(),!e.isComposing&&e.typeAheadSelect()},r={8:function(t){return e.maybeDeleteValue()},9:function(t){return e.onTab()},27:function(t){return e.onEscape()},38:function(t){if(t.preventDefault(),e.open)return e.typeAheadUp();e.open=!0},40:function(t){if(t.preventDefault(),e.open)return e.typeAheadDown();e.open=!0}};this.selectOnKeyCodes.forEach((function(t){return r[t]=n}));var i=this.mapKeydown(r,this);if("function"==typeof i[t.keyCode])return i[t.keyCode](t)},onSearchKeyPress:function(t){this.open||32!==t.keyCode||(t.preventDefault(),this.open=!0)}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-select",class:t.stateClasses,attrs:{dir:t.dir}},[t._t("header",null,null,t.scope.header),t._v(" "),n("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+t.uid+"__combobox",role:"combobox","aria-expanded":t.dropdownOpen.toString(),"aria-owns":"vs"+t.uid+"__listbox","aria-controls":"vs"+t.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(e){return t.toggleDropdown(e)}}},[n("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[t._l(t.selectedValue,(function(e){return t._t("selected-option-container",[n("span",{key:t.getOptionKey(e),staticClass:"vs__selected"},[t._t("selected-option",[t._v("\n "+t._s(t.getOptionLabel(e))+"\n ")],null,t.normalizeOptionForSlot(e)),t._v(" "),t.multiple?n("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:t.disabled,type:"button",title:"Deselect "+t.getOptionLabel(e),"aria-label":"Deselect "+t.getOptionLabel(e)},on:{click:function(n){return t.deselect(e)}}},[n(t.childComponents.Deselect,{tag:"component"})],1):t._e()],2)],{option:t.normalizeOptionForSlot(e),deselect:t.deselect,multiple:t.multiple,disabled:t.disabled})})),t._v(" "),t._t("search",[n("input",t._g(t._b({staticClass:"vs__search"},"input",t.scope.search.attributes,!1),t.scope.search.events))],null,t.scope.search)],2),t._v(" "),n("div",{ref:"actions",staticClass:"vs__actions"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:t.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:t.clearSelection}},[n(t.childComponents.Deselect,{tag:"component"})],1),t._v(" "),t._t("open-indicator",[t.noDrop?t._e():n(t.childComponents.OpenIndicator,t._b({tag:"component"},"component",t.scope.openIndicator.attributes,!1))],null,t.scope.openIndicator),t._v(" "),t._t("spinner",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[t._v("Loading...")])],null,t.scope.spinner)],2)]),t._v(" "),n("transition",{attrs:{name:t.transition}},[t.dropdownOpen?n("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+t.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+t.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(e){return e.preventDefault(),t.onMousedown(e)},mouseup:t.onMouseUp}},[t._t("list-header",null,null,t.scope.listHeader),t._v(" "),t._l(t.filteredOptions,(function(e,r){return n("li",{key:t.getOptionKey(e),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":t.isOptionDeselectable(e)&&r===t.typeAheadPointer,"vs__dropdown-option--selected":t.isOptionSelected(e),"vs__dropdown-option--highlight":r===t.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(e)},attrs:{id:"vs"+t.uid+"__option-"+r,role:"option","aria-selected":r===t.typeAheadPointer||null},on:{mouseover:function(n){t.selectable(e)&&(t.typeAheadPointer=r)},click:function(n){n.preventDefault(),n.stopPropagation(),t.selectable(e)&&t.select(e)}}},[t._t("option",[t._v("\n "+t._s(t.getOptionLabel(e))+"\n ")],null,t.normalizeOptionForSlot(e))],2)})),t._v(" "),0===t.filteredOptions.length?n("li",{staticClass:"vs__no-options"},[t._t("no-options",[t._v("\n Sorry, no matching options.\n ")],null,t.scope.noOptions)],2):t._e(),t._v(" "),t._t("list-footer",null,null,t.scope.listFooter)],2):n("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+t.uid+"__listbox",role:"listbox"}})]),t._v(" "),t._t("footer",null,null,t.scope.footer)],2)}),[],!1,null,null,null).exports,w={ajax:l,pointer:u,pointerScroll:c},x=b})(),r})()}))},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(o,u),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var l=i.concat(o).concat(a).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(f,u),n}},"4b17":function(t,e,n){var r=n("6428");function i(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}t.exports=i},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4c95":function(t,e,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),a=n("8e60"),s=n("5168")("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},"4cef":function(t,e){var n=/\s/;function r(t){var e=t.length;while(e--&&n.test(t.charAt(e)));return e}t.exports=r},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},"4f7f":function(t,e,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Set";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),a=n("52a7").f;t.exports=function(t){return function(e){var n,s=o(e),c=i(s),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[s]||0!==e[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(t){var e,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[s]),a=i.call(f,t),c&&a&&(f[s]=f.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l
';const nt=Number.isNaN||i.isNaN;function rt(t){return"number"===typeof t&&!nt(t)}const it=t=>t>0&&t<1/0;function ot(t){return"undefined"===typeof t}function at(t){return"object"===typeof t&&null!==t}const{hasOwnProperty:st}=Object.prototype;function ct(t){if(!at(t))return!1;try{const{constructor:e}=t,{prototype:n}=e;return e&&n&&st.call(n,"isPrototypeOf")}catch(e){return!1}}function ut(t){return"function"===typeof t}const{slice:lt}=Array.prototype;function ft(t){return Array.from?Array.from(t):lt.call(t)}function dt(t,e){return t&&ut(e)&&(Array.isArray(t)||rt(t.length)?ft(t).forEach((n,r)=>{e.call(t,n,r,t)}):at(t)&&Object.keys(t).forEach(n=>{e.call(t,t[n],n,t)})),t}const ht=Object.assign||function(t,...e){return at(t)&&e.length>0&&e.forEach(e=>{at(e)&&Object.keys(e).forEach(n=>{t[n]=e[n]})}),t},pt=/\.\d*(?:0|9){12}\d*$/;function vt(t,e=1e11){return pt.test(t)?Math.round(t*e)/e:t}const mt=/^width|height|left|top|marginLeft|marginTop$/;function gt(t,e){const{style:n}=t;dt(e,(t,e)=>{mt.test(e)&&rt(t)&&(t+="px"),n[e]=t})}function yt(t,e){return t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}function bt(t,e){if(!e)return;if(rt(t.length))return void dt(t,t=>{bt(t,e)});if(t.classList)return void t.classList.add(e);const n=t.className.trim();n?n.indexOf(e)<0&&(t.className=`${n} ${e}`):t.className=e}function wt(t,e){e&&(rt(t.length)?dt(t,t=>{wt(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function xt(t,e,n){e&&(rt(t.length)?dt(t,t=>{xt(t,e,n)}):n?bt(t,e):wt(t,e))}const _t=/([a-z\d])([A-Z])/g;function St(t){return t.replace(_t,"$1-$2").toLowerCase()}function Ot(t,e){return at(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-"+St(e))}function Et(t,e,n){at(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-"+St(e),n)}function Ct(t,e){if(at(t[e]))try{delete t[e]}catch(n){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(n){t.dataset[e]=void 0}else t.removeAttribute("data-"+St(e))}const Tt=/\s\s*/,Mt=(()=>{let t=!1;if(r){let e=!1;const n=()=>{},r=Object.defineProperty({},"once",{get(){return t=!0,e},set(t){e=t}});i.addEventListener("test",n,r),i.removeEventListener("test",n,r)}return t})();function Dt(t,e,n,r={}){let i=n;e.trim().split(Tt).forEach(e=>{if(!Mt){const{listeners:r}=t;r&&r[e]&&r[e][n]&&(i=r[e][n],delete r[e][n],0===Object.keys(r[e]).length&&delete r[e],0===Object.keys(r).length&&delete t.listeners)}t.removeEventListener(e,i,r)})}function kt(t,e,n,r={}){let i=n;e.trim().split(Tt).forEach(e=>{if(r.once&&!Mt){const{listeners:o={}}=t;i=(...a)=>{delete o[e][n],t.removeEventListener(e,i,r),n.apply(t,a)},o[e]||(o[e]={}),o[e][n]&&t.removeEventListener(e,o[e][n],r),o[e][n]=i,t.listeners=o}t.addEventListener(e,i,r)})}function At(t,e,n){let r;return ut(Event)&&ut(CustomEvent)?r=new CustomEvent(e,{detail:n,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,n)),t.dispatchEvent(r)}function Nt(t){const e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}const{location:$t}=i,jt=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Lt(t){const e=t.match(jt);return null!==e&&(e[1]!==$t.protocol||e[2]!==$t.hostname||e[3]!==$t.port)}function Pt(t){const e="timestamp="+(new Date).getTime();return t+(-1===t.indexOf("?")?"?":"&")+e}function It({rotate:t,scaleX:e,scaleY:n,translateX:r,translateY:i}){const o=[];rt(r)&&0!==r&&o.push(`translateX(${r}px)`),rt(i)&&0!==i&&o.push(`translateY(${i}px)`),rt(t)&&0!==t&&o.push(`rotate(${t}deg)`),rt(e)&&1!==e&&o.push(`scaleX(${e})`),rt(n)&&1!==n&&o.push(`scaleY(${n})`);const a=o.length?o.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function Rt(t){const e={...t};let n=0;return dt(t,(t,r)=>{delete e[r],dt(e,e=>{const r=Math.abs(t.startX-e.startX),i=Math.abs(t.startY-e.startY),o=Math.abs(t.endX-e.endX),a=Math.abs(t.endY-e.endY),s=Math.sqrt(r*r+i*i),c=Math.sqrt(o*o+a*a),u=(c-s)/s;Math.abs(u)>Math.abs(n)&&(n=u)})}),n}function Bt({pageX:t,pageY:e},n){const r={endX:t,endY:e};return n?r:{startX:t,startY:e,...r}}function Ft(t){let e=0,n=0,r=0;return dt(t,({startX:t,startY:i})=>{e+=t,n+=i,r+=1}),e/=r,n/=r,{pageX:e,pageY:n}}function zt({aspectRatio:t,height:e,width:n},r="contain"){const i=it(n),o=it(e);if(i&&o){const i=e*t;"contain"===r&&i>n||"cover"===r&&i90?{width:s,height:a}:{width:a,height:s}}function Ht(t,{aspectRatio:e,naturalWidth:n,naturalHeight:r,rotate:i=0,scaleX:o=1,scaleY:a=1},{aspectRatio:s,naturalWidth:c,naturalHeight:u},{fillColor:l="transparent",imageSmoothingEnabled:f=!0,imageSmoothingQuality:d="low",maxWidth:h=1/0,maxHeight:p=1/0,minWidth:v=0,minHeight:m=0}){const g=document.createElement("canvas"),y=g.getContext("2d"),b=zt({aspectRatio:s,width:h,height:p}),w=zt({aspectRatio:s,width:v,height:m},"cover"),x=Math.min(b.width,Math.max(w.width,c)),_=Math.min(b.height,Math.max(w.height,u)),S=zt({aspectRatio:e,width:h,height:p}),O=zt({aspectRatio:e,width:v,height:m},"cover"),E=Math.min(S.width,Math.max(O.width,n)),C=Math.min(S.height,Math.max(O.height,r)),T=[-E/2,-C/2,E,C];return g.width=vt(x),g.height=vt(_),y.fillStyle=l,y.fillRect(0,0,x,_),y.save(),y.translate(x/2,_/2),y.rotate(i*Math.PI/180),y.scale(o,a),y.imageSmoothingEnabled=f,y.imageSmoothingQuality=d,y.drawImage(t,...T.map(t=>Math.floor(vt(t)))),y.restore(),g}const{fromCharCode:Wt}=String;function Ut(t,e,n){let r="";n+=e;for(let i=e;i{i[e]=n.charCodeAt(e)}),r}function Kt(t,e){const n=[],r=8192;let i=new Uint8Array(t);while(i.length>0)n.push(Wt.apply(null,ft(i.subarray(0,r)))),i=i.subarray(r);return`data:${e};base64,${btoa(n.join(""))}`}function qt(t){const e=new DataView(t);let n;try{let t,r,i;if(255===e.getUint8(0)&&216===e.getUint8(1)){const t=e.byteLength;let n=2;while(n+1=8&&(i=o+n)}}}if(i){const r=e.getUint16(i,t);let o,a;for(a=0;a=0?i:Q),height:Math.max(n.offsetHeight,o>=0?o:Z)};this.containerData=a,gt(r,{width:a.width,height:a.height}),bt(t,_),wt(r,_)},initCanvas(){const{containerData:t,imageData:e}=this,{viewMode:n}=this.options,r=Math.abs(e.rotate)%180===90,i=r?e.naturalHeight:e.naturalWidth,o=r?e.naturalWidth:e.naturalHeight,a=i/o;let s=t.width,c=t.height;t.height*a>t.width?3===n?s=t.height*a:c=t.width/a:3===n?c=t.width/a:s=t.height*a;const u={aspectRatio:a,naturalWidth:i,naturalHeight:o,width:s,height:c};this.canvasData=u,this.limited=1===n||2===n,this.limitCanvas(!0,!0),u.width=Math.min(Math.max(u.width,u.minWidth),u.maxWidth),u.height=Math.min(Math.max(u.height,u.minHeight),u.maxHeight),u.left=(t.width-u.width)/2,u.top=(t.height-u.height)/2,u.oldLeft=u.left,u.oldTop=u.top,this.initialCanvasData=ht({},u)},limitCanvas(t,e){const{options:n,containerData:r,canvasData:i,cropBoxData:o}=this,{viewMode:a}=n,{aspectRatio:s}=i,c=this.cropped&&o;if(t){let t=Number(n.minCanvasWidth)||0,e=Number(n.minCanvasHeight)||0;a>1?(t=Math.max(t,r.width),e=Math.max(e,r.height),3===a&&(e*s>t?t=e*s:e=t/s)):a>0&&(t?t=Math.max(t,c?o.width:0):e?e=Math.max(e,c?o.height:0):c&&(t=o.width,e=o.height,e*s>t?t=e*s:e=t/s)),({width:t,height:e}=zt({aspectRatio:s,width:t,height:e})),i.minWidth=t,i.minHeight=e,i.maxWidth=1/0,i.maxHeight=1/0}if(e)if(a>(c?0:1)){const t=r.width-i.width,e=r.height-i.height;i.minLeft=Math.min(0,t),i.minTop=Math.min(0,e),i.maxLeft=Math.max(0,t),i.maxTop=Math.max(0,e),c&&this.limited&&(i.minLeft=Math.min(o.left,o.left+(o.width-i.width)),i.minTop=Math.min(o.top,o.top+(o.height-i.height)),i.maxLeft=o.left,i.maxTop=o.top,2===a&&(i.width>=r.width&&(i.minLeft=Math.min(0,t),i.maxLeft=Math.max(0,t)),i.height>=r.height&&(i.minTop=Math.min(0,e),i.maxTop=Math.max(0,e))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=r.width,i.maxTop=r.height},renderCanvas(t,e){const{canvasData:n,imageData:r}=this;if(e){const{width:t,height:e}=Vt({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),i=n.width*(t/n.naturalWidth),o=n.height*(e/n.naturalHeight);n.left-=(i-n.width)/2,n.top-=(o-n.height)/2,n.width=i,n.height=o,n.aspectRatio=t/e,n.naturalWidth=t,n.naturalHeight=e,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heighte.width?i.height=i.width/n:i.width=i.height*n),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=e.left+(e.width-i.width)/2,i.top=e.top+(e.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=ht({},i)},limitCropBox(t,e){const{options:n,containerData:r,canvasData:i,cropBoxData:o,limited:a}=this,{aspectRatio:s}=n;if(t){let t=Number(n.minCropBoxWidth)||0,e=Number(n.minCropBoxHeight)||0,c=a?Math.min(r.width,i.width,i.width+i.left,r.width-i.left):r.width,u=a?Math.min(r.height,i.height,i.height+i.top,r.height-i.top):r.height;t=Math.min(t,r.width),e=Math.min(e,r.height),s&&(t&&e?e*s>t?e=t/s:t=e*s:t?e=t/s:e&&(t=e*s),u*s>c?u=c/s:c=u*s),o.minWidth=Math.min(t,c),o.minHeight=Math.min(e,u),o.maxWidth=c,o.maxHeight=u}e&&(a?(o.minLeft=Math.max(0,i.left),o.minTop=Math.max(0,i.top),o.maxLeft=Math.min(r.width,i.left+i.width)-o.width,o.maxTop=Math.min(r.height,i.top+i.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=r.width-o.width,o.maxTop=r.height-o.height))},renderCropBox(){const{options:t,containerData:e,cropBoxData:n}=this;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=e.width&&n.height>=e.height?l:c),gt(this.cropBox,ht({width:n.width,height:n.height},It({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output(){this.preview(),At(this.element,N,this.getData())}},Qt={initPreview(){const{element:t,crossOrigin:e}=this,{preview:n}=this.options,r=e?this.crossOriginUrl:this.url,i=t.alt||"The image to preview",o=document.createElement("img");if(e&&(o.crossOrigin=e),o.src=r,o.alt=i,this.viewBox.appendChild(o),this.viewBoxImage=o,!n)return;let a=n;"string"===typeof n?a=t.ownerDocument.querySelectorAll(n):n.querySelector&&(a=[n]),this.previews=a,dt(a,t=>{const n=document.createElement("img");Et(t,M,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(n.crossOrigin=e),n.src=r,n.alt=i,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(n)})},resetPreview(){dt(this.previews,t=>{const e=Ot(t,M);gt(t,{width:e.width,height:e.height}),t.innerHTML=e.html,Ct(t,M)})},preview(){const{imageData:t,canvasData:e,cropBoxData:n}=this,{width:r,height:i}=n,{width:o,height:a}=t,s=n.left-e.left-t.left,c=n.top-e.top-t.top;this.cropped&&!this.disabled&&(gt(this.viewBoxImage,ht({width:o,height:a},It(ht({translateX:-s,translateY:-c},t)))),dt(this.previews,e=>{const n=Ot(e,M),u=n.width,l=n.height;let f=u,d=l,h=1;r&&(h=u/r,d=i*h),i&&d>l&&(h=l/i,f=r*h,d=l),gt(e,{width:f,height:d}),gt(e.getElementsByTagName("img")[0],ht({width:o*h,height:a*h},It(ht({translateX:-s*h,translateY:-c*h},t))))}))}},Zt={bind(){const{element:t,options:e,cropper:n}=this;ut(e.cropstart)&&kt(t,L,e.cropstart),ut(e.cropmove)&&kt(t,j,e.cropmove),ut(e.cropend)&&kt(t,$,e.cropend),ut(e.crop)&&kt(t,N,e.crop),ut(e.zoom)&&kt(t,X,e.zoom),kt(n,F,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&kt(n,U,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&kt(n,P,this.onDblclick=this.dblclick.bind(this)),kt(t.ownerDocument,z,this.onCropMove=this.cropMove.bind(this)),kt(t.ownerDocument,V,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&kt(window,W,this.onResize=this.resize.bind(this))},unbind(){const{element:t,options:e,cropper:n}=this;ut(e.cropstart)&&Dt(t,L,e.cropstart),ut(e.cropmove)&&Dt(t,j,e.cropmove),ut(e.cropend)&&Dt(t,$,e.cropend),ut(e.crop)&&Dt(t,N,e.crop),ut(e.zoom)&&Dt(t,X,e.zoom),Dt(n,F,this.onCropStart),e.zoomable&&e.zoomOnWheel&&Dt(n,U,this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&Dt(n,P,this.onDblclick),Dt(t.ownerDocument,z,this.onCropMove),Dt(t.ownerDocument,V,this.onCropEnd),e.responsive&&Dt(window,W,this.onResize)}},te={resize(){if(this.disabled)return;const{options:t,container:e,containerData:n}=this,r=e.offsetWidth/n.width,i=e.offsetHeight/n.height,o=Math.abs(r-1)>Math.abs(i-1)?r:i;if(1!==o){let e,n;t.restore&&(e=this.getCanvasData(),n=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(dt(e,(t,n)=>{e[n]=t*o})),this.setCropBoxData(dt(n,(t,e)=>{n[e]=t*o})))}},dblclick(){this.disabled||this.options.dragMode===A||this.setDragMode(yt(this.dragBox,w)?k:D)},wheel(t){const e=Number(this.options.wheelZoomRatio)||.1;let n=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(()=>{this.wheeling=!1},50),t.deltaY?n=t.deltaY>0?1:-1:t.wheelDelta?n=-t.wheelDelta/120:t.detail&&(n=t.detail>0?1:-1),this.zoom(-n*e,t)))},cropStart(t){const{buttons:e,button:n}=t;if(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(rt(e)&&1!==e||rt(n)&&0!==n||t.ctrlKey))return;const{options:r,pointers:i}=this;let o;t.changedTouches?dt(t.changedTouches,t=>{i[t.identifier]=Bt(t)}):i[t.pointerId||0]=Bt(t),o=Object.keys(i).length>1&&r.zoomable&&r.zoomOnTouch?f:Ot(t.target,T),K.test(o)&&!1!==At(this.element,L,{originalEvent:t,action:o})&&(t.preventDefault(),this.action=o,this.cropping=!1,o===u&&(this.cropping=!0,bt(this.dragBox,E)))},cropMove(t){const{action:e}=this;if(this.disabled||!e)return;const{pointers:n}=this;t.preventDefault(),!1!==At(this.element,j,{originalEvent:t,action:e})&&(t.changedTouches?dt(t.changedTouches,t=>{ht(n[t.identifier]||{},Bt(t,!0))}):ht(n[t.pointerId||0]||{},Bt(t,!0)),this.change(t))},cropEnd(t){if(this.disabled)return;const{action:e,pointers:n}=this;t.changedTouches?dt(t.changedTouches,t=>{delete n[t.identifier]}):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,xt(this.dragBox,E,this.cropped&&this.options.modal)),At(this.element,$,{originalEvent:t,action:e}))}},ee={change(t){const{options:e,canvasData:n,containerData:r,cropBoxData:i,pointers:o}=this;let{action:a}=this,{aspectRatio:s}=e,{left:w,top:x,width:S,height:O}=i;const E=w+S,C=x+O;let T,M=0,D=0,k=r.width,A=r.height,N=!0;!s&&t.shiftKey&&(s=S&&O?S/O:1),this.limited&&(({minLeft:M,minTop:D}=i),k=M+Math.min(r.width,n.width,n.left+n.width),A=D+Math.min(r.height,n.height,n.top+n.height));const $=o[Object.keys(o)[0]],j={x:$.endX-$.startX,y:$.endY-$.startY},L=t=>{switch(t){case d:E+j.x>k&&(j.x=k-E);break;case h:w+j.xA&&(j.y=A-C);break;default:}};switch(a){case c:w+=j.x,x+=j.y;break;case d:if(j.x>=0&&(E>=k||s&&(x<=D||C>=A))){N=!1;break}L(d),S+=j.x,S<0&&(a=h,S=-S,w-=S),s&&(O=S/s,x+=(i.height-O)/2);break;case v:if(j.y<=0&&(x<=D||s&&(w<=M||E>=k))){N=!1;break}L(v),O-=j.y,x+=j.y,O<0&&(a=p,O=-O,x-=O),s&&(S=O*s,w+=(i.width-S)/2);break;case h:if(j.x<=0&&(w<=M||s&&(x<=D||C>=A))){N=!1;break}L(h),S-=j.x,w+=j.x,S<0&&(a=d,S=-S,w-=S),s&&(O=S/s,x+=(i.height-O)/2);break;case p:if(j.y>=0&&(C>=A||s&&(w<=M||E>=k))){N=!1;break}L(p),O+=j.y,O<0&&(a=v,O=-O,x-=O),s&&(S=O*s,w+=(i.width-S)/2);break;case m:if(s){if(j.y<=0&&(x<=D||E>=k)){N=!1;break}L(v),O-=j.y,x+=j.y,S=O*s}else L(v),L(d),j.x>=0?ED&&(O-=j.y,x+=j.y):(O-=j.y,x+=j.y);S<0&&O<0?(a=b,O=-O,S=-S,x-=O,w-=S):S<0?(a=g,S=-S,w-=S):O<0&&(a=y,O=-O,x-=O);break;case g:if(s){if(j.y<=0&&(x<=D||w<=M)){N=!1;break}L(v),O-=j.y,x+=j.y,S=O*s,w+=i.width-S}else L(v),L(h),j.x<=0?w>M?(S-=j.x,w+=j.x):j.y<=0&&x<=D&&(N=!1):(S-=j.x,w+=j.x),j.y<=0?x>D&&(O-=j.y,x+=j.y):(O-=j.y,x+=j.y);S<0&&O<0?(a=y,O=-O,S=-S,x-=O,w-=S):S<0?(a=m,S=-S,w-=S):O<0&&(a=b,O=-O,x-=O);break;case b:if(s){if(j.x<=0&&(w<=M||C>=A)){N=!1;break}L(h),S-=j.x,w+=j.x,O=S/s}else L(p),L(h),j.x<=0?w>M?(S-=j.x,w+=j.x):j.y>=0&&C>=A&&(N=!1):(S-=j.x,w+=j.x),j.y>=0?C=0&&(E>=k||C>=A)){N=!1;break}L(d),S+=j.x,O=S/s}else L(p),L(d),j.x>=0?E=0&&C>=A&&(N=!1):S+=j.x,j.y>=0?C0?a=j.y>0?y:m:j.x<0&&(w-=S,a=j.y>0?b:g),j.y<0&&(x-=O),this.cropped||(wt(this.cropBox,_),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break;default:}N&&(i.width=S,i.height=O,i.left=w,i.top=x,this.action=a,this.renderCropBox()),dt(o,t=>{t.startX=t.endX,t.startY=t.endY})}},ne={crop(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&bt(this.dragBox,E),wt(this.cropBox,_),this.setCropBoxData(this.initialCropBoxData)),this},reset(){return this.ready&&!this.disabled&&(this.imageData=ht({},this.initialImageData),this.canvasData=ht({},this.initialCanvasData),this.cropBoxData=ht({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear(){return this.cropped&&!this.disabled&&(ht(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),wt(this.dragBox,E),bt(this.cropBox,_)),this},replace(t,e=!1){return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,dt(this.previews,e=>{e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable(){return this.ready&&this.disabled&&(this.disabled=!1,wt(this.cropper,x)),this},disable(){return this.ready&&!this.disabled&&(this.disabled=!0,bt(this.cropper,x)),this},destroy(){const{element:t}=this;return t[s]?(t[s]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move(t,e=t){const{left:n,top:r}=this.canvasData;return this.moveTo(ot(t)?t:n+Number(t),ot(e)?e:r+Number(e))},moveTo(t,e=t){const{canvasData:n}=this;let r=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(rt(t)&&(n.left=t,r=!0),rt(e)&&(n.top=e,r=!0),r&&this.renderCanvas(!0)),this},zoom(t,e){const{canvasData:n}=this;return t=Number(t),t=t<0?1/(1-t):1+t,this.zoomTo(n.width*t/n.naturalWidth,null,e)},zoomTo(t,e,n){const{options:r,canvasData:i}=this,{width:o,height:a,naturalWidth:s,naturalHeight:c}=i;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&r.zoomable){const r=s*t,u=c*t;if(!1===At(this.element,X,{ratio:t,oldRatio:o/s,originalEvent:n}))return this;if(n){const{pointers:t}=this,e=Nt(this.cropper),s=t&&Object.keys(t).length?Ft(t):{pageX:n.pageX,pageY:n.pageY};i.left-=(r-o)*((s.pageX-e.left-i.left)/o),i.top-=(u-a)*((s.pageY-e.top-i.top)/a)}else ct(e)&&rt(e.x)&&rt(e.y)?(i.left-=(r-o)*((e.x-i.left)/o),i.top-=(u-a)*((e.y-i.top)/a)):(i.left-=(r-o)/2,i.top-=(u-a)/2);i.width=r,i.height=u,this.renderCanvas(!0)}return this},rotate(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo(t){return t=Number(t),rt(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX(t){const{scaleY:e}=this.imageData;return this.scale(t,rt(e)?e:1)},scaleY(t){const{scaleX:e}=this.imageData;return this.scale(rt(e)?e:1,t)},scale(t,e=t){const{imageData:n}=this;let r=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(rt(t)&&(n.scaleX=t,r=!0),rt(e)&&(n.scaleY=e,r=!0),r&&this.renderCanvas(!0,!0)),this},getData(t=!1){const{options:e,imageData:n,canvasData:r,cropBoxData:i}=this;let o;if(this.ready&&this.cropped){o={x:i.left-r.left,y:i.top-r.top,width:i.width,height:i.height};const e=n.width/n.naturalWidth;if(dt(o,(t,n)=>{o[n]=t/e}),t){const t=Math.round(o.y+o.height),e=Math.round(o.x+o.width);o.x=Math.round(o.x),o.y=Math.round(o.y),o.width=e-o.x,o.height=t-o.y}}else o={x:0,y:0,width:0,height:0};return e.rotatable&&(o.rotate=n.rotate||0),e.scalable&&(o.scaleX=n.scaleX||1,o.scaleY=n.scaleY||1),o},setData(t){const{options:e,imageData:n,canvasData:r}=this,i={};if(this.ready&&!this.disabled&&ct(t)){let o=!1;e.rotatable&&rt(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,o=!0),e.scalable&&(rt(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,o=!0),rt(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);const a=n.width/n.naturalWidth;rt(t.x)&&(i.left=t.x*a+r.left),rt(t.y)&&(i.top=t.y*a+r.top),rt(t.width)&&(i.width=t.width*a),rt(t.height)&&(i.height=t.height*a),this.setCropBoxData(i)}return this},getContainerData(){return this.ready?ht({},this.containerData):{}},getImageData(){return this.sized?ht({},this.imageData):{}},getCanvasData(){const{canvasData:t}=this,e={};return this.ready&&dt(["left","top","width","height","naturalWidth","naturalHeight"],n=>{e[n]=t[n]}),e},setCanvasData(t){const{canvasData:e}=this,{aspectRatio:n}=e;return this.ready&&!this.disabled&&ct(t)&&(rt(t.left)&&(e.left=t.left),rt(t.top)&&(e.top=t.top),rt(t.width)?(e.width=t.width,e.height=t.width/n):rt(t.height)&&(e.height=t.height,e.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData(){const{cropBoxData:t}=this;let e;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData(t){const{cropBoxData:e}=this,{aspectRatio:n}=this.options;let r,i;return this.ready&&this.cropped&&!this.disabled&&ct(t)&&(rt(t.left)&&(e.left=t.left),rt(t.top)&&(e.top=t.top),rt(t.width)&&t.width!==e.width&&(r=!0,e.width=t.width),rt(t.height)&&t.height!==e.height&&(i=!0,e.height=t.height),n&&(r?e.height=e.width/n:i&&(e.width=e.height*n)),this.renderCropBox()),this},getCroppedCanvas(t={}){if(!this.ready||!window.HTMLCanvasElement)return null;const{canvasData:e}=this,n=Ht(this.image,this.imageData,e,t);if(!this.cropped)return n;let{x:r,y:i,width:o,height:a}=this.getData(t.rounded);const s=n.width/Math.floor(e.naturalWidth);1!==s&&(r*=s,i*=s,o*=s,a*=s);const c=o/a,u=zt({aspectRatio:c,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),l=zt({aspectRatio:c,width:t.minWidth||0,height:t.minHeight||0},"cover");let{width:f,height:d}=zt({aspectRatio:c,width:t.width||(1!==s?n.width:o),height:t.height||(1!==s?n.height:a)});f=Math.min(u.width,Math.max(l.width,f)),d=Math.min(u.height,Math.max(l.height,d));const h=document.createElement("canvas"),p=h.getContext("2d");h.width=vt(f),h.height=vt(d),p.fillStyle=t.fillColor||"transparent",p.fillRect(0,0,f,d);const{imageSmoothingEnabled:v=!0,imageSmoothingQuality:m}=t;p.imageSmoothingEnabled=v,m&&(p.imageSmoothingQuality=m);const g=n.width,y=n.height;let b,w,x,_,S,O,E=r,C=i;E<=-o||E>g?(E=0,b=0,x=0,S=0):E<=0?(x=-E,E=0,b=Math.min(g,o+E),S=b):E<=g&&(x=0,b=Math.min(o,g-E),S=b),b<=0||C<=-a||C>y?(C=0,w=0,_=0,O=0):C<=0?(_=-C,C=0,w=Math.min(y,a+C),O=w):C<=y&&(_=0,w=Math.min(a,y-C),O=w);const T=[E,C,b,w];if(S>0&&O>0){const t=f/o;T.push(x*t,_*t,S*t,O*t)}return p.drawImage(n,...T.map(t=>Math.floor(vt(t)))),h},setAspectRatio(t){const{options:e}=this;return this.disabled||ot(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode(t){const{options:e,dragBox:n,face:r}=this;if(this.ready&&!this.disabled){const i=t===D,o=e.movable&&t===k;t=i||o?t:A,e.dragMode=t,Et(n,T,t),xt(n,w,i),xt(n,C,o),e.cropBoxMovable||(Et(r,T,t),xt(r,w,i),xt(r,C,o))}return this}};const re=i.Cropper;class ie{constructor(t,e={}){if(!t||!J.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=ht({},tt,ct(e)&&e),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}init(){const{element:t}=this,e=t.tagName.toLowerCase();let n;if(!t[s]){if(t[s]=this,"img"===e){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else"canvas"===e&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}load(t){if(!t)return;this.url=t,this.imageData={};const{element:e,options:n}=this;if(n.rotatable||n.scalable||(n.checkOrientation=!1),!n.checkOrientation||!window.ArrayBuffer)return void this.clone();if(q.test(t))return void(G.test(t)?this.read(Yt(t)):this.clone());const r=new XMLHttpRequest,i=this.clone.bind(this);this.reloading=!0,this.xhr=r,r.onabort=i,r.onerror=i,r.ontimeout=i,r.onprogress=()=>{r.getResponseHeader("content-type")!==Y&&r.abort()},r.onload=()=>{this.read(r.response)},r.onloadend=()=>{this.reloading=!1,this.xhr=null},n.checkCrossOrigin&&Lt(t)&&e.crossOrigin&&(t=Pt(t)),r.open("GET",t,!0),r.responseType="arraybuffer",r.withCredentials="use-credentials"===e.crossOrigin,r.send()}read(t){const{options:e,imageData:n}=this,r=qt(t);let i=0,o=1,a=1;r>1&&(this.url=Kt(t,Y),({rotate:i,scaleX:o,scaleY:a}=Gt(r))),e.rotatable&&(n.rotate=i),e.scalable&&(n.scaleX=o,n.scaleY=a),this.clone()}clone(){const{element:t,url:e}=this;let{crossOrigin:n}=t,r=e;this.options.checkCrossOrigin&&Lt(e)&&(n||(n="anonymous"),r=Pt(e)),this.crossOrigin=n,this.crossOriginUrl=r;const i=document.createElement("img");n&&(i.crossOrigin=n),i.src=r||e,i.alt=t.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),bt(i,S),t.parentNode.insertBefore(i,t.nextSibling)}start(){const{image:t}=this;t.onload=null,t.onerror=null,this.sizing=!0;const e=i.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(i.navigator.userAgent),n=(t,e)=>{ht(this.imageData,{naturalWidth:t,naturalHeight:e,aspectRatio:t/e}),this.initialImageData=ht({},this.imageData),this.sizing=!1,this.sized=!0,this.build()};if(t.naturalWidth&&!e)return void n(t.naturalWidth,t.naturalHeight);const r=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=r,r.onload=()=>{n(r.width,r.height),e||o.removeChild(r)},r.src=t.src,e||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r))}stop(){const{image:t}=this;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}build(){if(!this.sized||this.ready)return;const{element:t,options:e,image:n}=this,r=t.parentNode,i=document.createElement("div");i.innerHTML=et;const o=i.querySelector(`.${s}-container`),a=o.querySelector(`.${s}-canvas`),u=o.querySelector(`.${s}-drag-box`),l=o.querySelector(`.${s}-crop-box`),f=l.querySelector(`.${s}-face`);this.container=r,this.cropper=o,this.canvas=a,this.dragBox=u,this.cropBox=l,this.viewBox=o.querySelector(`.${s}-view-box`),this.face=f,a.appendChild(n),bt(t,_),r.insertBefore(o,t.nextSibling),wt(n,S),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,bt(l,_),e.guides||bt(l.getElementsByClassName(s+"-dashed"),_),e.center||bt(l.getElementsByClassName(s+"-center"),_),e.background&&bt(o,s+"-bg"),e.highlight||bt(f,O),e.cropBoxMovable&&(bt(f,C),Et(f,T,c)),e.cropBoxResizable||(bt(l.getElementsByClassName(s+"-line"),_),bt(l.getElementsByClassName(s+"-point"),_)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),ut(e.ready)&&kt(t,H,e.ready,{once:!0}),At(t,H)}unbuild(){if(!this.ready)return;this.ready=!1,this.unbind(),this.resetPreview();const{parentNode:t}=this.cropper;t&&t.removeChild(this.cropper),wt(this.element,_)}uncreate(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}static noConflict(){return window.Cropper=re,ie}static setDefaults(t){ht(tt,ct(t)&&t)}}ht(ie.prototype,Jt,Qt,Zt,te,ee,ne);var oe=ie;e["a"]=oe},"549b":function(t,e,n){"use strict";var r=n("d864"),i=n("63b6"),o=n("241e"),a=n("b0dc"),s=n("3702"),c=n("b447"),u=n("20fd"),l=n("7cd6");i(i.S+i.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,d=o(t),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(d);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&s(y))for(e=c(d.length),n=new h(e);e>g;g++)u(n,g,m?v(d[g],g):d[g]);else for(f=y.call(d),n=new h;!(i=f.next()).done;g++)u(n,g,m?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},"551c":function(t,e,n){"use strict";var r,i,o,a,s=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),f=n("5ca1"),d=n("d3f4"),h=n("d8e8"),p=n("f605"),v=n("4a59"),m=n("ebd6"),g=n("1991").set,y=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),_=n("bcaa"),S="Promise",O=c.TypeError,E=c.process,C=E&&E.versions,T=C&&C.v8||"",M=c[S],D="process"==l(E),k=function(){},A=i=b.f,N=!!function(){try{var t=M.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(k,k)};return(D||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),$=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&I(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(O("Promise-chain cycle")):(o=$(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&L(t)}))}},L=function(t){g.call(c,(function(){var e,n,r,i=t._v,o=P(t);if(o&&(e=w((function(){D?E.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=D||P(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},P=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){g.call(c,(function(){var e;D?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=$(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(B,r,1),u(R,r,1))}catch(i){R.call(r,i)}})):(n._v=t,n._s=1,j(n,!1))}catch(r){R.call({_w:n,_d:!1},r)}}};N||(M=function(t){p(this,M,S,"_h"),h(t),r.call(this);try{t(u(B,this,1),u(R,this,1))}catch(e){R.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(M.prototype,{then:function(t,e){var n=A(m(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=D?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(R,t,1)},b.f=A=function(t){return t===M||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!N,{Promise:M}),n("7f20")(M,S),n("7a56")(S),a=n("8378")[S],f(f.S+f.F*!N,S,{reject:function(t){var e=A(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!N),S,{resolve:function(t){return _(s&&this===a?M:this,t)}}),f(f.S+f.F*!(N&&n("5cc5")((function(t){M.all(t)["catch"](k)}))),S,{all:function(t){var e=this,n=A(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=A(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"585a":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("c8ba"))},"5a43":function(t,e){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);nl)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5c95":function(t,e,n){var r=n("35e8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var l,f,d,h,p=t&u.F,v=t&u.G,m=t&u.S,g=t&u.P,y=t&u.B,b=v?r:m?r[e]||(r[e]={}):(r[e]||{})[c],w=v?i:i[e]||(i[e]={}),x=w[c]||(w[c]={});for(l in v&&(n=e),n)f=!p&&b&&void 0!==b[l],d=(f?b:n)[l],h=y&&f?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,b&&a(b,l,d,t&u.U),w[l]!=d&&o(w,l,h),g&&x[l]!=d&&(x[l]=d)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5df3":function(t,e,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},6107:function(t,e,n){},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),c="prototype",u=function(t,e,n){var l,f,d,h=t&u.F,p=t&u.G,v=t&u.S,m=t&u.P,g=t&u.B,y=t&u.W,b=p?i:i[e]||(i[e]={}),w=b[c],x=p?r:v?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!h&&x&&void 0!==x[l],f&&s(b,l)||(d=f?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:g&&f?o(d,r):y&&x[l]==d?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[l]=d,t&u.R&&w&&!w[l]&&a(w,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6428:function(t,e,n){var r=n("b4b0"),i=1/0,o=17976931348623157e292;function a(t){if(!t)return 0===t?t:0;if(t=r(t),t===i||t===-i){var e=t<0?-1:1;return e*o}return t===t?t:0}t.exports=a},"656e":function(t,e,n){"use strict";var r=n("79aa");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},6613:function(t,e,n){var r=n("5a43");function i(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},6718:function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),a=n("ccb9"),s=n("d9f6").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(t,e,n){var r=n("ca5a")("meta"),i=n("d3f4"),o=n("69a8"),a=n("86cc").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},d=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},h=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),a="toString",s=/./[a],c=function(t){n("2aba")(RegExp.prototype,a,t,!0)};n("79e5")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):s.name!=a&&c((function(){return s.call(this)}))},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"72f0":function(t,e){function n(t){return function(){return t}}t.exports=n},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),c=n("626a"),u=Object.assign;t.exports=!u||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=s(t),u=arguments.length,l=1,f=o.f,d=a.f;while(u>l){var h,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),m=v.length,g=0;while(m>g)h=v[g++],r&&!d.call(p,h)||(n[h]=p[h])}return n}:u},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"75fc":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("f410"),i=n.n(r),o=n("db2a");function a(t){if(i()(t))return Object(o["a"])(t)}var s=n("3953"),c=n("e630");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return a(t)||Object(s["a"])(t)||Object(c["a"])(t)||u()}},7618:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("f921"),i=n.n(r),o=n("d8d6"),a=n.n(o);function s(t){return s="function"==typeof i.a&&"symbol"==typeof a.a?function(t){return typeof t}:function(t){return t&&"function"==typeof i.a&&t.constructor===i.a&&t!==i.a.prototype?"symbol":typeof t},s(t)}},"765d":function(t,e,n){n("6718")("observable")},"768b":function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n("178b"),i=n("f921"),o=n.n(i),a=n("d8d6"),s=n.n(a);function c(t,e){var n=null==t?null:"undefined"!=typeof o.a&&t[s.a]||t["@@iterator"];if(null!=n){var r,i,a,c,u=[],l=!0,f=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(u.push(r.value),u.length!==e);l=!0);}catch(t){f=!0,i=t}finally{try{if(!l&&null!=n["return"]&&(c=n["return"](),Object(c)!==c))return}finally{if(f)throw i}}return u}}var u=n("e630"),l=n("1df6");function f(t,e){return Object(r["a"])(t)||c(t,e)||Object(u["a"])(t,e)||Object(l["a"])()}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7bbc":function(t,e,n){var r=n("6821"),i=n("9093").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},"7cd6":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("2d95")(a);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"83b9":function(t,e,n){"use strict";var r=n("d925"),i=n("e683");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},8436:function(t,e){t.exports=function(){}},"848b":function(t,e,n){"use strict";var r=n("4a0c"),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0){var o=r[i],a=e[o];if(a){var s=t[o],c=void 0===s||a(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}i.transitional=function(t,e,n){var i=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:c,validators:i}},"84f2":function(t,e){t.exports={}},8615:function(t,e,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8a81":function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("9e1e"),a=n("5ca1"),s=n("2aba"),c=n("67ab").KEY,u=n("79e5"),l=n("5537"),f=n("7f20"),d=n("ca5a"),h=n("2b4c"),p=n("37c8"),v=n("3a72"),m=n("d4c0"),g=n("1169"),y=n("cb7c"),b=n("d3f4"),w=n("4bf8"),x=n("6821"),_=n("6a99"),S=n("4630"),O=n("2aeb"),E=n("7bbc"),C=n("11e9"),T=n("2621"),M=n("86cc"),D=n("0d58"),k=C.f,A=M.f,N=E.f,$=r.Symbol,j=r.JSON,L=j&&j.stringify,P="prototype",I=h("_hidden"),R=h("toPrimitive"),B={}.propertyIsEnumerable,F=l("symbol-registry"),z=l("symbols"),V=l("op-symbols"),H=Object[P],W="function"==typeof $&&!!T.f,U=r.QObject,X=!U||!U[P]||!U[P].findChild,Y=o&&u((function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=k(H,e);r&&delete H[e],A(t,e,n),r&&t!==H&&A(H,e,r)}:A,K=function(t){var e=z[t]=O($[P]);return e._k=t,e},q=W&&"symbol"==typeof $.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof $},G=function(t,e,n){return t===H&&G(V,e,n),y(t),e=_(e,!0),y(n),i(z,e)?(n.enumerable?(i(t,I)&&t[I][e]&&(t[I][e]=!1),n=O(n,{enumerable:S(0,!1)})):(i(t,I)||A(t,I,S(1,{})),t[I][e]=!0),Y(t,e,n)):A(t,e,n)},J=function(t,e){y(t);var n,r=m(e=x(e)),i=0,o=r.length;while(o>i)G(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?O(t):J(O(t),e)},Z=function(t){var e=B.call(this,t=_(t,!0));return!(this===H&&i(z,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,I)&&this[I][t])||e)},tt=function(t,e){if(t=x(t),e=_(e,!0),t!==H||!i(z,e)||i(V,e)){var n=k(t,e);return!n||!i(z,e)||i(t,I)&&t[I][e]||(n.enumerable=!0),n}},et=function(t){var e,n=N(x(t)),r=[],o=0;while(n.length>o)i(z,e=n[o++])||e==I||e==c||r.push(e);return r},nt=function(t){var e,n=t===H,r=N(n?V:x(t)),o=[],a=0;while(r.length>a)!i(z,e=r[a++])||n&&!i(H,e)||o.push(z[e]);return o};W||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(V,n),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),Y(this,t,S(1,n))};return o&&X&&Y(H,t,{configurable:!0,set:e}),K(t)},s($[P],"toString",(function(){return this._k})),C.f=tt,M.f=G,n("9093").f=E.f=et,n("52a7").f=Z,T.f=nt,o&&!n("2d00")&&s(H,"propertyIsEnumerable",Z,!0),p.f=function(t){return K(h(t))}),a(a.G+a.W+a.F*!W,{Symbol:$});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)h(rt[it++]);for(var ot=D(h.store),at=0;ot.length>at;)v(ot[at++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=$(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),a(a.S+a.F*!W,"Object",{create:Q,defineProperty:G,defineProperties:J,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=u((function(){T.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return T.f(w(t))}}),j&&a(a.S+a.F*(!W||u((function(){var t=$();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!q(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!q(e))return e}),r[1]=e,L.apply(j,r)}}),$[P][R]||n("32e9")($[P],R,$[P].valueOf),f($,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8d74":function(t,e,n){var r=n("4cef"),i=/^\s+/;function o(t){return t?t.slice(0,r(t)+1).replace(i,""):t}t.exports=o},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),a=n("11e9"),s=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=a.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&s(l,e,n);return l}})},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9138:function(t,e,n){t.exports=n("35e8")},"92fa":function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var i,o,a,s,c;for(a in e)if(i=t[a],o=e[a],i&&n.test(a))if("class"===a&&("string"===typeof i&&(c=i,t[a]=i={},i[c]=!0),"string"===typeof o&&(c=o,e[a]=o={},o[c]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=r(i[s],o[s]);else if(Array.isArray(i))t[a]=i.concat(o);else if(Array.isArray(o))t[a]=[i].concat(o);else for(s in o)i[s]=o[s];else t[a]=e[a];return t}),{})}},"94df":function(t,e,n){"use strict";const r=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],i=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],o=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],a=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],s=(t,e,n)=>{let r=t;return"string"===typeof e||Array.isArray(e)?r=t.toLocaleString(e,n):!0!==e&&void 0===n||(r=t.toLocaleString(void 0,n)),r};t.exports=(t,e)=>{if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e=Object.assign({bits:!1,binary:!1},e);const n=e.bits?e.binary?a:o:e.binary?i:r;if(e.signed&&0===t)return" 0 "+n[0];const c=t<0,u=c?"-":e.signed?"+":"";let l;if(c&&(t=-t),void 0!==e.minimumFractionDigits&&(l={minimumFractionDigits:e.minimumFractionDigits}),void 0!==e.maximumFractionDigits&&(l=Object.assign({maximumFractionDigits:e.maximumFractionDigits},l)),t<1){const r=s(t,e.locale,l);return u+r+" "+n[0]}const f=Math.min(Math.floor(e.binary?Math.log(t)/Math.log(1024):Math.log10(t)/3),n.length-1);t/=Math.pow(e.binary?1024:1e3,f),l||(t=t.toPrecision(3));const d=s(Number(t),e.locale,l),h=n[f];return u+d+" "+h}},9523:function(t,e,n){var r=n("a395");function i(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch($){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,a=Object.create(o.prototype),s=new k(r||[]);return i(a,"_invoke",{value:C(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch($){return{type:"throw",arg:$}}}t.wrap=l;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function g(){}function y(){}function b(){}var w={};u(w,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(A([])));_&&_!==n&&r.call(_,a)&&(w=_);var S=b.prototype=g.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(i,o,a,s){var c=f(t[i],t,o);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"===typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;function a(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}i(this,"_invoke",{value:a})}function C(t,e,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return N()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=f(t,e,n);if("normal"===c.type){if(r=n.done?v:h,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}function T(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator["return"]&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function A(t){if(null!=t){var n=t[a];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){while(++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),a=n("7726").Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b42":function(t,e){function n(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw i}}return s}}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9e69":function(t,e,n){var r=n("2b3e"),i=r.Symbol;t.exports=i},a026:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EffectScope",(function(){return kn})),n.d(e,"computed",(function(){return be})),n.d(e,"customRef",(function(){return le})),n.d(e,"default",(function(){return ao})),n.d(e,"defineAsyncComponent",(function(){return Ir})),n.d(e,"defineComponent",(function(){return ti})),n.d(e,"del",(function(){return Wt})),n.d(e,"effectScope",(function(){return An})),n.d(e,"getCurrentInstance",(function(){return bt})),n.d(e,"getCurrentScope",(function(){return $n})),n.d(e,"h",(function(){return wr})),n.d(e,"inject",(function(){return br})),n.d(e,"isProxy",(function(){return Qt})),n.d(e,"isReactive",(function(){return qt})),n.d(e,"isReadonly",(function(){return Jt})),n.d(e,"isRef",(function(){return ne})),n.d(e,"isShallow",(function(){return Gt})),n.d(e,"markRaw",(function(){return te})),n.d(e,"mergeDefaults",(function(){return pn})),n.d(e,"nextTick",(function(){return jr})),n.d(e,"onActivated",(function(){return Xr})),n.d(e,"onBeforeMount",(function(){return Fr})),n.d(e,"onBeforeUnmount",(function(){return Wr})),n.d(e,"onBeforeUpdate",(function(){return Vr})),n.d(e,"onDeactivated",(function(){return Yr})),n.d(e,"onErrorCaptured",(function(){return Qr})),n.d(e,"onMounted",(function(){return zr})),n.d(e,"onRenderTracked",(function(){return qr})),n.d(e,"onRenderTriggered",(function(){return Gr})),n.d(e,"onScopeDispose",(function(){return jn})),n.d(e,"onServerPrefetch",(function(){return Kr})),n.d(e,"onUnmounted",(function(){return Ur})),n.d(e,"onUpdated",(function(){return Hr})),n.d(e,"provide",(function(){return gr})),n.d(e,"proxyRefs",(function(){return ce})),n.d(e,"reactive",(function(){return Xt})),n.d(e,"readonly",(function(){return ve})),n.d(e,"ref",(function(){return re})),n.d(e,"set",(function(){return Ht})),n.d(e,"shallowReactive",(function(){return Yt})),n.d(e,"shallowReadonly",(function(){return ye})),n.d(e,"shallowRef",(function(){return ie})),n.d(e,"toRaw",(function(){return Zt})),n.d(e,"toRef",(function(){return de})),n.d(e,"toRefs",(function(){return fe})),n.d(e,"triggerRef",(function(){return ae})),n.d(e,"unref",(function(){return se})),n.d(e,"useAttrs",(function(){return fn})),n.d(e,"useCssModule",(function(){return Lr})),n.d(e,"useCssVars",(function(){return Pr})),n.d(e,"useListeners",(function(){return dn})),n.d(e,"useSlots",(function(){return ln})),n.d(e,"version",(function(){return Zr})),n.d(e,"watch",(function(){return vr})),n.d(e,"watchEffect",(function(){return fr})),n.d(e,"watchPostEffect",(function(){return dr})),n.d(e,"watchSyncEffect",(function(){return hr})); /*! - * Vue.js v2.6.10 - * (c) 2014-2019 Evan You + * Vue.js v2.7.16 + * (c) 2014-2023 Evan You * Released under the MIT License. */ -var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function x(t,e){return w.call(t,e)}function _(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var S=/-(\w)/g,O=_((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),C=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),E=/\B([A-Z])/g,T=_((function(t){return t.replace(E,"-$1").toLowerCase()}));function A(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function $(t,e){return t.bind(e)}var k=Function.prototype.bind?$:A;function M(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function L(t,e){for(var n in e)t[n]=e[n];return t}function N(t){for(var e={},n=0;n0,it=et&&et.indexOf("edge/")>0,ot=(et&&et.indexOf("android"),et&&/iphone|ipad|ipod|ios/.test(et)||"ios"===tt),at=(et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et),et&&et.match(/firefox\/(\d+)/)),st={}.watch,ct=!1;if(Q)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,ut)}catch(Ju){}var lt=function(){return void 0===G&&(G=!Q&&!Z&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),G},ft=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ht(t){return"function"===typeof t&&/native code/.test(t.toString())}var dt,pt="undefined"!==typeof Symbol&&ht(Symbol)&&"undefined"!==typeof Reflect&&ht(Reflect.ownKeys);dt="undefined"!==typeof Set&&ht(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var vt=D,mt=0,gt=function(){this.id=mt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){b(this.subs,t)},gt.prototype.depend=function(){gt.target&>.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!x(i,"default"))a=!1;else if(""===a||a===T(t)){var c=ne(String,i.type);(c<0||s0&&(a=$e(a,(e||"")+"_"+n),Ae(a[0])&&Ae(u)&&(l[c]=Ot(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?Ae(u)?l[c]=Ot(u.text+a):""!==a&&l.push(Ot(a)):Ae(a)&&Ae(u)?l[c]=Ot(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function ke(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Me(t){var e=Le(t.$options.inject,t);e&&(Mt(!1),Object.keys(e).forEach((function(n){Pt(t,n,e[n])})),Mt(!0))}function Le(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Pe(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=Re(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),q(i,"$stable",a),q(i,"$key",s),q(i,"$hasNormal",o),i}function Pe(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Te(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Re(t,e){return function(){return t[e]}}function Ie(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Gn=function(){return Jn.now()})}function Qn(){var t,e;for(Kn=Gn(),Xn=!0,Hn.sort((function(t,e){return t.id-e.id})),qn=0;qnqn&&Hn[n].id>t.id)n--;Hn.splice(n+1,0,t)}else Hn.push(t);Un||(Un=!0,me(Qn))}}var rr=0,ir=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(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=n,this.id=++rr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new dt,this.newDepIds=new dt,this.expression="","function"===typeof e?this.getter=e:(this.getter=K(e),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};ir.prototype.get=function(){var t;bt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Ju){if(!this.user)throw Ju;re(Ju,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ye(t),wt(),this.cleanupDeps()}return t},ir.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ir.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ir.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():nr(this)},ir.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Ju){re(Ju,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ir.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ir.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ir.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var or={enumerable:!0,configurable:!0,get:D,set:D};function ar(t,e,n){or.get=function(){return this[e][n]},or.set=function(t){this[e][n]=t},Object.defineProperty(t,n,or)}function sr(t){t._watchers=[];var e=t.$options;e.props&&cr(t,e.props),e.methods&&mr(t,e.methods),e.data?ur(t):jt(t._data={},!0),e.computed&&hr(t,e.computed),e.watch&&e.watch!==st&&gr(t,e.watch)}function cr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Mt(!1);var a=function(o){i.push(o);var a=Qt(o,e,n,t);Pt(r,o,a),o in t||ar(t,"_props",o)};for(var s in e)a(s);Mt(!0)}function ur(t){var e=t.$options.data;e=t._data="function"===typeof e?lr(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&x(r,o)||X(o)||ar(t,"_data",o)}jt(e,!0)}function lr(t,e){bt();try{return t.call(e,e)}catch(Ju){return re(Ju,e,"data()"),{}}finally{wt()}}var fr={lazy:!0};function hr(t,e){var n=t._computedWatchers=Object.create(null),r=lt();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new ir(t,a||D,D,fr)),i in t||dr(t,i,o)}}function dr(t,e,n){var r=!lt();"function"===typeof n?(or.get=r?pr(e):vr(n),or.set=D):(or.get=n.get?r&&!1!==n.cache?pr(e):vr(n.get):D,or.set=n.set||D),Object.defineProperty(t,e,or)}function pr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function vr(t){return function(){return t.call(this,this)}}function mr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?D:k(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=M(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Tr(t){t.mixin=function(t){return this.options=Gt(this.options,t),this}}function Ar(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Gt(n.options,t),a["super"]=n,a.options.props&&$r(a),a.options.computed&&kr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,H.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=L({},a.options),i[r]=a,a}}function $r(t){var e=t.options.props;for(var n in e)ar(t.prototype,"_props",n)}function kr(t){var e=t.options.computed;for(var n in e)dr(t.prototype,n,e[n])}function Mr(t){H.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Lr(t){return t&&(t.Ctor.options.name||t.tag)}function Nr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Dr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Lr(a.componentOptions);s&&!e(s)&&jr(n,o,r,i)}}}function jr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,b(n,e)}xr(Cr),br(Cr),Mn(Cr),jn(Cr),wn(Cr);var Pr=[String,RegExp,Array],Rr={name:"keep-alive",abstract:!0,props:{include:Pr,exclude:Pr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)jr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Dr(t,(function(t){return Nr(e,t)}))})),this.$watch("exclude",(function(e){Dr(t,(function(t){return!Nr(e,t)}))}))},render:function(){var t=this.$slots.default,e=Cn(t),n=e&&e.componentOptions;if(n){var r=Lr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Nr(o,r))||a&&r&&Nr(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,b(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&jr(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Ir={KeepAlive:Rr};function Br(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:vt,extend:L,mergeOptions:Gt,defineReactive:Pt},t.set=Rt,t.delete=It,t.nextTick=me,t.observable=function(t){return jt(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,Ir),Er(t),Tr(t),Ar(t),Mr(t)}Br(Cr),Object.defineProperty(Cr.prototype,"$isServer",{get:lt}),Object.defineProperty(Cr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cr,"FunctionalRenderContext",{value:Ze}),Cr.version="2.6.10";var Fr=m("style,class"),zr=m("input,textarea,option,select,progress"),Hr=function(t,e,n){return"value"===n&&zr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Vr=m("contenteditable,draggable,spellcheck"),Wr=m("events,caret,typing,plaintext-only"),Ur=function(t,e){return Gr(e)||"false"===e?"false":"contenteditable"===t&&Wr(e)?e:"true"},Xr=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),qr="http://www.w3.org/1999/xlink",Yr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Kr=function(t){return Yr(t)?t.slice(6,t.length):""},Gr=function(t){return null==t||!1===t};function Jr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Qr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Qr(e,n.data));return Zr(e.staticClass,e.class)}function Qr(t,e){return{staticClass:ti(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Zr(t,e){return i(t)||i(e)?ti(t,ei(e)):""}function ti(t,e){return t?e?t+" "+e:t:e||""}function ei(t){return Array.isArray(t)?ni(t):c(t)?ri(t):"string"===typeof t?t:""}function ni(t){for(var e,n="",r=0,o=t.length;r-1?li[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:li[t]=/HTMLUnknownElement/.test(e.toString())}var hi=m("text,number,password,search,email,tel,url");function di(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pi(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function vi(t,e){return document.createElementNS(ii[t],e)}function mi(t){return document.createTextNode(t)}function gi(t){return document.createComment(t)}function yi(t,e,n){t.insertBefore(e,n)}function bi(t,e){t.removeChild(e)}function wi(t,e){t.appendChild(e)}function xi(t){return t.parentNode}function _i(t){return t.nextSibling}function Si(t){return t.tagName}function Oi(t,e){t.textContent=e}function Ci(t,e){t.setAttribute(e,"")}var Ei=Object.freeze({createElement:pi,createElementNS:vi,createTextNode:mi,createComment:gi,insertBefore:yi,removeChild:bi,appendChild:wi,parentNode:xi,nextSibling:_i,tagName:Si,setTextContent:Oi,setStyleScope:Ci}),Ti={create:function(t,e){Ai(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ai(t,!0),Ai(e))},destroy:function(t){Ai(t,!0)}};function Ai(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?b(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var $i=new xt("",{},[]),ki=["create","activate","update","remove","destroy"];function Mi(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Li(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Li(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||hi(r)&&hi(o)}function Ni(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function Di(t){var e,n,a={},c=t.modules,u=t.nodeOps;for(e=0;ev?(f=r(n[y+1])?null:n[y+1].elm,S(t,f,n,p,y,o)):p>y&&C(t,e,h,v)}function A(t,e,n,r){for(var o=n;o-1?Ui(t,e,n):Xr(e)?Gr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Vr(e)?t.setAttribute(e,Ur(e,n)):Yr(e)?Gr(n)?t.removeAttributeNS(qr,Kr(e)):t.setAttributeNS(qr,e,n):Ui(t,e,n)}function Ui(t,e,n){if(Gr(n))t.removeAttribute(e);else{if(nt&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Xi={create:Vi,update:Vi};function qi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Jr(e),c=n._transitionClasses;i(c)&&(s=ti(s,ei(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Yi,Ki,Gi,Ji,Qi,Zi,to={create:qi,update:qi},eo=/[\w).+\-_$\]]/;function no(t){var e,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,h=0,d=0;for(r=0;r=0;p--)if(v=t.charAt(p)," "!==v)break;v&&eo.test(v)||(u=!0)}}else void 0===i?(d=r+1,i=t.slice(0,r).trim()):m();function m(){(o||(o=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:t.slice(0,Ji),key:'"'+t.slice(Ji+1)+'"'}:{exp:t,key:null};Ki=t,Ji=Qi=Zi=0;while(!_o())Gi=xo(),So(Gi)?Co(Gi):91===Gi&&Oo(Gi);return{exp:t.slice(0,Qi),key:t.slice(Qi+1,Zi)}}function xo(){return Ki.charCodeAt(++Ji)}function _o(){return Ji>=Yi}function So(t){return 34===t||39===t}function Oo(t){var e=1;Qi=Ji;while(!_o())if(t=xo(),So(t))Co(t);else if(91===t&&e++,93===t&&e--,0===e){Zi=Ji;break}}function Co(t){var e=t;while(!_o())if(t=xo(),t===e)break}var Eo,To="__r",Ao="__c";function $o(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return yo(t,r,i),!1;if("select"===o)Lo(t,r,i);else if("input"===o&&"checkbox"===a)ko(t,r,i);else if("input"===o&&"radio"===a)Mo(t,r,i);else if("input"===o||"textarea"===o)No(t,r,i);else{if(!W.isReservedTag(o))return yo(t,r,i),!1}return!0}function ko(t,e,n){var r=n&&n.number,i=po(t,"value")||"null",o=po(t,"true-value")||"true",a=po(t,"false-value")||"false";ao(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),fo(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+bo(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+bo(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+bo(e,"$$c")+"}",null,!0)}function Mo(t,e,n){var r=n&&n.number,i=po(t,"value")||"null";i=r?"_n("+i+")":i,ao(t,"checked","_q("+e+","+i+")"),fo(t,"change",bo(e,i),null,!0)}function Lo(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = "+i+";";a=a+" "+bo(e,o),fo(t,"change",a,null,!0)}function No(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?To:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=bo(e,l);c&&(f="if($event.target.composing)return;"+f),ao(t,"value","("+e+")"),fo(t,u,f,null,!0),(s||a)&&fo(t,"blur","$forceUpdate()")}function Do(t){if(i(t[To])){var e=nt?"change":"input";t[e]=[].concat(t[To],t[e]||[]),delete t[To]}i(t[Ao])&&(t.change=[].concat(t[Ao],t.change||[]),delete t[Ao])}function jo(t,e,n){var r=Eo;return function i(){var o=e.apply(null,arguments);null!==o&&Io(t,i,n,r)}}var Po=ce&&!(at&&Number(at[1])<=53);function Ro(t,e,n,r){if(Po){var i=Kn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Eo.addEventListener(t,e,ct?{capture:n,passive:r}:n)}function Io(t,e,n,r){(r||Eo).removeEventListener(t,e._wrapper||e,n)}function Bo(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Eo=e.elm,Do(n),_e(n,i,Ro,Io,jo,e.context),Eo=void 0}}var Fo,zo={create:Bo,update:Bo};function Ho(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=L({},c)),s)n in c||(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=r(o)?"":String(o);Vo(a,u)&&(a.value=u)}else if("innerHTML"===n&&ai(a.tagName)&&r(a.innerHTML)){Fo=Fo||document.createElement("div"),Fo.innerHTML=""+o+"";var l=Fo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Ju){}}}}function Vo(t,e){return!t.composing&&("OPTION"===t.tagName||Wo(t,e)||Uo(t,e))}function Wo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Ju){}return n&&t.value!==e}function Uo(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Xo={create:Ho,update:Ho},qo=_((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Yo(t){var e=Ko(t.style);return t.staticStyle?L(t.staticStyle,e):e}function Ko(t){return Array.isArray(t)?N(t):"string"===typeof t?qo(t):t}function Go(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=Yo(i.data))&&L(r,n)}(n=Yo(t.data))&&L(r,n);var o=t;while(o=o.parent)o.data&&(n=Yo(o.data))&&L(r,n);return r}var Jo,Qo=/^--/,Zo=/\s*!important$/,ta=function(t,e,n){if(Qo.test(e))t.style.setProperty(e,n);else if(Zo.test(n))t.style.setProperty(T(e),n.replace(Zo,""),"important");else{var r=na(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(oa).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function sa(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(oa).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ca(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&L(e,ua(t.name||"v")),L(e,t),e}return"string"===typeof t?ua(t):void 0}}var ua=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),la=Q&&!rt,fa="transition",ha="animation",da="transition",pa="transitionend",va="animation",ma="animationend";la&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(da="WebkitTransition",pa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(va="WebkitAnimation",ma="webkitAnimationEnd"));var ga=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ya(t){ga((function(){ga(t)}))}function ba(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),aa(t,e))}function wa(t,e){t._transitionClasses&&b(t._transitionClasses,e),sa(t,e)}function xa(t,e,n){var r=Sa(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===fa?pa:ma,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=fa,l=a,f=o.length):e===ha?u>0&&(n=ha,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?fa:ha:null,f=n?n===fa?o.length:c.length:0);var h=n===fa&&_a.test(r[da+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:h}}function Oa(t,e){while(t.length1}function ka(t,e){!0!==e.data.show&&Ea(e)}var Ma=Q?{create:ka,activate:ka,remove:function(t,e){!0!==t.data.show?Ta(t,e):e()}}:{},La=[Xi,to,zo,Xo,ia,Ma],Na=La.concat(Hi),Da=Di({nodeOps:Ei,modules:Na});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ha(t,"input")}));var ja={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Se(n,"postpatch",(function(){ja.componentUpdated(t,e,n)})):Pa(t,e,n.context),t._vOptions=[].map.call(t.options,Ba)):("textarea"===n.tag||hi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Fa),t.addEventListener("compositionend",za),t.addEventListener("change",za),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Pa(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Ba);if(i.some((function(t,e){return!I(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return Ia(t,i)})):e.value!==e.oldValue&&Ia(e.value,i);o&&Ha(t,"change")}}}};function Pa(t,e,n){Ra(t,e,n),(nt||it)&&setTimeout((function(){Ra(t,e,n)}),0)}function Ra(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(I(Ba(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Ia(t,e){return e.every((function(e){return!I(e,t)}))}function Ba(t){return"_value"in t?t._value:t.value}function Fa(t){t.target.composing=!0}function za(t){t.target.composing&&(t.target.composing=!1,Ha(t.target,"input"))}function Ha(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Va(t){return!t.componentInstance||t.data&&t.data.transition?t:Va(t.componentInstance._vnode)}var Wa={bind:function(t,e,n){var r=e.value;n=Va(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Ea(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=Va(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Ea(n,(function(){t.style.display=t.__vOriginalDisplay})):Ta(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Ua={model:ja,show:Wa},Xa={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 qa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?qa(Cn(e.children)):t}function Ya(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[O(o)]=i[o];return e}function Ka(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ga(t){while(t=t.parent)if(t.data.transition)return!0}function Ja(t,e){return e.key===t.key&&e.tag===t.tag}var Qa=function(t){return t.tag||On(t)},Za=function(t){return"show"===t.name},ts={name:"transition",props:Xa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Qa),n.length)){0;var r=this.mode;0;var i=n[0];if(Ga(this.$vnode))return i;var o=qa(i);if(!o)return i;if(this._leaving)return Ka(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=Ya(this),u=this._vnode,l=qa(u);if(o.data.directives&&o.data.directives.some(Za)&&(o.data.show=!0),l&&l.data&&!Ja(o,l)&&!On(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=L({},c);if("out-in"===r)return this._leaving=!0,Se(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ka(t,i);if("in-out"===r){if(On(o))return u;var h,d=function(){h()};Se(c,"afterEnter",d),Se(c,"enterCancelled",d),Se(f,"delayLeave",(function(t){h=t}))}}return i}}},es=L({tag:String,moveClass:String},Xa);delete es.mode;var ns={props:es,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Nn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Ya(this),s=0;sc&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=no(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ss=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Os="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Cs="((?:"+Os+"\\:)?"+Os+")",Es=new RegExp("^<"+Cs),Ts=/^\s*(\/?)>/,As=new RegExp("^<\\/"+Cs+"[^>]*>"),$s=/^]+>/i,ks=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},js=/&(?:lt|gt|quot|amp|#39);/g,Ps=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Rs=m("pre,textarea",!0),Is=function(t,e){return t&&Rs(t)&&"\n"===e[0]};function Bs(t,e){var n=e?Ps:js;return t.replace(n,(function(t){return Ds[t]}))}function Fs(t,e){var n,r,i=[],o=e.expectHTML,a=e.isUnaryTag||j,s=e.canBeLeftOpenTag||j,c=0;while(t){if(n=t,r&&Ls(r)){var u=0,l=r.toLowerCase(),f=Ns[l]||(Ns[l]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=t.replace(f,(function(t,n,r){return u=r.length,Ls(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Is(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-h.length,t=h,E(l,c-u,c)}else{var d=t.indexOf("<");if(0===d){if(ks.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),c,c+p+3),S(p+3);continue}}if(Ms.test(t)){var v=t.indexOf("]>");if(v>=0){S(v+2);continue}}var m=t.match($s);if(m){S(m[0].length);continue}var g=t.match(As);if(g){var y=c;S(g[0].length),E(g[1],y,c);continue}var b=O();if(b){C(b),Is(b.tagName,t)&&S(1);continue}}var w=void 0,x=void 0,_=void 0;if(d>=0){x=t.slice(d);while(!As.test(x)&&!Es.test(x)&&!ks.test(x)&&!Ms.test(x)){if(_=x.indexOf("<",1),_<0)break;d+=_,x=t.slice(d)}w=t.substring(0,d)}d<0&&(w=t),w&&S(w.length),e.chars&&w&&e.chars(w,c-w.length,c)}if(t===n){e.chars&&e.chars(t);break}}function S(e){c+=e,t=t.substring(e)}function O(){var e=t.match(Es);if(e){var n,r,i={tagName:e[1],attrs:[],start:c};S(e[0].length);while(!(n=t.match(Ts))&&(r=t.match(Ss)||t.match(_s)))r.start=c,S(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],S(n[0].length),i.end=c,i}}function C(t){var n=t.tagName,c=t.unarySlash;o&&("p"===r&&xs(n)&&E(r),s(n)&&r===n&&E(n));for(var u=a(n)||!!c,l=t.attrs.length,f=new Array(l),h=0;h=0;a--)if(i[a].lowerCasedTag===s)break}else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)e.end&&e.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}E()}var zs,Hs,Vs,Ws,Us,Xs,qs,Ys,Ks=/^@|^v-on:/,Gs=/^v-|^@|^:/,Js=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qs=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Zs=/^\(|\)$/g,tc=/^\[.*\]$/,ec=/:(.*)$/,nc=/^:|^\.|^v-bind:/,rc=/\.[^.\]]+(?=[^\]]*$)/g,ic=/^v-slot(:|$)|^#/,oc=/[\r\n]/,ac=/\s+/g,sc=_(ys.decode),cc="_empty_";function uc(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:kc(e),rawAttrsMap:{},parent:n,children:[]}}function lc(t,e){zs=e.warn||io,Xs=e.isPreTag||j,qs=e.mustUseProp||j,Ys=e.getTagNamespace||j;var n=e.isReservedTag||j;(function(t){return!!t.component||!n(t.tag)}),Vs=oo(e.modules,"transformNode"),Ws=oo(e.modules,"preTransformNode"),Us=oo(e.modules,"postTransformNode"),Hs=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,u=!1;function l(t){if(f(t),c||t.processed||(t=dc(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&xc(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)bc(t,i);else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}t.children=t.children.filter((function(t){return!t.slotScope})),f(t),t.pre&&(c=!1),Xs(t.tag)&&(u=!1);for(var a=0;a|^function\s*(?:[\w$]+)?\s*\(/,tu=/\([^)]*?\);*$/,eu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,nu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ru={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},iu=function(t){return"if("+t+")return null;"},ou={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:iu("$event.target !== $event.currentTarget"),ctrl:iu("!$event.ctrlKey"),shift:iu("!$event.shiftKey"),alt:iu("!$event.altKey"),meta:iu("!$event.metaKey"),left:iu("'button' in $event && $event.button !== 0"),middle:iu("'button' in $event && $event.button !== 1"),right:iu("'button' in $event && $event.button !== 2")};function au(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=su(t[o]);t[o]&&t[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function su(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return su(t)})).join(",")+"]";var e=eu.test(t.value),n=Zc.test(t.value),r=eu.test(t.value.replace(tu,""));if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)if(ou[s])o+=ou[s],nu[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;o+=iu(["ctrl","shift","alt","meta"].filter((function(t){return!c[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);a.length&&(i+=cu(a)),o&&(i+=o);var u=e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value;return"function($event){"+i+u+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function cu(t){return"if(!$event.type.indexOf('key')&&"+t.map(uu).join("&&")+")return null;"}function uu(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=nu[t],r=ru[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function lu(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function fu(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}}var hu={on:lu,bind:fu,cloak:D},du=function(t){this.options=t,this.warn=t.warn||io,this.transforms=oo(t.modules,"transformCode"),this.dataGenFns=oo(t.modules,"genData"),this.directives=L(L({},hu),t.directives);var e=t.isReservedTag||j;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function pu(t,e){var n=new du(e),r=t?vu(t,n):'_c("div")';return{render:"with(this){return "+r+"}",staticRenderFns:n.staticRenderFns}}function vu(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return mu(t,e);if(t.once&&!t.onceProcessed)return gu(t,e);if(t.for&&!t.forProcessed)return wu(t,e);if(t.if&&!t.ifProcessed)return yu(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return Du(t,e);var n;if(t.component)n=ju(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=xu(t,e));var i=t.inlineTemplate?null:Au(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}function Eu(t){return 1===t.type&&("slot"===t.tag||t.children.some(Eu))}function Tu(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return yu(t,e,Tu,"null");if(t.for&&!t.forProcessed)return wu(t,e,Tu);var r=t.slotScope===cc?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Au(t,e)||"undefined")+":undefined":Au(t,e)||"undefined":vu(t,e))+"}",o=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+o+"}"}function Au(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(r||vu)(a,e)+s}var c=n?$u(o,e.maybeComponent):0,u=i||Mu;return"["+o.map((function(t){return u(t,e)})).join(",")+"]"+(c?","+c:"")}}function $u(t,e){for(var n=0,r=0;r':'
',zu.innerHTML.indexOf(" ")>0}var Xu=!!Q&&Uu(!1),qu=!!Q&&Uu(!0),Yu=_((function(t){var e=di(t);return e&&e.innerHTML})),Ku=Cr.prototype.$mount;function Gu(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}Cr.prototype.$mount=function(t,e){if(t=t&&di(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"===typeof r)"#"===r.charAt(0)&&(r=Yu(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=Gu(t));if(r){0;var i=Wu(r,{outputSourceRange:!1,shouldDecodeNewlines:Xu,shouldDecodeNewlinesForHref:qu,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Ku.call(this,t,e)},Cr.compile=Wu,e["default"]=Cr}.call(this,n("c8ba"))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},a22a:function(t,e,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),a=n("e4ae"),s=n("b447"),c=n("7cd6"),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,v,m,g=h?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>b;b++)if(m=e?y(a(p=t[b])[0],p[1]):y(t[b]),m===u||m===l)return m}else for(v=g.call(t);!(p=v.next()).done;)if(m=i(v,y,p.value,e),m===u||m===l)return m};e.BREAK=u,e.RETURN=l},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,v){return[function(r,i){var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=v(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"===typeof e;d||(e=String(e));var g=f.global;if(g){var y=f.unicode;f.lastIndex=0}var b=[];while(1){var w=c(f,h);if(null===w)break;if(b.push(w),!g)break;var x=String(w[0]);""===x&&(f.lastIndex=s(h,o(f.lastIndex),y))}for(var _="",S=0,O=0;O=S&&(_+=h.slice(S,E)+M,S=E+C.length)}return _+h.slice(S)}];function m(t,e,r,o,a,s){var c=r+t.length,u=o.length,l=d;return void 0!==a&&(a=i(a),l=h),n.call(s,l,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},a745:function(t,e,n){t.exports=n("f410")},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aba2:function(t,e,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("6b4c")(a);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v=0?r=setTimeout(c,e-u):(r=null,n||(s=t.apply(o,i),o=i=null))}null==e&&(e=100);var u=function(){o=this,i=arguments,a=Date.now();var u=n&&!r;return r||(r=setTimeout(c,e)),u&&(s=t.apply(o,i),o=i=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=t.apply(o,i),o=i=null,clearTimeout(r),r=null)},u}n.debounce=n,t.exports=n},b047:function(t,e,n){var r=n("1a8c"),i=n("408c"),o=n("b4b0"),a="Expected a function",s=Math.max,c=Math.min;function u(t,e,n){var u,l,f,h,d,p,v=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=u,r=l;return u=l=void 0,v=e,h=t.apply(r,n),h}function w(t){return v=t,d=setTimeout(S,e),m?b(t):h}function x(t){var n=t-p,r=t-v,i=e-n;return g?c(i,f-r):i}function _(t){var n=t-p,r=t-v;return void 0===p||n>=e||n<0||g&&r>=f}function S(){var t=i();if(_(t))return O(t);d=setTimeout(S,x(t))}function O(t){return d=void 0,y&&u?b(t):(u=l=void 0,h)}function C(){void 0!==d&&clearTimeout(d),v=0,u=p=l=d=void 0}function E(){return void 0===d?h:O(i())}function T(){var t=i(),n=_(t);if(u=arguments,l=this,p=t,n){if(void 0===d)return w(p);if(g)return clearTimeout(d),d=setTimeout(S,e),b(p)}return void 0===d&&(d=setTimeout(S,e)),h}return e=o(e)||0,r(n)&&(m=!!n.leading,g="maxWait"in n,f=g?s(o(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),T.cancel=C,T.flush=E,T}t.exports=u},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b0dc:function(t,e,n){var r=n("e4ae");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t["return"];throw void 0!==o&&r(o.call(t)),a}}},b39a:function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b4b0:function(t,e,n){var r=n("1a8c"),i=n("ffd6"),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function f(t){if("number"==typeof t)return t;if(i(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?o:+t}t.exports=f},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),o=n("7aac"),a=n("30b5"),s=n("83b9"),c=n("c3456"),u=n("3934"),l=n("2d83");t.exports=function(t){return new Promise((function(e,n){var f=t.data,h=t.headers;r.isFormData(f)&&delete h["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";h.Authorization="Basic "+btoa(p+":"+v)}var m=s(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),a(m,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,o=t.responseType&&"text"!==t.responseType?d.response:d.responseText,a={data:o,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};i(e,n,a),d=null}},d.onabort=function(){d&&(n(l("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=(t.withCredentials||u(m))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;g&&(h[t.xsrfHeaderName]=g)}if("setRequestHeader"in d&&r.forEach(h,(function(t,e){"undefined"===typeof f&&"content-type"===e.toLowerCase()?delete h[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),f||(f=null),d.send(f)}))}},b8e3:function(t,e){t.exports=!0},bc13:function(t,e,n){var r=n("e53d"),i=r.navigator;t.exports=i&&i.userAgent||""},bc3a:function(t,e,n){t.exports=n("cee4")},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},bcdf:function(t,e){function n(){}t.exports=n},bd86:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("85f2"),i=n.n(r);function o(t,e,n){return e in t?i()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c135:function(t,e){function n(t){if(Array.isArray(t))return t}t.exports=n},c207:function(t,e){},c240:function(t,e){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}t.exports=n},c26b:function(t,e,n){"use strict";var r=n("86cc").f,i=n("2aeb"),o=n("dcbc"),a=n("9b43"),s=n("f605"),c=n("4a59"),u=n("01f9"),l=n("d53b"),f=n("7a56"),h=n("9e1e"),d=n("67ab").fastKey,p=n("b39a"),v=h?"_s":"size",m=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=p(this,e),r=m(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(t){p(this,e);var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!m(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=m(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:m,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},c3456:function(t,e,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),a=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c401:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function f(t){return"string"===typeof t}function h(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===i.call(t)}function m(t){return"[object File]"===i.call(t)}function g(t){return"[object Blob]"===i.call(t)}function y(t){return"[object Function]"===i.call(t)}function b(t){return d(t)&&y(t.pipe)}function w(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===d?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function w(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(r,1)}}var O=Object.prototype.hasOwnProperty;function E(t,e){return O.call(t,e)}function C(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var T=/-(\w)/g,M=C((function(t){return t.replace(T,(function(t,e){return e?e.toUpperCase():""}))})),D=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),k=/\B([A-Z])/g,A=C((function(t){return t.replace(k,"-$1").toLowerCase()}));function N(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function $(t,e){return t.bind(e)}var j=Function.prototype.bind?$:N;function L(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function P(t,e){for(var n in e)t[n]=e[n];return t}function I(t){for(var e={},n=0;n0,at=rt&&rt.indexOf("edge/")>0;rt&&rt.indexOf("android");var st=rt&&/iphone|ipad|ipod|ios/.test(rt);rt&&/chrome\/\d+/.test(rt),rt&&/phantomjs/.test(rt);var ct,ut=rt&&rt.match(/firefox\/(\d+)/),lt={}.watch,ft=!1;if(nt)try{var dt={};Object.defineProperty(dt,"passive",{get:function(){ft=!0}}),window.addEventListener("test-passive",null,dt)}catch(Lf){}var ht=function(){return void 0===ct&&(ct=!nt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),ct},pt=nt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function vt(t){return"function"===typeof t&&/native code/.test(t.toString())}var mt,gt="undefined"!==typeof Symbol&&vt(Symbol)&&"undefined"!==typeof Reflect&&vt(Reflect.ownKeys);mt="undefined"!==typeof Set&&vt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var yt=null;function bt(){return yt&&{proxy:yt}}function wt(t){void 0===t&&(t=null),t||yt&&yt._scope.off(),yt=t,t&&t._scope.on()}var xt=function(){function t(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new xt;return e.text=t,e.isComment=!0,e};function St(t){return new xt(void 0,void 0,void 0,String(t))}function Ot(t){var e=new xt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var Et=0,Ct=[],Tt=function(){for(var t=0;t0&&(r=De(r,"".concat(e||"","_").concat(n)),Me(r[0])&&Me(l)&&(f[c]=St(l.text+r[0].text),r.shift()),f.push.apply(f,r)):u(r)?Me(l)?f[c]=St(l.text+r):""!==r&&f.push(St(r)):Me(r)&&Me(l)?f[c]=St(l.text+r.text):(s(t._isVList)&&a(r.tag)&&o(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}var ke=1,Ae=2;function Ne(t,e,n,r,o,a){return(i(n)||u(n))&&(o=r,r=n,n=void 0),s(a)&&(o=Ae),$e(t,e,n,r,o)}function $e(t,e,n,r,o){if(a(n)&&a(n.__ob__))return _t();if(a(n)&&a(n.is)&&(e=n.is),!e)return _t();var s,c;if(i(r)&&l(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===Ae?r=Te(r):o===ke&&(r=Ce(r)),"string"===typeof e){var u=void 0;c=t.$vnode&&t.$vnode.ns||q.getTagNamespace(e),s=q.isReservedTag(e)?new xt(q.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(u=Zi(t.$options,"components",e))?new xt(e,n,r,void 0,void 0,t):Pi(u,n,t,r,e)}else s=Pi(e,n,t,r);return i(s)?s:a(s)?(a(c)&&je(s,c),a(n)&&Le(n),s):_t()}function je(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,i=t.children.length;r0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&i&&i!==r&&c===i.$key&&!a&&!i.$hasNormal)return i;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=en(t,n,u,e[u]))}else o={};for(var l in n)l in o||(o[l]=nn(n,l));return e&&Object.isExtensible(e)&&(e._normalized=o),Q(o,"$stable",s),Q(o,"$key",c),Q(o,"$hasNormal",a),o}function en(t,e,n,r){var o=function(){var e=yt;wt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!i(n)?[n]:Te(n);var o=n&&n[0];return wt(e),n&&(!o||1===n.length&&o.isComment&&!Ze(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function nn(t,e){return function(){return t[e]}}function rn(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=on(t);wt(t),kt();var i=_r(n,null,[t._props||Yt({}),r],t,"setup");if(At(),wt(),l(i))e.render=i;else if(f(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)"__sfc"!==a&&ue(o,i,a)}else for(var a in i)J(a)||ue(t,i,a);else 0}}function on(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Q(e,"_v_attr_proxy",!0),an(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};an(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return cn(t)},emit:j(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return ue(t,e,n)}))}}}function an(t,e,n,r,i){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,sn(t,a,r,i));for(var a in t)a in e||(o=!0,delete t[a]);return o}function sn(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function cn(t){return t._slotsProxy||un(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function un(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function ln(){return hn().slots}function fn(){return hn().attrs}function dn(){return hn().listeners}function hn(){var t=yt;return t._setupContext||(t._setupContext=on(t))}function pn(t,e){var n=i(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var r in e){var o=n[r];o?i(o)||l(o)?n[r]={type:o,default:e[r]}:o.default=e[r]:null===o&&(n[r]={default:e[r]})}return n}function vn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=Je(e._renderChildren,i),t.$scopedSlots=n?tn(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,i){return Ne(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ne(t,e,n,r,i,!0)};var o=n&&n.data;Vt(t,"$attrs",o&&o.attrs||r,null,!0),Vt(t,"$listeners",e._parentListeners||r,null,!0)}var mn,gn,yn=null;function bn(t){Ge(t.prototype),t.prototype.$nextTick=function(t){return jr(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=tn(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&un(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,a=yt,s=yn;try{wt(t),yn=t,o=n.call(t._renderProxy,t.$createElement)}catch(Lf){xr(Lf,t,"render"),o=t._vnode}finally{yn=s,wt(a)}return i(o)&&1===o.length&&(o=o[0]),o instanceof xt||(o=_t()),o.parent=r,o}}function wn(t,e){return(t.__esModule||gt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function xn(t,e,n,r,i){var o=_t();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function _n(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=yn;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],i=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return S(r,n)}));var l=function(t){for(var e=0,n=r.length;e1?L(n):n;for(var r=L(arguments,1),i='event handler for "'.concat(t,'"'),o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Zn=function(){return tr.now()})}var er=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function nr(){var t,e;for(Qn=Zn(),qn=!0,Un.sort(er),Gn=0;GnGn&&Un[n].id>t.id)n--;Un.splice(n+1,0,t)}else Un.push(t);Kn||(Kn=!0,jr(nr))}}var sr="watcher",cr="".concat(sr," callback"),ur="".concat(sr," getter"),lr="".concat(sr," cleanup");function fr(t,e){return mr(t,null,e)}function dr(t,e){return mr(t,null,{flush:"post"})}function hr(t,e){return mr(t,null,{flush:"sync"})}var pr={};function vr(t,e,n){return mr(t,e,n)}function mr(t,e,n){var o=void 0===n?r:n,a=o.immediate,s=o.deep,c=o.flush,u=void 0===c?"pre":c;o.onTrack,o.onTrigger;var f,d,h=yt,p=function(t,e,n){void 0===n&&(n=null);var r=_r(t,null,n,h,e);return s&&r&&r.__ob__&&r.__ob__.dep.depend(),r},v=!1,m=!1;if(ne(t)?(f=function(){return t.value},v=Gt(t)):qt(t)?(f=function(){return t.__ob__.dep.depend(),t},s=!0):i(t)?(m=!0,v=t.some((function(t){return qt(t)||Gt(t)})),f=function(){return t.map((function(t){return ne(t)?t.value:qt(t)?(t.__ob__.dep.depend(),ni(t)):l(t)?p(t,ur):void 0}))}):f=l(t)?e?function(){return p(t,ur)}:function(){if(!h||!h._isDestroyed)return d&&d(),p(t,sr,[y])}:R,e&&s){var g=f;f=function(){return ni(g())}}var y=function(t){d=b.onStop=function(){p(t,lr)}};if(ht())return y=R,e?a&&p(e,cr,[f(),m?[]:void 0,y]):f(),R;var b=new oi(yt,f,R,{lazy:!0});b.noRecurse=!e;var w=m?[]:pr;return b.run=function(){if(b.active)if(e){var t=b.get();(s||v||(m?t.some((function(t,e){return U(t,w[e])})):U(t,w)))&&(d&&d(),p(e,cr,[t,w===pr?void 0:w,y]),w=t)}else b.get()},"sync"===u?b.update=b.run:"post"===u?(b.post=!0,b.update=function(){return ar(b)}):b.update=function(){if(h&&h===yt&&!h._isMounted){var t=h._preWatchers||(h._preWatchers=[]);t.indexOf(b)<0&&t.push(b)}else ar(b)},e?a?b.run():w=b.get():"post"===u&&h?h.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}function gr(t,e){yt&&(yr(yt)[t]=e)}function yr(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function br(t,e,n){void 0===n&&(n=!1);var r=yt;if(r){var i=r.$parent&&r.$parent._provided;if(i&&t in i)return i[t];if(arguments.length>1)return n&&l(e)?e.call(r):e}else 0}function wr(t,e,n){return Ne(yt,t,e,n,2,!0)}function xr(t,e,n){kt();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o-1)if(o&&!E(i,"default"))a=!1;else if(""===a||a===A(t)){var c=oo(String,i.type);(c<0||s-1)return this;var n=L(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}function co(t){t.mixin=function(t){return this.options=Qi(this.options,t),this}}function uo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=$i(t)||$i(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Qi(n.options,t),a["super"]=n,a.options.props&&lo(a),a.options.computed&&fo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Y.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),i[r]=a,a}}function lo(t){var e=t.options.props;for(var n in e)si(t.prototype,"_props",n)}function fo(t){var e=t.options.computed;for(var n in e)pi(t.prototype,n,e[n])}function ho(t){Y.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function po(t){return t&&($i(t.Ctor.options)||t.tag)}function vo(t,e){return i(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function mo(t,e){var n=t.cache,r=t.keys,i=t._vnode,o=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&go(n,a,r,i)}}o.componentOptions.children=void 0}function go(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,S(n,e)}Ei(ao),wi(ao),Dn(ao),Rn(ao),bn(ao);var yo=[String,RegExp,Array],bo={name:"keep-alive",abstract:!0,props:{include:yo,exclude:yo,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:po(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&go(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)go(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){mo(t,(function(t){return vo(e,t)}))})),this.$watch("exclude",(function(e){mo(t,(function(t){return!vo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var r=po(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!vo(o,r))||a&&r&&vo(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,S(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},wo={KeepAlive:bo};function xo(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:zi,extend:P,mergeOptions:Qi,defineReactive:Vt},t.set=Ht,t.delete=Wt,t.nextTick=jr,t.observable=function(t){return zt(t),t},t.options=Object.create(null),Y.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,wo),so(t),co(t),uo(t),ho(t)}xo(ao),Object.defineProperty(ao.prototype,"$isServer",{get:ht}),Object.defineProperty(ao.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ao,"FunctionalRenderContext",{value:Di}),ao.version=Zr;var _o=w("style,class"),So=w("input,textarea,option,select,progress"),Oo=function(t,e,n){return"value"===n&&So(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Eo=w("contenteditable,draggable,spellcheck"),Co=w("events,caret,typing,plaintext-only"),To=function(t,e){return No(e)||"false"===e?"false":"contenteditable"===t&&Co(e)?e:"true"},Mo=w("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"),Do="http://www.w3.org/1999/xlink",ko=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ao=function(t){return ko(t)?t.slice(6,t.length):""},No=function(t){return null==t||!1===t};function $o(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=jo(r.data,e));while(a(n=n.parent))n&&n.data&&(e=jo(e,n.data));return Lo(e.staticClass,e.class)}function jo(t,e){return{staticClass:Po(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Lo(t,e){return a(t)||a(e)?Po(t,Io(e)):""}function Po(t,e){return t?e?t+" "+e:t:e||""}function Io(t){return Array.isArray(t)?Ro(t):f(t)?Bo(t):"string"===typeof t?t:""}function Ro(t){for(var e,n="",r=0,i=t.length;r-1?Xo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Xo[t]=/HTMLUnknownElement/.test(e.toString())}var Ko=w("text,number,password,search,email,tel,url");function qo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Go(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Jo(t,e){return document.createElementNS(Fo[t],e)}function Qo(t){return document.createTextNode(t)}function Zo(t){return document.createComment(t)}function ta(t,e,n){t.insertBefore(e,n)}function ea(t,e){t.removeChild(e)}function na(t,e){t.appendChild(e)}function ra(t){return t.parentNode}function ia(t){return t.nextSibling}function oa(t){return t.tagName}function aa(t,e){t.textContent=e}function sa(t,e){t.setAttribute(e,"")}var ca=Object.freeze({__proto__:null,createElement:Go,createElementNS:Jo,createTextNode:Qo,createComment:Zo,insertBefore:ta,removeChild:ea,appendChild:na,parentNode:ra,nextSibling:ia,tagName:oa,setTextContent:aa,setStyleScope:sa}),ua={create:function(t,e){la(e)},update:function(t,e){t.data.ref!==e.data.ref&&(la(t,!0),la(e))},destroy:function(t){la(t,!0)}};function la(t,e){var n=t.data.ref;if(a(n)){var r=t.context,o=t.componentInstance||t.elm,s=e?null:o,c=e?void 0:o;if(l(n))_r(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"===typeof n||"number"===typeof n,d=ne(n),h=r.$refs;if(f||d)if(u){var p=f?h[n]:n.value;e?i(p)&&S(p,o):i(p)?p.includes(o)||p.push(o):f?(h[n]=[o],fa(r,n,h[n])):n.value=[o]}else if(f){if(e&&h[n]!==o)return;h[n]=c,fa(r,n,s)}else if(d){if(e&&n.value!==o)return;n.value=s}else 0}}}function fa(t,e,n){var r=t._setupState;r&&E(r,e)&&(ne(r[e])?r[e].value=n:r[e]=n)}var da=new xt("",{},[]),ha=["create","activate","update","remove","destroy"];function pa(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&va(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function va(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||Ko(r)&&Ko(i)}function ma(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,a(i)&&(o[i]=r);return o}function ga(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;ev?(f=o(n[y+1])?null:n[y+1].elm,O(t,f,n,h,y,r)):h>y&&C(e,d,v)}function D(t,e,n,r){for(var i=n;i-1?Ma(t,e,n):Mo(e)?No(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Eo(e)?t.setAttribute(e,To(e,n)):ko(e)?No(n)?t.removeAttributeNS(Do,Ao(e)):t.setAttributeNS(Do,e,n):Ma(t,e,n)}function Ma(t,e,n){if(No(n))t.removeAttribute(e);else{if(it&&!ot&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Da={create:Ca,update:Ca};function ka(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=$o(e),c=n._transitionClasses;a(c)&&(s=Po(s,Io(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Aa,Na,$a,ja,La,Pa,Ia={create:ka,update:ka},Ra=/[\w).+\-_$\]]/;function Ba(t){var e,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,d=0,h=0;for(r=0;r=0;p--)if(v=t.charAt(p)," "!==v)break;v&&Ra.test(v)||(u=!0)}}else void 0===i?(h=r+1,i=t.slice(0,r).trim()):m();function m(){(o||(o=[])).push(t.slice(h,r).trim()),h=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==h&&m(),o)for(r=0;r-1?{exp:t.slice(0,ja),key:'"'+t.slice(ja+1)+'"'}:{exp:t,key:null};Na=t,ja=La=Pa=0;while(!is())$a=rs(),os($a)?ss($a):91===$a&&as($a);return{exp:t.slice(0,La),key:t.slice(La+1,Pa)}}function rs(){return Na.charCodeAt(++ja)}function is(){return ja>=Aa}function os(t){return 34===t||39===t}function as(t){var e=1;La=ja;while(!is())if(t=rs(),os(t))ss(t);else if(91===t&&e++,93===t&&e--,0===e){Pa=ja;break}}function ss(t){var e=t;while(!is())if(t=rs(),t===e)break}var cs,us="__r",ls="__c";function fs(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return ts(t,r,i),!1;if("select"===o)ps(t,r,i);else if("input"===o&&"checkbox"===a)ds(t,r,i);else if("input"===o&&"radio"===a)hs(t,r,i);else if("input"===o||"textarea"===o)vs(t,r,i);else{if(!q.isReservedTag(o))return ts(t,r,i),!1}return!0}function ds(t,e,n){var r=n&&n.number,i=Ga(t,"value")||"null",o=Ga(t,"true-value")||"true",a=Ga(t,"false-value")||"false";Ha(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(i,")>-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),Ka(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(es(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(es(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(es(e,"$$c"),"}"),null,!0)}function hs(t,e,n){var r=n&&n.number,i=Ga(t,"value")||"null";i=r?"_n(".concat(i,")"):i,Ha(t,"checked","_q(".concat(e,",").concat(i,")")),Ka(t,"change",es(e,i),null,!0)}function ps(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(i,";");a="".concat(a," ").concat(es(e,o)),Ka(t,"change",a,null,!0)}function vs(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?us:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n(".concat(l,")"));var f=es(e,l);c&&(f="if($event.target.composing)return;".concat(f)),Ha(t,"value","(".concat(e,")")),Ka(t,u,f,null,!0),(s||a)&&Ka(t,"blur","$forceUpdate()")}function ms(t){if(a(t[us])){var e=it?"change":"input";t[e]=[].concat(t[us],t[e]||[]),delete t[us]}a(t[ls])&&(t.change=[].concat(t[ls],t.change||[]),delete t[ls])}function gs(t,e,n){var r=cs;return function i(){var o=e.apply(null,arguments);null!==o&&ws(t,i,n,r)}}var ys=Cr&&!(ut&&Number(ut[1])<=53);function bs(t,e,n,r){if(ys){var i=Qn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}cs.addEventListener(t,e,ft?{capture:n,passive:r}:n)}function ws(t,e,n,r){(r||cs).removeEventListener(t,e._wrapper||e,n)}function xs(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};cs=e.elm||t.elm,ms(n),_e(n,r,bs,ws,gs,e.context),cs=void 0}}var _s,Ss={create:xs,update:xs,destroy:function(t){return xs(t,da)}};function Os(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=P({},u)),c)n in u||(i[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var l=o(r)?"":String(r);Es(i,l)&&(i.value=l)}else if("innerHTML"===n&&Vo(i.tagName)&&o(i.innerHTML)){_s=_s||document.createElement("div"),_s.innerHTML="".concat(r,"");var f=_s.firstChild;while(i.firstChild)i.removeChild(i.firstChild);while(f.firstChild)i.appendChild(f.firstChild)}else if(r!==c[n])try{i[n]=r}catch(Lf){}}}}function Es(t,e){return!t.composing&&("OPTION"===t.tagName||Cs(t,e)||Ts(t,e))}function Cs(t,e){var n=!0;try{n=document.activeElement!==t}catch(Lf){}return n&&t.value!==e}function Ts(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return b(n)!==b(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Ms={create:Os,update:Os},Ds=C((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function ks(t){var e=As(t.style);return t.staticStyle?P(t.staticStyle,e):e}function As(t){return Array.isArray(t)?I(t):"string"===typeof t?Ds(t):t}function Ns(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=ks(i.data))&&P(r,n)}(n=ks(t.data))&&P(r,n);var o=t;while(o=o.parent)o.data&&(n=ks(o.data))&&P(r,n);return r}var $s,js=/^--/,Ls=/\s*!important$/,Ps=function(t,e,n){if(js.test(e))t.style.setProperty(e,n);else if(Ls.test(n))t.style.setProperty(A(e),n.replace(Ls,""),"important");else{var r=Rs(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(zs).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Hs(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(zs).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ws(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&P(e,Us(t.name||"v")),P(e,t),e}return"string"===typeof t?Us(t):void 0}}var Us=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Xs=nt&&!ot,Ys="transition",Ks="animation",qs="transition",Gs="transitionend",Js="animation",Qs="animationend";Xs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(qs="WebkitTransition",Gs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Js="WebkitAnimation",Qs="webkitAnimationEnd"));var Zs=nt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function tc(t){Zs((function(){Zs(t)}))}function ec(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Vs(t,e))}function nc(t,e){t._transitionClasses&&S(t._transitionClasses,e),Hs(t,e)}function rc(t,e,n){var r=oc(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ys?Gs:Qs,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=Ys,l=a,f=o.length):e===Ks?u>0&&(n=Ks,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?Ys:Ks:null,f=n?n===Ys?o.length:c.length:0);var d=n===Ys&&ic.test(r[qs+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:d}}function ac(t,e){while(t.length1}function dc(t,e){!0!==e.data.show&&cc(e)}var hc=nt?{create:dc,activate:dc,remove:function(t,e){!0!==t.data.show?uc(t,e):e()}}:{},pc=[Da,Ia,Ss,Ms,Fs,hc],vc=pc.concat(Ea),mc=ga({nodeOps:ca,modules:vc});ot&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Oc(t,"input")}));var gc={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Se(n,"postpatch",(function(){gc.componentUpdated(t,e,n)})):yc(t,e,n.context),t._vOptions=[].map.call(t.options,xc)):("textarea"===n.tag||Ko(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",_c),t.addEventListener("compositionend",Sc),t.addEventListener("change",Sc),ot&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){yc(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,xc);if(i.some((function(t,e){return!V(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return wc(t,i)})):e.value!==e.oldValue&&wc(e.value,i);o&&Oc(t,"change")}}}};function yc(t,e,n){bc(t,e,n),(it||at)&&setTimeout((function(){bc(t,e,n)}),0)}function bc(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(V(xc(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function wc(t,e){return e.every((function(e){return!V(e,t)}))}function xc(t){return"_value"in t?t._value:t.value}function _c(t){t.target.composing=!0}function Sc(t){t.target.composing&&(t.target.composing=!1,Oc(t.target,"input"))}function Oc(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ec(t){return!t.componentInstance||t.data&&t.data.transition?t:Ec(t.componentInstance._vnode)}var Cc={bind:function(t,e,n){var r=e.value;n=Ec(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,cc(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=Ec(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?cc(n,(function(){t.style.display=t.__vOriginalDisplay})):uc(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Tc={model:gc,show:Cc},Mc={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 Dc(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Dc(Sn(e.children)):t}function kc(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[M(r)]=i[r];return e}function Ac(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Nc(t){while(t=t.parent)if(t.data.transition)return!0}function $c(t,e){return e.key===t.key&&e.tag===t.tag}var jc=function(t){return t.tag||Ze(t)},Lc=function(t){return"show"===t.name},Pc={name:"transition",props:Mc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(jc),n.length)){0;var r=this.mode;0;var i=n[0];if(Nc(this.$vnode))return i;var o=Dc(i);if(!o)return i;if(this._leaving)return Ac(t,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=kc(this),c=this._vnode,l=Dc(c);if(o.data.directives&&o.data.directives.some(Lc)&&(o.data.show=!0),l&&l.data&&!$c(o,l)&&!Ze(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=P({},s);if("out-in"===r)return this._leaving=!0,Se(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ac(t,i);if("in-out"===r){if(Ze(o))return c;var d,h=function(){d()};Se(s,"afterEnter",h),Se(s,"enterCancelled",h),Se(f,"delayLeave",(function(t){d=t}))}}return i}}},Ic=P({tag:String,moveClass:String},Mc);delete Ic.mode;var Rc={props:Ic,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Pn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=kc(this),s=0;sc&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=Ba(r[1].trim());a.push("_s(".concat(u,")")),s.push({"@binding":u}),c=i+r[0].length}return c\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ou=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,au="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(G.source,"]*"),su="((?:".concat(au,"\\:)?").concat(au,")"),cu=new RegExp("^<".concat(su)),uu=/^\s*(\/?)>/,lu=new RegExp("^<\\/".concat(su,"[^>]*>")),fu=/^]+>/i,du=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},gu=/&(?:lt|gt|quot|amp|#39);/g,yu=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,bu=w("pre,textarea",!0),wu=function(t,e){return t&&bu(t)&&"\n"===e[0]};function xu(t,e){var n=e?yu:gu;return t.replace(n,(function(t){return mu[t]}))}function _u(t,e){var n,r,i=[],o=e.expectHTML,a=e.isUnaryTag||B,s=e.canBeLeftOpenTag||B,c=0,u=function(){if(n=t,r&&pu(r)){var i=0,o=r.toLowerCase(),a=vu[o]||(vu[o]=new RegExp("([\\s\\S]*?)(]*>)","i"));w=t.replace(a,(function(t,n,r){return i=r.length,pu(o)||"noscript"===o||(n=n.replace(//g,"$1").replace(//g,"$1")),wu(o,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-w.length,t=w,p(o,c-i,c)}else{var s=t.indexOf("<");if(0===s){if(du.test(t)){var u=t.indexOf("--\x3e");if(u>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,u),c,c+u+3),f(u+3),"continue"}if(hu.test(t)){var l=t.indexOf("]>");if(l>=0)return f(l+2),"continue"}var v=t.match(fu);if(v)return f(v[0].length),"continue";var m=t.match(lu);if(m){var g=c;return f(m[0].length),p(m[1],g,c),"continue"}var y=d();if(y)return h(y),wu(y.tagName,t)&&f(1),"continue"}var b=void 0,w=void 0,x=void 0;if(s>=0){w=t.slice(s);while(!lu.test(w)&&!cu.test(w)&&!du.test(w)&&!hu.test(w)){if(x=w.indexOf("<",1),x<0)break;s+=x,w=t.slice(s)}b=t.substring(0,s)}s<0&&(b=t),b&&f(b.length),e.chars&&b&&e.chars(b,c-b.length,c)}if(t===n)return e.chars&&e.chars(t),"break"};while(t){var l=u();if("break"===l)break}function f(e){c+=e,t=t.substring(e)}function d(){var e=t.match(cu);if(e){var n={tagName:e[1],attrs:[],start:c};f(e[0].length);var r=void 0,i=void 0;while(!(r=t.match(uu))&&(i=t.match(ou)||t.match(iu)))i.start=c,f(i[0].length),i.end=c,n.attrs.push(i);if(r)return n.unarySlash=r[1],f(r[0].length),n.end=c,n}}function h(t){var n=t.tagName,c=t.unarySlash;o&&("p"===r&&ru(n)&&p(r),s(n)&&r===n&&p(n));for(var u=a(n)||!!c,l=t.attrs.length,f=new Array(l),d=0;d=0;a--)if(i[a].lowerCasedTag===s)break}else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)e.end&&e.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}p()}var Su,Ou,Eu,Cu,Tu,Mu,Du,ku,Au=/^@|^v-on:/,Nu=/^v-|^@|^:|^#/,$u=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ju=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Lu=/^\(|\)$/g,Pu=/^\[.*\]$/,Iu=/:(.*)$/,Ru=/^:|^\.|^v-bind:/,Bu=/\.[^.\]]+(?=[^\]]*$)/g,Fu=/^v-slot(:|$)|^#/,zu=/[\r\n]/,Vu=/[ \f\t\r\n]+/g,Hu=C(tu.decode),Wu="_empty_";function Uu(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:dl(e),rawAttrsMap:{},parent:n,children:[]}}function Xu(t,e){Su=e.warn||za,Mu=e.isPreTag||B,Du=e.mustUseProp||B,ku=e.getTagNamespace||B;var n=e.isReservedTag||B;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),Eu=Va(e.modules,"transformNode"),Cu=Va(e.modules,"preTransformNode"),Tu=Va(e.modules,"postTransformNode"),Ou=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,u=!1;function l(t){if(f(t),c||t.processed||(t=qu(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&rl(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)el(t,i);else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}t.children=t.children.filter((function(t){return!t.slotScope})),f(t),t.pre&&(c=!1),Mu(t.tag)&&(u=!1);for(var a=0;a|^function(?:\s+[\w$]+)?\s*\(/,Pl=/\([^)]*?\);*$/,Il=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Rl={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Bl={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fl=function(t){return"if(".concat(t,")return null;")},zl={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fl("$event.target !== $event.currentTarget"),ctrl:Fl("!$event.ctrlKey"),shift:Fl("!$event.shiftKey"),alt:Fl("!$event.altKey"),meta:Fl("!$event.metaKey"),left:Fl("'button' in $event && $event.button !== 0"),middle:Fl("'button' in $event && $event.button !== 1"),right:Fl("'button' in $event && $event.button !== 2")};function Vl(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=Hl(t[o]);t[o]&&t[o].dynamic?i+="".concat(o,",").concat(a,","):r+='"'.concat(o,'":').concat(a,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function Hl(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return Hl(t)})).join(","),"]");var e=Il.test(t.value),n=Ll.test(t.value),r=Il.test(t.value.replace(Pl,""));if(t.modifiers){var i="",o="",a=[],s=function(e){if(zl[e])o+=zl[e],Rl[e]&&a.push(e);else if("exact"===e){var n=t.modifiers;o+=Fl(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else a.push(e)};for(var c in t.modifiers)s(c);a.length&&(i+=Wl(a)),o&&(i+=o);var u=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):r?"return ".concat(t.value):t.value;return"function($event){".concat(i).concat(u,"}")}return e||n?t.value:"function($event){".concat(r?"return ".concat(t.value):t.value,"}")}function Wl(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Ul).join("&&"),")return null;")}function Ul(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=Rl[t],r=Bl[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}function Xl(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}}function Yl(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}}var Kl={on:Xl,bind:Yl,cloak:R},ql=function(){function t(t){this.options=t,this.warn=t.warn||za,this.transforms=Va(t.modules,"transformCode"),this.dataGenFns=Va(t.modules,"genData"),this.directives=P(P({},Kl),t.directives);var e=t.isReservedTag||B;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}return t}();function Gl(t,e){var n=new ql(e),r=t?"script"===t.tag?"null":Jl(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Jl(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Zl(t,e);if(t.once&&!t.onceProcessed)return tf(t,e);if(t.for&&!t.forProcessed)return rf(t,e);if(t.if&&!t.ifProcessed)return ef(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return yf(t,e);var n=void 0;if(t.component)n=bf(t.component,t,e);else{var r=void 0,i=e.maybeComponent(t);(!t.plain||t.pre&&i)&&(r=of(t,e));var o=void 0,a=e.options.bindings;i&&a&&!1!==a.__isScriptSetup&&(o=Ql(a,t.tag)),o||(o="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:df(t,e,!0);n="_c(".concat(o).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var c=0;c>>0}function lf(t){return 1===t.type&&("slot"===t.tag||t.children.some(lf))}function ff(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return ef(t,e,ff,"null");if(t.for&&!t.forProcessed)return rf(t,e,ff);var r=t.slotScope===Wu?"":String(t.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(df(t,e)||"undefined",":undefined"):df(t,e)||"undefined":Jl(t,e),"}"),o=r?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function df(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((r||Jl)(a,e)).concat(s)}var c=n?hf(o,e.maybeComponent):0,u=i||vf;return"[".concat(o.map((function(t){return u(t,e)})).join(","),"]").concat(c?",".concat(c):"")}}function hf(t,e){for(var n=0,r=0;r':'
',Ef.innerHTML.indexOf(" ")>0}var kf=!!nt&&Df(!1),Af=!!nt&&Df(!0),Nf=C((function(t){var e=qo(t);return e&&e.innerHTML})),$f=ao.prototype.$mount;function jf(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}ao.prototype.$mount=function(t,e){if(t=t&&qo(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"===typeof r)"#"===r.charAt(0)&&(r=Nf(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=jf(t));if(r){0;var i=Mf(r,{outputSourceRange:!1,shouldDecodeNewlines:kf,shouldDecodeNewlinesForHref:Af,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return $f.call(this,t,e)},ao.compile=Mf}.call(this,n("c8ba"))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},a22a:function(t,e,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),a=n("e4ae"),s=n("b447"),c=n("7cd6"),u={},l={};e=t.exports=function(t,e,n,f,d){var h,p,v,m,g=d?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(h=s(t.length);h>b;b++)if(m=e?y(a(p=t[b])[0],p[1]):y(t[b]),m===u||m===l)return m}else for(v=g.call(t);!(p=v.next()).done;)if(m=i(v,y,p.value,e),m===u||m===l)return m};e.BREAK=u,e.RETURN=l},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a395:function(t,e,n){var r=n("7037")["default"],i=n("e50d");function o(t){var e=i(t,"string");return"symbol"==r(e)?e:e+""}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,v){return[function(r,i){var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=v(n,t,this,e);if(i.done)return i.value;var f=r(t),d=String(this),h="function"===typeof e;h||(e=String(e));var g=f.global;if(g){var y=f.unicode;f.lastIndex=0}var b=[];while(1){var w=c(f,d);if(null===w)break;if(b.push(w),!g)break;var x=String(w[0]);""===x&&(f.lastIndex=s(d,o(f.lastIndex),y))}for(var _="",S=0,O=0;O=S&&(_+=d.slice(S,C)+A,S=C+E.length)}return _+d.slice(S)}];function m(t,e,r,o,a,s){var c=r+t.length,u=o.length,l=h;return void 0!==a&&(a=i(a),l=d),n.call(s,l,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var d=f(l/10);return 0===d?n:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},aa47:function(t,e,n){"use strict"; +/**! + * Sortable 1.10.2 + * @author RubaXa + * @author owenm + * @license MIT + */ +function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return o=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}function c(t,e){if(null==t)return{};var n,r,i=s(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){return l(t)||f(t)||d()}function l(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function E(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function C(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&O(t,e):O(t,e))||r&&t===n)return t;if(t===n)break}while(t=E(t))}return null}var T,M=/\s+/g;function D(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(M," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(M," ")}}function k(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"===typeof n?"":"px")}}function A(t,e){var n="";if("string"===typeof t)n=t;else do{var r=k(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function N(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,o=r.length;if(n)for(;i=o:i<=o,!a)return r;if(r===$())break;r=z(r,!1)}return!1}function P(t,e,n){var r=0,i=0,o=t.children;while(i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=c(n,["evt"]);nt.pluginEvent.bind(Qt)(t,e,a({dragEl:at,parentEl:st,ghostEl:ct,rootEl:ut,nextEl:lt,lastDownEl:ft,cloneEl:dt,cloneHidden:ht,dragStarted:Ct,putSortable:bt,activeSortable:Qt.active,originalEvent:r,oldIndex:pt,oldDraggableIndex:mt,newIndex:vt,newDraggableIndex:gt,hideGhostForTarget:Kt,unhideGhostForTarget:qt,cloneNowHidden:function(){ht=!0},cloneNowShown:function(){ht=!1},dispatchSortableEvent:function(t){ot({sortable:e,name:t,originalEvent:r})}},i))};function ot(t){rt(a({putSortable:bt,cloneEl:dt,targetEl:at,rootEl:ut,oldIndex:pt,oldDraggableIndex:mt,newIndex:vt,newDraggableIndex:gt},t))}var at,st,ct,ut,lt,ft,dt,ht,pt,vt,mt,gt,yt,bt,wt,xt,_t,St,Ot,Et,Ct,Tt,Mt,Dt,kt,At=!1,Nt=!1,$t=[],jt=!1,Lt=!1,Pt=[],It=!1,Rt=[],Bt="undefined"!==typeof document,Ft=b,zt=m||v?"cssFloat":"float",Vt=Bt&&!w&&!b&&"draggable"in document.createElement("div"),Ht=function(){if(Bt){if(v)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Wt=function(t,e){var n=k(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=P(t,0,e),o=P(t,1,e),a=i&&k(i),s=o&&k(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+j(i).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a["float"]&&"none"!==a["float"]){var l="left"===a["float"]?"left":"right";return!o||"both"!==s.clear&&s.clear!==l?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||c>=r&&"none"===n[zt]||o&&"none"===n[zt]&&c+u>r)?"vertical":"horizontal"},Ut=function(t,e,n){var r=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,c=n?e.width:e.height;return r===a||i===s||r+o/2===a+c/2},Xt=function(t,e){var n;return $t.some((function(r){if(!I(r)){var i=j(r),o=r[G].options.emptyInsertThreshold,a=t>=i.left-o&&t<=i.right+o,s=e>=i.top-o&&e<=i.bottom+o;return o&&a&&s?n=r:void 0}})),n},Yt=function(t){function e(t,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(r,i,o,a),n)(r,i,o,a);var c=(n?r:i).options.group.name;return!0===t||"string"===typeof t&&t===c||t.join&&t.indexOf(c)>-1}}var n={},i=t.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Kt=function(){!Ht&&ct&&k(ct,"display","none")},qt=function(){!Ht&&ct&&k(ct,"display","")};Bt&&document.addEventListener("click",(function(t){if(Nt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Nt=!1,!1}),!0);var Gt=function(t){if(at){t=t.touches?t.touches[0]:t;var e=Xt(t.clientX,t.clientY);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[G]._onDragOver(n)}}},Jt=function(t){at&&at.parentNode[G]._isOutsideThisEl(t.target)};function Qt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[G]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Wt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Qt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in nt.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var i in Yt(e),this)"_"===i.charAt(0)&&"function"===typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Vt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?_(t,"pointerdown",this._onTapStart):(_(t,"mousedown",this._onTapStart),_(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(_(t,"dragover",this),_(t,"dragenter",this)),$t.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,J())}function Zt(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function te(t,e,n,r,i,o,a,s){var c,u,l=t[G],f=l.options.onMove;return!window.CustomEvent||v||m?(c=document.createEvent("Event"),c.initEvent("move",!0,!0)):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=e,c.from=t,c.dragged=n,c.draggedRect=r,c.related=i||e,c.relatedRect=o||j(e),c.willInsertAfter=s,c.originalEvent=a,t.dispatchEvent(c),f&&(u=f.call(l,c,a)),u}function ee(t){t.draggable=!1}function ne(){It=!1}function re(t,e,n){var r=j(I(n.el,n.options.draggable)),i=10;return e?t.clientX>r.right+i||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+i}function ie(t,e,n,r,i,o,a,s){var c=r?t.clientY:t.clientX,u=r?n.height:n.width,l=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a)if(s&&Dtl+u*o/2:cf-Dt)return-Mt}else if(c>l+u*(1-i)/2&&cf-u*o/2)?c>l+u/2?1:-1:0}function oe(t){return R(at)=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){at&&ee(at),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;S(t,"mouseup",this._disableDelayedDrag),S(t,"touchend",this._disableDelayedDrag),S(t,"touchcancel",this._disableDelayedDrag),S(t,"mousemove",this._delayedDragTouchMoveHandler),S(t,"touchmove",this._delayedDragTouchMoveHandler),S(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?_(document,"pointermove",this._onTouchMove):_(document,e?"touchmove":"mousemove",this._onTouchMove):(_(at,"dragend",this),_(ut,"dragstart",this._onDragStart));try{document.selection?ce((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(At=!1,ut&&at){it("dragStarted",this,{evt:e}),this.nativeDraggable&&_(document,"dragover",Jt);var n=this.options;!t&&D(at,n.dragClass,!1),D(at,n.ghostClass,!0),Qt.active=this,t&&this._appendGhost(),ot({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(xt){this._lastX=xt.clientX,this._lastY=xt.clientY,Kt();var t=document.elementFromPoint(xt.clientX,xt.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(xt.clientX,xt.clientY),t===e)break;e=t}if(at.parentNode[G]._isOutsideThisEl(t),e)do{if(e[G]){var n=void 0;if(n=e[G]._onDragOver({clientX:xt.clientX,clientY:xt.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);qt()}},_onTouchMove:function(t){if(wt){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=ct&&A(ct,!0),a=ct&&o&&o.a,s=ct&&o&&o.d,c=Ft&&kt&&B(kt),u=(i.clientX-wt.clientX+r.x)/(a||1)+(c?c[0]-Pt[0]:0)/(a||1),l=(i.clientY-wt.clientY+r.y)/(s||1)+(c?c[1]-Pt[1]:0)/(s||1);if(!Qt.active&&!At){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0&&(ot({rootEl:st,name:"add",toEl:st,fromEl:ut,originalEvent:t}),ot({sortable:this,name:"remove",toEl:st,originalEvent:t}),ot({rootEl:st,name:"sort",toEl:st,fromEl:ut,originalEvent:t}),ot({sortable:this,name:"sort",toEl:st,originalEvent:t})),bt&&bt.save()):vt!==pt&&vt>=0&&(ot({sortable:this,name:"update",toEl:st,originalEvent:t}),ot({sortable:this,name:"sort",toEl:st,originalEvent:t})),Qt.active&&(null!=vt&&-1!==vt||(vt=pt,gt=mt),ot({sortable:this,name:"end",toEl:st,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){it("nulling",this),ut=at=st=ct=lt=dt=ft=ht=wt=xt=Ct=vt=gt=pt=mt=Tt=Mt=bt=yt=Qt.dragged=Qt.ghost=Qt.clone=Qt.active=null,Rt.forEach((function(t){t.checked=!0})),Rt.length=_t=St=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":at&&(this._onDragOver(t),Zt(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,i=n.length,o=this.options;r1&&($e.forEach((function(t){r.addAnimationState({target:t,rect:Pe?j(t):i}),q(t),t.fromRect=i,e.removeAnimationState(t)})),Pe=!1,Be(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,r=t.insertion,i=t.activeSortable,o=t.parentEl,a=t.putSortable,s=this.options;if(r){if(n&&i._hideClone(),Le=!1,s.animation&&$e.length>1&&(Pe||!n&&!i.options.sort&&!a)){var c=j(ke,!1,!0,!0);$e.forEach((function(t){t!==ke&&(K(t,c),o.appendChild(t))})),Pe=!0}if(!n)if(Pe||ze(),$e.length>1){var u=Ne;i._showClone(e),i.options.animation&&!Ne&&u&&je.forEach((function(t){i.addAnimationState({target:t,rect:Ae}),t.fromRect=Ae,t.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,r=t.activeSortable;if($e.forEach((function(t){t.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){Ae=o({},e);var i=A(ke,!0);Ae.top-=i.f,Ae.left-=i.e}},dragOverAnimationComplete:function(){Pe&&(Pe=!1,ze())},drop:function(t){var e=t.originalEvent,n=t.rootEl,r=t.parentEl,i=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,c=s||this.sortable;if(e){var u=this.options,l=r.children;if(!Ie)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),D(ke,u.selectedClass,!~$e.indexOf(ke)),~$e.indexOf(ke))$e.splice($e.indexOf(ke),1),Me=null,rt({sortable:i,rootEl:n,name:"deselect",targetEl:ke,originalEvt:e});else{if($e.push(ke),rt({sortable:i,rootEl:n,name:"select",targetEl:ke,originalEvt:e}),e.shiftKey&&Me&&i.el.contains(Me)){var f,d,h=R(Me),p=R(ke);if(~h&&~p&&h!==p)for(p>h?(d=h,f=p):(d=p,f=h+1);d1){var v=j(ke),m=R(ke,":not(."+this.options.selectedClass+")");if(!Le&&u.animation&&(ke.thisAnimationDuration=null),c.captureAnimationState(),!Le&&(u.animation&&(ke.fromRect=v,$e.forEach((function(t){if(t.thisAnimationDuration=null,t!==ke){var e=Pe?j(t):v;t.fromRect=e,c.addAnimationState({target:t,rect:e})}}))),ze(),$e.forEach((function(t){l[m]?r.insertBefore(t,l[m]):r.appendChild(t),m++})),a===R(ke))){var g=!1;$e.forEach((function(t){t.sortableIndex===R(t)||(g=!0)})),g&&o("update")}$e.forEach((function(t){q(t)})),c.animateAll()}De=c}(n===r||s&&"clone"!==s.lastPutMode)&&je.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Ie=!1,je.length=0},destroyGlobal:function(){this._deselectMultiDrag(),S(document,"pointerup",this._deselectMultiDrag),S(document,"mouseup",this._deselectMultiDrag),S(document,"touchend",this._deselectMultiDrag),S(document,"keydown",this._checkKeyDown),S(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(("undefined"===typeof Ie||!Ie)&&De===this.sortable&&(!t||!C(t.target,this.options.draggable,this.sortable.el,!1))&&(!t||0===t.button))while($e.length){var e=$e[0];D(e,this.options.selectedClass,!1),$e.shift(),rt({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[G];e&&e.options.multiDrag&&!~$e.indexOf(t)&&(De&&De!==e&&(De.multiDrag._deselectMultiDrag(),De=e),D(t,e.options.selectedClass,!0),$e.push(t))},deselect:function(t){var e=t.parentNode[G],n=$e.indexOf(t);e&&e.options.multiDrag&&~n&&(D(t,e.options.selectedClass,!1),$e.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return $e.forEach((function(r){var i;e.push({multiDragElement:r,index:r.sortableIndex}),i=Pe&&r!==ke?-1:Pe?R(r,":not(."+t.options.selectedClass+")"):R(r),n.push({multiDragElement:r,index:i})})),{items:u($e),clones:[].concat(je),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),"ctrl"===t?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function Be(t,e){$e.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function Fe(t,e){je.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function ze(){$e.forEach((function(t){t!==ke&&t.parentNode&&t.parentNode.removeChild(t)}))}Qt.mount(new ye),Qt.mount(Ee,Oe),e["default"]=Qt},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",c="​…",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o((function(){return!!a[t]()||c[t]()!=c})),u=i[t]=s?e(d):a[t];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},d=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aba2:function(t,e,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("6b4c")(a);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},ac4d:function(t,e,n){n("3a72")("asyncIterator")},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),d=c.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(h),v=0;v=0?r=setTimeout(c,e-u):(r=null,n||(s=t.apply(o,i),o=i=null))}null==e&&(e=100);var u=function(){o=this,i=arguments,a=Date.now();var u=n&&!r;return r||(r=setTimeout(c,e)),u&&(s=t.apply(o,i),o=i=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=t.apply(o,i),o=i=null,clearTimeout(r),r=null)},u}n.debounce=n,t.exports=n},b047:function(t,e,n){var r=n("1a8c"),i=n("408c"),o=n("b4b0"),a="Expected a function",s=Math.max,c=Math.min;function u(t,e,n){var u,l,f,d,h,p,v=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=u,r=l;return u=l=void 0,v=e,d=t.apply(r,n),d}function w(t){return v=t,h=setTimeout(S,e),m?b(t):d}function x(t){var n=t-p,r=t-v,i=e-n;return g?c(i,f-r):i}function _(t){var n=t-p,r=t-v;return void 0===p||n>=e||n<0||g&&r>=f}function S(){var t=i();if(_(t))return O(t);h=setTimeout(S,x(t))}function O(t){return h=void 0,y&&u?b(t):(u=l=void 0,d)}function E(){void 0!==h&&clearTimeout(h),v=0,u=p=l=h=void 0}function C(){return void 0===h?d:O(i())}function T(){var t=i(),n=_(t);if(u=arguments,l=this,p=t,n){if(void 0===h)return w(p);if(g)return clearTimeout(h),h=setTimeout(S,e),b(p)}return void 0===h&&(h=setTimeout(S,e)),d}return e=o(e)||0,r(n)&&(m=!!n.leading,g="maxWait"in n,f=g?s(o(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),T.cancel=E,T.flush=C,T}t.exports=u},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b0dc:function(t,e,n){var r=n("e4ae");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t["return"];throw void 0!==o&&r(o.call(t)),a}}},b39a:function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b4b0:function(t,e,n){var r=n("8d74"),i=n("1a8c"),o=n("ffd6"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function f(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?a:+t}t.exports=f},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),o=n("7aac"),a=n("30b5"),s=n("83b9"),c=n("c345"),u=n("3934"),l=n("2d83");t.exports=function(t){return new Promise((function(e,n){var f=t.data,d=t.headers,h=t.responseType;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var v=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(v+":"+m)}var g=s(t.baseURL,t.url);function y(){if(p){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o=h&&"text"!==h&&"json"!==h?p.response:p.responseText,a={data:o,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,a),p=null}}if(p.open(t.method.toUpperCase(),a(g,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(y)},p.onabort=function(){p&&(n(l("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||u(g))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}"setRequestHeader"in p&&r.forEach(d,(function(t,e){"undefined"===typeof f&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),h&&"json"!==h&&(p.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),f||(f=null),p.send(f)}))}},b76a:function(t,e,n){(function(e,r){t.exports=r(n("aa47"))})("undefined"!==typeof self&&self,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,w){c(n,e,g);var x,_,S,O=function(t){if(!d&&t in M)return M[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",C=y==v,T=!1,M=t.prototype,D=M[f]||M[h]||y&&M[y],k=D||O(y),A=y?C?O("entries"):k:void 0,N="Array"==e&&M.entries||D;if(N&&(S=l(N.call(new t)),S!==Object.prototype&&S.next&&(u(S,E,!0),r||"function"==typeof S[f]||a(S,f,m))),C&&D&&D.name!==v&&(T=!0,k=function(){return D.call(this)}),r&&!w||!d&&!T&&M[f]||a(M,f,k),s[e]=k,s[E]=m,y)if(x={values:C?k:O(v),keys:b?k:O(p),entries:A},w)for(_ in x)_ in M||o(M,_,x[_]);else i(i.P+i.F*(d||T),e,x);return x}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),c=n("520a"),u=s("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=s(t),h=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=h?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!e})):void 0;if(!h||!p||"replace"===t&&!l||"split"===t&&!f){var v=/./[d],m=n(a,d,""[t],(function(t,e,n,r,i){return e.exec===c?h&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=m[0],y=m[1];r(String.prototype,t,g),i(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),c="toString",u=(""+s).split(c);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[s]||0!==e[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(t){var e,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[s]),a=i.call(f,t),c&&a&&(f[s]=f.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;while(c>u){var d,h=s(arguments[u++]),p=l?r(h).concat(l(h)):r(h),v=p.length,m=0;while(v>m)f.call(h,d=p[m++])&&(n[d]=h[d])}return n}:c},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,v){return[function(r,i){var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=v(n,t,this,e);if(i.done)return i.value;var f=r(t),d=String(this),h="function"===typeof e;h||(e=String(e));var g=f.global;if(g){var y=f.unicode;f.lastIndex=0}var b=[];while(1){var w=c(f,d);if(null===w)break;if(b.push(w),!g)break;var x=String(w[0]);""===x&&(f.lastIndex=s(d,o(f.lastIndex),y))}for(var _="",S=0,O=0;O=S&&(_+=d.slice(S,C)+A,S=C+E.length)}return _+d.slice(S)}];function m(t,e,r,o,a,s){var c=r+t.length,u=o.length,l=h;return void 0!==a&&(a=i(a),l=d),n.call(s,l,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var d=f(l/10);return 0===d?n:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),d=c.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(h),v=0;vl)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return c}));n("a481");function r(){return"undefined"!==typeof window?window.console:t.console}var i=r();function o(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var a=/-(\w)/g,s=o((function(t){return t.replace(a,(function(t,e){return e?e.toUpperCase():""}))}));function c(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function u(t,e,n){var r=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,r)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];r(r.P+r.F*n("5147")(a),"String",{startsWith:function(t){var e=o(this,t,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function i(t){if(Array.isArray(t))return t}function o(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){i=!0,o=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=o?i.length:i.indexOf(t)}));return n?a.filter((function(t){return-1!==t})):a}function w(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function x(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),w.call(e,t,n)}}function _(t){return["transition-group","TransitionGroup"].includes(t)}function S(t){if(!t||1!==t.length)return!1;var e=u(t,1),n=e[0].componentOptions;return!!n&&_(n.tag)}function O(t,e,n){return t[n]||(e[n]?e[n]():void 0)}function E(t,e,n){var r=0,i=0,o=O(e,n,"header");o&&(r=o.length,t=t?[].concat(h(o),h(t)):h(o));var a=O(e,n,"footer");return a&&(i=a.length,t=t?[].concat(h(t),h(a)):h(a)),{children:t,headerOffset:r,footerOffset:i}}function C(t,e){var n=null,r=function(t,e){n=g(n,t,e)},i=Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(r("attrs",i),!e)return n;var o=e.on,a=e.props,s=e.attrs;return r("on",o),r("props",a),Object.assign(n.attrs,s),n}var T=["Start","Add","Remove","Update","End"],M=["Choose","Unchoose","Sort","Filter","Clone"],D=["Move"].concat(T,M).map((function(t){return"on"+t})),k=null,A={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},N={name:"draggable",inheritAttrs:!1,props:A,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=S(e);var n=E(e,this.$slots,this.$scopedSlots),r=n.children,i=n.headerOffset,o=n.footerOffset;this.headerOffset=i,this.footerOffset=o;var a=C(this.$attrs,this.componentData);return t(this.getTag(),a,r)},created:function(){null!==this.list&&null!==this.value&&m["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&m["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&m["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};T.forEach((function(n){e["on"+n]=x.call(t,n)})),M.forEach((function(n){e["on"+n]=w.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(m["a"])(n)]=t.$attrs[n],e}),{}),r=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new v.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(m["a"])(e);-1===D.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=b(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=y(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&_(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=h(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,h(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,r=this.getUnderlyingPotencialDraggableComponent(e);if(!r)return{component:r};var i=r.realList,o={list:i,component:r};if(e!==n&&i&&r.getUnderlyingVm){var a=r.getUnderlyingVm(n);if(a)return Object.assign(a,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),k=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(m["d"])(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var r={element:e,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(t){if(Object(m["c"])(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(m["d"])(t.clone)},onDragUpdate:function(t){Object(m["d"])(t.item),Object(m["c"])(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var r={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=h(e.to.children).filter((function(t){return"none"!==t.style["display"]})),r=n.indexOf(e.related),i=t.component.getVmIndex(r),o=-1!==n.indexOf(k);return o||!e.willInsertAfter?i:i+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(t),i=this.context,o=this.computeFutureIndex(r,t);Object.assign(i,{futureIndex:o});var a=Object.assign({},t,{relatedContext:r,draggedContext:i});return n(a,e)},onDragEnd:function(){this.computeIndexes(),k=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",N);var $=N;e["default"]=$}})["default"]}))},b8e3:function(t,e){t.exports=!0},bc13:function(t,e,n){var r=n("e53d"),i=r.navigator;t.exports=i&&i.userAgent||""},bc3a:function(t,e,n){t.exports=n("cee4")},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},bcdf:function(t,e){function n(){}t.exports=n},bd86:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("454f"),i=n.n(r),o=n("7618"),a=n("366e"),s=n.n(a);function c(t,e){if("object"!=Object(o["a"])(t)||!t)return t;var n=t[s.a];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Object(o["a"])(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t){var e=c(t,"string");return"symbol"==Object(o["a"])(e)?e:e+""}function l(t,e,n){return(e=u(e))in t?i()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bf0b:function(t,e,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),a=n("1bc3"),s=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;e.f=n("8e60")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},c135:function(t,e){function n(t){if(Array.isArray(t))return t}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},c207:function(t,e){},c240:function(t,e){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},c26b:function(t,e,n){"use strict";var r=n("86cc").f,i=n("2aeb"),o=n("dcbc"),a=n("9b43"),s=n("f605"),c=n("4a59"),u=n("01f9"),l=n("d53b"),f=n("7a56"),d=n("9e1e"),h=n("67ab").fastKey,p=n("b39a"),v=d?"_s":"size",m=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=p(this,e),r=m(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(t){p(this,e);var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!m(p(this,e),t)}}),d&&r(l.prototype,"size",{get:function(){return p(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=m(t,e);return o?o.v=n:(t._l=o={i:i=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:m,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},c345:function(t,e,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),a=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c401:function(t,e,n){"use strict";var r=n("c532"),i=n("2444");t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function f(t){return"string"===typeof t}function d(t){return"number"===typeof t}function h(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===i.call(t)}function m(t){return"[object File]"===i.call(t)}function g(t){return"[object Blob]"===i.call(t)}function y(t){return"[object Function]"===i.call(t)}function b(t){return h(t)&&y(t.pipe)}function w(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n2){e=y?e.trim():d(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;ui)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(g?c((function(){m.valueOf.call(n)})):o(n)!=h)?a(new v(b(e)),n,p):b(e)};for(var w,x=n("9e1e")?u(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)i(v,w=x[_])&&!i(p,w)&&f(p,w,l(v,w));p.prototype=m,m.constructor=p,n("2aba")(r,h,p)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca17:function(t,e,n){ /*! * vue-treeselect v0.4.0 | (c) 2017-2019 Riophae Lee * Released under the MIT License. * https://vue-treeselect.js.org/ */ -t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=16)}([function(t,e){t.exports=n("278c")},function(t,e){t.exports=n("448a")},function(t,e){t.exports=n("9523")},function(t,e){t.exports=n("2e39")},function(t,e){t.exports=n("bcdf")},function(t,e){t.exports=n("b047")},function(t,e){t.exports=n("df0f")},function(t,e){t.exports=n("2655")},function(t,e){t.exports=n("1d92")},function(t,e){t.exports=n("cd9d")},function(t,e){t.exports=n("72f0")},function(t,e){t.exports=n("7037")},function(t,e){t.exports=n("4416")},function(t,e){t.exports=n("92fa")},function(t,e){t.exports=n("a026")},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o=n(1),a=n.n(o),s=n(2),c=n.n(s),u=n(3),l=n.n(u),f=n(4),h=n.n(f),d=h.a;function p(t){return function(e){if("mousedown"===e.type&&0===e.button){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;in.bottom?t.scrollTop=Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight):r.top-i0},single:function(){return!this.multiple},visibleOptionIds:function(){var t=this,e=[];return this.traverseAllNodesByIndex((function(n){if(t.localSearch.active&&!t.shouldOptionBeIncludedInSearchResult(n)||e.push(n.id),n.isBranch&&!t.shouldExpand(n))return!1})),e},hasVisibleOptions:function(){return 0!==this.visibleOptionIds.length},showCountOnSearchComputed:function(){return"boolean"===typeof this.showCountOnSearch?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some((function(t){return t.isBranch}))},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(t){t?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(t){t&&this.menu.isOpen?this.closeMenu():t||this.menu.isOpen||!this.alwaysOpen||this.openMenu()},flat:function(){this.initialize()},internalValue:function(t,e){var n=J(t,e);n&&this.$emit("input",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(t){t&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var t=this.extractCheckedNodeIdsFromValue(),e=J(t,this.internalValue);e&&this.fixSelectedNodeIds(t)}},methods:{verifyProps:function(){var t=this;if(d((function(){return!t.async||t.searchable}),(function(){return'For async search mode, the value of "searchable" prop must be true.'})),null!=this.options||this.loadOptions||d((function(){return!1}),(function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'})),this.flat&&d((function(){return t.multiple}),(function(){return'You are using flat mode. But you forgot to add "multiple=true"?'})),!this.flat){var e=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];e.forEach((function(e){d((function(){return!t[e]}),(function(){return'"'.concat(e,'" only applies to flat mode.')}))}))}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var t=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(t)){var e=this.forest.nodeMap;this.forest.nodeMap=z(),this.keepDataOfSelectedNodes(e),this.forest.normalizedOptions=this.normalize(Q,t,e),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return null==this.instanceId?this.id:this.instanceId},getValue:function(){var t=this;if("id"===this.valueFormat)return this.multiple?this.internalValue.slice():this.internalValue[0];var e=this.internalValue.map((function(e){return t.getNode(e).raw}));return this.multiple?e:e[0]},getNode:function(t){return d((function(){return null!=t}),(function(){return"Invalid node id: ".concat(t)})),null==t?null:t in this.forest.nodeMap?this.forest.nodeMap[t]:this.createFallbackNode(t)},createFallbackNode:function(t){var e=this.extractNodeFromValue(t),n=this.enhancedNormalizer(e).label||"".concat(t," (unknown)"),r={id:t,label:n,ancestors:[],parentNode:Q,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,isNew:!1,index:[-1],level:0,raw:e};return this.$set(this.forest.nodeMap,t,r)},extractCheckedNodeIdsFromValue:function(){var t=this;return null==this.value?[]:"id"===this.valueFormat?this.multiple?this.value.slice():[this.value]:(this.multiple?this.value:[this.value]).map((function(e){return t.enhancedNormalizer(e)})).map((function(t){return t.id}))},extractNodeFromValue:function(t){var e=this,n={id:t};if("id"===this.valueFormat)return n;var r=this.multiple?Array.isArray(this.value)?this.value:[]:this.value?[this.value]:[],i=G(r,(function(n){return n&&e.enhancedNormalizer(n).id===t}));return i||n},fixSelectedNodeIds:function(t){var e=this,n=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===ut)n=t;else if(this.valueConsistsOf===lt)t.forEach((function(t){n.push(t);var r=e.getNode(t);r.isBranch&&e.traverseDescendantsBFS(r,(function(t){n.push(t.id)}))}));else if(this.valueConsistsOf===ft){var r=z(),i=t.slice();while(i.length){var o=i.shift(),a=this.getNode(o);n.push(o),a.isRootNode||(a.parentNode.id in r||(r[a.parentNode.id]=a.parentNode.children.length),0===--r[a.parentNode.id]&&i.push(a.parentNode.id))}}else if(this.valueConsistsOf===ht){var s=z(),c=t.filter((function(t){var n=e.getNode(t);return n.isLeaf||0===n.children.length}));while(c.length){var u=c.shift(),l=this.getNode(u);n.push(u),l.isRootNode||(l.parentNode.id in s||(s[l.parentNode.id]=l.parentNode.children.length),0===--s[l.parentNode.id]&&c.push(l.parentNode.id))}}var f=J(this.forest.selectedNodeIds,n);f&&(this.forest.selectedNodeIds=n),this.buildForestState()},keepDataOfSelectedNodes:function(t){var e=this;this.forest.selectedNodeIds.forEach((function(n){if(t[n]){var r=xt({},t[n],{isFallbackNode:!0});e.$set(e.forest.nodeMap,n,r)}}))},isSelected:function(t){return!0===this.forest.selectedNodeMap[t.id]},traverseDescendantsBFS:function(t,e){if(t.isBranch){var n=t.children.slice();while(n.length){var r=n[0];r.isBranch&&n.push.apply(n,a()(r.children)),e(r),n.shift()}}},traverseDescendantsDFS:function(t,e){var n=this;t.isBranch&&t.children.forEach((function(t){n.traverseDescendantsDFS(t,e),e(t)}))},traverseAllNodesDFS:function(t){var e=this;this.forest.normalizedOptions.forEach((function(n){e.traverseDescendantsDFS(n,t),t(n)}))},traverseAllNodesByIndex:function(t){var e=function e(n){n.children.forEach((function(n){!1!==t(n)&&n.isBranch&&e(n)}))};e({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(t){t?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:p((function(t){if(t.preventDefault(),t.stopPropagation(),!this.disabled){var e=this.getValueContainer().$el.contains(t.target);e&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}})),handleClickOutside:function(t){this.$refs.wrapper&&!this.$refs.wrapper.contains(t.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var t=this,e=this.trigger.searchQuery,n=function(){return t.resetHighlightedOptionWhenNecessary(!0)};if(!e)return this.localSearch.active=!1,n();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS((function(e){var n;e.isBranch&&(e.isExpandedOnSearch=!1,e.showAllChildrenOnSearch=!1,e.isMatched=!1,e.hasMatchedDescendants=!1,t.$set(t.localSearch.countMap,e.id,(n={},c()(n,nt,0),c()(n,rt,0),c()(n,it,0),c()(n,ot,0),n)))}));var r=e.trim().toLocaleLowerCase(),i=r.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS((function(e){t.searchNested&&i.length>1?e.isMatched=i.every((function(t){return Et(!1,t,e.nestedSearchLabel)})):e.isMatched=t.matchKeys.some((function(n){return Et(!t.disableFuzzyMatching,r,e.lowerCased[n])})),e.isMatched&&(t.localSearch.noResults=!1,e.ancestors.forEach((function(e){return t.localSearch.countMap[e.id][rt]++})),e.isLeaf&&e.ancestors.forEach((function(e){return t.localSearch.countMap[e.id][ot]++})),e.parentNode!==Q&&(t.localSearch.countMap[e.parentNode.id][nt]+=1,e.isLeaf&&(t.localSearch.countMap[e.parentNode.id][it]+=1))),(e.isMatched||e.isBranch&&e.isExpandedOnSearch)&&e.parentNode!==Q&&(e.parentNode.isExpandedOnSearch=!0,e.parentNode.hasMatchedDescendants=!0)})),n()},handleRemoteSearch:function(){var t=this,e=this.trigger.searchQuery,n=this.getRemoteSearchEntry(),r=function(){t.initialize(),t.resetHighlightedOptionWhenNecessary(!0)};if((""===e||this.cacheOptions)&&n.isLoaded)return r();this.callLoadOptionsProp({action:ct,args:{searchQuery:e},isPending:function(){return n.isLoading},start:function(){n.isLoading=!0,n.isLoaded=!1,n.loadingError=""},succeed:function(i){n.isLoaded=!0,n.options=i,t.trigger.searchQuery===e&&r()},fail:function(t){n.loadingError=Tt(t)},end:function(){n.isLoading=!1}})},getRemoteSearchEntry:function(){var t=this,e=this.trigger.searchQuery,n=this.remoteSearch[e]||xt({},Ot(),{options:[]});if(this.$watch((function(){return n.options}),(function(){t.trigger.searchQuery===e&&t.initialize()}),{deep:!0}),""===e){if(Array.isArray(this.defaultOptions))return n.options=this.defaultOptions,n.isLoaded=!0,n;if(!0!==this.defaultOptions)return n.isLoaded=!0,n}return this.remoteSearch[e]||this.$set(this.remoteSearch,e,n),n},shouldExpand:function(t){return this.localSearch.active?t.isExpandedOnSearch:t.isExpanded},shouldOptionBeIncludedInSearchResult:function(t){return!!t.isMatched||(!(!t.isBranch||!t.hasMatchedDescendants||this.flattenSearchResults)||!(t.isRootNode||!t.parentNode.showAllChildrenOnSearch))},shouldShowOptionInMenu:function(t){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(t))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var t=this.appendToBody?this.$refs.portal.portalTarget:this,e=t.$refs.menu.$refs.menu;return e&&"#comment"!==e.nodeName?e:null},setCurrentHighlightedOption:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.menu.current;if(null!=r&&r in this.forest.nodeMap&&(this.forest.nodeMap[r].isHighlighted=!1),this.menu.current=t.id,t.isHighlighted=!0,this.menu.isOpen&&n){var i=function(){var n=e.getMenu(),r=n.querySelector('.vue-treeselect__option[data-id="'.concat(t.id,'"]'));r&&v(n,r)};this.getMenu()?i():this.$nextTick(i)}},resetHighlightedOptionWhenNecessary:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.menu.current;!t&&null!=e&&e in this.forest.nodeMap&&this.shouldShowOptionInMenu(this.getNode(e))||this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var t=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(t))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var t=this.visibleOptionIds.indexOf(this.menu.current)-1;if(-1===t)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[t]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var t=this.visibleOptionIds.indexOf(this.menu.current)+1;if(t===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[t]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var t=Y()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(t))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),this.options||this.async||this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(t){var e;this.localSearch.active?(e=t.isExpandedOnSearch=!t.isExpandedOnSearch,e&&(t.showAllChildrenOnSearch=!0)):e=t.isExpanded=!t.isExpanded,e&&!t.childrenStates.isLoaded&&this.loadChildrenOptions(t)},buildForestState:function(){var t=this,e=z();this.forest.selectedNodeIds.forEach((function(t){e[t]=!0})),this.forest.selectedNodeMap=e;var n=z();this.multiple&&(this.traverseAllNodesByIndex((function(t){n[t.id]=Z})),this.selectedNodes.forEach((function(e){n[e.id]=et,t.flat||t.disableBranchNodes||e.ancestors.forEach((function(e){t.isSelected(e)||(n[e.id]=tt)}))}))),this.forest.checkedStateMap=n},enhancedNormalizer:function(t){return xt({},t,{},this.normalizer(t,this.getInstanceId()))},normalize:function(t,e,n){var r=this,o=e.map((function(t){return[r.enhancedNormalizer(t),t]})).map((function(e,o){var a=i()(e,2),s=a[0],u=a[1];r.checkDuplication(s),r.verifyNodeShape(s);var l=s.id,f=s.label,h=s.children,p=s.isDefaultExpanded,v=t===Q,m=v?0:t.level+1,g=Array.isArray(h)||null===h,y=!g,b=!!s.isDisabled||!r.flat&&!v&&t.isDisabled,w=!!s.isNew,x=r.matchKeys.reduce((function(t,e){return xt({},t,c()({},e,Ct(s[e]).toLocaleLowerCase()))}),{}),_=v?x.label:t.nestedSearchLabel+" "+x.label,S=r.$set(r.forest.nodeMap,l,z());if(r.$set(S,"id",l),r.$set(S,"label",f),r.$set(S,"level",m),r.$set(S,"ancestors",v?[]:[t].concat(t.ancestors)),r.$set(S,"index",(v?[]:t.index).concat(o)),r.$set(S,"parentNode",t),r.$set(S,"lowerCased",x),r.$set(S,"nestedSearchLabel",_),r.$set(S,"isDisabled",b),r.$set(S,"isNew",w),r.$set(S,"isMatched",!1),r.$set(S,"isHighlighted",!1),r.$set(S,"isBranch",g),r.$set(S,"isLeaf",y),r.$set(S,"isRootNode",v),r.$set(S,"raw",u),g){var O,C=Array.isArray(h);r.$set(S,"childrenStates",xt({},Ot(),{isLoaded:C})),r.$set(S,"isExpanded","boolean"===typeof p?p:m=0&&i.top<=a||i.top<0&&i.bottom>0,l=c>o+bt,f=s>o+bt;u?"auto"!==t.openDirection?t.menu.placement=Ze[t.openDirection]:t.menu.placement=l||!f?"bottom":"top":t.closeMenu()}},setupMenuSizeWatcher:function(){var t=this.instance,e=t.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:A(e,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var t=this.instance,e=t.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:M(e,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){var t=arguments[0];return t("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[t("transition",{attrs:{name:"vue-treeselect__menu--transition"}},[this.renderMenu()])])}},en=tn,nn=jt(en,Ge,Je,!1,null,null,null);nn.options.__file="src/components/Menu.vue";var rn=nn.exports,on=n(14),an=n.n(on);function sn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cn(t){for(var e=1;e=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd78:function(t,e,n){var r=n("e4ae"),i=n("f772"),o=n("656e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},cd9d:function(t,e){function n(t){return t}t.exports=n},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},cee4:function(t,e,n){"use strict";var r=n("c532"),i=n("1d2b"),o=n("0a06"),a=n("4a7b"),s=n("2444");function c(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=c(s);u.Axios=o,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),u.isAxiosError=n("5f02"),t.exports=u,t.exports.default=u},d1d6:function(t,e,n){!function(t,n){n(e)}(0,(function(t){"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?Array.isArray(r)?i(r):i(r.split(",")):i((n=e,Array.isArray(n)?n:null==n?[]:[n]))}function a(t){return""===t}function s(t,e){return"Enter"===t&&(!e.lock||e.unlock)}function c(t,e,n){return a(t)&&n.fireonempty&&("Enter"===e||" "===e)}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.lock,n=void 0!==e&&e,i=t.listenTo,u=void 0===i?"keyup":i,l=t.defaultTime,f=void 0===l?"300ms":l,h=t.fireOnEmpty,d=void 0!==h&&h,p=t.cancelOnEmpty,v=void 0!==p&&p,m=t.trim,g=void 0!==m&&m;return{bind:function(t,e,i){var l=e.value,h=e.arg,p=void 0===h?f:h,m=e.modifiers,y=Object.assign({lock:n,trim:g,fireonempty:d,cancelonempty:v},m),b=o(i.data.attrs,u),w=r((function(t){l(t.target.value,t)}),p);function x(t){var e=y.trim?t.target.value.trim():t.target.value;a(e)&&y.cancelonempty?w.cancel():s(t.key,y)||c(e,t.key,y)?(w.cancel(),l(t.target.value,t)):w(t)}b.forEach((function(e){t.addEventListener(e,x)}))}}}var l={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.directive("debounce",u(e))}};t.debounce=r,t.default=l,t.vue3Debounce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.lock,n=void 0!==e&&e,i=t.listenTo,u=void 0===i?"keyup":i,l=t.defaultTime,f=void 0===l?"300ms":l,h=t.fireOnEmpty,d=void 0!==h&&h,p=t.cancelOnEmpty,v=void 0!==p&&p,m=t.trim,g=void 0!==m&&m;return{created:function(t,e,i){var l=e.value,h=e.arg,p=void 0===h?f:h,m=e.modifiers,y=Object.assign({lock:n,trim:g,fireonempty:d,cancelonempty:v},m),b=o(i.props,u),w=r((function(t){l(t.target.value,t)}),p);function x(t){var e=y.trim?t.target.value.trim():t.target.value;a(e)&&y.cancelonempty?w.cancel():s(t.key,y)||c(e,t.key,y)?(w.cancel(),l(t.target.value,t)):w(t)}b.forEach((function(e){t.addEventListener(e,x)}))}}},Object.defineProperty(t,"__esModule",{value:!0})}))},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),a=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},df0f:function(t,e,n){"use strict";n.r(e);var r=function(t,e){var n=document.createElement("_"),r=n.appendChild(document.createElement("_")),i=n.appendChild(document.createElement("_")),o=r.appendChild(document.createElement("_")),a=void 0,s=void 0;return r.style.cssText=n.style.cssText="height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1",o.style.cssText=i.style.cssText="display:block;height:100%;transition:0s;width:100%",o.style.width=o.style.height="200%",t.appendChild(n),c(),l;function c(){u();var o=t.offsetWidth,l=t.offsetHeight;o===a&&l===s||(a=o,s=l,i.style.width=2*o+"px",i.style.height=2*l+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,e({width:o,height:l})),r.addEventListener("scroll",c),n.addEventListener("scroll",c)}function u(){r.removeEventListener("scroll",c),n.removeEventListener("scroll",c)}function l(){u(),t.removeChild(n)}};e["default"]=r},e0b8:function(t,e,n){"use strict";var r=n("7726"),i=n("5ca1"),o=n("2aba"),a=n("dcbc"),s=n("67ab"),c=n("4a59"),u=n("f605"),l=n("d3f4"),f=n("79e5"),h=n("5cc5"),d=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,v,m,g){var y=r[t],b=y,w=m?"set":"add",x=b&&b.prototype,_={},S=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||x.forEach&&!f((function(){(new b).entries().next()})))){var O=new b,C=O[w](g?{}:-0,1)!=O,E=f((function(){O.has(1)})),T=h((function(t){new b(t)})),A=!g&&f((function(){var t=new b,e=5;while(e--)t[w](e,e);return!t.has(-0)}));T||(b=e((function(e,n){u(e,b,t);var r=p(new y,e,b);return void 0!=n&&c(n,m,r[w],r),r})),b.prototype=x,x.constructor=b),(E||A)&&(S("delete"),S("has"),m&&S("get")),(A||C)&&S(w),g&&x.clear&&delete x.clear}else b=v.getConstructor(e,t,m,w),a(b.prototype,n),s.NEED=!0;return d(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=y),_),g||v.setStrong(b,t,m),b}},e0ef:function(t,e,n){var r=n("4b17"),i="Expected a function";function o(t,e){var n;if("function"!=typeof e)throw new TypeError(i);return t=r(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}t.exports=o},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t,e,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},f28c:function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function c(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}})();var u,l=[],f=!1,h=-1;function d(){f&&u&&(f=!1,u.length?l=u.concat(l):h=-1,l.length&&p())}function p(){if(!f){var t=s(d);f=!0;var e=l.length;while(e){u=l,l=[];while(++h1)for(var n=1;n1?n-1:0),i=1;in.bottom?t.scrollTop=Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight):r.top-i0},single:function(){return!this.multiple},visibleOptionIds:function(){var t=this,e=[];return this.traverseAllNodesByIndex((function(n){if(t.localSearch.active&&!t.shouldOptionBeIncludedInSearchResult(n)||e.push(n.id),n.isBranch&&!t.shouldExpand(n))return!1})),e},hasVisibleOptions:function(){return 0!==this.visibleOptionIds.length},showCountOnSearchComputed:function(){return"boolean"===typeof this.showCountOnSearch?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some((function(t){return t.isBranch}))},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(t){t?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(t){t&&this.menu.isOpen?this.closeMenu():t||this.menu.isOpen||!this.alwaysOpen||this.openMenu()},flat:function(){this.initialize()},internalValue:function(t,e){var n=J(t,e);n&&this.$emit("input",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(t){t&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var t=this.extractCheckedNodeIdsFromValue(),e=J(t,this.internalValue);e&&this.fixSelectedNodeIds(t)}},methods:{verifyProps:function(){var t=this;if(h((function(){return!t.async||t.searchable}),(function(){return'For async search mode, the value of "searchable" prop must be true.'})),null!=this.options||this.loadOptions||h((function(){return!1}),(function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'})),this.flat&&h((function(){return t.multiple}),(function(){return'You are using flat mode. But you forgot to add "multiple=true"?'})),!this.flat){var e=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];e.forEach((function(e){h((function(){return!t[e]}),(function(){return'"'.concat(e,'" only applies to flat mode.')}))}))}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var t=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(t)){var e=this.forest.nodeMap;this.forest.nodeMap=z(),this.keepDataOfSelectedNodes(e),this.forest.normalizedOptions=this.normalize(Q,t,e),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return null==this.instanceId?this.id:this.instanceId},getValue:function(){var t=this;if("id"===this.valueFormat)return this.multiple?this.internalValue.slice():this.internalValue[0];var e=this.internalValue.map((function(e){return t.getNode(e).raw}));return this.multiple?e:e[0]},getNode:function(t){return h((function(){return null!=t}),(function(){return"Invalid node id: ".concat(t)})),null==t?null:t in this.forest.nodeMap?this.forest.nodeMap[t]:this.createFallbackNode(t)},createFallbackNode:function(t){var e=this.extractNodeFromValue(t),n=this.enhancedNormalizer(e).label||"".concat(t," (unknown)"),r={id:t,label:n,ancestors:[],parentNode:Q,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,isNew:!1,index:[-1],level:0,raw:e};return this.$set(this.forest.nodeMap,t,r)},extractCheckedNodeIdsFromValue:function(){var t=this;return null==this.value?[]:"id"===this.valueFormat?this.multiple?this.value.slice():[this.value]:(this.multiple?this.value:[this.value]).map((function(e){return t.enhancedNormalizer(e)})).map((function(t){return t.id}))},extractNodeFromValue:function(t){var e=this,n={id:t};if("id"===this.valueFormat)return n;var r=this.multiple?Array.isArray(this.value)?this.value:[]:this.value?[this.value]:[],i=G(r,(function(n){return n&&e.enhancedNormalizer(n).id===t}));return i||n},fixSelectedNodeIds:function(t){var e=this,n=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===ut)n=t;else if(this.valueConsistsOf===lt)t.forEach((function(t){n.push(t);var r=e.getNode(t);r.isBranch&&e.traverseDescendantsBFS(r,(function(t){n.push(t.id)}))}));else if(this.valueConsistsOf===ft){var r=z(),i=t.slice();while(i.length){var o=i.shift(),a=this.getNode(o);n.push(o),a.isRootNode||(a.parentNode.id in r||(r[a.parentNode.id]=a.parentNode.children.length),0===--r[a.parentNode.id]&&i.push(a.parentNode.id))}}else if(this.valueConsistsOf===dt){var s=z(),c=t.filter((function(t){var n=e.getNode(t);return n.isLeaf||0===n.children.length}));while(c.length){var u=c.shift(),l=this.getNode(u);n.push(u),l.isRootNode||(l.parentNode.id in s||(s[l.parentNode.id]=l.parentNode.children.length),0===--s[l.parentNode.id]&&c.push(l.parentNode.id))}}var f=J(this.forest.selectedNodeIds,n);f&&(this.forest.selectedNodeIds=n),this.buildForestState()},keepDataOfSelectedNodes:function(t){var e=this;this.forest.selectedNodeIds.forEach((function(n){if(t[n]){var r=xt({},t[n],{isFallbackNode:!0});e.$set(e.forest.nodeMap,n,r)}}))},isSelected:function(t){return!0===this.forest.selectedNodeMap[t.id]},traverseDescendantsBFS:function(t,e){if(t.isBranch){var n=t.children.slice();while(n.length){var r=n[0];r.isBranch&&n.push.apply(n,a()(r.children)),e(r),n.shift()}}},traverseDescendantsDFS:function(t,e){var n=this;t.isBranch&&t.children.forEach((function(t){n.traverseDescendantsDFS(t,e),e(t)}))},traverseAllNodesDFS:function(t){var e=this;this.forest.normalizedOptions.forEach((function(n){e.traverseDescendantsDFS(n,t),t(n)}))},traverseAllNodesByIndex:function(t){var e=function e(n){n.children.forEach((function(n){!1!==t(n)&&n.isBranch&&e(n)}))};e({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(t){t?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:p((function(t){if(t.preventDefault(),t.stopPropagation(),!this.disabled){var e=this.getValueContainer().$el.contains(t.target);e&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}})),handleClickOutside:function(t){this.$refs.wrapper&&!this.$refs.wrapper.contains(t.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var t=this,e=this.trigger.searchQuery,n=function(){return t.resetHighlightedOptionWhenNecessary(!0)};if(!e)return this.localSearch.active=!1,n();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS((function(e){var n;e.isBranch&&(e.isExpandedOnSearch=!1,e.showAllChildrenOnSearch=!1,e.isMatched=!1,e.hasMatchedDescendants=!1,t.$set(t.localSearch.countMap,e.id,(n={},c()(n,nt,0),c()(n,rt,0),c()(n,it,0),c()(n,ot,0),n)))}));var r=e.trim().toLocaleLowerCase(),i=r.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS((function(e){t.searchNested&&i.length>1?e.isMatched=i.every((function(t){return Ct(!1,t,e.nestedSearchLabel)})):e.isMatched=t.matchKeys.some((function(n){return Ct(!t.disableFuzzyMatching,r,e.lowerCased[n])})),e.isMatched&&(t.localSearch.noResults=!1,e.ancestors.forEach((function(e){return t.localSearch.countMap[e.id][rt]++})),e.isLeaf&&e.ancestors.forEach((function(e){return t.localSearch.countMap[e.id][ot]++})),e.parentNode!==Q&&(t.localSearch.countMap[e.parentNode.id][nt]+=1,e.isLeaf&&(t.localSearch.countMap[e.parentNode.id][it]+=1))),(e.isMatched||e.isBranch&&e.isExpandedOnSearch)&&e.parentNode!==Q&&(e.parentNode.isExpandedOnSearch=!0,e.parentNode.hasMatchedDescendants=!0)})),n()},handleRemoteSearch:function(){var t=this,e=this.trigger.searchQuery,n=this.getRemoteSearchEntry(),r=function(){t.initialize(),t.resetHighlightedOptionWhenNecessary(!0)};if((""===e||this.cacheOptions)&&n.isLoaded)return r();this.callLoadOptionsProp({action:ct,args:{searchQuery:e},isPending:function(){return n.isLoading},start:function(){n.isLoading=!0,n.isLoaded=!1,n.loadingError=""},succeed:function(i){n.isLoaded=!0,n.options=i,t.trigger.searchQuery===e&&r()},fail:function(t){n.loadingError=Tt(t)},end:function(){n.isLoading=!1}})},getRemoteSearchEntry:function(){var t=this,e=this.trigger.searchQuery,n=this.remoteSearch[e]||xt({},Ot(),{options:[]});if(this.$watch((function(){return n.options}),(function(){t.trigger.searchQuery===e&&t.initialize()}),{deep:!0}),""===e){if(Array.isArray(this.defaultOptions))return n.options=this.defaultOptions,n.isLoaded=!0,n;if(!0!==this.defaultOptions)return n.isLoaded=!0,n}return this.remoteSearch[e]||this.$set(this.remoteSearch,e,n),n},shouldExpand:function(t){return this.localSearch.active?t.isExpandedOnSearch:t.isExpanded},shouldOptionBeIncludedInSearchResult:function(t){return!!t.isMatched||(!(!t.isBranch||!t.hasMatchedDescendants||this.flattenSearchResults)||!(t.isRootNode||!t.parentNode.showAllChildrenOnSearch))},shouldShowOptionInMenu:function(t){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(t))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var t=this.appendToBody?this.$refs.portal.portalTarget:this,e=t.$refs.menu.$refs.menu;return e&&"#comment"!==e.nodeName?e:null},setCurrentHighlightedOption:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.menu.current;if(null!=r&&r in this.forest.nodeMap&&(this.forest.nodeMap[r].isHighlighted=!1),this.menu.current=t.id,t.isHighlighted=!0,this.menu.isOpen&&n){var i=function(){var n=e.getMenu(),r=n.querySelector('.vue-treeselect__option[data-id="'.concat(t.id,'"]'));r&&v(n,r)};this.getMenu()?i():this.$nextTick(i)}},resetHighlightedOptionWhenNecessary:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.menu.current;!t&&null!=e&&e in this.forest.nodeMap&&this.shouldShowOptionInMenu(this.getNode(e))||this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var t=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(t))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var t=this.visibleOptionIds.indexOf(this.menu.current)-1;if(-1===t)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[t]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var t=this.visibleOptionIds.indexOf(this.menu.current)+1;if(t===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[t]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var t=K()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(t))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),this.options||this.async||this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(t){var e;this.localSearch.active?(e=t.isExpandedOnSearch=!t.isExpandedOnSearch,e&&(t.showAllChildrenOnSearch=!0)):e=t.isExpanded=!t.isExpanded,e&&!t.childrenStates.isLoaded&&this.loadChildrenOptions(t)},buildForestState:function(){var t=this,e=z();this.forest.selectedNodeIds.forEach((function(t){e[t]=!0})),this.forest.selectedNodeMap=e;var n=z();this.multiple&&(this.traverseAllNodesByIndex((function(t){n[t.id]=Z})),this.selectedNodes.forEach((function(e){n[e.id]=et,t.flat||t.disableBranchNodes||e.ancestors.forEach((function(e){t.isSelected(e)||(n[e.id]=tt)}))}))),this.forest.checkedStateMap=n},enhancedNormalizer:function(t){return xt({},t,{},this.normalizer(t,this.getInstanceId()))},normalize:function(t,e,n){var r=this,o=e.map((function(t){return[r.enhancedNormalizer(t),t]})).map((function(e,o){var a=i()(e,2),s=a[0],u=a[1];r.checkDuplication(s),r.verifyNodeShape(s);var l=s.id,f=s.label,d=s.children,p=s.isDefaultExpanded,v=t===Q,m=v?0:t.level+1,g=Array.isArray(d)||null===d,y=!g,b=!!s.isDisabled||!r.flat&&!v&&t.isDisabled,w=!!s.isNew,x=r.matchKeys.reduce((function(t,e){return xt({},t,c()({},e,Et(s[e]).toLocaleLowerCase()))}),{}),_=v?x.label:t.nestedSearchLabel+" "+x.label,S=r.$set(r.forest.nodeMap,l,z());if(r.$set(S,"id",l),r.$set(S,"label",f),r.$set(S,"level",m),r.$set(S,"ancestors",v?[]:[t].concat(t.ancestors)),r.$set(S,"index",(v?[]:t.index).concat(o)),r.$set(S,"parentNode",t),r.$set(S,"lowerCased",x),r.$set(S,"nestedSearchLabel",_),r.$set(S,"isDisabled",b),r.$set(S,"isNew",w),r.$set(S,"isMatched",!1),r.$set(S,"isHighlighted",!1),r.$set(S,"isBranch",g),r.$set(S,"isLeaf",y),r.$set(S,"isRootNode",v),r.$set(S,"raw",u),g){var O,E=Array.isArray(d);r.$set(S,"childrenStates",xt({},Ot(),{isLoaded:E})),r.$set(S,"isExpanded","boolean"===typeof p?p:m=0&&i.top<=a||i.top<0&&i.bottom>0,l=c>o+bt,f=s>o+bt;u?"auto"!==t.openDirection?t.menu.placement=Ze[t.openDirection]:t.menu.placement=l||!f?"bottom":"top":t.closeMenu()}},setupMenuSizeWatcher:function(){var t=this.instance,e=t.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:M(e,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var t=this.instance,e=t.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:A(e,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){var t=arguments[0];return t("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[t("transition",{attrs:{name:"vue-treeselect__menu--transition"}},[this.renderMenu()])])}},en=tn,nn=Lt(en,Ge,Je,!1,null,null,null);nn.options.__file="src/components/Menu.vue";var rn=nn.exports,on=n(14),an=n.n(on);function sn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cn(t){for(var e=1;e=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},cd78:function(t,e,n){var r=n("e4ae"),i=n("f772"),o=n("656e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},cd9d:function(t,e){function n(t){return t}t.exports=n},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},cee4:function(t,e,n){"use strict";var r=n("c532"),i=n("1d2b"),o=n("0a06"),a=n("4a7b"),s=n("2444");function c(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=c(s);u.Axios=o,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),u.isAxiosError=n("5f02"),t.exports=u,t.exports.default=u},d1d6:function(t,e,n){!function(t,n){n(e)}(0,(function(t){"use strict";function e(t,e){let n=null;const r="number"==typeof e?e:function(t){const[e,n="ms"]=String(t).split(/(ms|s)/i);return Number(e)*{ms:1,s:1e3}[n]}(e),i=function(){for(var e=arguments.length,i=new Array(e),o=0;o{n=null,t.apply(this,i)};clearTimeout(n),n=setTimeout(a,r),n||t.apply(this,i)};return i.cancel=()=>{clearTimeout(n),n=null},i}function n(t){return t.map(t=>t.toLowerCase())}function r(t,e){const r=t?t["debounce-events"]:[];return r&&r.length>0?Array.isArray(r)?n(r):n(r.split(",")):n((i=e,Array.isArray(i)?i:null==i?[]:[i]));var i}function i(t){return""===t}function o(t,e){return"Enter"===t&&(!e.lock||e.unlock)}function a(t,e,n){return i(t)&&n.fireonempty&&("Enter"===e||" "===e)}var s={install(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.directive("debounce",function(){let{lock:t=!1,listenTo:n="keyup",defaultTime:s="300ms",fireOnEmpty:c=!1,cancelOnEmpty:u=!1,trim:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{bind(f,d,h){let{value:p,arg:v=s,modifiers:m}=d;const g=Object.assign({lock:t,trim:l,fireonempty:c,cancelonempty:u},m),y=r(h.data.attrs,n),b=e(t=>{p(t.target.value,t)},v);function w(t){const e=g.trim?t.target.value.trim():t.target.value;i(e)&&g.cancelonempty?b.cancel():o(t.key,g)||a(e,t.key,g)?(b.cancel(),p(t.target.value,t)):b(t)}y.forEach(t=>{f.addEventListener(t,w)})}}}(n))}};t.debounce=e,t.default=s,t.vue3Debounce=function(){let{lock:t=!1,listenTo:n="keyup",defaultTime:s="300ms",fireOnEmpty:c=!1,cancelOnEmpty:u=!1,trim:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{created(f,d,h){let{value:p,arg:v=s,modifiers:m}=d;const g=Object.assign({lock:t,trim:l,fireonempty:c,cancelonempty:u},m),y=r(h.props,n),b=e(t=>{p(t.target.value,t)},v);function w(t){const e=g.trim?t.target.value.trim():t.target.value;i(e)&&g.cancelonempty?b.cancel():o(t.key,g)||a(e,t.key,g)?(b.cancel(),p(t.target.value,t)):b(t)}y.forEach(t=>{f.addEventListener(t,w)})}}},Object.defineProperty(t,"__esModule",{value:!0})}))},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d4c0:function(t,e,n){var r=n("0d58"),i=n("2621"),o=n("52a7");t.exports=function(t){var e=r(t),n=i.f;if(n){var a,s=n(t),c=o.f,u=0;while(s.length>u)c.call(t,a=s[u++])&&e.push(a)}return e}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),a=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},db2a:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}t.exports=o},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e50d:function(t,e,n){var r=n("7037")["default"];function i(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e630:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("d2d5"),i=n.n(r),o=n("db2a");function a(t,e){if(t){if("string"==typeof t)return Object(o["a"])(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?i()(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o["a"])(t,e):void 0}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},ebfd:function(t,e,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),a=n("d9f6").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},d=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},h=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t,e,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},f28c:function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function c(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}})();var u,l=[],f=!1,d=-1;function h(){f&&u&&(f=!1,u.length?l=u.concat(l):d=-1,l.length&&p())}function p(){if(!f){var t=s(h);f=!0;var e=l.length;while(e){u=l,l=[];while(++d1)for(var n=1;n0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f559:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];r(r.P+r.F*n("5147")(a),"String",{startsWith:function(t){var e=o(this,t,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f6b4:function(t,e,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},ffc1:function(t,e,n){var r=n("5ca1"),i=n("504c")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},ffd6:function(t,e,n){var r=n("3729"),i=n("1310"),o="[object Symbol]";function a(t){return"symbol"==typeof t||i(t)&&r(t)==o}t.exports=a}}]); \ No newline at end of file diff --git a/bundle/Resources/public/js/remotemedia.js b/bundle/Resources/public/js/remotemedia.js index fde5f029..b0a462cb 100644 --- a/bundle/Resources/public/js/remotemedia.js +++ b/bundle/Resources/public/js/remotemedia.js @@ -1,2 +1 @@ -(function(e){function t(t){for(var i,o,r=t[0],l=t[1],c=t[2],f=0,u=[];f dispatchChangeEvent(this.config.inputFields.altText)",arg:"500ms"}],staticClass:"media-alttext data",attrs:{type:"text",name:this.config.inputFields.altText},domProps:{value:t.selectedImage.alternateText},on:{input:function(e){e.target.composing||t.$set(t.selectedImage,"alternateText",e.target.value)}}})]),i("div",{staticClass:"ngremotemedia-caption"},[i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_caption)+"\n "),i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_caption_info}})]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImage.caption,expression:"selectedImage.caption"},{name:"debounce",rawName:"v-debounce:500ms",value:function(){return t.dispatchChangeEvent(e.config.inputFields.caption)},expression:"() => dispatchChangeEvent(this.config.inputFields.caption)",arg:"500ms"}],staticClass:"media-caption data",attrs:{type:"text",name:this.config.inputFields.caption},domProps:{value:t.selectedImage.caption},on:{input:function(e){e.target.composing||t.$set(t.selectedImage,"caption",e.target.value)}}})]),i("div",{staticClass:"ngremotemedia-alttext-override"},[i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_alternate_text_override)+"\n "),i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_alternate_text_override_info}})]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImage.altTextOverride,expression:"selectedImage.altTextOverride"},{name:"debounce",rawName:"v-debounce:500ms",value:function(){return t.dispatchChangeEvent(e.config.inputFields.altTextOverride)},expression:"() => dispatchChangeEvent(this.config.inputFields.altTextOverride)",arg:"500ms"}],staticClass:"media-alttext-override data",attrs:{type:"text",name:this.config.inputFields.altTextOverride,placeholder:t.selectedImage.alternateText},domProps:{value:t.selectedImage.altTextOverride},on:{input:function(e){e.target.composing||t.$set(t.selectedImage,"altTextOverride",e.target.value)}}})]),i("div",{staticClass:"ngremotemedia-caption-override"},[i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_caption_override)+"\n "),i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_caption_override_info}})]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImage.captionOverride,expression:"selectedImage.captionOverride"},{name:"debounce",rawName:"v-debounce:500ms",value:function(){return t.dispatchChangeEvent(e.config.inputFields.captionOverride)},expression:"() => dispatchChangeEvent(this.config.inputFields.captionOverride)",arg:"500ms"}],staticClass:"media-caption-override data",attrs:{type:"text",name:this.config.inputFields.captionOverride,placeholder:t.selectedImage.caption},domProps:{value:t.selectedImage.captionOverride},on:{input:function(e){e.target.composing||t.$set(t.selectedImage,"captionOverride",e.target.value)}}})]),i("div",{staticClass:"ngremotemedia-tags"},[i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_tags)+"\n "),i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_tags_info}})]),i("v-select",{attrs:{options:t.config.allowedTags.length>0?t.config.allowedTags:t.allTags,multiple:"",taggable:0===t.config.allowedTags.length},on:{input:t.handleTagsInput},model:{value:t.selectedImage.tags,callback:function(e){t.$set(t.selectedImage,"tags",e)},expression:"selectedImage.tags"}}),i("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedImage.tags,expression:"selectedImage.tags"}],staticClass:"ngremotemedia-newtags",attrs:{hidden:"",name:this.config.inputFields.tags,multiple:"multiple"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));t.$set(t.selectedImage,"tags",e.target.multiple?a:a[0])}}},t._l(t.allTags,(function(e){return i("option",{key:e},[t._v(t._s(e))])})),0)],1),i("div",{staticClass:"ngremotemedia-watermark-text"},[i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_watermark_text)+"\n "),i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_watermark_text_info}})]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImage.watermarkText,expression:"selectedImage.watermarkText"},{name:"debounce",rawName:"v-debounce:500ms",value:function(){return t.dispatchChangeEvent(e.config.inputFields.watermarkText)},expression:"() => dispatchChangeEvent(this.config.inputFields.watermarkText)",arg:"500ms"}],staticClass:"media-watermarktext data",attrs:{type:"text",name:this.config.inputFields.watermarkText},domProps:{value:t.selectedImage.watermarkText},on:{input:function(e){e.target.composing||t.$set(t.selectedImage,"watermarkText",e.target.value)}}})]),this.isEmbed?i("div",{staticClass:"ngremotemedia-css-class"},[i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_css_class)+"\n "),this.config.translations.preview_css_class_info?i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_css_class_info}}):t._e()]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedImage.cssClass,expression:"selectedImage.cssClass"},{name:"debounce",rawName:"v-debounce:500ms",value:function(){return t.dispatchChangeEvent(e.config.inputFields.cssClass)},expression:"() => dispatchChangeEvent(this.config.inputFields.cssClass)",arg:"500ms"}],staticClass:"media-css-class data",attrs:{type:"text",name:this.config.inputFields.cssClass},domProps:{value:t.selectedImage.cssClass},on:{input:function(e){e.target.composing||t.$set(t.selectedImage,"cssClass",e.target.value)}}})]):t._e(),this.isEmbed&&this.hasVariations?i("div",{staticClass:"ngremotemedia-selected-variation"},[i("input",{attrs:{type:"hidden",name:this.config.inputFields.selectedVariation},domProps:{value:t.selectedImage.selectedVariation}}),i("span",{staticClass:"help-block description"},[t._v("\n "+t._s(this.config.translations.preview_selected_variation)+"\n "),this.config.translations.preview_selected_variation_info?i("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:this.config.translations.preview_selected_variation_info}}):t._e()]),i("v-select",{attrs:{options:this.variationOptions},on:{input:function(){return t.dispatchChangeEvent(e.config.inputFields.selectedVariation)}},model:{value:t.selectedImage.selectedVariation,callback:function(e){t.$set(t.selectedImage,"selectedVariation",e)},expression:"selectedImage.selectedVariation"}})],1):t._e()])])]):i("div",[i("i",[t._v(t._s(this.config.translations.interactions_no_media_selected))])])}),p=[],h=(a("5df3"),a("4f7f"),a("75fc")),g=(a("28a5"),a("01c8")),m=function(e){var t=[];for(var a in e)t.push(encodeURIComponent(a)+"="+encodeURIComponent(e[a]));return t.join("&")},v=function(e){return e[0].toUpperCase()+e.slice(1)},b=function(e){var t=e.split("-"),a=Object(g["a"])(t),i=a[0],s=a.slice(1);return[i].concat(Object(h["a"])(s.map(v))).join("")},_=function(e,t){var a=Math.pow(10,t);return parseFloat(Math.round(e*a)/a).toFixed(t)},w={B:"KB",KB:"MB",MB:"GB",GB:"TB"},C=function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"B",i=w[a];return!i||t<1024?"".concat(_(t,2)," ").concat(a):e(t/1024,i)},y=a("4a7a"),x=a.n(y),O={name:"Preview",props:["config","fieldId","selectedImage"],data:function(){return{allTags:[]}},components:{"v-select":x.a},computed:{nonImagePreviewClass:function(){return"video"===this.selectedImage.type?"ng-video":"ng-book"},formattedSize:function(){return C(this.selectedImage.size)},isEmbed:function(){return"embed"===this.config.mode},hasVariations:function(){return this.config.allVariations.length>0},variationOptions:function(){return this.config.allVariations.map((function(e){return{label:e,value:e}}))}},methods:{handleTagsInput:function(e){this.allTags=Object(h["a"])(new Set([].concat(Object(h["a"])(this.allTags),Object(h["a"])(e)))),this.dispatchChangeEvent(this.config.inputFields.tags)},dispatchChangeEvent:function(e){this.$emit("preview-change",e)}},mounted:function(){this.allTags=Object(h["a"])(this.selectedImage.tags)},watch:{selectedImage:function(){this.allTags=Object(h["a"])(this.selectedImage.tags)}}},F=O,I=(a("1cd1"),a("2877")),V=Object(I["a"])(F,u,p,!1,null,"cd63af0a",null),k=V.exports,j=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("modal",{attrs:{title:this.config.translations.browse_title},on:{close:function(t){return e.$emit("close")}}},[a("media-facets",{attrs:{config:e.config,tags:e.tags,types:e.types,visibilities:e.visibilities,facets:e.facets,"facets-loading":e.facetsLoading},on:{change:e.handleFacetsChange}}),a("media-gallery",{attrs:{translations:e.config.translations,media:e.media,canLoadMore:e.canLoadMore,selectedMediaId:e.selectedMediaId,loading:e.loading},on:{loadMore:e.handleLoadMore,"media-selected":function(t){return e.$emit("media-selected",t)}}}),e.loading?a("i",{staticClass:"ng-icon ng-spinner"}):e._e()],1)},T=[],S=a("768b"),M=(a("ffc1"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mediaFacets"},[a("div",{staticClass:"body"},[e.types.length>1?a("div",{staticClass:"form-field"},[a("label",{attrs:{for:"type"}},[e._v(e._s(this.config.translations.browse_select_type))]),a("v-select",{attrs:{options:e.types,label:"name",reduce:function(e){return e.id},placeholder:e.facetsLoading?this.config.translations.browse_loading_types:this.config.translations.browse_all_types},on:{input:e.handleTypeChange},model:{value:e.selectedType,callback:function(t){e.selectedType=t},expression:"selectedType"}})],1):e._e(),e.folders&&!this.config.folder?a("div",{staticClass:"form-field"},[a("label",{attrs:{for:"folder"}},[e._v(e._s(this.config.translations.browse_select_folder))]),a("treeselect",{attrs:{multiple:!1,options:e.folders,"load-options":e.loadSubFolders,value:this.config.parentFolder?this.config.parentFolder.id:"",placeholder:e.facetsLoading?this.config.translations.browse_loading_folders:this.config.translations.browse_all_folders,disabled:e.facetsLoading,clearable:!0,beforeClearAll:e.clearFolderField,defaultExpandLevel:1},on:{input:e.handleFolderChange},model:{value:e.selectedFolder,callback:function(t){e.selectedFolder=t},expression:"selectedFolder"}})],1):e._e(),e.tags.length>1?a("div",{staticClass:"form-field"},[a("label",{attrs:{for:"tag"}},[e._v(e._s(this.config.translations.browse_select_tag))]),a("v-select",{attrs:{options:e.tags,label:"name",reduce:function(e){return e.id},placeholder:e.facetsLoading?this.config.translations.browse_loading_tags:this.config.translations.browse_all_tags,disabled:e.facetsLoading},on:{input:e.handleTagChange},model:{value:e.tag,callback:function(t){e.tag=t},expression:"tag"}})],1):e._e(),e.visibilities.length>1?a("div",{staticClass:"form-field"},[a("label",{attrs:{for:"visibilities"}},[e._v(e._s(this.config.translations.browse_select_visibility))]),a("v-select",{attrs:{options:e.visibilities,label:"name",reduce:function(e){return e.id},placeholder:e.facetsLoading?this.config.translations.browse_loading_visibilities:this.config.translations.browse_all_visibilities,disabled:e.facetsLoading},on:{input:e.handleVisibilityChange},model:{value:e.visibility,callback:function(t){e.visibility=t},expression:"visibility"}})],1):e._e(),a("div",{staticClass:"search-wrapper"},[a("span",{staticClass:"search-label"},[e._v(e._s(this.config.translations.search))]),a("div",{staticClass:"search"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],attrs:{type:"text",placeholder:this.config.translations.search_placeholder},domProps:{value:e.query},on:{keyup:e.handleQueryChange,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),null(t))},input:function(t){t.target.composing||(e.query=t.target.value)}}})])])])])}),E=[],$="all",P="image",z="video",R="raw",L="(all)",A="(root)",U="all",N=a("ca17"),D=a.n(N),B=(a("542c"),{name:"MediaFacets",props:["config","tags","types","visibilities","facets","facetsLoading"],data:function(){return{TYPE_ALL:$,TYPE_IMAGE:P,TYPE_VIDEO:z,TYPE_RAW:R,FOLDER_ALL:L,FOLDER_ROOT:A,TAG_ALL:U,folders:[{id:this.config.parentFolder?this.config.parentFolder.id:A,label:this.config.parentFolder?this.config.parentFolder.label:A,children:null}],selectedFolder:this.facets.folder,selectedType:this.facets.type,query:this.facets.query,tag:this.facets.tag,visibility:this.facets.visibility}},methods:{clearFolderField:function(){return!this.config.parentFolder||(this.selectedFolder=this.config.parentFolder.id,!1)},handleTypeChange:function(e){this.$emit("change",{type:e})},handleFolderChange:function(e){this.selectedFolder=e,"undefined"!==typeof e&&e||(this.selectedFolder=this.config.parentFolder?this.config.parentFolder.id:e),this.$emit("change",{folder:this.selectedFolder})},handleQueryChange:function(){this.$emit("change",{query:this.query})},handleTagChange:function(){this.$emit("change",{tag:this.tag})},handleVisibilityChange:function(){this.$emit("change",{visibility:this.visibility})},loadSubFolders:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var a,i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.parentNode,i={folder:"(root)"===a.id?"":a.id},e.next=4,fetch(this.config.paths.load_folders+"?"+m(i));case 4:return s=e.sent,e.next=7,s.json();case 7:a.children=e.sent,t.callback();case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},components:{"v-select":x.a,treeselect:D.a}}),q=B,G=(a("c345"),Object(I["a"])(q,M,E,!1,null,"278bb214",null)),W=G.exports,Y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"media-gallery"},[a("div",{class:e.loading?"items loading":"items"},[e.media.length?e._e():a("div",{staticClass:"folder-empty"},[a("span",{staticClass:"ngrm-icon-folder"}),a("span",[a("strong",[e._v(e._s(this.translations.media_gallery_empty_folder))]),e._v(e._s(this.translations.media_gallery_upload_media))])]),e._l(e.media,(function(t){return a("div",{key:t.id,staticClass:"media",class:{selected:t.remoteId===e.selectedMediaId}},["image"===t.type||"video"===t.type&&""!==t.browseUrl?a("div",{staticClass:"media-container"},[a("img",{staticClass:"img",attrs:{src:t.browseUrl,alt:t.filename}}),a("Label",{staticClass:"filename"},[e._v(e._s(t.filename))]),a("div",{staticClass:"size-description"},["public"===t.visibility?a("i",{staticClass:"fa fa-solid fa-globe"},[e._v("  ")]):e._e(),"private"===t.visibility?a("i",{staticClass:"fa fa-eye-slash"},[e._v("  ")]):e._e(),"protected"===t.visibility?a("i",{staticClass:"fa fa-lock"},[e._v("  ")]):e._e(),a("span",{staticClass:"format"},[e._v(e._s(t.format))]),e._v(" - "+e._s(t.width)+" x "+e._s(t.height)+" - "+e._s(e.showFilesize(t))+"\n ")])],1):a("div",{staticClass:"media-container"},[a("span",{staticClass:"file-placeholder"},[a("span",{staticClass:"icon-doc"},["pdf"===t.format?a("i",{staticClass:"fa fa-file-pdf-o"}):"zip"===t.format||"rar"===t.format?a("i",{staticClass:"fa fa-file-archive-o"}):"ppt"===t.format||"pptx"===t.format?a("i",{staticClass:"fa fa-file-powerpoint-o"}):"doc"===t.format||"docx"===t.format?a("i",{staticClass:"fa fa-file-word-o"}):"xls"===t.format||"xlsx"===t.format?a("i",{staticClass:"fa fa-file-excel-o"}):"aac"===t.format||"aiff"===t.format||"amr"===t.format||"flac"===t.format||"m4a"===t.format||"mp3"===t.format||"ogg"===t.format||"opus"===t.format||"wav"===t.format?a("i",{staticClass:"fa fa-file-audio-o"}):"txt"===t.format?a("i",{staticClass:"fa fa-lg fa-file-text"}):a("i",{staticClass:"fa fa-file"})])]),a("Label",{staticClass:"filename"},[e._v(e._s(t.filename))]),a("div",{staticClass:"size-description"},["public"===t.visibility?a("i",{staticClass:"fa fa-solid fa-globe"},[e._v("  ")]):e._e(),"private"===t.visibility?a("i",{staticClass:"fa fa-eye-slash"},[e._v("  ")]):e._e(),"protected"===t.visibility?a("i",{staticClass:"fa fa-lock"},[e._v("  ")]):e._e(),a("span",{staticClass:"format"},[e._v(e._s(t.format))]),e._v(" - "+e._s(e.showFilesize(t))+"\n ")])],1),a("button",{staticClass:"btn btn-blue select-btn",attrs:{type:"button"},on:{click:function(a){return e.$emit("media-selected",t)}}},[e._v(e._s(e._self.translations.media_gallery_select))])])}))],2),e.canLoadMore?a("div",{staticClass:"load-more-wrapper"},[a("button",{staticClass:"btn btn-blue",attrs:{type:"button"},on:{click:function(t){return e.$emit("loadMore")}}},[e._v(e._s(this.translations.media_gallery_load_more))])]):e._e()])},J=[],K=a("94df"),Q=a.n(K),H={name:"MediaGallery",props:["translations","media","canLoadMore","onLoadMore","selectedMediaId","loading"],methods:{showFilesize:function(e){return Q()(e.size)}}},X=H,Z=(a("bdf2"),Object(I["a"])(X,Y,J,!1,null,"5aa52c90",null)),ee=Z.exports,te=a("b012"),ae=a.n(te),ie=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ngrm-overlay"},[a("div",{staticClass:"media-modal"},[a("div",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n "),a("span",{staticClass:"close",on:{click:e.close}},[a("span",{staticClass:"ngrm-icon-cancel"})])]),a("div",{staticClass:"body"},[e._t("default")],2)])])},se=[],ne={name:"Modal",props:["title"],methods:{close:function(){this.$emit("close")}}},oe=ne,re=(a("7397"),a("a301"),Object(I["a"])(oe,ie,se,!1,null,"03fd1c54",null)),le=re.exports;function ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function de(e){for(var t=1;t0&&void 0!==p[0]?p[0]:{patch:!1},a=t.patch,this.loading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController,i={limit:fe,offset:a?this.media.length:0},this.facets.query&&(i["query"]=this.facets.query),this.config.allowedTypes.length>0&&(i["type"]=this.config.allowedTypes),this.facets.type&&(i["type"]=this.facets.type),this.facets.folder&&(i["folder"]=this.facets.folder===A?"":this.facets.folder),this.config.allowedTags.length>0&&(i["tag"]=this.config.allowedTags),this.facets.tag&&(i["tag"]=this.facets.tag),this.config.allowedVisibilities.length>0&&(i["visibility"]=this.config.allowedVisibilities),this.facets.visibility&&(i["visibility"]=this.facets.visibility),a&&this.nextCursor&&(i["next_cursor"]=this.nextCursor),s="",n=0,o=Object.entries(i);n-1:e.newSelection},on:{change:function(a){var i=e.newSelection,s=a.target,n=!!s.checked;if(Array.isArray(i)){var o=t,r=e._i(i,o);s.checked?r<0&&(e.newSelection=i.concat([o])):r>-1&&(e.newSelection=i.slice(0,r).concat(i.slice(r+1)))}else e.newSelection=n}}}),a("label",{attrs:{for:t}},[a("span",{staticClass:"name"},[e._v(e._s(t))]),a("span",{staticClass:"formatted-size"},[e._v(e._s(e.formattedSize(t)))])]),e.isVariationSelectable(t)?e._e():a("div",{staticClass:"legend-not-selectable"},[a("span",[e._v(e._s(e._self.translations.crop_media_too_small))])])])})),0),a("div",{staticClass:"selectedVariations"},[a("ul",e._l(e.selectedVariations,(function(t){return a("li",{key:t,class:{set:!!e.allVariationValues[t],selected:e.selectedVariation===t,disabled:!e.isVariationSelectable(t)},on:{click:function(a){return e.handleVariationClicked(t)}}},[a("div",[a("span",{staticClass:"name"},[e._v(e._s(t))]),a("span",{staticClass:"formatted-size"},[e._v(e._s(e.formattedSize(t)))])]),e.addingVariations?e._e():a("a",[a("span",{staticClass:"circle-orange"}),a("span",{staticClass:"ngrm-icon-trash",on:{click:function(a){return e.removeItem(t)}}})])])})),0)])])},_e=[],we=(a("7f7f"),{name:"CropSizes",props:["translations","availableVariations","allVariationValues","imageSize","selectedVariation"],data:function(){return{newSelection:[],addingVariations:!1}},computed:{unselectedVariations:function(){var e=Object.keys(this.availableVariations),t=Object.keys(this.allVariationValues);return e.difference(t)},selectedVariations:function(){return Object.getOwnPropertyNames(this.allVariationValues)}},methods:{handleAddCropSize:function(){this.addingVariations=!0},handleCancel:function(){this.addingVariations=!1,this.newSelection=[]},handleAdd:function(){this.$emit("addedVariations",this.newSelection),this.newSelection=[],this.addingVariations=!1},removeItem:function(e){this.$emit("removedVariation",e)},formattedSize:function(e){return"".concat(this.availableVariations[e][0]," x ").concat(this.availableVariations[e][1])},isVariationSelectable:function(e){var t=Object(S["a"])(this.availableVariations[e],2),a=t[0],i=t[1];return this.imageSize.width>=a&&this.imageSize.height>=i},handleVariationClicked:function(e){this.isVariationSelectable(e)&&this.$emit("selected",e)}}}),Ce=we,ye=(a("bdd7"),Object(I["a"])(Ce,be,_e,!1,null,"ad171770",null)),xe=ye.exports,Oe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"crop"},[a("div",{ref:"cropper",staticClass:"cropper",style:e.cropperStyle},[a("img",{ref:"image",attrs:{src:e.src}}),a("div",{ref:"buttons",staticClass:"buttons",style:e.applyButtonStyle},[a("button",{staticClass:"btn btn-blue",attrs:{type:"button"},on:{click:e.handleReset}},[a("span",{staticClass:"ngrm-icon-ccw"}),a("span",[e._v(e._s(this.translations.crop_reset))])]),a("button",{staticClass:"btn btn-blue",attrs:{type:"button"},on:{click:e.handleApply}},[a("span",{staticClass:"ngrm-icon-ok"}),a("span",[e._v(e._s(this.translations.crop_apply))])])])]),a("div",[a("h4",[e._v(e._s(this.translations.crop_preview))]),a("div",{ref:"preview",staticClass:"preview"})])])},Fe=[],Ie=a("5435"),Ve={name:"Crop",props:["translations","value","variation","src","imageSize"],mounted:function(){this.setCropper()},beforeDestroy:function(){this.destroyCropper()},data:function(){return{crop:{},cropper:null}},methods:{setCropper:function(){var e,t=this.value||{},a=t.x,i=t.y,s=t.w,n=t.h,o={x:a,y:i,width:s,height:n},r=Object(S["a"])(this.variation,2),l=r[0],c=r[1],d=l>0&&c>0?l/c:void 0;this.destroyCropper();this.$refs.cropper.clientWidth,this.imageSize.width;this.cropper=new Ie["a"](this.$refs.image,(e={viewMode:2,dragMode:"none",autoCrop:!0,data:o,aspectRatio:d,guides:!0,movable:!1,rotatable:!1},Object(f["a"])(e,"guides",!1),Object(f["a"])(e,"center",!1),Object(f["a"])(e,"zoomable",!1),Object(f["a"])(e,"scalable",!0),Object(f["a"])(e,"minCropBoxWidth",50),Object(f["a"])(e,"minCropBoxHeight",50),Object(f["a"])(e,"crop",this.handleCrop),Object(f["a"])(e,"preview",this.$refs.preview),e)),this.cropper.setData(o)},handleCrop:function(e){this.crop=this.cropper.getData(!0)},destroyCropper:function(){this.cropper&&this.cropper.destroy()},handleReset:function(){this.cropper.reset()},handleApply:function(){var e=this.cropper.getData(!0),t=e.x,a=e.y,i=e.width,s=e.height;this.$emit("change",{x:t,y:a,w:i,h:s})}},computed:{applyButtonStyle:function(){var e=this.crop,t=e.x,a=e.y,i=e.width,s=e.height,n=this.$refs.buttons?this.$refs.buttons.clientWidth:0,o=this.$refs.cropper?this.$refs.cropper.clientWidth/this.imageSize.width:1;return{top:"".concat((a+s)*o+10,"px"),left:"".concat((t+i)*o-n-1,"px")}},cropperStyle:function(){var e=this.imageSize.height/this.imageSize.width*100;return{"padding-bottom":"".concat(e,"%"),height:"0px",width:"100%"}}}},ke=Ve,je=(a("c66d"),Object(I["a"])(ke,Oe,Fe,!1,null,"5f73791e",null)),Te=je.exports,Se=function(e){return function(t){return Object.keys(t).reduce((function(a,i){return e(t[i],i)&&(a[i]=t[i]),a}),{})}},Me=function(e){return function(t){return!e(t)}},Ee=function(e){return function(t){return e===t}},$e=function(e){return!!e},Pe=Me(Ee(void 0));function ze(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function Re(e){for(var t=1;t1?a("v-select",{attrs:{options:e.visibilities,label:"name",reduce:function(e){return e.id},clearable:!1},model:{value:e.visibility,callback:function(t){e.visibility=t},expression:"visibility"}}):e._e(),a("input",{directives:[{name:"model",rawName:"v-model",value:e.overwrite,expression:"overwrite"}],attrs:{type:"checkbox",id:"ngrm-upload-overwrite"},domProps:{checked:Array.isArray(e.overwrite)?e._i(e.overwrite,null)>-1:e.overwrite},on:{change:function(t){var a=e.overwrite,i=t.target,s=!!i.checked;if(Array.isArray(a)){var n=null,o=e._i(a,n);i.checked?o<0&&(e.overwrite=a.concat([n])):o>-1&&(e.overwrite=a.slice(0,o).concat(a.slice(o+1)))}else e.overwrite=s}}}),a("label",{attrs:{for:"ngrm-upload-overwrite"}},[e._v(e._s(this.config.translations.upload_checkbox_overwrite))]),a("button",{staticClass:"btn btn-blue",attrs:{type:"button",disabled:""===e.filename||""===e.visibility},on:{click:e.upload}},[e._v("\n "+e._s(this.config.translations.upload_button_upload)+"\n ")])],1)],1),e.loading?a("i",{staticClass:"ng-icon ng-spinner"}):e._e()])},Be=[],qe=(a("a481"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"folder-gallery"},[a("div",{class:e.loading?"items loading":"items"},[a("div",{staticClass:"breadcrumbs"},[a("span",[e._v(e._s(this.config.translations.upload_breadcrumbs_info)+" ")]),e._l(e.breadcrumbs,(function(t,i){return a("span",{key:i},[0!==i?a("span",[e._v(" / ")]):e._e(),i!==e.breadcrumbs.length-1?a("a",{attrs:{href:"javascript:void(0);"},on:{click:function(a){return e.openFolder(t.id)}}},[e._v("\n "+e._s(t.label)+"\n ")]):a("span",[e._v(e._s(t.label))])])}))],2),e.folders.length>0||e.allowCreate?a("div",{staticClass:"info"},[a("i",{staticClass:"fa fa-info-circle"}),e._v("\n "+e._s(this.config.translations.upload_info_text)+"\n ")]):e._e(),e._l(e.folders,(function(t){return a("div",{key:t.id,staticClass:"media",class:{selected:t.id===e._self.folder}},[a("div",{staticClass:"media-container",on:{dblclick:function(a){return e.openFolder(t.id)}}},[e._m(0,!0),a("Label",{staticClass:"filename"},[e._v(e._s(t.label))])],1),a("button",{staticClass:"btn btn-blue select-btn",attrs:{type:"button"},on:{click:function(a){return e.$emit("select",t.id)}}},[e._v("\n "+e._s(e._self.config.translations.upload_button_select)+"\n ")])])})),e.allowCreate?a("div",{staticClass:"media new-folder"},[a("div",{staticClass:"media-container"},[e._m(1),a("input",{directives:[{name:"model",rawName:"v-model",value:e.newFolder,expression:"newFolder"}],attrs:{type:"text",placeholder:this.config.translations.upload_placeholder_new_folder},domProps:{value:e.newFolder},on:{input:function(t){t.target.composing||(e.newFolder=t.target.value)}}})]),a("button",{staticClass:"btn btn-blue select-btn",attrs:{type:"button",disabled:null===e.newFolder},on:{click:e.createNewFolder}},[e._v("\n "+e._s(this.config.translations.upload_button_create)+"\n ")])]):e._e()],2),e.loading?a("i",{staticClass:"ng-icon ng-spinner"}):e._e()])}),Ge=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",{staticClass:"file-placeholder"},[a("span",{staticClass:"icon-doc"},[a("i",{staticClass:"fa fa-folder"})])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",{staticClass:"file-placeholder"},[a("span",{staticClass:"icon-doc"},[a("i",{staticClass:"fa fa-folder"})])])}],We=a("bc3a"),Ye=a.n(We),Je={name:"SelectFolder",props:["config","selectedFolder"],data:function(){return{folders:[],newFolder:null,breadcrumbs:[],loading:!1,allowCreate:!0,folder:this.selectedFolder}},methods:{openFolder:function(e){this.folder=e,this.$emit("change",this.folder),this.loadSubFolders(e)},loadSubFolders:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var a,i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,a=this.config.paths.load_folders,t&&(i={folder:t===A?"":t},a+="?"+m(i)),e.next=5,fetch(a);case 5:return s=e.sent,e.next=8,s.json();case 8:this.folders=e.sent,this.generateBreadcrumbs(t),this.newFolder=null,this.loading=!1;case 12:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),generateBreadcrumbs:function(e){var t=this;this.breadcrumbs=[];var a={id:null,label:this.config.translations.upload_root_folder};if(null!==e){var i=e.split("/"),s=[],n=[];this.config.parentFolder&&(n=this.config.parentFolder.id.split("/"),a={id:this.config.parentFolder.id,label:this.config.parentFolder.label}),this.config.folder&&(n=this.config.folder.id.split("/"),a={id:this.config.folder.id,label:this.config.folder.label}),this.breadcrumbs.push(a),i.forEach((function(e,a){s.push(e),n.indexOf(e)<0&&t.breadcrumbs.push({id:s.join("/"),label:e})}))}else this.breadcrumbs.push(a)},createNewFolder:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,t=new FormData,this.folder&&t.append("parent",this.folder),t.append("folder",this.newFolder),e.next=6,Ye.a.post(this.config.paths.create_folder,t);case 6:this.folders.push({id:null!==this.folder?this.folder+"/"+this.newFolder:this.newFolder,label:this.newFolder}),this.newFolder=null,this.loading=!1;case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},created:function(){if(this.config.folder)return e=this.config.folder.id,this.allowCreate=!1,this.folder=e,this.$emit("change",this.folder),void this.generateBreadcrumbs(e);var e=null;this.config.parentFolder&&(e=this.config.parentFolder.id),this.openFolder(e)}},Ke=Je,Qe=(a("85ab"),Object(I["a"])(Ke,qe,Ge,!1,null,"c53732c8",null)),He=Qe.exports,Xe={name:"UploadModal",props:["config","file","visibilities"],data:function(){return{loading:!1,selectedFolder:"",filename:this.file.name,visibility:this.visibilities.length>0?this.visibilities[0].id:"",overwrite:!1,error:"",existingResourceButton:!1,existingResource:null}},components:{"select-folder":He,modal:le,"v-select":x.a},methods:{handleFolderChange:function(e){this.selectedFolder=e},upload:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t,a,i,s,n,o,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(this.loading=!0,t=new FormData,t.append("file",this.file),t.append("filename",this.filename),t.append("folder",this.selectedFolder),t.append("overwrite",this.overwrite),t.append("visibility",this.visibility),t.append("hide_filename",this.config.hideFilename),a=0,i=Object.entries(this.config.uploadContext);a0&&-1===r.config.allowedTypes.indexOf(e.data.type)?(r.error=r.config.translations.upload_error_unsupported_resource_type+r.config.allowedTypes.join(", "),r.loading=!1):r.$emit("uploaded",e.data)})).catch((function(e){409===e.response.status?(r.error=r.config.folderScopedUploads&&r.selectedFolder?r.config.translations.upload_error_existing_resource_in_folder.replace("%folder%",r.selectedFolder):r.config.translations.upload_error_existing_resource,r.existingResourceButton=!0,r.existingResource=e.response.data,r.loading=!1):(r.error=e.response.data.detail?e.response.data.detail:"Error "+e.response.status+" - "+e.response.statusText,r.loading=!1)}));case 11:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},watch:{visibilities:function(){this.visibility=this.visibilities.length>0?this.visibilities[0].id:""}}},Ze=Xe,et=(a("9be0"),Object(I["a"])(Ze,De,Be,!1,null,"97dbe76a",null)),tt=et.exports;function at(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function it(e){for(var t=1;t0},stringifiedVariations:function(){return JSON.stringify(Se($e)(this.selectedImage.variations))}},data:function(){return{mediaModalOpen:!1,cropModalOpen:!1,uploadModalOpen:!1,types:[],folders:[],tags:[],visibilities:[],facetsLoading:!0,newFile:null}},methods:{dispatchVanillaChangeEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"modal";this.$nextTick((function(){this.$el.dispatchEvent(new CustomEvent("ngrm-change",{detail:{inputFields:this.config.inputFields,selectedImage:this.selectedImage,fieldId:this.fieldId,changedField:e},bubbles:!0}))}))},prepareDomForModal:function(){var e=document.querySelector(".ez-page-builder-wrapper");e&&(e.style.transform="none")},resetDomAfterModal:function(){var e=document.querySelector(".ez-page-builder-wrapper");e&&e.removeAttribute("style")},handleMediaModalClose:function(){this.mediaModalOpen=!1,this.resetDomAfterModal(),this.dispatchVanillaChangeEvent()},handleCropModalClose:function(){this.cropModalOpen=!1,this.resetDomAfterModal(),this.dispatchVanillaChangeEvent()},handleUploadModalClose:function(){this.uploadModalOpen=!1,this.dispatchVanillaChangeEvent()},handleMediaSelected:function(e){this.selectedImage={id:e.remoteId,name:e.filename,type:e.type,format:e.format,url:e.url,previewUrl:e.previewUrl,browseUrl:e.browseUrl,alternateText:e.altText,caption:e.caption,watermarkText:this.selectedImage.watermarkText,altTextOverride:"",captionOverride:"",tags:e.tags,size:e.size,variations:{},height:e.height,width:e.width,selectedVariation:null,cssClass:""},this.mediaModalOpen=!1,this.dispatchVanillaChangeEvent()},handleVariationCropChange:function(e){this.selectedImage=it({},this.selectedImage,{variations:it({},this.selectedImage.variations,{},e)}),this.dispatchVanillaChangeEvent()},handleResourceUploaded:function(e){this.selectedImage={id:e.remoteId,name:e.filename,type:e.type,format:e.format,url:e.url,previewUrl:e.previewUrl,browseUrl:e.browseUrl,alternateText:e.altText,caption:e.caption,watermarkText:this.selectedImage.watermarkText,altTextOverride:"",captionOverride:"",tags:e.tags,size:e.size,variations:{},height:e.height,width:e.width,selectedVariation:null,cssClass:""},this.uploadModalOpen=!1,this.dispatchVanillaChangeEvent()},handleCropClicked:function(){this.cropModalOpen=!0,this.prepareDomForModal()},handleRemoveMediaClicked:function(){this.selectedImage={id:"",name:"",type:"image",format:"",url:"",previewUrl:"",browseUrl:"",alternateText:"",caption:"",watermarkText:this.selectedImage.watermarkText,altTextOverride:"",captionOverride:"",tags:[],size:0,variations:{},height:0,width:0,selectedVariation:null,cssClass:""},this.config.disableUpload||(this.$refs.fileUploadInput.value=null),this.dispatchVanillaChangeEvent()},fetchFacets:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t,a,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.config.paths.load_facets);case 2:return t=e.sent,e.next=5,t.json();case 5:a=e.sent,this.types=[],this.tags=[],this.visibilities=[],a.types.forEach((function(e){-1===i.config.allowedTypes.indexOf(e.id)&&0!==i.config.allowedTypes.length||i.types.push(e)})),a.tags.forEach((function(e){-1===i.config.allowedTags.indexOf(e.id)&&0!==i.config.allowedTags.length||i.tags.push(e)})),a.visibilities.forEach((function(e){-1===i.config.allowedVisibilities.indexOf(e.id)&&0!==i.config.allowedVisibilities.length||i.visibilities.push(e)})),this.facetsLoading=!1;case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleBrowseMediaClicked:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.mediaModalOpen=!0,this.prepareDomForModal(),this.fetchFacets();case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleFileInputChange:function(){this.fetchFacets(),this.uploadModalOpen=!0,this.newFile=this.$refs.fileUploadInput.files.item(0)}},watch:{selectedImage:function(){this.$emit("selectedImageChanged",this.selectedImage)}},mounted:function(){this.$nextTick((function(){var e=document.querySelector(".ngrm-model-portal-".concat(this.fieldId));document.body.prepend(e)}))}},nt=st,ot=Object(I["a"])(nt,l,c,!1,null,null,null),rt=ot.exports,lt={bind:function(e,t,a){var i=b(t.arg);a.context[i]=t.value}},ct=(a("b39d"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedFolder,expression:"selectedFolder"}],attrs:{type:"hidden",name:e.config.inputFields.folder},domProps:{value:e.selectedFolder},on:{input:function(t){t.target.composing||(e.selectedFolder=t.target.value)}}}),e.selectedFolder?a("span",[a("i",{staticClass:"fa fa-folder"}),e._v(" "+e._s(this.selectedFolder))]):a("span",[a("i",[e._v(e._s(this.config.translations.select_folder_interaction_empty))])]),a("div",{staticClass:"ngremotemedia-buttons"},[e.selectedFolder?a("input",{attrs:{type:"button",value:"Remove folder"},on:{click:e.handleFolderRemove}}):e._e(),a("input",{attrs:{type:"button",value:this.config.translations.select_folder_interaction_button},on:{click:e.handleSelectFolderModalOpen}})]),e.selectFolderModalOpen?a("modal",{attrs:{title:"Select folder"},on:{close:e.handleSelectFolderModalClose}},[a("select-folder",{attrs:{config:e.config,"selected-folder":e.selectedFolder},on:{select:e.handleFolderSelect}})],1):e._e()],1)}),dt=[],ft={name:"SelectFolderInteraction",props:["config","selectedFolder"],components:{"select-folder":He,modal:le},data:function(){return{selectFolderModalOpen:!1}},methods:{handleSelectFolderModalOpen:function(){this.selectFolderModalOpen=!0},handleSelectFolderModalClose:function(){this.selectFolderModalOpen=!1},handleFolderSelect:function(e){this.selectedFolder=e,this.handleSelectFolderModalClose()},handleFolderRemove:function(){this.selectedFolder=null}}},ut=ft,pt=Object(I["a"])(ut,ct,dt,!1,null,null,null),ht=pt.exports;i["default"].config.productionTip=!1,i["default"].use(n.a),i["default"].use(r.a);var gt=function(e){window["ngrm_interactions_vue_".concat(e.dataset.id)]=new i["default"]({el:e,directives:{init:lt},data:{config:{mode:"field",paths:{browse_resources:"/resource/browse",upload_resources:"/resource/upload",load_facets:"/facets/load",load_folders:"/folder/load",create_folder:"/folder/create"},translations:{},inputFields:{locationId:"locationId",remoteId:"remoteId",type:"type",altText:"altText",caption:"caption",altTextOverride:"altTextOverride",captionOverride:"captionOverride",tags:"tags[]",cropSettings:"cropSettings",source:"source",watermarkText:"watermarkText",cssClass:"cssClass",selectedVariation:"selectedVariation"},availableVariations:[],allowedVisibilities:[],allowedTypes:[],allowedTags:[],parentFolder:null,folder:null,uploadContext:{},disableUpload:!1,hideFilename:!1},selectedImage:{id:"",name:"",type:"image",format:"",url:"",browse_url:"",previewUrl:"",alternateText:"",caption:"",watermarkText:"",altTextOverride:"",captionOverride:"",tags:[],size:"",variations:{},height:0,width:0,selectedVariation:null,cssClass:""}},components:{interactions:rt}})},mt=function(e){window["ngrm_select_folder_vue_".concat(e.dataset.id)]=new i["default"]({el:e,directives:{init:lt},data:{config:{paths:{load_folders:"/folder/load",create_folder:"/folder/create"},translations:{},inputFields:{folder:"folder"}},selectedFolder:null},components:{"select-folder-interaction":ht}})},vt=function(){for(var e=document.getElementsByClassName("ngremotemedia-container"),t=0;t0?t("div",{staticClass:"ngremotemedia-multi-gallery",class:{"is-compact":e.isCompact}},[e.resources.length>1?t("div",{staticClass:"gallery-toolbar"},[t("button",{staticClass:"btn btn-default btn-sm gallery-view-toggle",attrs:{type:"button","aria-pressed":e.compactView?"true":"false"},on:{click:function(t){e.compactView=!e.compactView}}},[t("i",{staticClass:"fa fa-bars",attrs:{"aria-hidden":"true"}}),e._v("\n "+e._s(e.compactView?e.detailedViewLabel:e.compactViewLabel)+"\n ")])]):e._e(),t("draggable",{staticClass:"gallery-draggable-container",attrs:{value:e.resources,handle:".drag-handle",animation:200,disabled:e.resources.length<=1,"force-fallback":!0,scroll:!0,"scroll-sensitivity":120,"scroll-speed":25,"bubble-scroll":!0},on:{input:e.handleDraggableInput,start:function(t){return e.setDragging(!0)},end:function(t){return e.setDragging(!1)}}},e._l(e.resources,(function(i,a){return t("div",{key:i.uid||i.id||a,staticClass:"ngremotemedia-image"},[e.resources.length>1?t("div",{staticClass:"image-header"},[t("span",{staticClass:"drag-handle",attrs:{"aria-hidden":"true",title:e.dragLabel}},[t("i",{staticClass:"fa fa-bars"})]),t("span",{staticClass:"position-indicator"},[e._v(e._s(a+1))]),t("div",{staticClass:"reorder-buttons"},[t("button",{staticClass:"btn btn-sm btn-default reorder-btn",attrs:{type:"button",disabled:0===a,title:e.movePreviousLabel,"aria-label":e.movePreviousLabel},on:{click:function(t){return e.$emit("move-resource",{from:a,to:a-1})}}},[t("i",{staticClass:"fa fa-arrow-left",attrs:{"aria-hidden":"true"}})]),t("button",{staticClass:"btn btn-sm btn-default reorder-btn",attrs:{type:"button",disabled:a===e.resources.length-1,title:e.moveNextLabel,"aria-label":e.moveNextLabel},on:{click:function(t){return e.$emit("move-resource",{from:a,to:a+1})}}},[t("i",{staticClass:"fa fa-arrow-right",attrs:{"aria-hidden":"true"}})])])]):e._e(),t("div",{staticClass:"image-wrap"},["image"!==i.type||e.isBrokenImage(i)?"video"===i.type?t("video",{attrs:{src:i.previewUrl,controls:""}}):t("span",{staticClass:"file-placeholder"},[t("span",{staticClass:"icon-doc"},[t("i",{class:e.fileIconClass(i.format)})])]):t("img",{attrs:{src:e.getResourceImageUrl(i),alt:i.altTextOverride||i.alternateText||""},on:{error:function(t){return e.handleResourceImageError(t,i)}}})]),t("div",{staticClass:"image-meta"},[e.isCollectionMode?e._e():[t("input",{attrs:{type:"hidden",name:e.getInputName("locationId",a)},domProps:{value:i.locationId||""}}),t("input",{attrs:{type:"hidden",name:e.getInputName("type",a)},domProps:{value:i.type}}),t("input",{attrs:{type:"hidden",name:e.getInputName("remoteId",a)},domProps:{value:i.id}}),t("input",{attrs:{type:"hidden",name:e.getInputName("cropSettings",a)},domProps:{value:JSON.stringify(i.variations||{})}}),t("input",{attrs:{type:"hidden",name:e.getInputName("source",a)},domProps:{value:i.source||e.config.locationSource||""}})],t("h3",{staticClass:"title"},[e._v(e._s(i.name))]),t("p",[e._v("\n "+e._s(e.config.translations.preview_size)+":\n "+e._s(e.formatSize(i.size))+"\n ")]),t("p",[e._v(e._s(i.type)+" / "+e._s(i.format))]),t("div",{staticClass:"image-meta-data"},[t("div",{staticClass:"ngremotemedia-alttext"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("altText",a)}},[e._v("\n "+e._s(e.config.translations.preview_alternate_text)+"\n "),e.config.translations.preview_alternate_text_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_alternate_text_info}}):e._e()]),t("input",{directives:[{name:"debounce",rawName:"v-debounce:500ms",value:function(){return e.dispatchChangeEvent(e.getFieldName("altText",a))},expression:"() => dispatchChangeEvent(getFieldName('altText', index))",arg:"500ms"}],staticClass:"media-alttext data",attrs:{type:"text",id:e.getInputId("altText",a),name:e.getInputName("altText",a)},domProps:{value:i.alternateText},on:{input:function(t){return e.updateResource(a,"alternateText",t.target.value)}}})]),t("div",{staticClass:"ngremotemedia-caption"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("caption",a)}},[e._v("\n "+e._s(e.config.translations.preview_caption)+"\n "),e.config.translations.preview_caption_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_caption_info}}):e._e()]),t("input",{directives:[{name:"debounce",rawName:"v-debounce:500ms",value:function(){return e.dispatchChangeEvent(e.getFieldName("caption",a))},expression:"() => dispatchChangeEvent(getFieldName('caption', index))",arg:"500ms"}],staticClass:"media-caption data",attrs:{type:"text",id:e.getInputId("caption",a),name:e.getInputName("caption",a)},domProps:{value:i.caption},on:{input:function(t){return e.updateResource(a,"caption",t.target.value)}}})]),t("div",{staticClass:"ngremotemedia-alttext-override"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("altTextOverride",a)}},[e._v("\n "+e._s(e.config.translations.preview_alternate_text_override)+"\n "),e.config.translations.preview_alternate_text_override_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_alternate_text_override_info}}):e._e()]),t("input",{directives:[{name:"debounce",rawName:"v-debounce:500ms",value:function(){return e.dispatchChangeEvent(e.getFieldName("altTextOverride",a))},expression:"() => dispatchChangeEvent(getFieldName('altTextOverride', index))",arg:"500ms"}],staticClass:"media-alttext-override data",attrs:{type:"text",id:e.getInputId("altTextOverride",a),name:e.getInputName("altTextOverride",a),placeholder:i.alternateText},domProps:{value:i.altTextOverride},on:{input:function(t){return e.updateResource(a,"altTextOverride",t.target.value)}}})]),t("div",{staticClass:"ngremotemedia-caption-override"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("captionOverride",a)}},[e._v("\n "+e._s(e.config.translations.preview_caption_override)+"\n "),e.config.translations.preview_caption_override_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_caption_override_info}}):e._e()]),t("input",{directives:[{name:"debounce",rawName:"v-debounce:500ms",value:function(){return e.dispatchChangeEvent(e.getFieldName("captionOverride",a))},expression:"() => dispatchChangeEvent(getFieldName('captionOverride', index))",arg:"500ms"}],staticClass:"media-caption-override data",attrs:{type:"text",id:e.getInputId("captionOverride",a),name:e.getInputName("captionOverride",a),placeholder:i.caption},domProps:{value:i.captionOverride},on:{input:function(t){return e.updateResource(a,"captionOverride",t.target.value)}}})]),t("div",{staticClass:"ngremotemedia-tags"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("tags",a)}},[e._v("\n "+e._s(e.config.translations.preview_tags)+"\n "),e.config.translations.preview_tags_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_tags_info}}):e._e()]),t("v-select",{attrs:{"input-id":e.getInputId("tags",a),options:e.config.allowedTags.length>0?e.config.allowedTags:e.allTags,taggable:0===e.config.allowedTags.length,multiple:!0,value:i.tags},on:{input:function(t){return e.handleMultiTagsInput(a,t)}}}),t("select",{staticClass:"ngremotemedia-newtags",attrs:{multiple:"",hidden:"",name:e.getTagsInputName(a)}},e._l(i.tags,(function(i){return t("option",{key:i,attrs:{selected:""},domProps:{value:i}},[e._v(e._s(i))])})),0)],1),t("div",{staticClass:"ngremotemedia-watermark-text"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("watermarkText",a)}},[e._v("\n "+e._s(e.config.translations.preview_watermark_text)+"\n "),e.config.translations.preview_watermark_text_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_watermark_text_info}}):e._e()]),t("input",{directives:[{name:"debounce",rawName:"v-debounce:500ms",value:function(){return e.dispatchChangeEvent(e.getFieldName("watermarkText",a))},expression:"() => dispatchChangeEvent(getFieldName('watermarkText', index))",arg:"500ms"}],staticClass:"media-watermarktext data",attrs:{type:"text",id:e.getInputId("watermarkText",a),name:e.getInputName("watermarkText",a)},domProps:{value:i.watermarkText},on:{input:function(t){return e.updateResource(a,"watermarkText",t.target.value)}}})]),e.isEmbed?t("div",{staticClass:"ngremotemedia-css-class"},[t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("cssClass",a)}},[e._v("\n "+e._s(e.config.translations.preview_css_class)+"\n "),e.config.translations.preview_css_class_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_css_class_info}}):e._e()]),t("input",{directives:[{name:"debounce",rawName:"v-debounce:500ms",value:function(){return e.dispatchChangeEvent(e.config.inputFields.cssClass)},expression:"() => dispatchChangeEvent(config.inputFields.cssClass)",arg:"500ms"}],staticClass:"media-css-class data",attrs:{type:"text",id:e.getInputId("cssClass",a),name:e.config.inputFields.cssClass},domProps:{value:e.selectedImage.cssClass},on:{input:function(t){return e.updateImage("cssClass",t.target.value)}}})]):e._e(),e.isEmbed&&e.hasVariations?t("div",{staticClass:"ngremotemedia-selected-variation"},[t("input",{attrs:{type:"hidden",name:e.config.inputFields.selectedVariation},domProps:{value:e.selectedImage.selectedVariation?e.selectedImage.selectedVariation.value:""}}),t("label",{staticClass:"help-block description",attrs:{for:e.getInputId("selectedVariation",a)}},[e._v("\n "+e._s(e.config.translations.preview_selected_variation)+"\n "),e.config.translations.preview_selected_variation_info?t("i",{staticClass:"fa fa-info-circle",attrs:{"data-toggle":"tooltip","data-placement":"right",title:e.config.translations.preview_selected_variation_info}}):e._e()]),t("v-select",{attrs:{"input-id":e.getInputId("selectedVariation",a),options:e.variationOptions,value:e.selectedImage.selectedVariation},on:{input:e.handleVariationInput}})],1):e._e()]),t("div",{staticClass:"image-actions"},[e.isCroppableResource(i)?t("button",{staticClass:"btn btn-default btn-sm crop-file-btn",attrs:{type:"button"},on:{click:function(t){return e.$emit("crop-resource",a)}}},[t("i",{staticClass:"fa fa-crop",attrs:{"aria-hidden":"true"}}),e._v("\n "+e._s(e.config.translations.interactions_scale)+"\n ")]):e._e(),t("button",{staticClass:"btn btn-danger btn-sm remove-file-btn",attrs:{type:"button"},on:{click:function(t){return e.$emit("remove-resource",a)}}},[t("i",{staticClass:"fa fa-trash",attrs:{"aria-hidden":"true"}}),e._v("\n "+e._s(e.removeLabel)+"\n ")])])],2)])})),0)],1):t("div",[t("i",[e._v(e._s(e.config.translations.interactions_no_media_selected))])])])}),m=[],g=(i("28a5"),i("01c8"));function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=Array(t);i1&&void 0!==arguments[1]?arguments[1]:"B",i=C[t];return!i||e<1024?"".concat(w(e,2)," ").concat(t):F(e/1024,i)},x="fa fa-file-archive-o",I="fa fa-file-powerpoint-o",k="fa fa-file-word-o",S="fa fa-file-excel-o",O="fa fa-file-audio-o",L={pdf:"fa fa-file-pdf-o",zip:x,rar:x,ppt:I,pptx:I,doc:k,docx:k,xls:S,xlsx:S,aac:O,aiff:O,amr:O,flac:O,m4a:O,mp3:O,ogg:O,opus:O,wav:O,txt:"fa fa-lg fa-file-text"},V=function(e){return L[String(e||"").toLowerCase()]||"fa fa-file"},T=function(e){var t=String(e||""),i=t.lastIndexOf(".");return i>0?t.slice(i+1):""},R=(i("2fdb"),5e3),E={data:function(){return{brokenImageUrls:[]}},created:function(){this.retriedImageUrls=[],this.brokenImageTimers=[]},methods:{isBrokenImageUrl:function(e){return this.brokenImageUrls.includes(e)},markBrokenImageUrl:function(e){var t=this;this.brokenImageUrls.includes(e)||this.brokenImageUrls.push(e),this.retriedImageUrls.includes(e)||(this.retriedImageUrls.push(e),this.brokenImageTimers.push(setTimeout((function(){t.brokenImageUrls=t.brokenImageUrls.filter((function(t){return t!==e}))}),R)))}},beforeDestroy:function(){this.brokenImageTimers.forEach((function(e){return clearTimeout(e)}))}},M=i("4a7a"),j=i.n(M),N=i("b76a"),P=i.n(N),A={name:"Preview",mixins:[E],created:function(){this.serverRenderedPayloadInputs=[]},props:{config:Object,fieldId:String,selectedImage:Object,isCroppable:{type:Boolean,default:!1}},data:function(){return{allTags:[],compactView:!1}},components:{"v-select":j.a,draggable:P.a},computed:{resources:function(){return this.selectedImage.uploadedResources||[]},isEmbed:function(){return"embed"===this.config.mode},isCollectionMode:function(){return!this.isEmbed},hasVariations:function(){return(this.config.allVariations||[]).length>0},variationOptions:function(){return(this.config.allVariations||[]).map((function(e){return{label:e,value:e}}))},dragLabel:function(){return this.config.translations.reorder_drag||"Drag to reorder"},movePreviousLabel:function(){return this.config.translations.reorder_move_previous||"Move to previous position"},moveNextLabel:function(){return this.config.translations.reorder_move_next||"Move to next position"},removeLabel:function(){return this.config.translations.multi_gallery_remove||"Remove"},compactViewLabel:function(){return this.config.translations.multi_gallery_compact_view||"Compact view"},detailedViewLabel:function(){return this.config.translations.multi_gallery_detailed_view||"Detailed view"},isCompact:function(){return this.compactView&&this.resources.length>1},collectionFieldName:function(){return this.config.inputFields._collection||this.fieldId},collectionPayloadJson:function(){var e=this;return JSON.stringify(this.resources.map((function(t){return{locationId:t.locationId||"",remoteId:t.id||"",type:t.type||"",altText:t.alternateText||"",caption:t.caption||"",altTextOverride:t.altTextOverride||"",captionOverride:t.captionOverride||"",watermarkText:t.watermarkText||"",tags:t.tags||[],loaded:t.loaded,cropSettings:JSON.stringify(t.variations||{}),source:t.source||e.config.locationSource||""}})))}},methods:{setDragging:function(e){document.documentElement.classList.toggle("ngrm-dragging",e)},handleDraggableInput:function(e){this.$emit("reorder-resources",e)},updateResource:function(e,t,i){this.$emit("update-resource",{index:e,field:t,value:i})},updateImage:function(e,t){this.$emit("update-image",{field:e,value:t})},formatSize:function(e){return F(e)},getResourceImageUrl:function(e){return e.previewUrl||e.url},handleResourceImageError:function(e,t){t.url&&t.previewUrl&&t.url!==t.previewUrl&&"1"!==e.target.dataset.originalFallback?(e.target.dataset.originalFallback="1",e.target.src=t.url):this.markBrokenImageUrl(this.getResourceImageUrl(t))},isBrokenImage:function(e){return this.isBrokenImageUrl(this.getResourceImageUrl(e))},fileIconClass:V,getInputId:function(e,t){return"ngrm-".concat(this.fieldId,"-").concat(t,"-").concat(e)},getFieldName:function(e,t){return this.isCollectionMode?"".concat(this.collectionFieldName,"[").concat(t,"][").concat(e,"]"):this.config.inputFields[e]||e},getTagsFieldName:function(e){return this.isCollectionMode?"".concat(this.collectionFieldName,"[").concat(e,"][tags][]"):this.config.inputFields.tags},getInputName:function(e,t){return this.isCollectionMode?null:this.getFieldName(e,t)},getTagsInputName:function(e){return this.isCollectionMode?null:this.getTagsFieldName(e)},isCroppableResource:function(e){return this.isCroppable&&"image"===e.type},handleMultiTagsInput:function(e,t){this.allTags=Object(h["a"])(new Set([].concat(Object(h["a"])(this.allTags),Object(h["a"])(t)))),this.updateResource(e,"tags",t),this.dispatchChangeEvent(this.getTagsFieldName(e))},handleVariationInput:function(e){this.updateImage("selectedVariation",e),this.dispatchChangeEvent(this.config.inputFields.selectedVariation)},dispatchChangeEvent:function(e){this.$emit("preview-change",e)},disableServerRenderedPayload:function(){var e=this,t=this.config.inputFields.collectionPayload;if(this.isCollectionMode&&t&&!this._isDestroyed){var i=this.$el.closest("form")||document;i.querySelectorAll('input[type="hidden"]').forEach((function(i){i.name!==t||i.disabled||i.closest(".ngremotemedia-container")||(i.disabled=!0,e.serverRenderedPayloadInputs.push(i))}))}},collectTags:function(){return Object(h["a"])(new Set(this.resources.reduce((function(e,t){return e.concat(t.tags||[])}),[])))}},mounted:function(){var e=this;this.allTags=this.collectTags(),this.$nextTick((function(){return e.disableServerRenderedPayload()}))},beforeDestroy:function(){this.setDragging(!1),this.serverRenderedPayloadInputs.forEach((function(e){e.disabled=!1}))},watch:{selectedImage:function(){this.allTags=this.collectTags()}}},U=A,z=(i("34a5"),i("2877")),D=Object(z["a"])(U,p,m,!1,null,"9c3799a6",null),$=D.exports,B=function(){var e=this,t=e._self._c;return t("modal",{attrs:{title:this.config.translations.browse_title},on:{close:function(t){return e.$emit("close")}}},[t("media-facets",{attrs:{config:e.config,tags:e.tags,types:e.types,visibilities:e.visibilities,facets:e.facets,"facets-loading":e.facetsLoading},on:{change:e.handleFacetsChange}}),t("media-gallery",{attrs:{translations:e.config.translations,media:e.media,canLoadMore:e.canLoadMore,selectedMediaId:e.selectedMediaId,loading:e.loading,error:e.loadError,"multi-select":e.multiSelect,"selection-limit":e.selectionLimit,"current-count":e.currentCount,"existing-ids":e.existingIds},on:{loadMore:e.handleLoadMore,"media-selected":function(t){return e.$emit("media-selected",t)},"media-multi-selected":function(t){return e.$emit("media-multi-selected",t)}}}),e.loading?t("i",{staticClass:"ng-icon ng-spinner"}):e._e()],1)},q=[],G=(i("ffc1"),i("386d"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"mediaFacets"},[t("div",{staticClass:"body"},[e.types.length>1?t("div",{staticClass:"form-field"},[t("label",{attrs:{for:"type"}},[e._v(e._s(this.config.translations.browse_select_type))]),t("v-select",{attrs:{options:e.types,label:"name",reduce:function(e){return e.id},placeholder:e.facetsLoading?this.config.translations.browse_loading_types:this.config.translations.browse_all_types},on:{input:e.handleTypeChange},model:{value:e.selectedType,callback:function(t){e.selectedType=t},expression:"selectedType"}})],1):e._e(),e.folders&&!this.config.folder?t("div",{staticClass:"form-field"},[t("label",{attrs:{for:"folder"}},[e._v(e._s(this.config.translations.browse_select_folder))]),t("treeselect",{attrs:{multiple:!1,options:e.folders,"load-options":e.loadSubFolders,value:this.config.parentFolder?this.config.parentFolder.id:"",placeholder:e.facetsLoading?this.config.translations.browse_loading_folders:this.config.translations.browse_all_folders,disabled:e.facetsLoading,clearable:!0,beforeClearAll:e.clearFolderField,defaultExpandLevel:1},on:{input:e.handleFolderChange},model:{value:e.selectedFolder,callback:function(t){e.selectedFolder=t},expression:"selectedFolder"}})],1):e._e(),e.tags.length>1?t("div",{staticClass:"form-field"},[t("label",{attrs:{for:"tag"}},[e._v(e._s(this.config.translations.browse_select_tag))]),t("v-select",{attrs:{options:e.tags,label:"name",reduce:function(e){return e.id},placeholder:e.facetsLoading?this.config.translations.browse_loading_tags:this.config.translations.browse_all_tags,disabled:e.facetsLoading},on:{input:e.handleTagChange},model:{value:e.tag,callback:function(t){e.tag=t},expression:"tag"}})],1):e._e(),e.visibilities.length>1?t("div",{staticClass:"form-field"},[t("label",{attrs:{for:"visibilities"}},[e._v(e._s(this.config.translations.browse_select_visibility))]),t("v-select",{attrs:{options:e.visibilities,label:"name",reduce:function(e){return e.id},placeholder:e.facetsLoading?this.config.translations.browse_loading_visibilities:this.config.translations.browse_all_visibilities,disabled:e.facetsLoading},on:{input:e.handleVisibilityChange},model:{value:e.visibility,callback:function(t){e.visibility=t},expression:"visibility"}})],1):e._e(),t("div",{staticClass:"search-wrapper"},[t("span",{staticClass:"search-label"},[e._v(e._s(this.config.translations.search))]),t("div",{staticClass:"search"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],attrs:{type:"text",placeholder:this.config.translations.search_placeholder},domProps:{value:e.query},on:{keyup:e.handleQueryChange,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),null.apply(null,arguments))},input:function(t){t.target.composing||(e.query=t.target.value)}}})])])])])}),J=[],W="all",Y="image",H="video",K="raw",Q="(all)",Z="(root)",X="all",ee=i("ca17"),te=i.n(ee),ie=(i("542c"),{name:"MediaFacets",props:["config","tags","types","visibilities","facets","facetsLoading"],data:function(){return{TYPE_ALL:W,TYPE_IMAGE:Y,TYPE_VIDEO:H,TYPE_RAW:K,FOLDER_ALL:Q,FOLDER_ROOT:Z,TAG_ALL:X,folders:[{id:this.config.parentFolder?this.config.parentFolder.id:Z,label:this.config.parentFolder?this.config.parentFolder.label:Z,children:null}],selectedFolder:this.facets.folder,selectedType:this.facets.type,query:this.facets.query,tag:this.facets.tag,visibility:this.facets.visibility}},methods:{clearFolderField:function(){return!this.config.parentFolder||(this.selectedFolder=this.config.parentFolder.id,!1)},handleTypeChange:function(e){this.$emit("change",{type:e})},handleFolderChange:function(e){this.selectedFolder=e,"undefined"!==typeof e&&e||(this.selectedFolder=this.config.parentFolder?this.config.parentFolder.id:e),this.$emit("change",{folder:this.selectedFolder})},handleQueryChange:function(){this.$emit("change",{query:this.query})},handleTagChange:function(){this.$emit("change",{tag:this.tag})},handleVisibilityChange:function(){this.$emit("change",{visibility:this.visibility})},loadSubFolders:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var i,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.parentNode,a={folder:"(root)"===i.id?"":i.id},e.next=1,fetch(this.config.paths.load_folders+"?"+v(a));case 1:return n=e.sent,e.next=2,n.json();case 2:i.children=e.sent,t.callback();case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},components:{"v-select":j.a,treeselect:te.a}}),ae=ie,ne=(i("7ec0"),Object(z["a"])(ae,G,J,!1,null,"278bb214",null)),re=ne.exports,se=function(){var e=this,t=e._self._c;return t("div",{staticClass:"media-gallery"},[t("div",{class:e.loading?"items loading":"items"},[e.error?t("div",{staticClass:"limit-indicator limit-exceeded load-error",attrs:{role:"alert"}},[t("i",{staticClass:"fa fa-exclamation-triangle",attrs:{"aria-hidden":"true"}}),t("span",[e._v(e._s(e.error))])]):e._e(),e.media.length||e.error?e._e():t("div",{staticClass:"folder-empty"},[t("span",{staticClass:"ngrm-icon-folder"}),t("span",[t("strong",[e._v(e._s(this.translations.media_gallery_empty_folder))]),e._v(e._s(this.translations.media_gallery_upload_media))])]),e._l(e.media,(function(i){return t("div",{key:e.getResourceId(i),staticClass:"media",class:{selected:e.multiSelect?e.isSelected(e.getResourceId(i)):e.getResourceId(i)===e.selectedMediaId,added:e.isAdded(e.getResourceId(i))}},[e.hasPreviewImage(i)?t("div",{staticClass:"media-container"},[t("img",{staticClass:"img",attrs:{src:e.getPreviewImageUrl(i),alt:e.getFilename(i)},on:{error:function(t){return e.handlePreviewImageError(i)}}}),t("Label",{staticClass:"filename"},[e._v(e._s(e.getFilename(i)))]),t("div",{staticClass:"size-description"},["public"===i.visibility?t("i",{staticClass:"fa fa-solid fa-globe"},[e._v("  ")]):e._e(),"private"===i.visibility?t("i",{staticClass:"fa fa-eye-slash"},[e._v("  ")]):e._e(),"protected"===i.visibility?t("i",{staticClass:"fa fa-lock"},[e._v("  ")]):e._e(),t("span",{staticClass:"format"},[e._v(e._s(i.format))]),e._v(" - "+e._s(i.width)+" x "+e._s(i.height)+" - "+e._s(e.showFilesize(i))+"\n ")])],1):t("div",{staticClass:"media-container"},[t("span",{staticClass:"file-placeholder"},[t("span",{staticClass:"icon-doc"},[t("i",{class:e.fileIconClass(i.format)})])]),t("Label",{staticClass:"filename"},[e._v(e._s(e.getFilename(i)))]),t("div",{staticClass:"size-description"},["public"===i.visibility?t("i",{staticClass:"fa fa-solid fa-globe"},[e._v("  ")]):e._e(),"private"===i.visibility?t("i",{staticClass:"fa fa-eye-slash"},[e._v("  ")]):e._e(),"protected"===i.visibility?t("i",{staticClass:"fa fa-lock"},[e._v("  ")]):e._e(),t("span",{staticClass:"format"},[e._v(e._s(i.format))]),e._v(" - "+e._s(e.showFilesize(i))+"\n ")])],1),t("button",{staticClass:"btn btn-blue select-btn",attrs:{type:"button",disabled:e.isAdded(e.getResourceId(i))||e.multiSelect&&!e.canSelectMore&&!e.isSelected(e.getResourceId(i))},on:{click:function(t){return e.handleSelectClick(i)}}},[e.isAdded(e.getResourceId(i))?[t("i",{staticClass:"fa fa-check"}),e._v(" "+e._s(e.translations.media_gallery_added||"Added")+"\n ")]:[e._v("\n "+e._s(e.multiSelect&&e.isSelected(e.getResourceId(i))?e.translations.multi_select_deselect:e.translations.media_gallery_select)+"\n ")]],2)])}))],2),e.canLoadMore?t("div",{staticClass:"load-more-wrapper"},[t("button",{staticClass:"btn btn-blue",attrs:{type:"button"},on:{click:function(t){return e.$emit("loadMore")}}},[e._v(e._s(this.translations.media_gallery_load_more))])]):e._e(),e.notice?t("div",{staticClass:"limit-indicator limit-exceeded",attrs:{role:"alert"}},[t("i",{staticClass:"fa fa-exclamation-triangle"}),t("span",[e._v(e._s(e.notice))])]):e._e(),e.multiSelect?t("div",{staticClass:"multi-select-bar"},[t("div",{staticClass:"selection-info"},[e._v("\n "+e._s(e.selectionMessage)+"\n ")]),t("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0===e.selectedItems.length},on:{click:e.confirmMultiSelection}},[e._v("\n "+e._s((e.translations.multi_select_add_selected||"Add selected (%count%)").replace("%count%",e.selectedItems.length))+"\n ")])]):e._e()])},le=[],oe=i("94df"),ce=i.n(oe),de={name:"MediaGallery",mixins:[E],props:{translations:Object,media:Array,canLoadMore:Boolean,onLoadMore:Function,selectedMediaId:String,loading:Boolean,error:{type:String,default:null},multiSelect:{type:Boolean,default:!1},selectionLimit:{type:Number,default:0},currentCount:{type:Number,default:0},existingIds:{type:Array,default:function(){return[]}}},data:function(){return{selectedItems:[],notice:null,noticeTimer:null}},computed:{existingIdSet:function(){return new Set(this.existingIds)},hasSelectionLimit:function(){return this.selectionLimit>0},remainingSlots:function(){return this.hasSelectionLimit?Math.max(0,this.selectionLimit-this.currentCount):1/0},canSelectMore:function(){return!this.hasSelectionLimit||this.selectedItems.length-1)this.selectedItems.splice(a,1);else if(this.canSelectMore)this.selectedItems.push(e);else{var n=this.translations.limit_reached||"File limit reached (%limit% maximum)";this.showNotice(n.replace("%limit%",this.selectionLimit))}},showNotice:function(e){var t=this;this.notice=e,this.noticeTimer&&clearTimeout(this.noticeTimer),this.noticeTimer=setTimeout((function(){t.notice=null}),5e3)},handleSelectClick:function(e){this.isAdded(this.getResourceId(e))||(this.multiSelect?this.toggleSelection(e):this.$emit("media-selected",e))},confirmMultiSelection:function(){this.$emit("media-multi-selected",this.selectedItems),this.selectedItems=[]}},beforeDestroy:function(){this.noticeTimer&&clearTimeout(this.noticeTimer)}},ue=de,fe=(i("6a0d"),Object(z["a"])(ue,se,le,!1,null,"113e84df",null)),he=fe.exports,pe=i("b012"),me=i.n(pe),ge=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ngrm-overlay"},[t("div",{staticClass:"media-modal"},[t("div",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n "),t("span",{staticClass:"close",on:{click:e.close}},[t("span",{staticClass:"ngrm-icon-cancel"})])]),t("div",{staticClass:"body"},[e._t("default")],2)])])},be=[],ve={name:"Modal",props:["title"],methods:{close:function(){this.$emit("close")}}},_e=ve,ye=(i("603b"),i("0817"),Object(z["a"])(_e,ge,be,!1,null,"03fd1c54",null)),we=ye.exports;function Ce(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function Fe(e){for(var t=1;t0&&void 0!==m[0]?m[0]:{patch:!1},i=t.patch,this.loading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController,a={limit:xe,offset:i?this.media.length:0},this.facets.query&&(a["query"]=this.facets.query),this.config.allowedTypes.length>0&&(a["type"]=this.config.allowedTypes),this.facets.type&&(a["type"]=this.facets.type),this.facets.folder&&(a["folder"]=this.facets.folder===Z?"":this.facets.folder),this.config.allowedTags.length>0&&(a["tag"]=this.config.allowedTags),this.facets.tag&&(a["tag"]=this.facets.tag),this.config.allowedVisibilities.length>0&&(a["visibility"]=this.config.allowedVisibilities),this.facets.visibility&&(a["visibility"]=this.facets.visibility),i&&this.nextCursor&&(a["next_cursor"]=this.nextCursor),n="",r=0,s=Object.entries(a);r-1:e.newSelection},on:{change:function(t){var a=e.newSelection,n=t.target,r=!!n.checked;if(Array.isArray(a)){var s=i,l=e._i(a,s);n.checked?l<0&&(e.newSelection=a.concat([s])):l>-1&&(e.newSelection=a.slice(0,l).concat(a.slice(l+1)))}else e.newSelection=r}}}),t("label",{attrs:{for:i}},[t("span",{staticClass:"name"},[e._v(e._s(i))]),t("span",{staticClass:"formatted-size"},[e._v(e._s(e.formattedSize(i)))])]),e.isVariationSelectable(i)?e._e():t("div",{staticClass:"legend-not-selectable"},[t("span",[e._v(e._s(e._self.translations.crop_media_too_small))])])])})),0),t("div",{staticClass:"selectedVariations"},[t("ul",e._l(e.selectedVariations,(function(i){return t("li",{key:i,class:{set:!!e.allVariationValues[i],selected:e.selectedVariation===i,disabled:!e.isVariationSelectable(i)},on:{click:function(t){return e.handleVariationClicked(i)}}},[t("div",[t("span",{staticClass:"name"},[e._v(e._s(i))]),t("span",{staticClass:"formatted-size"},[e._v(e._s(e.formattedSize(i)))])]),e.addingVariations?e._e():t("a",[t("span",{staticClass:"circle-orange"}),t("span",{staticClass:"ngrm-icon-trash",on:{click:function(t){return e.removeItem(i)}}})])])})),0)])])},Re=[],Ee={name:"CropSizes",props:["translations","availableVariations","allVariationValues","imageSize","selectedVariation"],data:function(){return{newSelection:[],addingVariations:!1}},computed:{unselectedVariations:function(){var e=Object.keys(this.availableVariations),t=Object.keys(this.allVariationValues);return e.difference(t)},selectedVariations:function(){return Object.getOwnPropertyNames(this.allVariationValues)}},methods:{handleAddCropSize:function(){this.addingVariations=!0},handleCancel:function(){this.addingVariations=!1,this.newSelection=[]},handleAdd:function(){this.$emit("addedVariations",this.newSelection),this.newSelection=[],this.addingVariations=!1},removeItem:function(e){this.$emit("removedVariation",e)},formattedSize:function(e){return"".concat(this.availableVariations[e][0]," x ").concat(this.availableVariations[e][1])},isVariationSelectable:function(e){var t=Object(u["a"])(this.availableVariations[e],2),i=t[0],a=t[1];return this.imageSize.width>=i&&this.imageSize.height>=a},handleVariationClicked:function(e){this.isVariationSelectable(e)&&this.$emit("selected",e)}}},Me=Ee,je=(i("fdb3"),Object(z["a"])(Me,Te,Re,!1,null,"ad171770",null)),Ne=je.exports,Pe=function(){var e=this,t=e._self._c;return t("div",{staticClass:"crop"},[t("div",{ref:"cropper",staticClass:"cropper",style:e.cropperStyle},[t("img",{ref:"image",attrs:{src:e.src}}),t("div",{ref:"buttons",staticClass:"buttons",style:e.applyButtonStyle},[t("button",{staticClass:"btn btn-blue",attrs:{type:"button"},on:{click:e.handleReset}},[t("span",{staticClass:"ngrm-icon-ccw"}),t("span",[e._v(e._s(this.translations.crop_reset))])]),t("button",{staticClass:"btn btn-blue",attrs:{type:"button"},on:{click:e.handleApply}},[t("span",{staticClass:"ngrm-icon-ok"}),t("span",[e._v(e._s(this.translations.crop_apply))])])])]),t("div",[t("h4",[e._v(e._s(this.translations.crop_preview))]),t("div",{ref:"preview",staticClass:"preview"})])])},Ae=[],Ue=i("5435"),ze={name:"Crop",props:["translations","value","variation","src","imageSize"],mounted:function(){this.setCropper()},beforeDestroy:function(){this.destroyCropper()},data:function(){return{crop:{},cropper:null}},methods:{setCropper:function(){var e=this.value||{},t=e.x,i=e.y,a=e.w,n=e.h,r={x:t,y:i,width:a,height:n},s=Object(u["a"])(this.variation,2),l=s[0],o=s[1],c=l>0&&o>0?l/o:void 0;this.destroyCropper();this.$refs.cropper.clientWidth,this.imageSize.width;this.cropper=new Ue["a"](this.$refs.image,Object(f["a"])(Object(f["a"])(Object(f["a"])(Object(f["a"])(Object(f["a"])(Object(f["a"])(Object(f["a"])(Object(f["a"])({viewMode:2,dragMode:"none",autoCrop:!0,data:r,aspectRatio:c,guides:!0,movable:!1,rotatable:!1},"guides",!1),"center",!1),"zoomable",!1),"scalable",!0),"minCropBoxWidth",50),"minCropBoxHeight",50),"crop",this.handleCrop),"preview",this.$refs.preview)),this.cropper.setData(r)},handleCrop:function(e){this.crop=this.cropper.getData(!0)},destroyCropper:function(){this.cropper&&this.cropper.destroy()},handleReset:function(){this.cropper.reset()},handleApply:function(){var e=this.cropper.getData(!0),t=e.x,i=e.y,a=e.width,n=e.height;this.$emit("change",{x:t,y:i,w:a,h:n})}},computed:{applyButtonStyle:function(){var e=this.crop,t=e.x,i=e.y,a=e.width,n=e.height,r=this.$refs.buttons?this.$refs.buttons.clientWidth:0,s=this.$refs.cropper?this.$refs.cropper.clientWidth/this.imageSize.width:1;return{top:"".concat((i+n)*s+10,"px"),left:"".concat((t+a)*s-r-1,"px")}},cropperStyle:function(){var e=this.imageSize.height/this.imageSize.width*100;return{"padding-bottom":"".concat(e,"%"),height:"0px",width:"100%"}}}},De=ze,$e=(i("9025"),Object(z["a"])(De,Pe,Ae,!1,null,"5f73791e",null)),Be=$e.exports,qe=function(e){return function(t){return Object.keys(t).reduce((function(i,a){return e(t[a],a)&&(i[a]=t[a]),i}),{})}},Ge=function(e){return function(t){return!e(t)}},Je=function(e){return function(t){return e===t}},We=Ge(Je(void 0));function Ye(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function He(e){for(var t=1;t0,disabled:e.isDropzoneDisabled},on:{drop:function(t){return t.preventDefault(),e.handleDrop.apply(null,arguments)},dragover:function(t){t.preventDefault(),!e.isDropzoneDisabled&&(e.isDragOver=!0)},dragleave:function(t){t.preventDefault(),e.isDragOver=!1},click:function(t){!e.isDropzoneDisabled&&e.triggerFileInput()}}},[t("div",{staticClass:"dropzone-content"},[t("i",{staticClass:"ng-icon ng-upload-cloud",attrs:{"aria-hidden":"true"}}),t("p",[e._v(e._s(e.dropZoneLabel))]),t("button",{staticClass:"btn btn-blue",attrs:{type:"button",disabled:e.isDropzoneDisabled},on:{click:function(t){return t.stopPropagation(),e.triggerFileInput.apply(null,arguments)}}},[e._v("\n "+e._s(e.browseLabel)+"\n ")])]),t("input",{ref:"fileInput",attrs:{type:"file",multiple:!e.isSingleFileMode,accept:e.acceptedFileTypes,hidden:"",disabled:e.isDropzoneDisabled},on:{change:e.handleFileSelect}})]),e.hasLimit&&!e.isSingleFileMode&&(e.pendingFilesCount>0||e.isAtLimit)?t("div",{staticClass:"limit-indicator",class:e.limitClass},[e.isOverLimit?t("i",{staticClass:"fa fa-exclamation-triangle",attrs:{"aria-hidden":"true"}}):e.isAtLimit?t("i",{staticClass:"fa fa-info-circle",attrs:{"aria-hidden":"true"}}):t("i",{staticClass:"fa fa-check-circle",attrs:{"aria-hidden":"true"}}),t("span",[e._v(e._s(e.limitMessage))])]):e._e(),e.notice?t("div",{staticClass:"limit-indicator",class:"error"===e.notice.severity?"limit-exceeded":"limit-reached",attrs:{role:"alert"}},[t("i",{class:"error"===e.notice.severity?"fa fa-exclamation-triangle":"fa fa-info-circle",attrs:{"aria-hidden":"true"}}),t("span",[e._v(e._s(e.notice.message))])]):e._e(),e.files.length>0?t("div",{staticClass:"global-settings"},[e.config.folder?e._e():t("div",{staticClass:"global-setting-item global-folder"},[t("label",{attrs:{id:e.globalFolderLabelId}},[e._v(e._s(e.globalFolderLabel))]),t("div",{attrs:{role:"group","aria-labelledby":e.globalFolderLabelId}},[t("folder-tree-select",{attrs:{config:e.config,"selected-folder":e.effectiveGlobalFolder},on:{change:e.handleGlobalFolderChange}})],1)]),e.visibilities.length>1?t("div",{staticClass:"global-setting-item global-visibility"},[t("label",{attrs:{for:e.globalVisibilityInputId}},[e._v(e._s(e.globalVisibilityLabel))]),t("v-select",{attrs:{"input-id":e.globalVisibilityInputId,options:e.visibilities,label:"name",reduce:function(e){return e.id},clearable:!1},on:{input:e.handleGlobalVisibilityChange},model:{value:e.globalVisibility,callback:function(t){e.globalVisibility=t},expression:"globalVisibility"}})],1):e._e(),t("div",{staticClass:"global-setting-item global-overwrite"},[t("label",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.globalOverwrite,expression:"globalOverwrite"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.globalOverwrite)?e._i(e.globalOverwrite,null)>-1:e.globalOverwrite},on:{change:[function(t){var i=e.globalOverwrite,a=t.target,n=!!a.checked;if(Array.isArray(i)){var r=null,s=e._i(i,r);a.checked?s<0&&(e.globalOverwrite=i.concat([r])):s>-1&&(e.globalOverwrite=i.slice(0,s).concat(i.slice(s+1)))}else e.globalOverwrite=n},e.handleGlobalOverwriteChange]}}),e._v("\n "+e._s(e.uploadOverwriteLabel)+" ("+e._s(e.applyToAllLabel)+")\n ")])])]):e._e(),e.files.length>0?t("multi-upload-table",{attrs:{files:e.files,config:e.config,visibilities:e.visibilities,"over-limit-ids":e.overLimitIds,"batch-uploading":e.uploading,"uploads-disabled":!e.facetsReady},on:{"update-file":e.handleFileUpdate,"remove-file":e.handleFileRemove,"upload-single":e.uploadRow,retry:e.uploadRow,"use-existing":e.useExistingResource}}):e._e(),e.uploading&&e.totalFiles>0?t("div",{staticClass:"overall-progress"},[t("div",{staticClass:"progress-info"},[t("span",[e._v(e._s(e.uploadingLabel)+" "+e._s(e.currentFileIndex)+"/"+e._s(e.totalFiles))]),t("span",[e._v(e._s(e.overallProgress)+"%")])]),t("div",{staticClass:"progress-bar-wrapper"},[t("div",{staticClass:"progress-bar-fill",style:{width:e.overallProgress+"%"}})])]):e._e(),e.files.length>0?t("div",{staticClass:"multi-upload-actions"},[t("div",{staticClass:"upload-summary"},[t("span",{staticClass:"pending-count"},[e._v(e._s(e.pendingCount)+" "+e._s(e.filesPendingLabel))]),e.successCount>0?t("span",{staticClass:"success-count"},[e._v(e._s(e.successCount)+" "+e._s(e.filesSuccessLabel))]):e._e(),e.errorCount>0?t("span",{staticClass:"error-count"},[e._v(e._s(e.errorCount)+" "+e._s(e.filesErrorLabel))]):e._e()]),t("button",{staticClass:"btn btn-blue",attrs:{type:"button",disabled:e.uploading||!e.canUpload()},on:{click:e.uploadAll}},[e._v("\n "+e._s(e.uploading?e.uploadingLabel:e.uploadAllLabel)+"\n ")]),t("button",{staticClass:"btn btn-default",attrs:{type:"button",disabled:e.uploading||0===e.successCount},on:{click:e.clearCompleted}},[e._v("\n "+e._s(e.clearCompletedLabel)+"\n ")])]):e._e()],1)},tt=[],it=(i("ac4d"),i("8a81"),i("f400"),i("7618")),at=(i("7514"),i("1c4c"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"multi-upload-table",class:{"is-narrow":e.isNarrow}},[t("table",[t("thead",[t("tr",[t("th",[e._v(e._s(e.previewLabel))]),t("th",[e._v(e._s(e.filenameLabel))]),t("th",[e._v(e._s(e.folderLabel))]),e.showVisibility?t("th",[e._v(e._s(e.visibilityLabel))]):e._e(),t("th",[e._v(e._s(e.overwriteLabel))]),t("th",[e._v(e._s(e.statusLabel))]),t("th",[e._v(e._s(e.actionsLabel))])])]),t("tbody",e._l(e.files,(function(i){return t("tr",{key:i.id,class:["status-"+i.status,{"over-limit-row":e.isOverLimit(i)}]},[t("td",{staticClass:"preview-cell"},[t("div",{staticClass:"file-preview"},[e.hasPreview(i)?t("img",{attrs:{src:e.getPreviewUrl(i),alt:i.filename},on:{error:function(t){return e.handlePreviewError(i)}}}):t("span",{staticClass:"file-icon"},[t("i",{class:e.fileIconClass(e.fileExtension(i.file.name)),attrs:{"aria-hidden":"true"}})])])]),t("td",{staticClass:"filename-cell"},[t("input",{class:["filename-input",{"is-invalid":e.isFilenameInvalid(i)}],attrs:{type:"text",disabled:!e.isEditable(i),"aria-label":e.filenameLabel+": "+i.file.name,"aria-invalid":e.isFilenameInvalid(i)?"true":null},domProps:{value:i.filename},on:{input:function(t){return e.handleFilenameChange(i,t.target.value)},keydown:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()}}}),t("div",{staticClass:"file-size"},[e._v(e._s(e.formatByteSize(i.file.size)))])]),t("td",{staticClass:"folder-cell",attrs:{"data-label":e.folderLabel}},[e.config.folder?t("span",{staticClass:"folder-fixed"},[t("i",{staticClass:"fa fa-lock",attrs:{"aria-hidden":"true"}}),e._v("\n "+e._s(e.config.folder.label||e.config.folder.id)+"\n ")]):e.isEditable(i)?t("div",{attrs:{role:"group","aria-label":e.folderLabel+": "+i.file.name}},[t("folder-tree-select",{attrs:{config:e.config,"selected-folder":i.folder},on:{change:function(t){return e.handleFolderChange(i,t)}}})],1):t("span",[e._v(e._s(e.getFolderName(i.folder)))])]),e.showVisibility?t("td",{staticClass:"visibility-cell",attrs:{"data-label":e.visibilityLabel}},[e.isEditable(i)?t("v-select",{attrs:{"input-id":e.getInputId(i,"visibility"),options:e.visibilities,label:"name",value:i.visibility,reduce:function(e){return e.id},clearable:!1},on:{input:function(t){return e.handleVisibilityChange(i,t)}}}):t("span",[e._v(e._s(e.getVisibilityName(i.visibility)))]),e.isEditable(i)?t("label",{staticClass:"ngrm-sr-only",attrs:{for:e.getInputId(i,"visibility")}},[e._v("\n "+e._s(e.visibilityLabel)+": "+e._s(i.file.name)+"\n ")]):e._e()],1):e._e(),t("td",{staticClass:"overwrite-cell",attrs:{"data-label":e.overwriteLabel}},[t("input",{staticClass:"overwrite-checkbox",attrs:{type:"checkbox",disabled:!e.isEditable(i),"aria-label":e.overwriteLabel+": "+i.file.name},domProps:{checked:i.overwrite},on:{change:function(t){return e.handleOverwriteChange(i,t.target.checked)}}})]),t("td",{staticClass:"status-cell",attrs:{"data-label":e.statusLabel}},[t("div",{staticClass:"status-indicator"},["pending"===i.status?t("span",{staticClass:"status-badge status-pending"},[t("i",{staticClass:"fa fa-clock-o",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.pendingLabel)+"\n ")]):"uploading"===i.status?t("span",{staticClass:"status-badge status-uploading"},[t("i",{staticClass:"fa fa-spinner fa-spin",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(i.progress)+"%\n ")]):"success"===i.status?t("span",{staticClass:"status-badge status-success"},[t("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.successLabel)+"\n ")]):"error"===i.status?t("span",{staticClass:"status-badge status-error"},[t("i",{staticClass:"fa fa-exclamation-circle",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.errorLabel)+"\n ")]):e._e()]),"uploading"===i.status?t("div",{staticClass:"progress-bar"},[t("div",{staticClass:"progress-fill",style:{width:i.progress+"%"}})]):e._e(),i.error?t("div",{staticClass:"error-message"},[e._v(e._s(i.error))]):e._e(),i.notice?t("div",{staticClass:"notice-message"},[e._v(e._s(i.notice))]):e._e()]),t("td",{staticClass:"actions-cell"},["pending"===i.status?t("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"button",disabled:!e.canUploadRow(i),title:e.uploadFileLabel,"aria-label":e.uploadFileLabel+": "+i.file.name},on:{click:function(t){return e.$emit("upload-single",i)}}},[t("i",{staticClass:"fa fa-upload",attrs:{"aria-hidden":"true"}})]):e._e(),"error"===i.status?t("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"button",disabled:!e.canUploadRow(i),"aria-label":e.retryLabel+": "+i.file.name},on:{click:function(t){return e.$emit("retry",i)}}},[t("i",{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.retryLabel)+"\n ")]):e._e(),"error"===i.status&&i.resource?t("button",{staticClass:"btn btn-sm btn-default",attrs:{type:"button",disabled:e.batchUploading,"aria-label":e.useExistingLabel+": "+i.file.name},on:{click:function(t){return e.$emit("use-existing",i)}}},[t("i",{staticClass:"fa fa-link",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.useExistingLabel)+"\n ")]):e._e(),t("button",{staticClass:"btn btn-sm btn-danger",attrs:{type:"button",disabled:e.batchUploading&&"uploading"!==i.status,title:"uploading"===i.status?e.cancelUploadLabel:e.removeFileLabel,"aria-label":("uploading"===i.status?e.cancelUploadLabel:e.removeFileLabel)+": "+i.file.name},on:{click:function(t){return e.handleRemove(i)}}},[t("i",{class:"uploading"===i.status?"fa fa-times":"fa fa-trash",attrs:{"aria-hidden":"true"}})])])])})),0)])])}),nt=[],rt=(i("8615"),i("f559"),function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.handleClickOutside,expression:"handleClickOutside"}],staticClass:"folder-tree-select"},[t("treeselect",{attrs:{multiple:!1,options:e.folders,"load-options":e.loadSubFolders,placeholder:e.rootLabel,clearable:!0,defaultExpandLevel:1,appendToBody:!0,zIndex:9999,normalizer:e.normalizeNode,loadingText:e.treeselectTexts.loading,noChildrenText:e.treeselectTexts.noChildren,noOptionsText:e.treeselectTexts.noOptions,noResultsText:e.treeselectTexts.noResults,retryText:e.treeselectTexts.retry,retryTitle:e.treeselectTexts.retryTitle,clearValueText:e.treeselectTexts.clear},on:{input:e.handleFolderChange},scopedSlots:e._u([{key:"option-label",fn:function(i){var a=i.node;return t("div",{staticClass:"folder-option"},[a.raw.isCreateAction?t("span",{staticClass:"create-folder-action"},[t("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.createLabel)+"\n ")]):t("span",{staticClass:"folder-label"},[e._v("\n "+e._s(a.label)+"\n ")])])}},{key:"value-label",fn:function(i){var a=i.node;return t("div",{},[e._v("\n "+e._s(e.getFullPath(a.id))+"\n ")])}}]),model:{value:e.internalSelectedFolder,callback:function(t){e.internalSelectedFolder=t},expression:"internalSelectedFolder"}}),e.creatingFolder?t("div",{staticClass:"create-folder-inline"},[t("div",{staticClass:"create-folder-header"},[t("i",{staticClass:"fa fa-folder",attrs:{"aria-hidden":"true"}}),t("span",[e._v(e._s(e.createFolderInLabel))])]),t("div",{staticClass:"create-folder-body"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.newFolderName,expression:"newFolderName"}],ref:"newFolderInput",staticClass:"new-folder-input",attrs:{type:"text",placeholder:e.newFolderPlaceholder,"aria-label":e.newFolderPlaceholder},domProps:{value:e.newFolderName},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.createFolder.apply(null,arguments))},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancelCreateFolder.apply(null,arguments)},input:function(t){t.target.composing||(e.newFolderName=t.target.value)}}}),t("div",{staticClass:"create-folder-actions"},[t("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"button",disabled:!e.newFolderName},on:{click:e.createFolder}},[t("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.createLabel)+"\n ")]),t("button",{staticClass:"btn btn-sm btn-default",attrs:{type:"button"},on:{click:e.cancelCreateFolder}},[t("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}}),e._v(" "+e._s(e.config.translations.upload_button_cancel||"Cancel")+"\n ")])])]),e.createFolderError?t("div",{staticClass:"create-folder-error",attrs:{role:"alert"}},[e._v("\n "+e._s(e.createFolderError)+"\n ")]):e._e()]):e._e()],1)}),st=[],lt=i("bc3a"),ot=i.n(lt);function ct(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=dt(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){l=!0,r=e},f:function(){try{s||null==i.return||i.return()}finally{if(l)throw r}}}}function dt(e,t){if(e){if("string"==typeof e)return ut(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ut(e,t):void 0}}function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=Array(t);i0){var r=this.findNodeById(n.children,t);if(r)return r}}}catch(s){a.e(s)}finally{a.f()}return null},loadSubFolders:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var i,a,n,r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.parentNode,a={folder:i.id===Z||"(root)"===i.id?"":i.id},e.prev=1,e.next=2,fetch(this.config.paths.load_folders+"?"+v(a));case 2:if(r=e.sent,r.ok){e.next=3;break}throw new Error("Loading the folders failed with status ".concat(r.status));case 3:return e.next=4,r.json();case 4:if(n=e.sent,Array.isArray(n)){e.next=5;break}throw new Error("Unexpected list of folders");case 5:e.next=7;break;case 6:return e.prev=6,e["catch"](1),t.callback(new Error(this.treeselectTexts.loadFailed)),e.abrupt("return");case 7:s=n.map((function(e){return{id:e.id,label:e.label,children:null}})),s.push({id:this.createActionId(i.id),label:this.createLabel,isCreateAction:!0,parentNode:i,children:void 0}),i.children=s,t.callback();case 8:case"end":return e.stop()}}),e,this,[[1,6]])})));function t(t){return e.apply(this,arguments)}return t}(),showCreateFolder:function(e){var t=this;this.creatingFolder=!0,this.creatingFolderParent=e,this.newFolderName="",this.createFolderError=null,this.internalSelectedFolder=e.id,this.$emit("change",this.normalizeFolderValue(e.id)),this.$nextTick((function(){t.$refs.newFolderInput&&t.$refs.newFolderInput.focus()}))},createFolder:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t,i,a,n,r,s,l,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.newFolderName){e.next=1;break}return e.abrupt("return");case 1:return e.prev=1,t=new FormData,i=this.creatingFolderParent&&this.creatingFolderParent.id!==Z&&"(root)"!==this.creatingFolderParent.id?this.creatingFolderParent.id:"",i&&t.append("parent",i),t.append("folder",this.newFolderName),e.next=2,ot.a.post(this.config.paths.create_folder,t);case 2:a=i?"".concat(i,"/").concat(this.newFolderName):this.newFolderName,n=this.newFolderName,this.creatingFolderParent&&this.creatingFolderParent.children&&(r=this.creatingFolderParent.children.findIndex((function(e){return e.isCreateAction})),-1!==r&&this.creatingFolderParent.children.splice(r,1),this.creatingFolderParent.children.push({id:a,label:n,children:null}),this.creatingFolderParent.children.push({id:this.createActionId(this.creatingFolderParent.id),label:this.createLabel,isCreateAction:!0,parentNode:this.creatingFolderParent,children:void 0})),this.folders=Object(h["a"])(this.folders),this.internalSelectedFolder=a,this.$emit("change",a),this.cancelCreateFolder(),e.next=4;break;case 3:e.prev=3,o=e["catch"](1),s=o.response&&o.response.data,l=s&&"object"===Object(it["a"])(s)?s.detail||s.message:null,this.createFolderError=l||this.config.translations.upload_error_create_folder_failed||"Failed to create folder";case 4:case"end":return e.stop()}}),e,this,[[1,3]])})));function t(){return e.apply(this,arguments)}return t}(),cancelCreateFolder:function(){this.creatingFolder=!1,this.creatingFolderParent=null,this.newFolderName="",this.createFolderError=null}},watch:{selectedFolder:function(e){this.internalSelectedFolder=e||this.rootId}}},pt=ht,mt=(i("f28e"),i("65ab"),Object(z["a"])(pt,rt,st,!1,null,"41f4517d",null)),gt=mt.exports,bt=240,vt=function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from((e&&i?"".concat(e,"/"):"")+t).length},_t=900,yt=780,wt={name:"MultiUploadTable",props:{files:Array,config:Object,visibilities:Array,overLimitIds:{type:Array,default:function(){return[]}},batchUploading:{type:Boolean,default:!1},uploadsDisabled:{type:Boolean,default:!1}},computed:{t:function(){return this.config.translations||{}},showVisibility:function(){return this.visibilities.length>1},previewLabel:function(){return this.t.multi_upload_table_preview||"Preview"},filenameLabel:function(){return this.t.multi_upload_table_filename||"Filename"},folderLabel:function(){return this.t.multi_upload_table_folder||"Folder"},visibilityLabel:function(){return this.t.multi_upload_table_visibility||"Visibility"},overwriteLabel:function(){return this.t.upload_checkbox_overwrite||"Overwrite"},statusLabel:function(){return this.t.multi_upload_table_status||"Status"},actionsLabel:function(){return this.t.multi_upload_table_actions||"Actions"},pendingLabel:function(){return this.t.multi_upload_status_pending||"Pending"},successLabel:function(){return this.t.multi_upload_status_success||"Success"},errorLabel:function(){return this.t.multi_upload_status_error||"Error"},uploadFileLabel:function(){return this.t.multi_upload_table_upload_file||"Upload this file"},removeFileLabel:function(){return this.t.multi_upload_table_remove_file||"Remove file"},cancelUploadLabel:function(){return this.t.multi_upload_table_cancel_upload||"Cancel upload"},useExistingLabel:function(){return this.t.multi_upload_use_existing||"Use existing file"},retryLabel:function(){return this.t.multi_upload_retry||"Retry"},rootFolderLabel:function(){return this.t.upload_root_folder||"(root)"}},components:{"folder-tree-select":gt,"v-select":j.a},data:function(){return{previewUrls:{},brokenPreviews:[],isNarrow:!1}},methods:{formatByteSize:F,isEditable:function(e){return!this.batchUploading&&("pending"===e.status||"error"===e.status)},isOverLimit:function(e){return this.overLimitIds.includes(e.id)},isFilenameEmpty:function(e){return""===(e.filename||"").trim()},isFilenameInvalid:function(e){return this.isFilenameEmpty(e)||this.isEditable(e)&&vt(e.folder,(e.filename||"").trim(),!1!==this.config.folderScopedUploads)>bt},canUploadRow:function(e){return!this.batchUploading&&!this.uploadsDisabled&&!this.isOverLimit(e)&&!this.isFilenameEmpty(e)},getInputId:function(e,t){return"ngrm-upload-".concat(this._uid,"-").concat(e.id,"-").concat(t)},isImage:function(e){return e.type.startsWith("image/")},hasPreview:function(e){return this.isImage(e.file)&&!this.brokenPreviews.includes(e.id)},handlePreviewError:function(e){this.brokenPreviews.push(e.id)},fileIconClass:V,fileExtension:T,getPreviewUrl:function(e){return this.previewUrls[e.id]||(this.previewUrls[e.id]=URL.createObjectURL(e.file)),this.previewUrls[e.id]},getFolderName:function(e){return e||this.rootFolderLabel},getVisibilityName:function(e){var t=this.visibilities.find((function(t){return t.id===e}));return t?t.name:e},handleFilenameChange:function(e,t){this.$emit("update-file",e.id,{filename:t})},handleFolderChange:function(e,t){this.$emit("update-file",e.id,{folder:t})},handleVisibilityChange:function(e,t){this.$emit("update-file",e.id,{visibility:t})},handleOverwriteChange:function(e,t){this.$emit("update-file",e.id,{overwrite:t})},handleRemove:function(e){this.$emit("remove-file",e.id)},updateLayout:function(){this.$el&&(this.isNarrow=this.$el.clientWidth<(this.showVisibility?_t:yt))},scheduleLayoutUpdate:function(){var e=this;cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){return e.updateLayout()}))}},mounted:function(){var e=this;this.updateLayout(),this.layoutListener=function(){return e.scheduleLayoutUpdate()},"undefined"!==typeof ResizeObserver?(this.resizeObserver=new ResizeObserver(this.layoutListener),this.resizeObserver.observe(this.$el)):window.addEventListener("resize",this.layoutListener)},watch:{showVisibility:function(){this.updateLayout()},files:function(e){var t=this,i=e.map((function(e){return String(e.id)}));Object.keys(this.previewUrls).forEach((function(e){i.includes(e)||(URL.revokeObjectURL(t.previewUrls[e]),delete t.previewUrls[e])}))}},beforeDestroy:function(){cancelAnimationFrame(this.layoutFrame),this.resizeObserver?this.resizeObserver.disconnect():window.removeEventListener("resize",this.layoutListener),Object.values(this.previewUrls).forEach((function(e){URL.revokeObjectURL(e)}))}},Ct=wt,Ft=(i("165a"),Object(z["a"])(Ct,at,nt,!1,null,"3d7dd364",null)),xt=Ft.exports,It="__ngrmUploadPanels",kt=function(){return window[It]instanceof Set||(window[It]=new Set),window[It]},St=function(e){return kt().add(e)},Ot=function(e){return kt().delete(e)},Lt=function(e){var t=e instanceof Node?e:document,i=!1;return kt().forEach((function(e){e.$el&&t.contains(e.$el)&&e.blockHostSubmit()&&(i=!0)})),i};function Vt(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=Tt(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){l=!0,r=e},f:function(){try{s||null==i.return||i.return()}finally{if(l)throw r}}}}function Tt(e,t){if(e){if("string"==typeof e)return Rt(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Rt(e,t):void 0}}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=Array(t);i0},effectiveGlobalFolder:function(){return this.globalFolder?this.globalFolder:this.config.parentFolder?this.config.parentFolder.id:""},globalFolderLabelId:function(){return"ngrm-".concat(this.fieldId,"-upload-folder-label")},globalVisibilityInputId:function(){return"ngrm-".concat(this.fieldId,"-upload-visibility")},dropZoneLabel:function(){return this.isSingleFileMode?this.t.multi_upload_drop_zone_single||"Drop file here or click to browse":this.t.multi_upload_drop_zone||"Drop files here or click to browse"},browseLabel:function(){return this.isSingleFileMode?this.t.multi_upload_browse_single||"Browse file":this.t.multi_upload_browse||"Browse files"},globalFolderLabel:function(){return this.t.multi_upload_global_folder||"Default folder for all files:"},globalVisibilityLabel:function(){return this.t.multi_upload_global_visibility||"Default visibility for all files:"},applyToAllLabel:function(){return this.t.multi_upload_global_apply_to_all||"apply to all files"},uploadOverwriteLabel:function(){return this.t.upload_checkbox_overwrite||"Overwrite"},filesPendingLabel:function(){return this.t.multi_upload_files_pending||"pending"},filesSuccessLabel:function(){return this.t.multi_upload_files_success||"uploaded"},filesErrorLabel:function(){return this.t.multi_upload_files_error||"failed"},uploadingLabel:function(){return this.t.multi_upload_uploading||"Uploading..."},uploadAllLabel:function(){return this.t.multi_upload_button_upload_all||"Upload all"},clearCompletedLabel:function(){return this.t.multi_upload_clear_completed||"Clear completed"},hasLimit:function(){return this.uploadLimit>0},queuedFiles:function(){return this.files.filter((function(e){return"pending"===e.status||"uploading"===e.status||"error"===e.status}))},pendingFilesCount:function(){return this.queuedFiles.length},occupiedCount:function(){return this.isSingleFileMode?0:this.currentCount},queueCapacity:function(){return this.hasLimit?Math.max(0,this.uploadLimit-this.occupiedCount):1/0},overLimitIds:function(){return this.hasLimit?this.queuedFiles.slice(this.queueCapacity).map((function(e){return e.id})):[]},remainingSlots:function(){return this.hasLimit?Math.max(0,this.uploadLimit-this.totalCount):1/0},totalCount:function(){return this.occupiedCount+this.pendingFilesCount},isAtLimit:function(){return this.hasLimit&&this.totalCount>=this.uploadLimit},isOverLimit:function(){return this.hasLimit&&this.totalCount>this.uploadLimit},isDropzoneDisabled:function(){return this.isSingleFileMode?this.uploading:this.isAtLimit},uploadFailedMessage:function(){return this.t.multi_upload_error_failed||"Upload failed"},unfinishedFilesCount:function(){return this.queuedFiles.length},hasUnfinishedFiles:function(){return this.unfinishedFilesCount>0},limitMessage:function(){return this.hasLimit?this.isOverLimit?(this.t.limit_exceeded||"Too many files! Maximum %limit% allowed").replace("%limit%",this.uploadLimit):this.isAtLimit?(this.t.limit_reached||"File limit reached (%limit% maximum)").replace("%limit%",this.uploadLimit):(this.t.limit_remaining||"%remaining% slot(s) remaining").replace("%remaining%",this.remainingSlots).replace("%limit%",this.uploadLimit):""},limitClass:function(){return this.isOverLimit?"limit-exceeded":this.isAtLimit?"limit-reached":""},pendingCount:function(){return this.files.filter((function(e){return"pending"===e.status})).length},successCount:function(){return this.files.filter((function(e){return"success"===e.status})).length},errorCount:function(){return this.files.filter((function(e){return"error"===e.status})).length},defaultVisibility:function(){return this.globalVisibility?this.globalVisibility:this.visibilities.length>0?this.visibilities[0].id:(this.config.allowedVisibilities||[]).length>0?this.config.allowedVisibilities[0]:""},overallProgress:function(){if(0===this.totalFiles)return 0;var e=this.currentBatchFile&&"uploading"===this.currentBatchFile.status?(this.currentBatchFile.progress||0)/100:0,t=(this.batchCompleted+e)/this.totalFiles*100;return Math.min(100,Math.round(t))},acceptedFileTypes:function(){var e=this.config.allowedTypes||[];if(0===e.length)return null;var t={image:"image/*",video:"video/*",audio:"audio/*"},i=e.map((function(e){return t[e]})).filter(Boolean);return i.length!==e.length?null:i.join(",")}},methods:{showNotice:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info";this.notice={message:e,severity:i},this.noticeTimer&&clearTimeout(this.noticeTimer),this.noticeTimer=setTimeout((function(){t.notice=null}),5e3)},showLimitReachedNotice:function(){this.showNotice((this.t.limit_reached||"File limit reached (%limit% maximum)").replace("%limit%",this.uploadLimit),"error")},triggerFileInput:function(){this.$refs.fileInput.click()},handleFileSelect:function(e){this.addFiles(Array.from(e.target.files)),e.target.value=""},handleDrop:function(e){this.isDragOver=!1,this.isSingleFileMode&&this.uploading||this.addFiles(Array.from(e.dataTransfer.files))},filterDuplicateFiles:function(e){var t=new Set(this.files.filter((function(e){return"success"!==e.status})).map((function(e){return e.key}))),i=[],a=e.filter((function(e){var a=$t(e);return t.has(a)?(i.push(e.name),!1):(t.add(a),!0)}));return i.length>0&&this.showNotice((this.t.multi_upload_duplicate_file||'"%filename%" is already in the upload list').replace("%filename%",Object(h["a"])(new Set(i)).join('", "')),"info"),a},addFiles:function(e){var t=this,i=this.filterDuplicateFiles(Array.from(e));if(0!==i.length){if(this.$emit("facets-needed"),this.isSingleFileMode)this.files=this.files.filter((function(e){return"uploading"===e.status})),i.length>1&&this.showNotice((this.t.limit_reached||"File limit reached (%limit% maximum)").replace("%limit%",this.uploadLimit),"info"),i=[i[0]];else if(this.hasLimit){var a=this.queueCapacity-this.pendingFilesCount;if(a<=0)return void this.showLimitReachedNotice();i.length>a&&(this.showNotice((this.t.limit_remaining||"%remaining% slot(s) remaining").replace("%remaining%",a).replace("%limit%",this.uploadLimit),"info"),i.splice(a))}i.forEach((function(e){t.files.push({id:t.nextId++,key:$t(e),file:e,filename:e.name,folder:t.config.folder?t.config.folder.id:t.effectiveGlobalFolder,visibility:t.defaultVisibility,overwrite:t.globalOverwrite,status:"pending",progress:0,error:null,notice:null,resource:null})}))}},canUpload:function(){return this.facetsReady&&!this.isOverLimit&&this.files.some((function(e){return"pending"===e.status}))},normalizeFolderValue:function(e){return null===e||"undefined"===typeof e||"(root)"===e||"null"===e?"":e},handleGlobalFolderChange:function(e){var t=this;this.globalFolder=this.normalizeFolderValue(e),this.files.forEach((function(e){"pending"===e.status&&t.$set(e,"folder",t.effectiveGlobalFolder)}))},handleGlobalVisibilityChange:function(e){var t=this;this.globalVisibility=e,this.files.forEach((function(i){"pending"===i.status&&t.$set(i,"visibility",e)}))},handleGlobalOverwriteChange:function(){var e=this;this.files.forEach((function(t){"pending"===t.status&&e.$set(t,"overwrite",e.globalOverwrite)}))},handleFileUpdate:function(e,t){var i=this.files.find((function(t){return t.id===e}));i&&Object.assign(i,t)},handleFileRemove:function(e){var t=this.files.findIndex((function(t){return t.id===e}));if(-1!==t){this.files.splice(t,1);var i=this.cancelSourcesByFileId.get(e);i&&i.cancel(Pt)}},clearCompleted:function(){this.files=this.files.filter((function(e){return"success"!==e.status}))},isInField:function(e){var t=e&&(e.remoteId||e.remote_id||e.id);return!!t&&this.existingIds.includes(t)},markSucceeded:function(e,t){e.status="success",e.error=null,e.progress=100,e.resource=t,e.notice=this.isInField(t)?this.t.multi_upload_already_added||"Already added to this field":null},hasRoomFor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return!(this.hasLimit&&!this.isSingleFileMode)||this.currentCount+e0&&!this.isDestroyed&&this.$emit("all-uploaded",i),e.finish(9);case 10:case"end":return e.stop()}}),e,this,[[1,,9,10],[2,7,8,9]])})));function t(t){return e.apply(this,arguments)}return t}(),useExistingResource:function(e){if(!this.uploading&&e.resource){var t=this.isInField(e.resource);t||this.hasRoomFor()?(this.markSucceeded(e,e.resource),t||this.$emit("all-uploaded",[e.resource])):this.showLimitReachedNotice()}},serverErrorMessage:function(e){var t=e.data;return t&&"object"===Object(it["a"])(t)&&(t.detail||t.message||t.title)||null},describeUploadError:function(e,t){if(ot.a.isCancel(e))return this.t.multi_upload_error_timeout||"The upload timed out. Try again.";if(e.response){if(409===e.response.status){var i=this.normalizeFolderValue(t.folder);return t.resource=e.response.data,this.config.folderScopedUploads&&i&&this.t.upload_error_existing_resource_in_folder?this.t.upload_error_existing_resource_in_folder.replace("%folder%",i):this.t.upload_error_existing_resource||"Different resource with same name already exists! Rename it, use overwrite or use existing resource:"}return this.serverErrorMessage(e.response)||"".concat(this.uploadFailedMessage," (").concat(e.response.status,")")}return this.uploadFailedMessage},uploadSingleFile:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var i,a,n,r,s,l,o,c,d,f,h,p,m,g;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.files.includes(t)&&("pending"===t.status||"error"===t.status)){e.next=1;break}return e.abrupt("return",null);case 1:if(i=(t.filename||"").trim(),""!==i){e.next=2;break}return t.status="error",t.error=this.t.multi_upload_error_empty_filename||"Enter a file name",e.abrupt("return",null);case 2:if(a=vt(this.normalizeFolderValue(t.folder),i,!1!==this.config.folderScopedUploads),!(a>bt)){e.next=3;break}return t.status="error",t.error=(this.t.upload_error_name_too_long||"The folder and the file name are too long together (%length% characters, %max% allowed). Shorten the file name.").replace("%length%",a).replace("%max%",bt),e.abrupt("return",null);case 3:for(t.status="uploading",t.progress=0,t.error=null,t.notice=null,t.resource=null,n=ot.a.CancelToken.source(),this.cancelSources.add(n),this.cancelSourcesByFileId.set(t.id,n),r=null,s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Et;clearTimeout(r),r=setTimeout((function(){return n.cancel(jt)}),e)},e.prev=4,l=new FormData,l.append("file",t.file),l.append("filename",i),l.append("folder",this.normalizeFolderValue(t.folder)),l.append("overwrite",t.overwrite),t.visibility&&l.append("visibility",t.visibility),l.append("hide_filename",this.config.hideFilename),o=0,c=Object.entries(this.config.uploadContext||{});o0&&e.loaded>=e.total;s(i?Mt:Et),t.progress=e.total?Math.min(100,Math.round(100*e.loaded/e.total)):0}});case 5:if(p=e.sent,this.files.includes(t)){e.next=6;break}return e.abrupt("return",null);case 6:if(m=this.config.allowedTypes||[],!(m.length>0&&-1===m.indexOf(p.data.type))){e.next=7;break}return t.status="error",t.progress=0,t.error=(this.t.upload_error_unsupported_resource_type||"Resource has been uploaded but its type is not supported so it can't be used here! Supported types: ")+m.join(", "),e.abrupt("return",null);case 7:return this.markSucceeded(t,p.data),e.abrupt("return",p.data);case 8:if(e.prev=8,g=e["catch"](4),this.files.includes(t)){e.next=9;break}return e.abrupt("return",null);case 9:return t.status="error",t.progress=0,t.error=this.describeUploadError(g,t),e.abrupt("return",null);case 10:return e.prev=10,clearTimeout(r),this.cancelSources.delete(n),this.cancelSourcesByFileId.delete(t.id),e.finish(10);case 11:case"end":return e.stop()}}),e,this,[[4,8,10,11]])})));function t(t){return e.apply(this,arguments)}return t}(),handleFormSubmit:function(e){this.skipsSubmitBlock(e.submitter||this.skippedSubmitControl)||this.blockSubmit(e,e.target)},skipsSubmitBlock:function(e){return e instanceof Element&&Ut.some((function(t){return e.hasAttribute(t)}))},handleSubmitClick:function(e){var t=this,i=e.target instanceof Element?e.target.closest(At):null;if(i)return this.skipsSubmitBlock(i)?(this.skippedSubmitControl=i,void setTimeout((function(){t.skippedSubmitControl=null}))):void this.blockSubmit(e,i.form)},blockSubmit:function(e,t){this.hasUnfinishedFiles&&this.$el&&t instanceof HTMLFormElement&&t.contains(this.$el)&&(e.preventDefault(),e.stopImmediatePropagation(),this.announceBlockedSubmit(t))},blockHostSubmit:function(){return!(!this.hasUnfinishedFiles||!this.$el)&&(this.announceBlockedSubmit(this.$el.closest("form")),!0)},announceBlockedSubmit:function(e){var t=this;this.files.some((function(e){return"uploading"===e.status}))?this.submitBlockedMessage=this.t.multi_upload_submit_blocked_uploading||"Wait until the upload has finished before saving.":this.files.some((function(e){return"pending"===e.status}))?this.submitBlockedMessage=this.t.multi_upload_submit_blocked_pending||"Some files are not uploaded yet. Upload or remove them before saving.":this.submitBlockedMessage=this.t.multi_upload_submit_blocked_failed||"Some files failed to upload. Retry or remove them before saving.",this.$el.dispatchEvent(new CustomEvent("ngrm-submit-blocked",{bubbles:!0,detail:{form:e,message:this.submitBlockedMessage}})),this.$nextTick((function(){null===t.$el.offsetParent?t.showFloatingNotice(t.submitBlockedMessage):t.$refs.submitBlocked&&t.$refs.submitBlocked.scrollIntoView({block:"center"})}))},showFloatingNotice:function(e){var t=this;this.removeFloatingNotice();var i=document.getElementById(Dt);i&&i.remove();var a=document.createElement("div");a.id=Dt,a.className="limit-indicator limit-exceeded ngrm-floating-notice",a.setAttribute("role","alert"),a.textContent=e,document.body.appendChild(a),this.floatingNotice=a,this.floatingNoticeTimer=setTimeout((function(){return t.removeFloatingNotice()}),zt)},removeFloatingNotice:function(){clearTimeout(this.floatingNoticeTimer),this.floatingNotice&&(this.floatingNotice.remove(),this.floatingNotice=null)}},watch:{visibilities:function(e){var t=this;if(0!==e.length){this.globalVisibility||(this.globalVisibility=this.defaultVisibility);var i=e.map((function(e){return e.id}));this.files.forEach((function(e){"pending"===e.status&&(e.visibility&&i.includes(e.visibility)||(e.visibility=t.globalVisibility))}))}},hasUnfinishedFiles:function(e){e||(this.submitBlockedMessage=null,this.removeFloatingNotice())},pendingFilesCount:{immediate:!0,handler:function(e){this.$emit("queue-change",e)}}},created:function(){this.cancelSources=new Set,this.cancelSourcesByFileId=new Map,this.isDestroyed=!1,this.floatingNotice=null,this.floatingNoticeTimer=null,this.skippedSubmitControl=null},mounted:function(){var e=this;this.globalVisibility=this.defaultVisibility,this.formSubmitListener=function(t){return e.handleFormSubmit(t)},this.submitClickListener=function(t){return e.handleSubmitClick(t)},document.addEventListener("submit",this.formSubmitListener,!0),document.addEventListener("click",this.submitClickListener,!0),St(this)},beforeDestroy:function(){this.isDestroyed=!0,Ot(this),this.cancelSources.forEach((function(e){return e.cancel(Nt)})),this.removeFloatingNotice(),this.noticeTimer&&clearTimeout(this.noticeTimer),document.removeEventListener("submit",this.formSubmitListener,!0),document.removeEventListener("click",this.submitClickListener,!0)}},qt=Bt,Gt=(i("f29e"),Object(z["a"])(qt,et,tt,!1,null,"b0092f00",null)),Jt=Gt.exports;function Wt(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function Yt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null;return{id:"",locationId:"",name:"",type:"image",format:"",url:"",previewUrl:"",browseUrl:"",alternateText:"",caption:"",watermarkText:"",altTextOverride:"",captionOverride:"",tags:[],size:0,variations:{},height:0,width:0,selectedVariation:null,cssClass:"",source:e,uploadedResources:[]}},ii={name:"Interactions",props:["fieldId","config","selectedImage"],components:{preview:$,"media-modal":Oe,"crop-modal":Xe,"multi-upload-inline":Jt},computed:{uploadLimit:function(){return Number(this.config.uploadLimit||0)},isSingleMode:function(){return 1===this.uploadLimit},resources:function(){return this.localSelectedImage.uploadedResources||[]},currentFileCount:function(){return this.resources.length},fieldResourceIds:function(){return this.resources.map((function(e){return e.id})).filter(Boolean)},existingResourceIds:function(){return this.isSingleMode?[]:this.fieldResourceIds},hasCroppableVariations:function(){return Object.keys(this.config.availableVariations).length>0},cropTargetImage:function(){return this.resources[this.cropTargetIndex]||this.localSelectedImage}},data:function(){return{localSelectedImage:this.normalizeSelectedImage(this.selectedImage),mediaModalOpen:!1,cropModalOpen:!1,types:[],tags:[],visibilities:[],facetsLoading:!1,facetsRequested:!1,facetsLoaded:!1,cropTargetIndex:0,limitNotice:null,limitNoticeTimer:null,queuedUploadCount:0}},methods:{getBrowseButtonLabel:function(){return 0===this.currentFileCount?this.config.translations.interactions_select_media||"Select media":this.config.translations.interactions_manage_media||"Manage media"},handleRemoveResource:function(e){var t=Object(h["a"])(this.resources);t.splice(e,1),this.setResources(t),this.dispatchVanillaChangeEvent()},handleReorderResources:function(e){var t=Array.isArray(e)?e:this.resources;this.setResources(t),this.dispatchVanillaChangeEvent()},handleUpdateResource:function(e){var t=e.index,i=e.field,a=e.value;if(!(t<0||t>=this.resources.length)){var n=this.resources.map((function(e,n){return n===t?Yt(Yt({},e),{},Object(f["a"])({},i,a)):e}));this.setResources(n),this.announceCloudValue(n[t],i,a)}},announceCloudValue:function(e,t,i){"embed"!==this.config.mode&&e.id&&Kt.includes(t)&&document.dispatchEvent(new CustomEvent(Ht,{detail:{source:this,remoteId:e.id,field:t,value:i}}))},handleCloudValueAnnounced:function(e){var t=this,i=e.detail,a=i.source,n=i.remoteId,r=i.field,s=i.value;if(a!==this&&"embed"!==this.config.mode&&this.resources.some((function(e){return e.id===n}))){this.setResources(this.resources.map((function(e){return e.id===n?Yt(Yt({},e),{},Object(f["a"])({},r,Array.isArray(s)?Object(h["a"])(s):s)):e})));var l=this.resources.findIndex((function(e){return e.id===n})),o={alternateText:"altText",caption:"caption",tags:"tags]["}[r],c="".concat(this.config.inputFields._collection||this.fieldId,"[").concat(l,"][").concat(o,"]");clearTimeout(this.cloudValuesChangeTimer),this.cloudValuesChangeTimer=setTimeout((function(){return t.dispatchVanillaChangeEvent(c)}),Qt)}},handleUpdateImage:function(e){var t=e.field,i=e.value;this.localSelectedImage=Yt(Yt({},this.localSelectedImage),{},Object(f["a"])({},t,i))},handleMoveResource:function(e){var t=e.from,i=e.to,a=Object(h["a"])(this.resources);if(!(t<0||t>=a.length||i<0||i>=a.length)){var n=a.splice(t,1),r=Object(u["a"])(n,1),s=r[0];a.splice(i,0,s),this.setResources(a),this.dispatchVanillaChangeEvent()}},handleMediaMultiSelected:function(e){var t=this;this.appendResources(e.map((function(e){return t.normalizeResource(e)}))),this.mediaModalOpen=!1,this.resetDomAfterModal(),this.dispatchVanillaChangeEvent()},normalizeSelectedImageForCollectionMode:function(){var e=this;this.resources.length>0?this.setResources(this.resources.map((function(t){return e.normalizeResource(t)}))):this.localSelectedImage=this.normalizeSelectedImage(this.localSelectedImage)},getEmptyImageState:function(){return ti(this.config.locationSource||null)},appendResources:function(e){var t=new Set(this.resources.map((function(e){return e.id}))),i=e.filter((function(e){return!t.has(e.id)&&(t.add(e.id),!0)})),a=this.uploadLimit>1?Math.max(this.uploadLimit-this.currentFileCount,0):i.length;if(i.length>a){var n=this.config.translations.limit_reached||"File limit reached (%limit% maximum)";this.showLimitNotice(n.replace("%limit%",this.uploadLimit))}this.setResources([].concat(Object(h["a"])(this.resources),Object(h["a"])(i.slice(0,a))))},normalizeResource:function(e){var t=e.altText||e.alt_text||e.alternateText||e.alternate_text||"",i=e.caption||"",a=e.tags||[];return{uid:e.uid||ei(),id:e.remoteId||e.remote_id||e.id||"",locationId:e.locationId||e.location_id||"",name:e.filename||e.name||"",type:e.type||"image",format:e.format||"",url:e.url||"",previewUrl:e.previewUrl||e.preview_url||"",browseUrl:e.browseUrl||e.browse_url||e.previewUrl||e.preview_url||e.url||"",alternateText:t,caption:i,watermarkText:e.watermarkText||"",altTextOverride:e.altTextOverride||"",captionOverride:e.captionOverride||"",tags:a,loaded:e.loaded||{altText:t,caption:i,tags:Object(h["a"])(a)},size:e.size||0,variations:e.variations||{},height:e.height||0,width:e.width||0,source:e.source||this.config.locationSource||""}},normalizeSelectedImage:function(e){var t=this,i=e||this.getEmptyImageState(),a=Array.isArray(i.uploadedResources)?i.uploadedResources:[];if(a.length>0){var n=a.map((function(e){return t.normalizeResource(e)})),r=n[0];return Yt(Yt(Yt(Yt({},this.getEmptyImageState()),i),r),{},{selectedVariation:i.selectedVariation||null,cssClass:i.cssClass||"",uploadedResources:n})}if(i.id){var s=this.normalizeResource(i);return Yt(Yt(Yt(Yt({},this.getEmptyImageState()),i),s),{},{selectedVariation:i.selectedVariation||null,cssClass:i.cssClass||"",uploadedResources:[s]})}return Yt(Yt(Yt({},this.getEmptyImageState()),i),{},{uploadedResources:[]})},setResources:function(e){var t=this;if(0!==e.length){var i=e.map((function(e){return t.normalizeResource(e)})),a=i[0];this.localSelectedImage=Yt(Yt(Yt({},this.localSelectedImage),a),{},{selectedVariation:this.localSelectedImage.selectedVariation||null,cssClass:this.localSelectedImage.cssClass||"",uploadedResources:i})}else this.localSelectedImage=Yt(Yt({},this.getEmptyImageState()),{},{watermarkText:this.isSingleMode&&"embed"!==this.config.mode&&this.localSelectedImage.watermarkText||""})},dispatchVanillaChangeEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"modal";this.$nextTick((function(){this.$el.dispatchEvent(new CustomEvent("ngrm-change",{detail:{inputFields:this.config.inputFields,selectedImage:this.localSelectedImage,fieldId:this.fieldId,changedField:e,config:this.config},bubbles:!0}))}))},prepareDomForModal:function(){var e=document.querySelector(".ez-page-builder-wrapper");e&&(e.style.transform="none")},resetDomAfterModal:function(){var e=document.querySelector(".ez-page-builder-wrapper");e&&e.removeAttribute("style")},handleMediaModalClose:function(){this.mediaModalOpen=!1,this.resetDomAfterModal(),this.dispatchVanillaChangeEvent()},handleCropModalClose:function(){this.cropModalOpen=!1,this.resetDomAfterModal(),this.dispatchVanillaChangeEvent()},handleMediaSelected:function(e){if(this.uploadLimit>1&&this.currentFileCount>=this.uploadLimit){var t=this.config.translations.limit_reached||"File limit reached (%limit% maximum)";return this.showLimitNotice(t.replace("%limit%",this.uploadLimit)),this.mediaModalOpen=!1,void this.resetDomAfterModal()}var i=this.normalizeResource(e);this.isSingleMode&&!i.watermarkText&&(i.watermarkText=this.localSelectedImage.watermarkText||"");var a=this.isSingleMode?[i]:[].concat(Object(h["a"])(this.resources),[i]);this.setResources(a),this.mediaModalOpen=!1,this.resetDomAfterModal(),this.dispatchVanillaChangeEvent()},showLimitNotice:function(e){var t=this;this.limitNotice=e,this.limitNoticeTimer&&clearTimeout(this.limitNoticeTimer),this.limitNoticeTimer=setTimeout((function(){t.limitNotice=null}),5e3)},handleVariationCropChange:function(e){var t=Object(h["a"])(this.resources),i=t[this.cropTargetIndex]||this.localSelectedImage,a=Yt(Yt({},i),{},{variations:Yt(Yt({},i.variations||{}),e)});t[this.cropTargetIndex]?(t.splice(this.cropTargetIndex,1,a),this.setResources(t)):this.localSelectedImage=a,this.dispatchVanillaChangeEvent()},handleCropClicked:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.cropTargetIndex=e,this.cropModalOpen=!0,this.prepareDomForModal()},ensureFacets:function(){this.facetsRequested||this.fetchFacets()},fetchFacets:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t,i,a,n,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.facetsRequested=!0,this.facetsLoading=!0,t=new AbortController,i=setTimeout((function(){return t.abort()}),Zt),e.prev=1,e.next=2,fetch(this.config.paths.load_facets,{signal:t.signal});case 2:return a=e.sent,e.next=3,a.json();case 3:n=e.sent,this.types=[],this.tags=[],this.visibilities=[],n.types.forEach((function(e){-1===r.config.allowedTypes.indexOf(e.id)&&0!==r.config.allowedTypes.length||r.types.push(e)})),n.tags.forEach((function(e){-1===r.config.allowedTags.indexOf(e.id)&&0!==r.config.allowedTags.length||r.tags.push(e)})),n.visibilities.forEach((function(e){-1===r.config.allowedVisibilities.indexOf(e.id)&&0!==r.config.allowedVisibilities.length||r.visibilities.push(e)})),e.next=5;break;case 4:e.prev=4,e["catch"](1),this.types=this.config.allowedTypes.map((function(e){return{id:e,name:e}})),this.tags=this.config.allowedTags.map((function(e){return{id:e,name:e}})),this.visibilities=this.config.allowedVisibilities.map((function(e){return{id:e,name:e}}));case 5:return e.prev=5,clearTimeout(i),this.facetsLoading=!1,this.facetsLoaded=!0,e.finish(5);case 6:case"end":return e.stop()}}),e,this,[[1,4,5,6]])})));function t(){return e.apply(this,arguments)}return t}(),handleBrowseMediaClicked:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.mediaModalOpen=!0,this.prepareDomForModal(),this.fetchFacets();case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleMultiResourcesUploaded:function(e){var t=this;if(e.length>0){var i=e.map((function(e){return t.normalizeResource(e)}));if(this.isSingleMode){var a=i[0];a.watermarkText||(a.watermarkText=this.localSelectedImage.watermarkText||""),this.setResources([a])}else this.appendResources(i)}this.dispatchVanillaChangeEvent()}},watch:{selectedImage:function(){this.localSelectedImage=this.normalizeSelectedImage(this.selectedImage),this.$emit("selectedImageChanged",this.localSelectedImage)}},mounted:function(){var e=this;this.normalizeSelectedImageForCollectionMode(),this.cloudValuesListener=function(t){return e.handleCloudValueAnnounced(t)},document.addEventListener(Ht,this.cloudValuesListener),this.$nextTick((function(){var e=document.querySelector(".ngrm-model-portal-".concat(this.fieldId));document.body.prepend(e)}))},beforeDestroy:function(){this.limitNoticeTimer&&clearTimeout(this.limitNoticeTimer),clearTimeout(this.cloudValuesChangeTimer),document.removeEventListener(Ht,this.cloudValuesListener)}},ai=ii,ni=Object(z["a"])(ai,o,c,!1,null,null,null),ri=ni.exports,si={bind:function(e,t,i){var n=y(t.arg);"config"===n&&t.value?(Object.keys(i.context[n]).forEach((function(e){Object.prototype.hasOwnProperty.call(t.value,e)||a["default"].delete(i.context[n],e)})),Object.keys(t.value).forEach((function(e){a["default"].set(i.context[n],e,t.value[e])}))):i.context[n]=t.value}},li=(i("b39d"),function(){var e=this,t=e._self._c;return t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedFolder,expression:"selectedFolder"}],attrs:{type:"hidden",name:e.config.inputFields.folder},domProps:{value:e.selectedFolder},on:{input:function(t){t.target.composing||(e.selectedFolder=t.target.value)}}}),e.selectedFolder?t("span",[t("i",{staticClass:"fa fa-folder"}),e._v(" "+e._s(this.selectedFolder))]):t("span",[t("i",[e._v(e._s(this.config.translations.select_folder_interaction_empty))])]),t("div",{staticClass:"ngremotemedia-buttons"},[e.selectedFolder?t("input",{attrs:{type:"button",value:"Remove folder"},on:{click:e.handleFolderRemove}}):e._e(),t("input",{attrs:{type:"button",value:this.config.translations.select_folder_interaction_button},on:{click:e.handleSelectFolderModalOpen}})]),e.selectFolderModalOpen?t("modal",{attrs:{title:"Select folder"},on:{close:e.handleSelectFolderModalClose}},[t("select-folder",{attrs:{config:e.config,"selected-folder":e.selectedFolder,"start-expanded":!0},on:{select:e.handleFolderSelect}})],1):e._e()],1)}),oi=[],ci=function(){var e=this,t=e._self._c;return t("div",{staticClass:"folder-gallery",class:{collapsed:!e.isExpanded}},[t("div",{staticClass:"breadcrumbs-header",on:{click:e.toggleExpanded}},[t("div",{staticClass:"breadcrumbs"},[t("span",[e._v(e._s(e.config.translations.upload_breadcrumbs_info)+" ")]),e._l(e.breadcrumbs,(function(i,a){return t("span",{key:a},[0!==a?t("span",[e._v(" / ")]):e._e(),a!==e.breadcrumbs.length-1?t("a",{attrs:{href:"javascript:void(0);"},on:{click:function(t){return t.stopPropagation(),e.openFolder(i.id)}}},[e._v("\n "+e._s(i.label)+"\n ")]):t("span",[e._v(e._s(i.label))])])}))],2),t("i",{staticClass:"fa toggle-icon",class:e.isExpanded?"fa-chevron-up":"fa-chevron-down"})]),e.isExpanded?t("div",{class:e.loading?"items loading":"items"},[e.folders.length>0||e.allowCreate?t("div",{staticClass:"info"},[t("i",{staticClass:"fa fa-info-circle"}),e._v("\n "+e._s(e.config.translations.upload_info_text)+"\n ")]):e._e(),e._l(e.folders,(function(i){return t("div",{key:i.id,staticClass:"media",class:{selected:i.id===e.folder}},[t("div",{staticClass:"media-container",on:{dblclick:function(t){return e.openFolder(i.id)}}},[e._m(0,!0),t("Label",{staticClass:"filename"},[e._v(e._s(i.label))])],1),t("button",{staticClass:"btn btn-blue select-btn",attrs:{type:"button"},on:{click:function(t){return e.$emit("select",i.id)}}},[e._v("\n "+e._s(e.config.translations.upload_button_select)+"\n ")])])})),e.allowCreate?t("div",{staticClass:"media new-folder"},[t("div",{staticClass:"media-container"},[e._m(1),t("input",{directives:[{name:"model",rawName:"v-model",value:e.newFolder,expression:"newFolder"}],attrs:{type:"text",placeholder:e.config.translations.upload_placeholder_new_folder},domProps:{value:e.newFolder},on:{input:function(t){t.target.composing||(e.newFolder=t.target.value)}}})]),t("button",{staticClass:"btn btn-blue select-btn",attrs:{type:"button",disabled:null===e.newFolder},on:{click:e.createNewFolder}},[e._v("\n "+e._s(e.config.translations.upload_button_create)+"\n ")])]):e._e(),e.loading?t("i",{staticClass:"ng-icon ng-spinner"}):e._e()],2):e._e()])},di=[function(){var e=this,t=e._self._c;return t("span",{staticClass:"file-placeholder"},[t("span",{staticClass:"icon-doc"},[t("i",{staticClass:"fa fa-folder"})])])},function(){var e=this,t=e._self._c;return t("span",{staticClass:"file-placeholder"},[t("span",{staticClass:"icon-doc"},[t("i",{staticClass:"fa fa-folder"})])])}],ui={name:"SelectFolder",props:{config:Object,selectedFolder:String,startExpanded:{type:Boolean,default:!1}},data:function(){return{folders:[],newFolder:null,breadcrumbs:[],loading:!1,allowCreate:!0,folder:this.selectedFolder,isExpanded:this.startExpanded}},methods:{toggleExpanded:function(){this.isExpanded=!this.isExpanded},openFolder:function(e){this.folder=e,this.$emit("change",this.folder),this.loadSubFolders(e),this.isExpanded=!0},loadSubFolders:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(t){var i,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,i=this.config.paths.load_folders,t&&(a={folder:t===Z?"":t},i+="?"+v(a)),e.next=1,fetch(i);case 1:return n=e.sent,e.next=2,n.json();case 2:this.folders=e.sent,this.generateBreadcrumbs(t),this.newFolder=null,this.loading=!1;case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),generateBreadcrumbs:function(e){var t=this;this.breadcrumbs=[];var i={id:null,label:this.config.translations.upload_root_folder};if(null!==e){var a=e.split("/"),n=[],r=[];this.config.parentFolder&&(r=this.config.parentFolder.id.split("/"),i={id:this.config.parentFolder.id,label:this.config.parentFolder.label}),this.config.folder&&(r=this.config.folder.id.split("/"),i={id:this.config.folder.id,label:this.config.folder.label}),this.breadcrumbs.push(i),a.forEach((function(e,i){n.push(e),r.indexOf(e)<0&&t.breadcrumbs.push({id:n.join("/"),label:e})}))}else this.breadcrumbs.push(i)},createNewFolder:function(){var e=Object(d["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,t=new FormData,this.folder&&t.append("parent",this.folder),t.append("folder",this.newFolder),e.next=1,ot.a.post(this.config.paths.create_folder,t);case 1:this.folders.push({id:null!==this.folder?this.folder+"/"+this.newFolder:this.newFolder,label:this.newFolder}),this.newFolder=null,this.loading=!1;case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},created:function(){if(this.config.folder)return this.folder=this.config.folder.id,this.allowCreate=!1,this.$emit("change",this.folder),void this.generateBreadcrumbs(this.folder);var e=this.selectedFolder||null;!e&&this.config.parentFolder&&(e=this.config.parentFolder.id),this.folder=e,this.$emit("change",this.folder),this.loadSubFolders(e),this.folder&&this.generateBreadcrumbs(this.folder)},watch:{selectedFolder:function(e,t){e!==t&&void 0!==t&&(this.folder=e,e&&(this.loadSubFolders(e),this.generateBreadcrumbs(e)))}}},fi=ui,hi=(i("0d3d"),Object(z["a"])(fi,ci,di,!1,null,"b148a986",null)),pi=hi.exports,mi={name:"SelectFolderInteraction",props:["config","selectedFolder"],components:{"select-folder":pi,modal:we},data:function(){return{selectFolderModalOpen:!1}},methods:{handleSelectFolderModalOpen:function(){this.selectFolderModalOpen=!0},handleSelectFolderModalClose:function(){this.selectFolderModalOpen=!1},handleFolderSelect:function(e){this.selectedFolder=e,this.handleSelectFolderModalClose()},handleFolderRemove:function(){this.selectedFolder=null}}},gi=mi,bi=Object(z["a"])(gi,li,oi,!1,null,null,null),vi=bi.exports;a["default"].config.productionTip=!1,a["default"].use(r.a),a["default"].use(l.a),window.ngrmBlockSubmitIfUploadsPending=function(e){return Lt(e)};var _i=function(e){var t=window[e];t&&t.$el&&!document.documentElement.contains(t.$el)&&t.$destroy()},yi=function(e){_i("ngrm_interactions_vue_".concat(e.dataset.id)),window["ngrm_interactions_vue_".concat(e.dataset.id)]=new a["default"]({el:e,directives:{init:si},data:{config:{mode:"field",paths:{browse_resources:"/resource/browse",upload_resources:"/resource/upload",load_facets:"/facets/load",load_folders:"/folder/load",create_folder:"/folder/create"},translations:{},inputFields:{_collection:"remoteMedia",locationId:"locationId",remoteId:"remoteId",type:"type",altText:"altText",caption:"caption",altTextOverride:"altTextOverride",captionOverride:"captionOverride",tags:"tags[]",cropSettings:"cropSettings",source:"source",collectionPayload:"collectionPayload",watermarkText:"watermarkText",cssClass:"cssClass",selectedVariation:"selectedVariation"},availableVariations:[],allowedVisibilities:[],allowedTypes:[],allowedTags:[],parentFolder:null,folder:null,uploadContext:{},disableUpload:!1,hideFilename:!1,uploadLimit:1,locationSource:null},selectedImage:{id:"",locationId:"",name:"",type:"image",format:"",url:"",browseUrl:"",browse_url:"",previewUrl:"",alternateText:"",caption:"",watermarkText:"",altTextOverride:"",captionOverride:"",tags:[],size:"",variations:{},height:0,width:0,selectedVariation:null,cssClass:"",uploadedResources:[]}},components:{interactions:ri}})},wi=function(e){_i("ngrm_select_folder_vue_".concat(e.dataset.id)),window["ngrm_select_folder_vue_".concat(e.dataset.id)]=new a["default"]({el:e,directives:{init:si},data:{config:{paths:{load_folders:"/folder/load",create_folder:"/folder/create"},translations:{},inputFields:{folder:"folder"}},selectedFolder:null},components:{"select-folder-interaction":vi}})},Ci=function(){for(var e=document.getElementsByClassName("ngremotemedia-container"),t=0;t 0 ? selected_resources|first : null %} +{% set selected_image = first_resource ? first_resource|merge({'uploadedResources': selected_resources}) : { + 'id': '', + 'locationId': '', + 'name': '', + 'type': 'image', + 'format': '', + 'url': '', + 'browseUrl': '', + 'previewUrl': '', + 'alternateText': '', + 'caption': '', + 'watermarkText': '', + 'altTextOverride': '', + 'captionOverride': '', + 'tags': [], + 'size': 0, + 'variations': {}, + 'height': 0, + 'width': 0, + 'source': location_source, + 'uploadedResources': [] } %} -{% set encoded_selected_image = selected_image|json_encode|replace({'"%VARIATION_SETTINGS%"': variation_settings_json}) %} +{# Crop settings are an object for the interface, but an empty array is encoded as a list. The quotes + of a string value are escaped in JSON, so only the key of empty crop settings can match. #} +{% set encoded_selected_image = selected_image|json_encode|replace({'"variations":[]': '"variations":{}'}) %}
diff --git a/bundle/Resources/views/form/remote_media_type.html.twig b/bundle/Resources/views/form/remote_media_type.html.twig index 3fd4ce0f..ea7f0c58 100644 --- a/bundle/Resources/views/form/remote_media_type.html.twig +++ b/bundle/Resources/views/form/remote_media_type.html.twig @@ -1,15 +1,15 @@ {% block remote_media_widget %} - {% set input_fields = {} %} - {% for child in form.children %} - {% if child.vars.name == 'tags' %} - {% set input_fields = input_fields|merge({(child.vars.name): child.vars.full_name ~ '[]'}) %} - {% else %} - {% set input_fields = input_fields|merge({(child.vars.name): child.vars.full_name}) %} - {% endif %} - {% endfor %} + {# Rendered on the server with the current value, so a submit without the + widget (it failed to load, JavaScript is off) leaves the field as it is. + The widget prints its own input with the same name further down in the + document and disables this one, so the field is posted once. Should both + be posted, the widget's is the later of the two and the value PHP reads. #} + {{ form_widget(form.collectionPayload) }} - {{ form_widget(form.locationId) }} - {{ form_widget(form.source) }} + {% set input_fields = { + '_collection': form.vars.full_name, + 'collectionPayload': form.collectionPayload.vars.full_name, + } %} {% set available_variations = [] %} {% set allowed_variations = form.vars.allowed_variations|default([]) %} @@ -26,9 +26,7 @@ {% include '@NetgenRemoteMedia/app/interactions.html.twig' with { 'field_id': id, - 'location_id': form.children.locationId.vars.value, 'variation_group': form.vars.variation_group ?: 'default', - 'variation_settings_json': form.vars.value ? form.vars.value.cropSettings : '{}', 'input_fields': input_fields, 'available_variations': available_variations, 'allowed_visibilities': form.vars.allowed_visibilities|default([]), @@ -38,6 +36,10 @@ 'folder': form.vars.folder, 'upload_context': form.vars.upload_context|default([]), 'disable_upload': form.vars.disable_upload|default(false), - 'hide_filename': form.vars.hide_filename|default(false) + 'hide_filename': form.vars.hide_filename|default(false), + 'upload_limit': form.vars.upload_limit, + 'location_source': form.vars.location_source, + 'locations': form.vars.remote_media_locations|default([]), + 'loaded_values': form.vars.remote_media_loaded_values|default([]) } %} {% endblock %} diff --git a/bundle/Templating/Twig/Extension/RemoteMediaExtension.php b/bundle/Templating/Twig/Extension/RemoteMediaExtension.php index 34839846..b93de351 100644 --- a/bundle/Templating/Twig/Extension/RemoteMediaExtension.php +++ b/bundle/Templating/Twig/Extension/RemoteMediaExtension.php @@ -5,6 +5,7 @@ namespace Netgen\Bundle\RemoteMediaBundle\Templating\Twig\Extension; use Netgen\Bundle\RemoteMediaBundle\Templating\Twig\Runtime\RemoteMediaRuntime; +use Netgen\Bundle\RemoteMediaBundle\Translation\VueTranslations; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; use Twig\TwigFunction; @@ -101,6 +102,10 @@ public function getFunctions(): array 'ngrm_folder_scoped_uploads', [RemoteMediaRuntime::class, 'hasFolderScopedUploads'], ), + new TwigFunction( + 'ngrm_vue_translations', + [VueTranslations::class, 'translate'], + ), ]; } diff --git a/bundle/Translation/VueTranslations.php b/bundle/Translation/VueTranslations.php new file mode 100644 index 00000000..eb43385e --- /dev/null +++ b/bundle/Translation/VueTranslations.php @@ -0,0 +1,165 @@ + message id in the "ngremotemedia" domain. + */ + public const MESSAGES = [ + 'browse_title' => 'ngrm.edit.vue.browse.title', + 'browse_error' => 'ngrm.edit.vue.browse.error', + 'browse_select_type' => 'ngrm.edit.vue.browse.facets.select_type', + 'browse_loading_types' => 'ngrm.edit.vue.browse.facets.loading_types', + 'browse_all_types' => 'ngrm.edit.vue.browse.facets.all_types', + 'browse_select_folder' => 'ngrm.edit.vue.browse.facets.select_folder', + 'browse_loading_folders' => 'ngrm.edit.vue.browse.facets.loading_folders', + 'browse_all_folders' => 'ngrm.edit.vue.browse.facets.all_folders', + 'browse_select_tag' => 'ngrm.edit.vue.browse.facets.select_tag', + 'browse_loading_tags' => 'ngrm.edit.vue.browse.facets.loading_tags', + 'browse_all_tags' => 'ngrm.edit.vue.browse.facets.all_tags', + 'browse_select_visibility' => 'ngrm.edit.vue.browse.facets.select_visibility', + 'browse_loading_visibilities' => 'ngrm.edit.vue.browse.facets.loading_visibilities', + 'browse_all_visibilities' => 'ngrm.edit.vue.browse.facets.all_visibilities', + 'search' => 'ngrm.edit.vue.browse.facets.search', + 'search_placeholder' => 'ngrm.edit.vue.browse.facets.search_placeholder', + 'crop_modal_title' => 'ngrm.edit.vue.crop.modal_title', + 'crop_reset' => 'ngrm.edit.vue.crop.reset', + 'crop_apply' => 'ngrm.edit.vue.crop.apply', + 'crop_cancel' => 'ngrm.edit.vue.crop.cancel', + 'crop_add' => 'ngrm.edit.vue.crop.add', + 'crop_preview' => 'ngrm.edit.vue.crop.preview', + 'crop_save_sizes' => 'ngrm.edit.vue.crop.save_sizes', + 'crop_add_size' => 'ngrm.edit.vue.crop.add_size', + 'crop_added_for_confirmation' => 'ngrm.edit.vue.crop.added_for_confirmation', + 'crop_media_too_small' => 'ngrm.edit.vue.crop.media_too_small', + 'media_gallery_empty_folder' => 'ngrm.edit.vue.media_gallery.empty_folder', + 'media_gallery_upload_media' => 'ngrm.edit.vue.media_gallery.upload_media', + 'media_gallery_select' => 'ngrm.edit.vue.media_gallery.select', + 'media_gallery_added' => 'ngrm.edit.vue.media_gallery.added', + 'media_gallery_load_more' => 'ngrm.edit.vue.media_gallery.load_more', + 'interactions_scale' => 'ngrm.edit.vue.interactions.scale', + 'interactions_no_media_selected' => 'ngrm.edit.vue.interactions.no_media_selected', + 'interactions_select_media' => 'ngrm.edit.vue.interactions.select_media', + 'interactions_manage_media' => 'ngrm.edit.vue.interactions.manage_media', + 'select_folder_interaction_button' => 'ngrm.edit.vue.select_folder_interaction.button', + 'select_folder_interaction_empty' => 'ngrm.edit.vue.select_folder_interaction.empty', + 'preview_alternate_text' => 'ngrm.edit.vue.preview.alternate_text', + 'preview_alternate_text_info' => 'ngrm.edit.vue.preview.alternate_text_info', + 'preview_caption' => 'ngrm.edit.vue.preview.caption', + 'preview_caption_info' => 'ngrm.edit.vue.preview.caption_info', + 'preview_alternate_text_override' => 'ngrm.edit.vue.preview.alternate_text_override', + 'preview_alternate_text_override_info' => 'ngrm.edit.vue.preview.alternate_text_override_info', + 'preview_caption_override' => 'ngrm.edit.vue.preview.caption_override', + 'preview_caption_override_info' => 'ngrm.edit.vue.preview.caption_override_info', + 'preview_tags' => 'ngrm.edit.vue.preview.tags', + 'preview_tags_info' => 'ngrm.edit.vue.preview.tags_info', + 'preview_watermark_text' => 'ngrm.edit.vue.preview.watermark_text', + 'preview_watermark_text_info' => 'ngrm.edit.vue.preview.watermark_text_info', + 'preview_css_class' => 'ngrm.edit.vue.preview.css_class', + 'preview_css_class_info' => 'ngrm.edit.vue.preview.css_class_info', + 'preview_selected_variation' => 'ngrm.edit.vue.preview.selected_variation', + 'preview_selected_variation_info' => 'ngrm.edit.vue.preview.selected_variation_info', + 'preview_size' => 'ngrm.edit.vue.preview.size', + 'upload_breadcrumbs_info' => 'ngrm.edit.vue.upload.breadcrumbs_info', + 'upload_root_folder' => 'ngrm.edit.vue.upload.root_folder', + 'upload_info_text' => 'ngrm.edit.vue.upload.info_text', + 'upload_create_folder_in' => 'ngrm.edit.vue.upload.create_folder_in', + 'upload_button_select' => 'ngrm.edit.vue.upload.button.select', + 'upload_button_create' => 'ngrm.edit.vue.upload.button.create', + 'upload_button_cancel' => 'ngrm.edit.vue.upload.button.cancel', + 'upload_folder_select_loading' => 'ngrm.edit.vue.upload.folder_select.loading', + 'upload_folder_select_no_children' => 'ngrm.edit.vue.upload.folder_select.no_children', + 'upload_folder_select_no_options' => 'ngrm.edit.vue.upload.folder_select.no_options', + 'upload_folder_select_no_results' => 'ngrm.edit.vue.upload.folder_select.no_results', + 'upload_folder_select_load_failed' => 'ngrm.edit.vue.upload.folder_select.load_failed', + 'upload_folder_select_retry' => 'ngrm.edit.vue.upload.folder_select.retry', + 'upload_folder_select_retry_title' => 'ngrm.edit.vue.upload.folder_select.retry_title', + 'upload_folder_select_clear' => 'ngrm.edit.vue.upload.folder_select.clear', + 'upload_checkbox_overwrite' => 'ngrm.edit.vue.upload.checkbox.overwrite', + 'upload_placeholder_new_folder' => 'ngrm.edit.vue.upload.placeholder.new_folder', + 'upload_error_existing_resource' => 'ngrm.edit.vue.upload.error.existing_resource', + 'upload_error_existing_resource_in_folder' => 'ngrm.edit.vue.upload.error.existing_resource_in_folder', + 'upload_error_unsupported_resource_type' => 'ngrm.edit.vue.upload.error.unsupported_resource_type', + 'upload_error_name_too_long' => 'ngrm.edit.vue.upload.error.name_too_long', + 'upload_error_create_folder_failed' => 'ngrm.edit.vue.upload.error.create_folder_failed', + 'multi_upload_drop_zone' => 'ngrm.edit.vue.multi_upload.drop_zone', + 'multi_upload_drop_zone_single' => 'ngrm.edit.vue.multi_upload.drop_zone_single', + 'multi_upload_browse' => 'ngrm.edit.vue.multi_upload.browse', + 'multi_upload_browse_single' => 'ngrm.edit.vue.multi_upload.browse_single', + 'multi_upload_files_pending' => 'ngrm.edit.vue.multi_upload.files_pending', + 'multi_upload_files_success' => 'ngrm.edit.vue.multi_upload.files_success', + 'multi_upload_files_error' => 'ngrm.edit.vue.multi_upload.files_error', + 'multi_upload_uploading' => 'ngrm.edit.vue.multi_upload.uploading', + 'multi_upload_button_upload_all' => 'ngrm.edit.vue.multi_upload.button_upload_all', + 'multi_upload_clear_completed' => 'ngrm.edit.vue.multi_upload.clear_completed', + 'multi_upload_global_folder' => 'ngrm.edit.vue.multi_upload.global_folder', + 'multi_upload_global_visibility' => 'ngrm.edit.vue.multi_upload.global_visibility', + 'multi_upload_global_apply_to_all' => 'ngrm.edit.vue.multi_upload.global_apply_to_all', + 'multi_upload_table_preview' => 'ngrm.edit.vue.multi_upload.table.preview', + 'multi_upload_table_filename' => 'ngrm.edit.vue.multi_upload.table.filename', + 'multi_upload_table_folder' => 'ngrm.edit.vue.multi_upload.table.folder', + 'multi_upload_table_visibility' => 'ngrm.edit.vue.multi_upload.table.visibility', + 'multi_upload_table_status' => 'ngrm.edit.vue.multi_upload.table.status', + 'multi_upload_table_actions' => 'ngrm.edit.vue.multi_upload.table.actions', + 'multi_upload_table_upload_file' => 'ngrm.edit.vue.multi_upload.table.upload_file', + 'multi_upload_table_remove_file' => 'ngrm.edit.vue.multi_upload.table.remove_file', + 'multi_upload_table_cancel_upload' => 'ngrm.edit.vue.multi_upload.table.cancel_upload', + 'multi_upload_use_existing' => 'ngrm.edit.vue.multi_upload.use_existing', + 'multi_upload_retry' => 'ngrm.edit.vue.multi_upload.retry', + 'multi_upload_duplicate_file' => 'ngrm.edit.vue.multi_upload.duplicate_file', + 'multi_upload_already_added' => 'ngrm.edit.vue.multi_upload.already_added', + 'multi_upload_submit_blocked_pending' => 'ngrm.edit.vue.multi_upload.submit_blocked.pending', + 'multi_upload_submit_blocked_uploading' => 'ngrm.edit.vue.multi_upload.submit_blocked.uploading', + 'multi_upload_submit_blocked_failed' => 'ngrm.edit.vue.multi_upload.submit_blocked.failed', + 'multi_upload_error_empty_filename' => 'ngrm.edit.vue.multi_upload.error.empty_filename', + 'multi_upload_error_timeout' => 'ngrm.edit.vue.multi_upload.error.timeout', + 'multi_upload_error_failed' => 'ngrm.edit.vue.multi_upload.error.failed', + 'multi_upload_status_pending' => 'ngrm.edit.vue.multi_upload.status.pending', + 'multi_upload_status_success' => 'ngrm.edit.vue.multi_upload.status.success', + 'multi_upload_status_error' => 'ngrm.edit.vue.multi_upload.status.error', + 'multi_gallery_remove' => 'ngrm.edit.vue.multi_gallery_remove', + 'multi_gallery_compact_view' => 'ngrm.edit.vue.multi_gallery_compact_view', + 'multi_gallery_detailed_view' => 'ngrm.edit.vue.multi_gallery_detailed_view', + 'multi_select_add_selected' => 'ngrm.edit.vue.multi_select_add_selected', + 'multi_select_deselect' => 'ngrm.edit.vue.multi_select_deselect', + 'multi_select_selected' => 'ngrm.edit.vue.multi_select_selected', + 'multi_select_selected_remaining' => 'ngrm.edit.vue.multi_select_selected_remaining', + 'reorder_drag' => 'ngrm.edit.vue.reorder.drag', + 'reorder_move_previous' => 'ngrm.edit.vue.reorder.move_previous', + 'reorder_move_next' => 'ngrm.edit.vue.reorder.move_next', + 'limit_reached' => 'ngrm.edit.vue.limit_reached', + 'limit_exceeded' => 'ngrm.edit.vue.limit_exceeded', + 'limit_remaining' => 'ngrm.edit.vue.limit_remaining', + ]; + + public function __construct( + private readonly TranslatorInterface $translator, + ) {} + + /** + * @return array + */ + public function translate(): array + { + $translations = []; + foreach (self::MESSAGES as $key => $messageId) { + $translations[$key] = $this->translator->trans($messageId, [], self::DOMAIN); + } + + return $translations; + } +} diff --git a/composer.json b/composer.json index dbd4622d..547f24e5 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,10 @@ "matthiasnoback/symfony-config-test": "^4.2", "mikey179/vfsstream": "^1.6.10", "friendsofphp/php-cs-fixer": "^3.0", + "doctrine/dbal": "^2.13.1 || ^3.2", + "symfony/validator": "^5.4 || ^6.2", "symfony/var-dumper": "^5.4 || ^6.2", + "symfony/yaml": "^5.4 || ^6.2", "phpstan/phpstan": "^1.9", "phpstan/phpstan-strict-rules": "^1.4", "phpstan/phpstan-symfony": "^1.2", diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3f572e7d..dc88e748 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,6 +5,67 @@ ### BC breaks * `generateLocationHtmlTag()` is added to `ProviderInterface` (it was declared with `@method` since 3.1), custom providers which don't extend `AbstractProvider` must implement it, the TWIG runtime no longer falls back to `generateHtmlTag()` +* `RemoteMediaType` data is always an `ArrayCollection` of `RemoteResourceLocation` objects, also with `'upload_limit' => 1` (0 or 1 items), entities need a to-many relation instead of a single `RemoteResourceLocation`, see [UPGRADE.md](UPGRADE.md) +* `RemoteMediaType` throws a `TransformationFailedException` when its data is a single `RemoteResourceLocation` +* an empty `RemoteMediaType` field is an empty collection instead of `null`, the `NotBlank` and `NotNull` constraints no longer make the field required, use `Count(min: 1)` +* `RemoteMediaType` has a single child, the JSON `collectionPayload` field, the `locationId`, `remoteId`, `type`, `altText`, `caption`, `altTextOverride`, `captionOverride`, `watermarkText`, `tags`, `cropSettings` and `source` children are removed, custom form themes which render them must be updated +* old named fields (`remoteId`, `locationId` etc.) posted for a `RemoteMediaType` field make the form invalid with an "extra fields" error +* `RemoteMediaType` constructor takes the `RemoteResourceService` as the 3rd argument and `RemoteResourceService` takes an optional logger as the 2nd argument +* `Configuration` controller takes `VueTranslations` instead of `TranslatorInterface` as the 2nd argument +* `@NetgenRemoteMedia/app/interactions.html.twig` takes `locations`, `upload_limit` (defaults to `1`) and `location_source`, the `variation_settings_json` parameter is removed +* `@NetgenRemoteMedia/app/interactions.html.twig` no longer takes `location_id`, pass `locations` and add `collectionPayload` to `input_fields` +* `RemoteResourceService::handleRemoteUpdate()` (CKEditor `location/create` and `location/update`) and `RemoteMediaType` no longer delete a resource which doesn't exist on the remote anymore, the change is stored locally only, a warning with the remote ID is logged and `handleRemoteUpdate()` returns `false` +* the frontend assets are rebuilt, run `assets:install` again + +### Added + +* `upload_limit` option on `RemoteMediaType` (`null` for unlimited, the default, or a positive integer), it limits the number of resources in the interface and is checked on the server +* multi-upload interface with drag and drop, per-file name, folder, visibility and overwrite, retry of failed uploads and a folder tree selector +* a file which is uploading can be removed from the upload panel, that cancels its upload +* an upload times out after 3 minutes without progress, once the whole file is sent the upload panel waits up to 30 minutes for the response +* selecting several resources at once in the media picker, resources already in the field are marked as added +* reordering of the field's resources by drag and drop, with buttons and in a compact view with small tiles for long galleries, the page scrolls while an item is dragged to its edge +* `position` on `RemoteResourceLocation` (`getPosition()` and `setPosition()`), the form sets it to the index of the location in the collection, use `#[ORM\OrderBy(['position' => 'ASC'])]` to load the collection in that order +* Doctrine migration `Version040000` which adds the `position` column to `ngrm_remote_resource_location` +* `ngrm_vue_translations()` TWIG function which returns the translated labels of the interface, the templates and the `/configuration` endpoint build the labels from the same list +* `validators` translation domain with the `ngrm.form.upload_limit_exceeded` message (en, hr and no), it says how many resources are over the limit (`{{ excess }}`) +* a resource can be added to a `RemoteMediaType` field only once: a `collectionPayload` entry without `locationId` is ignored if an earlier entry, or any entry with a `locationId`, has the same `remoteId`, stored locations of the same resource are kept +* a submission of a `RemoteMediaType` field without `upload_limit` can add at most 100 resources which are not stored locally yet (`RemoteMediaCollectionTransformer::MAX_REMOTE_LOOKUPS`), each of them is an API call, with more the form is invalid and shows the `ngrm.form.remote_lookups_exceeded` message +* `config` in the `detail` of the `ngrm-change` browser event, and `selectedImage.uploadedResources` with all resources of the field +* the form blocks the submit while files are waiting to be uploaded, uploading or failed, and dispatches the `ngrm-submit-blocked` browser event +* `loaded` in the `collectionPayload` entries, the alt text, caption and tags the widget loaded, `RemoteMediaType` writes to the cloud only the values which differ from them, so the same resource in several fields of one form doesn't lose a change made in one of them +* fields of one page which show the same resource share its alt text, caption and tags from the cloud: a value edited in one field is taken over by the inputs of the others +* the widget disables the `collectionPayload` input rendered by the form theme once it's loaded, so the field is posted once +* the media browser and the folder selector show an error when their list can't be loaded, the folder selector with a link to retry +* submit buttons with the `formnovalidate` or `data-ngrm-skip-submit-block` attribute are never blocked +* `window.ngrmBlockSubmitIfUploadsPending(root)` for applications which save without a form submit, it returns `true`, shows the message and dispatches `ngrm-submit-blocked` when an upload panel inside `root` has unfinished files, and the `data-ngrm-uploads-pending` attribute with their number on every upload panel, see [form documentation](FORM.md#saving-while-files-are-not-uploaded) +* translations for the texts of the folder picker (`ngrm.edit.vue.upload.folder_select.*`) +* `RemoteMediaType` logs a warning with the remote ID when a submitted resource exists neither locally nor on the remote, the resource is left out of the value as before +* `vuedraggable` frontend dependency + +### Changed + +* the upload endpoint returns `400` with the translated message in `detail` for a missing file, an unsupported visibility and a failed file upload, instead of throwing an `InvalidArgumentException` (`500`) +* the upload endpoint returns `400` with the translated message in `detail` when the folder and the file name have more than 240 characters together (`Upload::MAX_PATH_LENGTH`), they become the public ID on Cloudinary, which is limited to 255 characters (the folder counts only where it's part of the public ID, not in the dynamic folder mode without `use_asset_folder_as_public_id_prefix`), the upload panel refuses such a file before uploading it +* the upload endpoint uploads to the root folder also when `folder` is `undefined` or `(root)`, next to an empty value and `null` as before, these are the values the interface can send for the root, a folder with one of these names can't be uploaded to +* `RemoteMediaType` errors (eg. over the upload limit) are attached to the field instead of the parent form, `error_bubbling` is `false` +* `RemoteMediaType` without resources is empty for Symfony (`FormInterface::isEmpty()`), also with the `[]` payload, so an optional embedded form whose fields are all empty gets no object created out of its `empty_data` +* `/configuration` returns all translations of the interface, so the CKEditor plugin also gets the labels of the upload panel and the media picker +* the frontend lock file is re-resolved, which upgrades Vue from 2.6 to 2.7, `vue-select` from 3.2 to 3.20 and `@babel/core` from 7.6 to 7.28 +* `regenerator-runtime` is a direct frontend dependency, the re-resolved Babel needs it +* `RemoteResourceService::handleRemoteUpdate()` compares and stores the tags sorted +* `RemoteResourceService::handleRemoteUpdate()` stores an empty alt text or caption as `null` +* English labels of the interface use sentence case +* Norwegian translations cover the whole interface +* the Croatian label of the root folder is `(korijenska mapa)` +* the Cloudinary provider reads the alt text of a resource loaded from the API (eg. `loadFromRemote()`) from `alt` in the context, as it's written, it was always `null` (`alt_text` is still read for older resources) + +### Removed + +* `ngremotemedia.nb.yaml` translations, Symfony falls back from `nb` to `no` +* unused interface labels (`Search for media`, `Cancel`, `next`, `prev` etc.) from the widget and `/configuration` translations, the interface uses the `ngrm.edit.vue.*` keys +* unused `ngrm.edit.vue.*` labels (`browse.empty_folder`, `browse.empty_folder_hint`, `browse.select`, `browse.load_more`, `interactions.remove_media`, `interactions.quick_upload`, `upload.modal_title` and `upload.button.upload`) +* the upload modal, uploads go through the upload panel ## 3.1.0 diff --git a/docs/FORM.md b/docs/FORM.md index 385c3c9c..d986bebf 100644 --- a/docs/FORM.md +++ b/docs/FORM.md @@ -12,7 +12,9 @@ When you add a resource to your entity, this will be only a relation to objects ## Add relation to your entity -All the data needed for Remote Media to work will be stored in its own internal tables in the database, by using `Netgen\RemoteMedia\API\Values\RemoteResource` and `Netgen\RemoteMedia\API\Values\RemoteResourceLoation` entities so your entity will need to have a relation to `Netgen\RemoteMedia\API\Values\RemoteResourceLocation` entity. +All the data needed for Remote Media to work will be stored in its own internal tables in the database, by using `Netgen\RemoteMedia\API\Values\RemoteResource` and `Netgen\RemoteMedia\API\Values\RemoteResourceLocation` entities so your entity will need to have a relation to `Netgen\RemoteMedia\API\Values\RemoteResourceLocation` entity. + +The form field always works with a collection of locations, also when it accepts only one resource (see [`upload_limit`](#upload_limit)). So the relation is a to-many relation, even for a single image. **Important:** Those external objects won't be persisted automatically to the database, so you have to use proper cascade configuration when adding it to your entity to allow Doctrine to properly handle persisting or removing those. @@ -23,35 +25,79 @@ Example: namespace App\Entity; +use Doctrine\Common\Collections\ArrayCollection; +use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Netgen\RemoteMedia\API\Values\RemoteResourceLocation; #[ORM\Entity] class MyEntity { - #[ORM\OneToOne(targetEntity: RemoteResourceLocation::class, cascade: ['persist', 'remove'], orphanRemoval: true)] - #[ORM\JoinColumn(onDelete: 'SET NULL')] - private ?RemoteResourceLocation $remoteResourceLocation = null; + #[ORM\Id] + #[ORM\GeneratedValue] + #[ORM\Column(type: 'integer')] + private ?int $id = null; + + /** + * @var Collection + */ + #[ORM\ManyToMany(targetEntity: RemoteResourceLocation::class, cascade: ['persist', 'remove'], orphanRemoval: true)] + #[ORM\JoinTable(name: 'my_entity_image')] + #[ORM\JoinColumn(name: 'my_entity_id', referencedColumnName: 'id', onDelete: 'CASCADE')] + #[ORM\InverseJoinColumn(name: 'remote_resource_location_id', referencedColumnName: 'id', unique: true, onDelete: 'CASCADE')] + #[ORM\OrderBy(['position' => 'ASC'])] + private Collection $images; + + public function __construct() + { + $this->images = new ArrayCollection(); + } + + public function getId(): ?int + { + return $this->id; + } - public function getRemoteResourceLocation(): ?RemoteResourceLocation + /** + * @return Collection + */ + public function getImages(): Collection { - return $this->remoteResourceLocation; + return $this->images; } - public function setRemoteResourceLocation(?RemoteResourceLocation $remoteResourceLocation): void + public function addImage(RemoteResourceLocation $image): void { - $this->remoteResourceLocation = $remoteResourceLocation; - } + if (!$this->images->contains($image)) { + $this->images->add($image); + } + } + + public function removeImage(RemoteResourceLocation $image): void + { + $this->images->removeElement($image); + } } ``` -The above example will make sure that, when you select a new resource in the form, Doctrine automatically create both `RemoteResource` and `RemoteResourceLocation` objects in the database and link the location to your entity. Also, if you remove the value for this attribute, it will automatically delete location from the database. +The above example will make sure that, when you select a new resource in the form, Doctrine automatically creates both `RemoteResource` and `RemoteResourceLocation` objects in the database and links the location to your entity. When you remove a resource in the form, its location is deleted from the database. The resource itself stays. -The reason why we're using `OneToOne` relation here is because the idea is that every usage of a remote resource has it's own location. Things such as cropping settings or watermark text are stored in a location, and you want to have different cropping settings for the same eg. image used on different places. +Some details of the example matter: + +* The form returns a new collection on every submit. With `addImage()` and `removeImage()`, Symfony changes the collection that Doctrine already tracks, item by item. Only then does `orphanRemoval` delete the location of a removed item. A plain setter that replaces the whole collection leaves the removed location in the `ngrm_remote_resource_location` table. +* The form stores the order on the locations, in the `position` column. `#[ORM\OrderBy(['position' => 'ASC'])]` loads them in that order. `ManyToMany` itself does not keep the order. +* `unique: true` on the inverse join column makes sure that a location belongs to one entity only. The position is stored on the location, so a location can't be part of two ordered collections. +* `cascade: ['persist', 'remove']` stores new locations, and deletes the locations when you delete the entity. + +The reason why every entity has its own locations is that every usage of a remote resource has its own location. Things such as cropping settings or watermark text are stored in a location, and you want to have different cropping settings for the same eg. image used on different places. ## Alt text and caption overrides -Alt text and caption entered in the interface are stored on the resource in the cloud, so changing them updates every location which uses that resource. Each location can additionally have its own alt text and caption override (`altTextOverride` and `captionOverride` fields of the form), stored only on that location and never sent to the cloud. An empty override means that the value from the cloud is used. +Alt text and caption entered in the interface are stored on the resource in the cloud, so changing them updates every location which uses that resource. Each location can additionally have its own alt text and caption override (`altTextOverride` and `captionOverride`), stored only on that location and never sent to the cloud. An empty override means that the value from the cloud is used. + +The form field and the CKEditor 5 plugin show the inputs for the cloud values and for the overrides next to each other, for every item. An emptied override input removes the override. + +The same resource can be in several fields of one page. When its alt text, caption or tags from the cloud are edited in one field, the fields which hold the resource at that moment show the edited value in their inputs and post it too. A field which gets the resource later (picked or uploaded after the edit) shows the value from the cloud until the form is saved. Nothing is lost in that case either: every field posts the values it loaded (`loaded`, see [How the field is submitted](#how-the-field-is-submitted)), and only a value which differs from them is written. The overrides are not shared, each field keeps its own. `RemoteResourceLocation::getAltText()` and `RemoteResourceLocation::getCaption()` return the override when it's set and the value from the cloud otherwise, so use them (eg. `location.caption` in TWIG) instead of the ones on the resource when rendering a location: @@ -83,11 +129,13 @@ class MyFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void { - $builder->add('remote_resource_location', RemoteMediaType::class); + $builder->add('images', RemoteMediaType::class); } } ``` +The field reads and writes `MyEntity::$images` and lets editors add any number of resources. Use the `upload_limit` option to limit that, see below. + ### Form options There are a few options available on form type that you can use to eg. limit browse/upload to specific types or folders: @@ -128,7 +176,7 @@ You can specify an array of (key, value) pairs that will be added to the file as #### `location_source` -Every location has a string where you can put a descriptive info where this location will be used (eg. `product_image`). When adding resources through this form, by default it will use `form_[FORM_NAME]` so if you have eg. this code: `$builder->add('remote_resource_location' RemoteMediaType::class);`, all locations added through this form will have source `form_remote_resource_location`. +Every location has a string where you can put a descriptive info where this location will be used (eg. `product_image`). When adding resources through this form, by default it will use `form_[FORM_NAME]` so if you have eg. this code: `$builder->add('images', RemoteMediaType::class);`, all locations added through this form will have source `form_images`. This parameter enables you to override the source text. @@ -140,6 +188,50 @@ This parameter enables you to disable the upload, which means that users will be This parameter enables filename hiding; instead of original filename, it will use file's MD5 hash as a public ID. Original filename will be stored in the context though and can be used, if needed. +#### `upload_limit` + +The maximum number of resources the field accepts. It's either `null` (default, unlimited) or a positive integer. + +The field data is always a Doctrine `ArrayCollection` of `RemoteResourceLocation` objects, in the order chosen in the interface. That doesn't depend on the limit: with `'upload_limit' => 1` the collection has 0 or 1 items. So changing the limit later doesn't change the entity mapping or the stored data. + +The limit changes the interface: with `'upload_limit' => 1`, the picker selects one resource and a new upload or selection replaces the current one. The limit is also checked on the server. If a submission contains more resources than the limit, the form is invalid and shows the `ngrm.form.upload_limit_exceeded` message from the `validators` translation domain. + +The message says how many resources have to be removed. A field can already hold more resources than its limit, for example when the limit was lowered later. The interface then shows all of them and nothing is removed automatically, but the form can't be saved until the editor removes the surplus. A submission without `collectionPayload` is rejected as well in that case, because it submits the stored value. + +#### Required field + +The data of an empty field is an empty collection, so the `NotBlank` and `NotNull` constraints don't make the field required: both accept an empty collection. Use `Count` to require at least one resource: + +```php +use Symfony\Component\Validator\Constraints\Count; + +$builder->add('images', RemoteMediaType::class, [ + 'constraints' => [new Count(min: 1)], +]); +``` + +#### How the field is submitted + +The widget submits the whole selection as one hidden JSON field, `collectionPayload`. It's a list of objects, one per resource, in the chosen order: + +```json +[ + {"locationId": 12, "remoteId": "upload|image|media/a.jpg", "altTextOverride": "A dog"}, + {"remoteId": "upload|image|media/b.jpg", "cropSettings": "{\"wide\":{\"x\":0,\"y\":0,\"w\":800,\"h\":400}}"} +] +``` + +* An entry without `locationId` creates a new location. An entry with the `locationId` of a location from the field's current value updates that location. Any other `locationId` is ignored and a new location is created. +* Entry fields are `locationId`, `remoteId`, `type`, `altText`, `caption`, `altTextOverride`, `captionOverride`, `watermarkText`, `tags` (a list of strings), `cropSettings` (a JSON string), `source` and `loaded` (an object). A field with the wrong type makes the form invalid. +* `altText`, `caption` and `tags` are the values of the resource in the cloud. If they differ from the stored ones, the resource is updated in the cloud. An empty or missing `altText`, `caption`, `altTextOverride` or `captionOverride` is stored as `null`, so code which submits the field must send the current `altText`, `caption` and `tags` to keep them. Missing `tags` are read as an empty list. +* `loaded` holds the `altText`, `caption` and `tags` the widget loaded, before the editor changed them. If it's sent, only the values which differ from it are written, the others keep the current value of the resource. That's needed when the same resource is in several fields of one form: each field submits the values, and a field the editor didn't touch would otherwise undo a change made in another one. The widget always sends it. +* If the same `locationId` is sent twice, only the first entry is used. +* A resource can be added to a field only once, as in the interface. An entry without `locationId` is ignored if an earlier entry, or any entry with a `locationId`, has the same `remoteId`. Stored locations of the same resource are kept. +* If `collectionPayload` is not submitted at all (eg. the widget didn't load), the field keeps its current value. Only an empty list, `[]`, clears the field. The kept value is still checked against `upload_limit`. +* The form theme renders `collectionPayload` with the current value, so a form submitted without the widget doesn't change the field. Once the widget is loaded, it disables that input and posts its own, so the field is posted once. +* A resource which is added to the field and is not stored locally yet (eg. picked in the media browser for the first time) is looked up on the remote when the form is submitted, with one API call each. A field without `upload_limit` accepts at most 100 such resources in one submission (`RemoteMediaCollectionTransformer::MAX_REMOTE_LOOKUPS`). With more of them the form is invalid and shows the `ngrm.form.remote_lookups_exceeded` message from the `validators` translation domain, and nothing is looked up. Uploaded resources and resources already stored locally don't count. +* After an invalid submission, the widget shows the submitted selection again, not the stored one. Only resources stored locally are shown: one picked in the media browser and not saved yet is left out. + ### Example Let's say that you have a form for digital products in a webshop and you want to limit editors to be able to upload only protected files inside a specific folder. You want to also add some context. @@ -158,15 +250,16 @@ class MyFormType extends AbstractType public function buildForm(FormBuilderInterface $builder, array $options): void { $builder->add( - 'remote_resource_location', + 'files', RemoteMediaType::class, [ + 'upload_limit' => 1, 'allowed_visibilities' => ['protected'], - 'folder' => ['media/products/files'], + 'folder' => 'media/products/files', 'upload_context' => [ 'sylius_type' => 'product', 'sylius_code' => $this->getProductCode(), - 'sylius_form_field_name' => 'remote_resource_location', + 'sylius_form_field_name' => 'files', 'source' => 'user_upload', ], ], @@ -175,7 +268,24 @@ class MyFormType extends AbstractType } ``` -This will show only protected files in folder `media/products/files` and you will be able to upload only to this folder. +This will show only protected files in folder `media/products/files` and you will be able to upload only to this folder. The field accepts one file, and `files` is a to-many relation as in the entity example above. + +## Uploading files in the form + +Files are uploaded in the upload panel below the field, one after the other, before the form is saved. Some details: + +* A file which is uploading can be removed from the panel. That cancels its upload and nothing of it is added to the field. If the server already received the whole file, the file can still end up on the remote, it's only not used. +* The folder path and the file name of an upload can have at most 240 characters together. They become the public ID of the resource on Cloudinary, which is limited to 255 characters, and the name can still get a suffix there. In the dynamic folder mode without `use_asset_folder_as_public_id_prefix` the folder is not part of the public ID, and only the file name is counted. A longer one is not uploaded: the row shows an error and the file can be renamed there. The upload endpoint refuses it too, with `400 Bad Request`. +* An upload is cancelled with a timeout message when nothing was sent for 3 minutes. Once the browser has sent the whole file, the panel waits for the response of the server for up to 30 minutes, because the server is still passing the file on to the remote and there is no progress to watch. Make sure the timeouts of your web server and PHP (`max_execution_time`, proxy read timeouts) allow the uploads you expect. + +### Saving while files are not uploaded + +Files which are still in the upload panel when the form is saved would not be in the saved value. So the widget blocks the submit of its form while it has unfinished files (waiting, uploading or failed, a failed file has to be retried or removed), shows a message above the panel (also on top of the page if the field is not visible) and dispatches the bubbling `ngrm-submit-blocked` browser event. The `detail` of the event has `form` and `message`. + +* Every submit control of the form is blocked: `button[type=submit]`, `input[type=submit]`, `input[type=image]` and also a `